diff --git a/__sandbox.html b/__sandbox.html index 3d688a04..357bc59f 100644 --- a/__sandbox.html +++ b/__sandbox.html @@ -5,12 +5,12 @@ - +
- + \ No newline at end of file diff --git a/assets/Autocomplete-f413d8b8.js b/assets/Autocomplete-Dy3gPyuT.js similarity index 95% rename from assets/Autocomplete-f413d8b8.js rename to assets/Autocomplete-Dy3gPyuT.js index cbd735a1..6a688412 100644 --- a/assets/Autocomplete-f413d8b8.js +++ b/assets/Autocomplete-Dy3gPyuT.js @@ -1,8 +1,8 @@ -import { ay as defineComponent, az as ref, br as computed, bt as watch, bu as nextTick, bv as lt, bw as it, bx as rt, by as ut, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aF as createBaseVNode, aQ as normalizeClass, aG as createElementBlock, aN as toDisplayString, b0 as withDirectives, aH as createCommentVNode, aK as Fragment, aJ as renderList, aL as mergeProps, b1 as vShow, bz as withModifiers } from "./vendor-3b8d0bfc.js"; -import { P as Popover } from "./Popover-2741613b.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, az as ref, br as computed, bt as watch, bu as nextTick, bv as lt, bw as it, bx as rt, by as ut, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aF as createBaseVNode, aQ as normalizeClass, aG as createElementBlock, aN as toDisplayString, b0 as withDirectives, aH as createCommentVNode, aK as Fragment, aJ as renderList, aL as mergeProps, b1 as vShow, bz as withModifiers } from "./vendor-D4tQXw0h.js"; +import { P as Popover } from "./Popover-DXQPMgPX.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Autocomplete", props: { @@ -22,8 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ const query = ref(""); const groups = computed(() => { var _a; - if (!((_a = props.options) == null ? void 0 : _a.length)) - return []; + if (!((_a = props.options) == null ? void 0 : _a.length)) return []; let groups2; if (isOptionGroup(props.options[0])) { groups2 = props.options; @@ -49,15 +48,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ return groups.value.flatMap((group) => group.items); }); const sanitizeOptions = (options) => { - if (!options) - return []; + if (!options) return []; return options.map((option) => { return isOption(option) ? option : { label: option.toString(), value: option }; }); }; const filterOptions = (options) => { - if (!query.value) - return options; + if (!query.value) return options; return options.filter((option) => { return option.label.toLowerCase().includes(query.value.trim().toLowerCase()) || option.value.toString().toLowerCase().includes(query.value.trim().toLowerCase()); }); @@ -68,14 +65,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ return findOption(props.modelValue); } let values = props.modelValue; - if (!values) - return []; + if (!values) return []; return isOption(values[0]) ? values : values.map((v) => findOption(v)); }, set(val) { query.value = ""; - if (val && !props.multiple) - showOptions.value = false; + if (val && !props.multiple) showOptions.value = false; if (!props.multiple) { emit("update:modelValue", val); return; @@ -84,8 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ } }); const findOption = (option) => { - if (!option) - return option; + if (!option) return option; const value = isOption(option) ? option.value : option; return allOptions.value.find((o) => o.value === value); }; @@ -96,16 +90,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ return option; }; const displayValue = computed(() => { - if (!selectedValue.value) - return ""; + if (!selectedValue.value) return ""; if (!props.multiple) { return getLabel(selectedValue.value); } return selectedValue.value.map((v) => getLabel(v)).join(", "); }); const isOptionSelected = (option) => { - if (!selectedValue.value) - return false; + if (!selectedValue.value) return false; const value = isOption(option) ? option.value : option; if (!props.multiple) { return selectedValue.value === value; @@ -116,8 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ }; const areAllOptionsSelected = computed(() => { var _a; - if (!props.multiple) - return false; + if (!props.multiple) return false; return allOptions.value.length === ((_a = selectedValue.value) == null ? void 0 : _a.length); }); const selectAll = () => { diff --git a/assets/Autocomplete.story-6dcc923a.js b/assets/Autocomplete.story-Cp6bkIGn.js similarity index 95% rename from assets/Autocomplete.story-6dcc923a.js rename to assets/Autocomplete.story-Cp6bkIGn.js index 9ff7e45c..ca8c1b32 100644 --- a/assets/Autocomplete.story-6dcc923a.js +++ b/assets/Autocomplete.story-Cp6bkIGn.js @@ -1,9 +1,9 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aG as createElementBlock, aH as createCommentVNode } from "./vendor-3b8d0bfc.js"; -import { A as Autocomplete } from "./Autocomplete-f413d8b8.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Popover-2741613b.js"; -import "./Button-f8ca7b7d.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aG as createElementBlock, aH as createCommentVNode } from "./vendor-D4tQXw0h.js"; +import { A as Autocomplete } from "./Autocomplete-Dy3gPyuT.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Popover-DXQPMgPX.js"; +import "./Button-CeJ2Oqur.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Autocomplete.story", setup(__props, { expose: __expose }) { diff --git a/assets/Avatar-3a22144c.js b/assets/Avatar-DIa5TA7o.js similarity index 98% rename from assets/Avatar-3a22144c.js rename to assets/Avatar-DIa5TA7o.js index 1687b0f1..e7407bcb 100644 --- a/assets/Avatar-3a22144c.js +++ b/assets/Avatar-DIa5TA7o.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, az as ref, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aK as Fragment, aM as createTextVNode, aN as toDisplayString, aF as createBaseVNode, aH as createCommentVNode } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, az as ref, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aK as Fragment, aM as createTextVNode, aN as toDisplayString, aF as createBaseVNode, aH as createCommentVNode } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Avatar", props: { diff --git a/assets/Avatar.story-6a2ee77d.js b/assets/Avatar.story-BqwBx_qV.js similarity index 94% rename from assets/Avatar.story-6a2ee77d.js rename to assets/Avatar.story-BqwBx_qV.js index 0970fb63..4040362e 100644 --- a/assets/Avatar.story-6a2ee77d.js +++ b/assets/Avatar.story-BqwBx_qV.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { A as Avatar } from "./Avatar-3a22144c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { A as Avatar } from "./Avatar-DIa5TA7o.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Avatar.story", setup(__props, { expose: __expose }) { diff --git a/assets/Badge-17025005.js b/assets/Badge-CTqCBk9r.js similarity index 97% rename from assets/Badge-17025005.js rename to assets/Badge-CTqCBk9r.js index 233a9eb3..678bb0a1 100644 --- a/assets/Badge-17025005.js +++ b/assets/Badge-CTqCBk9r.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aH as createCommentVNode, aM as createTextVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aH as createCommentVNode, aM as createTextVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Badge", props: { diff --git a/assets/Badge.story-071458ce.js b/assets/Badge.story-s7QK_Tt1.js similarity index 95% rename from assets/Badge.story-071458ce.js rename to assets/Badge.story-s7QK_Tt1.js index 48000f09..00e6356e 100644 --- a/assets/Badge.story-071458ce.js +++ b/assets/Badge.story-s7QK_Tt1.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aL as mergeProps, aM as createTextVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { B as Badge } from "./Badge-17025005.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aL as mergeProps, aM as createTextVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { B as Badge } from "./Badge-CTqCBk9r.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Badge.story", setup(__props, { expose: __expose }) { diff --git a/assets/BaseEmpty.vue-3e2a06f3.js b/assets/BaseEmpty.vue-C2Xer74E.js similarity index 86% rename from assets/BaseEmpty.vue-3e2a06f3.js rename to assets/BaseEmpty.vue-C2Xer74E.js index 6f5ff00d..d6fe9e25 100644 --- a/assets/BaseEmpty.vue-3e2a06f3.js +++ b/assets/BaseEmpty.vue-C2Xer74E.js @@ -1,5 +1,5 @@ -import { _ as _export_sfc } from "./MobileOverlay.vue2-24879cc5.js"; -import { o as openBlock, b as createElementBlock, a6 as renderSlot } from "./vendor-3b8d0bfc.js"; +import { _ as _export_sfc } from "./MobileOverlay.vue2-Dj9o_MUM.js"; +import { o as openBlock, b as createElementBlock, a6 as renderSlot } from "./vendor-D4tQXw0h.js"; const _sfc_main = {}; const _hoisted_1 = { class: "histoire-base-empty htw-base-empty htw-flex htw-flex-col htw-items-center htw-justify-center htw-space-y-4 htw-py-12 htw-h-full htw-text-center htw-text-gray-400 htw-text-lg" }; function _sfc_render(_ctx, _cache) { diff --git a/assets/Breadcrumbs-d74d80a2.js b/assets/Breadcrumbs-C50t6-En.js similarity index 94% rename from assets/Breadcrumbs-d74d80a2.js rename to assets/Breadcrumbs-C50t6-En.js index 02608612..d144b351 100644 --- a/assets/Breadcrumbs-d74d80a2.js +++ b/assets/Breadcrumbs-C50t6-En.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, bq as useRouter, bA as useWindowSize, br as computed, aA as resolveComponent, aB as openBlock, aG as createElementBlock, aK as Fragment, aE as createVNode, aD as withCtx, aF as createBaseVNode, aH as createCommentVNode, aJ as renderList, aC as createBlock, bk as renderSlot, aN as toDisplayString, aQ as normalizeClass } from "./vendor-3b8d0bfc.js"; -import { D as Dropdown } from "./Dropdown-ec4939d7.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bq as useRouter, bA as useWindowSize, br as computed, aA as resolveComponent, aB as openBlock, aG as createElementBlock, aK as Fragment, aE as createVNode, aD as withCtx, aF as createBaseVNode, aH as createCommentVNode, aJ as renderList, aC as createBlock, bk as renderSlot, aN as toDisplayString, aQ as normalizeClass } from "./vendor-D4tQXw0h.js"; +import { D as Dropdown } from "./Dropdown-BczQWD8o.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Breadcrumbs", props: { @@ -16,8 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ return (props.items || []).filter(Boolean); }); const dropdownItems = computed(() => { - if (width.value > 640) - return []; + if (width.value > 640) return []; let allExceptLastTwo = items.value.slice(0, -2); return allExceptLastTwo.map((item) => { let onClick = () => { @@ -36,8 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ }); }); const crumbs = computed(() => { - if (width.value > 640) - return items.value; + if (width.value > 640) return items.value; let lastTwo = items.value.slice(-2); return lastTwo; }); diff --git a/assets/Breadcrumbs.story-6ae09537.js b/assets/Breadcrumbs.story-BNEqf67F.js similarity index 91% rename from assets/Breadcrumbs.story-6ae09537.js rename to assets/Breadcrumbs.story-BNEqf67F.js index f1c10b69..809ec3e0 100644 --- a/assets/Breadcrumbs.story-6ae09537.js +++ b/assets/Breadcrumbs.story-BNEqf67F.js @@ -1,10 +1,10 @@ -import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aO as logEvent, aE as createVNode, aF as createBaseVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { B as Breadcrumbs } from "./Breadcrumbs-d74d80a2.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Dropdown-ec4939d7.js"; -import "./Popover-2741613b.js"; -import "./Button-f8ca7b7d.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aO as logEvent, aE as createVNode, aF as createBaseVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { B as Breadcrumbs } from "./Breadcrumbs-C50t6-En.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Dropdown-BczQWD8o.js"; +import "./Popover-DXQPMgPX.js"; +import "./Button-CeJ2Oqur.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Breadcrumbs.story", setup(__props, { expose: __expose }) { diff --git a/assets/Button-f8ca7b7d.js b/assets/Button-CeJ2Oqur.js similarity index 98% rename from assets/Button-f8ca7b7d.js rename to assets/Button-CeJ2Oqur.js index 064b8a36..b2ed0f24 100644 --- a/assets/Button-f8ca7b7d.js +++ b/assets/Button-CeJ2Oqur.js @@ -1,6 +1,6 @@ -import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode, ay as defineComponent, bp as useSlots, bq as useRouter, br as computed, aC as createBlock, aQ as normalizeClass, bk as renderSlot, a$ as resolveDynamicComponent, aH as createCommentVNode, aK as Fragment, aM as createTextVNode, aN as toDisplayString, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode, ay as defineComponent, bp as useSlots, bq as useRouter, br as computed, aC as createBlock, aQ as normalizeClass, bk as renderSlot, a$ as resolveDynamicComponent, aH as createCommentVNode, aK as Fragment, aM as createTextVNode, aN as toDisplayString, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main$1 = {}; const _hoisted_1$1 = { class: "max-w-xs animate-spin", diff --git a/assets/Button.story-df4c5302.js b/assets/Button.story-Be6YtTgm.js similarity index 94% rename from assets/Button.story-df4c5302.js rename to assets/Button.story-Be6YtTgm.js index 2df94549..c893d44a 100644 --- a/assets/Button.story-df4c5302.js +++ b/assets/Button.story-Be6YtTgm.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps, aM as createTextVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps, aM as createTextVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Button.story", setup(__props, { expose: __expose }) { diff --git a/assets/Calendar-4afba67f.js b/assets/Calendar-3A6JD7pG.js similarity index 98% rename from assets/Calendar-4afba67f.js rename to assets/Calendar-3A6JD7pG.js index 21ade005..8682f4b4 100644 --- a/assets/Calendar-4afba67f.js +++ b/assets/Calendar-3A6JD7pG.js @@ -1,11 +1,11 @@ -import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode, aE as createVNode, aH as createCommentVNode, aN as toDisplayString, az as ref, aI as reactive, br as computed, bF as inject, aC as createBlock, aD as withCtx, aQ as normalizeClass, bG as onMounted, bH as onBeforeUnmount, bt as watch, bI as useFloating, bJ as offset, bK as flip, bL as shift, bM as autoUpdate, aL as mergeProps, bN as toHandlers, bz as withModifiers, a$ as resolveDynamicComponent, aK as Fragment, bn as normalizeStyle, aJ as renderList, aM as createTextVNode, bO as onUnmounted, bP as provide, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-3b8d0bfc.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { T as TabButtons } from "./TabButtons-70dba38d.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import { D as Dialog } from "./Dialog-d377ea2d.js"; -import { F as FormControl } from "./FormControl-ada8b7f2.js"; -import { E as ErrorMessage } from "./ErrorMessage-fdb57532.js"; +import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode, aE as createVNode, aH as createCommentVNode, aN as toDisplayString, az as ref, aI as reactive, br as computed, bF as inject, aC as createBlock, aD as withCtx, aQ as normalizeClass, bG as onMounted, bH as onBeforeUnmount, bt as watch, bI as useFloating, bJ as offset, bK as flip, bL as shift, bM as autoUpdate, aL as mergeProps, bN as toHandlers, bz as withModifiers, a$ as resolveDynamicComponent, aK as Fragment, bn as normalizeStyle, aJ as renderList, aM as createTextVNode, bO as onUnmounted, bP as provide, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-D4tQXw0h.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { T as TabButtons } from "./TabButtons-DisK56Y9.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import { D as Dialog } from "./Dialog-ZcNZygUg.js"; +import { F as FormControl } from "./FormControl-BieJQuVF.js"; +import { E as ErrorMessage } from "./ErrorMessage-Bk7yVn0z.js"; function getCalendarDates(month, year) { let daysInMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; let firstDay = new Date(year, month, 1); @@ -56,8 +56,7 @@ function getCalendarDates(month, year) { } } function groupBy(obj, fn) { - if (typeof fn !== "function") - throw new Error(`${fn} should be a function`); + if (typeof fn !== "function") throw new Error(`${fn} should be a function`); return Object.keys(obj).reduce((acc, key) => { const group = fn(obj[key]); if (!acc[group]) { @@ -74,10 +73,8 @@ function calculateMinutes(time) { function convertMinutesToHours(minutes) { let hours = Math.floor(minutes / 60); let remainingMinutes = minutes % 60; - if (hours < 10) - hours = `0${hours}`; - if (remainingMinutes < 10) - remainingMinutes = `0${remainingMinutes}`; + if (hours < 10) hours = `0${hours}`; + if (remainingMinutes < 10) remainingMinutes = `0${remainingMinutes}`; return `${hours}:${remainingMinutes}:00`; } function parseDate(date) { @@ -87,10 +84,8 @@ function parseDate(date) { let dd = date.getDate(); let mm = date.getMonth() + 1; let yyyy = date.getFullYear(); - if (dd < 10) - dd = "0" + dd; - if (mm < 10) - mm = "0" + mm; + if (dd < 10) dd = "0" + dd; + if (mm < 10) mm = "0" + mm; return `${yyyy}-${mm}-${dd}`; } function parseDateEventPopupFormat(date, showDay = true, showMonth = true, weekDay = "short") { @@ -376,7 +371,6 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { } _sfc_main$8.__file = "src/components/Calendar/EventModalContent.vue"; const EventModalContent = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/frappe-ui/frappe-ui/src/components/Calendar/EventModalContent.vue"]]); -const NewEventModal_vue_vue_type_style_index_0_lang = ""; const _sfc_main$7 = { __name: "NewEventModal", props: { @@ -617,11 +611,9 @@ const _sfc_main$6 = { }); function handleClickOutside(e) { const insidePopover = floating.value && floating.value.contains(e.target); - if (insidePopover) - return; + if (insidePopover) return; const insideTarget = eventRef.value && eventRef.value.contains(e.target); - if (insideTarget) - return; + if (insideTarget) return; close(); } const calendarEvent = ref(props.event); @@ -727,22 +719,19 @@ const _sfc_main$6 = { e.preventDefault(); let prevY = e.clientY; const rect = eventRef.value.getBoundingClientRect(); - if (isResizing.value) - return; + if (isResizing.value) return; window.addEventListener("mousemove", mousemove); window.addEventListener("mouseup", mouseup); function mousemove(e2) { isRepositioning.value = true; preventClick.value = true; - if (!eventRef.value) - return; + if (!eventRef.value) return; close(); eventRef.value.style.cursor = "grabbing"; if (activeView.value === "Week") { handleHorizontalMovement(e2.clientX, rect); } - if (!props.event.isFullDay) - handleVerticalMovement(e2.clientY, prevY, rect); + if (!props.event.isFullDay) handleVerticalMovement(e2.clientY, prevY, rect); if (calendarEvent.value.from_time !== updatedEvent.from_time || calendarEvent.value.to_time !== updatedEvent.to_time) { isEventUpdated.value = true; } else { @@ -752,8 +741,7 @@ const _sfc_main$6 = { function mouseup(e2) { e2.preventDefault(); isRepositioning.value = false; - if (!eventRef.value) - return; + if (!eventRef.value) return; eventRef.value.style.cursor = "pointer"; if (calendarEvent.value.isFullDay && activeView.value === "Week") { eventRef.value.style.width = "90%"; @@ -852,10 +840,8 @@ const _sfc_main$6 = { () => opened.value, (newVal) => { if (newVal) { - if (!config.isEditMode) - return; - if (!config.enableShortcuts) - return; + if (!config.isEditMode) return; + if (!config.enableShortcuts) return; document.addEventListener("keydown", handleDeleteShortcut, { once: true }); } } @@ -886,8 +872,7 @@ const _sfc_main$6 = { }); return; } - if (!config.isEditMode) - return; + if (!config.isEditMode) return; close(); showEventModal.value = true; } @@ -1246,8 +1231,7 @@ const _sfc_main$4 = { } const calendarActions = inject("calendarActions"); const onDragStart = (event, calendarEventID) => { - if (!calendarEventID) - return; + if (!calendarEventID) return; event.target.style.opacity = "0.5"; event.target.style.cursor = "move"; event.dataTransfer.dropEffect = "move"; @@ -1256,12 +1240,10 @@ const _sfc_main$4 = { }; const onDrop = (event, date) => { let calendarEventID = event.dataTransfer.getData("calendarEventID"); - if (!calendarEventID) - return; + if (!calendarEventID) return; event.target.style.cursor = "default"; let e = props.events.find((e2) => e2.id === calendarEventID); - if (parseDate(date) === e.date) - return; + if (parseDate(date) === e.date) return; let calendarEvent = props.events.find((e2) => e2.id === calendarEventID); calendarEvent.date = parseDate(date); calendarActions.updateEventState(calendarEvent); @@ -1416,7 +1398,6 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { } _sfc_main$4.__file = "src/components/Calendar/CalendarMonthly.vue"; const CalendarMonthly = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__file", "/home/runner/work/frappe-ui/frappe-ui/src/components/Calendar/CalendarMonthly.vue"]]); -const CalendarTimeMarker_vue_vue_type_style_index_0_scoped_d36ad733_lang = ""; const _sfc_main$3 = { __name: "CalendarTimeMarker", props: { @@ -1470,7 +1451,6 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { } _sfc_main$3.__file = "src/components/Calendar/CalendarTimeMarker.vue"; const CalendarTimeMarker = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-d36ad733"], ["__file", "/home/runner/work/frappe-ui/frappe-ui/src/components/Calendar/CalendarTimeMarker.vue"]]); -const CalendarWeekly_vue_vue_type_style_index_0_lang = ""; const _sfc_main$2 = { __name: "CalendarWeekly", props: { @@ -1536,8 +1516,7 @@ const _sfc_main$2 = { showCollapsable.value = false; } let height = getCellHeight(maxEvents); - if (isCollapsed.value) - return; + if (isCollapsed.value) return; allDayCells.value.forEach((cell) => { cell.style.height = height + "px"; }); @@ -1985,8 +1964,7 @@ function useEventModal() { title: "" }); function openNewEventModal(e, view, date, isEditMode, from_time = "") { - if (!isEditMode) - return; + if (!isEditMode) return; date = view === "Week" ? e.target.parentNode.parentNode.getAttribute("data-date-attr") : date; newEvent.date = parseDate(new Date(date)); if (view === "Month") { @@ -2060,8 +2038,7 @@ const _sfc_main = { activeView.value = value; } onMounted(() => { - if (!overrideConfig.enableShortcuts) - return; + if (!overrideConfig.enableShortcuts) return; window.addEventListener("keydown", handleShortcuts); }); onUnmounted(() => { diff --git a/assets/Calendar.story-1267fd2d.js b/assets/Calendar.story-O5ECq2vB.js similarity index 91% rename from assets/Calendar.story-1267fd2d.js rename to assets/Calendar.story-O5ECq2vB.js index 1defcb98..9ab751e0 100644 --- a/assets/Calendar.story-1267fd2d.js +++ b/assets/Calendar.story-O5ECq2vB.js @@ -1,19 +1,19 @@ -import { az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aO as logEvent, aE as createVNode, aF as createBaseVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { C as Calendar } from "./Calendar-4afba67f.js"; -import { T as TabButtons } from "./TabButtons-70dba38d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Button-f8ca7b7d.js"; -import "./FeatherIcon-dfb91a0c.js"; -import "./Dialog-d377ea2d.js"; -import "./FormControl-ada8b7f2.js"; -import "./Checkbox-71f5c4b5.js"; -import "./TextInput-f8aeff24.js"; -import "./debounce-d11286cd.js"; -import "./Select-3d29cf81.js"; -import "./Textarea-2f1c001e.js"; -import "./Autocomplete-f413d8b8.js"; -import "./Popover-2741613b.js"; -import "./ErrorMessage-fdb57532.js"; +import { az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aO as logEvent, aE as createVNode, aF as createBaseVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { C as Calendar } from "./Calendar-3A6JD7pG.js"; +import { T as TabButtons } from "./TabButtons-DisK56Y9.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Button-CeJ2Oqur.js"; +import "./FeatherIcon-BDzageq3.js"; +import "./Dialog-ZcNZygUg.js"; +import "./FormControl-BieJQuVF.js"; +import "./Checkbox-D_YjUOsx.js"; +import "./TextInput-DNISJZg6.js"; +import "./debounce-CRCtzhPg.js"; +import "./Select-C3fVHNH1.js"; +import "./Textarea-D12aIG7A.js"; +import "./Autocomplete-Dy3gPyuT.js"; +import "./Popover-DXQPMgPX.js"; +import "./ErrorMessage-Bk7yVn0z.js"; const _sfc_main = { __name: "Calendar.story", setup(__props, { expose: __expose }) { diff --git a/assets/Checkbox-71f5c4b5.js b/assets/Checkbox-D_YjUOsx.js similarity index 96% rename from assets/Checkbox-71f5c4b5.js rename to assets/Checkbox-D_YjUOsx.js index 7acf6504..a12d3912 100644 --- a/assets/Checkbox-71f5c4b5.js +++ b/assets/Checkbox-D_YjUOsx.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, bY as useAttrs, br as computed, aB as openBlock, aG as createElementBlock, aF as createBaseVNode, aL as mergeProps, aQ as normalizeClass, aN as toDisplayString, aH as createCommentVNode } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bY as useAttrs, br as computed, aB as openBlock, aG as createElementBlock, aF as createBaseVNode, aL as mergeProps, aQ as normalizeClass, aN as toDisplayString, aH as createCommentVNode } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; let id = 0; function generateId() { return ++id; diff --git a/assets/Checkbox.story-87fd3654.js b/assets/Checkbox.story-D_pHfjso.js similarity index 92% rename from assets/Checkbox.story-87fd3654.js rename to assets/Checkbox.story-D_pHfjso.js index 4fe39ce4..0c1e3748 100644 --- a/assets/Checkbox.story-87fd3654.js +++ b/assets/Checkbox.story-D_pHfjso.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { C as Checkbox } from "./Checkbox-71f5c4b5.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { C as Checkbox } from "./Checkbox-D_YjUOsx.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Checkbox.story", setup(__props, { expose: __expose }) { diff --git a/assets/CircularProgressBar-4bd9a733.js b/assets/CircularProgressBar-Cjp8a6YQ.js similarity index 94% rename from assets/CircularProgressBar-4bd9a733.js rename to assets/CircularProgressBar-Cjp8a6YQ.js index 4916a380..6a519152 100644 --- a/assets/CircularProgressBar-4bd9a733.js +++ b/assets/CircularProgressBar-Cjp8a6YQ.js @@ -1,7 +1,6 @@ -import { ay as defineComponent, b_ as useCssVars, br as computed, aB as openBlock, aG as createElementBlock, aN as toDisplayString, aC as createBlock, aQ as normalizeClass } from "./vendor-3b8d0bfc.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -const CircularProgressBar_vue_vue_type_style_index_0_scoped_41408d09_lang = ""; +import { ay as defineComponent, b_ as useCssVars, br as computed, aB as openBlock, aG as createElementBlock, aN as toDisplayString, aC as createBlock, aQ as normalizeClass } from "./vendor-D4tQXw0h.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "CircularProgressBar", props: { diff --git a/assets/CircularProgressBar.story-635fc3e7.js b/assets/CircularProgressBar.story-MKbJpBoT.js similarity index 96% rename from assets/CircularProgressBar.story-635fc3e7.js rename to assets/CircularProgressBar.story-MKbJpBoT.js index 520bc16e..6969a7a4 100644 --- a/assets/CircularProgressBar.story-635fc3e7.js +++ b/assets/CircularProgressBar.story-MKbJpBoT.js @@ -1,7 +1,7 @@ -import { C as CircularProgressBar } from "./CircularProgressBar-4bd9a733.js"; -import { aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { C as CircularProgressBar } from "./CircularProgressBar-Cjp8a6YQ.js"; +import { aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = { __name: "CircularProgressBar.story", setup(__props, { expose: __expose }) { diff --git a/assets/DatePicker.story-95b44535.js b/assets/DatePicker.story-GVYmThXz.js similarity index 90% rename from assets/DatePicker.story-95b44535.js rename to assets/DatePicker.story-GVYmThXz.js index afc1d9f7..3697b342 100644 --- a/assets/DatePicker.story-95b44535.js +++ b/assets/DatePicker.story-GVYmThXz.js @@ -1,11 +1,11 @@ -import { ay as defineComponent, aI as reactive, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { D as DatePicker, a as DateTimePicker, b as DateRangePicker } from "./DateRangePicker-1b600c7c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Button-f8ca7b7d.js"; -import "./FeatherIcon-dfb91a0c.js"; -import "./Popover-2741613b.js"; -import "./TextInput-f8aeff24.js"; -import "./debounce-d11286cd.js"; +import { ay as defineComponent, aI as reactive, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { D as DatePicker, a as DateTimePicker, b as DateRangePicker } from "./DateRangePicker-D0hHZ8KV.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Button-CeJ2Oqur.js"; +import "./FeatherIcon-BDzageq3.js"; +import "./Popover-DXQPMgPX.js"; +import "./TextInput-DNISJZg6.js"; +import "./debounce-CRCtzhPg.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "DatePicker.story", setup(__props, { expose: __expose }) { diff --git a/assets/DateRangePicker-1b600c7c.js b/assets/DateRangePicker-D0hHZ8KV.js similarity index 97% rename from assets/DateRangePicker-1b600c7c.js rename to assets/DateRangePicker-D0hHZ8KV.js index 71f5e10d..f7837c53 100644 --- a/assets/DateRangePicker-1b600c7c.js +++ b/assets/DateRangePicker-D0hHZ8KV.js @@ -1,9 +1,9 @@ -import { c5 as dayjs$1, c6 as updateLocale, c7 as relativeTime, c8 as localizedFormat, c9 as isToday, ca as duration, cb as utc, cc as timezone, cd as advancedFormat, az as ref, br as computed, ay as defineComponent, bG as onMounted, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aL as mergeProps, aF as createBaseVNode, aQ as normalizeClass, aH as createCommentVNode, aN as toDisplayString, aG as createElementBlock, aK as Fragment, aJ as renderList } from "./vendor-3b8d0bfc.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { P as Popover } from "./Popover-2741613b.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { T as TextInput } from "./TextInput-f8aeff24.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ca as dayjs$1, cb as updateLocale, cc as relativeTime, cd as localizedFormat, ce as isToday, cf as duration, cg as utc, ch as timezone, ci as advancedFormat, az as ref, br as computed, ay as defineComponent, bG as onMounted, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aL as mergeProps, aF as createBaseVNode, aQ as normalizeClass, aH as createCommentVNode, aN as toDisplayString, aG as createElementBlock, aK as Fragment, aJ as renderList } from "./vendor-D4tQXw0h.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { P as Popover } from "./Popover-DXQPMgPX.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { T as TextInput } from "./TextInput-DNISJZg6.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; let config = {}; function getConfig(key) { return config[key] || null; @@ -22,19 +22,15 @@ function getBrowserTimezone() { function dayjsLocal(dateTimeString) { let systemTimezone = getConfig("systemTimezone"); let localTimezone = getConfig("localTimezone") || getBrowserTimezone(); - if (!systemTimezone) - return dayjs$1(dateTimeString); - if (!dateTimeString) - return dayjs$1().tz(localTimezone); + if (!systemTimezone) return dayjs$1(dateTimeString); + if (!dateTimeString) return dayjs$1().tz(localTimezone); return dayjs$1.tz(dateTimeString, systemTimezone).tz(localTimezone); } function dayjsSystem(dateTimeString) { let systemTimezone = getConfig("systemTimezone"); let localTimezone = getConfig("localTimezone") || getBrowserTimezone(); - if (!systemTimezone) - return dayjs$1(dateTimeString); - if (!dateTimeString) - return dayjs$1().tz(systemTimezone); + if (!systemTimezone) return dayjs$1(dateTimeString); + if (!dateTimeString) return dayjs$1().tz(systemTimezone); return dayjs$1.tz(dateTimeString, localTimezone).tz(systemTimezone); } let dayjs = dayjs$1; @@ -42,8 +38,7 @@ function getDate(...args) { return new Date(...args); } function getDateValue(date) { - if (!date || date.toString() === "Invalid Date") - return ""; + if (!date || date.toString() === "Invalid Date") return ""; return dayjs(date).set("hour", 0).set("minute", 0).set("second", 0).set("millisecond", 0).format("YYYY-MM-DD"); } function getDatesAfter(date, count) { @@ -76,12 +71,9 @@ function getDaysInMonth(monthIndex, year) { return daysInMonth; } function isLeapYear(year) { - if (year % 400 === 0) - return true; - if (year % 100 === 0) - return false; - if (year % 4 === 0) - return true; + if (year % 400 === 0) return true; + if (year % 100 === 0) return false; + if (year % 4 === 0) return true; return false; } function useDatePicker() { @@ -396,7 +388,6 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { } _sfc_main$2.__file = "src/components/DatePicker/DatePicker.vue"; const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__file", "/home/runner/work/frappe-ui/frappe-ui/src/components/DatePicker/DatePicker.vue"]]); -const DateTimePicker_vue_vue_type_style_index_0_scoped_6b0e7566_lang = ""; const _sfc_main$1 = /* @__PURE__ */ defineComponent({ __name: "DateTimePicker", props: { @@ -457,8 +448,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({ emit("update:modelValue", systemParsedDate); } function toValue(date) { - if (!date || date.toString() === "Invalid Date") - return ""; + if (!date || date.toString() === "Invalid Date") return ""; return dayjs(date).set("hour", hour.value).set("minute", minute.value).set("second", second.value).format("YYYY-MM-DD HH:mm:ss"); } function twoDigit(number) { diff --git a/assets/Dialog-d377ea2d.js b/assets/Dialog-ZcNZygUg.js similarity index 96% rename from assets/Dialog-d377ea2d.js rename to assets/Dialog-ZcNZygUg.js index ffbfee6f..5f8e1701 100644 --- a/assets/Dialog-d377ea2d.js +++ b/assets/Dialog-ZcNZygUg.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, br as computed, aI as reactive, bT as Ge, bU as Ve, bV as Ye, bW as he, bX as Se, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aQ as normalizeClass, bk as renderSlot, aG as createElementBlock, aH as createCommentVNode, aN as toDisplayString, aR as normalizeProps, aS as guardReactiveProps, aK as Fragment, aJ as renderList, aL as mergeProps, aM as createTextVNode } from "./vendor-3b8d0bfc.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, br as computed, aI as reactive, bT as Ge, bU as Ve, bV as Ye, bW as he, bX as Se, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aQ as normalizeClass, bk as renderSlot, aG as createElementBlock, aH as createCommentVNode, aN as toDisplayString, aR as normalizeProps, aS as guardReactiveProps, aK as Fragment, aJ as renderList, aL as mergeProps, aM as createTextVNode } from "./vendor-D4tQXw0h.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Dialog", props: { @@ -16,8 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ const emit = __emit; const actions = computed(() => { let actions2 = props.options.actions; - if (!(actions2 == null ? void 0 : actions2.length)) - return []; + if (!(actions2 == null ? void 0 : actions2.length)) return []; return actions2.map((action) => { let _action = reactive({ ...action, @@ -59,8 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ } const icon = computed(() => { var _a; - if (!((_a = props.options) == null ? void 0 : _a.icon)) - return null; + if (!((_a = props.options) == null ? void 0 : _a.icon)) return null; let icon2 = props.options.icon; if (typeof icon2 === "string") { icon2 = { name: icon2 }; @@ -78,8 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ const dialogIconBgClasses = computed(() => { var _a; const appearance = (_a = icon.value) == null ? void 0 : _a.appearance; - if (!appearance) - return "bg-surface-gray-2"; + if (!appearance) return "bg-surface-gray-2"; return { warning: "bg-surface-amber-2", info: "bg-surface-blue-2", @@ -90,8 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ const dialogIconClasses = computed(() => { var _a; const appearance = (_a = icon.value) == null ? void 0 : _a.appearance; - if (!appearance) - return "text-ink-gray-5"; + if (!appearance) return "text-ink-gray-5"; return { warning: "text-ink-amber-3", info: "text-ink-blue-3", diff --git a/assets/Dialog.story-c6a3e2bd.js b/assets/Dialog.story-CmkCNyzv.js similarity index 95% rename from assets/Dialog.story-c6a3e2bd.js rename to assets/Dialog.story-CmkCNyzv.js index 25f049af..b4fb61d7 100644 --- a/assets/Dialog.story-c6a3e2bd.js +++ b/assets/Dialog.story-CmkCNyzv.js @@ -1,8 +1,8 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { D as Dialog } from "./Dialog-d377ea2d.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { D as Dialog } from "./Dialog-ZcNZygUg.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Dialog.story", setup(__props, { expose: __expose }) { diff --git a/assets/Dropdown-ec4939d7.js b/assets/Dropdown-BczQWD8o.js similarity index 95% rename from assets/Dropdown-ec4939d7.js rename to assets/Dropdown-BczQWD8o.js index 79efa857..94f572a4 100644 --- a/assets/Dropdown-ec4939d7.js +++ b/assets/Dropdown-BczQWD8o.js @@ -1,8 +1,8 @@ -import { ay as defineComponent, bq as useRouter, br as computed, bB as ge, bC as Se, bD as Me, bE as be, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, bk as renderSlot, aR as normalizeProps, aL as mergeProps, aM as createTextVNode, aN as toDisplayString, aQ as normalizeClass, aG as createElementBlock, aK as Fragment, aJ as renderList, aH as createCommentVNode, a$ as resolveDynamicComponent, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { P as Popover } from "./Popover-2741613b.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bq as useRouter, br as computed, bB as ge, bC as Se, bD as Me, bE as be, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, bk as renderSlot, aR as normalizeProps, aL as mergeProps, aM as createTextVNode, aN as toDisplayString, aQ as normalizeClass, aG as createElementBlock, aK as Fragment, aJ as renderList, aH as createCommentVNode, a$ as resolveDynamicComponent, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { P as Popover } from "./Popover-DXQPMgPX.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Dropdown", props: { @@ -80,12 +80,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ }; }); const popoverPlacement = computed(() => { - if (props.placement === "left") - return "bottom-start"; - if (props.placement === "right") - return "bottom-end"; - if (props.placement === "center") - return "bottom-center"; + if (props.placement === "left") return "bottom-start"; + if (props.placement === "right") return "bottom-end"; + if (props.placement === "center") return "bottom-center"; return "bottom"; }); const __returned__ = { router, props, normalizeDropdownItem, filterOptions, groups, dropdownTransition, popoverPlacement, get Menu() { diff --git a/assets/Dropdown.story-02efa290.js b/assets/Dropdown.story-CXdElnU_.js similarity index 92% rename from assets/Dropdown.story-02efa290.js rename to assets/Dropdown.story-CXdElnU_.js index 7027bce3..d852c961 100644 --- a/assets/Dropdown.story-02efa290.js +++ b/assets/Dropdown.story-CXdElnU_.js @@ -1,9 +1,9 @@ -import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aP as h, aH as createCommentVNode, aE as createVNode } from "./vendor-3b8d0bfc.js"; -import { D as Dropdown } from "./Dropdown-ec4939d7.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Popover-2741613b.js"; +import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aP as h, aH as createCommentVNode, aE as createVNode } from "./vendor-D4tQXw0h.js"; +import { D as Dropdown } from "./Dropdown-BczQWD8o.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Popover-DXQPMgPX.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Dropdown.story", setup(__props, { expose: __expose }) { diff --git a/assets/ErrorMessage-fdb57532.js b/assets/ErrorMessage-Bk7yVn0z.js similarity index 85% rename from assets/ErrorMessage-fdb57532.js rename to assets/ErrorMessage-Bk7yVn0z.js index 36c0c385..fe576907 100644 --- a/assets/ErrorMessage-fdb57532.js +++ b/assets/ErrorMessage-Bk7yVn0z.js @@ -1,12 +1,11 @@ -import { aB as openBlock, aG as createElementBlock, aH as createCommentVNode } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { aB as openBlock, aG as createElementBlock, aH as createCommentVNode } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = { name: "ErrorMessage", props: ["message"], computed: { errorMessage() { - if (!this.message) - return ""; + if (!this.message) return ""; if (this.message instanceof Error) { return this.message.messages || this.message.message; } diff --git a/assets/ErrorMessage.story-67c66ee3.js b/assets/ErrorMessage.story-B0n8de6G.js similarity index 91% rename from assets/ErrorMessage.story-67c66ee3.js rename to assets/ErrorMessage.story-B0n8de6G.js index d01f4495..7c13d994 100644 --- a/assets/ErrorMessage.story-67c66ee3.js +++ b/assets/ErrorMessage.story-B0n8de6G.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { E as ErrorMessage } from "./ErrorMessage-fdb57532.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { E as ErrorMessage } from "./ErrorMessage-Bk7yVn0z.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "ErrorMessage.story", setup(__props, { expose: __expose }) { diff --git a/assets/FeatherIcon-dfb91a0c.js b/assets/FeatherIcon-BDzageq3.js similarity index 94% rename from assets/FeatherIcon-dfb91a0c.js rename to assets/FeatherIcon-BDzageq3.js index d38c9e97..500841c1 100644 --- a/assets/FeatherIcon-dfb91a0c.js +++ b/assets/FeatherIcon-BDzageq3.js @@ -1,5 +1,5 @@ -import { bs as feather, aP as h, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { bs as feather, aP as h, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const validIcons = Object.keys(feather.icons); const _sfc_main = { props: { diff --git a/assets/FileUploader-fb8fc169.js b/assets/FileUploader-CO9bL3Wu.js similarity index 96% rename from assets/FileUploader-fb8fc169.js rename to assets/FileUploader-CO9bL3Wu.js index 9394be7f..4189e9df 100644 --- a/assets/FileUploader-fb8fc169.js +++ b/assets/FileUploader-CO9bL3Wu.js @@ -1,11 +1,8 @@ var __defProp = Object.defineProperty; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; -var __publicField = (obj, key, value) => { - __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); - return value; -}; -import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); +import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; class FileUploadHandler { constructor() { __publicField(this, "listeners"); diff --git a/assets/FileUploader.story-e9e8225b.js b/assets/FileUploader.story-CPbT0-Qp.js similarity index 87% rename from assets/FileUploader.story-e9e8225b.js rename to assets/FileUploader.story-CPbT0-Qp.js index db81749b..e2d625ba 100644 --- a/assets/FileUploader.story-e9e8225b.js +++ b/assets/FileUploader.story-CPbT0-Qp.js @@ -1,8 +1,8 @@ -import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { F as FileUploader } from "./FileUploader-fb8fc169.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { F as FileUploader } from "./FileUploader-CO9bL3Wu.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "FileUploader.story", setup(__props, { expose: __expose }) { diff --git a/assets/FontColor-b5f32016.js b/assets/FontColor-MAIwHdLk.js similarity index 82% rename from assets/FontColor-b5f32016.js rename to assets/FontColor-MAIwHdLk.js index 2883f259..a08f07c6 100644 --- a/assets/FontColor-b5f32016.js +++ b/assets/FontColor-MAIwHdLk.js @@ -1,35 +1,35 @@ -import { P as Popover } from "./Popover-2741613b.js"; -import "./ListRow-3143822c.js"; -import "./Autocomplete-f413d8b8.js"; -import "./Avatar-3a22144c.js"; -import "./Badge-17025005.js"; -import "./Breadcrumbs-d74d80a2.js"; -import "./Button-f8ca7b7d.js"; -import "./Checkbox-71f5c4b5.js"; -import "./DateRangePicker-1b600c7c.js"; -import "./Dialog-d377ea2d.js"; -import "./Dropdown-ec4939d7.js"; -import "./ErrorMessage-fdb57532.js"; -import "./FeatherIcon-dfb91a0c.js"; -import "./FileUploader-fb8fc169.js"; -import "./FormControl-ada8b7f2.js"; -import "./Progress-34f0c455.js"; -import "./Rating-917c1dc8.js"; -import "./Select-3d29cf81.js"; -import "./Spinner-88c1a215.js"; -import "./Switch-5737c75f.js"; -import "./TabButtons-70dba38d.js"; -import "./Tabs-9a591bab.js"; -import "./TextInput-f8aeff24.js"; -import "./Textarea-2f1c001e.js"; -import "./TextEditor-c37a329b.js"; -import { T as Tooltip } from "./Tooltip-66625621.js"; -import "./Calendar-4afba67f.js"; -import "./CircularProgressBar-4bd9a733.js"; -import "./Tree-28d2a2e5.js"; -import { aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aF as createBaseVNode, aG as createElementBlock, aK as Fragment, aJ as renderList, bn as normalizeStyle, aQ as normalizeClass } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./debounce-d11286cd.js"; +import { P as Popover } from "./Popover-DXQPMgPX.js"; +import "./ListRow-3IluqNTE.js"; +import "./Autocomplete-Dy3gPyuT.js"; +import "./Avatar-DIa5TA7o.js"; +import "./Badge-CTqCBk9r.js"; +import "./Breadcrumbs-C50t6-En.js"; +import "./Button-CeJ2Oqur.js"; +import "./Checkbox-D_YjUOsx.js"; +import "./DateRangePicker-D0hHZ8KV.js"; +import "./Dialog-ZcNZygUg.js"; +import "./Dropdown-BczQWD8o.js"; +import "./ErrorMessage-Bk7yVn0z.js"; +import "./FeatherIcon-BDzageq3.js"; +import "./FileUploader-CO9bL3Wu.js"; +import "./FormControl-BieJQuVF.js"; +import "./Progress-BhvMcWvn.js"; +import "./Rating-CO0rPS4Z.js"; +import "./Select-C3fVHNH1.js"; +import "./Spinner-C5FLE1e3.js"; +import "./Switch-EhzXzG5y.js"; +import "./TabButtons-DisK56Y9.js"; +import "./Tabs-DxBXZpL5.js"; +import "./TextInput-DNISJZg6.js"; +import "./Textarea-D12aIG7A.js"; +import "./TextEditor-P-R6n-W9.js"; +import { T as Tooltip } from "./Tooltip-DBXNRhEq.js"; +import "./Calendar-3A6JD7pG.js"; +import "./CircularProgressBar-Cjp8a6YQ.js"; +import "./Tree-ZlUWK-WP.js"; +import { aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aF as createBaseVNode, aG as createElementBlock, aK as Fragment, aJ as renderList, bn as normalizeStyle, aQ as normalizeClass } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./debounce-CRCtzhPg.js"; const _sfc_main = { name: "FontColor", props: ["editor"], diff --git a/assets/FormControl-ada8b7f2.js b/assets/FormControl-BieJQuVF.js similarity index 93% rename from assets/FormControl-ada8b7f2.js rename to assets/FormControl-BieJQuVF.js index fb74cbbf..e19e81e8 100644 --- a/assets/FormControl-ada8b7f2.js +++ b/assets/FormControl-BieJQuVF.js @@ -1,10 +1,10 @@ -import { ay as defineComponent, bY as useAttrs, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, aM as createTextVNode, aN as toDisplayString, aH as createCommentVNode, aC as createBlock, bZ as createSlots, aD as withCtx, bk as renderSlot, aL as mergeProps, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-3b8d0bfc.js"; -import { C as Checkbox, u as useId } from "./Checkbox-71f5c4b5.js"; -import { T as TextInput } from "./TextInput-f8aeff24.js"; -import { S as Select } from "./Select-3d29cf81.js"; -import { T as Textarea } from "./Textarea-2f1c001e.js"; -import { A as Autocomplete } from "./Autocomplete-f413d8b8.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bY as useAttrs, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, aM as createTextVNode, aN as toDisplayString, aH as createCommentVNode, aC as createBlock, bZ as createSlots, aD as withCtx, bk as renderSlot, aL as mergeProps, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-D4tQXw0h.js"; +import { C as Checkbox, u as useId } from "./Checkbox-D_YjUOsx.js"; +import { T as TextInput } from "./TextInput-DNISJZg6.js"; +import { S as Select } from "./Select-C3fVHNH1.js"; +import { T as Textarea } from "./Textarea-D12aIG7A.js"; +import { A as Autocomplete } from "./Autocomplete-Dy3gPyuT.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const __default__ = { inheritAttrs: false }; diff --git a/assets/FormControl.story-0d7620bb.js b/assets/FormControl.story-BTGik7vN.js similarity index 93% rename from assets/FormControl.story-0d7620bb.js rename to assets/FormControl.story-BTGik7vN.js index a2523b70..f2e2ad7e 100644 --- a/assets/FormControl.story-0d7620bb.js +++ b/assets/FormControl.story-BTGik7vN.js @@ -1,16 +1,16 @@ -import { ay as defineComponent, aI as reactive, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { F as FormControl } from "./FormControl-ada8b7f2.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { A as Avatar } from "./Avatar-3a22144c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Checkbox-71f5c4b5.js"; -import "./TextInput-f8aeff24.js"; -import "./debounce-d11286cd.js"; -import "./Select-3d29cf81.js"; -import "./Textarea-2f1c001e.js"; -import "./Autocomplete-f413d8b8.js"; -import "./Popover-2741613b.js"; -import "./Button-f8ca7b7d.js"; +import { ay as defineComponent, aI as reactive, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { F as FormControl } from "./FormControl-BieJQuVF.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { A as Avatar } from "./Avatar-DIa5TA7o.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Checkbox-D_YjUOsx.js"; +import "./TextInput-DNISJZg6.js"; +import "./debounce-CRCtzhPg.js"; +import "./Select-C3fVHNH1.js"; +import "./Textarea-D12aIG7A.js"; +import "./Autocomplete-Dy3gPyuT.js"; +import "./Popover-DXQPMgPX.js"; +import "./Button-CeJ2Oqur.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "FormControl.story", setup(__props, { expose: __expose }) { diff --git a/assets/GenericMountStory.vue2-380be139.js b/assets/GenericMountStory.vue2-COcojfSX.js similarity index 72% rename from assets/GenericMountStory.vue2-380be139.js rename to assets/GenericMountStory.vue2-COcojfSX.js index 78bd7ffc..9b49c1a9 100644 --- a/assets/GenericMountStory.vue2-380be139.js +++ b/assets/GenericMountStory.vue2-COcojfSX.js @@ -1,4 +1,5 @@ -import { _ as __vitePreload, Y as Comp35, Z as defineAsyncComponent, $ as createRouter, y as histoireConfig, a0 as createWebHistory, a1 as createWebHashHistory, a2 as markRaw, K as reactive, d as defineComponent, r as ref, a3 as watchEffect, o as openBlock, q as createBlock, a4 as mergeProps, a5 as resolveDynamicComponent, h as createCommentVNode } from "./vendor-3b8d0bfc.js"; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Autocomplete.story-Cp6bkIGn.js","assets/vendor-D4tQXw0h.js","assets/Autocomplete-Dy3gPyuT.js","assets/Popover-DXQPMgPX.js","assets/_plugin-vue_export-helper-1tPrXgE0.js","assets/Button-CeJ2Oqur.js","assets/FeatherIcon-BDzageq3.js","assets/Avatar.story-BqwBx_qV.js","assets/Avatar-DIa5TA7o.js","assets/Badge.story-s7QK_Tt1.js","assets/Badge-CTqCBk9r.js","assets/Breadcrumbs.story-BNEqf67F.js","assets/Breadcrumbs-C50t6-En.js","assets/Dropdown-BczQWD8o.js","assets/Calendar.story-O5ECq2vB.js","assets/Calendar-3A6JD7pG.js","assets/TabButtons-DisK56Y9.js","assets/Dialog-ZcNZygUg.js","assets/FormControl-BieJQuVF.js","assets/Checkbox-D_YjUOsx.js","assets/TextInput-DNISJZg6.js","assets/debounce-CRCtzhPg.js","assets/Select-C3fVHNH1.js","assets/Textarea-D12aIG7A.js","assets/ErrorMessage-Bk7yVn0z.js","assets/Checkbox.story-D_pHfjso.js","assets/CircularProgressBar.story-MKbJpBoT.js","assets/CircularProgressBar-Cjp8a6YQ.js","assets/Dialog.story-CmkCNyzv.js","assets/Dropdown.story-CXdElnU_.js","assets/ErrorMessage.story-B0n8de6G.js","assets/FileUploader.story-CPbT0-Qp.js","assets/FileUploader-CO9bL3Wu.js","assets/FormControl.story-BTGik7vN.js","assets/ListView.story-BaIH8l7o.js","assets/ListRow-3IluqNTE.js","assets/DateRangePicker-D0hHZ8KV.js","assets/Progress-BhvMcWvn.js","assets/Rating-CO0rPS4Z.js","assets/Spinner-C5FLE1e3.js","assets/Switch-EhzXzG5y.js","assets/Tabs-DxBXZpL5.js","assets/TextEditor-P-R6n-W9.js","assets/Tooltip-DBXNRhEq.js","assets/Tree-ZlUWK-WP.js","assets/Popover.story-oK35_SwX.js","assets/Progress.story-BJ2i2Mxj.js","assets/Select.story-BBa0TnUc.js","assets/Spinner.story-CngdNela.js","assets/Switch.story-B-8I_zl2.js","assets/TabButtons.story-C_2f9pXE.js","assets/Tabs.story-BQasdpxX.js","assets/TextInput.story-BSOI6HNI.js","assets/Textarea.story-yUox3W_3.js","assets/Button.story-Be6YtTgm.js","assets/DatePicker.story-GVYmThXz.js","assets/Rating.story-Dz84bAwb.js","assets/TextEditor.story-CCu9ec25.js","assets/Tooltip.story-DSouLhoF.js","assets/Tree.story-CPcOor8H.js","assets/HomeView.vue-D8K-75aQ.js","assets/story-CDQMmp7E.js","assets/StoryView.vue-ClvKyT_R.js","assets/MobileOverlay.vue2-Dj9o_MUM.js","assets/BaseEmpty.vue-C2Xer74E.js","assets/state--_Qo4xi1.js","assets/events-D-ZUGuyO.js"])))=>i.map(i=>d[i]); +import { _ as __vitePreload, Y as Comp35, Z as defineAsyncComponent, $ as createRouter, y as histoireConfig, a0 as createWebHistory, a1 as createWebHashHistory, a2 as markRaw, K as reactive, d as defineComponent, r as ref, a3 as watchEffect, o as openBlock, q as createBlock, a4 as mergeProps, a5 as resolveDynamicComponent, h as createCommentVNode } from "./vendor-D4tQXw0h.js"; const Comp28 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }; const Comp29 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }; const Comp30 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }; @@ -6,71 +7,71 @@ const Comp31 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": const Comp32 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }; const Comp33 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }; const Comp34 = { "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }; -const Comp0 = defineAsyncComponent(() => __vitePreload(() => import("./Autocomplete.story-6dcc923a.js"), true ? ["assets/Autocomplete.story-6dcc923a.js","assets/vendor-3b8d0bfc.js","assets/Autocomplete-f413d8b8.js","assets/Popover-2741613b.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp1 = defineAsyncComponent(() => __vitePreload(() => import("./Avatar.story-6a2ee77d.js"), true ? ["assets/Avatar.story-6a2ee77d.js","assets/vendor-3b8d0bfc.js","assets/Avatar-3a22144c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp2 = defineAsyncComponent(() => __vitePreload(() => import("./Badge.story-071458ce.js"), true ? ["assets/Badge.story-071458ce.js","assets/vendor-3b8d0bfc.js","assets/Badge-17025005.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp3 = defineAsyncComponent(() => __vitePreload(() => import("./Breadcrumbs.story-6ae09537.js"), true ? ["assets/Breadcrumbs.story-6ae09537.js","assets/vendor-3b8d0bfc.js","assets/Breadcrumbs-d74d80a2.js","assets/Dropdown-ec4939d7.js","assets/Popover-2741613b.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp4 = defineAsyncComponent(() => __vitePreload(() => import("./Calendar.story-1267fd2d.js"), true ? ["assets/Calendar.story-1267fd2d.js","assets/vendor-3b8d0bfc.js","assets/Calendar-4afba67f.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/TabButtons-70dba38d.js","assets/Dialog-d377ea2d.js","assets/FormControl-ada8b7f2.js","assets/Checkbox-71f5c4b5.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js","assets/Select-3d29cf81.js","assets/Textarea-2f1c001e.js","assets/Autocomplete-f413d8b8.js","assets/Popover-2741613b.js","assets/ErrorMessage-fdb57532.js"] : void 0)); -const Comp5 = defineAsyncComponent(() => __vitePreload(() => import("./Checkbox.story-87fd3654.js"), true ? ["assets/Checkbox.story-87fd3654.js","assets/vendor-3b8d0bfc.js","assets/Checkbox-71f5c4b5.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp6 = defineAsyncComponent(() => __vitePreload(() => import("./CircularProgressBar.story-635fc3e7.js"), true ? ["assets/CircularProgressBar.story-635fc3e7.js","assets/CircularProgressBar-4bd9a733.js","assets/vendor-3b8d0bfc.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp7 = defineAsyncComponent(() => __vitePreload(() => import("./Dialog.story-c6a3e2bd.js"), true ? ["assets/Dialog.story-c6a3e2bd.js","assets/vendor-3b8d0bfc.js","assets/Dialog-d377ea2d.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp8 = defineAsyncComponent(() => __vitePreload(() => import("./Dropdown.story-02efa290.js"), true ? ["assets/Dropdown.story-02efa290.js","assets/vendor-3b8d0bfc.js","assets/Dropdown-ec4939d7.js","assets/Popover-2741613b.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp9 = defineAsyncComponent(() => __vitePreload(() => import("./ErrorMessage.story-67c66ee3.js"), true ? ["assets/ErrorMessage.story-67c66ee3.js","assets/vendor-3b8d0bfc.js","assets/ErrorMessage-fdb57532.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp10 = defineAsyncComponent(() => __vitePreload(() => import("./FileUploader.story-e9e8225b.js"), true ? ["assets/FileUploader.story-e9e8225b.js","assets/vendor-3b8d0bfc.js","assets/FileUploader-fb8fc169.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp11 = defineAsyncComponent(() => __vitePreload(() => import("./FormControl.story-0d7620bb.js"), true ? ["assets/FormControl.story-0d7620bb.js","assets/vendor-3b8d0bfc.js","assets/FormControl-ada8b7f2.js","assets/Checkbox-71f5c4b5.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js","assets/Select-3d29cf81.js","assets/Textarea-2f1c001e.js","assets/Autocomplete-f413d8b8.js","assets/Popover-2741613b.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/Avatar-3a22144c.js"] : void 0)); -const Comp12 = defineAsyncComponent(() => __vitePreload(() => import("./ListView.story-9548027f.js"), true ? ["assets/ListView.story-9548027f.js","assets/vendor-3b8d0bfc.js","assets/Avatar-3a22144c.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Badge-17025005.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/ListRow-3143822c.js","assets/Checkbox-71f5c4b5.js","assets/Autocomplete-f413d8b8.js","assets/Popover-2741613b.js","assets/Breadcrumbs-d74d80a2.js","assets/Dropdown-ec4939d7.js","assets/DateRangePicker-1b600c7c.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js","assets/Dialog-d377ea2d.js","assets/ErrorMessage-fdb57532.js","assets/FileUploader-fb8fc169.js","assets/FormControl-ada8b7f2.js","assets/Select-3d29cf81.js","assets/Textarea-2f1c001e.js","assets/Progress-34f0c455.js","assets/Rating-917c1dc8.js","assets/Spinner-88c1a215.js","assets/Switch-5737c75f.js","assets/TabButtons-70dba38d.js","assets/Tabs-9a591bab.js","assets/TextEditor-c37a329b.js","assets/Tooltip-66625621.js","assets/Calendar-4afba67f.js","assets/CircularProgressBar-4bd9a733.js","assets/Tree-28d2a2e5.js"] : void 0)); -const Comp13 = defineAsyncComponent(() => __vitePreload(() => import("./Popover.story-e02114b5.js"), true ? ["assets/Popover.story-e02114b5.js","assets/vendor-3b8d0bfc.js","assets/Popover-2741613b.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp14 = defineAsyncComponent(() => __vitePreload(() => import("./Progress.story-60c993a3.js"), true ? ["assets/Progress.story-60c993a3.js","assets/vendor-3b8d0bfc.js","assets/Progress-34f0c455.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp15 = defineAsyncComponent(() => __vitePreload(() => import("./Select.story-82098704.js"), true ? ["assets/Select.story-82098704.js","assets/vendor-3b8d0bfc.js","assets/Select-3d29cf81.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp16 = defineAsyncComponent(() => __vitePreload(() => import("./Spinner.story-fbe9ff5d.js"), true ? ["assets/Spinner.story-fbe9ff5d.js","assets/vendor-3b8d0bfc.js","assets/Spinner-88c1a215.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp17 = defineAsyncComponent(() => __vitePreload(() => import("./Switch.story-3f4f73a7.js"), true ? ["assets/Switch.story-3f4f73a7.js","assets/vendor-3b8d0bfc.js","assets/Switch-5737c75f.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp18 = defineAsyncComponent(() => __vitePreload(() => import("./TabButtons.story-a70a9328.js"), true ? ["assets/TabButtons.story-a70a9328.js","assets/vendor-3b8d0bfc.js","assets/TabButtons-70dba38d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp19 = defineAsyncComponent(() => __vitePreload(() => import("./Tabs.story-78172797.js"), true ? ["assets/Tabs.story-78172797.js","assets/vendor-3b8d0bfc.js","assets/Tabs-9a591bab.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp20 = defineAsyncComponent(() => __vitePreload(() => import("./TextInput.story-bfae771c.js"), true ? ["assets/TextInput.story-bfae771c.js","assets/vendor-3b8d0bfc.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/FeatherIcon-dfb91a0c.js","assets/Avatar-3a22144c.js"] : void 0)); -const Comp21 = defineAsyncComponent(() => __vitePreload(() => import("./Textarea.story-e2109eb4.js"), true ? ["assets/Textarea.story-e2109eb4.js","assets/vendor-3b8d0bfc.js","assets/Textarea-2f1c001e.js","assets/debounce-d11286cd.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp22 = defineAsyncComponent(() => __vitePreload(() => import("./Button.story-df4c5302.js"), true ? ["assets/Button.story-df4c5302.js","assets/vendor-3b8d0bfc.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp23 = defineAsyncComponent(() => __vitePreload(() => import("./DatePicker.story-95b44535.js"), true ? ["assets/DatePicker.story-95b44535.js","assets/vendor-3b8d0bfc.js","assets/DateRangePicker-1b600c7c.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Popover-2741613b.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js"] : void 0)); -const Comp24 = defineAsyncComponent(() => __vitePreload(() => import("./Rating.story-03415731.js"), true ? ["assets/Rating.story-03415731.js","assets/vendor-3b8d0bfc.js","assets/Rating-917c1dc8.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); -const Comp25 = defineAsyncComponent(() => __vitePreload(() => import("./TextEditor.story-02eef4f2.js"), true ? ["assets/TextEditor.story-02eef4f2.js","assets/vendor-3b8d0bfc.js","assets/TextEditor-c37a329b.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Popover-2741613b.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp26 = defineAsyncComponent(() => __vitePreload(() => import("./Tooltip.story-b4cb3ec6.js"), true ? ["assets/Tooltip.story-b4cb3ec6.js","assets/vendor-3b8d0bfc.js","assets/Tooltip-66625621.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js"] : void 0)); -const Comp27 = defineAsyncComponent(() => __vitePreload(() => import("./Tree.story-83745fe0.js"), true ? ["assets/Tree.story-83745fe0.js","assets/vendor-3b8d0bfc.js","assets/Tree-28d2a2e5.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js"] : void 0)); +const Comp0 = defineAsyncComponent(() => __vitePreload(() => import("./Autocomplete.story-Cp6bkIGn.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6]) : void 0)); +const Comp1 = defineAsyncComponent(() => __vitePreload(() => import("./Avatar.story-BqwBx_qV.js"), true ? __vite__mapDeps([7,1,8,4]) : void 0)); +const Comp2 = defineAsyncComponent(() => __vitePreload(() => import("./Badge.story-s7QK_Tt1.js"), true ? __vite__mapDeps([9,1,10,4]) : void 0)); +const Comp3 = defineAsyncComponent(() => __vitePreload(() => import("./Breadcrumbs.story-BNEqf67F.js"), true ? __vite__mapDeps([11,1,12,13,3,4,5,6]) : void 0)); +const Comp4 = defineAsyncComponent(() => __vitePreload(() => import("./Calendar.story-O5ECq2vB.js"), true ? __vite__mapDeps([14,1,15,5,6,4,16,17,18,19,20,21,22,23,2,3,24]) : void 0)); +const Comp5 = defineAsyncComponent(() => __vitePreload(() => import("./Checkbox.story-D_pHfjso.js"), true ? __vite__mapDeps([25,1,19,4]) : void 0)); +const Comp6 = defineAsyncComponent(() => __vitePreload(() => import("./CircularProgressBar.story-MKbJpBoT.js"), true ? __vite__mapDeps([26,27,1,6,4]) : void 0)); +const Comp7 = defineAsyncComponent(() => __vitePreload(() => import("./Dialog.story-CmkCNyzv.js"), true ? __vite__mapDeps([28,1,17,5,6,4]) : void 0)); +const Comp8 = defineAsyncComponent(() => __vitePreload(() => import("./Dropdown.story-CXdElnU_.js"), true ? __vite__mapDeps([29,1,13,3,4,5,6]) : void 0)); +const Comp9 = defineAsyncComponent(() => __vitePreload(() => import("./ErrorMessage.story-B0n8de6G.js"), true ? __vite__mapDeps([30,1,24,4]) : void 0)); +const Comp10 = defineAsyncComponent(() => __vitePreload(() => import("./FileUploader.story-CPbT0-Qp.js"), true ? __vite__mapDeps([31,1,32,4,5,6]) : void 0)); +const Comp11 = defineAsyncComponent(() => __vitePreload(() => import("./FormControl.story-BTGik7vN.js"), true ? __vite__mapDeps([33,1,18,19,4,20,21,22,23,2,3,5,6,8]) : void 0)); +const Comp12 = defineAsyncComponent(() => __vitePreload(() => import("./ListView.story-BaIH8l7o.js"), true ? __vite__mapDeps([34,1,8,4,10,5,6,35,19,2,3,12,13,36,20,21,17,24,32,18,22,23,37,38,39,40,16,41,42,43,15,27,44]) : void 0)); +const Comp13 = defineAsyncComponent(() => __vitePreload(() => import("./Popover.story-oK35_SwX.js"), true ? __vite__mapDeps([45,1,3,4,5,6]) : void 0)); +const Comp14 = defineAsyncComponent(() => __vitePreload(() => import("./Progress.story-BJ2i2Mxj.js"), true ? __vite__mapDeps([46,1,37,4]) : void 0)); +const Comp15 = defineAsyncComponent(() => __vitePreload(() => import("./Select.story-BBa0TnUc.js"), true ? __vite__mapDeps([47,1,22,4]) : void 0)); +const Comp16 = defineAsyncComponent(() => __vitePreload(() => import("./Spinner.story-CngdNela.js"), true ? __vite__mapDeps([48,1,39,4]) : void 0)); +const Comp17 = defineAsyncComponent(() => __vitePreload(() => import("./Switch.story-B-8I_zl2.js"), true ? __vite__mapDeps([49,1,40,4]) : void 0)); +const Comp18 = defineAsyncComponent(() => __vitePreload(() => import("./TabButtons.story-C_2f9pXE.js"), true ? __vite__mapDeps([50,1,16,6,4]) : void 0)); +const Comp19 = defineAsyncComponent(() => __vitePreload(() => import("./Tabs.story-BQasdpxX.js"), true ? __vite__mapDeps([51,1,41,4,6]) : void 0)); +const Comp20 = defineAsyncComponent(() => __vitePreload(() => import("./TextInput.story-BSOI6HNI.js"), true ? __vite__mapDeps([52,1,20,21,4,6,8]) : void 0)); +const Comp21 = defineAsyncComponent(() => __vitePreload(() => import("./Textarea.story-yUox3W_3.js"), true ? __vite__mapDeps([53,1,23,21,4]) : void 0)); +const Comp22 = defineAsyncComponent(() => __vitePreload(() => import("./Button.story-Be6YtTgm.js"), true ? __vite__mapDeps([54,1,5,6,4]) : void 0)); +const Comp23 = defineAsyncComponent(() => __vitePreload(() => import("./DatePicker.story-GVYmThXz.js"), true ? __vite__mapDeps([55,1,36,5,6,4,3,20,21]) : void 0)); +const Comp24 = defineAsyncComponent(() => __vitePreload(() => import("./Rating.story-Dz84bAwb.js"), true ? __vite__mapDeps([56,1,38,6,4]) : void 0)); +const Comp25 = defineAsyncComponent(() => __vitePreload(() => import("./TextEditor.story-CCu9ec25.js"), true ? __vite__mapDeps([57,1,42,4,3,5,6]) : void 0)); +const Comp26 = defineAsyncComponent(() => __vitePreload(() => import("./Tooltip.story-DSouLhoF.js"), true ? __vite__mapDeps([58,1,43,4,5,6]) : void 0)); +const Comp27 = defineAsyncComponent(() => __vitePreload(() => import("./Tree.story-CPcOor8H.js"), true ? __vite__mapDeps([59,1,44,6,4]) : void 0)); let files = [ - { "id": "src-components-autocomplete-story-vue", "path": ["Autocomplete"], "filePath": "src/components/Autocomplete.story.vue", "story": { "id": "src-components-autocomplete-story-vue", "title": "Autocomplete", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-autocomplete-story-vue-0", "title": "Single option" }, { "id": "src-components-autocomplete-story-vue-1", "title": "Single option with prefix slots" }, { "id": "src-components-autocomplete-story-vue-2", "title": "Single option without search" }, { "id": "src-components-autocomplete-story-vue-3", "title": "Multiple options" }, { "id": "src-components-autocomplete-story-vue-4", "title": "Multiple options without search" }] }, "supportPluginId": "vue3", "index": 0, component: Comp0, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-autocomplete-story-vue-3433d77d.js"), true ? [] : void 0) }, - { "id": "src-components-avatar-story-vue", "path": ["Avatar"], "filePath": "src/components/Avatar.story.vue", "story": { "id": "src-components-avatar-story-vue", "title": "Avatar", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-avatar-story-vue-0", "title": "circle" }, { "id": "src-components-avatar-story-vue-1", "title": "square" }, { "id": "src-components-avatar-story-vue-2", "title": "circle" }, { "id": "src-components-avatar-story-vue-3", "title": "square" }] }, "supportPluginId": "vue3", "index": 1, component: Comp1, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-avatar-story-vue-7825d838.js"), true ? [] : void 0) }, - { "id": "src-components-badge-story-vue", "path": ["Badge"], "filePath": "src/components/Badge.story.vue", "story": { "id": "src-components-badge-story-vue", "title": "Badge", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-badge-story-vue-0", "title": "solid" }, { "id": "src-components-badge-story-vue-1", "title": "subtle" }, { "id": "src-components-badge-story-vue-2", "title": "outline" }, { "id": "src-components-badge-story-vue-3", "title": "ghost" }] }, "supportPluginId": "vue3", "index": 2, component: Comp2, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-badge-story-vue-bb2304fa.js"), true ? [] : void 0) }, - { "id": "src-components-breadcrumbs-story-vue", "path": ["Breadcrumbs"], "filePath": "src/components/Breadcrumbs.story.vue", "story": { "id": "src-components-breadcrumbs-story-vue", "title": "Breadcrumbs", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-breadcrumbs-story-vue-0", "title": "With route option" }, { "id": "src-components-breadcrumbs-story-vue-1", "title": "With onClick option" }, { "id": "src-components-breadcrumbs-story-vue-2", "title": "With prefix slot" }] }, "supportPluginId": "vue3", "index": 3, component: Comp3, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-breadcrumbs-story-vue-666d86cd.js"), true ? [] : void 0) }, - { "id": "src-components-calendar-story-vue", "path": ["Calendar"], "filePath": "src/components/Calendar.story.vue", "story": { "id": "src-components-calendar-story-vue", "title": "Calendar", "layout": { "type": "grid", "width": "100%" }, "docsOnly": false, "variants": [{ "id": "src-components-calendar-story-vue-0", "title": "default" }, { "id": "src-components-calendar-story-vue-1", "title": "custom-header" }, { "id": "src-components-calendar-story-vue-2", "title": "custom-click-events" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/Calendar.story.md", "index": 4, component: Comp4, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-calendar-story-vue-c30f380d.js"), true ? [] : void 0) }, - { "id": "src-components-checkbox-story-vue", "path": ["Checkbox"], "filePath": "src/components/Checkbox.story.vue", "story": { "id": "src-components-checkbox-story-vue", "title": "Checkbox", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "_default", "title": "default" }] }, "supportPluginId": "vue3", "index": 5, component: Comp5, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-checkbox-story-vue-a4d17055.js"), true ? [] : void 0) }, - { "id": "src-components-circularprogressbar-story-vue", "path": ["CircularProgressBar"], "filePath": "src/components/CircularProgressBar.story.vue", "story": { "id": "src-components-circularprogressbar-story-vue", "title": "CircularProgressBar", "layout": { "type": "grid", "width": 500, "heigt": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-circularprogressbar-story-vue-0", "title": "Default" }, { "id": "src-components-circularprogressbar-story-vue-1", "title": "Size" }, { "id": "src-components-circularprogressbar-story-vue-2", "title": "Theme" }, { "id": "src-components-circularprogressbar-story-vue-3", "title": "Custom Theme" }, { "id": "src-components-circularprogressbar-story-vue-4", "title": "Solid Variant" }, { "id": "src-components-circularprogressbar-story-vue-5", "title": "Outline Variant" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/CircularProgressBar.story.md", "index": 6, component: Comp6, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-circularprogressbar-story-vue-9edf276b.js"), true ? [] : void 0) }, - { "id": "src-components-dialog-story-vue", "path": ["Dialog"], "filePath": "src/components/Dialog.story.vue", "story": { "id": "src-components-dialog-story-vue", "title": "Dialog", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-dialog-story-vue-0", "title": "With options" }, { "id": "src-components-dialog-story-vue-1", "title": "With slots" }] }, "supportPluginId": "vue3", "index": 7, component: Comp7, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-dialog-story-vue-e1d0a172.js"), true ? [] : void 0) }, - { "id": "src-components-dropdown-story-vue", "path": ["Dropdown"], "filePath": "src/components/Dropdown.story.vue", "story": { "id": "src-components-dropdown-story-vue", "title": "Dropdown", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-dropdown-story-vue-0", "title": "Basic" }, { "id": "src-components-dropdown-story-vue-1", "title": "Button prop" }, { "id": "src-components-dropdown-story-vue-2", "title": "Custom Button and Groups" }] }, "supportPluginId": "vue3", "index": 8, component: Comp8, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-dropdown-story-vue-ba458b55.js"), true ? [] : void 0) }, - { "id": "src-components-errormessage-story-vue", "path": ["ErrorMessage"], "filePath": "src/components/ErrorMessage.story.vue", "story": { "id": "src-components-errormessage-story-vue", "title": "ErrorMessage", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-errormessage-story-vue-0", "title": "String message" }, { "id": "src-components-errormessage-story-vue-1", "title": "Error object" }, { "id": "src-components-errormessage-story-vue-2", "title": "Falsy value" }] }, "supportPluginId": "vue3", "index": 9, component: Comp9, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-errormessage-story-vue-28ffc30f.js"), true ? [] : void 0) }, - { "id": "src-components-fileuploader-story-vue", "path": ["FileUploader"], "filePath": "src/components/FileUploader.story.vue", "story": { "id": "src-components-fileuploader-story-vue", "title": "FileUploader", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "_default", "title": "default" }] }, "supportPluginId": "vue3", "index": 10, component: Comp10, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-fileuploader-story-vue-45827ce7.js"), true ? [] : void 0) }, - { "id": "src-components-formcontrol-story-vue", "path": ["FormControl"], "filePath": "src/components/FormControl.story.vue", "story": { "id": "src-components-formcontrol-story-vue", "title": "FormControl", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-formcontrol-story-vue-0", "title": "text" }, { "id": "src-components-formcontrol-story-vue-1", "title": "number" }, { "id": "src-components-formcontrol-story-vue-2", "title": "email" }, { "id": "src-components-formcontrol-story-vue-3", "title": "date" }, { "id": "src-components-formcontrol-story-vue-4", "title": "password" }, { "id": "src-components-formcontrol-story-vue-5", "title": "search" }, { "id": "src-components-formcontrol-story-vue-6", "title": "textarea" }, { "id": "src-components-formcontrol-story-vue-7", "title": "select" }, { "id": "src-components-formcontrol-story-vue-8", "title": "autocomplete" }, { "id": "src-components-formcontrol-story-vue-9", "title": "checkbox" }, { "id": "src-components-formcontrol-story-vue-10", "title": "prefix slot icon" }, { "id": "src-components-formcontrol-story-vue-11", "title": "suffix slot icon" }, { "id": "src-components-formcontrol-story-vue-12", "title": "prefix slot avatar" }] }, "supportPluginId": "vue3", "index": 11, component: Comp11, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-formcontrol-story-vue-688187dc.js"), true ? [] : void 0) }, - { "id": "src-components-listview-story-vue", "path": ["ListView"], "filePath": "src/components/ListView.story.vue", "story": { "id": "src-components-listview-story-vue", "title": "ListView", "layout": { "type": "grid", "width": "95%" }, "docsOnly": false, "variants": [{ "id": "src-components-listview-story-vue-0", "title": "Simple List" }, { "id": "src-components-listview-story-vue-1", "title": "Custom List" }, { "id": "src-components-listview-story-vue-2", "title": "Grouped Rows" }, { "id": "src-components-listview-story-vue-3", "title": "Cell Slot" }, { "id": "src-components-listview-story-vue-4", "title": "Empty List" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/ListView.story.md", "index": 12, component: Comp12, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-listview-story-vue-7b4f60b4.js"), true ? [] : void 0) }, - { "id": "src-components-popover-story-vue", "path": ["Popover"], "filePath": "src/components/Popover.story.vue", "story": { "id": "src-components-popover-story-vue", "title": "Popover", "layout": { "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-popover-story-vue-0", "title": "trigger: click" }, { "id": "src-components-popover-story-vue-1", "title": "trigger: hover" }] }, "supportPluginId": "vue3", "index": 13, component: Comp13, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-popover-story-vue-398af600.js"), true ? [] : void 0) }, - { "id": "src-components-progress-story-vue", "path": ["Progress"], "filePath": "src/components/Progress.story.vue", "story": { "id": "src-components-progress-story-vue", "title": "Progress", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-progress-story-vue-0", "title": "Label" }, { "id": "src-components-progress-story-vue-1", "title": "Hint" }, { "id": "src-components-progress-story-vue-2", "title": "Intervals" }] }, "supportPluginId": "vue3", "index": 14, component: Comp14, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-progress-story-vue-0ee2e2e4.js"), true ? [] : void 0) }, - { "id": "src-components-select-story-vue", "path": ["Select"], "filePath": "src/components/Select.story.vue", "story": { "id": "src-components-select-story-vue", "title": "Select", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "_default", "title": "default" }] }, "supportPluginId": "vue3", "index": 15, component: Comp15, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-select-story-vue-5fb60ae2.js"), true ? [] : void 0) }, - { "id": "src-components-spinner-story-vue", "path": ["Spinner"], "filePath": "src/components/Spinner.story.vue", "story": { "id": "src-components-spinner-story-vue", "title": "Spinner", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-spinner-story-vue-0", "title": "class='w-4'" }, { "id": "src-components-spinner-story-vue-1", "title": "class='w-8'" }] }, "supportPluginId": "vue3", "index": 16, component: Comp16, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-spinner-story-vue-0949342d.js"), true ? [] : void 0) }, - { "id": "src-components-switch-story-vue", "path": ["Switch"], "filePath": "src/components/Switch.story.vue", "story": { "id": "src-components-switch-story-vue", "title": "Switch", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-switch-story-vue-0", "title": "Label" }, { "id": "src-components-switch-story-vue-1", "title": "Label and Description" }] }, "supportPluginId": "vue3", "index": 17, component: Comp17, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-switch-story-vue-6bae4ff4.js"), true ? [] : void 0) }, - { "id": "src-components-tabbuttons-story-vue", "path": ["TabButtons"], "filePath": "src/components/TabButtons.story.vue", "story": { "id": "src-components-tabbuttons-story-vue", "title": "TabButtons", "layout": { "type": "grid", "width": "80%" }, "docsOnly": false, "variants": [{ "id": "src-components-tabbuttons-story-vue-0", "title": "Tab Buttons" }] }, "supportPluginId": "vue3", "index": 18, component: Comp18, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tabbuttons-story-vue-31379b5c.js"), true ? [] : void 0) }, - { "id": "src-components-tabs-story-vue", "path": ["Tabs"], "filePath": "src/components/Tabs.story.vue", "story": { "id": "src-components-tabs-story-vue", "title": "Tabs", "layout": { "type": "grid", "width": "80%" }, "docsOnly": false, "variants": [{ "id": "src-components-tabs-story-vue-0", "title": "Without Icon" }, { "id": "src-components-tabs-story-vue-1", "title": "With Icon" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/Tabs.story.md", "index": 19, component: Comp19, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tabs-story-vue-38ada55e.js"), true ? [] : void 0) }, - { "id": "src-components-textinput-story-vue", "path": ["TextInput"], "filePath": "src/components/TextInput.story.vue", "story": { "id": "src-components-textinput-story-vue", "title": "TextInput", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-textinput-story-vue-0", "title": "text" }, { "id": "src-components-textinput-story-vue-1", "title": "number" }, { "id": "src-components-textinput-story-vue-2", "title": "email" }, { "id": "src-components-textinput-story-vue-3", "title": "date" }, { "id": "src-components-textinput-story-vue-4", "title": "datetime-local" }, { "id": "src-components-textinput-story-vue-5", "title": "password" }, { "id": "src-components-textinput-story-vue-6", "title": "search" }, { "id": "src-components-textinput-story-vue-7", "title": "tel" }, { "id": "src-components-textinput-story-vue-8", "title": "time" }, { "id": "src-components-textinput-story-vue-9", "title": "url" }, { "id": "src-components-textinput-story-vue-10", "title": "prefix slot icon" }, { "id": "src-components-textinput-story-vue-11", "title": "suffix slot icon" }, { "id": "src-components-textinput-story-vue-12", "title": "prefix slot avatar" }] }, "supportPluginId": "vue3", "index": 20, component: Comp20, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-textinput-story-vue-d761e828.js"), true ? [] : void 0) }, - { "id": "src-components-textarea-story-vue", "path": ["Textarea"], "filePath": "src/components/Textarea.story.vue", "story": { "id": "src-components-textarea-story-vue", "title": "Textarea", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-textarea-story-vue-0", "title": "subtle variant" }, { "id": "src-components-textarea-story-vue-1", "title": "outline variant" }] }, "supportPluginId": "vue3", "index": 21, component: Comp21, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-textarea-story-vue-df8f6c5a.js"), true ? [] : void 0) }, - { "id": "src-components-button-button-story-vue", "path": ["Button"], "filePath": "src/components/Button/Button.story.vue", "story": { "id": "src-components-button-button-story-vue", "title": "Button", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-button-button-story-vue-0", "title": "solid" }, { "id": "src-components-button-button-story-vue-1", "title": "subtle" }, { "id": "src-components-button-button-story-vue-2", "title": "outline" }, { "id": "src-components-button-button-story-vue-3", "title": "ghost" }] }, "supportPluginId": "vue3", "index": 22, component: Comp22, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-button-button-story-vue-b4e72307.js"), true ? [] : void 0) }, - { "id": "src-components-datepicker-datepicker-story-vue", "path": ["DatePicker"], "filePath": "src/components/DatePicker/DatePicker.story.vue", "story": { "id": "src-components-datepicker-datepicker-story-vue", "title": "DatePicker", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-datepicker-datepicker-story-vue-0", "title": "Date" }, { "id": "src-components-datepicker-datepicker-story-vue-1", "title": "Date Time" }, { "id": "src-components-datepicker-datepicker-story-vue-2", "title": "Date Range" }] }, "supportPluginId": "vue3", "index": 23, component: Comp23, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-datepicker-datepicker-story-vue-c07695b4.js"), true ? [] : void 0) }, - { "id": "src-components-rating-rating-story-vue", "path": ["Rating"], "filePath": "src/components/Rating/Rating.story.vue", "story": { "id": "src-components-rating-rating-story-vue", "title": "Rating", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-rating-rating-story-vue-0", "title": "default" }] }, "supportPluginId": "vue3", "index": 24, component: Comp24, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-rating-rating-story-vue-532ee479.js"), true ? [] : void 0) }, - { "id": "src-components-texteditor-texteditor-story-vue", "path": ["TextEditor"], "filePath": "src/components/TextEditor/TextEditor.story.vue", "story": { "id": "src-components-texteditor-texteditor-story-vue", "title": "TextEditor", "layout": { "width": 600, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-texteditor-texteditor-story-vue-0", "title": "Basic" }, { "id": "src-components-texteditor-texteditor-story-vue-1", "title": "Comment Editor" }] }, "supportPluginId": "vue3", "index": 25, component: Comp25, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-texteditor-texteditor-story-vue-4f4886ec.js"), true ? [] : void 0) }, - { "id": "src-components-tooltip-tooltip-story-vue", "path": ["Tooltip"], "filePath": "src/components/Tooltip/Tooltip.story.vue", "story": { "id": "src-components-tooltip-tooltip-story-vue", "title": "Tooltip", "layout": { "type": "grid", "width": "300px" }, "docsOnly": false, "variants": [{ "id": "src-components-tooltip-tooltip-story-vue-0", "title": "with text prop" }, { "id": "src-components-tooltip-tooltip-story-vue-1", "title": "disabled" }, { "id": "src-components-tooltip-tooltip-story-vue-2", "title": "with slot" }] }, "supportPluginId": "vue3", "index": 26, component: Comp26, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tooltip-tooltip-story-vue-737b6f17.js"), true ? [] : void 0) }, - { "id": "src-components-tree-tree-story-vue", "path": ["Tree"], "filePath": "src/components/Tree/Tree.story.vue", "story": { "id": "src-components-tree-tree-story-vue", "title": "Tree", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-tree-tree-story-vue-0", "title": "default" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/Tree/Tree.story.md", "index": 27, component: Comp27, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tree-tree-story-vue-ccc66e32.js"), true ? [] : void 0) }, - { "id": "docs-getting-started-story-js", "path": ["Getting Started"], "filePath": "docs/Getting Started.story.js", "story": { "id": "docs-getting-started-story-js", "title": "Getting Started", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/Getting Started.story.md", "index": 28, component: Comp28, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-getting-started-story-js-45d4106b.js"), true ? [] : void 0) }, - { "id": "docs-introduction-story-js", "path": ["Introduction"], "filePath": "docs/Introduction.story.js", "story": { "id": "docs-introduction-story-js", "title": "Introduction", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/Introduction.story.md", "index": 29, component: Comp29, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-introduction-story-js-d8af5981.js"), true ? [] : void 0) }, - { "id": "docs-other-directives-story-js", "path": ["Directives"], "filePath": "docs/other/Directives.story.js", "story": { "id": "docs-other-directives-story-js", "title": "Directives", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/other/Directives.story.md", "index": 30, component: Comp30, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-other-directives-story-js-6fe464b7.js"), true ? [] : void 0) }, - { "id": "docs-other-utilities-story-js", "path": ["Utilities"], "filePath": "docs/other/Utilities.story.js", "story": { "id": "docs-other-utilities-story-js", "title": "Utilities", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/other/Utilities.story.md", "index": 31, component: Comp31, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-other-utilities-story-js-7a98133a.js"), true ? [] : void 0) }, - { "id": "docs-resources-document-resource-story-js", "path": ["Document Resource"], "filePath": "docs/resources/Document Resource.story.js", "story": { "id": "docs-resources-document-resource-story-js", "title": "Document Resource", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/resources/Document Resource.story.md", "index": 32, component: Comp32, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-resources-document-resource-story-js-91970731.js"), true ? [] : void 0) }, - { "id": "docs-resources-list-resource-story-js", "path": ["List Resource"], "filePath": "docs/resources/List Resource.story.js", "story": { "id": "docs-resources-list-resource-story-js", "title": "List Resource", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/resources/List Resource.story.md", "index": 33, component: Comp33, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-resources-list-resource-story-js-d66d2c98.js"), true ? [] : void 0) }, - { "id": "docs-resources-resource-story-js", "path": ["Resource"], "filePath": "docs/resources/Resource.story.js", "story": { "id": "docs-resources-resource-story-js", "title": "Resource", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/resources/Resource.story.md", "index": 34, component: Comp34, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-resources-resource-story-js-04920ca4.js"), true ? [] : void 0) }, - { "id": "tailwind", "path": ["Tailwind"], "filePath": "/home/runner/work/frappe-ui/frappe-ui/node_modules/.histoire/plugins/builtin_tailwind-tokens/Tailwind.story.js", "story": { "id": "tailwind", "title": "Tailwind", "group": "design-system", "layout": { "type": "single", "iframe": false }, "icon": "mdi:tailwind", "docsOnly": false, "variants": [{ "id": "background-color", "title": "Background Color", "icon": "carbon:color-palette" }, { "id": "text-color", "title": "Text Color", "icon": "carbon:text-color" }, { "id": "border-color", "title": "Border Color", "icon": "carbon:color-palette" }, { "id": "padding", "title": "Padding", "icon": "carbon:area" }, { "id": "margin", "title": "Margin", "icon": "carbon:area" }, { "id": "font-size", "title": "Font Size", "icon": "carbon:text-font" }, { "id": "font-weight", "title": "Font Weight", "icon": "carbon:text-font" }, { "id": "font-family", "title": "Font Family", "icon": "carbon:text-font" }, { "id": "letter-spacing", "title": "Letter Spacing", "icon": "carbon:text-font" }, { "id": "line-height", "title": "Line Height", "icon": "carbon:text-font" }, { "id": "drop-shadow", "title": "Drop Shadow", "icon": "carbon:shape-except" }, { "id": "border-radius", "title": "Border Radius", "icon": "carbon:condition-wait-point" }, { "id": "border-width", "title": "Border Width", "icon": "carbon:checkbox" }, { "id": "width", "title": "Width", "icon": "carbon:pan-horizontal" }, { "id": "height", "title": "Height", "icon": "carbon:pan-vertical" }, { "id": "full-config", "title": "Full Config", "icon": "carbon:code" }] }, "supportPluginId": "vanilla", "index": 35, component: Comp35, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_tailwind-e6e4cb87.js"), true ? [] : void 0) } + { "id": "src-components-autocomplete-story-vue", "path": ["Autocomplete"], "filePath": "src/components/Autocomplete.story.vue", "story": { "id": "src-components-autocomplete-story-vue", "title": "Autocomplete", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-autocomplete-story-vue-0", "title": "Single option" }, { "id": "src-components-autocomplete-story-vue-1", "title": "Single option with prefix slots" }, { "id": "src-components-autocomplete-story-vue-2", "title": "Single option without search" }, { "id": "src-components-autocomplete-story-vue-3", "title": "Multiple options" }, { "id": "src-components-autocomplete-story-vue-4", "title": "Multiple options without search" }] }, "supportPluginId": "vue3", "index": 0, component: Comp0, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-autocomplete-story-vue-BjDSW6KV.js"), true ? [] : void 0) }, + { "id": "src-components-avatar-story-vue", "path": ["Avatar"], "filePath": "src/components/Avatar.story.vue", "story": { "id": "src-components-avatar-story-vue", "title": "Avatar", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-avatar-story-vue-0", "title": "circle" }, { "id": "src-components-avatar-story-vue-1", "title": "square" }, { "id": "src-components-avatar-story-vue-2", "title": "circle" }, { "id": "src-components-avatar-story-vue-3", "title": "square" }] }, "supportPluginId": "vue3", "index": 1, component: Comp1, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-avatar-story-vue-BDeONkGe.js"), true ? [] : void 0) }, + { "id": "src-components-badge-story-vue", "path": ["Badge"], "filePath": "src/components/Badge.story.vue", "story": { "id": "src-components-badge-story-vue", "title": "Badge", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-badge-story-vue-0", "title": "solid" }, { "id": "src-components-badge-story-vue-1", "title": "subtle" }, { "id": "src-components-badge-story-vue-2", "title": "outline" }, { "id": "src-components-badge-story-vue-3", "title": "ghost" }] }, "supportPluginId": "vue3", "index": 2, component: Comp2, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-badge-story-vue-D7eHmVPC.js"), true ? [] : void 0) }, + { "id": "src-components-breadcrumbs-story-vue", "path": ["Breadcrumbs"], "filePath": "src/components/Breadcrumbs.story.vue", "story": { "id": "src-components-breadcrumbs-story-vue", "title": "Breadcrumbs", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-breadcrumbs-story-vue-0", "title": "With route option" }, { "id": "src-components-breadcrumbs-story-vue-1", "title": "With onClick option" }, { "id": "src-components-breadcrumbs-story-vue-2", "title": "With prefix slot" }] }, "supportPluginId": "vue3", "index": 3, component: Comp3, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-breadcrumbs-story-vue-Bow85ZSQ.js"), true ? [] : void 0) }, + { "id": "src-components-calendar-story-vue", "path": ["Calendar"], "filePath": "src/components/Calendar.story.vue", "story": { "id": "src-components-calendar-story-vue", "title": "Calendar", "layout": { "type": "grid", "width": "100%" }, "docsOnly": false, "variants": [{ "id": "src-components-calendar-story-vue-0", "title": "default" }, { "id": "src-components-calendar-story-vue-1", "title": "custom-header" }, { "id": "src-components-calendar-story-vue-2", "title": "custom-click-events" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/Calendar.story.md", "index": 4, component: Comp4, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-calendar-story-vue-D9_X8SjQ.js"), true ? [] : void 0) }, + { "id": "src-components-checkbox-story-vue", "path": ["Checkbox"], "filePath": "src/components/Checkbox.story.vue", "story": { "id": "src-components-checkbox-story-vue", "title": "Checkbox", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "_default", "title": "default" }] }, "supportPluginId": "vue3", "index": 5, component: Comp5, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-checkbox-story-vue-DPT5LKVd.js"), true ? [] : void 0) }, + { "id": "src-components-circularprogressbar-story-vue", "path": ["CircularProgressBar"], "filePath": "src/components/CircularProgressBar.story.vue", "story": { "id": "src-components-circularprogressbar-story-vue", "title": "CircularProgressBar", "layout": { "type": "grid", "width": 500, "heigt": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-circularprogressbar-story-vue-0", "title": "Default" }, { "id": "src-components-circularprogressbar-story-vue-1", "title": "Size" }, { "id": "src-components-circularprogressbar-story-vue-2", "title": "Theme" }, { "id": "src-components-circularprogressbar-story-vue-3", "title": "Custom Theme" }, { "id": "src-components-circularprogressbar-story-vue-4", "title": "Solid Variant" }, { "id": "src-components-circularprogressbar-story-vue-5", "title": "Outline Variant" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/CircularProgressBar.story.md", "index": 6, component: Comp6, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-circularprogressbar-story-vue-BQCXNCZq.js"), true ? [] : void 0) }, + { "id": "src-components-dialog-story-vue", "path": ["Dialog"], "filePath": "src/components/Dialog.story.vue", "story": { "id": "src-components-dialog-story-vue", "title": "Dialog", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-dialog-story-vue-0", "title": "With options" }, { "id": "src-components-dialog-story-vue-1", "title": "With slots" }] }, "supportPluginId": "vue3", "index": 7, component: Comp7, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-dialog-story-vue-BkHdelvE.js"), true ? [] : void 0) }, + { "id": "src-components-dropdown-story-vue", "path": ["Dropdown"], "filePath": "src/components/Dropdown.story.vue", "story": { "id": "src-components-dropdown-story-vue", "title": "Dropdown", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-dropdown-story-vue-0", "title": "Basic" }, { "id": "src-components-dropdown-story-vue-1", "title": "Button prop" }, { "id": "src-components-dropdown-story-vue-2", "title": "Custom Button and Groups" }] }, "supportPluginId": "vue3", "index": 8, component: Comp8, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-dropdown-story-vue-2KnorXO6.js"), true ? [] : void 0) }, + { "id": "src-components-errormessage-story-vue", "path": ["ErrorMessage"], "filePath": "src/components/ErrorMessage.story.vue", "story": { "id": "src-components-errormessage-story-vue", "title": "ErrorMessage", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-errormessage-story-vue-0", "title": "String message" }, { "id": "src-components-errormessage-story-vue-1", "title": "Error object" }, { "id": "src-components-errormessage-story-vue-2", "title": "Falsy value" }] }, "supportPluginId": "vue3", "index": 9, component: Comp9, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-errormessage-story-vue-D_Usjluw.js"), true ? [] : void 0) }, + { "id": "src-components-fileuploader-story-vue", "path": ["FileUploader"], "filePath": "src/components/FileUploader.story.vue", "story": { "id": "src-components-fileuploader-story-vue", "title": "FileUploader", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "_default", "title": "default" }] }, "supportPluginId": "vue3", "index": 10, component: Comp10, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-fileuploader-story-vue-CCTCpwwl.js"), true ? [] : void 0) }, + { "id": "src-components-formcontrol-story-vue", "path": ["FormControl"], "filePath": "src/components/FormControl.story.vue", "story": { "id": "src-components-formcontrol-story-vue", "title": "FormControl", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-formcontrol-story-vue-0", "title": "text" }, { "id": "src-components-formcontrol-story-vue-1", "title": "number" }, { "id": "src-components-formcontrol-story-vue-2", "title": "email" }, { "id": "src-components-formcontrol-story-vue-3", "title": "date" }, { "id": "src-components-formcontrol-story-vue-4", "title": "password" }, { "id": "src-components-formcontrol-story-vue-5", "title": "search" }, { "id": "src-components-formcontrol-story-vue-6", "title": "textarea" }, { "id": "src-components-formcontrol-story-vue-7", "title": "select" }, { "id": "src-components-formcontrol-story-vue-8", "title": "autocomplete" }, { "id": "src-components-formcontrol-story-vue-9", "title": "checkbox" }, { "id": "src-components-formcontrol-story-vue-10", "title": "prefix slot icon" }, { "id": "src-components-formcontrol-story-vue-11", "title": "suffix slot icon" }, { "id": "src-components-formcontrol-story-vue-12", "title": "prefix slot avatar" }] }, "supportPluginId": "vue3", "index": 11, component: Comp11, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-formcontrol-story-vue-B_Ahqw8V.js"), true ? [] : void 0) }, + { "id": "src-components-listview-story-vue", "path": ["ListView"], "filePath": "src/components/ListView.story.vue", "story": { "id": "src-components-listview-story-vue", "title": "ListView", "layout": { "type": "grid", "width": "95%" }, "docsOnly": false, "variants": [{ "id": "src-components-listview-story-vue-0", "title": "Simple List" }, { "id": "src-components-listview-story-vue-1", "title": "Custom List" }, { "id": "src-components-listview-story-vue-2", "title": "Grouped Rows" }, { "id": "src-components-listview-story-vue-3", "title": "Cell Slot" }, { "id": "src-components-listview-story-vue-4", "title": "Empty List" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/ListView.story.md", "index": 12, component: Comp12, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-listview-story-vue-CrLv3Zzm.js"), true ? [] : void 0) }, + { "id": "src-components-popover-story-vue", "path": ["Popover"], "filePath": "src/components/Popover.story.vue", "story": { "id": "src-components-popover-story-vue", "title": "Popover", "layout": { "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-popover-story-vue-0", "title": "trigger: click" }, { "id": "src-components-popover-story-vue-1", "title": "trigger: hover" }] }, "supportPluginId": "vue3", "index": 13, component: Comp13, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-popover-story-vue-DOQAdi6z.js"), true ? [] : void 0) }, + { "id": "src-components-progress-story-vue", "path": ["Progress"], "filePath": "src/components/Progress.story.vue", "story": { "id": "src-components-progress-story-vue", "title": "Progress", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-progress-story-vue-0", "title": "Label" }, { "id": "src-components-progress-story-vue-1", "title": "Hint" }, { "id": "src-components-progress-story-vue-2", "title": "Intervals" }] }, "supportPluginId": "vue3", "index": 14, component: Comp14, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-progress-story-vue-D_8nBHt6.js"), true ? [] : void 0) }, + { "id": "src-components-select-story-vue", "path": ["Select"], "filePath": "src/components/Select.story.vue", "story": { "id": "src-components-select-story-vue", "title": "Select", "layout": { "width": 500, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "_default", "title": "default" }] }, "supportPluginId": "vue3", "index": 15, component: Comp15, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-select-story-vue-CHWr7k-H.js"), true ? [] : void 0) }, + { "id": "src-components-spinner-story-vue", "path": ["Spinner"], "filePath": "src/components/Spinner.story.vue", "story": { "id": "src-components-spinner-story-vue", "title": "Spinner", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-spinner-story-vue-0", "title": "class='w-4'" }, { "id": "src-components-spinner-story-vue-1", "title": "class='w-8'" }] }, "supportPluginId": "vue3", "index": 16, component: Comp16, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-spinner-story-vue-DxVW83Og.js"), true ? [] : void 0) }, + { "id": "src-components-switch-story-vue", "path": ["Switch"], "filePath": "src/components/Switch.story.vue", "story": { "id": "src-components-switch-story-vue", "title": "Switch", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-switch-story-vue-0", "title": "Label" }, { "id": "src-components-switch-story-vue-1", "title": "Label and Description" }] }, "supportPluginId": "vue3", "index": 17, component: Comp17, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-switch-story-vue-Dv8yq3TK.js"), true ? [] : void 0) }, + { "id": "src-components-tabbuttons-story-vue", "path": ["TabButtons"], "filePath": "src/components/TabButtons.story.vue", "story": { "id": "src-components-tabbuttons-story-vue", "title": "TabButtons", "layout": { "type": "grid", "width": "80%" }, "docsOnly": false, "variants": [{ "id": "src-components-tabbuttons-story-vue-0", "title": "Tab Buttons" }] }, "supportPluginId": "vue3", "index": 18, component: Comp18, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tabbuttons-story-vue-D-tmUlJi.js"), true ? [] : void 0) }, + { "id": "src-components-tabs-story-vue", "path": ["Tabs"], "filePath": "src/components/Tabs.story.vue", "story": { "id": "src-components-tabs-story-vue", "title": "Tabs", "layout": { "type": "grid", "width": "80%" }, "docsOnly": false, "variants": [{ "id": "src-components-tabs-story-vue-0", "title": "Without Icon" }, { "id": "src-components-tabs-story-vue-1", "title": "With Icon" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/Tabs.story.md", "index": 19, component: Comp19, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tabs-story-vue-ChSfJIYE.js"), true ? [] : void 0) }, + { "id": "src-components-textinput-story-vue", "path": ["TextInput"], "filePath": "src/components/TextInput.story.vue", "story": { "id": "src-components-textinput-story-vue", "title": "TextInput", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-textinput-story-vue-0", "title": "text" }, { "id": "src-components-textinput-story-vue-1", "title": "number" }, { "id": "src-components-textinput-story-vue-2", "title": "email" }, { "id": "src-components-textinput-story-vue-3", "title": "date" }, { "id": "src-components-textinput-story-vue-4", "title": "datetime-local" }, { "id": "src-components-textinput-story-vue-5", "title": "password" }, { "id": "src-components-textinput-story-vue-6", "title": "search" }, { "id": "src-components-textinput-story-vue-7", "title": "tel" }, { "id": "src-components-textinput-story-vue-8", "title": "time" }, { "id": "src-components-textinput-story-vue-9", "title": "url" }, { "id": "src-components-textinput-story-vue-10", "title": "prefix slot icon" }, { "id": "src-components-textinput-story-vue-11", "title": "suffix slot icon" }, { "id": "src-components-textinput-story-vue-12", "title": "prefix slot avatar" }] }, "supportPluginId": "vue3", "index": 20, component: Comp20, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-textinput-story-vue-qqBYiBAD.js"), true ? [] : void 0) }, + { "id": "src-components-textarea-story-vue", "path": ["Textarea"], "filePath": "src/components/Textarea.story.vue", "story": { "id": "src-components-textarea-story-vue", "title": "Textarea", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-textarea-story-vue-0", "title": "subtle variant" }, { "id": "src-components-textarea-story-vue-1", "title": "outline variant" }] }, "supportPluginId": "vue3", "index": 21, component: Comp21, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-textarea-story-vue-xXlJnIJU.js"), true ? [] : void 0) }, + { "id": "src-components-button-button-story-vue", "path": ["Button"], "filePath": "src/components/Button/Button.story.vue", "story": { "id": "src-components-button-button-story-vue", "title": "Button", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-button-button-story-vue-0", "title": "solid" }, { "id": "src-components-button-button-story-vue-1", "title": "subtle" }, { "id": "src-components-button-button-story-vue-2", "title": "outline" }, { "id": "src-components-button-button-story-vue-3", "title": "ghost" }] }, "supportPluginId": "vue3", "index": 22, component: Comp22, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-button-button-story-vue-D0IYWk3X.js"), true ? [] : void 0) }, + { "id": "src-components-datepicker-datepicker-story-vue", "path": ["DatePicker"], "filePath": "src/components/DatePicker/DatePicker.story.vue", "story": { "id": "src-components-datepicker-datepicker-story-vue", "title": "DatePicker", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-datepicker-datepicker-story-vue-0", "title": "Date" }, { "id": "src-components-datepicker-datepicker-story-vue-1", "title": "Date Time" }, { "id": "src-components-datepicker-datepicker-story-vue-2", "title": "Date Range" }] }, "supportPluginId": "vue3", "index": 23, component: Comp23, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-datepicker-datepicker-story-vue-Doo4TgYE.js"), true ? [] : void 0) }, + { "id": "src-components-rating-rating-story-vue", "path": ["Rating"], "filePath": "src/components/Rating/Rating.story.vue", "story": { "id": "src-components-rating-rating-story-vue", "title": "Rating", "layout": { "type": "grid", "width": 300 }, "docsOnly": false, "variants": [{ "id": "src-components-rating-rating-story-vue-0", "title": "default" }] }, "supportPluginId": "vue3", "index": 24, component: Comp24, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-rating-rating-story-vue-nKsMAZj3.js"), true ? [] : void 0) }, + { "id": "src-components-texteditor-texteditor-story-vue", "path": ["TextEditor"], "filePath": "src/components/TextEditor/TextEditor.story.vue", "story": { "id": "src-components-texteditor-texteditor-story-vue", "title": "TextEditor", "layout": { "width": 600, "type": "grid" }, "docsOnly": false, "variants": [{ "id": "src-components-texteditor-texteditor-story-vue-0", "title": "Basic" }, { "id": "src-components-texteditor-texteditor-story-vue-1", "title": "Comment Editor" }] }, "supportPluginId": "vue3", "index": 25, component: Comp25, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-texteditor-texteditor-story-vue-EXcci5qU.js"), true ? [] : void 0) }, + { "id": "src-components-tooltip-tooltip-story-vue", "path": ["Tooltip"], "filePath": "src/components/Tooltip/Tooltip.story.vue", "story": { "id": "src-components-tooltip-tooltip-story-vue", "title": "Tooltip", "layout": { "type": "grid", "width": "300px" }, "docsOnly": false, "variants": [{ "id": "src-components-tooltip-tooltip-story-vue-0", "title": "with text prop" }, { "id": "src-components-tooltip-tooltip-story-vue-1", "title": "disabled" }, { "id": "src-components-tooltip-tooltip-story-vue-2", "title": "with slot" }] }, "supportPluginId": "vue3", "index": 26, component: Comp26, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tooltip-tooltip-story-vue-CxYHZZBj.js"), true ? [] : void 0) }, + { "id": "src-components-tree-tree-story-vue", "path": ["Tree"], "filePath": "src/components/Tree/Tree.story.vue", "story": { "id": "src-components-tree-tree-story-vue", "title": "Tree", "layout": { "type": "grid", "width": 500 }, "docsOnly": false, "variants": [{ "id": "src-components-tree-tree-story-vue-0", "title": "default" }] }, "supportPluginId": "vue3", "docsFilePath": "src/components/Tree/Tree.story.md", "index": 27, component: Comp27, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_src-components-tree-tree-story-vue-A7spAkay.js"), true ? [] : void 0) }, + { "id": "docs-getting-started-story-js", "path": ["Getting Started"], "filePath": "docs/Getting Started.story.js", "story": { "id": "docs-getting-started-story-js", "title": "Getting Started", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/Getting Started.story.md", "index": 28, component: Comp28, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-getting-started-story-js-BatIKXPo.js"), true ? [] : void 0) }, + { "id": "docs-introduction-story-js", "path": ["Introduction"], "filePath": "docs/Introduction.story.js", "story": { "id": "docs-introduction-story-js", "title": "Introduction", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/Introduction.story.md", "index": 29, component: Comp29, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-introduction-story-js-Dbz7qKA-.js"), true ? [] : void 0) }, + { "id": "docs-other-directives-story-js", "path": ["Directives"], "filePath": "docs/other/Directives.story.js", "story": { "id": "docs-other-directives-story-js", "title": "Directives", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/other/Directives.story.md", "index": 30, component: Comp30, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-other-directives-story-js-BIvI2HoS.js"), true ? [] : void 0) }, + { "id": "docs-other-utilities-story-js", "path": ["Utilities"], "filePath": "docs/other/Utilities.story.js", "story": { "id": "docs-other-utilities-story-js", "title": "Utilities", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/other/Utilities.story.md", "index": 31, component: Comp31, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-other-utilities-story-js-DQ3zJpNo.js"), true ? [] : void 0) }, + { "id": "docs-resources-document-resource-story-js", "path": ["Document Resource"], "filePath": "docs/resources/Document Resource.story.js", "story": { "id": "docs-resources-document-resource-story-js", "title": "Document Resource", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/resources/Document Resource.story.md", "index": 32, component: Comp32, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-resources-document-resource-story-js-duAgGsVH.js"), true ? [] : void 0) }, + { "id": "docs-resources-list-resource-story-js", "path": ["List Resource"], "filePath": "docs/resources/List Resource.story.js", "story": { "id": "docs-resources-list-resource-story-js", "title": "List Resource", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/resources/List Resource.story.md", "index": 33, component: Comp33, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-resources-list-resource-story-js-BTnnapD3.js"), true ? [] : void 0) }, + { "id": "docs-resources-resource-story-js", "path": ["Resource"], "filePath": "docs/resources/Resource.story.js", "story": { "id": "docs-resources-resource-story-js", "title": "Resource", "layout": { "type": "single", "iframe": true }, "icon": "carbon:document-blank", "docsOnly": true, "variants": [] }, "supportPluginId": "vanilla", "docsFilePath": "docs/resources/Resource.story.md", "index": 34, component: Comp34, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_docs-resources-resource-story-js-QChq2W9c.js"), true ? [] : void 0) }, + { "id": "tailwind", "path": ["Tailwind"], "filePath": "/home/runner/work/frappe-ui/frappe-ui/node_modules/.histoire/plugins/builtin_tailwind-tokens/Tailwind.story.js", "story": { "id": "tailwind", "title": "Tailwind", "group": "design-system", "layout": { "type": "single", "iframe": false }, "icon": "mdi:tailwind", "docsOnly": false, "variants": [{ "id": "background-color", "title": "Background Color", "icon": "carbon:color-palette" }, { "id": "text-color", "title": "Text Color", "icon": "carbon:text-color" }, { "id": "border-color", "title": "Border Color", "icon": "carbon:color-palette" }, { "id": "padding", "title": "Padding", "icon": "carbon:area" }, { "id": "margin", "title": "Margin", "icon": "carbon:area" }, { "id": "font-size", "title": "Font Size", "icon": "carbon:text-font" }, { "id": "font-weight", "title": "Font Weight", "icon": "carbon:text-font" }, { "id": "font-family", "title": "Font Family", "icon": "carbon:text-font" }, { "id": "letter-spacing", "title": "Letter Spacing", "icon": "carbon:text-font" }, { "id": "line-height", "title": "Line Height", "icon": "carbon:text-font" }, { "id": "drop-shadow", "title": "Drop Shadow", "icon": "carbon:shape-except" }, { "id": "border-radius", "title": "Border Radius", "icon": "carbon:condition-wait-point" }, { "id": "border-width", "title": "Border Width", "icon": "carbon:checkbox" }, { "id": "width", "title": "Width", "icon": "carbon:pan-horizontal" }, { "id": "height", "title": "Height", "icon": "carbon:pan-vertical" }, { "id": "full-config", "title": "Full Config", "icon": "carbon:code" }] }, "supportPluginId": "vanilla", "index": 35, component: Comp35, source: () => __vitePreload(() => import("./__resolved__virtual_story-source_tailwind--M2ueAcC.js"), true ? [] : void 0) } ]; let tree = [{ "group": true, "id": "top", "title": "", "children": [{ "title": "Introduction", "index": 29 }, { "title": "Getting Started", "index": 28 }] }, { "group": true, "id": "design-system", "title": "Design System", "children": [{ "title": "Tailwind", "index": 35 }] }, { "group": true, "id": "resources", "title": "Data Fetching", "children": [{ "title": "Resource", "index": 34 }, { "title": "List Resource", "index": 33 }, { "title": "Document Resource", "index": 32 }] }, { "group": true, "id": "components", "title": "Components", "children": [{ "title": "Autocomplete", "index": 0 }, { "title": "Avatar", "index": 1 }, { "title": "Badge", "index": 2 }, { "title": "Breadcrumbs", "index": 3 }, { "title": "Button", "index": 22 }, { "title": "Calendar", "index": 4 }, { "title": "Checkbox", "index": 5 }, { "title": "CircularProgressBar", "index": 6 }, { "title": "DatePicker", "index": 23 }, { "title": "Dialog", "index": 7 }, { "title": "Dropdown", "index": 8 }, { "title": "ErrorMessage", "index": 9 }, { "title": "FileUploader", "index": 10 }, { "title": "FormControl", "index": 11 }, { "title": "ListView", "index": 12 }, { "title": "Popover", "index": 13 }, { "title": "Progress", "index": 14 }, { "title": "Rating", "index": 24 }, { "title": "Select", "index": 15 }, { "title": "Spinner", "index": 16 }, { "title": "Switch", "index": 17 }, { "title": "TabButtons", "index": 18 }, { "title": "Tabs", "index": 19 }, { "title": "Textarea", "index": 21 }, { "title": "TextEditor", "index": 25 }, { "title": "TextInput", "index": 20 }, { "title": "Tooltip", "index": 26 }, { "title": "Tree", "index": 27 }] }, { "group": true, "id": "other", "title": "Other", "children": [{ "title": "Utilities", "index": 31 }, { "title": "Directives", "index": 30 }] }]; const base = "/"; @@ -89,42 +90,18 @@ const router = createRouter({ { path: "/", name: "home", - component: () => __vitePreload(() => import("./HomeView.vue-22679ce1.js"), true ? ["assets/HomeView.vue-22679ce1.js","assets/vendor-3b8d0bfc.js","assets/story-72ebbc17.js"] : void 0) + component: () => __vitePreload(() => import("./HomeView.vue-D8K-75aQ.js"), true ? __vite__mapDeps([60,1,61]) : void 0) }, { path: "/story/:storyId", name: "story", - component: () => __vitePreload(() => import("./StoryView.vue-1064bb4a.js"), true ? ["assets/StoryView.vue-1064bb4a.js","assets/vendor-3b8d0bfc.js","assets/story-72ebbc17.js","assets/MobileOverlay.vue2-24879cc5.js","assets/BaseEmpty.vue-3e2a06f3.js","assets/state-7e0f8f65.js","assets/events-970646f9.js"] : void 0) + component: () => __vitePreload(() => import("./StoryView.vue-ClvKyT_R.js"), true ? __vite__mapDeps([62,1,61,63,64,65,66]) : void 0) } ] }); -const copiedFromExistingVariant = [ - "state", - "slots", - "source", - "responsiveDisabled", - "autoPropsDisabled", - "setupApp", - "configReady", - "previewReady" -]; function mapFile(file, existingFile) { let result; - if (existingFile) { - result = existingFile; - for (const key in file) { - if (key === "story") { - result.story = { - ...result.story, - ...file.story, - file: markRaw(result), - variants: file.story.variants.map((v) => mapVariant(v, existingFile.story.variants.find((item) => item.id === v.id))) - }; - } else if (key !== "component") { - result[key] = file[key]; - } - } - } else { + { result = { ...file, component: markRaw(file.component), @@ -141,14 +118,7 @@ function mapFile(file, existingFile) { } function mapVariant(variant, existingVariant) { let result; - if (existingVariant) { - result = existingVariant; - for (const key in variant) { - if (!copiedFromExistingVariant.includes(key)) { - result[key] = variant[key]; - } - } - } else { + { result = { ...variant, state: reactive({ @@ -163,8 +133,8 @@ function mapVariant(variant, existingVariant) { return result; } const clientSupportPlugins = { - "vanilla": () => __vitePreload(() => import("./vendor-3b8d0bfc.js").then((n) => n.cx), true ? [] : void 0), - "vue3": () => __vitePreload(() => import("./vendor-3b8d0bfc.js").then((n) => n.cy), true ? [] : void 0) + "vanilla": () => __vitePreload(() => import("./vendor-D4tQXw0h.js").then((n) => n.cC), true ? [] : void 0), + "vue3": () => __vitePreload(() => import("./vendor-D4tQXw0h.js").then((n) => n.cD), true ? [] : void 0) }; const __default__ = { inheritAttrs: false diff --git a/assets/HomeView.vue-22679ce1.js b/assets/HomeView.vue-D8K-75aQ.js similarity index 97% rename from assets/HomeView.vue-22679ce1.js rename to assets/HomeView.vue-D8K-75aQ.js index 275502fb..08fa6977 100644 --- a/assets/HomeView.vue-22679ce1.js +++ b/assets/HomeView.vue-D8K-75aQ.js @@ -1,6 +1,6 @@ -import { d as defineComponent, o as openBlock, b as createElementBlock, e as createVNode, g as unref, I as Icon, f as createBaseVNode, t as toDisplayString, c as computed, y as histoireConfig, z as customLogos } from "./vendor-3b8d0bfc.js"; -import { u as useStoryStore } from "./story-72ebbc17.js"; -import "./GenericMountStory.vue2-380be139.js"; +import { d as defineComponent, o as openBlock, b as createElementBlock, e as createVNode, g as unref, I as Icon, f as createBaseVNode, t as toDisplayString, c as computed, y as histoireConfig, z as customLogos } from "./vendor-D4tQXw0h.js"; +import { u as useStoryStore } from "./story-CDQMmp7E.js"; +import "./GenericMountStory.vue2-COcojfSX.js"; const HistoireLogo = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20version='1.1'%20id='svg5'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs2'%20/%3e%3cg%20id='layer1'%3e%3crect%20style='opacity:0.5;fill:%2334d399;fill-opacity:1;stroke-width:1.00375'%20id='rect1372'%20width='314.30923'%20height='406.60901'%20x='-26.565063'%20y='134.75079'%20transform='rotate(-23.821262)'%20ry='8'%20/%3e%3crect%20style='fill:%2334d399;fill-opacity:1;stroke-width:1.00375'%20id='rect850'%20width='314.30923'%20height='406.60901'%20x='77.571838'%20y='72.808708'%20ry='8'%20transform='rotate(-4.5744534)'%20/%3e%3c/g%3e%3cg%20id='layer3'%3e%3cpath%20id='path1657-3'%20style='display:inline;fill:%23b4fae2;fill-opacity:1;stroke:%23b4fae2;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20d='M%20359.38947,355.95134%20320.72935,176.52942%20238.34613,238.94118%20Z%20M%20273.64124,273.06608%20152.59788,156.05591%20191.25804,335.47786%20Z'%20/%3e%3c/g%3e%3cg%20id='layer2'%20style='display:none'%3e%3cpath%20id='path1657'%20style='fill:%23b4fae2;fill-opacity:1;stroke:%23b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20d='m%20296,103.98242%20-135.53125,177.9668%20h%2088.70117%20z%20M%20262.83008,230.05078%20216,408.01758%20351.53125,230.05078%20Z'%20transform='rotate(-4.156553,256,256.00691)'%20/%3e%3c/g%3e%3c/svg%3e"; const _hoisted_1$1 = { class: "htw-p-2 htw-flex htw-items-center htw-gap-x-2" }; const _hoisted_2$1 = { class: "htw-flex htw-flex-col htw-leading-none" }; diff --git a/assets/InsertImage-625e6379.js b/assets/InsertImage-B-hPJX2H.js similarity index 91% rename from assets/InsertImage-625e6379.js rename to assets/InsertImage-B-hPJX2H.js index 30c52daf..b8f116e1 100644 --- a/assets/InsertImage-625e6379.js +++ b/assets/InsertImage-B-hPJX2H.js @@ -1,10 +1,10 @@ -import { f as fileToBase64 } from "./TextEditor-c37a329b.js"; -import { D as Dialog } from "./Dialog-d377ea2d.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { aA as resolveComponent, aB as openBlock, aG as createElementBlock, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aE as createVNode, aD as withCtx, aF as createBaseVNode, aN as toDisplayString, aH as createCommentVNode, aM as createTextVNode, aK as Fragment } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Popover-2741613b.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { f as fileToBase64 } from "./TextEditor-P-R6n-W9.js"; +import { D as Dialog } from "./Dialog-ZcNZygUg.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { aA as resolveComponent, aB as openBlock, aG as createElementBlock, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aE as createVNode, aD as withCtx, aF as createBaseVNode, aN as toDisplayString, aH as createCommentVNode, aM as createTextVNode, aK as Fragment } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Popover-DXQPMgPX.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = { name: "InsertImage", props: ["editor"], diff --git a/assets/InsertLink-b90fb9fe.js b/assets/InsertLink-C1HUD_qc.js similarity index 82% rename from assets/InsertLink-b90fb9fe.js rename to assets/InsertLink-C1HUD_qc.js index 4f681a10..36834a58 100644 --- a/assets/InsertLink-b90fb9fe.js +++ b/assets/InsertLink-C1HUD_qc.js @@ -1,16 +1,16 @@ -import { D as Dialog } from "./Dialog-d377ea2d.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { F as FormControl } from "./FormControl-ada8b7f2.js"; -import { aA as resolveComponent, aB as openBlock, aG as createElementBlock, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aE as createVNode, aD as withCtx, ci as withKeys, aM as createTextVNode, aK as Fragment } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; -import "./Checkbox-71f5c4b5.js"; -import "./TextInput-f8aeff24.js"; -import "./debounce-d11286cd.js"; -import "./Select-3d29cf81.js"; -import "./Textarea-2f1c001e.js"; -import "./Autocomplete-f413d8b8.js"; -import "./Popover-2741613b.js"; +import { D as Dialog } from "./Dialog-ZcNZygUg.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { F as FormControl } from "./FormControl-BieJQuVF.js"; +import { aA as resolveComponent, aB as openBlock, aG as createElementBlock, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aE as createVNode, aD as withCtx, cn as withKeys, aM as createTextVNode, aK as Fragment } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; +import "./Checkbox-D_YjUOsx.js"; +import "./TextInput-DNISJZg6.js"; +import "./debounce-CRCtzhPg.js"; +import "./Select-C3fVHNH1.js"; +import "./Textarea-D12aIG7A.js"; +import "./Autocomplete-Dy3gPyuT.js"; +import "./Popover-DXQPMgPX.js"; const _sfc_main = { name: "InsertLink", props: ["editor"], diff --git a/assets/InsertVideo-127b253a.js b/assets/InsertVideo-Bw_K6fdC.js similarity index 94% rename from assets/InsertVideo-127b253a.js rename to assets/InsertVideo-Bw_K6fdC.js index 866a8e2a..75199623 100644 --- a/assets/InsertVideo-127b253a.js +++ b/assets/InsertVideo-Bw_K6fdC.js @@ -1,9 +1,9 @@ -import { B as Button } from "./Button-f8ca7b7d.js"; -import { D as Dialog } from "./Dialog-d377ea2d.js"; -import { F as FileUploader } from "./FileUploader-fb8fc169.js"; -import { aA as resolveComponent, aB as openBlock, aG as createElementBlock, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aE as createVNode, aD as withCtx, aF as createBaseVNode, aM as createTextVNode, aN as toDisplayString, aC as createBlock, aH as createCommentVNode, aK as Fragment } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { D as Dialog } from "./Dialog-ZcNZygUg.js"; +import { F as FileUploader } from "./FileUploader-CO9bL3Wu.js"; +import { aA as resolveComponent, aB as openBlock, aG as createElementBlock, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aE as createVNode, aD as withCtx, aF as createBaseVNode, aM as createTextVNode, aN as toDisplayString, aC as createBlock, aH as createCommentVNode, aK as Fragment } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = { name: "InsertImage", props: ["editor"], diff --git a/assets/Inter-Black-05e55dd7.woff2 b/assets/Inter-Black-9EvaAvES.woff2 similarity index 100% rename from assets/Inter-Black-05e55dd7.woff2 rename to assets/Inter-Black-9EvaAvES.woff2 diff --git a/assets/Inter-BlackItalic-4ff7db4a.woff2 b/assets/Inter-BlackItalic-I0v0TUo2.woff2 similarity index 100% rename from assets/Inter-BlackItalic-4ff7db4a.woff2 rename to assets/Inter-BlackItalic-I0v0TUo2.woff2 diff --git a/assets/Inter-Bold-1dc41a58.woff2 b/assets/Inter-Bold-R0zHozHF.woff2 similarity index 100% rename from assets/Inter-Bold-1dc41a58.woff2 rename to assets/Inter-Bold-R0zHozHF.woff2 diff --git a/assets/Inter-BoldItalic-dc0d4194.woff2 b/assets/Inter-BoldItalic-D0-5Ex_3.woff2 similarity index 100% rename from assets/Inter-BoldItalic-dc0d4194.woff2 rename to assets/Inter-BoldItalic-D0-5Ex_3.woff2 diff --git a/assets/Inter-DisplayBlack-b1d4e33d.woff2 b/assets/Inter-DisplayBlack-WeYNDCAX.woff2 similarity index 100% rename from assets/Inter-DisplayBlack-b1d4e33d.woff2 rename to assets/Inter-DisplayBlack-WeYNDCAX.woff2 diff --git a/assets/Inter-DisplayBlackItalic-d561e8dd.woff2 b/assets/Inter-DisplayBlackItalic-DFEmIFsd.woff2 similarity index 100% rename from assets/Inter-DisplayBlackItalic-d561e8dd.woff2 rename to assets/Inter-DisplayBlackItalic-DFEmIFsd.woff2 diff --git a/assets/Inter-DisplayBold-d9bf35ac.woff2 b/assets/Inter-DisplayBold-C-1EDGRh.woff2 similarity index 100% rename from assets/Inter-DisplayBold-d9bf35ac.woff2 rename to assets/Inter-DisplayBold-C-1EDGRh.woff2 diff --git a/assets/Inter-DisplayBoldItalic-fef00c57.woff2 b/assets/Inter-DisplayBoldItalic-CISmTavk.woff2 similarity index 100% rename from assets/Inter-DisplayBoldItalic-fef00c57.woff2 rename to assets/Inter-DisplayBoldItalic-CISmTavk.woff2 diff --git a/assets/Inter-DisplayExtraBold-b7cc680a.woff2 b/assets/Inter-DisplayExtraBold-BXf2GJrG.woff2 similarity index 100% rename from assets/Inter-DisplayExtraBold-b7cc680a.woff2 rename to assets/Inter-DisplayExtraBold-BXf2GJrG.woff2 diff --git a/assets/Inter-DisplayExtraBoldItalic-e5a5984a.woff2 b/assets/Inter-DisplayExtraBoldItalic-Czv3KFD8.woff2 similarity index 100% rename from assets/Inter-DisplayExtraBoldItalic-e5a5984a.woff2 rename to assets/Inter-DisplayExtraBoldItalic-Czv3KFD8.woff2 diff --git a/assets/Inter-DisplayExtraLight-32095132.woff2 b/assets/Inter-DisplayExtraLight-D2Ja0abb.woff2 similarity index 100% rename from assets/Inter-DisplayExtraLight-32095132.woff2 rename to assets/Inter-DisplayExtraLight-D2Ja0abb.woff2 diff --git a/assets/Inter-DisplayExtraLightItalic-8eeb78f4.woff2 b/assets/Inter-DisplayExtraLightItalic-DRwiM9T2.woff2 similarity index 100% rename from assets/Inter-DisplayExtraLightItalic-8eeb78f4.woff2 rename to assets/Inter-DisplayExtraLightItalic-DRwiM9T2.woff2 diff --git a/assets/Inter-DisplayItalic-938db435.woff2 b/assets/Inter-DisplayItalic-JNEE2o-3.woff2 similarity index 100% rename from assets/Inter-DisplayItalic-938db435.woff2 rename to assets/Inter-DisplayItalic-JNEE2o-3.woff2 diff --git a/assets/Inter-DisplayLight-e40a858d.woff2 b/assets/Inter-DisplayLight-w8lPQKnS.woff2 similarity index 100% rename from assets/Inter-DisplayLight-e40a858d.woff2 rename to assets/Inter-DisplayLight-w8lPQKnS.woff2 diff --git a/assets/Inter-DisplayLightItalic-151e9a11.woff2 b/assets/Inter-DisplayLightItalic-DBve3eI1.woff2 similarity index 100% rename from assets/Inter-DisplayLightItalic-151e9a11.woff2 rename to assets/Inter-DisplayLightItalic-DBve3eI1.woff2 diff --git a/assets/Inter-DisplayMedium-12a4a358.woff2 b/assets/Inter-DisplayMedium-DcjtbkcA.woff2 similarity index 100% rename from assets/Inter-DisplayMedium-12a4a358.woff2 rename to assets/Inter-DisplayMedium-DcjtbkcA.woff2 diff --git a/assets/Inter-DisplayMediumItalic-8968b5ab.woff2 b/assets/Inter-DisplayMediumItalic-BBCoS5uP.woff2 similarity index 100% rename from assets/Inter-DisplayMediumItalic-8968b5ab.woff2 rename to assets/Inter-DisplayMediumItalic-BBCoS5uP.woff2 diff --git a/assets/Inter-DisplaySemiBold-856fcb49.woff2 b/assets/Inter-DisplaySemiBold-BBWLY5vL.woff2 similarity index 100% rename from assets/Inter-DisplaySemiBold-856fcb49.woff2 rename to assets/Inter-DisplaySemiBold-BBWLY5vL.woff2 diff --git a/assets/Inter-DisplaySemiBoldItalic-5e57e1d2.woff2 b/assets/Inter-DisplaySemiBoldItalic-CNvBGF7e.woff2 similarity index 100% rename from assets/Inter-DisplaySemiBoldItalic-5e57e1d2.woff2 rename to assets/Inter-DisplaySemiBoldItalic-CNvBGF7e.woff2 diff --git a/assets/Inter-DisplayThin-b64c173b.woff2 b/assets/Inter-DisplayThin-ChL4oFCg.woff2 similarity index 100% rename from assets/Inter-DisplayThin-b64c173b.woff2 rename to assets/Inter-DisplayThin-ChL4oFCg.woff2 diff --git a/assets/Inter-DisplayThinItalic-b70f1c61.woff2 b/assets/Inter-DisplayThinItalic-Cxxw6hRb.woff2 similarity index 100% rename from assets/Inter-DisplayThinItalic-b70f1c61.woff2 rename to assets/Inter-DisplayThinItalic-Cxxw6hRb.woff2 diff --git a/assets/Inter-ExtraBold-8a72efb6.woff2 b/assets/Inter-ExtraBold-Ce88byQn.woff2 similarity index 100% rename from assets/Inter-ExtraBold-8a72efb6.woff2 rename to assets/Inter-ExtraBold-Ce88byQn.woff2 diff --git a/assets/Inter-ExtraBoldItalic-38e71f7c.woff2 b/assets/Inter-ExtraBoldItalic-Cgmm6Ie2.woff2 similarity index 100% rename from assets/Inter-ExtraBoldItalic-38e71f7c.woff2 rename to assets/Inter-ExtraBoldItalic-Cgmm6Ie2.woff2 diff --git a/assets/Inter-ExtraLight-25a4db7c.woff2 b/assets/Inter-ExtraLight-CCj5KODw.woff2 similarity index 100% rename from assets/Inter-ExtraLight-25a4db7c.woff2 rename to assets/Inter-ExtraLight-CCj5KODw.woff2 diff --git a/assets/Inter-ExtraLightItalic-f0df46d0.woff2 b/assets/Inter-ExtraLightItalic-BXS8QPqu.woff2 similarity index 100% rename from assets/Inter-ExtraLightItalic-f0df46d0.woff2 rename to assets/Inter-ExtraLightItalic-BXS8QPqu.woff2 diff --git a/assets/Inter-Italic-dd31ea31.woff2 b/assets/Inter-Italic-ClOttZep.woff2 similarity index 100% rename from assets/Inter-Italic-dd31ea31.woff2 rename to assets/Inter-Italic-ClOttZep.woff2 diff --git a/assets/Inter-Italic.var-d9f448e3.woff2 b/assets/Inter-Italic.var-BGHziHgI.woff2 similarity index 100% rename from assets/Inter-Italic.var-d9f448e3.woff2 rename to assets/Inter-Italic.var-BGHziHgI.woff2 diff --git a/assets/Inter-Light-211445a8.woff2 b/assets/Inter-Light-dIA14uc3.woff2 similarity index 100% rename from assets/Inter-Light-211445a8.woff2 rename to assets/Inter-Light-dIA14uc3.woff2 diff --git a/assets/Inter-LightItalic-9ea2db78.woff2 b/assets/Inter-LightItalic-BcJQrN_r.woff2 similarity index 100% rename from assets/Inter-LightItalic-9ea2db78.woff2 rename to assets/Inter-LightItalic-BcJQrN_r.woff2 diff --git a/assets/Inter-Medium-24fb6e39.woff2 b/assets/Inter-Medium-BN7iDkqy.woff2 similarity index 100% rename from assets/Inter-Medium-24fb6e39.woff2 rename to assets/Inter-Medium-BN7iDkqy.woff2 diff --git a/assets/Inter-MediumItalic-a2db9bea.woff2 b/assets/Inter-MediumItalic-iRTrRc5x.woff2 similarity index 100% rename from assets/Inter-MediumItalic-a2db9bea.woff2 rename to assets/Inter-MediumItalic-iRTrRc5x.woff2 diff --git a/assets/Inter-Regular-edd1deaf.woff2 b/assets/Inter-Regular-trENmjXB.woff2 similarity index 100% rename from assets/Inter-Regular-edd1deaf.woff2 rename to assets/Inter-Regular-trENmjXB.woff2 diff --git a/assets/Inter-SemiBold-51419407.woff2 b/assets/Inter-SemiBold-CBUekF9E.woff2 similarity index 100% rename from assets/Inter-SemiBold-51419407.woff2 rename to assets/Inter-SemiBold-CBUekF9E.woff2 diff --git a/assets/Inter-SemiBoldItalic-daa7095c.woff2 b/assets/Inter-SemiBoldItalic-J43nRLRr.woff2 similarity index 100% rename from assets/Inter-SemiBoldItalic-daa7095c.woff2 rename to assets/Inter-SemiBoldItalic-J43nRLRr.woff2 diff --git a/assets/Inter-Thin-914c3fab.woff2 b/assets/Inter-Thin-D3JiHKaG.woff2 similarity index 100% rename from assets/Inter-Thin-914c3fab.woff2 rename to assets/Inter-Thin-D3JiHKaG.woff2 diff --git a/assets/Inter-ThinItalic-382fab25.woff2 b/assets/Inter-ThinItalic-Dty9qLU6.woff2 similarity index 100% rename from assets/Inter-ThinItalic-382fab25.woff2 rename to assets/Inter-ThinItalic-Dty9qLU6.woff2 diff --git a/assets/Inter.var-d30c3bd0.woff2 b/assets/Inter.var-C9xDBOS3.woff2 similarity index 100% rename from assets/Inter.var-d30c3bd0.woff2 rename to assets/Inter.var-C9xDBOS3.woff2 diff --git a/assets/ListRow-3143822c.js b/assets/ListRow-3IluqNTE.js similarity index 88% rename from assets/ListRow-3143822c.js rename to assets/ListRow-3IluqNTE.js index 1608d8b1..4341ca77 100644 --- a/assets/ListRow-3143822c.js +++ b/assets/ListRow-3IluqNTE.js @@ -1,34 +1,37 @@ -import { C as Checkbox } from "./Checkbox-71f5c4b5.js"; -import { az as ref, br as computed, b$ as useDebounceFn, bF as inject, aB as openBlock, aG as createElementBlock, aF as createBaseVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aN as toDisplayString, aQ as normalizeClass, aL as mergeProps, aH as createCommentVNode, aC as createBlock, bz as withModifiers, aK as Fragment, aJ as renderList, bn as normalizeStyle, ay as defineComponent, aA as resolveComponent, aE as createVNode, aM as createTextVNode, a$ as resolveDynamicComponent, aD as withCtx, bm as Transition, bp as useSlots, aI as reactive, bt as watch, bP as provide, bG as onMounted, bH as onBeforeUnmount, bv as lt, bw as it, bx as rt, by as ut, c0 as ye, c1 as Ge, c2 as je, bl as createPopper, bu as nextTick, b0 as withDirectives, b1 as vShow, aP as h, c3 as set, c4 as get } from "./vendor-3b8d0bfc.js"; -import { A as Autocomplete } from "./Autocomplete-f413d8b8.js"; -import "./Avatar-3a22144c.js"; -import "./Badge-17025005.js"; -import "./Breadcrumbs-d74d80a2.js"; -import { L as LoadingIndicator, B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import { g as getConfig } from "./DateRangePicker-1b600c7c.js"; -import { D as Dialog } from "./Dialog-d377ea2d.js"; -import "./Dropdown-ec4939d7.js"; -import "./ErrorMessage-fdb57532.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import "./FileUploader-fb8fc169.js"; -import { F as FormControl } from "./FormControl-ada8b7f2.js"; -import { d as debounce } from "./debounce-d11286cd.js"; -import "./Progress-34f0c455.js"; -import "./Popover-2741613b.js"; -import "./Rating-917c1dc8.js"; -import "./Select-3d29cf81.js"; -import "./Spinner-88c1a215.js"; -import "./Switch-5737c75f.js"; -import { T as TabButtons } from "./TabButtons-70dba38d.js"; -import "./Tabs-9a591bab.js"; -import "./TextInput-f8aeff24.js"; -import "./Textarea-2f1c001e.js"; -import "./TextEditor-c37a329b.js"; -import { T as Tooltip } from "./Tooltip-66625621.js"; -import "./Calendar-4afba67f.js"; -import "./CircularProgressBar-4bd9a733.js"; -import "./Tree-28d2a2e5.js"; +var __defProp = Object.defineProperty; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); +import { C as Checkbox } from "./Checkbox-D_YjUOsx.js"; +import { az as ref, br as computed, b$ as useDebounceFn, bF as inject, aB as openBlock, aG as createElementBlock, aF as createBaseVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aN as toDisplayString, aQ as normalizeClass, aL as mergeProps, aH as createCommentVNode, aC as createBlock, bz as withModifiers, aK as Fragment, aJ as renderList, bn as normalizeStyle, ay as defineComponent, aA as resolveComponent, aE as createVNode, aM as createTextVNode, a$ as resolveDynamicComponent, aD as withCtx, bm as Transition, bp as useSlots, aI as reactive, bt as watch, bP as provide, bG as onMounted, bH as onBeforeUnmount, bv as lt, bw as it, bx as rt, by as ut, c0 as ye, c1 as Ge, c2 as je, bl as createPopper, bu as nextTick, b0 as withDirectives, b1 as vShow, aP as h, c3 as set, c4 as get, c5 as setMany, c6 as del, c7 as keys, c8 as unref, c9 as createFetch } from "./vendor-D4tQXw0h.js"; +import { A as Autocomplete } from "./Autocomplete-Dy3gPyuT.js"; +import "./Avatar-DIa5TA7o.js"; +import "./Badge-CTqCBk9r.js"; +import "./Breadcrumbs-C50t6-En.js"; +import { L as LoadingIndicator, B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import { g as getConfig } from "./DateRangePicker-D0hHZ8KV.js"; +import { D as Dialog } from "./Dialog-ZcNZygUg.js"; +import "./Dropdown-BczQWD8o.js"; +import "./ErrorMessage-Bk7yVn0z.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import "./FileUploader-CO9bL3Wu.js"; +import { F as FormControl } from "./FormControl-BieJQuVF.js"; +import { d as debounce } from "./debounce-CRCtzhPg.js"; +import "./Progress-BhvMcWvn.js"; +import "./Popover-DXQPMgPX.js"; +import "./Rating-CO0rPS4Z.js"; +import "./Select-C3fVHNH1.js"; +import "./Spinner-C5FLE1e3.js"; +import "./Switch-EhzXzG5y.js"; +import { T as TabButtons } from "./TabButtons-DisK56Y9.js"; +import "./Tabs-DxBXZpL5.js"; +import "./TextInput-DNISJZg6.js"; +import "./Textarea-D12aIG7A.js"; +import "./TextEditor-P-R6n-W9.js"; +import { T as Tooltip } from "./Tooltip-DBXNRhEq.js"; +import "./Calendar-3A6JD7pG.js"; +import "./CircularProgressBar-Cjp8a6YQ.js"; +import "./Tree-ZlUWK-WP.js"; function getGridTemplateColumns(columns, withCheckbox = true) { let checkBoxWidth = withCheckbox ? "14px " : ""; let columnsWidth = columns.map((col) => { @@ -404,7 +407,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({ _sfc_main$p.__file = "src/components/Divider.vue"; const _sfc_main$o = {}; _sfc_main$o.__file = "src/components/GreenCheckIcon.vue"; -const Input_vue_vue_type_style_index_0_lang = ""; const _sfc_main$n = { name: "Input", inheritAttrs: false, @@ -1000,8 +1002,7 @@ const _sfc_main$c = /* @__PURE__ */ Object.assign({ }; }); const allRowsSelected = computed(() => { - if (!props.rows.length) - return false; + if (!props.rows.length) return false; if (showGroupedRows.value) { return selections.size === props.rows.reduce((acc, row) => acc + row.rows.length, 0); } @@ -1719,8 +1720,7 @@ function saveLocal(key, data) { if (typeof indexedDB === "undefined") { return Promise.resolve(null); } - if (!key) - return Promise.resolve(); + if (!key) return Promise.resolve(); return set(key, JSON.stringify(data)); } function getLocal(key) { @@ -1925,8 +1925,7 @@ function onDocUpdate(socket, doctype, callback) { } let subscribed = {}; function subscribe(socket, doctype) { - if (subscribed[doctype]) - return; + if (subscribed[doctype]) return; socket.emit("doctype_subscribe", doctype); subscribed[doctype] = true; } @@ -2155,8 +2154,7 @@ function createListResource(options, vm) { if (Array.isArray(out.data)) { out.dataMap = {}; for (let row of out.data) { - if (!row.name) - continue; + if (!row.name) continue; let key = row.name.toString(); out.dataMap[key] = row; } @@ -2200,8 +2198,7 @@ function createListResource(options, vm) { return out; } function updateRowInListResource(doctype, doc) { - if (!doc.name) - return; + if (!doc.name) return; let resources = resourcesByDocType[doctype] || []; for (let resource of resources) { if (resource.originalData) { @@ -2249,8 +2246,7 @@ const _sfc_main$2 = { } }); function calculateTrialEndDays(trialEndDate) { - if (!trialEndDate) - return 0; + if (!trialEndDate) return 0; trialEndDate = new Date(trialEndDate); const today = /* @__PURE__ */ new Date(); const diffTime = trialEndDate - today; @@ -2272,6 +2268,294 @@ const _sfc_main$2 = { _sfc_main$2.__file = "src/components/Billing/TrialBanner.vue"; let faviconRef = document.querySelector('link[rel="icon"]'); faviconRef == null ? void 0 : faviconRef.href; +class IDBStore { + constructor() { + __publicField(this, "memoryStore", {}); + __publicField(this, "useIndexedDB"); + this.useIndexedDB = typeof window !== "undefined" && !!window.indexedDB; + } + set(key, data) { + if (!this.validateKey(key)) { + return Promise.resolve(null); + } + try { + if (this.useIndexedDB) { + return set(key, JSON.stringify(data)); + } + this.memoryStore[key] = JSON.stringify(data); + return Promise.resolve(); + } catch (error) { + return this.handleError(error, "save to"); + } + } + setMany(data) { + try { + if (this.useIndexedDB) { + let entries = []; + for (const [key, value] of Object.entries(data)) { + entries.push([key, JSON.stringify(value)]); + } + return setMany(entries); + } + for (const [key, value] of Object.entries(data)) { + this.memoryStore[key] = JSON.stringify(value); + } + return Promise.resolve(); + } catch (error) { + return this.handleError(error, "save to"); + } + } + delete(key) { + if (!this.validateKey(key)) { + return Promise.resolve(null); + } + try { + if (this.useIndexedDB) { + return del(key); + } + delete this.memoryStore[key]; + return Promise.resolve(); + } catch (error) { + return this.handleError(error, "delete from"); + } + } + get(key) { + if (!this.validateKey(key)) { + return Promise.resolve(null); + } + if (this.useIndexedDB) { + return get(key).then((val) => { + if (!val) return null; + try { + return JSON.parse(val); + } catch (error) { + return this.handleError(error, "parse data from"); + } + }); + } + try { + const val = this.memoryStore[key]; + return Promise.resolve(val ? JSON.parse(val) : null); + } catch (error) { + return this.handleError(error, "parse data from"); + } + } + async keys() { + try { + if (this.useIndexedDB) { + return keys(); + } + return Promise.resolve(Object.keys(this.memoryStore)); + } catch (error) { + console.error( + `Failed to get keys from ${this.useIndexedDB ? "IndexedDB" : "memory store"}:`, + error + ); + return Promise.resolve([]); + } + } + validateKey(key) { + return !!key; + } + handleError(error, operation) { + console.error( + `Failed to ${operation} ${this.useIndexedDB ? "IndexedDB" : "memory store"}:`, + error + ); + return Promise.resolve(null); + } +} +let idbStore = new IDBStore(); +class DocStore { + constructor() { + __publicField(this, "docs"); + __publicField(this, "lastFetched"); + __publicField(this, "cacheTimeout", 5 * 60 * 1e3); + // 5 minutes + __publicField(this, "storePrefix", "doc:"); + this.docs = /* @__PURE__ */ new Map(); + this.lastFetched = /* @__PURE__ */ new Map(); + } + setCacheTimeout(minutes) { + if (minutes < 1) { + throw new Error("Cache timeout must be at least 1 minute"); + } + this.cacheTimeout = minutes * 60 * 1e3; + } + async setDoc(doc) { + if (!(doc == null ? void 0 : doc.doctype) || !(doc == null ? void 0 : doc.name)) { + throw new Error("Invalid doc: must have doctype and name"); + } + const key = this.getKey(doc.doctype, doc.name); + try { + await idbStore.set(this.storePrefix + key, doc); + if (!this.docs.has(key)) { + this.docs.set(key, ref(null)); + } + const docRef = this.docs.get(key); + if (docRef) { + docRef.value = doc; + } + this.lastFetched.set(key, Date.now()); + } catch (error) { + console.error("Failed to set doc in IDB:", error); + throw error; + } + } + getDoc(doctype, name) { + const nameStr = unref(name); + if (!doctype || !nameStr) { + throw new Error("doctype and name are required"); + } + const key = this.getKey(doctype, nameStr); + if (!this.docs.has(key)) { + this.docs.set(key, ref(null)); + this.loadDoc(key, true); + } else if (this.isStale(key)) { + this.loadDoc(key, false); + } + return this.docs.get(key); + } + async loadDoc(key, isFirstLoad) { + try { + if (!isFirstLoad && this.isStale(key)) { + await this.cleanup(key); + } + const idbDoc = await idbStore.get(this.storePrefix + key); + if (idbDoc) { + const docRef = this.docs.get(key); + if (docRef) { + docRef.value = idbDoc; + } + this.lastFetched.set(key, Date.now()); + } + } catch (error) { + console.error("Failed to load doc from IDB:", error); + throw error; + } + } + async setDocs(docs) { + const docMap = {}; + for (const doc of docs) { + if (!(doc == null ? void 0 : doc.doctype) || !(doc == null ? void 0 : doc.name)) continue; + const key = this.getKey(doc.doctype, doc.name); + if (!this.docs.has(key)) { + this.docs.set(key, ref(null)); + } + const docRef = this.docs.get(key); + if (docRef) { + docRef.value = doc; + } + this.lastFetched.set(key, Date.now()); + docMap[this.storePrefix + key] = doc; + } + await idbStore.setMany(docMap); + } + async invalidateDoc(doctype, name) { + if (!doctype || !name) return; + const key = this.getKey(doctype, name); + await this.cleanup(key); + } + getKey(doctype, name) { + return `${doctype.trim()}/${name.trim()}`; + } + isStale(key) { + const fetchTime = this.lastFetched.get(key); + if (!fetchTime) return true; + return Date.now() - fetchTime > this.cacheTimeout; + } + async cleanup(key) { + this.docs.delete(key); + this.lastFetched.delete(key); + await idbStore.delete(this.storePrefix + key); + } + async clearAll() { + try { + const allKeys = await idbStore.keys(); + const docKeys = allKeys.filter( + (key) => key.startsWith(this.storePrefix) + ); + await Promise.all(docKeys.map((key) => idbStore.delete(key))); + this.docs.clear(); + this.lastFetched.clear(); + } catch (error) { + console.error("Failed to clear all docs:", error); + throw error; + } + } +} +const docStore = new DocStore(); +createFetch({ + options: { + fetch: (...args) => fetch(...args), + // required for vitest + beforeFetch({ options }) { + options.headers = setHeaders(options.headers || {}); + return { options }; + }, + afterFetch(ctx) { + let responseData = JSON.parse(ctx.data); + if (responseData.debug) { + let path = ctx.response.url.replace(window.location.origin, ""); + console.group(path); + for (let d of responseData.debug) { + console.log(d == null ? void 0 : d.message); + } + console.groupEnd(); + } + if (responseData.docs) { + docStore.setDocs(responseData.docs); + } + ctx.data = responseData.data; + return ctx; + }, + onFetchError(ctx) { + let errors = []; + try { + errors = JSON.parse(ctx.data).errors; + } catch (e) { + errors = [ + { + title: "Internal Server Error", + message: "Internal Server Error", + type: "ServerError", + indicator: "red" + } + ]; + } + let error = errors[0]; + let errorDescription = error.message ? `: ${error.message}` : error.exception ? ` (Traceback)` : ""; + let frappeError = new Error(`${error.type}${errorDescription}`); + frappeError.title = error.title; + frappeError.type = error.type; + frappeError.exception = error.exception; + if (error.exception) { + console.log(error.exception); + } + ctx.error = frappeError; + return ctx; + } + } +}); +function setHeaders(headers) { + let siteName = null; + let csrfToken = null; + if (typeof window !== "undefined") { + siteName = window.location.hostname; + csrfToken = window.csrf_token !== "{{ csrf_token }}" ? window.csrf_token : null; + } + const defaultHeaders = { + Accept: "application/json", + "Content-Type": "application/json; charset=utf-8" + }; + if (siteName) { + defaultHeaders["X-Frappe-Site-Name"] = siteName; + } + if (csrfToken) { + defaultHeaders["X-Frappe-CSRF-Token"] = csrfToken; + } + return { ...headers, ...defaultHeaders }; +} const _sfc_main$1 = { __name: "ListRowItem", props: { @@ -2373,8 +2657,7 @@ const _sfc_main = { const list = inject("list"); const isLastRow = computed(() => { var _a; - if (!((_a = list.value.rows) == null ? void 0 : _a.length)) - return false; + if (!((_a = list.value.rows) == null ? void 0 : _a.length)) return false; return list.value.rows[list.value.rows.length - 1][list.value.rowKey] === props.row[list.value.rowKey]; }); const isSelected = computed(() => { diff --git a/assets/ListView.story-9548027f.js b/assets/ListView.story-BaIH8l7o.js similarity index 93% rename from assets/ListView.story-9548027f.js rename to assets/ListView.story-BaIH8l7o.js index fcaca0b5..321b708f 100644 --- a/assets/ListView.story-9548027f.js +++ b/assets/ListView.story-BaIH8l7o.js @@ -1,35 +1,35 @@ -import { aI as reactive, aP as h, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aH as createCommentVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aN as toDisplayString, aM as createTextVNode, aQ as normalizeClass } from "./vendor-3b8d0bfc.js"; -import { A as Avatar } from "./Avatar-3a22144c.js"; -import { B as Badge } from "./Badge-17025005.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { L as ListHeader, a as ListHeaderItem, b as ListRow, c as ListRowItem, d as ListRows, e as ListGroups, f as ListSelectBanner, g as ListView } from "./ListRow-3143822c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Checkbox-71f5c4b5.js"; -import "./Autocomplete-f413d8b8.js"; -import "./Popover-2741613b.js"; -import "./Breadcrumbs-d74d80a2.js"; -import "./Dropdown-ec4939d7.js"; -import "./DateRangePicker-1b600c7c.js"; -import "./TextInput-f8aeff24.js"; -import "./debounce-d11286cd.js"; -import "./Dialog-d377ea2d.js"; -import "./ErrorMessage-fdb57532.js"; -import "./FileUploader-fb8fc169.js"; -import "./FormControl-ada8b7f2.js"; -import "./Select-3d29cf81.js"; -import "./Textarea-2f1c001e.js"; -import "./Progress-34f0c455.js"; -import "./Rating-917c1dc8.js"; -import "./Spinner-88c1a215.js"; -import "./Switch-5737c75f.js"; -import "./TabButtons-70dba38d.js"; -import "./Tabs-9a591bab.js"; -import "./TextEditor-c37a329b.js"; -import "./Tooltip-66625621.js"; -import "./Calendar-4afba67f.js"; -import "./CircularProgressBar-4bd9a733.js"; -import "./Tree-28d2a2e5.js"; +import { aI as reactive, aP as h, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aH as createCommentVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aN as toDisplayString, aM as createTextVNode, aQ as normalizeClass } from "./vendor-D4tQXw0h.js"; +import { A as Avatar } from "./Avatar-DIa5TA7o.js"; +import { B as Badge } from "./Badge-CTqCBk9r.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { L as ListHeader, a as ListHeaderItem, b as ListRow, c as ListRowItem, d as ListRows, e as ListGroups, f as ListSelectBanner, g as ListView } from "./ListRow-3IluqNTE.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Checkbox-D_YjUOsx.js"; +import "./Autocomplete-Dy3gPyuT.js"; +import "./Popover-DXQPMgPX.js"; +import "./Breadcrumbs-C50t6-En.js"; +import "./Dropdown-BczQWD8o.js"; +import "./DateRangePicker-D0hHZ8KV.js"; +import "./TextInput-DNISJZg6.js"; +import "./debounce-CRCtzhPg.js"; +import "./Dialog-ZcNZygUg.js"; +import "./ErrorMessage-Bk7yVn0z.js"; +import "./FileUploader-CO9bL3Wu.js"; +import "./FormControl-BieJQuVF.js"; +import "./Select-C3fVHNH1.js"; +import "./Textarea-D12aIG7A.js"; +import "./Progress-BhvMcWvn.js"; +import "./Rating-CO0rPS4Z.js"; +import "./Spinner-C5FLE1e3.js"; +import "./Switch-EhzXzG5y.js"; +import "./TabButtons-DisK56Y9.js"; +import "./Tabs-DxBXZpL5.js"; +import "./TextEditor-P-R6n-W9.js"; +import "./Tooltip-DBXNRhEq.js"; +import "./Calendar-3A6JD7pG.js"; +import "./CircularProgressBar-Cjp8a6YQ.js"; +import "./Tree-ZlUWK-WP.js"; const _sfc_main = { __name: "ListView.story", setup(__props, { expose: __expose }) { diff --git a/assets/MobileOverlay.vue2-24879cc5.js b/assets/MobileOverlay.vue2-Dj9o_MUM.js similarity index 99% rename from assets/MobileOverlay.vue2-24879cc5.js rename to assets/MobileOverlay.vue2-Dj9o_MUM.js index 8ce686d4..d176a9cc 100644 --- a/assets/MobileOverlay.vue2-24879cc5.js +++ b/assets/MobileOverlay.vue2-Dj9o_MUM.js @@ -1,4 +1,4 @@ -import { d as defineComponent, l as resolveComponent, o as openBlock, q as createBlock, w as withCtx, f as createBaseVNode, n as normalizeClass, m as withKeys, a6 as renderSlot, a4 as mergeProps, k as watch, aw as scrollIntoView, N as onMounted, r as ref, c as computed, ar as onUnmounted, b as createElementBlock, ac as withModifiers, L as normalizeStyle, ax as useMediaQuery, t as toDisplayString, e as createVNode, g as unref, I as Icon, h as createCommentVNode, T as Transition } from "./vendor-3b8d0bfc.js"; +import { d as defineComponent, l as resolveComponent, o as openBlock, q as createBlock, w as withCtx, f as createBaseVNode, n as normalizeClass, m as withKeys, a6 as renderSlot, a4 as mergeProps, k as watch, aw as scrollIntoView, N as onMounted, r as ref, c as computed, ar as onUnmounted, b as createElementBlock, ac as withModifiers, L as normalizeStyle, ax as useMediaQuery, t as toDisplayString, e as createVNode, g as unref, I as Icon, h as createCommentVNode, T as Transition } from "./vendor-D4tQXw0h.js"; const _sfc_main$2 = defineComponent({ inheritAttrs: false, props: { diff --git a/assets/Popover-2741613b.js b/assets/Popover-DXQPMgPX.js similarity index 98% rename from assets/Popover-2741613b.js rename to assets/Popover-DXQPMgPX.js index 8e89b500..f79fd5a1 100644 --- a/assets/Popover-2741613b.js +++ b/assets/Popover-DXQPMgPX.js @@ -1,5 +1,5 @@ -import { bl as createPopper, aB as openBlock, aG as createElementBlock, aF as createBaseVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aQ as normalizeClass, aC as createBlock, aE as createVNode, aD as withCtx, b0 as withDirectives, b1 as vShow, aL as mergeProps, bm as Transition, bn as normalizeStyle, bo as Teleport } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { bl as createPopper, aB as openBlock, aG as createElementBlock, aF as createBaseVNode, bk as renderSlot, aR as normalizeProps, aS as guardReactiveProps, aQ as normalizeClass, aC as createBlock, aE as createVNode, aD as withCtx, b0 as withDirectives, b1 as vShow, aL as mergeProps, bm as Transition, bn as normalizeStyle, bo as Teleport } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = { name: "Popover", inheritAttrs: false, @@ -52,8 +52,7 @@ const _sfc_main = { } }, created() { - if (typeof window === "undefined") - return; + if (typeof window === "undefined") return; if (!document.getElementById("frappeui-popper-root")) { const root = document.createElement("div"); root.id = "frappeui-popper-root"; diff --git a/assets/Popover.story-e02114b5.js b/assets/Popover.story-oK35_SwX.js similarity index 91% rename from assets/Popover.story-e02114b5.js rename to assets/Popover.story-oK35_SwX.js index 12362ccf..4339e527 100644 --- a/assets/Popover.story-e02114b5.js +++ b/assets/Popover.story-oK35_SwX.js @@ -1,8 +1,8 @@ -import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { P as Popover } from "./Popover-2741613b.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { P as Popover } from "./Popover-DXQPMgPX.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Popover.story", setup(__props, { expose: __expose }) { diff --git a/assets/Progress-34f0c455.js b/assets/Progress-BhvMcWvn.js similarity index 97% rename from assets/Progress-34f0c455.js rename to assets/Progress-BhvMcWvn.js index 2c0ff066..adaaa670 100644 --- a/assets/Progress-34f0c455.js +++ b/assets/Progress-BhvMcWvn.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, b5 as computed, aB as openBlock, aG as createElementBlock, aN as toDisplayString, aK as Fragment, aH as createCommentVNode, aF as createBaseVNode, bk as renderSlot, bn as normalizeStyle, aJ as renderList, aQ as normalizeClass } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, b5 as computed, aB as openBlock, aG as createElementBlock, aN as toDisplayString, aK as Fragment, aH as createCommentVNode, aF as createBaseVNode, bk as renderSlot, bn as normalizeStyle, aJ as renderList, aQ as normalizeClass } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const MIN_VALUE = 0; const MAX_VALUE = 100; const _sfc_main = /* @__PURE__ */ defineComponent({ diff --git a/assets/Progress.story-60c993a3.js b/assets/Progress.story-BJ2i2Mxj.js similarity index 94% rename from assets/Progress.story-60c993a3.js rename to assets/Progress.story-BJ2i2Mxj.js index bd4dd0e3..2215e0c1 100644 --- a/assets/Progress.story-60c993a3.js +++ b/assets/Progress.story-BJ2i2Mxj.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { P as Progress } from "./Progress-34f0c455.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { P as Progress } from "./Progress-BhvMcWvn.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Progress.story", setup(__props, { expose: __expose }) { diff --git a/assets/Rating-917c1dc8.js b/assets/Rating-CO0rPS4Z.js similarity index 94% rename from assets/Rating-917c1dc8.js rename to assets/Rating-CO0rPS4Z.js index c4f5a676..dfb21c37 100644 --- a/assets/Rating-917c1dc8.js +++ b/assets/Rating-CO0rPS4Z.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, az as ref, bt as watch, aB as openBlock, aG as createElementBlock, aN as toDisplayString, aH as createCommentVNode, aF as createBaseVNode, aK as Fragment, aJ as renderList, aE as createVNode, aQ as normalizeClass } from "./vendor-3b8d0bfc.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, az as ref, bt as watch, aB as openBlock, aG as createElementBlock, aN as toDisplayString, aH as createCommentVNode, aF as createBaseVNode, aK as Fragment, aJ as renderList, aE as createVNode, aQ as normalizeClass } from "./vendor-D4tQXw0h.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Rating", props: { @@ -40,8 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ emit("update:modelValue", value); }; const markRating = (index) => { - if (props.readonly) - return; + if (props.readonly) return; emitChange(index); rating.value = index; }; diff --git a/assets/Rating.story-03415731.js b/assets/Rating.story-Dz84bAwb.js similarity index 88% rename from assets/Rating.story-03415731.js rename to assets/Rating.story-Dz84bAwb.js index 73a05b93..d2759ca9 100644 --- a/assets/Rating.story-03415731.js +++ b/assets/Rating.story-Dz84bAwb.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-3b8d0bfc.js"; -import { R as Rating } from "./Rating-917c1dc8.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aR as normalizeProps, aS as guardReactiveProps } from "./vendor-D4tQXw0h.js"; +import { R as Rating } from "./Rating-CO0rPS4Z.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Rating.story", setup(__props, { expose: __expose }) { diff --git a/assets/SearchPane.vue-4b991965.js b/assets/SearchPane.vue-DiRvuLJ0.js similarity index 98% rename from assets/SearchPane.vue-4b991965.js rename to assets/SearchPane.vue-DiRvuLJ0.js index 752ea614..0777dc4b 100644 --- a/assets/SearchPane.vue-4b991965.js +++ b/assets/SearchPane.vue-DiRvuLJ0.js @@ -1,9 +1,10 @@ -import { r as ref, k as watch, c as computed, d as defineComponent, o as openBlock, b as createElementBlock, a6 as renderSlot, n as normalizeClass, m as withKeys, q as createBlock, g as unref, I as Icon, e as createVNode, f as createBaseVNode, D as createTextVNode, t as toDisplayString, F as Fragment, p as renderList, h as createCommentVNode, u as useCssVars, aj as toRefs, ak as useRouter, w as withCtx, a2 as markRaw, cu as useFocus, cv as refDebounced, B as withDirectives, ad as vModelText, ac as withModifiers, _ as __vitePreload, cw as flexsearch_bundleExports } from "./vendor-3b8d0bfc.js"; -import { u as useStoryStore } from "./story-72ebbc17.js"; -import { B as BaseEmpty } from "./BaseEmpty.vue-3e2a06f3.js"; -import "./GenericMountStory.vue2-380be139.js"; -import { o as onKeyboardShortcut, u as useCommandStore } from "./bundle-main-7d12ce1f.js"; -import { _ as _export_sfc, u as useScrollOnActive, B as BaseListItemLink } from "./MobileOverlay.vue2-24879cc5.js"; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/search-docs-data-T4ff0iMw.js","assets/vendor-D4tQXw0h.js"])))=>i.map(i=>d[i]); +import { r as ref, k as watch, c as computed, d as defineComponent, o as openBlock, b as createElementBlock, a6 as renderSlot, n as normalizeClass, m as withKeys, q as createBlock, g as unref, I as Icon, e as createVNode, f as createBaseVNode, D as createTextVNode, t as toDisplayString, F as Fragment, p as renderList, h as createCommentVNode, u as useCssVars, aj as toRefs, ak as useRouter, w as withCtx, a2 as markRaw, cz as useFocus, cA as refDebounced, B as withDirectives, ad as vModelText, ac as withModifiers, _ as __vitePreload, cB as flexsearch_bundleExports } from "./vendor-D4tQXw0h.js"; +import { u as useStoryStore } from "./story-CDQMmp7E.js"; +import { B as BaseEmpty } from "./BaseEmpty.vue-C2Xer74E.js"; +import "./GenericMountStory.vue2-COcojfSX.js"; +import { o as onKeyboardShortcut, u as useCommandStore } from "./bundle-main-Bpr2EBZU.js"; +import { _ as _export_sfc, u as useScrollOnActive, B as BaseListItemLink } from "./MobileOverlay.vue2-Dj9o_MUM.js"; function pipeline(a, b, c, d) { if (a && (b && (a = replace(a, b)), this.matcher && (a = replace(a, this.matcher)), this.stemmer && 1 < a.length && (a = replace(a, this.stemmer)), d && 1 < a.length && (a = collapse(a)), c || "" === c)) { const b2 = a.split(c); @@ -311,7 +312,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ close: () => true }, setup(__props, { emit: __emit }) { - const DocSearchData = () => __vitePreload(() => import("./search-docs-data-325df141.js"), true ? ["assets/search-docs-data-325df141.js","assets/vendor-3b8d0bfc.js"] : void 0); + const DocSearchData = () => __vitePreload(() => import("./search-docs-data-T4ff0iMw.js"), true ? __vite__mapDeps([0,1]) : void 0); const props = __props; const emit = __emit; function close() { diff --git a/assets/Select-3d29cf81.js b/assets/Select-C3fVHNH1.js similarity index 98% rename from assets/Select-3d29cf81.js rename to assets/Select-C3fVHNH1.js index 1942f72b..01b8c072 100644 --- a/assets/Select-3d29cf81.js +++ b/assets/Select-C3fVHNH1.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, bp as useSlots, bY as useAttrs, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aH as createCommentVNode, b0 as withDirectives, b1 as vShow, aN as toDisplayString, aF as createBaseVNode, aK as Fragment, aJ as renderList, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bp as useSlots, bY as useAttrs, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aH as createCommentVNode, b0 as withDirectives, b1 as vShow, aN as toDisplayString, aF as createBaseVNode, aK as Fragment, aJ as renderList, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ ...{ inheritAttrs: false diff --git a/assets/Select.story-82098704.js b/assets/Select.story-BBa0TnUc.js similarity index 89% rename from assets/Select.story-82098704.js rename to assets/Select.story-BBa0TnUc.js index 350a870a..9907978c 100644 --- a/assets/Select.story-82098704.js +++ b/assets/Select.story-BBa0TnUc.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aF as createBaseVNode, aE as createVNode } from "./vendor-3b8d0bfc.js"; -import { S as Select } from "./Select-3d29cf81.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aF as createBaseVNode, aE as createVNode } from "./vendor-D4tQXw0h.js"; +import { S as Select } from "./Select-C3fVHNH1.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Select.story", setup(__props, { expose: __expose }) { diff --git a/assets/Spinner-88c1a215.js b/assets/Spinner-C5FLE1e3.js similarity index 87% rename from assets/Spinner-88c1a215.js rename to assets/Spinner-C5FLE1e3.js index b4b3bb22..44fe10bc 100644 --- a/assets/Spinner-88c1a215.js +++ b/assets/Spinner-C5FLE1e3.js @@ -1,6 +1,5 @@ -import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -const Spinner_vue_vue_type_style_index_0_scoped_259be2b2_lang = ""; +import { aB as openBlock, aG as createElementBlock, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = {}; const _hoisted_1 = { class: "spinner", diff --git a/assets/Spinner.story-fbe9ff5d.js b/assets/Spinner.story-CngdNela.js similarity index 90% rename from assets/Spinner.story-fbe9ff5d.js rename to assets/Spinner.story-CngdNela.js index ffed8869..ef56a2fd 100644 --- a/assets/Spinner.story-fbe9ff5d.js +++ b/assets/Spinner.story-CngdNela.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode } from "./vendor-3b8d0bfc.js"; -import { S as Spinner } from "./Spinner-88c1a215.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode } from "./vendor-D4tQXw0h.js"; +import { S as Spinner } from "./Spinner-C5FLE1e3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Spinner.story", setup(__props, { expose: __expose }) { diff --git a/assets/StoryView.vue-1064bb4a.js b/assets/StoryView.vue-ClvKyT_R.js similarity index 98% rename from assets/StoryView.vue-1064bb4a.js rename to assets/StoryView.vue-ClvKyT_R.js index 0cfdff6e..6d1f202d 100644 --- a/assets/StoryView.vue-1064bb4a.js +++ b/assets/StoryView.vue-ClvKyT_R.js @@ -1,10 +1,10 @@ -import { d as defineComponent, c as computed, o as openBlock, q as createBlock, w as withCtx, f as createBaseVNode, b as createElementBlock, F as Fragment, p as renderList, a4 as mergeProps, a6 as renderSlot, D as createTextVNode, t as toDisplayString, e as createVNode, g as unref, I as Icon, a7 as Dropdown, a8 as clone, a9 as omit, j as useStorage, N as onMounted, r as ref, aa as useTimeoutFn, ab as onClickOutside, A as resolveDirective, B as withDirectives, ac as withModifiers, ad as vModelText, h as createCommentVNode, v as isRef, m as withKeys, n as normalizeClass, X as applyState, ae as nextTick, af as Mm, ag as gm, ah as ym, ai as wm, a5 as resolveDynamicComponent, k as watch, K as reactive, _ as __vitePreload, aj as toRefs, ak as useRouter, a as useRoute, a3 as watchEffect, y as histoireConfig, l as resolveComponent, a2 as markRaw, al as shallowRef, am as unindent, an as getHighlighter, x as isDark, ao as Am, E as pushScopeId, G as popScopeId, T as Transition, ap as useResizeObserver, V as h, aq as onBeforeUnmount, u as useCssVars, i as defineStore, L as normalizeStyle, ar as onUnmounted, as as VTooltip, at as createStaticVNode, s as useEventListener, W as SANDBOX_READY, au as EVENT_SEND, S as STATE_SYNC, U as PREVIEW_SETTINGS_SYNC, av as toRaw } from "./vendor-3b8d0bfc.js"; -import { u as useStoryStore } from "./story-72ebbc17.js"; -import { _ as _export_sfc, b as BaseSplitPane, u as useScrollOnActive, B as BaseListItemLink, i as isMobile, a as _sfc_main$A } from "./MobileOverlay.vue2-24879cc5.js"; -import { B as BaseEmpty } from "./BaseEmpty.vue-3e2a06f3.js"; -import { t as toRawDeep, _ as _sfc_main$z, g as getContrastColor } from "./state-7e0f8f65.js"; -import { useEventsStore } from "./events-970646f9.js"; -import { c as clientSupportPlugins, b as base } from "./GenericMountStory.vue2-380be139.js"; +import { d as defineComponent, c as computed, o as openBlock, q as createBlock, w as withCtx, f as createBaseVNode, b as createElementBlock, F as Fragment, p as renderList, a4 as mergeProps, a6 as renderSlot, D as createTextVNode, t as toDisplayString, e as createVNode, g as unref, I as Icon, a7 as Dropdown, a8 as clone, a9 as omit, j as useStorage, N as onMounted, r as ref, aa as useTimeoutFn, ab as onClickOutside, A as resolveDirective, B as withDirectives, ac as withModifiers, ad as vModelText, h as createCommentVNode, v as isRef, m as withKeys, n as normalizeClass, X as applyState, ae as nextTick, af as Mm, ag as gm, ah as ym, ai as wm, a5 as resolveDynamicComponent, k as watch, K as reactive, _ as __vitePreload, aj as toRefs, ak as useRouter, a as useRoute, a3 as watchEffect, y as histoireConfig, l as resolveComponent, a2 as markRaw, al as shallowRef, am as unindent, an as getHighlighter, x as isDark, ao as Am, E as pushScopeId, G as popScopeId, T as Transition, ap as useResizeObserver, V as h, aq as onBeforeUnmount, u as useCssVars, i as defineStore, L as normalizeStyle, ar as onUnmounted, as as VTooltip, at as createStaticVNode, s as useEventListener, W as SANDBOX_READY, au as EVENT_SEND, S as STATE_SYNC, U as PREVIEW_SETTINGS_SYNC, av as toRaw } from "./vendor-D4tQXw0h.js"; +import { u as useStoryStore } from "./story-CDQMmp7E.js"; +import { _ as _export_sfc, b as BaseSplitPane, u as useScrollOnActive, B as BaseListItemLink, i as isMobile, a as _sfc_main$A } from "./MobileOverlay.vue2-Dj9o_MUM.js"; +import { B as BaseEmpty } from "./BaseEmpty.vue-C2Xer74E.js"; +import { t as toRawDeep, _ as _sfc_main$z, g as getContrastColor } from "./state--_Qo4xi1.js"; +import { useEventsStore } from "./events-D-ZUGuyO.js"; +import { c as clientSupportPlugins, b as base } from "./GenericMountStory.vue2-COcojfSX.js"; const _hoisted_1$t = { class: "htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw-h-[27px] -htw-my-1 htw-border htw-border-solid htw-border-black/25 dark:htw-border-white/25 hover:htw-border-primary-500 dark:hover:htw-border-primary-500 htw-rounded-sm htw-flex htw-gap-2 htw-items-center htw-leading-normal" }; const _hoisted_2$j = { class: "htw-flex-1 htw-truncate" }; const _hoisted_3$f = { class: "htw-flex htw-flex-col htw-bg-gray-50 dark:htw-bg-gray-700" }; @@ -516,7 +516,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({ }; } }); -const markdownFiles = reactive({ "docs/Getting Started.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-getting-started-story-md-0263a56d.js"), true ? [] : void 0), "docs/Introduction.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-introduction-story-md-9fcba4d6.js"), true ? [] : void 0), "docs/other/Directives.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-other-directives-story-md-bc32852a.js"), true ? [] : void 0), "docs/other/Utilities.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-other-utilities-story-md-57182c5f.js"), true ? [] : void 0), "docs/resources/Document Resource.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-resources-document-resource-story-md-1fb97ebd.js"), true ? [] : void 0), "docs/resources/List Resource.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-resources-list-resource-story-md-fdf1addd.js"), true ? [] : void 0), "docs/resources/Resource.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-resources-resource-story-md-19e16437.js"), true ? [] : void 0), "src/components/Calendar.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-calendar-story-md-7a625852.js"), true ? [] : void 0), "src/components/CircularProgressBar.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-circularprogressbar-story-md-353eb4c4.js"), true ? [] : void 0), "src/components/ListView.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-listview-story-md-9c29c9f8.js"), true ? [] : void 0), "src/components/Tabs.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-tabs-story-md-79477014.js"), true ? [] : void 0), "src/components/Tree/Tree.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-tree-tree-story-md-ced3317e.js"), true ? [] : void 0) }); +const markdownFiles = reactive({ "docs/Getting Started.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-getting-started-story-md-kDcJdi4c.js"), true ? [] : void 0), "docs/Introduction.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-introduction-story-md-CyMP8lHi.js"), true ? [] : void 0), "docs/other/Directives.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-other-directives-story-md-B6IRJ284.js"), true ? [] : void 0), "docs/other/Utilities.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-other-utilities-story-md-BTiNRpSS.js"), true ? [] : void 0), "docs/resources/Document Resource.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-resources-document-resource-story-md-BESClQIY.js"), true ? [] : void 0), "docs/resources/List Resource.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-resources-list-resource-story-md-BZYoAS8G.js"), true ? [] : void 0), "docs/resources/Resource.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_docs-resources-resource-story-md-nd0ceVHd.js"), true ? [] : void 0), "src/components/Calendar.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-calendar-story-md-CALP67g4.js"), true ? [] : void 0), "src/components/CircularProgressBar.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-circularprogressbar-story-md-Ddei3U3u.js"), true ? [] : void 0), "src/components/ListView.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-listview-story-md-CvlCmw0V.js"), true ? [] : void 0), "src/components/Tabs.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-tabs-story-md-BZ5fUQRr.js"), true ? [] : void 0), "src/components/Tree/Tree.story.md": () => __vitePreload(() => import("./__resolved__virtual_md_src-components-tree-tree-story-md-WV9FeghV.js"), true ? [] : void 0) }); const _hoisted_1$o = ["innerHTML"]; function useStoryDoc(story) { const renderedDoc = ref(""); diff --git a/assets/Switch-5737c75f.js b/assets/Switch-EhzXzG5y.js similarity index 95% rename from assets/Switch-5737c75f.js rename to assets/Switch-EhzXzG5y.js index ebb8c061..5f10d788 100644 --- a/assets/Switch-5737c75f.js +++ b/assets/Switch-EhzXzG5y.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, br as computed, ce as ue, cf as ce, cg as oe, ch as de, aB as openBlock, aC as createBlock, aD as withCtx, aF as createBaseVNode, aQ as normalizeClass, aM as createTextVNode, aN as toDisplayString, aH as createCommentVNode, aE as createVNode, ci as withKeys, bz as withModifiers } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, br as computed, cj as ue, ck as ce, cl as oe, cm as de, aB as openBlock, aC as createBlock, aD as withCtx, aF as createBaseVNode, aQ as normalizeClass, aM as createTextVNode, aN as toDisplayString, aH as createCommentVNode, aE as createVNode, cn as withKeys, bz as withModifiers } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; var SwitchVariant = /* @__PURE__ */ ((SwitchVariant2) => { SwitchVariant2[SwitchVariant2["DEFAULT"] = 0] = "DEFAULT"; SwitchVariant2[SwitchVariant2["ONLY_LABEL"] = 1] = "ONLY_LABEL"; diff --git a/assets/Switch.story-3f4f73a7.js b/assets/Switch.story-B-8I_zl2.js similarity index 92% rename from assets/Switch.story-3f4f73a7.js rename to assets/Switch.story-B-8I_zl2.js index 19943233..b59bcf21 100644 --- a/assets/Switch.story-3f4f73a7.js +++ b/assets/Switch.story-B-8I_zl2.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, aI as reactive, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { S as Switch } from "./Switch-5737c75f.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aI as reactive, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { S as Switch } from "./Switch-EhzXzG5y.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Switch.story", setup(__props, { expose: __expose }) { diff --git a/assets/TabButtons-70dba38d.js b/assets/TabButtons-DisK56Y9.js similarity index 95% rename from assets/TabButtons-70dba38d.js rename to assets/TabButtons-DisK56Y9.js index fd765a67..df94c9c5 100644 --- a/assets/TabButtons-70dba38d.js +++ b/assets/TabButtons-DisK56Y9.js @@ -1,6 +1,6 @@ -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { bQ as he, bR as Oe, bS as ke, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aF as createBaseVNode, aG as createElementBlock, aK as Fragment, aJ as renderList, aQ as normalizeClass, aH as createCommentVNode, b0 as withDirectives, aE as createVNode, aM as createTextVNode, aN as toDisplayString, b1 as vShow } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { bQ as he, bR as Oe, bS as ke, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aF as createBaseVNode, aG as createElementBlock, aK as Fragment, aJ as renderList, aQ as normalizeClass, aH as createCommentVNode, b0 as withDirectives, aE as createVNode, aM as createTextVNode, aN as toDisplayString, b1 as vShow } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = { name: "TabButtons", props: { diff --git a/assets/TabButtons.story-a70a9328.js b/assets/TabButtons.story-C_2f9pXE.js similarity index 88% rename from assets/TabButtons.story-a70a9328.js rename to assets/TabButtons.story-C_2f9pXE.js index 60a9896d..0a3c6b56 100644 --- a/assets/TabButtons.story-a70a9328.js +++ b/assets/TabButtons.story-C_2f9pXE.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { T as TabButtons } from "./TabButtons-70dba38d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { T as TabButtons } from "./TabButtons-DisK56Y9.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "TabButtons.story", setup(__props, { expose: __expose }) { diff --git a/assets/Tabs-9a591bab.js b/assets/Tabs-DxBXZpL5.js similarity index 97% rename from assets/Tabs-9a591bab.js rename to assets/Tabs-DxBXZpL5.js index a34df80a..25788a72 100644 --- a/assets/Tabs-9a591bab.js +++ b/assets/Tabs-DxBXZpL5.js @@ -1,5 +1,5 @@ -import { br as computed, az as ref, bt as watch, bu as nextTick, bG as onMounted, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aQ as normalizeClass, aG as createElementBlock, aK as Fragment, aJ as renderList, bk as renderSlot, aL as mergeProps, aF as createBaseVNode, a$ as resolveDynamicComponent, aH as createCommentVNode, aM as createTextVNode, aN as toDisplayString, bn as normalizeStyle, cj as me, ck as pe, cl as xe, cm as Ie, cn as ye } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { br as computed, az as ref, bt as watch, bu as nextTick, bG as onMounted, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aQ as normalizeClass, aG as createElementBlock, aK as Fragment, aJ as renderList, bk as renderSlot, aL as mergeProps, aF as createBaseVNode, a$ as resolveDynamicComponent, aH as createCommentVNode, aM as createTextVNode, aN as toDisplayString, bn as normalizeStyle, co as me, cp as pe, cq as xe, cr as Ie, cs as ye } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = { __name: "Tabs", props: { diff --git a/assets/Tabs.story-78172797.js b/assets/Tabs.story-BQasdpxX.js similarity index 95% rename from assets/Tabs.story-78172797.js rename to assets/Tabs.story-BQasdpxX.js index 336b92c4..8133d14b 100644 --- a/assets/Tabs.story-78172797.js +++ b/assets/Tabs.story-BQasdpxX.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, aI as reactive, aP as h, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aN as toDisplayString } from "./vendor-3b8d0bfc.js"; -import { T as Tabs } from "./Tabs-9a591bab.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, aI as reactive, aP as h, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aN as toDisplayString } from "./vendor-D4tQXw0h.js"; +import { T as Tabs } from "./Tabs-DxBXZpL5.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Tabs.story", setup(__props, { expose: __expose }) { diff --git a/assets/TextEditor-c37a329b.js b/assets/TextEditor-P-R6n-W9.js similarity index 95% rename from assets/TextEditor-c37a329b.js rename to assets/TextEditor-P-R6n-W9.js index 9cc393bb..c0c61095 100644 --- a/assets/TextEditor-c37a329b.js +++ b/assets/TextEditor-P-R6n-W9.js @@ -1,6 +1,7 @@ -import { aU as Node, aV as mergeAttributes, aW as nodeInputRule, aX as Plugin, aB as openBlock, aG as createElementBlock, aK as Fragment, aJ as renderList, aQ as normalizeClass, aN as toDisplayString, aH as createCommentVNode, aY as Mention, aZ as VueRenderer, a_ as tippy, aA as resolveComponent, aF as createBaseVNode, aE as createVNode, aD as withCtx, aC as createBlock, a$ as resolveDynamicComponent, b0 as withDirectives, b1 as vShow, aL as mergeProps, Z as defineAsyncComponent, _ as __vitePreload, b2 as BubbleMenu, b3 as FloatingMenu, b4 as showdown, aT as EditorContent, b5 as computed, b6 as Editor, b7 as StarterKit, b8 as Table$1, b9 as TableRow, ba as TableHeader, bb as TableCell, bc as Typography, bd as TextAlign, be as TextStyle, bf as Color, bg as Highlight, bh as Link$1, bi as Placeholder, bj as DOMParser, bk as renderSlot } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import { P as Popover } from "./Popover-2741613b.js"; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FontColor-MAIwHdLk.js","assets/Popover-DXQPMgPX.js","assets/vendor-D4tQXw0h.js","assets/_plugin-vue_export-helper-1tPrXgE0.js","assets/ListRow-3IluqNTE.js","assets/Checkbox-D_YjUOsx.js","assets/Autocomplete-Dy3gPyuT.js","assets/Button-CeJ2Oqur.js","assets/FeatherIcon-BDzageq3.js","assets/Avatar-DIa5TA7o.js","assets/Badge-CTqCBk9r.js","assets/Breadcrumbs-C50t6-En.js","assets/Dropdown-BczQWD8o.js","assets/DateRangePicker-D0hHZ8KV.js","assets/TextInput-DNISJZg6.js","assets/debounce-CRCtzhPg.js","assets/Dialog-ZcNZygUg.js","assets/ErrorMessage-Bk7yVn0z.js","assets/FileUploader-CO9bL3Wu.js","assets/FormControl-BieJQuVF.js","assets/Select-C3fVHNH1.js","assets/Textarea-D12aIG7A.js","assets/Progress-BhvMcWvn.js","assets/Rating-CO0rPS4Z.js","assets/Spinner-C5FLE1e3.js","assets/Switch-EhzXzG5y.js","assets/TabButtons-DisK56Y9.js","assets/Tabs-DxBXZpL5.js","assets/Tooltip-DBXNRhEq.js","assets/Calendar-3A6JD7pG.js","assets/CircularProgressBar-Cjp8a6YQ.js","assets/Tree-ZlUWK-WP.js","assets/InsertLink-C1HUD_qc.js","assets/InsertImage-B-hPJX2H.js","assets/InsertVideo-Bw_K6fdC.js"])))=>i.map(i=>d[i]); +import { aU as Node, aV as mergeAttributes, aW as nodeInputRule, aX as Plugin, aB as openBlock, aG as createElementBlock, aK as Fragment, aJ as renderList, aQ as normalizeClass, aN as toDisplayString, aH as createCommentVNode, aY as Mention, aZ as VueRenderer, a_ as tippy, aA as resolveComponent, aF as createBaseVNode, aE as createVNode, aD as withCtx, aC as createBlock, a$ as resolveDynamicComponent, b0 as withDirectives, b1 as vShow, aL as mergeProps, Z as defineAsyncComponent, _ as __vitePreload, b2 as BubbleMenu, b3 as FloatingMenu, b4 as showdown, aT as EditorContent, b5 as computed, b6 as Editor, b7 as StarterKit, b8 as Table$1, b9 as TableRow, ba as TableHeader, bb as TableCell, bc as Typography, bd as TextAlign, be as TextStyle, bf as Color, bg as Highlight, bh as Link$1, bi as Placeholder, bj as DOMParser, bk as renderSlot } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import { P as Popover } from "./Popover-DXQPMgPX.js"; const fileToBase64 = (file) => { return new Promise((resolve) => { let reader = new FileReader(); @@ -84,8 +85,7 @@ const dropImagePlugin = () => { const { schema } = view.state; items.forEach((item) => { const image = item.getAsFile(); - if (!image) - return; + if (!image) return; if (item.type.indexOf("image") === 0) { event.preventDefault(); fileToBase64(image).then((base64) => { @@ -118,8 +118,7 @@ const dropImagePlugin = () => { left: event.clientX, top: event.clientY }); - if (!coordinates) - return false; + if (!coordinates) return false; images.forEach(async (image) => { fileToBase64(image).then((base64) => { const node = schema.nodes.image.create({ @@ -183,7 +182,6 @@ const Video$1 = Node.create({ }; } }); -const MentionList_vue_vue_type_style_index_0_lang = ""; const _sfc_main$u = { props: { items: { @@ -1408,7 +1406,7 @@ const commands = { label: "Font Color", icon: FontColor, isActive: (editor) => editor.isActive("textStyle") || editor.isActive("highlight"), - component: defineAsyncComponent(() => __vitePreload(() => import("./FontColor-b5f32016.js"), true ? ["assets/FontColor-b5f32016.js","assets/Popover-2741613b.js","assets/vendor-3b8d0bfc.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/ListRow-3143822c.js","assets/Checkbox-71f5c4b5.js","assets/Autocomplete-f413d8b8.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/Avatar-3a22144c.js","assets/Badge-17025005.js","assets/Breadcrumbs-d74d80a2.js","assets/Dropdown-ec4939d7.js","assets/DateRangePicker-1b600c7c.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js","assets/Dialog-d377ea2d.js","assets/ErrorMessage-fdb57532.js","assets/FileUploader-fb8fc169.js","assets/FormControl-ada8b7f2.js","assets/Select-3d29cf81.js","assets/Textarea-2f1c001e.js","assets/Progress-34f0c455.js","assets/Rating-917c1dc8.js","assets/Spinner-88c1a215.js","assets/Switch-5737c75f.js","assets/TabButtons-70dba38d.js","assets/Tabs-9a591bab.js","assets/Tooltip-66625621.js","assets/Calendar-4afba67f.js","assets/CircularProgressBar-4bd9a733.js","assets/Tree-28d2a2e5.js"] : void 0)) + component: defineAsyncComponent(() => __vitePreload(() => import("./FontColor-MAIwHdLk.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]) : void 0)) }, Blockquote: { label: "Blockquote", @@ -1432,19 +1430,19 @@ const commands = { label: "Link", icon: Link, isActive: (editor) => editor.isActive("link"), - component: defineAsyncComponent(() => __vitePreload(() => import("./InsertLink-b90fb9fe.js"), true ? ["assets/InsertLink-b90fb9fe.js","assets/Dialog-d377ea2d.js","assets/vendor-3b8d0bfc.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/FormControl-ada8b7f2.js","assets/Checkbox-71f5c4b5.js","assets/TextInput-f8aeff24.js","assets/debounce-d11286cd.js","assets/Select-3d29cf81.js","assets/Textarea-2f1c001e.js","assets/Autocomplete-f413d8b8.js","assets/Popover-2741613b.js"] : void 0)) + component: defineAsyncComponent(() => __vitePreload(() => import("./InsertLink-C1HUD_qc.js"), true ? __vite__mapDeps([32,16,2,7,8,3,19,5,14,15,20,21,6,1]) : void 0)) }, Image: { label: "Image", icon: Image, isActive: (editor) => false, - component: defineAsyncComponent(() => __vitePreload(() => import("./InsertImage-625e6379.js"), true ? ["assets/InsertImage-625e6379.js","assets/Dialog-d377ea2d.js","assets/vendor-3b8d0bfc.js","assets/Button-f8ca7b7d.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Popover-2741613b.js"] : void 0)) + component: defineAsyncComponent(() => __vitePreload(() => import("./InsertImage-B-hPJX2H.js"), true ? __vite__mapDeps([33,16,2,7,8,3,1]) : void 0)) }, Video: { label: "Video", icon: Video, isActive: (editor) => false, - component: defineAsyncComponent(() => __vitePreload(() => import("./InsertVideo-127b253a.js"), true ? ["assets/InsertVideo-127b253a.js","assets/Button-f8ca7b7d.js","assets/vendor-3b8d0bfc.js","assets/FeatherIcon-dfb91a0c.js","assets/_plugin-vue_export-helper-cc2b3d55.js","assets/Dialog-d377ea2d.js","assets/FileUploader-fb8fc169.js"] : void 0)) + component: defineAsyncComponent(() => __vitePreload(() => import("./InsertVideo-Bw_K6fdC.js"), true ? __vite__mapDeps([34,7,2,8,3,16,18]) : void 0)) }, Undo: { label: "Undo", @@ -1556,8 +1554,7 @@ const _sfc_main$3 = { inject: ["editor"], computed: { fixedMenuButtons() { - if (!this.buttons) - return false; + if (!this.buttons) return false; let buttons; if (Array.isArray(this.buttons)) { buttons = this.buttons; @@ -1630,8 +1627,7 @@ const _sfc_main$2 = { inject: ["editor"], computed: { bubbleMenuButtons() { - if (!this.buttons) - return false; + if (!this.buttons) return false; let buttons; if (Array.isArray(this.buttons)) { buttons = this.buttons; @@ -1701,8 +1697,7 @@ const _sfc_main$1 = { inject: ["editor"], computed: { floatingMenuButtons() { - if (!this.buttons) - return false; + if (!this.buttons) return false; let buttons; if (Array.isArray(this.buttons)) { buttons = this.buttons; @@ -1787,7 +1782,6 @@ function detectMarkdown(text) { ); return markdown.length > 0; } -const TextEditor_vue_vue_type_style_index_0_lang = ""; const _sfc_main = { name: "TextEditor", inheritAttrs: false, @@ -1935,8 +1929,7 @@ const _sfc_main = { ]) }, clipboardTextParser: (text, $context) => { - if (!detectMarkdown(text)) - return; + if (!detectMarkdown(text)) return; if (!confirm( "Do you want to convert markdown content to HTML before pasting?" )) diff --git a/assets/TextEditor.story-02eef4f2.js b/assets/TextEditor.story-CCu9ec25.js similarity index 94% rename from assets/TextEditor.story-02eef4f2.js rename to assets/TextEditor.story-CCu9ec25.js index 324bf516..fccf7384 100644 --- a/assets/TextEditor.story-02eef4f2.js +++ b/assets/TextEditor.story-CCu9ec25.js @@ -1,9 +1,9 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aT as EditorContent, aE as createVNode, aF as createBaseVNode, aM as createTextVNode } from "./vendor-3b8d0bfc.js"; -import { T as TextEditor, a as TextEditorFixedMenu } from "./TextEditor-c37a329b.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./Popover-2741613b.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aT as EditorContent, aE as createVNode, aF as createBaseVNode, aM as createTextVNode } from "./vendor-D4tQXw0h.js"; +import { T as TextEditor, a as TextEditorFixedMenu } from "./TextEditor-P-R6n-W9.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./Popover-DXQPMgPX.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "TextEditor.story", setup(__props, { expose: __expose }) { diff --git a/assets/TextInput-f8aeff24.js b/assets/TextInput-DNISJZg6.js similarity index 97% rename from assets/TextInput-f8aeff24.js rename to assets/TextInput-DNISJZg6.js index 2540cd48..cf63d39e 100644 --- a/assets/TextInput-f8aeff24.js +++ b/assets/TextInput-DNISJZg6.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, bp as useSlots, bY as useAttrs, br as computed, az as ref, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aH as createCommentVNode, aF as createBaseVNode, aL as mergeProps, bn as normalizeStyle } from "./vendor-3b8d0bfc.js"; -import { d as debounce } from "./debounce-d11286cd.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bp as useSlots, bY as useAttrs, br as computed, az as ref, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, bk as renderSlot, aH as createCommentVNode, aF as createBaseVNode, aL as mergeProps, bn as normalizeStyle } from "./vendor-D4tQXw0h.js"; +import { d as debounce } from "./debounce-CRCtzhPg.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ ...{ inheritAttrs: false diff --git a/assets/TextInput.story-bfae771c.js b/assets/TextInput.story-BSOI6HNI.js similarity index 94% rename from assets/TextInput.story-bfae771c.js rename to assets/TextInput.story-BSOI6HNI.js index 80fdafe2..ca23b93b 100644 --- a/assets/TextInput.story-bfae771c.js +++ b/assets/TextInput.story-BSOI6HNI.js @@ -1,9 +1,9 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { T as TextInput } from "./TextInput-f8aeff24.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { A as Avatar } from "./Avatar-3a22144c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./debounce-d11286cd.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { T as TextInput } from "./TextInput-DNISJZg6.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { A as Avatar } from "./Avatar-DIa5TA7o.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./debounce-CRCtzhPg.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "TextInput.story", setup(__props, { expose: __expose }) { diff --git a/assets/Textarea-2f1c001e.js b/assets/Textarea-D12aIG7A.js similarity index 95% rename from assets/Textarea-2f1c001e.js rename to assets/Textarea-D12aIG7A.js index a178087d..e568079c 100644 --- a/assets/Textarea-2f1c001e.js +++ b/assets/Textarea-D12aIG7A.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, bY as useAttrs, az as ref, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, aN as toDisplayString, aH as createCommentVNode, aF as createBaseVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { d as debounce } from "./debounce-d11286cd.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bY as useAttrs, az as ref, br as computed, aB as openBlock, aG as createElementBlock, aQ as normalizeClass, aN as toDisplayString, aH as createCommentVNode, aF as createBaseVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { d as debounce } from "./debounce-CRCtzhPg.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Textarea", props: { diff --git a/assets/Textarea.story-e2109eb4.js b/assets/Textarea.story-yUox3W_3.js similarity index 93% rename from assets/Textarea.story-e2109eb4.js rename to assets/Textarea.story-yUox3W_3.js index 7e2f63bc..957d39d4 100644 --- a/assets/Textarea.story-e2109eb4.js +++ b/assets/Textarea.story-yUox3W_3.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { T as Textarea } from "./Textarea-2f1c001e.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./debounce-d11286cd.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aG as createElementBlock, aJ as renderList, aK as Fragment, aF as createBaseVNode, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { T as Textarea } from "./Textarea-D12aIG7A.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./debounce-CRCtzhPg.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Textarea.story", setup(__props, { expose: __expose }) { diff --git a/assets/Tooltip-66625621.js b/assets/Tooltip-DBXNRhEq.js similarity index 92% rename from assets/Tooltip-66625621.js rename to assets/Tooltip-DBXNRhEq.js index 5bf04a14..ad9a4387 100644 --- a/assets/Tooltip-66625621.js +++ b/assets/Tooltip-DBXNRhEq.js @@ -1,5 +1,5 @@ -import { ay as defineComponent, br as computed, co as Og, cp as kg, cq as Lg, cr as Mg, cs as Vg, ct as Fg, bk as renderSlot, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aN as toDisplayString, aQ as normalizeClass, aH as createCommentVNode } from "./vendor-3b8d0bfc.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, br as computed, ct as Og, cu as kg, cv as Lg, cw as Mg, cx as Vg, cy as Fg, bk as renderSlot, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aF as createBaseVNode, aN as toDisplayString, aQ as normalizeClass, aH as createCommentVNode } from "./vendor-D4tQXw0h.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ ...{ inheritAttrs: false diff --git a/assets/Tooltip.story-b4cb3ec6.js b/assets/Tooltip.story-DSouLhoF.js similarity index 94% rename from assets/Tooltip.story-b4cb3ec6.js rename to assets/Tooltip.story-DSouLhoF.js index bcfb9ee5..ec283367 100644 --- a/assets/Tooltip.story-b4cb3ec6.js +++ b/assets/Tooltip.story-DSouLhoF.js @@ -1,8 +1,8 @@ -import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aF as createBaseVNode } from "./vendor-3b8d0bfc.js"; -import { T as Tooltip } from "./Tooltip-66625621.js"; -import { B as Button } from "./Button-f8ca7b7d.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, az as ref, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode, aM as createTextVNode, aF as createBaseVNode } from "./vendor-D4tQXw0h.js"; +import { T as Tooltip } from "./Tooltip-DBXNRhEq.js"; +import { B as Button } from "./Button-CeJ2Oqur.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Tooltip.story", setup(__props, { expose: __expose }) { diff --git a/assets/Tree-28d2a2e5.js b/assets/Tree-ZlUWK-WP.js similarity index 96% rename from assets/Tree-28d2a2e5.js rename to assets/Tree-ZlUWK-WP.js index ad060f29..3917d468 100644 --- a/assets/Tree-28d2a2e5.js +++ b/assets/Tree-ZlUWK-WP.js @@ -1,6 +1,6 @@ -import { ay as defineComponent, bp as useSlots, az as ref, br as computed, bG as onMounted, aA as resolveComponent, aB as openBlock, aG as createElementBlock, aH as createCommentVNode, bk as renderSlot, aF as createBaseVNode, aR as normalizeProps, aS as guardReactiveProps, aC as createBlock, aQ as normalizeClass, aN as toDisplayString, bn as normalizeStyle, aK as Fragment, aJ as renderList, aE as createVNode, aD as withCtx, aL as mergeProps } from "./vendor-3b8d0bfc.js"; -import { F as FeatherIcon } from "./FeatherIcon-dfb91a0c.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; +import { ay as defineComponent, bp as useSlots, az as ref, br as computed, bG as onMounted, aA as resolveComponent, aB as openBlock, aG as createElementBlock, aH as createCommentVNode, bk as renderSlot, aF as createBaseVNode, aR as normalizeProps, aS as guardReactiveProps, aC as createBlock, aQ as normalizeClass, aN as toDisplayString, bn as normalizeStyle, aK as Fragment, aJ as renderList, aE as createVNode, aD as withCtx, aL as mergeProps } from "./vendor-D4tQXw0h.js"; +import { F as FeatherIcon } from "./FeatherIcon-BDzageq3.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Tree", props: { @@ -25,8 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({ const iconRef = ref(null); const toggleCollapsed = (event) => { event.stopPropagation(); - if (hasChildren.value) - isCollapsed.value = !isCollapsed.value; + if (hasChildren.value) isCollapsed.value = !isCollapsed.value; }; onMounted(() => { var _a; diff --git a/assets/Tree.story-83745fe0.js b/assets/Tree.story-CPcOor8H.js similarity index 94% rename from assets/Tree.story-83745fe0.js rename to assets/Tree.story-CPcOor8H.js index d3b86b74..c7f475f4 100644 --- a/assets/Tree.story-83745fe0.js +++ b/assets/Tree.story-CPcOor8H.js @@ -1,7 +1,7 @@ -import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode } from "./vendor-3b8d0bfc.js"; -import { T as Tree } from "./Tree-28d2a2e5.js"; -import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js"; -import "./FeatherIcon-dfb91a0c.js"; +import { ay as defineComponent, aI as reactive, aA as resolveComponent, aB as openBlock, aC as createBlock, aD as withCtx, aE as createVNode } from "./vendor-D4tQXw0h.js"; +import { T as Tree } from "./Tree-ZlUWK-WP.js"; +import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js"; +import "./FeatherIcon-BDzageq3.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Tree.story", setup(__props, { expose: __expose }) { diff --git a/assets/__resolved__virtual_md_docs-getting-started-story-md-0263a56d.js b/assets/__resolved__virtual_md_docs-getting-started-story-md-kDcJdi4c.js similarity index 100% rename from assets/__resolved__virtual_md_docs-getting-started-story-md-0263a56d.js rename to assets/__resolved__virtual_md_docs-getting-started-story-md-kDcJdi4c.js diff --git a/assets/__resolved__virtual_md_docs-introduction-story-md-9fcba4d6.js b/assets/__resolved__virtual_md_docs-introduction-story-md-CyMP8lHi.js similarity index 100% rename from assets/__resolved__virtual_md_docs-introduction-story-md-9fcba4d6.js rename to assets/__resolved__virtual_md_docs-introduction-story-md-CyMP8lHi.js diff --git a/assets/__resolved__virtual_md_docs-other-directives-story-md-bc32852a.js b/assets/__resolved__virtual_md_docs-other-directives-story-md-B6IRJ284.js similarity index 100% rename from assets/__resolved__virtual_md_docs-other-directives-story-md-bc32852a.js rename to assets/__resolved__virtual_md_docs-other-directives-story-md-B6IRJ284.js diff --git a/assets/__resolved__virtual_md_docs-other-utilities-story-md-57182c5f.js b/assets/__resolved__virtual_md_docs-other-utilities-story-md-BTiNRpSS.js similarity index 100% rename from assets/__resolved__virtual_md_docs-other-utilities-story-md-57182c5f.js rename to assets/__resolved__virtual_md_docs-other-utilities-story-md-BTiNRpSS.js diff --git a/assets/__resolved__virtual_md_docs-resources-document-resource-story-md-1fb97ebd.js b/assets/__resolved__virtual_md_docs-resources-document-resource-story-md-BESClQIY.js similarity index 100% rename from assets/__resolved__virtual_md_docs-resources-document-resource-story-md-1fb97ebd.js rename to assets/__resolved__virtual_md_docs-resources-document-resource-story-md-BESClQIY.js diff --git a/assets/__resolved__virtual_md_docs-resources-list-resource-story-md-fdf1addd.js b/assets/__resolved__virtual_md_docs-resources-list-resource-story-md-BZYoAS8G.js similarity index 100% rename from assets/__resolved__virtual_md_docs-resources-list-resource-story-md-fdf1addd.js rename to assets/__resolved__virtual_md_docs-resources-list-resource-story-md-BZYoAS8G.js diff --git a/assets/__resolved__virtual_md_docs-resources-resource-story-md-19e16437.js b/assets/__resolved__virtual_md_docs-resources-resource-story-md-nd0ceVHd.js similarity index 100% rename from assets/__resolved__virtual_md_docs-resources-resource-story-md-19e16437.js rename to assets/__resolved__virtual_md_docs-resources-resource-story-md-nd0ceVHd.js diff --git a/assets/__resolved__virtual_md_src-components-calendar-story-md-7a625852.js b/assets/__resolved__virtual_md_src-components-calendar-story-md-CALP67g4.js similarity index 100% rename from assets/__resolved__virtual_md_src-components-calendar-story-md-7a625852.js rename to assets/__resolved__virtual_md_src-components-calendar-story-md-CALP67g4.js diff --git a/assets/__resolved__virtual_md_src-components-circularprogressbar-story-md-353eb4c4.js b/assets/__resolved__virtual_md_src-components-circularprogressbar-story-md-Ddei3U3u.js similarity index 100% rename from assets/__resolved__virtual_md_src-components-circularprogressbar-story-md-353eb4c4.js rename to assets/__resolved__virtual_md_src-components-circularprogressbar-story-md-Ddei3U3u.js diff --git a/assets/__resolved__virtual_md_src-components-listview-story-md-9c29c9f8.js b/assets/__resolved__virtual_md_src-components-listview-story-md-CvlCmw0V.js similarity index 100% rename from assets/__resolved__virtual_md_src-components-listview-story-md-9c29c9f8.js rename to assets/__resolved__virtual_md_src-components-listview-story-md-CvlCmw0V.js diff --git a/assets/__resolved__virtual_md_src-components-tabs-story-md-79477014.js b/assets/__resolved__virtual_md_src-components-tabs-story-md-BZ5fUQRr.js similarity index 100% rename from assets/__resolved__virtual_md_src-components-tabs-story-md-79477014.js rename to assets/__resolved__virtual_md_src-components-tabs-story-md-BZ5fUQRr.js diff --git a/assets/__resolved__virtual_md_src-components-tree-tree-story-md-ced3317e.js b/assets/__resolved__virtual_md_src-components-tree-tree-story-md-WV9FeghV.js similarity index 100% rename from assets/__resolved__virtual_md_src-components-tree-tree-story-md-ced3317e.js rename to assets/__resolved__virtual_md_src-components-tree-tree-story-md-WV9FeghV.js diff --git a/assets/__resolved__virtual_story-source_docs-getting-started-story-js-45d4106b.js b/assets/__resolved__virtual_story-source_docs-getting-started-story-js-BatIKXPo.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-getting-started-story-js-45d4106b.js rename to assets/__resolved__virtual_story-source_docs-getting-started-story-js-BatIKXPo.js diff --git a/assets/__resolved__virtual_story-source_docs-introduction-story-js-d8af5981.js b/assets/__resolved__virtual_story-source_docs-introduction-story-js-Dbz7qKA-.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-introduction-story-js-d8af5981.js rename to assets/__resolved__virtual_story-source_docs-introduction-story-js-Dbz7qKA-.js diff --git a/assets/__resolved__virtual_story-source_docs-other-directives-story-js-6fe464b7.js b/assets/__resolved__virtual_story-source_docs-other-directives-story-js-BIvI2HoS.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-other-directives-story-js-6fe464b7.js rename to assets/__resolved__virtual_story-source_docs-other-directives-story-js-BIvI2HoS.js diff --git a/assets/__resolved__virtual_story-source_docs-other-utilities-story-js-7a98133a.js b/assets/__resolved__virtual_story-source_docs-other-utilities-story-js-DQ3zJpNo.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-other-utilities-story-js-7a98133a.js rename to assets/__resolved__virtual_story-source_docs-other-utilities-story-js-DQ3zJpNo.js diff --git a/assets/__resolved__virtual_story-source_docs-resources-document-resource-story-js-91970731.js b/assets/__resolved__virtual_story-source_docs-resources-document-resource-story-js-duAgGsVH.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-resources-document-resource-story-js-91970731.js rename to assets/__resolved__virtual_story-source_docs-resources-document-resource-story-js-duAgGsVH.js diff --git a/assets/__resolved__virtual_story-source_docs-resources-list-resource-story-js-d66d2c98.js b/assets/__resolved__virtual_story-source_docs-resources-list-resource-story-js-BTnnapD3.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-resources-list-resource-story-js-d66d2c98.js rename to assets/__resolved__virtual_story-source_docs-resources-list-resource-story-js-BTnnapD3.js diff --git a/assets/__resolved__virtual_story-source_docs-resources-resource-story-js-04920ca4.js b/assets/__resolved__virtual_story-source_docs-resources-resource-story-js-QChq2W9c.js similarity index 100% rename from assets/__resolved__virtual_story-source_docs-resources-resource-story-js-04920ca4.js rename to assets/__resolved__virtual_story-source_docs-resources-resource-story-js-QChq2W9c.js diff --git a/assets/__resolved__virtual_story-source_src-components-autocomplete-story-vue-3433d77d.js b/assets/__resolved__virtual_story-source_src-components-autocomplete-story-vue-BjDSW6KV.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-autocomplete-story-vue-3433d77d.js rename to assets/__resolved__virtual_story-source_src-components-autocomplete-story-vue-BjDSW6KV.js diff --git a/assets/__resolved__virtual_story-source_src-components-avatar-story-vue-7825d838.js b/assets/__resolved__virtual_story-source_src-components-avatar-story-vue-BDeONkGe.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-avatar-story-vue-7825d838.js rename to assets/__resolved__virtual_story-source_src-components-avatar-story-vue-BDeONkGe.js diff --git a/assets/__resolved__virtual_story-source_src-components-badge-story-vue-bb2304fa.js b/assets/__resolved__virtual_story-source_src-components-badge-story-vue-D7eHmVPC.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-badge-story-vue-bb2304fa.js rename to assets/__resolved__virtual_story-source_src-components-badge-story-vue-D7eHmVPC.js diff --git a/assets/__resolved__virtual_story-source_src-components-breadcrumbs-story-vue-666d86cd.js b/assets/__resolved__virtual_story-source_src-components-breadcrumbs-story-vue-Bow85ZSQ.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-breadcrumbs-story-vue-666d86cd.js rename to assets/__resolved__virtual_story-source_src-components-breadcrumbs-story-vue-Bow85ZSQ.js diff --git a/assets/__resolved__virtual_story-source_src-components-button-button-story-vue-b4e72307.js b/assets/__resolved__virtual_story-source_src-components-button-button-story-vue-D0IYWk3X.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-button-button-story-vue-b4e72307.js rename to assets/__resolved__virtual_story-source_src-components-button-button-story-vue-D0IYWk3X.js diff --git a/assets/__resolved__virtual_story-source_src-components-calendar-story-vue-c30f380d.js b/assets/__resolved__virtual_story-source_src-components-calendar-story-vue-D9_X8SjQ.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-calendar-story-vue-c30f380d.js rename to assets/__resolved__virtual_story-source_src-components-calendar-story-vue-D9_X8SjQ.js diff --git a/assets/__resolved__virtual_story-source_src-components-checkbox-story-vue-a4d17055.js b/assets/__resolved__virtual_story-source_src-components-checkbox-story-vue-DPT5LKVd.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-checkbox-story-vue-a4d17055.js rename to assets/__resolved__virtual_story-source_src-components-checkbox-story-vue-DPT5LKVd.js diff --git a/assets/__resolved__virtual_story-source_src-components-circularprogressbar-story-vue-9edf276b.js b/assets/__resolved__virtual_story-source_src-components-circularprogressbar-story-vue-BQCXNCZq.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-circularprogressbar-story-vue-9edf276b.js rename to assets/__resolved__virtual_story-source_src-components-circularprogressbar-story-vue-BQCXNCZq.js diff --git a/assets/__resolved__virtual_story-source_src-components-datepicker-datepicker-story-vue-c07695b4.js b/assets/__resolved__virtual_story-source_src-components-datepicker-datepicker-story-vue-Doo4TgYE.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-datepicker-datepicker-story-vue-c07695b4.js rename to assets/__resolved__virtual_story-source_src-components-datepicker-datepicker-story-vue-Doo4TgYE.js diff --git a/assets/__resolved__virtual_story-source_src-components-dialog-story-vue-e1d0a172.js b/assets/__resolved__virtual_story-source_src-components-dialog-story-vue-BkHdelvE.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-dialog-story-vue-e1d0a172.js rename to assets/__resolved__virtual_story-source_src-components-dialog-story-vue-BkHdelvE.js diff --git a/assets/__resolved__virtual_story-source_src-components-dropdown-story-vue-ba458b55.js b/assets/__resolved__virtual_story-source_src-components-dropdown-story-vue-2KnorXO6.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-dropdown-story-vue-ba458b55.js rename to assets/__resolved__virtual_story-source_src-components-dropdown-story-vue-2KnorXO6.js diff --git a/assets/__resolved__virtual_story-source_src-components-errormessage-story-vue-28ffc30f.js b/assets/__resolved__virtual_story-source_src-components-errormessage-story-vue-D_Usjluw.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-errormessage-story-vue-28ffc30f.js rename to assets/__resolved__virtual_story-source_src-components-errormessage-story-vue-D_Usjluw.js diff --git a/assets/__resolved__virtual_story-source_src-components-fileuploader-story-vue-45827ce7.js b/assets/__resolved__virtual_story-source_src-components-fileuploader-story-vue-CCTCpwwl.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-fileuploader-story-vue-45827ce7.js rename to assets/__resolved__virtual_story-source_src-components-fileuploader-story-vue-CCTCpwwl.js diff --git a/assets/__resolved__virtual_story-source_src-components-formcontrol-story-vue-688187dc.js b/assets/__resolved__virtual_story-source_src-components-formcontrol-story-vue-B_Ahqw8V.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-formcontrol-story-vue-688187dc.js rename to assets/__resolved__virtual_story-source_src-components-formcontrol-story-vue-B_Ahqw8V.js diff --git a/assets/__resolved__virtual_story-source_src-components-listview-story-vue-7b4f60b4.js b/assets/__resolved__virtual_story-source_src-components-listview-story-vue-CrLv3Zzm.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-listview-story-vue-7b4f60b4.js rename to assets/__resolved__virtual_story-source_src-components-listview-story-vue-CrLv3Zzm.js diff --git a/assets/__resolved__virtual_story-source_src-components-popover-story-vue-398af600.js b/assets/__resolved__virtual_story-source_src-components-popover-story-vue-DOQAdi6z.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-popover-story-vue-398af600.js rename to assets/__resolved__virtual_story-source_src-components-popover-story-vue-DOQAdi6z.js diff --git a/assets/__resolved__virtual_story-source_src-components-progress-story-vue-0ee2e2e4.js b/assets/__resolved__virtual_story-source_src-components-progress-story-vue-D_8nBHt6.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-progress-story-vue-0ee2e2e4.js rename to assets/__resolved__virtual_story-source_src-components-progress-story-vue-D_8nBHt6.js diff --git a/assets/__resolved__virtual_story-source_src-components-rating-rating-story-vue-532ee479.js b/assets/__resolved__virtual_story-source_src-components-rating-rating-story-vue-nKsMAZj3.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-rating-rating-story-vue-532ee479.js rename to assets/__resolved__virtual_story-source_src-components-rating-rating-story-vue-nKsMAZj3.js diff --git a/assets/__resolved__virtual_story-source_src-components-select-story-vue-5fb60ae2.js b/assets/__resolved__virtual_story-source_src-components-select-story-vue-CHWr7k-H.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-select-story-vue-5fb60ae2.js rename to assets/__resolved__virtual_story-source_src-components-select-story-vue-CHWr7k-H.js diff --git a/assets/__resolved__virtual_story-source_src-components-spinner-story-vue-0949342d.js b/assets/__resolved__virtual_story-source_src-components-spinner-story-vue-DxVW83Og.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-spinner-story-vue-0949342d.js rename to assets/__resolved__virtual_story-source_src-components-spinner-story-vue-DxVW83Og.js diff --git a/assets/__resolved__virtual_story-source_src-components-switch-story-vue-6bae4ff4.js b/assets/__resolved__virtual_story-source_src-components-switch-story-vue-Dv8yq3TK.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-switch-story-vue-6bae4ff4.js rename to assets/__resolved__virtual_story-source_src-components-switch-story-vue-Dv8yq3TK.js diff --git a/assets/__resolved__virtual_story-source_src-components-tabbuttons-story-vue-31379b5c.js b/assets/__resolved__virtual_story-source_src-components-tabbuttons-story-vue-D-tmUlJi.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-tabbuttons-story-vue-31379b5c.js rename to assets/__resolved__virtual_story-source_src-components-tabbuttons-story-vue-D-tmUlJi.js diff --git a/assets/__resolved__virtual_story-source_src-components-tabs-story-vue-38ada55e.js b/assets/__resolved__virtual_story-source_src-components-tabs-story-vue-ChSfJIYE.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-tabs-story-vue-38ada55e.js rename to assets/__resolved__virtual_story-source_src-components-tabs-story-vue-ChSfJIYE.js diff --git a/assets/__resolved__virtual_story-source_src-components-textarea-story-vue-df8f6c5a.js b/assets/__resolved__virtual_story-source_src-components-textarea-story-vue-xXlJnIJU.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-textarea-story-vue-df8f6c5a.js rename to assets/__resolved__virtual_story-source_src-components-textarea-story-vue-xXlJnIJU.js diff --git a/assets/__resolved__virtual_story-source_src-components-texteditor-texteditor-story-vue-4f4886ec.js b/assets/__resolved__virtual_story-source_src-components-texteditor-texteditor-story-vue-EXcci5qU.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-texteditor-texteditor-story-vue-4f4886ec.js rename to assets/__resolved__virtual_story-source_src-components-texteditor-texteditor-story-vue-EXcci5qU.js diff --git a/assets/__resolved__virtual_story-source_src-components-textinput-story-vue-d761e828.js b/assets/__resolved__virtual_story-source_src-components-textinput-story-vue-qqBYiBAD.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-textinput-story-vue-d761e828.js rename to assets/__resolved__virtual_story-source_src-components-textinput-story-vue-qqBYiBAD.js diff --git a/assets/__resolved__virtual_story-source_src-components-tooltip-tooltip-story-vue-737b6f17.js b/assets/__resolved__virtual_story-source_src-components-tooltip-tooltip-story-vue-CxYHZZBj.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-tooltip-tooltip-story-vue-737b6f17.js rename to assets/__resolved__virtual_story-source_src-components-tooltip-tooltip-story-vue-CxYHZZBj.js diff --git a/assets/__resolved__virtual_story-source_src-components-tree-tree-story-vue-ccc66e32.js b/assets/__resolved__virtual_story-source_src-components-tree-tree-story-vue-A7spAkay.js similarity index 100% rename from assets/__resolved__virtual_story-source_src-components-tree-tree-story-vue-ccc66e32.js rename to assets/__resolved__virtual_story-source_src-components-tree-tree-story-vue-A7spAkay.js diff --git a/assets/__resolved__virtual_story-source_tailwind-e6e4cb87.js b/assets/__resolved__virtual_story-source_tailwind--M2ueAcC.js similarity index 100% rename from assets/__resolved__virtual_story-source_tailwind-e6e4cb87.js rename to assets/__resolved__virtual_story-source_tailwind--M2ueAcC.js diff --git a/assets/_plugin-vue_export-helper-cc2b3d55.js b/assets/_plugin-vue_export-helper-1tPrXgE0.js similarity index 100% rename from assets/_plugin-vue_export-helper-cc2b3d55.js rename to assets/_plugin-vue_export-helper-1tPrXgE0.js diff --git a/assets/bundle-main-7d12ce1f.js b/assets/bundle-main-Bpr2EBZU.js similarity index 98% rename from assets/bundle-main-7d12ce1f.js rename to assets/bundle-main-Bpr2EBZU.js index 2fb96509..6388b326 100644 --- a/assets/bundle-main-7d12ce1f.js +++ b/assets/bundle-main-Bpr2EBZU.js @@ -1,9 +1,8 @@ -import { d as defineComponent, u as useCssVars, c as computed, a as useRoute, r as ref, o as openBlock, b as createElementBlock, e as createVNode, w as withCtx, f as createBaseVNode, g as unref, I as Icon, n as normalizeClass, t as toDisplayString, h as createCommentVNode, i as defineStore, j as useStorage, k as watch, l as resolveComponent, m as withKeys, F as Fragment, p as renderList, q as createBlock, s as useEventListener, v as isRef, x as isDark, y as histoireConfig, z as customLogos, A as resolveDirective, B as withDirectives, C as toggleDark, D as createTextVNode, E as pushScopeId, G as popScopeId, H as vShow, J as defineAsyncComponent, _ as __vitePreload, K as reactive, L as normalizeStyle, T as Transition, M as useTitle, N as onMounted, O as createApp, P as createPinia, Q as plugin } from "./vendor-3b8d0bfc.js"; -import { r as router, f as files, m as mapFile, t as tree, _ as _sfc_main$c } from "./GenericMountStory.vue2-380be139.js"; -import { u as useScrollOnActive, B as BaseListItemLink, _ as _export_sfc, a as _sfc_main$b, i as isMobile, b as BaseSplitPane } from "./MobileOverlay.vue2-24879cc5.js"; -import { u as useStoryStore } from "./story-72ebbc17.js"; -const style = ""; -const __resolved__virtual_$histoireTheme = ""; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SearchPane.vue-DiRvuLJ0.js","assets/vendor-D4tQXw0h.js","assets/story-CDQMmp7E.js","assets/GenericMountStory.vue2-COcojfSX.js","assets/BaseEmpty.vue-C2Xer74E.js","assets/MobileOverlay.vue2-Dj9o_MUM.js"])))=>i.map(i=>d[i]); +import { d as defineComponent, u as useCssVars, c as computed, a as useRoute, r as ref, o as openBlock, b as createElementBlock, e as createVNode, w as withCtx, f as createBaseVNode, g as unref, I as Icon, n as normalizeClass, t as toDisplayString, h as createCommentVNode, i as defineStore, j as useStorage, k as watch, l as resolveComponent, m as withKeys, F as Fragment, p as renderList, q as createBlock, s as useEventListener, v as isRef, x as isDark, y as histoireConfig, z as customLogos, A as resolveDirective, B as withDirectives, C as toggleDark, D as createTextVNode, E as pushScopeId, G as popScopeId, H as vShow, J as defineAsyncComponent, _ as __vitePreload, K as reactive, L as normalizeStyle, T as Transition, M as useTitle, N as onMounted, O as createApp, P as createPinia, Q as plugin } from "./vendor-D4tQXw0h.js"; +import { r as router, f as files, m as mapFile, t as tree, _ as _sfc_main$c } from "./GenericMountStory.vue2-COcojfSX.js"; +import { u as useScrollOnActive, B as BaseListItemLink, _ as _export_sfc, a as _sfc_main$b, i as isMobile, b as BaseSplitPane } from "./MobileOverlay.vue2-Dj9o_MUM.js"; +import { u as useStoryStore } from "./story-CDQMmp7E.js"; const _hoisted_1$a = { class: "bind-tree-margin htw-flex htw-items-center htw-gap-2 htw-pl-4 htw-min-w-0" }; const _hoisted_2$6 = { class: "htw-truncate" }; const _hoisted_3$5 = { @@ -610,7 +609,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({ }, setup(__props, { emit: __emit }) { const SearchPane = defineAsyncComponent({ - loader: () => __vitePreload(() => import("./SearchPane.vue-4b991965.js"), true ? ["assets/SearchPane.vue-4b991965.js","assets/vendor-3b8d0bfc.js","assets/story-72ebbc17.js","assets/GenericMountStory.vue2-380be139.js","assets/BaseEmpty.vue-3e2a06f3.js","assets/MobileOverlay.vue2-24879cc5.js"] : void 0), + loader: () => __vitePreload(() => import("./SearchPane.vue-DiRvuLJ0.js"), true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0), loadingComponent: _sfc_main$3, delay: 0 }); diff --git a/assets/bundle-sandbox-6214f766.js b/assets/bundle-sandbox-UZYnX6Pg.js similarity index 93% rename from assets/bundle-sandbox-6214f766.js rename to assets/bundle-sandbox-UZYnX6Pg.js index ff4ab3c4..911db4a9 100644 --- a/assets/bundle-sandbox-6214f766.js +++ b/assets/bundle-sandbox-UZYnX6Pg.js @@ -1,7 +1,6 @@ -import { R as parseQuery, r as ref, O as createApp, P as createPinia, k as watch, c as computed, S as STATE_SYNC, U as PREVIEW_SETTINGS_SYNC, N as onMounted, V as h, W as SANDBOX_READY, X as applyState, y as histoireConfig, x as isDark } from "./vendor-3b8d0bfc.js"; -import { m as mapFile, f as files, _ as _sfc_main } from "./GenericMountStory.vue2-380be139.js"; -import { a as applyPreviewSettings, _ as _sfc_main$1, t as toRawDeep } from "./state-7e0f8f65.js"; -const sandbox = ""; +import { R as parseQuery, r as ref, O as createApp, P as createPinia, k as watch, c as computed, S as STATE_SYNC, U as PREVIEW_SETTINGS_SYNC, N as onMounted, V as h, W as SANDBOX_READY, X as applyState, y as histoireConfig, x as isDark } from "./vendor-D4tQXw0h.js"; +import { m as mapFile, f as files, _ as _sfc_main } from "./GenericMountStory.vue2-COcojfSX.js"; +import { a as applyPreviewSettings, _ as _sfc_main$1, t as toRawDeep } from "./state--_Qo4xi1.js"; const query = parseQuery(window.location.search); const file = ref(mapFile(files.find((f) => f.id === query.storyId))); const app = createApp({ diff --git a/assets/debounce-d11286cd.js b/assets/debounce-CRCtzhPg.js similarity index 73% rename from assets/debounce-d11286cd.js rename to assets/debounce-CRCtzhPg.js index 0c076b0f..bc242882 100644 --- a/assets/debounce-d11286cd.js +++ b/assets/debounce-CRCtzhPg.js @@ -4,14 +4,10 @@ function debounce(func, wait, immediate) { var context = this, args = arguments; var later = function() { timeout = void 0; - if (!immediate) - func.apply(context, args); + func.apply(context, args); }; - var callNow = immediate && !timeout; clearTimeout(timeout); timeout = window.setTimeout(later, wait); - if (callNow) - func.apply(context, args); }; } export { diff --git a/assets/events-970646f9.js b/assets/events-D-ZUGuyO.js similarity index 81% rename from assets/events-970646f9.js rename to assets/events-D-ZUGuyO.js index a3ffc932..203291b8 100644 --- a/assets/events-970646f9.js +++ b/assets/events-D-ZUGuyO.js @@ -1,6 +1,6 @@ -import { i as defineStore, K as reactive, r as ref, k as watch } from "./vendor-3b8d0bfc.js"; -import { u as useStoryStore } from "./story-72ebbc17.js"; -import "./GenericMountStory.vue2-380be139.js"; +import { i as defineStore, K as reactive, r as ref, k as watch } from "./vendor-D4tQXw0h.js"; +import { u as useStoryStore } from "./story-CDQMmp7E.js"; +import "./GenericMountStory.vue2-COcojfSX.js"; const useEventsStore = defineStore("events", () => { const storyStore = useStoryStore(); const events = reactive([]); diff --git a/assets/frappe-ui-b2c1ad0a.svg b/assets/frappe-ui-C63e8WO7.svg similarity index 100% rename from assets/frappe-ui-b2c1ad0a.svg rename to assets/frappe-ui-C63e8WO7.svg diff --git a/assets/search-docs-data-325df141.js b/assets/search-docs-data-T4ff0iMw.js similarity index 99% rename from assets/search-docs-data-325df141.js rename to assets/search-docs-data-T4ff0iMw.js index d243df8c..036501b8 100644 --- a/assets/search-docs-data-325df141.js +++ b/assets/search-docs-data-T4ff0iMw.js @@ -1,4 +1,4 @@ -import { a2 as markRaw } from "./vendor-3b8d0bfc.js"; +import { a2 as markRaw } from "./vendor-D4tQXw0h.js"; let searchData$1 = { "index": { "reg": '{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1}', "text.cfg": '{"doc":0,"opt":1}', "text.map": '[{"p":[0,1,2,3,4],"pr":[0,1,2,3,4],"pro":[0,1,2,3,4],"prop":[0,1,2,3,4],"props":[0,1,2,3,4],"k":[5],"ke":[5],"ket":[5],"kete":[5],"ketem":[5],"ketemk":[5],"f":[6],"fa":[6],"fat":[6],"t":[7,9],"te":[7],"ter":[7],"tere":[7],"terek":[7],"terekt":[7],"terekte":[7],"terektef":[7],"terektefe":[7],"terektefes":[7],"o":[8],"ot":[8],"ote":[8],"otel":[8],"otele":[8],"otelet":[8],"otelete":[8],"oteletes":[8],"to":[9],"tok":[9],"toko":[9],"tokom":[9],"tokome":[9],"tokomem":[9],"tokomemt":[9],"l":[10],"le":[10],"les":[10],"lest":[10],"r":[11],"re":[11],"res":[11],"reso":[11],"resor":[11],"resork":[11],"resorke":[11]},{"0":[0],"1":[0,1,11],"2":[0],"3":[0,2],"4":[10],"10":[1],"16":[0],"17":[0],"20":[0],"30":[0],"202":[0],"2024":[0],"e":[0,1,2,3,4,5,6,7,8,9,10,11],"ef":[0,2,7],"efe":[0,7],"efem":[0,7],"efemt":[0,7],"efemts":[0,7],"es":[0,1,2,3,5,6,9,10,11],"a":[0,2,3,4,5,6,7,8,9,10,11],"am":[0,2,3,4,5,6,9,11],"ar":[0,3,6,7,8,11],"ara":[0,3],"o":[0,1,2,3,4,5,6,7,9,10,11],"of":[0,1,3,4,6,7,8,9,10,11],"op":[0,2,3,4,5,9,11],"opk":[0,2,3,4,9],"opke":[0,2,3,4,9],"opkek":[0,2,3,4,9],"opkekt":[0,2,3,4,9],"opkekts":[0,3],"f":[0,1,2,3,4,5,7,8,9,10,11],"fe":[0,2,3,5,6,8,9,10,11],"fer":[0,11],"fere":[0,11],"ea":[0,2,4],"eak":[0,2,4],"k":[0,1,2,3,4,6,7,8,9,10,11],"ko":[0,1,2,3,4,5,6,7,8,10,11],"kom":[0,3,4,6,7,8,11],"koms":[0],"komse":[0],"komses":[0],"komsest":[0],"komsests":[0],"s":[0,1,2,4,5,6,7,8,9,10,11],"se":[0,2,5,6,9,10,11],"sem":[0,9,11],"semk":[0,9],"semkl":[0,9],"semkle":[0,9],"pe":[0,2,7,9,10],"t":[0,1,2,3,4,5,6,8,10,11],"te":[0,1,2,4,5,6,8,9,10,11],"tef":[0,1,10],"tefa":[0,1],"tefao":[0,1],"tefaol":[0,1],"tefaolt":[0,1],"fa":[0,1,11],"fal":[0,1],"falo":[0,1],"em":[0,1,2,5,7,8,10,11],"emp":[0],"empt":[0],"empte":[0],"ka":[0,5,7,11],"kam":[0,5,7],"tep":[0,8,11],"tepe":[0,11],"tepes":[0],"tem":[0,10],"teme":[0],"temet":[0],"fek":[0,2,3,6],"as":[0,5,9,10,11],"st":[0,1,4,5,11],"sta":[0,5,11],"star":[0,5],"start":[0,5],"amt":[0,2,6,9,11],"emt":[0],"l":[0,2,4,6,7,11],"lo":[0,11],"lok":[0],"loks":[0],"le":[0,2,6,7],"lek":[0,6,10],"leke":[0,6,10],"tet":[0],"tetl":[0],"tetle":[0],"emk":[0],"emkl":[0],"emkle":[0],"emkles":[0],"r":[0,1,2,4,6,8,9,10],"re":[0,1,2,4,6,9,10],"rea":[0],"ream":[0],"m":[0,1,2,4,5,8,9,10,11],"ma":[0,4,9,11],"mat":[0],"mate":[0],"matef":[0],"pa":[0,1,2,5,6,9,10,11],"par":[0,1],"part":[0],"parte":[0],"partek":[0],"parteke":[0],"partekep":[0],"partekepa":[0],"partekepam":[0],"partekepamt":[0],"et":[0,1,2,3,6,9,10,11],"eto":[0],"ks":[0,11],"09":[0],"091":[0],"fem":[0,11],"femo":[0],"km":[0,10],"kmf":[0],"ro":[0,2,4,8],"rom":[0,8],"01":[0],"fr":[0,5,6,7,8,9,10,11],"fro":[0,6,7,8,10,11],"from":[0,6,7,8,10,11],"fromt":[0,6,7,8,11],"fromta":[0],"fromtat":[0],"fromtate":[0],"07":[0],"08":[0],"to":[0,1,2,6,7,10,11],"tot":[0,1,9,10],"tota":[0,1],"totat":[0],"totate":[0],"kol":[0,2],"kolo":[0,2],"kolor":[0],"kr":[0,8,9],"kre":[0,8,9],"krem":[0],"ke":[0,2,6,10,11],"kes":[0],"are":[0,6,7,8,11],"mam":[0,4,9,11],"mamt":[0],"mamta":[0],"mamtat":[0],"mamtato":[0],"mamtator":[0],"mamtatore":[0],"fo":[0,4,7,8,9,10,11],"for":[0,7,9,10],"tes":[0,5,7,9,10],"kem":[0,6,10],"kemt":[0,10],"so":[0,7,8,10],"sol":[0],"solt":[0],"om":[0,2,6,7,8,9,10],"ome":[0,2],"omek":[0,2],"omeko":[0,2],"ap":[0,6,7,8,11],"apo":[0,11],"apof":[0,11],"apofe":[0,11],"form":[0],"forma":[0],"format":[0],"or":[0,10],"ta":[0,3,7,8,11],"tat":[0,7,8,11],"tate":[0,11],"kor":[0,1],"kore":[0,1],"korem":[0,1],"koremt":[0,1],"koremtl":[0],"koremtle":[0],"krea":[0,8,9],"kreat":[0,8,9],"kreate":[0,8,9],"kreatet":[0],"tak":[0],"take":[0],"takem":[0],"fot":[0],"foto":[0],"fotor":[0],"fotore":[0],"mo":[0,1,4,8,9,10,11],"mol":[0],"molt":[0],"molte":[0],"moltep":[0],"moltepl":[0],"molteple":[0],"fel":[0,5,8,9,10,11],"al":[0,6,9,10,11],"als":[0,6,10,11],"also":[0,6,10,11],"emtr":[0],"emtro":[0],"emtrot":[0],"emtroto":[0],"emtrotok":[0],"emtrotoke":[0],"emtrotoket":[0],"les":[0,2,7],"lest":[0,2,7],"pl":[0],"plo":[0],"ret":[0],"ora":[0],"oram":[0],"oramk":[0],"oramke":[0],"el":[0,5],"elo":[0],"elof":[0],"tea":[0,6,11],"teal":[0,6,11],"feo":[0],"feol":[0],"feole":[0],"feolet":[0],"kea":[0],"keam":[0],"po":[0,6,7,8,11],"por":[0],"porp":[0],"porpl":[0],"porple":[0],"pem":[0],"pemk":[0],"amp":[0],"ampe":[0],"amper":[0],"ame":[0,11],"ot":[0,6,7],"ote":[0,6],"oter":[0],"prof":[0],"profe":[0],"profet":[0],"profete":[0],"profetet":[0],"ste":[1,11],"step":[1],"prok":[1,5],"prokr":[1],"prokre":[1],"prokres":[1],"rek":[1,2,6,9,10,11],"reko":[1,2,6,9,10,11],"rekor":[1,2,6,9,10],"rekore":[1,2,6],"rekoret":[1,2,6],"total":[1],"totals":[1],"totalst":[1],"totalste":[1],"totalstep":[1],"totalsteps":[1],"mom":[1,8],"momp":[1,8],"mompe":[1,8],"momper":[1,8],"steps":[1],"rof":[2],"os":[2,7,8,9,10],"ose":[2,7,8],"oset":[2,7],"ete":[2,10],"etem":[2,10],"etemt":[2],"etemte":[2],"etemtef":[2],"etemtefe":[2],"pas":[2,6,11],"pase":[2,6,11],"paset":[2,6],"kolom":[2],"la":[2,4],"lap":[2,4],"lape":[2,4],"lapel":[2,4],"fet":[2,5,6,9,10,11],"opt":[2],"opte":[2],"opteo":[2],"opteom":[2],"opteoma":[2],"opteomal":[2],"set":[2,5,6,10],"eo":[2,5,10,11],"me":[2,5,10,11],"met":[2,10,11],"tap":[3],"taps":[3],"komt":[3,4],"komta":[3,4],"komtam":[3,4],"komtams":[3],"mot":[4,11],"mote":[4],"rep":[4],"repr":[4],"repre":[4],"repres":[4],"represe":[4],"represem":[4],"represemt":[4],"represemte":[4],"represemtem":[4],"represemtemk":[4],"rot":[4],"tr":[4,11],"tre":[4,11],"mos":[4],"most":[4],"fol":[4],"folo":[4],"folof":[4],"folofe":[4],"folofem":[4],"folofemk":[4],"prope":[4],"proper":[4],"propert":[4],"properte":[4],"propertes":[4],"str":[4],"stre":[4],"strem":[4],"stremk":[4],"mame":[4,9],"starte":[5],"startet":[5],"p":[5,6,7,8,9,10,11],"pak":[5,9,10],"pake":[5,9,10],"elp":[5],"sete":[5],"setem":[5],"setemk":[5],"fra":[5,6,9,10,11],"frap":[5,6,9,10,11],"frape":[5,6,9,10,11],"mef":[5],"pr":[5],"pro":[5],"proke":[5],"prokek":[5],"prokekt":[5],"ese":[5],"eses":[5],"esest":[5],"eseste":[5],"esestem":[5],"esestemk":[5],"kok":[5],"kokl":[5],"kokle":[5],"seto":[5],"setop":[5],"komp":[6],"kompo":[6],"kompom":[6],"kompome":[6],"kompomem":[6],"kompomemt":[6],"kompomemts":[6],"otel":[6],"otele":[6],"otelet":[6],"otelete":[6],"oteletes":[6],"pol":[6,7,8],"polt":[6,7,8],"fromte":[6,7,8,11],"fromtem":[6,7,8,11],"fromtemt":[6,7,8,11],"aps":[6,7,8],"fram":[6,9,10],"frame":[6,9,10],"framef":[6,9,10],"framefo":[6,9,10],"framefor":[6,9,10],"framefork":[6,9,10],"alo":[6],"alom":[6],"alomk":[6],"keme":[6],"kemer":[6],"kemere":[6],"kemerek":[6],"pot":[6],"poto":[6],"potom":[6],"lem":[6],"lemk":[6],"tealo":[6],"tealok":[6],"etk":[6,10,11],"som":[7,8],"some":[7,8],"komo":[7,8],"komom":[7,8],"osef":[7,8],"osefo":[7,8],"osefol":[7,8],"polte":[7,8],"poltem":[7,8],"poltemk":[7,8],"omo":[7],"omot":[7],"omots":[7],"omotse":[7],"omotset":[7],"omotsete":[7],"omotsetek":[7],"omotsetekl":[7],"omotsetekle":[7],"omotseteklek":[7],"leste":[7],"lestem":[7],"kl":[7,10],"kle":[7],"klek":[7],"ots":[7],"otse":[7],"otset":[7],"otsete":[7],"tar":[7],"tark":[7],"tarke":[7],"tarket":[7],"tepo":[8],"tepom":[8],"tepomk":[8],"tepomke":[8],"kreates":[8],"fom":[8],"fomk":[8],"fomkt":[8],"fomkte":[8],"fomkteo":[8],"fomkteom":[8],"oml":[8,9,10],"omle":[8,9,10],"omk":[8],"omke":[8],"sp":[8,9,10],"spe":[8,9,10],"spek":[8,9,10],"speke":[8,9,10],"spekef":[8,9,10],"spekefe":[8,9,10],"spekefet":[8],"res":[9,10],"reso":[9,10],"resor":[9,10],"resork":[9,10],"resorke":[9,10],"fraper":[9,10],"top":[9,10],"fork":[9,10],"forke":[9,10],"forkem":[9,10],"forkemk":[9,10],"fea":[9,10,11],"feat":[9,10,11],"feato":[9,10,11],"feator":[9,10,11],"featore":[9,10,11],"forks":[9,10],"pakem":[9,10],"pakemt":[9,10],"mof":[9,10],"osa":[9,10],"osak":[9,10],"osake":[9,10],"spekefem":[9],"spekefemk":[9],"tokt":[9,10],"tokte":[9,10],"toktep":[9,10],"toktepe":[9,10],"rekort":[9,10],"fetk":[9,10,11],"fetke":[9,11],"fetket":[9,11],"ao":[9],"aot":[9],"aoto":[9],"aotom":[9],"aotoma":[9],"aotomat":[9],"aotomate":[9],"aotomatek":[9],"aotomateka":[9],"aotomatekal":[9],"aotomatekale":[9],"toto":[9,10],"felt":[9,10],"felts":[9,10],"lests":[10],"kmo":[10],"kmof":[10],"kmofs":[10],"rekorts":[10],"tok":[10],"ter":[10,11],"tere":[10],"orl":[10],"ems":[10],"emst":[10],"emste":[10],"emstea":[10],"emsteat":[10],"tefe":[10],"tefem":[10],"tefeme":[10],"felte":[10],"felter":[10],"felters":[10],"ket":[10],"meto":[10],"metot":[10],"metots":[10],"mes":[10],"mest":[10],"setf":[10],"setfa":[10],"setfal":[10],"setfalo":[10],"temp":[10],"templ":[10],"templa":[10],"templat":[10],"template":[10],"kla":[10],"klas":[10],"spa":[10],"spak":[10],"spake":[10],"fl":[10],"fle":[10],"fles":[10],"etems":[10],"kemte":[10],"kemter":[10],"kos":[10],"kost":[10],"koste":[10],"kostef":[10],"kostefe":[10],"pet":[10],"petf":[10],"petfe":[10],"petfem":[10],"totos":[10],"mama":[11],"mamak":[11],"mamake":[11],"ase":[11],"asem":[11],"asemk":[11],"tata":[11],"fetkem":[11],"fetkemk":[11],"mota":[11],"motat":[11],"motate":[11],"motateo":[11],"motateom":[11],"motateoms":[11],"eor":[11],"kak":[11],"kake":[11],"kep":[11],"ser":[11],"serf":[11],"serfe":[11],"serfer":[11],"pasek":[11],"esa":[11],"esam":[11],"esamp":[11],"esampl":[11],"esample":[11],"fep":[11],"rekos":[11],"rekost":[11],"kal":[11],"kale":[11],"kalet":[11],"term":[11],"terme":[11],"termem":[11],"termemo":[11],"termemol":[11],"termemolo":[11],"termemolok":[11],"termemoloke":[11],"teale":[11],"tealem":[11],"tealemk":[11],"loa":[11],"loat":[11],"loate":[11],"loatem":[11],"loatemk":[11],"stat":[11],"state":[11],"states":[11],"er":[11],"ero":[11],"eror":[11],"ref":[11],"refe":[11],"refet":[11],"refetk":[11],"refetke":[11],"refetkem":[11],"refetkemk":[11],"tra":[11],"trat":[11],"trate":[11],"tratet":[11],"tratete":[11],"trateteo":[11],"trateteom":[11],"trateteoma":[11],"trateteomal":[11],"af":[11],"afe":[11],"amtl":[11],"amtle":[11],"eors":[11],"eorse":[11],"eorsel":[11],"eorself":[11],"ksl":[11],"ksle":[11],"kslet":[11],"afa":[11],"afat":[11],"tp":[11],"tps":[11],"kso":[11],"ksom":[11],"ksomp":[11],"ksompl":[11],"ksompla":[11],"ksomplak":[11],"ksomplake":[11],"ksomplakeo":[11],"ksomplakeol":[11],"ksomplakeolt":[11],"ksomplakeolte":[11],"ksomplakeolter":[11],"tepek":[11],"tepeko":[11],"tepekot":[11],"tepekote":[11],"pos":[11],"post":[11],"posts":[11],"kat":[11],"katk":[11],"rest":[11],"kot":[11],"kote":[11],"stel":[11],"semp":[11],"sempl":[11],"semple":[11],"semplef":[11],"semplefe":[11],"semplefet":[11],"fers":[11],"ferse":[11],"ferseo":[11],"ferseom":[11],"mek":[11],"mekt":[11]},{"0":[10],"1":[2,5,9],"2":[5],"5":[0,10],"12":[2],"21":[0],"23":[0],"30":[2],"50":[0],"59":[0],"fol":[0,3,7,8],"som":[0],"me":[0,8],"met":[0],"fet":[0,7],"sel":[0],"selt":[0],"selto":[0],"seltom":[0],"tr":[0,1,6,7],"trt":[0],"trt4":[0],"trt42":[0],"kok":[0],"kokl":[0],"kokle":[0],"esf":[0],"esfo":[0],"esfol":[0],"esfolt":[0],"esfolta":[0],"tro":[0,1,6],"komf":[0],"komfe":[0],"komfek":[0],"folo":[0,3,7,8],"folof":[0,3,7,8],"folofe":[0,3,7,8],"folofem":[0,3,7,8],"folofemk":[0,3,7,8],"tesa":[0],"tesap":[0],"tesapl":[0],"tesaple":[0],"tesaplem":[0],"tesaplemo":[0],"tesaplemot":[0],"tesaplemote":[0],"tesaplemotes":[0],"tefaoltm":[0],"tefaoltmo":[0],"tefaoltmot":[0],"tefaoltmote":[0],"mom":[0],"momt":[0],"ese":[0],"eset":[0],"esete":[0],"esetet":[0],"esetetm":[0],"esetetmo":[0],"esetetmot":[0],"esetetmote":[0],"fals":[0],"false":[0],"efemte":[0],"efemtek":[0],"efemteko":[0],"efemtekom":[0],"efemtekoms":[0],"reto":[0],"retom":[0],"retomt":[0],"retomta":[0],"retomtam":[0],"retomtamt":[0],"retomtamtk":[0],"retomtamtke":[0],"retomtamtkel":[0],"retomtamtkele":[0],"retomtamtkelek":[0],"retomtamtkelekt":[0],"ore":[0],"orek":[0],"orekt":[0],"ema":[0,9],"emap":[0],"emapl":[0],"emaple":[0],"emaples":[0],"emapleso":[0],"emaplesor":[0],"emaplesort":[0],"emaplesortk":[0],"emaplesortko":[0],"emaplesortkot":[0],"emaplesortkots":[0],"sof":[0,1],"sofe":[0],"sofek":[0],"sofeko":[0],"sofekom":[0],"str":[0],"stre":[0],"strem":[0],"stremk":[0],"stremks":[0],"mot":[0,2],"mote":[0],"motes":[0,4],"tesaplet":[0],"os":[0,5,6,11],"ose":[0,5,10,11],"oser":[0,8],"apl":[0],"aple":[0],"sf":[0],"sfe":[0],"sfet":[0],"sfetk":[0],"oml":[0],"omle":[0],"af":[0,5],"afa":[0],"afal":[0],"afala":[0],"afalap":[0],"afalapl":[0],"afalaple":[0],"kal":[0],"kale":[0],"kalem":[0],"kalemt":[0],"kalemta":[0],"kalemtar":[0],"loa":[0,6],"loat":[0,6],"loate":[0,6],"loatet":[0],"so":[1,9],"sofp":[1],"sofpe":[1],"sofper":[1],"sofperk":[1],"sofperke":[1],"sofperkem":[1],"sofperkemt":[1],"sofperkemta":[1],"sofperkemtak":[1],"sofperkemtake":[1],"ef":[1,5,8,9,10],"pe":[1,11],"per":[1],"perk":[1],"perke":[1],"perkem":[1],"perkemt":[1],"perkemta":[1],"perkemtak":[1],"perkemtake":[1],"fe":[1,7],"fel":[1,2,6,7],"sofm":[1],"ke":[1,4,8,9],"kem":[1],"kemt":[1],"kemte":[1],"kemter":[1],"ker":[1],"kerk":[1],"kerkl":[1],"kerkle":[1],"el":[1,7],"els":[1],"else":[1],"a":[1],"ap":[1,5,10],"aps":[1],"apso":[1],"apsol":[1],"apsolo":[1],"apsolot":[1],"apsolote":[1],"tem":[2,6,7,8,9,11],"teme":[2,8],"temes":[2],"tef":[2,7,9,11],"tefa":[2,11],"tefao":[2,11],"tefaol":[2,11],"tefaolt":[2,11],"at":[2,3],"mo":[2],"mem":[2],"memt":[2],"memte":[2],"memteo":[2],"memteom":[2],"memteome":[2],"memteomet":[2],"ka":[2,6,10],"kam":[2,10,11],"al":[2,5],"als":[2],"also":[2],"kos":[2],"kost":[2],"kosto":[2],"kostom":[2],"ps":[2],"rem":[2],"30p":[2],"30ps":[2],"or":[2,11],"12r":[2],"12re":[2],"12rem":[2],"kom":[2],"komp":[2],"kompe":[2],"kompem":[2],"kompema":[2],"kompemat":[2],"kompemate":[2],"kompemateo":[2],"kompemateom":[2],"of":[2],"po":[2,5,9,10],"pot":[2,9,10,11],"ale":[2],"alek":[2],"alekm":[2],"kamk":[2,11],"kamke":[2,11],"alekme":[2],"alekmem":[2],"alekmemt":[2],"komt":[2,6],"komte":[2],"komtem":[2],"komtemt":[2],"sete":[2,6,7],"setem":[2,7],"setemk":[2],"as":[2,7],"te":[3],"fo":[3,5,6],"atr":[3],"atre":[3],"atrep":[3],"atrepo":[3],"atrepot":[3],"atrepote":[3],"atrepotes":[3],"l":[3],"la":[3],"lap":[3],"lape":[3],"lapel":[3],"m":[3,6],"ma":[3,6,10],"mam":[3,6,10],"mame":[3,6,10],"kel":[4],"kelt":[4],"keltr":[4],"keltre":[4],"keltrem":[4],"ar":[4,10],"ara":[4],"kor":[4],"kore":[4],"korem":[4],"koremt":[4],"opt":[4,10,11],"opte":[4,10,11],"opteo":[4,10,11],"opteom":[4,10,11],"opteoms":[4,10,11],"rof":[4],"rofe":[4],"rofek":[4],"rofekt":[4],"le":[4,11],"lem":[4],"leme":[4],"ek":[4],"ekt":[4],"for":[4,5,6],"osem":[5,10,11],"osemk":[5,10,11],"starter":[5],"alr":[5],"alre":[5],"alrea":[5],"alreat":[5],"alreate":[5],"afe":[5],"fek":[5],"fa":[5,8],"fam":[5],"famt":[5],"to":[5],"pol":[5],"polt":[5],"fro":[5,9],"from":[5,9],"fromt":[5],"fromte":[5],"fromtem":[5],"fromtemt":[5],"ste":[5],"step":[5],"kr":[5,6,10,11],"kre":[5,6,10,11],"krea":[5,6,10,11],"kreat":[5,6,10,11],"kreate":[5,6,10,11],"eor":[5,10],"sp":[5],"spe":[5],"spem":[5],"spemk":[5],"komta":[6],"komtam":[6],"komtams":[6],"amtl":[6],"amtle":[6],"amtlem":[6],"amtlemk":[6],"ser":[6],"serf":[6],"serfe":[6],"serfer":[6],"ta":[6,10],"tat":[6,10],"tata":[6,10],"fetk":[6],"fetke":[6],"fetkem":[6],"fetkemk":[6],"ter":[6],"tere":[6],"terek":[6],"terekt":[6],"terekte":[6],"terektef":[6],"terektefe":[6],"terektefes":[6],"osa":[6],"osak":[6],"osake":[6],"esa":[6,7,8],"esam":[6,7,8],"esamp":[6,7,8],"esampl":[6,7,8],"esample":[6,7,8],"sk":[6,9,10,11],"skr":[6,9,10,11],"skre":[6,9,10,11],"skrep":[6,9,10,11],"skrept":[6,9,10,11],"seto":[6,9,10,11],"setop":[6,9,10,11],"em":[6,9],"emp":[6,9,10,11],"empo":[6,9,10,11],"empor":[6,9,10,11],"emport":[6,9,10,11],"lo":[6],"loatem":[6],"loatemk":[6],"loatemkt":[6],"loatemkte":[6],"loatemktes":[6],"loatemktest":[6],"kreater":[6,11],"kreatere":[6,11],"kreateres":[6,11],"kreatereso":[6,11],"kreateresor":[6,11],"kreateresork":[6,11],"kreateresorke":[6,11],"let":[6,10,11],"tot":[6],"toto":[6],"totos":[6],"tep":[6],"tepe":[6],"les":[6],"lest":[6],"tok":[6],"tokt":[6],"tokte":[6],"toktep":[6],"toktepe":[6],"felt":[6],"felts":[6],"tes":[6,11],"tesk":[6,9,10],"teskr":[6,9,10],"teskre":[6,9,10],"teskrep":[6,9,10],"teskrept":[6,9,10],"teskrepte":[6,9,10],"teskrepteo":[6,9,10],"teskrepteom":[6,9,10],"kak":[6],"kake":[6],"ao":[6],"aot":[6],"aoto":[6],"temp":[6,7,9,11],"templ":[6,7,9,11],"templa":[6,7,9,11],"templat":[6,7,9,11],"template":[6,7,9,11],"ele":[7],"elem":[7],"eleme":[7],"elemem":[7],"elememt":[7],"es":[7,8],"por":[7],"port":[7],"porte":[7],"porter":[7],"kleks":[7],"tre":[7],"trek":[7],"treke":[7],"treker":[7],"se":[7],"set":[7,9,11],"setema":[7],"setemak":[7],"setemakt":[7],"setemakte":[7],"setemaktef":[7],"setemaktefe":[7],"fom":[7,11],"fomk":[7,11],"fomkt":[7,11],"fomkte":[7,11],"fomkteo":[7,11],"fomkteom":[7,11],"kla":[7],"klas":[7],"fat":[8],"mel":[8],"mele":[8],"meles":[8],"melese":[8],"melesek":[8],"meleseko":[8],"melesekom":[8],"melesekomt":[8],"melesekomts":[8],"eo":[8,9],"tepomket":[8],"tepomkete":[8],"tepomketem":[8],"tepomketemp":[8],"tepomketempo":[8],"tepomketempot":[8],"efe":[8],"efer":[8],"efere":[8],"pr":[8,11],"pre":[8,11],"pres":[8],"prese":[8],"preses":[8],"et":[8],"alo":[9],"alom":[9],"alomk":[9],"ket":[9,11],"setf":[9],"setfa":[9],"setfal":[9],"setfalo":[9],"tel":[9],"tele":[9],"telet":[9],"telete":[9],"resorkes":[9,10,11],"pat":[9,10],"patk":[9,10],"patke":[9,10],"st":[9,10],"sta":[9,10],"stat":[9,10],"stato":[9,10],"statos":[9,10],"poto":[9,10,11],"potom":[9,10,11],"kl":[9,11],"kle":[9,10,11],"klek":[9,10,11],"sop":[9],"sopm":[9],"sopme":[9],"sopmet":[9],"klo":[9],"klos":[9],"klose":[9],"kloset":[9],"mar":[9],"mark":[9],"semt":[9],"semte":[9],"semtem":[9],"semtema":[9],"semtemal":[9],"emal":[9],"ofm":[9],"ofme":[9],"ofmer":[9],"kreatet":[9],"kreateto":[9],"kreatetok":[9],"kreatetoko":[9],"kreatetokom":[9],"kreatetokome":[9],"kreatetokomem":[9],"kreatetokomemt":[9],"kreatetokomemtr":[9],"kreatetokomemtre":[9],"kreatetokomemtres":[9],"kreatetokomemtreso":[9],"kreatetokomemtresor":[9],"kreatetokomemtresork":[9],"kreatetokomemtresorke":[9],"kreatel":[10],"kreatele":[10],"kreateles":[10],"kreatelest":[10],"kreatelestr":[10],"kreatelestre":[10],"kreatelestres":[10],"kreatelestreso":[10],"kreatelestresor":[10],"kreatelestresork":[10],"kreatelestresorke":[10],"ort":[10],"orte":[10],"orter":[10],"orterp":[10],"orterpe":[10],"kreateo":[10],"kreateom":[10],"star":[10],"start":[10],"pakel":[10],"pakele":[10],"pakelem":[10],"pakelemk":[10],"pakelemkt":[10],"op":[10],"ape":[10,11],"are":[10],"reke":[10,11],"rekes":[10,11],"rekest":[10,11],"rekeste":[10,11],"rekester":[10,11],"resorkesp":[10,11],"resorkespl":[10,11],"resorkesplo":[10,11],"resorkesplok":[10,11],"resorkesploke":[10,11],"resorkesplokem":[10,11],"fer":[10],"fers":[10],"ferst":[10,11],"ks":[10],"kse":[10,11],"ksem":[10,11],"ksemp":[10,11],"ksempo":[10,11],"ksempor":[10,11],"ksemport":[10,11],"fele":[10,11],"tek":[10,11],"tekl":[10,11],"tekla":[10,11],"teklar":[10,11],"teklare":[10,11],"rel":[11],"relo":[11],"reloa":[11],"reloat":[11],"rea":[11],"reak":[11],"reakt":[11],"reakte":[11],"reaktef":[11],"reaktefe":[11],"opk":[11],"opke":[11],"opkek":[11],"opkekt":[11],"pro":[11],"prop":[11],"prope":[11],"proper":[11],"propert":[11],"properte":[11],"propertes":[11],"lek":[11],"leke":[11],"meto":[11],"metot":[11],"kamket":[11],"orl":[11],"oset":[11],"stele":[11],"om":[11],"omt":[11],"omte":[11],"omter":[11],"fomkteoms":[11]},{"2":[4],"3":[6],"5":[8],"8":[7],"25":[4],"50":[8],"falos":[0],"pol":[0],"pole":[0],"polea":[0],"poleam":[0],"oset":[0],"ete":[0],"etet":[0],"reat":[0],"set":[0],"per":[0],"perf":[0],"perfo":[0],"perfor":[0],"perform":[0],"ak":[0,7,11],"akt":[0,7,11],"akte":[0,7],"akteo":[0],"akteom":[0],"akteoms":[0],"at":[0,4,6],"ate":[0],"atem":[0],"atemk":[0],"etete":[0],"etetem":[0],"etetemk":[0],"tel":[0],"tele":[0],"telet":[0],"telete":[0],"teletem":[0],"teletemk":[0],"ek":[0,3],"eko":[0,3],"ekom":[0,3],"ekoms":[0],"tesp":[0],"tespl":[0],"tespla":[0],"tesplat":[0],"kamk":[0],"kamke":[0],"kamkes":[0],"pas":[0,4],"pase":[0,4],"pases":[0],"pre":[0],"pres":[0],"prese":[0],"presem":[0],"presemt":[0],"prope":[0],"proper":[0],"propert":[0],"properte":[0],"eo":[0],"eor":[0,9],"fals":[1],"false":[1],"se":[1],"ses":[1],"sese":[1],"mt":[1],"af":[1,10],"afa":[1,10],"afal":[1,10,11],"afala":[1,10,11],"afalap":[1,10,11],"afalapl":[1,10,11],"afalaple":[1,10,11],"op":[1],"opt":[1,9],"opte":[1,9],"opteo":[1,9],"opteom":[1,9],"opteoms":[1,9],"ar":[1,9],"are":[1,9],"sm":[1],"st":[2],"sta":[2],"star":[2],"start":[2],"lef":[2],"left":[2],"kem":[2],"kemt":[2],"kemte":[2],"kemter":[2],"metl":[2],"metle":[2],"emt":[2,4,11],"rekt":[2],"mor":[2],"more":[2],"atr":[2],"atre":[2],"atrep":[2],"atrepo":[2],"atrepot":[2],"atrepote":[2],"atrepotes":[2],"remt":[2],"remte":[2],"remter":[2],"eat":[2],"eate":[2],"eater":[2],"etems":[2],"mos":[2],"most":[2],"komta":[2],"komtam":[2],"fa":[2],"fas":[2],"lestf":[2],"lestfe":[2],"lestfef":[2],"felt":[2],"felts":[2],"fal":[2],"falo":[2],"par":[2,11],"pars":[2],"r":[3,7],"re":[3],"rek":[3],"reko":[3],"rekor":[3],"rekore":[3],"rekoret":[3],"to":[3,4,8],"pe":[3],"pa":[4],"paset":[4],"tef":[4],"tefa":[4,10],"tefao":[4,10],"tefaol":[4,10],"tefaolt":[4,10],"tefaolts":[4],"25p":[4],"25ps":[4],"em":[4],"emte":[4,11],"emtem":[4],"emtemt":[4],"emtemtf":[4],"emtemtfe":[4],"emtemtfet":[4],"fe":[4],"fet":[4,8],"emtemta":[4],"emtemtat":[4],"emtemtate":[4],"emtemtateo":[4],"emtemtateom":[4],"tep":[4,10],"tept":[4],"ket":[4],"kets":[4],"emk":[4],"emkr":[4],"emkre":[4],"emkrem":[4],"emkreme":[4],"emkremem":[4],"emkrememt":[4],"emkrememte":[4],"emkrememtet":[4],"ef":[4,6,11],"efe":[4],"efer":[4],"efere":[4],"me":[4,7,9],"mes":[4],"mest":[4],"meste":[4],"mestet":[4],"so":[4],"sop":[4],"tot":[5],"toto":[5],"sk":[5,7],"skt":[5],"aps":[5],"ems":[5],"emse":[5],"emset":[5],"emsete":[5],"ter":[5],"tere":[5],"terek":[5],"terekt":[5],"terekto":[5],"terektor":[5],"terektore":[5],"mp":[5],"mps":[5],"tek":[5,9],"teke":[5],"teket":[5],"met":[5,9],"metk":[5],"metka":[5],"metkam":[5],"metkamf":[5],"metkamfa":[5],"metkamfar":[5],"metkamfare":[5],"metkamfares":[5],"ol":[6],"el":[6],"els":[6],"else":[6],"tepem":[6],"tepemt":[6],"tepemte":[6],"tepemtem":[6],"tepemtemk":[6],"tepemtemke":[6],"tepemtemkes":[6],"top":[6],"fol":[6,10,11],"folo":[6,10,11],"folof":[6,10,11],"folofe":[6,10,11],"folofem":[6,10,11],"folofemk":[6,10,11],"ama":[6],"amas":[6],"amase":[6],"amasem":[6],"amasemk":[6],"pr":[6],"pro":[6],"prok":[6],"proke":[6],"prokek":[6],"prokekt":[6],"prokekts":[6],"ro":[7],"rom":[7],"romt":[7],"romte":[7],"romtet":[7],"lk":[7],"pot":[7],"poto":[7],"potom":[7],"aktef":[7],"aktefe":[7],"m":[7],"skr":[7],"skre":[7],"skrep":[7],"skrept":[7],"emp":[7,8],"empo":[7,8],"empor":[7],"emport":[7],"omotseteklekt":[7],"omotseteklekte":[7],"omotseteklekter":[7],"omotseteklektere":[7],"omotseteklekterek":[7],"omotseteklekterekt":[7],"omotseteklekterekte":[7],"omotseteklekterektef":[7],"omotseteklekterektefe":[7],"fra":[7,8],"frap":[7,8],"frape":[7,8],"esp":[7,10,11],"espo":[7,10,11],"espor":[7,10,11],"esport":[7,10,11],"50m":[8],"50ms":[8],"ks":[8,9],"kse":[8,9],"ksem":[8,9],"ksemp":[8,9],"ksempo":[8,9],"ksempor":[8,9],"ksemport":[8,9],"ome":[8,11],"omem":[8],"omemp":[8],"omempo":[8],"omempot":[8],"somet":[8],"somete":[8],"sometem":[8],"sometemk":[8],"empot":[8],"efem":[8],"efemt":[8],"l":[8,9],"le":[8,9],"let":[8,9],"fele":[8,9],"felet":[8],"feleto":[8],"feletop":[8],"feletopa":[8],"feletopas":[8],"feletopase":[8],"feletopase6":[8],"feletopase64":[8],"tes":[8],"fete":[9],"fetel":[9],"fetele":[9],"feteles":[9],"fetelest":[9],"feteleste":[9],"fetelestet":[9],"fetelestetm":[9],"fetelestetme":[9],"fetelestetmet":[9],"fetelestetmeto":[9],"fetelestetmetot":[9],"fetelestetmetots":[9],"ap":[9],"ape":[9],"ka":[9],"kam":[9],"als":[9],"also":[9],"tefe":[9,11],"tefem":[9,11],"tefeme":[9,11],"ose":[9],"osem":[9],"osemk":[9],"reke":[9],"rekes":[9],"rekest":[9],"rekeste":[9],"rekester":[9],"resorkesp":[9],"resorkespl":[9],"resorkesplo":[9],"resorkesplok":[9],"resorkesploke":[9],"resorkesplokem":[9],"fer":[9],"fers":[9],"ferst":[9],"tekl":[9],"tekla":[9],"teklar":[9],"teklare":[9],"omt":[9,10],"omte":[9,10],"omter":[9,10],"fom":[9,10],"fomk":[9,10],"fomkt":[9,10],"fomkte":[9,10],"fomkteo":[9,10],"fomkteom":[9,10],"fomkteoms":[9,10],"opk":[10],"opke":[10],"opkek":[10],"opkekt":[10],"esa":[10],"esam":[10],"esamp":[10],"esampl":[10],"esample":[10],"kom":[10],"komp":[10,11],"kompo":[10,11],"kompom":[10,11],"kompome":[10,11],"kompomem":[10,11],"kompomemt":[10,11],"ret":[10,11],"reto":[10,11],"retor":[10,11],"retorm":[10,11],"tepe":[10],"ao":[10,11],"aot":[10,11],"aoto":[10,11],"tr":[10],"tro":[10,11],"am":[10],"amt":[10],"er":[10],"ere":[10],"apes":[10],"ksl":[10],"ksle":[10],"kslet":[10],"akto":[11],"aktoa":[11],"aktoal":[11],"mame":[11],"teme":[11],"aotom":[11],"aotoma":[11],"aotomat":[11],"aotomate":[11],"aotomatek":[11],"aotomateka":[11],"aotomatekal":[11],"aotomatekale":[11],"kakem":[11],"kakemk":[11],"kla":[11],"klas":[11],"resp":[11],"respo":[11],"respom":[11],"respoms":[11],"respomse":[11],"respomses":[11],"kos":[11],"kost":[11],"omek":[11],"omeko":[11],"klo":[11],"klop":[11],"klopa":[11],"klopal":[11],"mof":[11],"kaket":[11],"mem":[11],"memo":[11],"memor":[11],"memore":[11],"emtes":[11],"emtese":[11],"emteset":[11],"emtesetp":[11],"amo":[11],"amot":[11],"amote":[11],"amoter":[11],"tefer":[11],"tefere":[11],"teferem":[11],"teferemt":[11],"part":[11],"apl":[11],"aple":[11],"aplek":[11],"apleka":[11],"aplekat":[11],"aplekate":[11],"aplekateo":[11],"aplekateom":[11],"sa":[11],"sam":[11],"same":[11],"reo":[11],"reos":[11],"reose":[11]},{"1":[4,10],"2":[2,6,10],"3":[5],"5":[11],"15":[4],"20":[6,10],"25":[2],"50":[11],"201":[6],"2019":[6],"efemt1":[0],"komp":[0,3,9],"kompo":[0,3,9],"kompom":[0,3,9],"kompome":[0,3,9],"kompomem":[0,3,9],"kompomemt":[0,3,9],"kompomemt1":[0],"efemt2":[0],"kompomemt2":[0],"kalek":[0],"kaleko":[0],"kalekom":[0],"mete":[0],"metem":[0],"metemk":[0],"metemke":[0],"metemkek":[0],"metemkeko":[0],"metemkekom":[0],"ekt":[0],"kel":[0,10],"pes":[0],"pese":[0],"pesel":[0],"50p":[0],"50ps":[0],"pel":[0],"pelo":[0],"pelof":[0],"tete":[0],"teter":[0],"teterm":[0],"teterme":[0],"tetermem":[0],"tetermeme":[0],"tetermemes":[0],"fete":[0,5],"feter":[0],"sor":[0,2,10],"sort":[0,10],"sortk":[0],"sortko":[0],"sortkot":[0],"sortkots":[0],"emaplet":[0],"sete":[0],"setem":[0],"setemk":[0],"sop":[0],"sopo":[0],"sopor":[0],"soport":[0],"soports":[0],"maf":[0],"mafe":[0],"mafek":[0],"mafeka":[0],"mafekat":[0],"mafekate":[0],"mafekatem":[0],"mafekatemk":[0],"pet":[0],"petf":[0],"petfe":[0],"petfem":[0],"fef":[0],"fefs":[0],"presemk":[0],"momtl":[0],"momtle":[0],"fekl":[0],"fekle":[0],"tal":[0,6],"tale":[0],"ems":[0,8],"emse":[0],"emset":[0],"emsete":[0],"rek":[0],"rekt":[0],"aro":[0],"arof":[0],"lef":[0],"left":[0],"kep":[0],"kepo":[0],"kepoa":[0],"kepoar":[0],"kepoart":[0],"fok":[0],"foko":[0],"fokos":[0],"fokose":[0],"fokoset":[0],"l":[1],"lk":[1],"sl":[1,4],"tem":[1],"teme":[1,6],"pl":[1],"pla":[1],"plak":[1],"ret":[1,7,8,9],"kr":[1],"kre":[1],"krem":[1],"plo":[1],"or":[1],"ora":[1],"oram":[1],"oramk":[1],"oramke":[1],"str":[1,2,8,10,11],"stre":[1,2,8,10,11],"strem":[1,2,8,10,11],"stremk":[1,2,8,10,11],"amtl":[2],"amtle":[2],"remtere":[2],"remterem":[2],"remteremk":[2],"ma":[2],"mam":[2],"mame":[2],"ak":[2,3],"ake":[2,3],"ema":[2,10],"emal":[2],"mak":[2,11],"make":[2,11],"so":[2,3],"sore":[2],"ol":[2],"olt":[2],"olts":[2],"akt":[2],"akto":[2],"aktoa":[2],"aktoal":[2],"sof":[2,3,4],"sofm":[2,3],"s":[3],"em":[3],"akep":[3],"akept":[3],"amt":[3],"15p":[4],"15ps":[4],"sofe":[4],"sofem":[4],"sofemt":[4],"sofemte":[4],"sofemtem":[4],"sofemtemt":[4],"sofemtemta":[4],"sofemtemtat":[4],"sofemtemtate":[4],"sofemtemtateo":[4],"sofemtemtateom":[4],"sofemtemtateomk":[4],"sofemtemtateomko":[4],"sofemtemtateomkot":[4],"sofemtemtateomkote":[4],"sofemtemtateomkotes":[4],"po":[4],"pol":[4],"pole":[4],"polea":[4],"poleam":[4],"fl":[4],"fla":[4],"flak":[4],"tes":[4],"tesp":[4],"tespl":[4],"tespla":[4],"tesplam":[4],"tesplamk":[4],"ls":[4],"lemes":[4],"tro":[4],"slo":[4],"slot":[4],"slots":[4],"kos":[4],"kost":[4],"kosto":[4],"kostom":[4],"opteoma":[4],"opteomal":[4],"opteomale":[4],"ofe":[4],"ofer":[4],"ofere":[4],"oferet":[4],"oferete":[4],"r":[5],"re":[5,7,8],"ref":[5],"refe":[5],"refer":[5],"mo":[5,6],"mor":[5],"more":[5],"tet":[5],"teta":[5],"tetal":[5],"tetals":[5],"ek":[5,6],"ekm":[5],"ekmo":[5],"ekmor":[5],"ekmore":[5],"ks":[5,6],"ksr":[5],"ksrf":[5],"kom":[5,9],"komf":[5],"komfe":[5],"komfek":[5],"test":[5],"pre":[5],"pref":[5],"prefe":[5],"prefem":[5],"prefemt":[5],"ksrft":[5],"ksrfto":[5],"ksrftok":[5],"ksrftoke":[5],"ksrftokem":[5],"er":[5,9],"ero":[5],"eror":[5],"erors":[5],"fele":[5],"tef":[5],"talf":[6],"talfe":[6],"talfem":[6],"talfemt":[6],"talfemtk":[6],"talfemtks":[6],"ea":[6],"eat":[6],"eatl":[6],"eatle":[6],"eatles":[6],"pop":[6],"pope":[6],"poper":[6],"poperk":[6],"poperks":[6],"tept":[6],"tepta":[6],"teptap":[6],"fea":[6],"feat":[6],"feate":[6],"feater":[6],"eko":[6],"ekom":[6],"ekoms":[6],"pak":[6],"paka":[6],"pakak":[6],"pakake":[6],"kso":[6],"ksom":[6],"mot":[6],"mote":[6],"motef":[6],"motefa":[6],"motefat":[6],"motefate":[6],"motefateo":[6],"motefateom":[6],"st":[6,8],"sta":[6],"star":[6],"start":[6],"starte":[6],"startet":[6],"polte":[6],"poltem":[6],"poltemk":[6],"pok":[6],"poks":[6],"esp":[6,9],"espe":[6],"esper":[6],"espere":[6],"esperem":[6],"espereme":[6],"esperemem":[6],"esperememt":[6],"esperememta":[6],"esperememtal":[6],"tese":[6],"tesek":[6],"tesekm":[6],"ses":[6],"sest":[6],"seste":[6],"sestem":[6],"pe":[6,8],"temel":[6],"temele":[6],"temeles":[6],"as":[6],"prot":[6],"proto":[6],"protok":[6],"protokt":[6],"kot":[6],"sm":[6],"sma":[6],"smal":[6],"reo":[6],"reos":[6],"reosa":[6],"reosap":[6],"reosapl":[6],"reosaple":[6],"tefa":[7,9],"tefao":[7,9],"tefaol":[7,9],"tefaolt":[7,9],"tata":[7],"reto":[7,8,9],"retor":[7,8,9],"retorm":[7,8,9],"fa":[7,10],"fal":[7,10],"fals":[7],"false":[7],"met":[7],"meto":[7],"metot":[7],"metots":[7],"fes":[7],"fese":[7],"fesep":[7],"fesepe":[7],"fesepel":[7],"fesepele":[7],"fesepelet":[7],"fesepelete":[7],"al":[7],"alo":[7],"alof":[7],"alofs":[7],"eo":[7],"fem":[7,10],"feme":[7],"femef":[7],"femefe":[7],"femefer":[7],"am":[7,8],"pa":[8],"pas":[8],"pase":[8],"pase6":[8],"pase64":[8],"op":[8],"opk":[8],"opke":[8],"opkek":[8],"opkekt":[8],"mos":[8,10],"most":[8,10],"emst":[8],"emsta":[8],"emstam":[8],"emstamk":[8],"emstamke":[8],"af":[9],"afa":[9],"afal":[9],"afala":[9],"afalap":[9],"afalapl":[9],"afalaple":[9],"fol":[9],"folo":[9],"folof":[9],"folofe":[9],"folofem":[9],"folofemk":[9],"esa":[9],"esam":[9],"esamp":[9],"esampl":[9],"esample":[9],"ko":[9],"espo":[9],"espor":[9],"esport":[9],"tep":[9],"tepe":[9],"les":[9,11],"lest":[9,11],"ere":[9,11],"apes":[9,11],"ta":[9],"tat":[9],"ksl":[9],"ksle":[9],"kslet":[9],"apl":[10],"aple":[10],"ope":[10],"opem":[10],"fek":[10],"sorte":[10],"sortet":[10],"emt":[10],"emte":[10],"emtes":[10],"sol":[10],"solt":[10],"fetke":[10],"fetket":[10],"falo":[10],"mom":[10],"momp":[10],"mompe":[10],"momper":[10],"sem":[10],"semk":[10],"semkl":[10],"semkle":[10],"rekos":[10],"rekost":[10],"par":[10],"pare":[10],"parem":[10],"paremt":[10],"fetkem":[10],"fetkemk":[10],"kelt":[10],"mol":[10],"emap":[10],"emapl":[10],"emaple":[10],"tepo":[10,11],"tepok":[10],"tepoke":[10],"tepokem":[10],"tepokemk":[10],"kor":[10],"kore":[10],"kak":[10],"kake":[10],"parte":[11],"partea":[11],"parteal":[11],"ro":[11],"rot":[11],"rote":[11],"rotes":[11],"orls":[11],"tel":[11],"tele":[11],"telet":[11],"telete":[11],"para":[11],"param":[11],"parame":[11],"paramet":[11],"paramete":[11],"parameter":[11],"parameters":[11],"params":[11],"kem":[11],"keme":[11],"kemer":[11],"kemera":[11],"kemerat":[11],"kemerate":[11],"makep":[11],"makepa":[11],"makepar":[11],"makepara":[11],"makeparam":[11],"makeparams":[11],"tepom":[11],"tepomk":[11],"tepomke":[11],"efe":[11],"efer":[11],"efere":[11],"50m":[11],"50ms":[11],"eme":[11],"emet":[11],"emete":[11],"emetea":[11],"emeteal":[11],"emetealt":[11],"emetealta":[11],"emetealtat":[11],"emetealtata":[11]},{"4":[5],"202":[6],"2020":[6],"pot":[0],"poto":[0],"potom":[0],"mame":[0],"fom":[0],"fomk":[0],"fomkt":[0],"fomkte":[0],"fomkteo":[0],"fomkteom":[0],"fomkteoma":[0],"fomkteomal":[0],"ter":[0],"tere":[0],"tesk":[0],"tesko":[0],"teskos":[0],"teskose":[0],"teskoset":[0],"sek":[0],"sekt":[0],"sekte":[0],"sekteo":[0],"sekteom":[0],"sekteoms":[0],"kos":[0,1],"kost":[0,1],"kosto":[0,1,10],"kostom":[0,1,10],"ape":[0],"emte":[0,5,7],"emtek":[0],"emtekr":[0],"emtekra":[0],"emtekrat":[0],"emtekrate":[0],"emtekrateo":[0],"emtekrateom":[0],"emtekrateoms":[0],"fomkteoms":[0],"kalet":[0],"mef":[0],"fers":[0],"ferst":[0],"ark":[0],"arko":[0],"arkom":[0],"arkome":[0],"arkomem":[0],"arkomemt":[0],"opt":[0,3,7,8],"opta":[0,7,8],"optat":[0,7,8],"optate":[0,7,8],"eses":[0],"esest":[0],"eseste":[0],"esestem":[0],"esestemk":[0],"optatet":[0,7],"teletet":[0],"pas":[1],"pase":[1],"paset":[1],"pre":[1],"pret":[1],"prete":[1],"pretef":[1],"pretefe":[1],"pretefem":[1],"pretefeme":[1],"pretefemet":[1],"os":[1],"ose":[1],"oset":[1,8],"am":[1],"amt":[1,4,7],"kol":[1],"kolo":[1],"kolor":[1,2],"tos":[1],"mot":[1],"ma":[1,8],"mat":[1],"matk":[1],"ame":[1],"emak":[2],"emake":[2],"komto":[2],"kp":[2],"kpk":[2],"stat":[2],"stato":[2],"statos":[2],"akte":[2],"aktef":[2],"aktefe":[2],"kr":[2,7],"kre":[2],"krem":[2],"kro":[2],"krop":[2],"krope":[2],"kropet":[2],"rofs":[2],"prof":[2],"profe":[2],"profet":[2],"profete":[2],"fo":[2],"fol":[2],"folo":[2],"folof":[2],"folofe":[2],"folofem":[2],"folofemk":[2],"for":[2,11],"form":[2],"forma":[2],"format":[2],"tet":[2,8],"tetl":[2,8],"tetle":[2,8],"kola":[2],"kolap":[2],"kolaps":[2],"kolapse":[2],"kolapset":[2],"fals":[2,9,10,11],"false":[2,9,10,11],"ke1":[2],"falo1":[2],"ke2":[2],"falo2":[2],"opte":[3],"opteo":[3],"opteom":[3],"opteoma":[3],"opteomal":[3],"eo":[3],"ka":[3,8],"kam":[3,8],"mo":[3],"mor":[3],"more":[3],"tem":[4],"temp":[4],"templ":[4],"templa":[4],"templat":[4],"template":[4],"emter":[4,7],"emtere":[4],"et":[4],"es":[4],"esp":[4],"espo":[4],"espos":[4],"espose":[4],"esposes":[4],"komtame":[4],"komtamem":[4],"komtamemk":[4],"atr":[4],"atre":[4],"atrep":[4],"atrepo":[4],"atrepot":[4],"atrepote":[4],"atrepotes":[4],"as":[4,8],"ask":[4],"aske":[4],"askel":[4],"askelt":[4],"askeltr":[4],"askeltre":[4],"askeltrem":[4],"ser":[5,10],"serf":[5],"serfe":[5],"serfer":[5],"prot":[5],"proto":[5],"protok":[5],"protokt":[5],"protokte":[5],"protokteo":[5],"protokteom":[5],"emf":[5],"emfe":[5],"emfer":[5],"emfero":[5],"emferom":[5],"emferome":[5],"emferomem":[5],"emferomemt":[5],"tok":[5,8],"toke":[5],"tokem":[5],"at":[5],"ata":[5],"atak":[5],"atake":[5],"ataket":[5],"fem":[5],"femt":[5],"femto":[5],"femtof":[5],"opk":[5],"opke":[5],"opkek":[5],"opkekt":[5],"emt":[5,7],"emtes":[5],"tm":[5],"tml":[5],"ea":[5],"ear":[5],"earm":[5],"kar":[6],"kart":[6],"fer":[6],"fere":[6],"af":[6],"aft":[6],"afte":[6],"after":[6],"la":[6],"lao":[6],"laom":[6],"laomk":[6],"me":[6],"trop":[6],"trope":[6],"tropem":[6],"tropemk":[6],"mof":[6],"mofe":[6],"mofet":[6],"kl":[6],"klo":[6],"klot":[6],"met":[6],"mete":[6],"metet":[6],"so":[6,11],"kop":[6],"kope":[6],"pek":[7],"peko":[7],"pekom":[7],"pekome":[7],"pekomes":[7],"fesepl":[7],"feseple":[7],"fef":[7],"fefp":[7],"fefpo":[7],"fefpor":[7],"fefport":[7],"kra":[7],"pos":[7],"kamk":[7,8],"kamke":[7,8],"kamket":[7],"falo":[7],"falos":[7],"emters":[7],"emterse":[7],"emtersek":[7],"emtersekt":[7],"emtersekte":[7],"emtersekteo":[7],"emtersekteom":[7],"emtersekteomr":[7],"emtersekteomra":[7],"emtersekteomrat":[7],"emtersekteomrate":[7],"emtersekteomrateo":[7],"op":[7],"fea":[7],"feat":[7],"feato":[7],"feator":[7],"featore":[7],"pak":[8],"pake":[8],"pakem":[8],"pakeme":[8],"pakemet":[8],"pakemeta":[8],"pl":[8],"plo":[8],"plok":[8],"ploke":[8],"plokem":[8],"toko":[8],"tokom":[8],"tokome":[8],"tokomem":[8],"tokomemt":[8],"rea":[8],"reak":[8],"reakt":[8],"reakte":[8],"reaktef":[8],"reaktefe":[8],"reaktefel":[8],"reaktefele":[8],"kamkes":[8],"rek":[8],"reke":[8],"rekes":[8],"rekest":[8],"rekeste":[8],"rekester":[8],"eor":[8],"mam":[8],"meto":[9],"metot":[9],"metots":[9],"apo":[9],"apof":[9],"apofe":[9],"komf":[9],"komfe":[9],"komfek":[9],"komfeko":[9],"komfekor":[9],"komfekora":[9],"komfekorat":[9],"komfekorate":[9],"komfekorateo":[9],"komfekorateom":[9],"emap":[9],"emapl":[9],"emaple":[9],"emaples":[9],"efe":[9,10],"efem":[9,10,11],"efemt":[9,10,11],"efemts":[9,10,11],"ero":[9,10],"eror":[9,10],"ok":[9,10,11],"oko":[9,10,11],"okor":[9,10,11],"fa":[9],"fal":[9,11],"fale":[9,10,11],"falet":[9,10,11],"rekos":[9],"rekost":[9],"ome":[9,10],"omer":[9,10,11],"omero":[9,10,11],"omeror":[9,10,11],"sok":[9,10,11],"soke":[9,10,11],"sokes":[9,10,11],"sokesf":[9,10,11],"sokesfo":[9,10,11],"sokesfol":[9,10,11],"resp":[9,10],"respo":[9,10],"respom":[9,10],"respoms":[9,10],"respomse":[9,10],"oms":[9,10,11],"omso":[9,10,11],"omsok":[9,10,11],"omsoke":[9,10,11],"omsokes":[9,10,11],"tata":[9],"tr":[9],"tra":[9,10],"tram":[9,10,11],"trams":[9,10,11],"tramsf":[9,10,11],"tramsfo":[9,10,11],"tramsfor":[9,10,11],"tramsform":[9,10,11],"pef":[9,10,11],"pefo":[9,10,11],"pefor":[9,10,11],"pefore":[9,10,11],"sete":[9,10,11],"setem":[9,10,11],"setemk":[9,10,11],"ope":[9,11],"opem":[9,11],"ara":[10,11],"sere":[10,11],"serea":[10,11],"sereal":[10,11],"sereale":[10,11],"sereales":[10,11],"serealese":[10,11],"serealeset":[10,11],"far":[10,11],"fare":[10,11],"fares":[10],"klem":[10],"klemt":[10],"fam":[10],"famt":[10],"mak":[10],"make":[10],"aotom":[10],"aotoma":[10],"aotomat":[10],"aotomate":[10],"aotomatek":[10],"aotomateka":[10],"aotomatekal":[10],"aotomatekale":[10],"ot":[10],"ote":[10],"oter":[10],"fetko":[10],"fetkom":[10],"fetkome":[10],"emse":[10],"emser":[10],"emsert":[10],"tel":[10],"tele":[10],"telet":[10],"telete":[10],"farea":[11],"fareap":[11],"fareapl":[11],"fareaple":[11],"poste":[11],"postet":[11],"makem":[11],"makemk":[11],"pefores":[11],"peforeso":[11],"peforesop":[11],"peforesopm":[11],"peforesopme":[11],"peforesopmet":[11],"faleta":[11],"faletat":[11],"faletate":[11],"mes":[11],"mesa":[11],"mesak":[11],"mesake":[11],"trof":[11],"rekor":[11],"rekore":[11],"rekoret":[11],"retorme":[11],"retormet":[11],"pem":[11],"pemk":[11],"okore":[11],"okoret":[11],"prom":[11],"prome":[11],"promes":[11],"promese":[11]},{"2":[11],"4":[2],"7":[1],"8":[5],"76":[1],"80":[5],"808":[5],"8080":[5],"komso":[0,2],"komsol":[0,2],"komsole":[0,2],"kreatef":[0],"kreatefe":[0],"kreatefem":[0],"kreatefemt":[0],"optatef":[0],"optatefe":[0],"optatefem":[0],"optatefemt":[0],"efemtet":[0],"teletef":[0],"teletefe":[0],"teletefem":[0],"teletefemt":[0],"tese":[0],"kals":[0],"kl":[0,2],"kle":[0,2],"klek":[0,2],"ket":[0,2],"atet":[0],"atete":[0],"ateteo":[0],"ateteom":[0],"ateteoma":[0],"ateteomal":[0],"tata":[0],"fea":[0],"pop":[0],"popo":[0],"popof":[0],"popofe":[0],"popofer":[0],"top":[0],"topl":[0],"tople":[0],"mem":[0],"memt":[0],"memte":[0],"memteo":[0],"memteom":[0],"memteome":[0],"memteomet":[0],"fes":[0],"amtl":[0],"amtle":[0],"kleks":[0],"ofm":[0],"profetes":[0],"fele":[0],"osem":[0,2],"osemk":[0,2],"tre":[0],"trek":[0],"treke":[0],"treker":[0],"trekere":[0],"trekeret":[0],"omk":[0,11],"omkl":[0],"omkle":[0],"omklek":[0],"kleke":[0,2],"kleket":[0,2],"kalp":[0],"kalpa":[0],"kalpak":[0],"reke":[0],"rekef":[0],"rekefe":[0],"mos":[0],"mose":[0],"mosef":[0],"mosefe":[0],"mosefem":[0],"mosefemt":[0],"kalemtare":[0],"kalemtaref":[0],"kalemtarefe":[0],"kalemtarefem":[0],"kalemtarefemt":[0],"me":[1],"met":[1],"mete":[1],"metet":[1],"opk":[1,7],"opke":[1,7],"opkek":[1,7],"opkekt":[1,7],"fet":[1],"prem":[1],"prema":[1],"premar":[1],"premare":[1],"sek":[1,7],"seko":[1,7],"sekom":[1,7],"sekomt":[1,7],"sekomta":[1],"sekomtar":[1],"sekomtare":[1],"kolors":[1],"ka":[1],"kam":[1],"temek":[1],"temeko":[1],"temekom":[1],"temekomp":[1],"temekompl":[1],"temekomple":[1],"temekomplet":[1],"temekomplete":[1],"kom":[1],"komp":[1,8],"kompl":[1],"komple":[1],"komplet":[1],"komplete":[1],"kompletet":[1],"76f":[1],"76f7":[1],"76f7p":[1],"76f7pe":[1],"le":[1],"lek":[1],"lekt":[1],"opteoms":[2],"fam":[2],"famt":[2],"rot":[2],"rote":[2],"roter":[2],"lem":[2],"lemk":[2],"ketr":[2],"ketro":[2],"ketrof":[2],"ketrofr":[2],"ketrofro":[2],"ketrofrot":[2],"ketrofrote":[2],"fom":[2,4],"fomk":[2,4],"fomkt":[2,4],"fomkte":[2,4],"fomkteo":[2,4],"fomkteom":[2,4],"ret":[2],"reto":[2],"retor":[2],"retorm":[2],"retorms":[2],"oser":[2,11],"para":[2,7],"param":[2,7],"params":[2],"osere":[2],"oseret":[2],"som":[2],"some":[2],"akteo":[2],"akteom":[2],"omr":[2],"omro":[2],"omrof":[2],"omrofk":[2],"omrofkl":[2],"omrofkle":[2],"omrofklek":[2],"efe":[2],"efem":[2],"efemt":[2],"amtler":[2],"koms":[2],"lo":[2],"lok":[2],"sel":[2],"sele":[2],"selek":[2],"selekt":[2],"selekta":[2],"selektap":[2],"selektapl":[2],"selektaple":[2],"pol":[2],"pole":[2],"polea":[2],"poleam":[2],"tr":[2],"tro":[2],"kek":[2],"kekp":[2],"kekpo":[2],"kekpos":[2],"os":[3],"ose":[3],"oset":[3],"for":[3],"kos":[3],"kost":[3],"kosto":[3],"kostom":[3],"rem":[3],"remt":[3],"remte":[3],"remter":[3],"remtere":[3],"remterem":[3],"remteremk":[3],"ea":[3],"eat":[3],"eate":[3],"eater":[3],"or":[3,4,9],"fete":[4,10],"feter":[4,10],"lea":[4],"leaf":[4],"esk":[4],"esko":[4],"eskol":[4],"eskola":[4],"eskolap":[4],"eskolaps":[4],"eskolapse":[4],"eskolapset":[4],"kol":[4],"kola":[4],"kolap":[4],"kolaps":[4],"kolapse":[4],"kolapset":[4],"tok":[4],"tokl":[4],"tokle":[4],"toklek":[4],"tokleko":[4],"toklekol":[4],"toklekola":[4],"toklekolap":[4],"toklekolaps":[4],"toklekolapse":[4],"toklekolapset":[4],"espa":[4],"espam":[4],"espamt":[4],"om":[5],"por":[5],"port":[5],"pe":[5],"kamk":[5],"kamke":[5],"kamket":[5],"tefe":[5],"tefel":[5],"tefelo":[5],"tefelop":[5],"tefelopm":[5],"tefelopme":[5],"tefelopmem":[5],"tefelopmemt":[5],"komfeko":[5],"komfekor":[5],"komfekore":[5],"komfekoret":[5],"pros":[5],"prose":[5],"oso":[5],"osoa":[5],"osoal":[5],"osoale":[5],"ro":[5,9,10],"rom":[5,9,10],"rome":[5,9,10],"romem":[5,9,10],"romemk":[5,9,10],"past":[6],"paste":[6],"pastet":[6],"efo":[6],"efol":[6],"efolf":[6],"efolfe":[6],"efolfet":[6],"ofe":[6,11],"ofer":[6,11],"fork":[6],"forke":[6],"forkem":[6],"forkemk":[6],"apo":[6],"apot":[6],"ear":[6],"alf":[6],"mes":[6],"mest":[6],"emterm":[7],"emterma":[7],"emtermal":[7],"emtermale":[7],"oses":[7],"emtersekteomo":[7],"emtersekteomop":[7],"emtersekteomops":[7],"emtersekteomopse":[7],"emtersekteomopser":[7],"emtersekteomopserf":[7],"emtersekteomopserfe":[7],"emtersekteomopserfer":[7],"ape":[7],"pa":[7],"par":[7],"parame":[7],"paramet":[7],"paramete":[7],"parameter":[7],"emtr":[7],"emtre":[7],"pr":[7,9,10],"pre":[7],"pakemetap":[8],"pakemetapl":[8],"pakemetaplo":[8],"pakemetaplok":[8],"pakemetaploke":[8],"pakemetaplokem":[8],"mof":[8],"kompo":[8],"kompom":[8],"kompome":[8],"kompomem":[8],"kompomemt":[8],"tek":[8],"tekl":[8],"tekla":[8],"teklar":[8],"teklare":[8],"ot":[9],"ote":[9],"oter":[9],"mat":[9,10],"mate":[9,10],"mol":[9],"molt":[9,10],"molte":[9,10],"moltep":[9,10],"moltepl":[9,10],"molteple":[9,10],"emt":[9],"emte":[9],"emtef":[9,10],"emtefe":[9,10],"emtefet":[9,10],"emtefeto":[9,10],"emtefetoa":[9,10],"emtefetoal":[9,10],"fetkes":[9,10],"at":[9,10],"totos":[9],"pro":[9,10],"prop":[9,10],"prope":[9,10],"proper":[9,10],"propert":[9,10],"properte":[9,10],"propertes":[9,10],"seme":[9,10],"semel":[9,10],"semela":[9,10],"semelar":[9,10],"semelarl":[9,10],"semelarle":[9,10],"ter":[9],"tere":[9],"romt":[10],"romto":[10],"romtok":[10],"romtokm":[10],"romtokme":[10],"romtokmet":[10],"romtokmeto":[10],"romtokmetot":[10],"retorme":[10],"retormet":[10],"ore":[10],"orek":[10],"oreke":[10],"orekem":[10],"orekema":[10],"orekemal":[10],"orekemalt":[10],"orekemalta":[10],"orekemaltat":[10],"orekemaltata":[10],"pem":[10],"pemk":[10],"tramsforme":[10],"tramsformet":[10],"rel":[10],"relo":[10],"reloa":[10],"reloat":[10],"ese":[10],"eses":[10],"esest":[10],"eseste":[10],"esestem":[10],"esestemk":[10],"asm":[10],"asme":[10],"asmes":[10],"asmest":[10],"asmestp":[10],"asmestpa":[10],"asmestpak":[10],"asmestpake":[10],"afate":[11],"afatet":[11],"semt":[11],"falo":[11],"omke":[11],"stas":[11],"aft":[11],"afte":[11],"after":[11],"pref":[11],"prefe":[11],"prefeo":[11],"prefeos":[11],"prefeost":[11],"prefeosta":[11],"prefeostat":[11],"prefeostata":[11],"kor":[11],"kore":[11],"korem":[11],"koremt":[11],"mef":[11],"ale":[11],"alea":[11],"aleas":[11],"sop":[11],"sopm":[11],"sopme":[11],"sopmet":[11],"kalem":[11],"kalemk":[11],"rese":[11],"reset":[11],"mefl":[11],"mefle":[11],"kreatet":[11],"opta":[11],"optat":[11],"optate":[11],"osers":[11],"ofere":[11],"oferet":[11],"oferete":[11],"mamo":[11],"mamoa":[11],"mamoal":[11],"mamoale":[11],"seta":[11],"setat":[11],"setata":[11],"tet":[11],"tetl":[11],"tetle":[11],"test":[11],"mote":[11],"motef":[11],"motefe":[11]},{"1":[7],"2":[7],"10":[7],"20":[7],"rep":[0],"repr":[0],"repre":[0],"repres":[0],"represe":[0],"represem":[0],"represemt":[0],"omt":[0],"omtp":[0],"omtpl":[0],"omtplk":[0],"omtplkl":[0],"omtplkle":[0],"omtplklek":[0],"omke":[0],"omkel":[0],"omkelt":[0],"omkeltp":[0],"omkeltpl":[0],"omkeltplk":[0],"omkeltplkl":[0],"omkeltplkle":[0],"omkeltplklek":[0],"fas":[0],"ra":[0],"ram":[0],"ramk":[0],"ramke":[0],"ramkes":[0],"kret":[0],"ofe":[0,2],"ofer":[0,2],"er":[0],"ere":[0],"far":[1],"fare":[1],"farea":[1],"faream":[1],"fareamt":[1],"sol":[1],"sole":[1],"solet":[1],"ot":[1,11],"otl":[1],"otle":[1],"otlem":[1],"otleme":[1],"fem":[1,9],"om":[1],"mol":[2],"molt":[2],"molte":[2],"moltes":[2],"moltese":[2],"moltesel":[2],"moltesele":[2],"molteselek":[2],"molteselekt":[2],"per":[2],"perf":[2],"perfo":[2],"perfor":[2],"perform":[2],"soft":[2],"softo":[2],"softol":[2],"softolt":[2],"softolte":[2],"softoltep":[2],"tol":[2],"tolt":[2],"tolte":[2],"toltep":[2],"res":[2],"rese":[2],"reses":[2],"resese":[2],"resesek":[2],"reseseko":[2],"resesekol":[2],"resesekolo":[2],"resesekolom":[2],"reseset":[2],"tra":[2],"trak":[2],"trake":[2],"trakem":[2],"trakemk":[2],"reseser":[2],"komte":[3,4],"komtem":[3],"komtemt":[3],"mot":[3,5],"mote":[3,5],"motel":[3],"se":[3],"set":[3],"akt":[3],"akte":[3],"aktef":[3],"aktefe":[3],"esa":[4],"esam":[4],"esamp":[4],"esampl":[4],"esample":[4],"kostome":[4],"kostomes":[4],"kostomese":[4],"kostomesem":[4],"kostomesemk":[4],"met":[4],"mete":[4],"metet":[4],"komtes":[4],"komtest":[4],"mem":[4],"memo":[4],"kl":[4,5],"kla":[4],"klas":[4],"fle":[4],"fles":[4],"ete":[4],"etem":[4],"etems":[4],"kem":[4],"kemt":[4],"kemte":[4],"kemter":[4],"kle":[4,5],"klek":[4,5],"rek":[4,5],"rekt":[4],"ma":[5],"mam":[5],"mame":[5],"mamet":[5],"ope":[5],"opem":[5],"tp":[5],"prof":[5],"profs":[5],"profse":[5],"profser":[5],"pot":[5],"poto":[5],"potom":[5],"sem":[5],"semt":[5],"pem":[5,6,9],"pemk":[5,6,9],"reko":[5],"rekos":[5],"rekost":[5],"komk":[5],"komkr":[5],"komkra":[5],"komkrat":[5],"komkrato":[5],"komkratol":[5],"komkratola":[5],"komkratolat":[5],"komkratolate":[5],"komkratolateo":[5],"komkratolateom":[5],"komkratolateoms":[5],"motek":[5],"moteke":[5],"kam":[6],"kame":[6],"kamep":[6],"kamepl":[6],"kamepla":[6],"kameplam":[6],"tet":[6],"tetm":[6],"fam":[6],"famt":[6],"ak":[6],"aka":[6],"akam":[6],"est":[6,11],"estr":[6,11],"estra":[6,11],"estrak":[6,11],"estrakt":[6,11],"estrakte":[6],"estraktet":[6],"sep":[6],"sepa":[6],"separ":[6],"separa":[6],"separat":[6],"separate":[6],"kal":[6],"kale":[6],"kalet":[6],"tef":[6],"tefe":[6],"tefel":[6],"tefelo":[6],"tefelop":[6],"tefelope":[6],"tefelopet":[6],"par":[6],"para":[6],"paral":[6],"parale":[6],"paralel":[6],"mt":[7],"pk":[7],"omf":[7],"omfe":[7],"omfes":[7],"omfese":[7],"omfesep":[7],"omfesepe":[7],"omfesepel":[7],"omfesepele":[7],"omfesepelet":[7],"omfesepelete":[7],"omfesepeletek":[7],"omfesepeleteka":[7],"omfesepeletekam":[7],"omfesepeletekamk":[7],"omfesepeletekamke":[7],"fesepeletet":[7],"fesepeletete":[7],"fesepeleteter":[7],"fesepeletetere":[7],"fesepeleteterek":[7],"fesepeleteterekt":[7],"fesepeleteterekte":[7],"fesepeleteterektef":[7],"fesepeleteterektefe":[7],"amt":[8],"ek":[8],"eko":[8],"ekom":[8],"or":[8],"emo":[8],"emok":[8],"emoke":[8],"pro":[8],"prop":[8],"prope":[8],"proper":[8],"propert":[8],"properte":[8],"propertes":[8],"pea":[8],"peaf":[8],"peafe":[8],"peafes":[8],"lek":[8],"leke":[8],"kompot":[8],"kompote":[8],"kompotet":[8],"ter":[8],"tere":[8],"tepe":[8],"tepem":[8],"tepemt":[8],"tepemte":[8],"tepemtem":[8],"tepemtemk":[8],"tepemtemke":[8],"tepemtemkes":[8],"retorme":[9],"retormet":[9],"rel":[9],"relo":[9],"reloa":[9],"reloat":[9],"opta":[9,10],"optat":[9,10],"optate":[9,10],"lo":[9,10],"loa":[9,10],"loat":[9,10],"loate":[9,10],"loatem":[9,10],"loatemk":[9,10],"tro":[9],"okore":[9,10],"okoret":[9,10],"mak":[9],"make":[9],"makem":[9,10],"makemk":[9,10],"prom":[9,10],"prome":[9,10],"promes":[9,10],"promese":[9,10],"afat":[9,10],"afate":[9,10],"afatet":[9,10],"falo":[9],"klo":[10],"klos":[10],"klose":[10],"kloset":[10],"pas":[10],"sop":[10],"sopm":[10],"sopme":[10],"sopmet":[10],"ese":[11],"eses":[11],"esest":[11],"eseste":[11],"esestem":[11],"esestemk":[11],"felt":[11],"felte":[11],"felter":[11],"pak":[11],"pake":[11],"pakem":[11],"pakemt":[11],"ote":[11],"oter":[11],"serfek":[11],"serfeke":[11],"tot":[11],"toto":[11],"totos":[11],"klem":[11],"klemt":[11],"tok":[11],"tokt":[11],"tokte":[11],"toktep":[11],"toktepe":[11],"felters":[11],"alo":[11],"alok":[11],"aloka":[11],"alokat":[11],"alokate":[11],"alokatet":[11],"fares":[11],"form":[11],"forma":[11],"format":[11],"fram":[11],"frame":[11],"framef":[11],"framefo":[11],"framefor":[11],"framefork":[11],"rekores":[11],"som":[11],"some":[11],"pars":[11],"parse":[11],"parsem":[11],"parsemk":[11],"tom":[11],"tome":[11],"erors":[11],"semk":[11],"semke":[11],"pol":[11],"polt":[11],"prem":[11],"prema":[11],"premar":[11],"premare":[11],"premarel":[11],"premarele":[11],"aps":[11],"omters":[11],"omterst":[11],"omtersta":[11],"omterstam":[11],"omterstamt":[11],"esporte":[11],"esportet":[11],"fek":[11],"kemere":[11],"kemerek":[11]},{"0":[7],"5":[9],"6":[0],"50":[9],"sofs":[0],"eat":[0],"eate":[0],"eater":[0],"emst":[0],"emste":[0],"emstea":[0],"emsteat":[0],"sl":[0],"slo":[0],"slot":[0],"empl":[0],"emple":[0],"emplem":[0],"empleme":[0],"emplemem":[0],"emplememt":[0],"emplememte":[0],"emplememtet":[0],"sofm":[0],"sto":[0],"stor":[0],"store":[0],"far":[0,2],"fare":[0,2],"farea":[0,2],"faream":[0,2],"fareamt":[0,2],"temp":[0,2,8],"templ":[0,2,8],"templa":[0,2,8],"templat":[0,2,8],"template":[0,2,8],"koremtm":[0],"koremtmo":[0],"koremtmom":[0],"koremtmomt":[0],"koremtmomte":[0],"koremtmomtea":[0],"koremtmomtear":[0],"emapletm":[0],"emapletmo":[0],"emapletmot":[0],"emapletmote":[0],"emapletmotes":[0],"aktef":[0],"aktefe":[0],"aktefef":[0],"aktefefe":[0],"aktefefef":[0],"tek":[0],"tekr":[0],"tekre":[0],"tekrem":[0],"tekreme":[0],"tekremem":[0],"tekrememt":[0],"emkr":[0],"emkre":[0],"emkrem":[0],"emkreme":[0],"emkremem":[0],"emkrememt":[0],"optatea":[0],"optateak":[0],"optateakt":[0],"optateakte":[0],"optateaktef":[0],"optateaktefe":[0],"optateaktefef":[0],"optateaktefefe":[0],"optateaktefefef":[0],"retor":[0],"retorm":[0],"retorms":[0],"ear":[0],"ao":[0],"aok":[0],"aoko":[0],"aokos":[0],"aokost":[0],"komfeko":[0],"komfekor":[0],"komfekore":[0],"komfekoret":[0],"alo":[0],"alof":[0],"alofs":[0],"pref":[0],"prefe":[0],"prefeo":[0],"prefeos":[0],"mes":[0],"mest":[0],"motel":[0],"motelf":[0],"motelfa":[0],"motelfal":[0],"motelfalo":[0],"fele":[1],"felet":[1],"selekte":[2],"selekteo":[2],"selekteom":[2],"pam":[2],"pame":[2],"pamer":[2],"fem":[2],"feto":[2,4],"fetot":[2,4],"poto":[2],"potom":[2],"potoms":[2],"lests":[2],"lestse":[2],"lestsel":[2],"lestsele":[2],"lestselek":[2],"lestselekt":[2],"lestselektp":[2],"lestselektpa":[2],"lestselektpam":[2],"lestselektpame":[2],"lestselektpamer":[2],"akteoms":[2],"kla":[2],"klas":[2],"fl":[2],"fle":[2],"fles":[2],"kap":[2],"tel":[2],"tele":[2],"telet":[2],"telete":[2],"etet":[2],"eor":[2],"ofm":[2],"kamk":[3],"kamke":[3],"sofk":[4],"sofko":[4],"sofkom":[4],"sofkomt":[4],"sofkomte":[4],"sofkomtes":[4],"sofkomtest":[4],"sofkomtestm":[4],"sofkomtestme":[4],"sofkomtestmem":[4],"sofkomtestmemo":[4],"eko":[4],"ekom":[4],"kok":[4],"kokl":[4],"kokle":[4],"ste":[4],"stel":[4],"stele":[4],"steles":[4],"oferetem":[4],"oferetemk":[4],"or":[5],"orl":[5],"pas":[5],"pase":[5],"fer":[5],"fere":[5],"sr":[5],"srk":[5],"rot":[5],"rote":[5],"roter":[5],"amt":[5],"paset":[5],"kreatef":[5],"kreatefe":[5],"kreatefef":[5],"kreatefefe":[5],"kreatefefes":[5],"kreatefefest":[5],"kreatefefesto":[5],"kreatefefestor":[5],"kreatefefestore":[5],"kep":[6],"ate":[6],"atem":[6],"atemk":[6],"ose":[6],"osef":[6],"osefo":[6],"osefol":[6],"tefelopm":[6],"tefelopme":[6],"tefelopmem":[6],"tefelopmemt":[6],"protokts":[6],"oset":[6],"lot":[6],"ems":[6],"emse":[6],"emsek":[6],"emsekt":[6],"emsekts":[6],"tre":[6],"tref":[6],"trefe":[6],"lekem":[6],"lekems":[6],"lekemse":[6],"lekemset":[6],"al":[8],"als":[8],"also":[8],"ak":[8],"ako":[8],"akor":[8],"akort":[8],"akorte":[8],"akortem":[8],"akortemk":[8],"akortemkl":[8],"akortemkle":[8],"sk":[8],"skr":[8],"skre":[8],"skrep":[8],"skrept":[8],"esp":[8],"espo":[8],"espor":[8],"esport":[8],"tef":[8],"tefa":[8],"tefao":[8],"tefaol":[8],"tefaolt":[8],"lem":[8],"lemk":[8],"pm":[8],"pmk":[8],"par":[9],"pars":[9,10],"optatet":[9,10],"sa":[9],"sam":[9],"same":[9],"tepo":[9],"tepom":[9],"tepomk":[9],"tepomke":[9],"tepomket":[9],"setfalot":[9],"setfalote":[9],"setfalotep":[9],"setfalotepo":[9],"setfalotepom":[9],"setfalotepomk":[9],"setfalotepomke":[9],"setfalotepomket":[9],"omk":[9],"omke":[9],"aft":[9],"afte":[9],"after":[9],"50m":[9],"50ms":[9],"tefemet":[9],"ea":[9],"eak":[9],"mef":[10],"semt":[10],"emal":[10],"para":[10],"param":[10],"params":[10],"test":[10],"fraper":[11],"tere":[11],"frapere":[11],"fraperek":[11],"frapereko":[11],"fraperekos":[11],"fraperekost":[11],"kals":[11],"setk":[11],"setko":[11],"setkom":[11],"setkomf":[11],"setkomfe":[11],"setkomfek":[11],"resorkef":[11],"resorkefe":[11],"resorkefet":[11],"resorkefetk":[11],"resorkefetke":[11],"resorkefetker":[11],"rekosts":[11],"trop":[11],"esk":[11]}]', "text.ctx": "[{}]" }, "idMap": { "0": { "id": "src-components-calendar-story-vue", "kind": "story" }, "1": { "id": "src-components-circularprogressbar-story-vue", "kind": "story" }, "2": { "id": "src-components-listview-story-vue", "kind": "story" }, "3": { "id": "src-components-tabs-story-vue", "kind": "story" }, "4": { "id": "src-components-tree-tree-story-vue", "kind": "story" }, "5": { "id": "docs-getting-started-story-js", "kind": "story" }, "6": { "id": "docs-introduction-story-js", "kind": "story" }, "7": { "id": "docs-other-directives-story-js", "kind": "story" }, "8": { "id": "docs-other-utilities-story-js", "kind": "story" }, "9": { "id": "docs-resources-document-resource-story-js", "kind": "story" }, "10": { "id": "docs-resources-list-resource-story-js", "kind": "story" }, "11": { "id": "docs-resources-resource-story-js", "kind": "story" } } }; const searchData = markRaw(searchData$1); function onUpdate(cb) { diff --git a/assets/state-7e0f8f65.js b/assets/state--_Qo4xi1.js similarity index 98% rename from assets/state-7e0f8f65.js rename to assets/state--_Qo4xi1.js index 96f91d5f..f39cf702 100644 --- a/assets/state-7e0f8f65.js +++ b/assets/state--_Qo4xi1.js @@ -1,5 +1,5 @@ -import { c as clientSupportPlugins } from "./GenericMountStory.vue2-380be139.js"; -import { d as defineComponent, r as ref, a3 as watchEffect, a2 as markRaw, o as openBlock, q as createBlock, a4 as mergeProps, a5 as resolveDynamicComponent, h as createCommentVNode, K as reactive, y as histoireConfig, v as isRef, g as unref } from "./vendor-3b8d0bfc.js"; +import { c as clientSupportPlugins } from "./GenericMountStory.vue2-COcojfSX.js"; +import { d as defineComponent, r as ref, a3 as watchEffect, a2 as markRaw, o as openBlock, q as createBlock, a4 as mergeProps, a5 as resolveDynamicComponent, h as createCommentVNode, K as reactive, y as histoireConfig, v as isRef, g as unref } from "./vendor-D4tQXw0h.js"; const __default__ = { inheritAttrs: false }; diff --git a/assets/story-72ebbc17.js b/assets/story-CDQMmp7E.js similarity index 93% rename from assets/story-72ebbc17.js rename to assets/story-CDQMmp7E.js index 75584d2b..2a3ad31d 100644 --- a/assets/story-72ebbc17.js +++ b/assets/story-CDQMmp7E.js @@ -1,5 +1,5 @@ -import { i as defineStore, r as ref, c as computed } from "./vendor-3b8d0bfc.js"; -import { r as router } from "./GenericMountStory.vue2-380be139.js"; +import { i as defineStore, r as ref, c as computed } from "./vendor-D4tQXw0h.js"; +import { r as router } from "./GenericMountStory.vue2-COcojfSX.js"; const useStoryStore = defineStore("story", () => { const stories = ref([]); function setStories(value) { diff --git a/assets/style-b10b0ca8.css b/assets/style-DJBpgTVz.css similarity index 98% rename from assets/style-b10b0ca8.css rename to assets/style-DJBpgTVz.css index 873dc6b9..26b6a606 100644 --- a/assets/style-b10b0ca8.css +++ b/assets/style-DJBpgTVz.css @@ -2977,9 +2977,9 @@ input.htw-text-inherit { font-display: swap; font-style: normal; src: - url('/assets/Inter.var-d30c3bd0.woff2?v=3.19') format('woff2-variations'), - url('/assets/Inter.var-d30c3bd0.woff2?v=3.19') format('woff2'); - src: url('/assets/Inter.var-d30c3bd0.woff2?v=3.19') format('woff2') tech('variations'); + url('/assets/Inter.var-C9xDBOS3.woff2?v=3.19') format('woff2-variations'), + url('/assets/Inter.var-C9xDBOS3.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter.var-C9xDBOS3.woff2?v=3.19') format('woff2') tech('variations'); } @font-face { font-family: 'InterVar'; @@ -2987,9 +2987,9 @@ input.htw-text-inherit { font-display: swap; font-style: italic; src: - url('/assets/Inter-Italic.var-d9f448e3.woff2?v=3.19') format('woff2-variations'), - url('/assets/Inter-Italic.var-d9f448e3.woff2?v=3.19') format('woff2'); - src: url('/assets/Inter-Italic.var-d9f448e3.woff2?v=3.19') format('woff2') tech('variations'); + url('/assets/Inter-Italic.var-BGHziHgI.woff2?v=3.19') format('woff2-variations'), + url('/assets/Inter-Italic.var-BGHziHgI.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Italic.var-BGHziHgI.woff2?v=3.19') format('woff2') tech('variations'); } /* static fonts "Inter" */ @font-face { @@ -2997,126 +2997,126 @@ input.htw-text-inherit { font-style: normal; font-weight: 100; font-display: swap; - src: url('/assets/Inter-Thin-914c3fab.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Thin-D3JiHKaG.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 100; font-display: swap; - src: url('/assets/Inter-ThinItalic-382fab25.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-ThinItalic-Dty9qLU6.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 200; font-display: swap; - src: url('/assets/Inter-ExtraLight-25a4db7c.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-ExtraLight-CCj5KODw.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 200; font-display: swap; - src: url('/assets/Inter-ExtraLightItalic-f0df46d0.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-ExtraLightItalic-BXS8QPqu.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; - src: url('/assets/Inter-Light-211445a8.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Light-dIA14uc3.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 300; font-display: swap; - src: url('/assets/Inter-LightItalic-9ea2db78.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-LightItalic-BcJQrN_r.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; - src: url('/assets/Inter-Regular-edd1deaf.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Regular-trENmjXB.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; - src: url('/assets/Inter-Italic-dd31ea31.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Italic-ClOttZep.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; - src: url('/assets/Inter-Medium-24fb6e39.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Medium-BN7iDkqy.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 500; font-display: swap; - src: url('/assets/Inter-MediumItalic-a2db9bea.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-MediumItalic-iRTrRc5x.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; - src: url('/assets/Inter-SemiBold-51419407.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-SemiBold-CBUekF9E.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 600; font-display: swap; - src: url('/assets/Inter-SemiBoldItalic-daa7095c.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-SemiBoldItalic-J43nRLRr.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; - src: url('/assets/Inter-Bold-1dc41a58.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Bold-R0zHozHF.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 700; font-display: swap; - src: url('/assets/Inter-BoldItalic-dc0d4194.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-BoldItalic-D0-5Ex_3.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; - src: url('/assets/Inter-ExtraBold-8a72efb6.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-ExtraBold-Ce88byQn.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 800; font-display: swap; - src: url('/assets/Inter-ExtraBoldItalic-38e71f7c.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-ExtraBoldItalic-Cgmm6Ie2.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; - src: url('/assets/Inter-Black-05e55dd7.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-Black-9EvaAvES.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'Inter'; font-style: italic; font-weight: 900; font-display: swap; - src: url('/assets/Inter-BlackItalic-4ff7db4a.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-BlackItalic-I0v0TUo2.woff2?v=3.19') format('woff2'); } /* static fonts "InterDisplay" */ @font-face { @@ -3124,42 +3124,42 @@ input.htw-text-inherit { font-style: normal; font-weight: 100; font-display: swap; - src: url('/assets/Inter-DisplayThin-b64c173b.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayThin-ChL4oFCg.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 100; font-display: swap; - src: url('/assets/Inter-DisplayThinItalic-b70f1c61.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayThinItalic-Cxxw6hRb.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 200; font-display: swap; - src: url('/assets/Inter-DisplayExtraLight-32095132.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayExtraLight-D2Ja0abb.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 200; font-display: swap; - src: url('/assets/Inter-DisplayExtraLightItalic-8eeb78f4.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayExtraLightItalic-DRwiM9T2.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 300; font-display: swap; - src: url('/assets/Inter-DisplayLight-e40a858d.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayLight-w8lPQKnS.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 300; font-display: swap; - src: url('/assets/Inter-DisplayLightItalic-151e9a11.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayLightItalic-DBve3eI1.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; @@ -3173,77 +3173,77 @@ input.htw-text-inherit { font-style: italic; font-weight: 400; font-display: swap; - src: url('/assets/Inter-DisplayItalic-938db435.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayItalic-JNEE2o-3.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 500; font-display: swap; - src: url('/assets/Inter-DisplayMedium-12a4a358.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayMedium-DcjtbkcA.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 500; font-display: swap; - src: url('/assets/Inter-DisplayMediumItalic-8968b5ab.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayMediumItalic-BBCoS5uP.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 600; font-display: swap; - src: url('/assets/Inter-DisplaySemiBold-856fcb49.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplaySemiBold-BBWLY5vL.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 600; font-display: swap; - src: url('/assets/Inter-DisplaySemiBoldItalic-5e57e1d2.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplaySemiBoldItalic-CNvBGF7e.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 700; font-display: swap; - src: url('/assets/Inter-DisplayBold-d9bf35ac.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayBold-C-1EDGRh.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 700; font-display: swap; - src: url('/assets/Inter-DisplayBoldItalic-fef00c57.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayBoldItalic-CISmTavk.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 800; font-display: swap; - src: url('/assets/Inter-DisplayExtraBold-b7cc680a.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayExtraBold-BXf2GJrG.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 800; font-display: swap; - src: url('/assets/Inter-DisplayExtraBoldItalic-e5a5984a.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayExtraBoldItalic-Czv3KFD8.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: normal; font-weight: 900; font-display: swap; - src: url('/assets/Inter-DisplayBlack-b1d4e33d.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayBlack-WeYNDCAX.woff2?v=3.19') format('woff2'); } @font-face { font-family: 'InterDisplay'; font-style: italic; font-weight: 900; font-display: swap; - src: url('/assets/Inter-DisplayBlackItalic-d561e8dd.woff2?v=3.19') format('woff2'); + src: url('/assets/Inter-DisplayBlackItalic-DFEmIFsd.woff2?v=3.19') format('woff2'); } *, ::before, ::after { --tw-border-spacing-x: 0; @@ -7108,87 +7108,6 @@ body { min-height: 100%; } -.item { - display: block; - margin: 0; - width: 100%; - text-align: left; - background: transparent; - border-radius: 0.4rem; - border: 1px solid transparent; - padding: 0.2rem 0.4rem; -} -.item.is-selected { - border-color: #000; -} - -.ProseMirror { - outline: none; - caret-color: var(--ink-gray-9); - word-break: break-word; -} - -/* Firefox */ -.ProseMirror-focused:focus-visible { - outline: none; -} - -/* Placeholder */ -.ProseMirror:not(.ProseMirror-focused) p.is-editor-empty:first-child::before { - content: attr(data-placeholder); - float: left; - color: var(--ink-gray-4); - pointer-events: none; - height: 0; -} -.ProseMirror-selectednode video, -img.ProseMirror-selectednode { - outline: 2px solid var(--outline-gray-2); -} - -/* Mentions */ -.mention { - font-weight: 600; - -webkit-box-decoration-break: clone; - box-decoration-break: clone; -} - -/* Table styles */ -.prose table p { - margin: 0; -} - -/* Prosemirror specific table styles */ -.ProseMirror table .selectedCell:after { - z-index: 2; - position: absolute; - content: ''; - left: 0; - right: 0; - top: 0; - bottom: 0; - pointer-events: none; - background: #C8E6FF; - opacity: 0.3; -} -.ProseMirror table .column-resize-handle { - position: absolute; - right: -1px; - top: 0; - bottom: -2px; - width: 4px; - background-color: #C8E6FF; - pointer-events: none; -} -.resize-cursor { - cursor: ew-resize; - cursor: col-resize; -} -.ProseMirror mark { - border-radius: 3px; - padding: 0 2px; -} - .form-control.prefix select { padding-left: 2.2rem !important; text-transform: capitalize !important; @@ -7281,10 +7200,6 @@ img.ProseMirror-selectednode { height: var(--check-icon-size); } -.form-select { - background-image: url("data:image/svg+xml;utf8,"); -} - .slider[data-v-6b0e7566] { --trackHeight: 1px; --thumbRadius: 10px; @@ -7362,3 +7277,88 @@ img.ProseMirror-selectednode { stroke-dashoffset: -124; } } + +.item { + display: block; + margin: 0; + width: 100%; + text-align: left; + background: transparent; + border-radius: 0.4rem; + border: 1px solid transparent; + padding: 0.2rem 0.4rem; +} +.item.is-selected { + border-color: #000; +} + +.ProseMirror { + outline: none; + caret-color: var(--ink-gray-9); + word-break: break-word; +} + +/* Firefox */ +.ProseMirror-focused:focus-visible { + outline: none; +} + +/* Placeholder */ +.ProseMirror:not(.ProseMirror-focused) p.is-editor-empty:first-child::before { + content: attr(data-placeholder); + float: left; + color: var(--ink-gray-4); + pointer-events: none; + height: 0; +} +.ProseMirror-selectednode video, +img.ProseMirror-selectednode { + outline: 2px solid var(--outline-gray-2); +} + +/* Mentions */ +.mention { + font-weight: 600; + -webkit-box-decoration-break: clone; + box-decoration-break: clone; +} + +/* Table styles */ +.prose table p { + margin: 0; +} + +/* Prosemirror specific table styles */ +.ProseMirror table .selectedCell:after { + z-index: 2; + position: absolute; + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + pointer-events: none; + background: #C8E6FF; + opacity: 0.3; +} +.ProseMirror table .column-resize-handle { + position: absolute; + right: -1px; + top: 0; + bottom: -2px; + width: 4px; + background-color: #C8E6FF; + pointer-events: none; +} +.resize-cursor { + cursor: ew-resize; + cursor: col-resize; +} +.ProseMirror mark { + border-radius: 3px; + padding: 0 2px; +} + +.form-select { + background-image: url("data:image/svg+xml;utf8,"); +} diff --git a/assets/vendor-3b8d0bfc.js b/assets/vendor-D4tQXw0h.js similarity index 95% rename from assets/vendor-3b8d0bfc.js rename to assets/vendor-D4tQXw0h.js index c02b7290..4302eebc 100644 --- a/assets/vendor-3b8d0bfc.js +++ b/assets/vendor-D4tQXw0h.js @@ -1,11 +1,11 @@ -const style$3 = ""; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/events-D-ZUGuyO.js","assets/story-CDQMmp7E.js","assets/GenericMountStory.vue2-COcojfSX.js"])))=>i.map(i=>d[i]); function makeMap$1(str, expectsLowerCase) { - const map3 = /* @__PURE__ */ Object.create(null); + const map22 = /* @__PURE__ */ Object.create(null); const list = str.split(","); for (let i2 = 0; i2 < list.length; i2++) { - map3[list[i2]] = true; + map22[list[i2]] = true; } - return expectsLowerCase ? (val) => !!map3[val.toLowerCase()] : (val) => !!map3[val]; + return (val) => !!map22[val]; } const EMPTY_OBJ$1 = Object.freeze({}); const EMPTY_ARR$1 = Object.freeze([]); @@ -264,9 +264,9 @@ let EffectScope$1 = class EffectScope2 { function effectScope$1(detached) { return new EffectScope$1(detached); } -function recordEffectScope(effect3, scope = activeEffectScope$1) { +function recordEffectScope(effect22, scope = activeEffectScope$1) { if (scope && scope.active) { - scope.effects.push(effect3); + scope.effects.push(effect22); } } function getCurrentScope$1() { @@ -296,14 +296,14 @@ const initDepMarkers = ({ deps }) => { } } }; -const finalizeDepMarkers = (effect3) => { - const { deps } = effect3; +const finalizeDepMarkers = (effect22) => { + const { deps } = effect22; if (deps.length) { let ptr = 0; for (let i2 = 0; i2 < deps.length; i2++) { const dep = deps[i2]; if (wasTracked(dep) && !newTracked(dep)) { - dep.delete(effect3); + dep.delete(effect22); } else { deps[ptr++] = dep; } @@ -321,9 +321,9 @@ let activeEffect; const ITERATE_KEY$1 = Symbol("iterate"); const MAP_KEY_ITERATE_KEY$1 = Symbol("Map key iterate"); let ReactiveEffect$1 = class ReactiveEffect2 { - constructor(fn3, scheduler = null, scope) { + constructor(fn3, scheduler2 = null, scope) { this.fn = fn3; - this.scheduler = scheduler; + this.scheduler = scheduler2; this.active = true; this.deps = []; this.parent = void 0; @@ -1207,7 +1207,7 @@ let GetterRefImpl$1 = class GetterRefImpl2 { return this._getter(); } }; -function toRef$1(source, key, defaultValue) { +function toRef$2(source, key, defaultValue) { if (isRef$2(source)) { return source; } else if (isFunction$3(source)) { @@ -2382,12 +2382,12 @@ function queueEffectWithSuspense$1(fn3, suspense) { queuePostFlushCb$1(fn3); } } -function watchEffect$1(effect3, options) { - return doWatch$1(effect3, null, options); +function watchEffect$1(effect22, options) { + return doWatch$1(effect22, null, options); } -function watchPostEffect$1(effect3, options) { +function watchPostEffect$1(effect22, options) { return doWatch$1( - effect3, + effect22, null, extend$1({}, options, { flush: "post" }) ); @@ -2401,7 +2401,7 @@ function watch$2(source, cb, options) { } return doWatch$1(source, cb, options); } -function doWatch$1(source, cb, { immediate, deep, flush, onTrack, onTrigger: onTrigger2 } = EMPTY_OBJ$1) { +function doWatch$1(source, cb, { immediate, deep, flush: flush2, onTrack, onTrigger: onTrigger2 } = EMPTY_OBJ$1) { var _a2; if (!cb) { if (immediate !== void 0) { @@ -2475,7 +2475,7 @@ function doWatch$1(source, cb, { immediate, deep, flush, onTrack, onTrigger: onT } let cleanup; let onCleanup = (fn3) => { - cleanup = effect3.onStop = () => { + cleanup = effect22.onStop = () => { callWithErrorHandling$1(fn3, instance, 4); }; }; @@ -2491,7 +2491,7 @@ function doWatch$1(source, cb, { immediate, deep, flush, onTrack, onTrigger: onT onCleanup ]); } - if (flush === "sync") { + if (flush2 === "sync") { const ctx = useSSRContext$1(); ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []); } else { @@ -2500,11 +2500,11 @@ function doWatch$1(source, cb, { immediate, deep, flush, onTrack, onTrigger: onT } let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE$1) : INITIAL_WATCHER_VALUE$1; const job = () => { - if (!effect3.active) { + if (!effect22.active) { return; } if (cb) { - const newValue = effect3.run(); + const newValue = effect22.run(); if (deep || forceTrigger || (isMultiSource ? newValue.some((v2, i2) => hasChanged$1(v2, oldValue[i2])) : hasChanged$1(newValue, oldValue)) || false) { if (cleanup) { cleanup(); @@ -2518,44 +2518,44 @@ function doWatch$1(source, cb, { immediate, deep, flush, onTrack, onTrigger: onT oldValue = newValue; } } else { - effect3.run(); + effect22.run(); } }; job.allowRecurse = !!cb; - let scheduler; - if (flush === "sync") { - scheduler = job; - } else if (flush === "post") { - scheduler = () => queuePostRenderEffect$1(job, instance && instance.suspense); + let scheduler2; + if (flush2 === "sync") { + scheduler2 = job; + } else if (flush2 === "post") { + scheduler2 = () => queuePostRenderEffect$1(job, instance && instance.suspense); } else { job.pre = true; if (instance) job.id = instance.uid; - scheduler = () => queueJob$1(job); + scheduler2 = () => queueJob$1(job); } - const effect3 = new ReactiveEffect$1(getter, scheduler); + const effect22 = new ReactiveEffect$1(getter, scheduler2); { - effect3.onTrack = onTrack; - effect3.onTrigger = onTrigger2; + effect22.onTrack = onTrack; + effect22.onTrigger = onTrigger2; } if (cb) { if (immediate) { job(); } else { - oldValue = effect3.run(); + oldValue = effect22.run(); } - } else if (flush === "post") { + } else if (flush2 === "post") { queuePostRenderEffect$1( - effect3.run.bind(effect3), + effect22.run.bind(effect22), instance && instance.suspense ); } else { - effect3.run(); + effect22.run(); } const unwatch = () => { - effect3.stop(); + effect22.stop(); if (instance && instance.scope) { - remove$1(instance.scope.effects, effect3); + remove$1(instance.scope.effects, effect22); } }; if (ssrCleanup) @@ -3670,8 +3670,8 @@ function applyOptions$1(instance) { if (computedOptions) { for (const key in computedOptions) { const opt = computedOptions[key]; - const get3 = isFunction$3(opt) ? opt.bind(publicThis, publicThis) : isFunction$3(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP$1; - if (get3 === NOOP$1) { + const get22 = isFunction$3(opt) ? opt.bind(publicThis, publicThis) : isFunction$3(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP$1; + if (get22 === NOOP$1) { warn$4(`Computed property "${key}" has no getter.`); } const set2 = !isFunction$3(opt) && isFunction$3(opt.set) ? opt.set.bind(publicThis) : () => { @@ -3680,7 +3680,7 @@ function applyOptions$1(instance) { ); }; const c2 = computed$2({ - get: get3, + get: get22, set: set2 }); Object.defineProperty(ctx, key, { @@ -3983,7 +3983,7 @@ function createAppContext$1() { }; } let uid$1$1 = 0; -function createAppAPI$1(render2, hydrate) { +function createAppAPI$1(render2, hydrate2) { return function createApp2(rootComponent, rootProps = null) { if (!isFunction$3(rootComponent)) { rootComponent = extend$1({}, rootComponent); @@ -4094,8 +4094,8 @@ function createAppAPI$1(render2, hydrate) { render2(cloneVNode$1(vnode), rootContainer, isSVG); }; } - if (isHydrate && hydrate) { - hydrate(vnode, rootContainer); + if (isHydrate && hydrate2) { + hydrate2(vnode, rootContainer); } else { render2(vnode, rootContainer, isSVG); } @@ -5663,18 +5663,18 @@ function baseCreateRenderer$1(options, createHydrationFns) { } } }; - const effect3 = instance.effect = new ReactiveEffect$1( + const effect22 = instance.effect = new ReactiveEffect$1( componentUpdateFn, () => queueJob$1(update), instance.scope // track it in component's effect scope ); - const update = instance.update = () => effect3.run(); + const update = instance.update = () => effect22.run(); update.id = instance.uid; toggleRecurse$1(instance, true); { - effect3.onTrack = instance.rtc ? (e2) => invokeArrayFns$1(instance.rtc, e2) : void 0; - effect3.onTrigger = instance.rtg ? (e2) => invokeArrayFns$1(instance.rtg, e2) : void 0; + effect22.onTrack = instance.rtc ? (e2) => invokeArrayFns$1(instance.rtc, e2) : void 0; + effect22.onTrigger = instance.rtg ? (e2) => invokeArrayFns$1(instance.rtg, e2) : void 0; update.ownerInstance = instance; } update(); @@ -6205,21 +6205,16 @@ function baseCreateRenderer$1(options, createHydrationFns) { n: getNextHostNode, o: options }; - let hydrate; + let hydrate2; let hydrateNode; - if (createHydrationFns) { - [hydrate, hydrateNode] = createHydrationFns( - internals - ); - } return { render: render2, - hydrate, - createApp: createAppAPI$1(render2, hydrate) + hydrate: hydrate2, + createApp: createAppAPI$1(render2, hydrate2) }; } -function toggleRecurse$1({ effect: effect3, update }, allowed) { - effect3.allowRecurse = update.allowRecurse = allowed; +function toggleRecurse$1({ effect: effect22, update }, allowed) { + effect22.allowRecurse = update.allowRecurse = allowed; } function needTransition$1(parentSuspense, transition) { return (!parentSuspense || parentSuspense && !parentSuspense.pendingBranch) && transition && !transition.persisted; @@ -8310,7 +8305,7 @@ function set$1(target, key, val) { target[key] = val; return val; } -function del(target, key) { +function del$1(target, key) { if (Array.isArray(target)) { target.splice(key, 1); return; @@ -9513,18 +9508,16 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore) }, $dispose }; - const store = reactive$1( - assign$3( - { - _hmrPayload, - _customProperties: markRaw$1(/* @__PURE__ */ new Set()) - // devtools custom properties - }, - partialStore - // must be added later - // setupStore - ) - ); + const store = reactive$1(assign$3( + { + _hmrPayload, + _customProperties: markRaw$1(/* @__PURE__ */ new Set()) + // devtools custom properties + }, + partialStore + // must be added later + // setupStore + )); pinia._s.set($id, store); const runWithContext = pinia._a && pinia._a.runWithContext || fallbackRunWithContext; const setupStore = runWithContext(() => pinia._e.run(() => (scope = effectScope$1()).run(setup))); @@ -9532,7 +9525,7 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore) const prop = setupStore[key]; if (isRef$2(prop) && !isComputed(prop) || isReactive$1(prop)) { if (hot) { - set$1(hotState.value, key, toRef$1(setupStore, key)); + set$1(hotState.value, key, toRef$2(setupStore, key)); } else if (!isOptionsStore) { if (initialState && shouldHydrate(prop)) { if (isRef$2(prop)) { @@ -9599,16 +9592,16 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore) newStore.$state[stateKey] = oldStateSource; } } - set$1(store, stateKey, toRef$1(newStore.$state, stateKey)); + set$1(store, stateKey, toRef$2(newStore.$state, stateKey)); }); Object.keys(store.$state).forEach((stateKey) => { if (!(stateKey in newStore.$state)) { - del(store, stateKey); + del$1(store, stateKey); } }); isListening = false; isSyncListening = false; - pinia.state.value[$id] = toRef$1(newStore._hmrPayload, "hotState"); + pinia.state.value[$id] = toRef$2(newStore._hmrPayload, "hotState"); isSyncListening = true; nextTick$2().then(() => { isListening = true; @@ -9630,12 +9623,12 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore) } Object.keys(store._hmrPayload.getters).forEach((key) => { if (!(key in newStore._hmrPayload.getters)) { - del(store, key); + del$1(store, key); } }); Object.keys(store._hmrPayload.actions).forEach((key) => { if (!(key in newStore._hmrPayload.actions)) { - del(store, key); + del$1(store, key); } }); store._hmrPayload = newStore._hmrPayload; @@ -9937,9 +9930,9 @@ function rectToClientRect$2(rect) { bottom: rect.y + rect.height }; } -async function detectOverflow$2(middlewareArguments, options) { - if (options === void 0) { - options = {}; +async function detectOverflow$2(middlewareArguments, options2) { + if (options2 === void 0) { + options2 = {}; } const { x: x2, @@ -9955,7 +9948,7 @@ async function detectOverflow$2(middlewareArguments, options) { elementContext = "floating", altBoundary = false, padding = 0 - } = options; + } = options2; const paddingObject = getSideObjectFromPadding(padding); const altContext = elementContext === "floating" ? "reference" : "floating"; const element = elements[altBoundary ? altContext : elementContext]; @@ -9989,14 +9982,14 @@ const max$1$1 = Math.max; function within$1(min$1$1$1, value2, max$1$1$1) { return max$1$1(min$1$1$1, min$1$1(value2, max$1$1$1)); } -const arrow$7 = (options) => ({ +const arrow$7 = (options2) => ({ name: "arrow", - options, + options: options2, async fn(middlewareArguments) { const { element, padding = 0 - } = options != null ? options : {}; + } = options2 != null ? options2 : {}; const { x: x2, y: y2, @@ -10082,13 +10075,13 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) { return true; }); } -const autoPlacement = function(options) { - if (options === void 0) { - options = {}; +const autoPlacement = function(options2) { + if (options2 === void 0) { + options2 = {}; } return { name: "autoPlacement", - options, + options: options2, async fn(middlewareArguments) { var _middlewareData$autoP, _middlewareData$autoP2, _middlewareData$autoP3, _middlewareData$autoP4, _middlewareData$autoP5, _placementsSortedByLe; const { @@ -10103,7 +10096,7 @@ const autoPlacement = function(options) { allowedPlacements = allPlacements, autoAlignment = true, ...detectOverflowOptions - } = options; + } = options2; if ((_middlewareData$autoP = middlewareData.autoPlacement) != null && _middlewareData$autoP.skip) { return {}; } @@ -10163,13 +10156,13 @@ function getExpandedPlacements$1(placement) { const oppositePlacement = getOppositePlacement$2(placement); return [getOppositeAlignmentPlacement$1(placement), oppositePlacement, getOppositeAlignmentPlacement$1(oppositePlacement)]; } -const flip$4 = function(options) { - if (options === void 0) { - options = {}; +const flip$4 = function(options2) { + if (options2 === void 0) { + options2 = {}; } return { name: "flip", - options, + options: options2, async fn(middlewareArguments) { var _middlewareData$flip, _middlewareData$flip2; const { @@ -10188,7 +10181,7 @@ const flip$4 = function(options) { fallbackStrategy = "bestFit", flipAlignment = true, ...detectOverflowOptions - } = options; + } = options2; const basePlacement = getBasePlacement$2(placement); const isBasePlacement = basePlacement === initialPlacement; const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement$2(initialPlacement)] : getExpandedPlacements$1(initialPlacement)); @@ -10313,13 +10306,13 @@ const offset$4 = function(value2) { function getCrossAxis(axis) { return axis === "x" ? "y" : "x"; } -const shift$3 = function(options) { - if (options === void 0) { - options = {}; +const shift$3 = function(options2) { + if (options2 === void 0) { + options2 = {}; } return { name: "shift", - options, + options: options2, async fn(middlewareArguments) { const { x: x2, @@ -10332,17 +10325,17 @@ const shift$3 = function(options) { limiter = { fn: (_ref) => { let { - x: x3, - y: y3 + x: x22, + y: y22 } = _ref; return { - x: x3, - y: y3 + x: x22, + y: y22 }; } }, ...detectOverflowOptions - } = options; + } = options2; const coords = { x: x2, y: y2 @@ -10381,13 +10374,13 @@ const shift$3 = function(options) { } }; }; -const size$2 = function(options) { - if (options === void 0) { - options = {}; +const size$2 = function(options2) { + if (options2 === void 0) { + options2 = {}; } return { name: "size", - options, + options: options2, async fn(middlewareArguments) { var _middlewareData$size; const { @@ -10398,7 +10391,7 @@ const size$2 = function(options) { const { apply: apply2, ...detectOverflowOptions - } = options; + } = options2; if ((_middlewareData$size = middlewareData.size) != null && _middlewareData$size.skip) { return {}; } @@ -10826,9 +10819,9 @@ const platform$1 = { return element.getClientRects(); } }; -const computePosition$2 = (reference2, floating, options) => computePosition$1$1(reference2, floating, { +const computePosition$2 = (reference2, floating, options2) => computePosition$1$1(reference2, floating, { platform: platform$1, - ...options + ...options2 }); var __defProp$1 = Object.defineProperty; var __defProps = Object.defineProperties; @@ -12641,49 +12634,62 @@ const assetsURL = function(dep) { }; const seen = {}; const __vitePreload = function preload(baseModule, deps, importerUrl) { - if (!deps || deps.length === 0) { - return baseModule(); - } - const links = document.getElementsByTagName("link"); - return Promise.all(deps.map((dep) => { - dep = assetsURL(dep); - if (dep in seen) - return; - seen[dep] = true; - const isCss = dep.endsWith(".css"); - const cssSelector = isCss ? '[rel="stylesheet"]' : ""; - const isBaseRelative = !!importerUrl; - if (isBaseRelative) { - for (let i2 = links.length - 1; i2 >= 0; i2--) { - const link2 = links[i2]; - if (link2.href === dep && (!isCss || link2.rel === "stylesheet")) { + let promise = Promise.resolve(); + if (deps && deps.length > 0) { + document.getElementsByTagName("link"); + const cspNonceMeta = document.querySelector( + "meta[property=csp-nonce]" + ); + const cspNonce = (cspNonceMeta == null ? void 0 : cspNonceMeta.nonce) || (cspNonceMeta == null ? void 0 : cspNonceMeta.getAttribute("nonce")); + promise = Promise.allSettled( + deps.map((dep) => { + dep = assetsURL(dep); + if (dep in seen) return; + seen[dep] = true; + const isCss = dep.endsWith(".css"); + const cssSelector = isCss ? '[rel="stylesheet"]' : ""; + if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) { return; } - } - } else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) { - return; - } - const link = document.createElement("link"); - link.rel = isCss ? "stylesheet" : scriptRel; - if (!isCss) { - link.as = "script"; - link.crossOrigin = ""; - } - link.href = dep; - document.head.appendChild(link); - if (isCss) { - return new Promise((res, rej) => { - link.addEventListener("load", res); - link.addEventListener("error", () => rej(new Error(`Unable to preload CSS for ${dep}`))); - }); - } - })).then(() => baseModule()).catch((err) => { - const e2 = new Event("vite:preloadError", { cancelable: true }); + const link = document.createElement("link"); + link.rel = isCss ? "stylesheet" : scriptRel; + if (!isCss) { + link.as = "script"; + } + link.crossOrigin = ""; + link.href = dep; + if (cspNonce) { + link.setAttribute("nonce", cspNonce); + } + document.head.appendChild(link); + if (isCss) { + return new Promise((res, rej) => { + link.addEventListener("load", res); + link.addEventListener( + "error", + () => rej(new Error(`Unable to preload CSS for ${dep}`)) + ); + }); + } + }) + ); + } + function handlePreloadError(err) { + const e2 = new Event("vite:preloadError", { + cancelable: true + }); e2.payload = err; window.dispatchEvent(e2); if (!e2.defaultPrevented) { throw err; } + } + return promise.then((res) => { + for (const item of res || []) { + if (item.status !== "rejected") continue; + handlePreloadError(item.reason); + } + return baseModule().catch(handlePreloadError); }); }; /** @@ -12695,8 +12701,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { // @__NO_SIDE_EFFECTS__ function makeMap(str) { const map3 = /* @__PURE__ */ Object.create(null); - for (const key of str.split(",")) - map3[key] = 1; + for (const key of str.split(",")) map3[key] = 1; return (val) => val in map3; } const EMPTY_OBJ = Object.freeze({}); @@ -12844,8 +12849,7 @@ function normalizeClass(value2) { return res.trim(); } function normalizeProps(props) { - if (!props) - return null; + if (!props) return null; let { class: klass, style: style2 } = props; if (klass && !isString$1(klass)) { props.class = normalizeClass(klass); @@ -12867,8 +12871,7 @@ function includeBooleanAttr(value2) { return !!value2 || value2 === ""; } function looseCompareArrays(a2, b3) { - if (a2.length !== b3.length) - return false; + if (a2.length !== b3.length) return false; let equal = true; for (let i2 = 0; equal && i2 < a2.length; i2++) { equal = looseEqual(a2[i2], b3[i2]); @@ -12876,8 +12879,7 @@ function looseCompareArrays(a2, b3) { return equal; } function looseEqual(a2, b3) { - if (a2 === b3) - return true; + if (a2 === b3) return true; let aValidType = isDate(a2); let bValidType = isDate(b3); if (aValidType || bValidType) { @@ -13223,15 +13225,13 @@ function endBatch() { ; e2.trigger(); } catch (err) { - if (!error) - error = err; + if (!error) error = err; } } e2 = next; } } - if (error) - throw error; + if (error) throw error; } function prepareDeps(sub) { for (let link = sub.deps; link; link = link.nextDep) { @@ -13247,8 +13247,7 @@ function cleanupDeps(sub) { while (link) { const prev = link.prevDep; if (link.version === -1) { - if (link === tail) - tail = prev; + if (link === tail) tail = prev; removeSub(link); removeDep(link); } else { @@ -13480,8 +13479,7 @@ function addSub(link) { const currentTail = link.dep.subs; if (currentTail !== link) { link.prevSub = currentTail; - if (currentTail) - currentTail.nextSub = link; + if (currentTail) currentTail.nextSub = link; } if (link.dep.subsHead === void 0) { link.dep.subsHead = link; @@ -13595,8 +13593,7 @@ function getDepFromReactive(object, key) { } function reactiveReadArray(array) { const raw = toRaw(array); - if (raw === array) - return raw; + if (raw === array) return raw; track(raw, "iterate", ARRAY_ITERATE_KEY); return isShallow(array) ? raw : raw.map(toReactive); } @@ -13774,8 +13771,7 @@ const builtInSymbols = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol) ); function hasOwnProperty$1(key) { - if (!isSymbol(key)) - key = String(key); + if (!isSymbol(key)) key = String(key); const obj = toRaw(this); track(obj, "has", key); return obj.hasOwnProperty(key); @@ -13786,8 +13782,7 @@ class BaseReactiveHandler { this._isShallow = _isShallow; } get(target, key, receiver) { - if (key === "__v_skip") - return target["__v_skip"]; + if (key === "__v_skip") return target["__v_skip"]; const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow; if (key === "__v_isReactive") { return !isReadonly2; @@ -14407,7 +14402,7 @@ class GetterRefImpl { return this._value = this._getter(); } } -function toRef(source, key, defaultValue) { +function toRef$1(source, key, defaultValue) { if (isRef(source)) { return source; } else if (isFunction$2(source)) { @@ -14491,8 +14486,7 @@ let activeWatcher = void 0; function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) { if (owner) { let cleanups = cleanupMap.get(owner); - if (!cleanups) - cleanupMap.set(owner, cleanups = []); + if (!cleanups) cleanupMap.set(owner, cleanups = []); cleanups.push(cleanupFn); } else if (!failSilently) { warn$3( @@ -14510,13 +14504,12 @@ function watch$1(source, cb, options = EMPTY_OBJ) { ); }; const reactiveGetter = (source2) => { - if (deep) - return source2; + if (deep) return source2; if (isShallow(source2) || deep === false || deep === 0) return traverse(source2, 1); return traverse(source2); }; - let effect3; + let effect22; let getter; let cleanup; let boundCleanup; @@ -14556,7 +14549,7 @@ function watch$1(source, cb, options = EMPTY_OBJ) { } } const currentEffect = activeWatcher; - activeWatcher = effect3; + activeWatcher = effect22; try { return call ? call(source, 3, [boundCleanup]) : source(boundCleanup); } finally { @@ -14575,9 +14568,9 @@ function watch$1(source, cb, options = EMPTY_OBJ) { } const scope = getCurrentScope(); const watchHandle = () => { - effect3.stop(); + effect22.stop(); if (scope && scope.active) { - remove(scope.effects, effect3); + remove(scope.effects, effect22); } }; if (once && cb) { @@ -14589,17 +14582,17 @@ function watch$1(source, cb, options = EMPTY_OBJ) { } let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE; const job = (immediateFirstRun) => { - if (!(effect3.flags & 1) || !effect3.dirty && !immediateFirstRun) { + if (!(effect22.flags & 1) || !effect22.dirty && !immediateFirstRun) { return; } if (cb) { - const newValue = effect3.run(); + const newValue = effect22.run(); if (deep || forceTrigger || (isMultiSource ? newValue.some((v2, i2) => hasChanged(v2, oldValue[i2])) : hasChanged(newValue, oldValue))) { if (cleanup) { cleanup(); } const currentWatcher = activeWatcher; - activeWatcher = effect3; + activeWatcher = effect22; try { const args = [ newValue, @@ -14617,44 +14610,43 @@ function watch$1(source, cb, options = EMPTY_OBJ) { } } } else { - effect3.run(); + effect22.run(); } }; if (augmentJob) { augmentJob(job); } - effect3 = new ReactiveEffect(getter); - effect3.scheduler = scheduler ? () => scheduler(job, false) : job; - boundCleanup = (fn3) => onWatcherCleanup(fn3, false, effect3); - cleanup = effect3.onStop = () => { - const cleanups = cleanupMap.get(effect3); + effect22 = new ReactiveEffect(getter); + effect22.scheduler = scheduler ? () => scheduler(job, false) : job; + boundCleanup = (fn3) => onWatcherCleanup(fn3, false, effect22); + cleanup = effect22.onStop = () => { + const cleanups = cleanupMap.get(effect22); if (cleanups) { if (call) { call(cleanups, 4); } else { - for (const cleanup2 of cleanups) - cleanup2(); + for (const cleanup2 of cleanups) cleanup2(); } - cleanupMap.delete(effect3); + cleanupMap.delete(effect22); } }; { - effect3.onTrack = options.onTrack; - effect3.onTrigger = options.onTrigger; + effect22.onTrack = options.onTrack; + effect22.onTrigger = options.onTrigger; } if (cb) { if (immediate) { job(true); } else { - oldValue = effect3.run(); + oldValue = effect22.run(); } } else if (scheduler) { scheduler(job.bind(null, true), true); } else { - effect3.run(); + effect22.run(); } - watchHandle.pause = effect3.pause.bind(effect3); - watchHandle.resume = effect3.resume.bind(effect3); + watchHandle.pause = effect22.pause.bind(effect22); + watchHandle.resume = effect22.resume.bind(effect22); watchHandle.stop = watchHandle; return watchHandle; } @@ -14704,8 +14696,7 @@ function popWarningContext() { } let isWarning = false; function warn$1$1(msg, ...args) { - if (isWarning) - return; + if (isWarning) return; isWarning = true; pauseTracking(); const instance = stack.length ? stack[stack.length - 1].component : null; @@ -15033,8 +15024,7 @@ function flushPostFlushCbs(seen2) { if (cb.flags & 4) { cb.flags &= ~1; } - if (!(cb.flags & 8)) - cb(); + if (!(cb.flags & 8)) cb(); cb.flags &= ~1; } activePostFlushCbs = null; @@ -15152,8 +15142,7 @@ function rerender(id2, newRender) { } function reload(id2, newComp) { const record = map.get(id2); - if (!record) - return; + if (!record) return; newComp = normalizeClassComponent(newComp); updateComponentDef(record.initialDef, newComp); const instances = [...record.instances]; @@ -15334,8 +15323,7 @@ function setCurrentRenderingInstance(instance) { return prev; } function withCtx(fn3, ctx = currentRenderingInstance, isNonScopedSlot) { - if (!ctx) - return fn3; + if (!ctx) return fn3; if (fn3._n) { return fn3; } @@ -15751,8 +15739,7 @@ function updateCssVars(vnode, isDisabled) { anchor = vnode.targetAnchor; } while (node && node !== anchor) { - if (node.nodeType === 1) - node.setAttribute("data-v-owner", ctx.uid); + if (node.nodeType === 1) node.setAttribute("data-v-owner", ctx.uid); node = node.nextSibling; } ctx.ut(); @@ -15955,8 +15942,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) { const done = args[1]; callHook2(hook, args); if (isArray$1(hook)) { - if (hook.every((hook2) => hook2.length <= 1)) - done(); + if (hook.every((hook2) => hook2.length <= 1)) done(); } else if (hook.length <= 1) { done(); } @@ -16000,8 +15986,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) { } let called = false; const done = el2[enterCbKey] = (cancelled) => { - if (called) - return; + if (called) return; called = true; if (cancelled) { callHook2(cancelHook, [el2]); @@ -16033,8 +16018,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) { callHook2(onBeforeLeave, [el2]); let called = false; const done = el2[leaveCbKey] = (cancelled) => { - if (called) - return; + if (called) return; called = true; remove2(); if (cancelled) { @@ -16062,8 +16046,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) { instance, postClone ); - if (postClone) - postClone(hooks2); + if (postClone) postClone(hooks2); return hooks2; } }; @@ -16114,8 +16097,7 @@ function getTransitionRawChildren(children, keepComment = false, parentKey) { let child = children[i2]; const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i2); if (child.type === Fragment$1) { - if (child.patchFlag & 128) - keyedFragmentCount++; + if (child.patchFlag & 128) keyedFragmentCount++; ret = ret.concat( getTransitionRawChildren(child.children, keepComment, key) ); @@ -16175,7 +16157,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) { } const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el; const value2 = isUnmount ? null : refValue; - const { i: owner, r: ref2 } = rawRef; + const { i: owner, r: ref3 } = rawRef; if (!owner) { warn$1$1( `Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.` @@ -16199,7 +16181,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) { } return hasOwn(rawSetupState, key); }; - if (oldRef != null && oldRef !== ref2) { + if (oldRef != null && oldRef !== ref3) { if (isString$1(oldRef)) { refs[oldRef] = null; if (canSetSetupRef(oldRef)) { @@ -16209,44 +16191,42 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) { oldRef.value = null; } } - if (isFunction$2(ref2)) { - callWithErrorHandling(ref2, owner, 12, [value2, refs]); + if (isFunction$2(ref3)) { + callWithErrorHandling(ref3, owner, 12, [value2, refs]); } else { - const _isString = isString$1(ref2); - const _isRef = isRef(ref2); + const _isString = isString$1(ref3); + const _isRef = isRef(ref3); if (_isString || _isRef) { const doSet = () => { if (rawRef.f) { - const existing = _isString ? canSetSetupRef(ref2) ? setupState[ref2] : refs[ref2] : ref2.value; + const existing = _isString ? canSetSetupRef(ref3) ? setupState[ref3] : refs[ref3] : ref3.value; if (isUnmount) { isArray$1(existing) && remove(existing, refValue); } else { if (!isArray$1(existing)) { if (_isString) { - refs[ref2] = [refValue]; - if (canSetSetupRef(ref2)) { - setupState[ref2] = refs[ref2]; + refs[ref3] = [refValue]; + if (canSetSetupRef(ref3)) { + setupState[ref3] = refs[ref3]; } } else { - ref2.value = [refValue]; - if (rawRef.k) - refs[rawRef.k] = ref2.value; + ref3.value = [refValue]; + if (rawRef.k) refs[rawRef.k] = ref3.value; } } else if (!existing.includes(refValue)) { existing.push(refValue); } } } else if (_isString) { - refs[ref2] = value2; - if (canSetSetupRef(ref2)) { - setupState[ref2] = value2; + refs[ref3] = value2; + if (canSetSetupRef(ref3)) { + setupState[ref3] = value2; } } else if (_isRef) { - ref2.value = value2; - if (rawRef.k) - refs[rawRef.k] = value2; + ref3.value = value2; + if (rawRef.k) refs[rawRef.k] = value2; } else { - warn$1$1("Invalid template ref type:", ref2, `(${typeof ref2})`); + warn$1$1("Invalid template ref type:", ref3, `(${typeof ref3})`); } }; if (value2) { @@ -16256,7 +16236,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) { doSet(); } } else { - warn$1$1("Invalid template ref type:", ref2, `(${typeof ref2})`); + warn$1$1("Invalid template ref type:", ref3, `(${typeof ref3})`); } } } @@ -16275,8 +16255,7 @@ function forEachElement(node, cb) { } } else if (isComment(next)) { if (next.data === "]") { - if (--depth === 0) - break; + if (--depth === 0) break; } else if (next.data === "[") { depth++; } @@ -16435,9 +16414,9 @@ function defineAsyncComponent(source) { }); } function createInnerComp(comp, parent) { - const { ref: ref2, props, children, ce: ce2 } = parent.vnode; + const { ref: ref22, props, children, ce: ce2 } = parent.vnode; const vnode = createVNode(comp, props, children); - vnode.ref = ref2; + vnode.ref = ref22; vnode.ce = ce2; delete parent.vnode.ce; return vnode; @@ -16546,7 +16525,7 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false const instance = currentRenderingInstance || currentInstance; if (instance) { const Component = instance.type; - if (type === COMPONENTS) { + { const selfName = getComponentName( Component, false @@ -16565,8 +16544,8 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false return Component; } if (warnMissing && !res) { - const extra = type === COMPONENTS ? ` -If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``; + const extra = ` +If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`; warn$1$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`); } return res; @@ -16581,7 +16560,7 @@ function resolve(registry, name) { } function renderList(source, renderItem, cache2, index) { let ret; - const cached = cache2 && cache2[index]; + const cached = cache2; const sourceIsArray = isArray$1(source); if (sourceIsArray || isString$1(source)) { const sourceIsReactiveArray = sourceIsArray && isReactive(source); @@ -16596,7 +16575,7 @@ function renderList(source, renderItem, cache2, index) { needsWrap ? toReactive(source[i2]) : source[i2], i2, void 0, - cached && cached[i2] + cached ); } } else if (typeof source === "number") { @@ -16605,28 +16584,25 @@ function renderList(source, renderItem, cache2, index) { } ret = new Array(source); for (let i2 = 0; i2 < source; i2++) { - ret[i2] = renderItem(i2 + 1, i2, void 0, cached && cached[i2]); + ret[i2] = renderItem(i2 + 1, i2, void 0, cached); } } else if (isObject$2(source)) { if (source[Symbol.iterator]) { ret = Array.from( source, - (item, i2) => renderItem(item, i2, void 0, cached && cached[i2]) + (item, i2) => renderItem(item, i2, void 0, cached) ); } else { const keys2 = Object.keys(source); ret = new Array(keys2.length); for (let i2 = 0, l2 = keys2.length; i2 < l2; i2++) { const key = keys2[i2]; - ret[i2] = renderItem(source[key], key, i2, cached && cached[i2]); + ret[i2] = renderItem(source[key], key, i2, cached); } } } else { ret = []; } - if (cache2) { - cache2[index] = ret; - } return ret; } function createSlots(slots, dynamicSlots) { @@ -16639,8 +16615,7 @@ function createSlots(slots, dynamicSlots) { } else if (slot) { slots[slot.name] = slot.key ? (...args) => { const res = slot.fn(...args); - if (res) - res.key = slot.key; + if (res) res.key = slot.key; return res; } : slot.fn; } @@ -16649,8 +16624,7 @@ function createSlots(slots, dynamicSlots) { } function renderSlot(slots, name, props = {}, fallback, noSlotted) { if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) { - if (name !== "default") - props.name = name; + if (name !== "default") props.name = name; return openBlock(), createBlock( Fragment$1, null, @@ -16682,7 +16656,7 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) { validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 ? 64 : -2 ); - if (!noSlotted && rendered.scopeId) { + if (rendered.scopeId) { rendered.slotScopeIds = [rendered.scopeId + "-s"]; } if (slot && slot._c) { @@ -16692,10 +16666,8 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) { } function ensureValidVNode(vnodes) { return vnodes.some((child) => { - if (!isVNode(child)) - return true; - if (child.type === Comment$1) - return false; + if (!isVNode(child)) return true; + if (child.type === Comment$1) return false; if (child.type === Fragment$1 && !ensureValidVNode(child.children)) return false; return true; @@ -16713,10 +16685,8 @@ function toHandlers(obj, preserveCaseIfNecessary) { return ret; } const getPublicInstance = (i2) => { - if (!i2) - return null; - if (isStatefulComponent(i2)) - return getComponentPublicInstance(i2); + if (!i2) return null; + if (isStatefulComponent(i2)) return getComponentPublicInstance(i2); return getPublicInstance(i2.parent); }; const publicPropertiesMap = ( @@ -16962,8 +16932,7 @@ function normalizePropsOrEmits(props) { function mergeDefaults(raw, defaults2) { const props = normalizePropsOrEmits(raw); for (const key in defaults2) { - if (key.startsWith("__skip")) - continue; + if (key.startsWith("__skip")) continue; let opt = props[key]; if (opt) { if (isArray$1(opt) || isFunction$2(opt)) { @@ -17179,10 +17148,8 @@ function applyOptions(instance) { if (inheritAttrs != null) { instance.inheritAttrs = inheritAttrs; } - if (components) - instance.components = components; - if (directives2) - instance.directives = directives2; + if (components) instance.components = components; + if (directives2) instance.directives = directives2; if (serverPrefetch) { markAsyncBoundary(instance); } @@ -17390,10 +17357,8 @@ function mergeEmitsOrPropsOptions(to2, from2) { } } function mergeWatchOptions(to2, from2) { - if (!to2) - return from2; - if (!from2) - return to2; + if (!to2) return from2; + if (!from2) return to2; const merged = extend(/* @__PURE__ */ Object.create(null), to2); for (const key in from2) { merged[key] = mergeAsArray(to2[key], from2[key]); @@ -17657,8 +17622,7 @@ function initProps(instance, rawProps, isStateful, isSSR = false) { } function isInHmrContext(instance) { while (instance) { - if (instance.type.__hmrId) - return true; + if (instance.type.__hmrId) return true; instance = instance.parent; } } @@ -17853,8 +17817,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) { hasExtends = true; const [props, keys2] = normalizePropsOptions(raw2, appContext, true); extend(normalized, props); - if (keys2) - needCastKeys.push(...keys2); + if (keys2) needCastKeys.push(...keys2); }; if (!asMixin && appContext.mixins.length) { appContext.mixins.forEach(extendProps); @@ -17954,8 +17917,7 @@ function validateProps$1(rawProps, props, instance) { const camelizePropsKey = Object.keys(rawProps).map((key) => camelize(key)); for (const key in options) { let opt = options[key]; - if (opt == null) - continue; + if (opt == null) continue; validateProp( key, resolvedValues[key], @@ -18072,8 +18034,7 @@ const normalizeSlot$1 = (key, rawSlot, ctx) => { const normalizeObjectSlots = (rawSlots, slots, instance) => { const ctx = rawSlots._ctx; for (const key in rawSlots) { - if (isInternalKey(key)) - continue; + if (isInternalKey(key)) continue; const value2 = rawSlots[key]; if (isFunction$2(value2)) { slots[key] = normalizeSlot$1(key, value2, ctx); @@ -18242,7 +18203,7 @@ function baseCreateRenderer(options, createHydrationFns) { optimized = false; n2.dynamicChildren = null; } - const { type, ref: ref2, shapeFlag } = n2; + const { type, ref: ref3, shapeFlag } = n2; switch (type) { case Text$2: processText(n1, n2, container, anchor); @@ -18325,8 +18286,8 @@ function baseCreateRenderer(options, createHydrationFns) { warn$1$1("Invalid VNode type:", type, `(${typeof type})`); } } - if (ref2 != null && parentComponent) { - setRef(ref2, n1 && n1.ref, parentSuspense, n2 || n1, !n2); + if (ref3 != null && parentComponent) { + setRef(ref3, n1 && n1.ref, parentSuspense, n2 || n1, !n2); } }; const processText = (n1, n2, container, anchor) => { @@ -18668,8 +18629,7 @@ function baseCreateRenderer(options, createHydrationFns) { } } for (const key in newProps) { - if (isReservedProp(key)) - continue; + if (isReservedProp(key)) continue; const next = newProps[key]; const prev = oldProps[key]; if (next !== prev && key !== "value") { @@ -18796,8 +18756,7 @@ function baseCreateRenderer(options, createHydrationFns) { } } if (instance.asyncDep) { - if (isHmrUpdating) - initialVNode.el = null; + if (isHmrUpdating) initialVNode.el = null; parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized); if (!initialVNode.el) { const placeholder = instance.subTree = createVNode(Comment$1); @@ -19017,17 +18976,17 @@ function baseCreateRenderer(options, createHydrationFns) { } }; instance.scope.on(); - const effect3 = instance.effect = new ReactiveEffect(componentUpdateFn); + const effect22 = instance.effect = new ReactiveEffect(componentUpdateFn); instance.scope.off(); - const update = instance.update = effect3.run.bind(effect3); - const job = instance.job = effect3.runIfDirty.bind(effect3); + const update = instance.update = effect22.run.bind(effect22); + const job = instance.job = effect22.runIfDirty.bind(effect22); job.i = instance; job.id = instance.uid; - effect3.scheduler = () => queueJob(job); + effect22.scheduler = () => queueJob(job); toggleRecurse(instance, true); { - effect3.onTrack = instance.rtc ? (e2) => invokeArrayFns(instance.rtc, e2) : void 0; - effect3.onTrigger = instance.rtg ? (e2) => invokeArrayFns(instance.rtg, e2) : void 0; + effect22.onTrack = instance.rtc ? (e2) => invokeArrayFns(instance.rtc, e2) : void 0; + effect22.onTrigger = instance.rtg ? (e2) => invokeArrayFns(instance.rtg, e2) : void 0; } update(); }; @@ -19256,8 +19215,7 @@ function baseCreateRenderer(options, createHydrationFns) { let moved = false; let maxNewIndexSoFar = 0; const newIndexToOldIndexMap = new Array(toBePatched); - for (i2 = 0; i2 < toBePatched; i2++) - newIndexToOldIndexMap[i2] = 0; + for (i2 = 0; i2 < toBePatched; i2++) newIndexToOldIndexMap[i2] = 0; for (i2 = s1; i2 <= e1; i2++) { const prevChild = c1[i2]; if (patched >= toBePatched) { @@ -19381,7 +19339,7 @@ function baseCreateRenderer(options, createHydrationFns) { const { type, props, - ref: ref2, + ref: ref3, children, dynamicChildren, shapeFlag, @@ -19392,8 +19350,8 @@ function baseCreateRenderer(options, createHydrationFns) { if (patchFlag === -2) { optimized = false; } - if (ref2 != null) { - setRef(ref2, null, parentSuspense, vnode, true); + if (ref3 != null) { + setRef(ref3, null, parentSuspense, vnode, true); } if (cacheIndex != null) { parentComponent.renderCache[cacheIndex] = void 0; @@ -19587,11 +19545,6 @@ function baseCreateRenderer(options, createHydrationFns) { }; let hydrate; let hydrateNode; - if (createHydrationFns) { - [hydrate, hydrateNode] = createHydrationFns( - internals - ); - } return { render: render2, hydrate, @@ -19601,12 +19554,12 @@ function baseCreateRenderer(options, createHydrationFns) { function resolveChildrenNamespace({ type, props }, currentNamespace) { return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace; } -function toggleRecurse({ effect: effect3, job }, allowed) { +function toggleRecurse({ effect: effect22, job }, allowed) { if (allowed) { - effect3.flags |= 32; + effect22.flags |= 32; job.flags |= 4; } else { - effect3.flags &= ~32; + effect22.flags &= ~32; job.flags &= ~4; } } @@ -19705,12 +19658,12 @@ const useSSRContext = () => { return ctx; } }; -function watchEffect(effect3, options) { - return doWatch(effect3, null, options); +function watchEffect(effect22, options) { + return doWatch(effect22, null, options); } -function watchPostEffect(effect3, options) { +function watchPostEffect(effect22, options) { return doWatch( - effect3, + effect22, null, extend({}, options, { flush: "post" }) ); @@ -19827,8 +19780,7 @@ const getModelModifiers = (props, modelName) => { return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`]; }; function emit(instance, event, ...rawArgs) { - if (instance.isUnmounted) - return; + if (instance.isUnmounted) return; const props = instance.vnode.props || EMPTY_OBJ; { const { @@ -20917,14 +20869,14 @@ const createVNodeWithArgsTransform = (...args) => { }; const normalizeKey = ({ key }) => key != null ? key : null; const normalizeRef = ({ - ref: ref2, + ref: ref3, ref_key, ref_for }) => { - if (typeof ref2 === "number") { - ref2 = "" + ref2; + if (typeof ref3 === "number") { + ref3 = "" + ref3; } - return ref2 != null ? isString$1(ref2) || isRef(ref2) || isFunction$2(ref2) ? { i: currentRenderingInstance, r: ref2, k: ref_key, f: !!ref_for } : ref2 : null; + return ref3 != null ? isString$1(ref3) || isRef(ref3) || isFunction$2(ref3) ? { i: currentRenderingInstance, r: ref3, k: ref_key, f: !!ref_for } : ref3 : null; }; function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment$1 ? 0 : 1, isBlockNode2 = false, needFullChildrenNormalization = false) { const vnode = { @@ -21046,12 +20998,11 @@ Component that was made reactive: `, ); } function guardReactiveProps(props) { - if (!props) - return null; + if (!props) return null; return isProxy(props) || isInternalObject(props) ? extend({}, props) : props; } function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) { - const { props, ref: ref2, patchFlag, children, transition } = vnode; + const { props, ref: ref3, patchFlag, children, transition } = vnode; const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props; const cloned = { __v_isVNode: true, @@ -21063,8 +21014,8 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false // #2078 in the case of // if the vnode itself already has a ref, cloneVNode will need to merge // the refs so the single vnode can be set on multiple refs - mergeRef && ref2 ? isArray$1(ref2) ? ref2.concat(normalizeRef(extraProps)) : [ref2, normalizeRef(extraProps)] : normalizeRef(extraProps) - ) : ref2, + mergeRef && ref3 ? isArray$1(ref3) ? ref3.concat(normalizeRef(extraProps)) : [ref3, normalizeRef(extraProps)] : normalizeRef(extraProps) + ) : ref3, scopeId: vnode.scopeId, slotScopeIds: vnode.slotScopeIds, children: patchFlag === -1 && isArray$1(children) ? children.map(deepCloneVNode) : children, @@ -21310,14 +21261,11 @@ let setInSSRSetupState; const g2 = getGlobalThis(); const registerGlobalSetter = (key, setter) => { let setters; - if (!(setters = g2[key])) - setters = g2[key] = []; + if (!(setters = g2[key])) setters = g2[key] = []; setters.push(setter); return (v2) => { - if (setters.length > 1) - setters.forEach((set2) => set2(v2)); - else - setters[0](v2); + if (setters.length > 1) setters.forEach((set2) => set2(v2)); + else setters[0](v2); }; }; internalSetCurrentInstance = registerGlobalSetter( @@ -21898,8 +21846,7 @@ const nodeOps = { if (start2 && (start2 === end2 || start2.nextSibling)) { while (true) { parent.insertBefore(start2.cloneNode(true), anchor); - if (start2 === end2 || !(start2 = start2.nextSibling)) - break; + if (start2 === end2 || !(start2 = start2.nextSibling)) break; } } else { templateContainer.innerHTML = unsafeToTrustedHTML( @@ -22196,8 +22143,7 @@ function getTimeout(delays, durations) { return Math.max(...durations.map((d2, i2) => toMs(d2) + toMs(delays[i2]))); } function toMs(s3) { - if (s3 === "auto") - return 0; + if (s3 === "auto") return 0; return Number(s3.slice(0, -1).replace(",", ".")) * 1e3; } function forceReflow() { @@ -22233,8 +22179,7 @@ const vShow = { } }, updated(el2, { value: value2, oldValue }, { transition }) { - if (!value2 === !oldValue) - return; + if (!value2 === !oldValue) return; if (transition) { if (value2) { transition.beforeEnter(el2); @@ -22315,8 +22260,7 @@ function setVarsOnVNode(vnode, vars) { let { el: el2, anchor } = vnode; while (el2) { setVarsOnNode(el2, vars); - if (el2 === anchor) - break; + if (el2 === anchor) break; el2 = el2.nextSibling; } } @@ -22387,8 +22331,7 @@ function setStyle(style2, name, val) { if (isArray$1(val)) { val.forEach((v2) => setStyle(style2, name, v2)); } else { - if (val == null) - val = ""; + if (val == null) val = ""; { if (semicolonRE.test(val)) { warn$2( @@ -22670,8 +22613,7 @@ const vModelText = { el2[assignKey] = getModelAssigner(vnode); const castToNumber = number || vnode.props && vnode.props.type === "number"; addEventListener$1(el2, lazy ? "change" : "input", (e2) => { - if (e2.target.composing) - return; + if (e2.target.composing) return; let domValue = el2.value; if (trim) { domValue = domValue.trim(); @@ -22698,8 +22640,7 @@ const vModelText = { }, beforeUpdate(el2, { value: value2, oldValue, modifiers: { lazy, trim, number } }, vnode) { el2[assignKey] = getModelAssigner(vnode); - if (el2.composing) - return; + if (el2.composing) return; const elValue = (number || el2.type === "number") && !/^0\d/.test(el2.value) ? looseToNumber(el2.value) : el2.value; const newValue = value2 == null ? "" : value2; if (elValue === newValue) { @@ -22764,8 +22705,7 @@ function setChecked(el2, { value: value2, oldValue }, vnode) { } else if (isSet(value2)) { checked = value2.has(vnode.props.value); } else { - if (value2 === oldValue) - return; + if (value2 === oldValue) return; checked = looseEqual(value2, getCheckboxValue(el2, true)); } if (el2.checked !== checked) { @@ -22844,8 +22784,7 @@ function setSelected(el2, value2) { option.selected = value2.has(optionValue); } } else if (looseEqual(getValue(option), value2)) { - if (el2.selectedIndex !== i2) - el2.selectedIndex = i2; + if (el2.selectedIndex !== i2) el2.selectedIndex = i2; return; } } @@ -22919,8 +22858,7 @@ const withModifiers = (fn3, modifiers2) => { return cache2[cacheKey] || (cache2[cacheKey] = (event, ...args) => { for (let i2 = 0; i2 < modifiers2.length; i2++) { const guard = modifierGuards[modifiers2[i2]]; - if (guard && guard(event, modifiers2)) - return; + if (guard && guard(event, modifiers2)) return; } return fn3(event, ...args); }); @@ -22966,8 +22904,7 @@ const createApp = (...args) => { const { mount } = app; app.mount = (containerOrSelector) => { const container = normalizeContainer(containerOrSelector); - if (!container) - return; + if (!container) return; const component = app._component; if (!isFunction$2(component) && !component.render && !component.template) { component.template = container.innerHTML; @@ -23057,7 +22994,6 @@ function initDev() { { initDev(); } -const style$2 = ""; const matchName = /^[a-z0-9]+(-[a-z0-9]+)*$/; const iconDefaults = Object.freeze({ left: 0, @@ -24996,7 +24932,7 @@ function tryOnMounted$1(fn3, sync = true) { else nextTick$2(fn3); } -function useTimeoutFn(cb, interval, options = {}) { +function useTimeoutFn$1(cb, interval, options = {}) { const { immediate = true } = options; @@ -25267,7 +25203,7 @@ function useClipboard(options = {}) { const isSupported2 = computed$2(() => isClipboardApiSupported.value || legacy); const text = ref$1(""); const copied = ref$1(false); - const timeout = useTimeoutFn(() => copied.value = false, copiedDuring); + const timeout = useTimeoutFn$1(() => copied.value = false, copiedDuring); function updateText() { if (isClipboardApiSupported.value) { navigator2.clipboard.readText().then((value2) => { @@ -25796,6 +25732,7 @@ const _TransitionPresets = { __spreadValues({ linear: identity }, _TransitionPresets); +var define_process_env_default$2 = {}; const va = { name: "HstButton" }, Zo = /* @__PURE__ */ defineComponent$1({ @@ -35417,7 +35354,7 @@ function ad$1(n2) { let t3 = [ cd ]; - return n2 && n2.fixed === false && t3.push(Nn.of(true)), t3; + return t3; } const cd = /* @__PURE__ */ yt$1.fromClass(class { constructor(n2) { @@ -38230,7 +38167,7 @@ function zd(n2) { } } function Wd(n2, t3, e2, i2, s3) { - let r2 = n2.textAfter, o2 = r2.match(/^\s*/)[0].length, l2 = i2 && r2.slice(o2, o2 + i2.length) == i2 || s3 == n2.pos + o2, h2 = t3 ? zd(n2) : null; + let r2 = n2.textAfter, o2 = r2.match(/^\s*/)[0].length, l2 = s3 == n2.pos + o2, h2 = zd(n2); return h2 ? l2 ? n2.column(h2.from) : n2.column(h2.to) : n2.baseIndent + (l2 ? 0 : n2.unit * e2); } function Mo({ except: n2, units: t3 = 1 } = {}) { @@ -38431,7 +38368,7 @@ const Zd = (n2) => { }); function Rh(n2) { let t3 = [Ie$1, op]; - return n2 && t3.push(ur$1.of(n2)), t3; + return t3; } function Lh(n2, t3) { let { state: e2 } = n2, i2 = e2.facet(ur$1), s3 = (o2) => { @@ -38582,7 +38519,7 @@ function Zs(n2) { } function Do(n2, t3) { let e2 = [hp], i2; - return n2 instanceof Pi && (n2.module && e2.push(T$3.styleModule.of(n2.module)), i2 = n2.themeType), t3 != null && t3.fallback ? e2.push(Eh.of(n2)) : i2 ? e2.push(Fn.computeN([T$3.darkTheme], (s3) => s3.facet(T$3.darkTheme) == (i2 == "dark") ? [n2] : [])) : e2.push(Fn.of(n2)), e2; + return n2 instanceof Pi && (n2.module && e2.push(T$3.styleModule.of(n2.module)), i2 = n2.themeType), i2 ? e2.push(Fn.computeN([T$3.darkTheme], (s3) => s3.facet(T$3.darkTheme) == (i2 == "dark") ? [n2] : [])) : e2.push(Fn.of(n2)), e2; } class lp { constructor(t3) { @@ -39050,11 +38987,11 @@ function _p(n2, t3, e2) { return r2; i2 = true; let l2 = o2.start.from == r2.head ? o2.end.to : o2.end.from; - return e2 ? b$1.range(r2.anchor, l2) : b$1.cursor(l2); + return b$1.cursor(l2); }); return i2 ? (t3(Qt(n2, s3)), true) : false; } -const zp = ({ state: n2, dispatch: t3 }) => _p(n2, t3, false); +const zp = ({ state: n2, dispatch: t3 }) => _p(n2, t3); function Bt(n2, t3) { let e2 = ei(n2.state.selection, (i2) => { let s3 = t3(i2); @@ -39991,7 +39928,7 @@ function Og$1(n2, t3, e2, i2) { let s3 = _o(e2, i2, t3); return s3 < 0 || _o(e2, i2, n2) < s3; } -const kt = typeof process < "u" && process.env && /\bparse\b/.test({}.LOG); +const kt = typeof process < "u" && define_process_env_default$2 && /\bparse\b/.test(define_process_env_default$2.LOG); let en$1 = null; function zo(n2, t3, e2) { let i2 = n2.cursor(st.IncludeAnonymous); @@ -51246,17 +51183,17 @@ function useHistoryStateNavigation(base2) { scroll: null }, true); } - function changeLocation(to2, state, replace3) { + function changeLocation(to2, state, replace22) { const hashIndex = base2.indexOf("#"); const url2 = hashIndex > -1 ? (location2.host && document.querySelector("base") ? base2 : base2.slice(hashIndex)) + to2 : createBaseLocation() + base2 + to2; try { - history2[replace3 ? "replaceState" : "pushState"](state, "", url2); + history2[replace22 ? "replaceState" : "pushState"](state, "", url2); historyState.value = state; } catch (err) { { warn$1("Error with push/replace State", err); } - location2[replace3 ? "replace" : "assign"](url2); + location2[replace22 ? "replace" : "assign"](url2); } } function replace2(to2, data) { @@ -51454,16 +51391,16 @@ function tokensToParser(segments, extraOptions) { repeatable, optional }); - const re4 = regexp ? regexp : BASE_PARAM_PATTERN; - if (re4 !== BASE_PARAM_PATTERN) { + const re22 = regexp ? regexp : BASE_PARAM_PATTERN; + if (re22 !== BASE_PARAM_PATTERN) { subSegmentScore += 10; try { - new RegExp(`(${re4})`); + new RegExp(`(${re22})`); } catch (err) { - throw new Error(`Invalid custom RegExp for param "${value2}" (${re4}): ` + err.message); + throw new Error(`Invalid custom RegExp for param "${value2}" (${re22}): ` + err.message); } } - let subPattern = repeatable ? `((?:${re4})(?:/(?:${re4}))*)` : `(${re4})`; + let subPattern = repeatable ? `((?:${re22})(?:/(?:${re22}))*)` : `(${re22})`; if (!tokenIndex) subPattern = // avoid an optional / if there are more segments e.g. /:p?-static // or /:p?-:p2 @@ -51476,7 +51413,7 @@ function tokensToParser(segments, extraOptions) { subSegmentScore += -8; if (repeatable) subSegmentScore += -20; - if (re4 === ".*") + if (re22 === ".*") subSegmentScore += -50; } segmentScores.push(subSegmentScore); @@ -51596,9 +51533,7 @@ function tokenizePath(path) { if (path === "/") return [[ROOT_TOKEN]]; if (!path.startsWith("/")) { - throw new Error( - `Route paths should start with a "/": "${path}" should be "/${path}".` - ); + throw new Error(`Route paths should start with a "/": "${path}" should be "/${path}".`); } function crash(message) { throw new Error(`ERR (${state})/"${buffer2}": ${message}`); @@ -52063,11 +51998,11 @@ function stringifyQuery(query) { continue; } const values = isArray(value2) ? value2.map((v2) => v2 && encodeQueryValue(v2)) : [value2 && encodeQueryValue(value2)]; - values.forEach((value3) => { - if (value3 !== void 0) { + values.forEach((value22) => { + if (value22 !== void 0) { search2 += (search2.length ? "&" : "") + key; - if (value3 != null) - search2 += "=" + value3; + if (value22 != null) + search2 += "=" + value22; } }); } @@ -52665,7 +52600,7 @@ function addDevtools(app, router, matcher) { api.on.getInspectorState((payload) => { if (payload.app === app && payload.inspectorId === routerInspectorId) { const routes = matcher.getRoutes(); - const route2 = routes.find((route3) => route3.record.__vd_id === payload.nodeId); + const route2 = routes.find((route22) => route22.record.__vd_id === payload.nodeId); if (route2) { payload.state = { options: formatRouteRecordMatcherForStateInspector(route2) @@ -53030,14 +52965,14 @@ ${JSON.stringify(newTargetLocation, null, 2)} const from2 = currentRoute.value; const data = to2.state; const force = to2.force; - const replace3 = to2.replace === true; + const replace22 = to2.replace === true; const shouldRedirect = handleRedirectRecord(targetLocation); if (shouldRedirect) return pushWithRedirect( assign$1(locationAsObject(shouldRedirect), { state: typeof shouldRedirect === "object" ? assign$1({}, data, shouldRedirect.state) : data, force, - replace: replace3 + replace: replace22 }), // keep original redirectedFrom if it exists redirectedFrom || targetLocation @@ -53092,7 +53027,7 @@ ${JSON.stringify(newTargetLocation, null, 2)} // keep options assign$1({ // preserve an existing replacement but allow the redirect to override it - replace: replace3 + replace: replace22 }, locationAsObject(failure2.to), { state: typeof failure2.to === "object" ? assign$1({}, data, failure2.to.state) : data, force @@ -53102,7 +53037,7 @@ ${JSON.stringify(newTargetLocation, null, 2)} ); } } else { - failure2 = finalizeNavigation(toLocation, from2, true, replace3, data); + failure2 = finalizeNavigation(toLocation, from2, true, replace22, data); } triggerAfterEach(toLocation, from2, failure2); return failure2; @@ -53178,14 +53113,14 @@ ${JSON.stringify(newTargetLocation, null, 2)} function triggerAfterEach(to2, from2, failure) { afterGuards.list().forEach((guard) => runWithContext(() => guard(to2, from2, failure))); } - function finalizeNavigation(toLocation, from2, isPush, replace3, data) { + function finalizeNavigation(toLocation, from2, isPush, replace22, data) { const error = checkCanceledNavigation(toLocation, from2); if (error) return error; const isFirstNavigation = from2 === START_LOCATION_NORMALIZED; const state = !isBrowser$1 ? {} : history.state; if (isPush) { - if (replace3 || isFirstNavigation) + if (replace22 || isFirstNavigation) routerHistory.replace(toLocation.fullPath, assign$1({ scroll: isFirstNavigation && state && state.scroll }, data)); @@ -53293,15 +53228,15 @@ ${JSON.stringify(newTargetLocation, null, 2)} function isReady() { if (ready && currentRoute.value !== START_LOCATION_NORMALIZED) return Promise.resolve(); - return new Promise((resolve3, reject) => { - readyHandlers.add([resolve3, reject]); + return new Promise((resolve22, reject) => { + readyHandlers.add([resolve22, reject]); }); } function markAsReady(err) { if (!ready) { ready = !err; setupListeners(); - readyHandlers.list().forEach(([resolve3, reject]) => err ? reject(err) : resolve3()); + readyHandlers.list().forEach(([resolve22, reject]) => err ? reject(err) : resolve22()); readyHandlers.reset(); } return err; @@ -53425,8 +53360,7 @@ function n$6(t3, n2) { var r2 = getComputedStyle(t3, null); return e$2(r2.overflowY, n2) || e$2(r2.overflowX, n2) || function(t4) { var e2 = function(t5) { - if (!t5.ownerDocument || !t5.ownerDocument.defaultView) - return null; + if (!t5.ownerDocument || !t5.ownerDocument.defaultView) return null; try { return t5.ownerDocument.defaultView.frameElement; } catch (t6) { @@ -53445,8 +53379,7 @@ var i$b = function(e2, i2) { var o2 = window, l2 = i2.scrollMode, d2 = i2.block, f2 = i2.inline, h2 = i2.boundary, u3 = i2.skipOverflowHiddenElements, s3 = "function" == typeof h2 ? h2 : function(t3) { return t3 !== h2; }; - if (!t$8(e2)) - throw new TypeError("Invalid target"); + if (!t$8(e2)) throw new TypeError("Invalid target"); for (var a2, c2, g2 = document.scrollingElement || document.documentElement, p2 = [], m2 = e2; t$8(m2) && s3(m2); ) { if ((m2 = null == (c2 = (a2 = m2).parentElement) ? a2.getRootNode().host || null : c2) === g2) { p2.push(m2); @@ -53456,11 +53389,9 @@ var i$b = function(e2, i2) { } for (var w2 = o2.visualViewport ? o2.visualViewport.width : innerWidth, v2 = o2.visualViewport ? o2.visualViewport.height : innerHeight, W2 = window.scrollX || pageXOffset, H3 = window.scrollY || pageYOffset, b3 = e2.getBoundingClientRect(), y2 = b3.height, E2 = b3.width, M2 = b3.top, V2 = b3.right, x2 = b3.bottom, I2 = b3.left, C2 = "start" === d2 || "nearest" === d2 ? M2 : "end" === d2 ? x2 : M2 + y2 / 2, R3 = "center" === f2 ? I2 + E2 / 2 : "end" === f2 ? V2 : I2, T3 = [], k2 = 0; k2 < p2.length; k2++) { var B2 = p2[k2], D2 = B2.getBoundingClientRect(), O3 = D2.height, X2 = D2.width, Y2 = D2.top, L2 = D2.right, S2 = D2.bottom, j2 = D2.left; - if ("if-needed" === l2 && M2 >= 0 && I2 >= 0 && x2 <= v2 && V2 <= w2 && M2 >= Y2 && x2 <= S2 && I2 >= j2 && V2 <= L2) - return T3; + if ("if-needed" === l2 && M2 >= 0 && I2 >= 0 && x2 <= v2 && V2 <= w2 && M2 >= Y2 && x2 <= S2 && I2 >= j2 && V2 <= L2) return T3; var N3 = getComputedStyle(B2), q3 = parseInt(N3.borderLeftWidth, 10), z3 = parseInt(N3.borderTopWidth, 10), A2 = parseInt(N3.borderRightWidth, 10), F3 = parseInt(N3.borderBottomWidth, 10), G2 = 0, J3 = 0, K2 = "offsetWidth" in B2 ? B2.offsetWidth - B2.clientWidth - q3 - A2 : 0, P2 = "offsetHeight" in B2 ? B2.offsetHeight - B2.clientHeight - z3 - F3 : 0, Q2 = "offsetWidth" in B2 ? 0 === B2.offsetWidth ? 0 : X2 / B2.offsetWidth : 0, U2 = "offsetHeight" in B2 ? 0 === B2.offsetHeight ? 0 : O3 / B2.offsetHeight : 0; - if (g2 === B2) - G2 = "start" === d2 ? C2 : "end" === d2 ? C2 - v2 : "nearest" === d2 ? r$4(H3, H3 + v2, v2, z3, F3, H3 + C2, H3 + C2 + y2, y2) : C2 - v2 / 2, J3 = "start" === f2 ? R3 : "center" === f2 ? R3 - w2 / 2 : "end" === f2 ? R3 - w2 : r$4(W2, W2 + w2, w2, q3, A2, W2 + R3, W2 + R3 + E2, E2), G2 = Math.max(0, G2 + H3), J3 = Math.max(0, J3 + W2); + if (g2 === B2) G2 = "start" === d2 ? C2 : "end" === d2 ? C2 - v2 : "nearest" === d2 ? r$4(H3, H3 + v2, v2, z3, F3, H3 + C2, H3 + C2 + y2, y2) : C2 - v2 / 2, J3 = "start" === f2 ? R3 : "center" === f2 ? R3 - w2 / 2 : "end" === f2 ? R3 - w2 : r$4(W2, W2 + w2, w2, q3, A2, W2 + R3, W2 + R3 + E2, E2), G2 = Math.max(0, G2 + H3), J3 = Math.max(0, J3 + W2); else { G2 = "start" === d2 ? C2 - Y2 - z3 : "end" === d2 ? C2 - S2 + F3 + P2 : "nearest" === d2 ? r$4(Y2, S2, O3, z3, F3 + P2, C2, C2 + y2, y2) : C2 - (Y2 + O3 / 2) + P2 / 2, J3 = "start" === f2 ? R3 - j2 - q3 : "center" === f2 ? R3 - (j2 + X2 / 2) + K2 / 2 : "end" === f2 ? R3 - L2 + A2 + K2 : r$4(j2, L2, X2, q3, A2 + K2, R3, R3 + E2, E2); var Z3 = B2.scrollLeft, $2 = B2.scrollTop; @@ -53519,7 +53450,7 @@ function scrollIntoView$1(target, options) { return defaultBehavior(i$b(target, computeOptions), computeOptions.behavior); } const Logo_square = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAMAAABOo35HAAAARVBMVEUAAAAgKC4fJy8gKDAgKDAfJi8fKC8fJy4fJy4fJy8gIDAgKC4eJy4gKC8fKC4gKjAfJy4fJy8fJi8gJi8gKC8gJy4fJy7XGlAuAAAAFnRSTlMAYL9AIJ+/gO/fEKCQv98w36/PUHBwnnzZGAAABGhJREFUeNrswYEAAAAAgKD9qRepAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZtdOt9uEgTAMf1qohCyXtXP/l1pHLAINdutzWhd65vnXCtnmDSFCiRBCCCGEEEIIIYQQQgghhBBCCCGEEFtBxerLD1zRoIl0g8+wmmbfcEGOkgGf0Hi6cixLE48PsC1dOpahmcXfp+jasYZPxtIXjxU8JTU+gGausdbigkb64ht8AE0qXFbT1XXV4BNooiAk1r+IZY0xDV5pjDEBx8KzQWuUGkzA+VX6gSa9fogYdaIAE/u6rqc+Nnr60lYWUDqJAPSkAYyejuiVxcToCb5mUKJVkdDVlEdeqdaPxV896sTh7/pOhW+4UeLgKDF4GD0t/A+4vMygiUGkVav26zdYvRm0WIVIxKa9/qSOrQ7z2qcC86lYinKsirbcQaziiN3p2JY2fFM8OWTxsrHaHKuiPc1iadr7sT2dYrpvcqtCddFYLa2xRmKKWJzJp8O0AQ+hJS5eM9bK5CvA99XdP43lu+5OC13Eqrt7vf8urZZpUZnhtgyaE8fiS4dNLO+UUcpWNIsBD+NxrNrgwXZr422sexo0SxEfAJtfdLujpi8a6xaQtLT/nM1RrNpiP11vYnWY2Drf0qriBEM/R75krBoTw26+7iCWKbcAfIAqQ8KsJQNNLIqxeMlYpkhjkHvkWJtu7HjFHw30XBLDPI/l8MBQF+LpY2HW8T3byGIpvsn7A4rvyY3Lf81JO5Xp5WhFherssXrMNL8GFIvVIPOURCieuaHJ0NEzzQVjrXG+808ysFgBAJuQm7LLTml6ZvjPYhkWC38ulvrvYwWJlfSUdMhGFsu+uGe1PDOZ23KDZ+wFlw5rrBu/TVevfho27KdhYJmpiUvR38Qv8PGMsSJ/amtZLI2VYussx3/rhoHN+4W+nBAp8aeKZViP1yv4liZ5Be8DZnadyVfwUC7Bsa58rZaS/lSxgs8PdPzZkG2Axjyoym0q2+a3Yg/ONp/8kbF4Lbf8+1SxEGnmLIDg/FEsatV+10FtYlGfUpqWZhYwux2sPKhwzK7l7W5D2pwrlvW00F3/fD+rfYzSoi72s3rd1fsNUb1MG41tVFc8dHOaFr6vN+9zrlhwf3CnNAcJNR1Q4PLXjBvOFguadjxfOlS057CJFVnIpPHEODw3Eudwulihp63BsVhqfPXbHX188dia9vwP4K1aDueLBURaeYWDWHDsnHOs0NGqbrCyN9q6W7zA69YGn491nxgk7p5E7Nibn0JEC6h8SA5t5yLeBRSxANXPPcZQvGy9FI4Gv2by8V0+Pt6TEefRGKWaV1dlMIMaLAAeC7BfswOYNJCnvba8izKX/DuyHGvBY13yxB4k1hsk1hsk1hsk1hsk1hsk1hsk1hsk1r9kJgEHrJlACCGEEEIIIYQQQgghhBBCCPGzPTgkAAAAABD0/7U3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVwEPahdN+2zPswAAAABJRU5ErkJggg=="; -const Logo_dark = "/assets/frappe-ui-b2c1ad0a.svg"; +const Logo_dark = "/assets/frappe-ui-C63e8WO7.svg"; const config = { "plugins": [{ "name": "builtin:tailwind-tokens" }, { "name": "builtin:vanilla-support", "supportPlugin": { "id": "vanilla", "moduleName": "/home/runner/work/frappe-ui/frappe-ui/node_modules/histoire/dist/node/builtin-plugins/vanilla-support", "setupFn": "setupVanilla" } }, { "name": "@histoire/plugin-vue", "supportPlugin": { "id": "vue3", "moduleName": "@histoire/plugin-vue", "setupFn": "setupVue3", "importStoriesPrepend": "import { defineAsyncComponent as defineAsyncComponentVue3 } from 'vue'" }, "commands": [{ "id": "histoire:plugin-vue:generate-story", "label": "Generate Vue 3 story from component", "icon": "https://vuejs.org/logo.svg", "searchText": "generate create", "clientSetupFile": "@histoire/plugin-vue/dist/commands/generate-story.client.js" }] }], "outDir": "/home/runner/work/frappe-ui/frappe-ui/.histoire/dist", "storyMatch": ["**/*.story.vue", "**/*.story.svelte"], "storyIgnored": ["**/node_modules/**", "**/dist/**"], "supportMatch": [{ "id": "vanilla", "patterns": ["**/*.js"], "pluginIds": ["vanilla"] }, { "id": "vue", "patterns": ["**/*.vue"], "pluginIds": ["vue3"] }], "tree": { "file": "title", "groups": [{ "id": "top", "title": "" }, { "id": "design-system", "title": "Design System" }, { "id": "resources", "title": "Data Fetching" }, { "id": "components", "title": "Components" }, { "id": "other", "title": "Other" }] }, "theme": { "title": "Frappe UI", "colors": { "primary": { "50": "#f8f8f8", "100": "#f3f3f3", "200": "#ededed", "300": "#e2e2e2", "400": "#c7c7c7", "500": "#999999", "600": "#7c7c7c", "700": "#525252", "800": "#383838", "900": "#171717" }, "gray": { "50": "#f8f8f8", "100": "#f3f3f3", "200": "#ededed", "300": "#e2e2e2", "400": "#c7c7c7", "500": "#999999", "600": "#7c7c7c", "700": "rgb(23 23 23)", "750": "rgb(20 20 20)", "800": "#383838", "850": "#1f1f21", "900": "#171717", "950": "#101012" } }, "defaultColorScheme": "light", "storeColorScheme": false, "darkClass": "dark", "hideColorSchemeSwitch": false, "favicon": "frappe-ui-square.png", "logo": { "square": "/home/runner/work/frappe-ui/frappe-ui/frappe-ui-square.png", "light": "/home/runner/work/frappe-ui/frappe-ui/frappe-ui.svg", "dark": "/home/runner/work/frappe-ui/frappe-ui/frappe-ui.svg" } }, "responsivePresets": [{ "label": "Mobile (Small)", "width": 320, "height": 560 }, { "label": "Mobile (Medium)", "width": 360, "height": 640 }, { "label": "Mobile (Large)", "width": 414, "height": 896 }, { "label": "Tablet", "width": 768, "height": 1024 }, { "label": "Laptop (Small)", "width": 1024, "height": null }, { "label": "Laptop (Large)", "width": 1366, "height": null }, { "label": "Desktop", "width": 1920, "height": null }, { "label": "4K", "width": 3840, "height": null }], "backgroundPresets": [{ "label": "Transparent", "color": "transparent", "contrastColor": "#333" }, { "label": "White", "color": "#fff", "contrastColor": "#333" }, { "label": "Light gray", "color": "#aaa", "contrastColor": "#000" }, { "label": "Dark gray", "color": "#333", "contrastColor": "#fff" }, { "label": "Black", "color": "#000", "contrastColor": "#eee" }], "sandboxDarkClass": "dark", "routerMode": "history", "build": { "excludeFromVendorsChunk": [] }, "viteIgnorePlugins": [], "setupFile": "./histoire.setup.ts" }; const logos = { square: Logo_square, light: Logo_dark, dark: Logo_dark }; const histoireConfig = config; @@ -53801,8 +53732,7 @@ function memo(getDeps, fn3, opts) { return () => { var _a2, _b, _c2, _d2; let depTime; - if (opts.key && ((_a2 = opts.debug) == null ? void 0 : _a2.call(opts))) - depTime = Date.now(); + if (opts.key && ((_a2 = opts.debug) == null ? void 0 : _a2.call(opts))) depTime = Date.now(); const newDeps = getDeps(); const depsChanged = newDeps.length !== deps.length || newDeps.some((dep, index) => deps[index] !== dep); if (!depsChanged) { @@ -53810,8 +53740,7 @@ function memo(getDeps, fn3, opts) { } deps = newDeps; let resultTime; - if (opts.key && ((_b = opts.debug) == null ? void 0 : _b.call(opts))) - resultTime = Date.now(); + if (opts.key && ((_b = opts.debug) == null ? void 0 : _b.call(opts))) resultTime = Date.now(); result = fn3(...newDeps); if (opts.key && ((_c2 = opts.debug) == null ? void 0 : _c2.call(opts))) { const depEndTime = Math.round((Date.now() - depTime) * 100) / 100; @@ -53842,7 +53771,7 @@ function memo(getDeps, fn3, opts) { } function notUndefined(value2, msg) { if (value2 === void 0) { - throw new Error(`Unexpected undefined${msg ? `: ${msg}` : ""}`); + throw new Error(`Unexpected undefined${""}`); } else { return value2; } @@ -54010,8 +53939,7 @@ class Virtualizer { this.range = null; this.setOptions = (opts2) => { Object.entries(opts2).forEach(([key, value2]) => { - if (typeof value2 === "undefined") - delete opts2[key]; + if (typeof value2 === "undefined") delete opts2[key]; }); this.options = { debug: false, @@ -54423,8 +54351,7 @@ class Virtualizer { ); } const offsetAndAlign = this.getOffsetForIndex(index, initialAlign); - if (!offsetAndAlign) - return; + if (!offsetAndAlign) return; const [offset2, align] = offsetAndAlign; this._scrollToOffset(offset2, { adjustments: void 0, behavior }); if (behavior !== "smooth" && this.isDynamicMode() && this.targetWindow) { @@ -54607,13 +54534,10 @@ function o$7() { }, add(e2) { return a2.push(e2), () => { let t3 = a2.indexOf(e2); - if (t3 >= 0) - for (let r2 of a2.splice(t3, 1)) - r2(); + if (t3 >= 0) for (let r2 of a2.splice(t3, 1)) r2(); }; }, dispose() { - for (let e2 of a2.splice(0)) - e2(); + for (let e2 of a2.splice(0)) e2(); } }; return s3; } @@ -54634,8 +54558,7 @@ const i$9 = (r$3 = useId) != null ? r$3 : function() { }; function o$5(e2) { var l2; - if (e2 == null || e2.value == null) - return null; + if (e2 == null || e2.value == null) return null; let n2 = (l2 = e2.value.$el) != null ? l2 : e2.value; return n2 instanceof Node ? n2 : null; } @@ -54676,14 +54599,11 @@ let s$4 = class s2 { }; let c$4 = new s$4(); function i$7(r2) { - if (c$4.isServer) - return null; - if (r2 instanceof Node) - return r2.ownerDocument; + if (c$4.isServer) return null; + if (r2 instanceof Node) return r2.ownerDocument; if (r2 != null && r2.hasOwnProperty("value")) { let n2 = o$5(r2); - if (n2) - return n2.ownerDocument; + if (n2) return n2.ownerDocument; } return document; } @@ -54700,8 +54620,7 @@ function w$4(e2, r2 = 0) { }, [1]() { let l2 = e2; for (; l2 !== null; ) { - if (l2.matches(c$3)) - return true; + if (l2.matches(c$3)) return true; l2 = l2.parentElement; } return false; @@ -54730,8 +54649,7 @@ function I(e2) { function O$2(e2, r2 = (t3) => t3) { return e2.slice().sort((t3, l2) => { let o2 = r2(t3), i2 = r2(l2); - if (o2 === null || i2 === null) - return 0; + if (o2 === null || i2 === null) return 0; let n2 = o2.compareDocumentPosition(i2); return n2 & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n2 & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0; }); @@ -54744,33 +54662,23 @@ function P$1(e2, r2, { sorted: t3 = true, relativeTo: l2 = null, skipElements: o let i2 = (m2 = Array.isArray(e2) ? e2.length > 0 ? e2[0].ownerDocument : document : e2 == null ? void 0 : e2.ownerDocument) != null ? m2 : document, n2 = Array.isArray(e2) ? t3 ? O$2(e2) : e2 : E$4(e2); o2.length > 0 && n2.length > 1 && (n2 = n2.filter((s3) => !o2.includes(s3))), l2 = l2 != null ? l2 : i2.activeElement; let x2 = (() => { - if (r2 & 5) - return 1; - if (r2 & 10) - return -1; + if (r2 & 5) return 1; + if (r2 & 10) return -1; throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last"); })(), p2 = (() => { - if (r2 & 1) - return 0; - if (r2 & 2) - return Math.max(0, n2.indexOf(l2)) - 1; - if (r2 & 4) - return Math.max(0, n2.indexOf(l2)) + 1; - if (r2 & 8) - return n2.length - 1; + if (r2 & 1) return 0; + if (r2 & 2) return Math.max(0, n2.indexOf(l2)) - 1; + if (r2 & 4) return Math.max(0, n2.indexOf(l2)) + 1; + if (r2 & 8) return n2.length - 1; throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last"); })(), L2 = r2 & 32 ? { preventScroll: true } : {}, a2 = 0, d2 = n2.length, u3; do { - if (a2 >= d2 || a2 + d2 <= 0) - return 0; + if (a2 >= d2 || a2 + d2 <= 0) return 0; let s3 = p2 + a2; - if (r2 & 16) - s3 = (s3 + d2) % d2; + if (r2 & 16) s3 = (s3 + d2) % d2; else { - if (s3 < 0) - return 3; - if (s3 >= d2) - return 1; + if (s3 < 0) return 3; + if (s3 >= d2) return 1; } u3 = n2[s3], u3 == null || u3.focus(L2), a2 += x2; } while (u3 !== i2.activeElement); @@ -54797,20 +54705,16 @@ function w$3(e2, n2, t3) { } function w$2(f2, m2, l2 = computed(() => true)) { function a2(e2, r2) { - if (!l2.value || e2.defaultPrevented) - return; + if (!l2.value || e2.defaultPrevented) return; let t3 = r2(e2); - if (t3 === null || !t3.getRootNode().contains(t3)) - return; + if (t3 === null || !t3.getRootNode().contains(t3)) return; let c2 = function o2(n2) { return typeof n2 == "function" ? o2(n2()) : Array.isArray(n2) || n2 instanceof Set ? n2 : [n2]; }(f2); for (let o2 of c2) { - if (o2 === null) - continue; + if (o2 === null) continue; let n2 = o2 instanceof HTMLElement ? o2 : o$5(o2); - if (n2 != null && n2.contains(t3) || e2.composed && e2.composedPath().includes(n2)) - return; + if (n2 != null && n2.contains(t3) || e2.composed && e2.composedPath().includes(n2)) return; } return !w$4(t3, h$2.Loose) && t3.tabIndex !== -1 && e2.preventDefault(), m2(e2, t3); } @@ -54826,11 +54730,9 @@ function w$2(f2, m2, l2 = computed(() => true)) { }, true), u$7("touchend", (e2) => a2(e2, () => e2.target instanceof HTMLElement ? e2.target : null), true), w$3("blur", (e2) => a2(e2, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), true); } function r$2(t3, e2) { - if (t3) - return t3; + if (t3) return t3; let n2 = e2 != null ? e2 : "button"; - if (typeof n2 == "string" && n2.toLowerCase() === "button") - return "button"; + if (typeof n2 == "string" && n2.toLowerCase() === "button") return "button"; } function s$3(t3, e2) { let n2 = ref(r$2(t3.value.type, t3.value.as)); @@ -54856,22 +54758,18 @@ function u$6() { function i$5({ container: e2, accept: t3, walk: d2, enabled: o2 }) { watchEffect(() => { let r2 = e2.value; - if (!r2 || o2 !== void 0 && !o2.value) - return; + if (!r2 || o2 !== void 0 && !o2.value) return; let l2 = i$7(e2); - if (!l2) - return; + if (!l2) return; let c2 = Object.assign((f2) => t3(f2), { acceptNode: t3 }), n2 = l2.createTreeWalker(r2, NodeFilter.SHOW_ELEMENT, c2, false); - for (; n2.nextNode(); ) - d2(n2.currentNode); + for (; n2.nextNode(); ) d2(n2.currentNode); }); } var N$4 = ((o2) => (o2[o2.None = 0] = "None", o2[o2.RenderStrategy = 1] = "RenderStrategy", o2[o2.Static = 2] = "Static", o2))(N$4 || {}), S$2 = ((e2) => (e2[e2.Unmount = 0] = "Unmount", e2[e2.Hidden = 1] = "Hidden", e2))(S$2 || {}); function A$5({ visible: r2 = true, features: t3 = 0, ourProps: e2, theirProps: o2, ...i2 }) { var a2; let n2 = j(o2, e2), l2 = Object.assign(i2, { props: n2 }); - if (r2 || t3 & 2 && n2.static) - return y$1(l2); + if (r2 || t3 & 2 && n2.static) return y$1(l2); if (t3 & 1) { let d2 = (a2 = n2.unmount) == null || a2 ? 0 : 1; return u$8(d2, { [0]() { @@ -54887,21 +54785,18 @@ function y$1({ props: r2, attrs: t3, slots: e2, slot: o2, name: i2 }) { let { as: n2, ...l2 } = T$1(r2, ["unmount", "static"]), a2 = (m2 = e2.default) == null ? void 0 : m2.call(e2, o2), d2 = {}; if (o2) { let u3 = false, c2 = []; - for (let [p2, f2] of Object.entries(o2)) - typeof f2 == "boolean" && (u3 = true), f2 === true && c2.push(p2); + for (let [p2, f2] of Object.entries(o2)) typeof f2 == "boolean" && (u3 = true), f2 === true && c2.push(p2); u3 && (d2["data-headlessui-state"] = c2.join(" ")); } if (n2 === "template") { if (a2 = b(a2 != null ? a2 : []), Object.keys(l2).length > 0 || Object.keys(t3).length > 0) { let [u3, ...c2] = a2 != null ? a2 : []; - if (!v$3(u3) || c2.length > 0) - throw new Error(['Passing props on "template"!', "", `The current component <${i2} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(l2).concat(Object.keys(t3)).map((s3) => s3.trim()).filter((s3, g2, R3) => R3.indexOf(s3) === g2).sort((s3, g2) => s3.localeCompare(g2)).map((s3) => ` - ${s3}`).join(` + if (!v$3(u3) || c2.length > 0) throw new Error(['Passing props on "template"!', "", `The current component <${i2} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(l2).concat(Object.keys(t3)).map((s3) => s3.trim()).filter((s3, g2, R3) => R3.indexOf(s3) === g2).sort((s3, g2) => s3.localeCompare(g2)).map((s3) => ` - ${s3}`).join(` `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((s3) => ` - ${s3}`).join(` `)].join(` `)); let p2 = j((h2 = u3.props) != null ? h2 : {}, l2, d2), f2 = cloneVNode(u3, p2, true); - for (let s3 in p2) - s3.startsWith("on") && (f2.props || (f2.props = {}), f2.props[s3] = p2[s3]); + for (let s3 in p2) s3.startsWith("on") && (f2.props || (f2.props = {}), f2.props[s3] = p2[s3]); return f2; } return Array.isArray(a2) && a2.length === 1 ? a2[0] : a2; @@ -54912,37 +54807,28 @@ function b(r2) { return r2.flatMap((t3) => t3.type === Fragment$1 ? b(t3.children) : [t3]); } function j(...r2) { - if (r2.length === 0) - return {}; - if (r2.length === 1) - return r2[0]; + if (r2.length === 0) return {}; + if (r2.length === 1) return r2[0]; let t3 = {}, e2 = {}; - for (let i2 of r2) - for (let n2 in i2) - n2.startsWith("on") && typeof i2[n2] == "function" ? (e2[n2] != null || (e2[n2] = []), e2[n2].push(i2[n2])) : t3[n2] = i2[n2]; - if (t3.disabled || t3["aria-disabled"]) - return Object.assign(t3, Object.fromEntries(Object.keys(e2).map((i2) => [i2, void 0]))); - for (let i2 in e2) - Object.assign(t3, { [i2](n2, ...l2) { - let a2 = e2[i2]; - for (let d2 of a2) { - if (n2 instanceof Event && n2.defaultPrevented) - return; - d2(n2, ...l2); - } - } }); + for (let i2 of r2) for (let n2 in i2) n2.startsWith("on") && typeof i2[n2] == "function" ? (e2[n2] != null || (e2[n2] = []), e2[n2].push(i2[n2])) : t3[n2] = i2[n2]; + if (t3.disabled || t3["aria-disabled"]) return Object.assign(t3, Object.fromEntries(Object.keys(e2).map((i2) => [i2, void 0]))); + for (let i2 in e2) Object.assign(t3, { [i2](n2, ...l2) { + let a2 = e2[i2]; + for (let d2 of a2) { + if (n2 instanceof Event && n2.defaultPrevented) return; + d2(n2, ...l2); + } + } }); return t3; } function E$3(r2) { let t3 = Object.assign({}, r2); - for (let e2 in t3) - t3[e2] === void 0 && delete t3[e2]; + for (let e2 in t3) t3[e2] === void 0 && delete t3[e2]; return t3; } function T$1(r2, t3 = []) { let e2 = Object.assign({}, r2); - for (let o2 of t3) - o2 in e2 && delete e2[o2]; + for (let o2 of t3) o2 in e2 && delete e2[o2]; return e2; } function v$3(r2) { @@ -54988,39 +54874,28 @@ function u$4(l2) { var c$2 = ((i2) => (i2[i2.First = 0] = "First", i2[i2.Previous = 1] = "Previous", i2[i2.Next = 2] = "Next", i2[i2.Last = 3] = "Last", i2[i2.Specific = 4] = "Specific", i2[i2.Nothing = 5] = "Nothing", i2))(c$2 || {}); function f$3(l2, n2) { let t3 = n2.resolveItems(); - if (t3.length <= 0) - return null; + if (t3.length <= 0) return null; let r2 = n2.resolveActiveIndex(), s3 = r2 != null ? r2 : -1; switch (l2.focus) { case 0: { - for (let e2 = 0; e2 < t3.length; ++e2) - if (!n2.resolveDisabled(t3[e2], e2, t3)) - return e2; + for (let e2 = 0; e2 < t3.length; ++e2) if (!n2.resolveDisabled(t3[e2], e2, t3)) return e2; return r2; } case 1: { s3 === -1 && (s3 = t3.length); - for (let e2 = s3 - 1; e2 >= 0; --e2) - if (!n2.resolveDisabled(t3[e2], e2, t3)) - return e2; + for (let e2 = s3 - 1; e2 >= 0; --e2) if (!n2.resolveDisabled(t3[e2], e2, t3)) return e2; return r2; } case 2: { - for (let e2 = s3 + 1; e2 < t3.length; ++e2) - if (!n2.resolveDisabled(t3[e2], e2, t3)) - return e2; + for (let e2 = s3 + 1; e2 < t3.length; ++e2) if (!n2.resolveDisabled(t3[e2], e2, t3)) return e2; return r2; } case 3: { - for (let e2 = t3.length - 1; e2 >= 0; --e2) - if (!n2.resolveDisabled(t3[e2], e2, t3)) - return e2; + for (let e2 = t3.length - 1; e2 >= 0; --e2) if (!n2.resolveDisabled(t3[e2], e2, t3)) return e2; return r2; } case 4: { - for (let e2 = 0; e2 < t3.length; ++e2) - if (n2.resolveId(t3[e2], e2, t3) === l2.id) - return e2; + for (let e2 = 0; e2 < t3.length; ++e2) if (n2.resolveId(t3[e2], e2, t3) === l2.id) return e2; return r2; } case 5: @@ -55030,32 +54905,28 @@ function f$3(l2, n2) { } } function e$1(i2 = {}, s3 = null, t3 = []) { - for (let [r2, n2] of Object.entries(i2)) - o$3(t3, f$2(s3, r2), n2); + for (let [r2, n2] of Object.entries(i2)) o$3(t3, f$2(s3, r2), n2); return t3; } function f$2(i2, s3) { return i2 ? i2 + "[" + s3 + "]" : s3; } function o$3(i2, s3, t3) { - if (Array.isArray(t3)) - for (let [r2, n2] of t3.entries()) - o$3(i2, f$2(s3, r2.toString()), n2); - else - t3 instanceof Date ? i2.push([s3, t3.toISOString()]) : typeof t3 == "boolean" ? i2.push([s3, t3 ? "1" : "0"]) : typeof t3 == "string" ? i2.push([s3, t3]) : typeof t3 == "number" ? i2.push([s3, `${t3}`]) : t3 == null ? i2.push([s3, ""]) : e$1(t3, s3, i2); + if (Array.isArray(t3)) for (let [r2, n2] of t3.entries()) o$3(i2, f$2(s3, r2.toString()), n2); + else t3 instanceof Date ? i2.push([s3, t3.toISOString()]) : typeof t3 == "boolean" ? i2.push([s3, t3 ? "1" : "0"]) : typeof t3 == "string" ? i2.push([s3, t3]) : typeof t3 == "number" ? i2.push([s3, `${t3}`]) : t3 == null ? i2.push([s3, ""]) : e$1(t3, s3, i2); } function p$1(i2) { var t3, r2; let s3 = (t3 = i2 == null ? void 0 : i2.form) != null ? t3 : i2.closest("form"); if (s3) { - for (let n2 of s3.elements) - if (n2 !== i2 && (n2.tagName === "INPUT" && n2.type === "submit" || n2.tagName === "BUTTON" && n2.type === "submit" || n2.nodeName === "INPUT" && n2.type === "image")) { - n2.click(); - return; - } + for (let n2 of s3.elements) if (n2 !== i2 && (n2.tagName === "INPUT" && n2.type === "submit" || n2.tagName === "BUTTON" && n2.type === "submit" || n2.nodeName === "INPUT" && n2.type === "image")) { + n2.click(); + return; + } (r2 = s3.requestSubmit) == null || r2.call(s3); } } +var define_process_env_default$1 = {}; function De(a2, h2) { return a2 === h2; } @@ -55072,8 +54943,7 @@ function K$2(a2) { let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name: "VirtualProvider", setup(a2, { slots: h2 }) { let r2 = K$2("VirtualProvider"), y2 = computed(() => { let c2 = o$5(r2.optionsRef); - if (!c2) - return { start: 0, end: 0 }; + if (!c2) return { start: 0, end: 0 }; let f2 = window.getComputedStyle(c2); return { start: parseFloat(f2.paddingBlockStart || f2.paddingTop), end: parseFloat(f2.paddingBlockEnd || f2.paddingBottom) }; }), o2 = useVirtualizer(computed(() => ({ scrollPaddingStart: y2.value.start, scrollPaddingEnd: y2.value.end, count: r2.virtual.value.options.length, estimateSize() { @@ -55088,8 +54958,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name e2.value += 1; }), provide(ie$3, r2.virtual.value ? o2 : null), () => [h$3("div", { style: { position: "relative", width: "100%", height: `${o2.value.getTotalSize()}px` }, ref: (c2) => { if (c2) { - if (typeof process != "undefined" && {}.JEST_WORKER_ID !== void 0 || r2.activationTrigger.value === 0) - return; + if (typeof process != "undefined" && define_process_env_default$1.JEST_WORKER_ID !== void 0 || r2.activationTrigger.value === 0) return; r2.activeOptionIndex.value !== null && r2.virtual.value.options.length > r2.activeOptionIndex.value && o2.value.scrollToIndex(r2.activeOptionIndex.value); } } }, o2.value.getVirtualItems().map((c2) => cloneVNode(h2.default({ option: r2.virtual.value.options[c2.index], open: r2.comboboxState.value === 0 })[0], { key: `${e2.value}-${c2.index}`, "data-index": c2.index, "aria-setsize": r2.virtual.value.options.length, "aria-posinset": c2.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${c2.start}px)`, overflowAnchor: "none" } })))]; @@ -55133,12 +55002,10 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name var b3; return !((b3 = l2.virtual.value) != null && b3.disabled(s3)); }); - if (n2 !== -1) - return n2; + if (n2 !== -1) return n2; } let t3 = v2.value.findIndex((n2) => !n2.dataRef.disabled); - if (t3 !== -1) - return t3; + if (t3 !== -1) return t3; } return d2.value; }), activationTrigger: D2, optionsPropsRef: S2, closeCombobox() { @@ -55155,8 +55022,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name D2.value = t3; }, goToOption(t3, n2, s3) { E2.value = false, V2 !== null && cancelAnimationFrame(V2), V2 = requestAnimationFrame(() => { - if (a2.disabled || f2.value && !S2.value.static && o2.value === 1) - return; + if (a2.disabled || f2.value && !S2.value.static && o2.value === 1) return; if (l2.virtual.value) { d2.value = t3 === c$2.Specific ? n2 : f$3({ focus: t3 }, { resolveItems: () => l2.virtual.value.options, resolveActiveIndex: () => { var C2, A2; @@ -55179,14 +55045,12 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name }); }, selectOption(t3) { let n2 = v2.value.find((b3) => b3.id === t3); - if (!n2) - return; + if (!n2) return; let { dataRef: s3 } = n2; I2(s3.value); }, selectActiveOption() { if (l2.activeOptionIndex.value !== null) { - if (l2.virtual.value) - I2(l2.virtual.value.options[l2.activeOptionIndex.value]); + if (l2.virtual.value) I2(l2.virtual.value.options[l2.activeOptionIndex.value]); else { let { dataRef: t3 } = v2.value[l2.activeOptionIndex.value]; I2(t3.value); @@ -55227,8 +55091,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name }); return onMounted(() => { watch([g2], () => { - if (!g2.value || a2.defaultValue === void 0) - return; + if (!g2.value || a2.defaultValue === void 0) return; function t3() { l2.change(a2.defaultValue); } @@ -55258,23 +55121,19 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name }); onMounted(() => { watch([v2, e2.comboboxState, c2], ([i2, I2], [T3, l2]) => { - if (f2.value) - return; + if (f2.value) return; let g2 = o$5(e2.inputRef); g2 && ((l2 === 0 && I2 === 1 || i2 !== T3) && (g2.value = i2), requestAnimationFrame(() => { var s3; - if (f2.value || !g2 || ((s3 = c2.value) == null ? void 0 : s3.activeElement) !== g2) - return; + if (f2.value || !g2 || ((s3 = c2.value) == null ? void 0 : s3.activeElement) !== g2) return; let { selectionStart: t3, selectionEnd: n2 } = g2; Math.abs((n2 != null ? n2 : 0) - (t3 != null ? t3 : 0)) === 0 && t3 === 0 && g2.setSelectionRange(g2.value.length, g2.value.length); })); }, { immediate: true }), watch([e2.comboboxState], ([i2], [I2]) => { if (i2 === 0 && I2 === 1) { - if (f2.value) - return; + if (f2.value) return; let T3 = o$5(e2.inputRef); - if (!T3) - return; + if (!T3) return; let l2 = T3.value, { selectionStart: g2, selectionEnd: t3, selectionDirection: n2 } = T3; T3.value = "", T3.value = l2, n2 !== null ? T3.setSelectionRange(g2, t3, n2) : T3.setSelectionRange(g2, t3); } @@ -55295,8 +55154,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name f2.value = false; }), i2.key) { case o$4.Enter: - if (f2.value = false, e2.comboboxState.value !== 0 || d2.value) - return; + if (f2.value = false, e2.comboboxState.value !== 0 || d2.value) return; if (i2.preventDefault(), i2.stopPropagation(), e2.activeOptionIndex.value === null) { e2.closeCombobox(); return; @@ -55312,25 +55170,21 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name }); } }); case o$4.Home: - if (i2.shiftKey) - break; + if (i2.shiftKey) break; return f2.value = false, i2.preventDefault(), i2.stopPropagation(), e2.goToOption(c$2.First); case o$4.PageUp: return f2.value = false, i2.preventDefault(), i2.stopPropagation(), e2.goToOption(c$2.First); case o$4.End: - if (i2.shiftKey) - break; + if (i2.shiftKey) break; return f2.value = false, i2.preventDefault(), i2.stopPropagation(), e2.goToOption(c$2.Last); case o$4.PageDown: return f2.value = false, i2.preventDefault(), i2.stopPropagation(), e2.goToOption(c$2.Last); case o$4.Escape: - if (f2.value = false, e2.comboboxState.value !== 0) - return; + if (f2.value = false, e2.comboboxState.value !== 0) return; i2.preventDefault(), e2.optionsRef.value && !e2.optionsPropsRef.value.static && i2.stopPropagation(), e2.nullable.value && e2.mode.value === 0 && e2.value.value === null && S2(), e2.closeCombobox(); break; case o$4.Tab: - if (f2.value = false, e2.comboboxState.value !== 0) - return; + if (f2.value = false, e2.comboboxState.value !== 0) return; e2.mode.value === 0 && e2.activationTrigger.value !== 1 && e2.selectActiveOption(), e2.closeCombobox(); break; } @@ -55341,8 +55195,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name function B2(i2) { var T3, l2, g2; let I2 = (T3 = i2.relatedTarget) != null ? T3 : t$2.find((t3) => t3 !== i2.currentTarget); - if (f2.value = false, !((l2 = o$5(e2.optionsRef)) != null && l2.contains(I2)) && !((g2 = o$5(e2.buttonRef)) != null && g2.contains(I2)) && e2.comboboxState.value === 0) - return i2.preventDefault(), e2.mode.value === 0 && (e2.nullable.value && e2.value.value === null ? S2() : e2.activationTrigger.value !== 1 && e2.selectActiveOption()), e2.closeCombobox(); + if (f2.value = false, !((l2 = o$5(e2.optionsRef)) != null && l2.contains(I2)) && !((g2 = o$5(e2.buttonRef)) != null && g2.contains(I2)) && e2.comboboxState.value === 0) return i2.preventDefault(), e2.mode.value === 0 && (e2.nullable.value && e2.value.value === null ? S2() : e2.activationTrigger.value !== 1 && e2.selectActiveOption()), e2.closeCombobox(); } function p2(i2) { var T3, l2, g2; @@ -55405,8 +55258,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name } function E2() { var R3; - if (a2.disabled || (R3 = o2.virtual.value) != null && R3.disabled(a2.value)) - return o2.goToOption(c$2.Nothing); + if (a2.disabled || (R3 = o2.virtual.value) != null && R3.disabled(a2.value)) return o2.goToOption(c$2.Nothing); let p2 = o2.calculateIndex(a2.value); o2.goToOption(c$2.Specific, p2); } @@ -55416,8 +55268,7 @@ let ie$3 = Symbol("VirtualContext"), Ae = /* @__PURE__ */ defineComponent({ name } function $2(p2) { var V2; - if (!w2.wasMoved(p2) || a2.disabled || (V2 = o2.virtual.value) != null && V2.disabled(a2.value) || f2.value) - return; + if (!w2.wasMoved(p2) || a2.disabled || (V2 = o2.virtual.value) != null && V2.disabled(a2.value) || f2.value) return; let R3 = o2.calculateIndex(a2.value); o2.goToOption(c$2.Specific, R3, 0); } @@ -55443,10 +55294,8 @@ function n$1() { }), o2; } function B(t3) { - if (!t3) - return /* @__PURE__ */ new Set(); - if (typeof t3 == "function") - return new Set(t3()); + if (!t3) return /* @__PURE__ */ new Set(); + if (typeof t3 == "function") return new Set(t3()); let n2 = /* @__PURE__ */ new Set(); for (let r2 of t3.value) { let l2 = o$5(r2); @@ -55465,8 +55314,7 @@ let ue$2 = Object.assign(/* @__PURE__ */ defineComponent({ name: "FocusTrap", pr let f2 = n$1(); function a2(u3) { let T3 = o$5(o2); - if (!T3) - return; + if (!T3) return; ((w2) => w2())(() => { u$8(f2.value, { [d$6.Forwards]: () => { P$1(T3, N$5.First, { skipElements: [u3.relatedTarget] }); @@ -55482,8 +55330,7 @@ let ue$2 = Object.assign(/* @__PURE__ */ defineComponent({ name: "FocusTrap", pr })); } function H3(u3) { - if (!e2.value) - return; + if (!e2.value) return; let T3 = B(t3.containers); o$5(o2) instanceof HTMLElement && T3.add(o$5(o2)); let d2 = u3.relatedTarget; @@ -55520,13 +55367,11 @@ function z$1({ ownerDocument: t3, container: n2, initialFocus: r2 }, l2) { let o2 = ref(null), i2 = ref(false); return onMounted(() => i2.value = true), onUnmounted(() => i2.value = false), onMounted(() => { watch([n2, r2, l2], (e2, m2) => { - if (e2.every((a2, s3) => (m2 == null ? void 0 : m2[s3]) === a2) || !l2.value) - return; + if (e2.every((a2, s3) => (m2 == null ? void 0 : m2[s3]) === a2) || !l2.value) return; let f2 = o$5(n2); f2 && t$7(() => { var F3, H3; - if (!i2.value) - return; + if (!i2.value) return; let a2 = o$5(r2), s3 = (F3 = t3.value) == null ? void 0 : F3.activeElement; if (a2) { if (a2 === s3) { @@ -55545,21 +55390,17 @@ function z$1({ ownerDocument: t3, container: n2, initialFocus: r2 }, l2) { function J({ ownerDocument: t3, container: n2, containers: r2, previousActiveElement: l2 }, o2) { var i2; E$2((i2 = t3.value) == null ? void 0 : i2.defaultView, "focus", (e2) => { - if (!o2.value) - return; + if (!o2.value) return; let m2 = B(r2); o$5(n2) instanceof HTMLElement && m2.add(o$5(n2)); let f2 = l2.value; - if (!f2) - return; + if (!f2) return; let a2 = e2.target; a2 && a2 instanceof HTMLElement ? N$3(m2, a2) ? (l2.value = a2, S$3(a2)) : (e2.preventDefault(), e2.stopPropagation(), S$3(f2)) : S$3(l2.value); }, true); } function N$3(t3, n2) { - for (let r2 of t3) - if (r2.contains(n2)) - return true; + for (let r2 of t3) if (r2.contains(n2)) return true; return false; } function m$4(t3) { @@ -55603,35 +55444,27 @@ function w$1() { } let o2 = (s3 = window.scrollY) != null ? s3 : window.pageYOffset, l2 = null; n2.addEventListener(r2, "click", (t3) => { - if (t3.target instanceof HTMLElement) - try { - let e2 = t3.target.closest("a"); - if (!e2) - return; - let { hash: f2 } = new URL(e2.href), i2 = r2.querySelector(f2); - i2 && !a2(i2) && (l2 = i2); - } catch { - } + if (t3.target instanceof HTMLElement) try { + let e2 = t3.target.closest("a"); + if (!e2) return; + let { hash: f2 } = new URL(e2.href), i2 = r2.querySelector(f2); + i2 && !a2(i2) && (l2 = i2); + } catch { + } }, true), n2.addEventListener(r2, "touchstart", (t3) => { - if (t3.target instanceof HTMLElement) - if (a2(t3.target)) { - let e2 = t3.target; - for (; e2.parentElement && a2(e2.parentElement); ) - e2 = e2.parentElement; - n2.style(e2, "overscrollBehavior", "contain"); - } else - n2.style(t3.target, "touchAction", "none"); + if (t3.target instanceof HTMLElement) if (a2(t3.target)) { + let e2 = t3.target; + for (; e2.parentElement && a2(e2.parentElement); ) e2 = e2.parentElement; + n2.style(e2, "overscrollBehavior", "contain"); + } else n2.style(t3.target, "touchAction", "none"); }), n2.addEventListener(r2, "touchmove", (t3) => { if (t3.target instanceof HTMLElement) { - if (t3.target.tagName === "INPUT") - return; + if (t3.target.tagName === "INPUT") return; if (a2(t3.target)) { let e2 = t3.target; - for (; e2.parentElement && e2.dataset.headlessuiPortal !== "" && !(e2.scrollHeight > e2.clientHeight || e2.scrollWidth > e2.clientWidth); ) - e2 = e2.parentElement; + for (; e2.parentElement && e2.dataset.headlessuiPortal !== "" && !(e2.scrollHeight > e2.clientHeight || e2.scrollWidth > e2.clientWidth); ) e2 = e2.parentElement; e2.dataset.headlessuiPortal === "" && t3.preventDefault(); - } else - t3.preventDefault(); + } else t3.preventDefault(); } }, { passive: false }), n2.add(() => { var e2; @@ -55648,8 +55481,7 @@ function l$1() { } function m$3(e2) { let n2 = {}; - for (let t3 of e2) - Object.assign(n2, t3(n2)); + for (let t3 of e2) Object.assign(n2, t3(n2)); return n2; } let a$3 = a$4(() => /* @__PURE__ */ new Map(), { PUSH(e2, n2) { @@ -55669,8 +55501,7 @@ let a$3 = a$4(() => /* @__PURE__ */ new Map(), { PUSH(e2, n2) { } }); a$3.subscribe(() => { let e2 = a$3.getSnapshot(), n2 = /* @__PURE__ */ new Map(); - for (let [t3] of e2) - n2.set(t3, t3.documentElement.style.overflow); + for (let [t3] of e2) n2.set(t3, t3.documentElement.style.overflow); for (let t3 of e2.values()) { let o2 = n2.get(t3.doc) === "hidden", c2 = t3.count !== 0; (c2 && !o2 || !c2 && o2) && a$3.dispatch(t3.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", t3), t3.count === 0 && a$3.dispatch("TEARDOWN", t3); @@ -55682,8 +55513,7 @@ function d$5(t3, a2, n2) { return e2 ? e2.count > 0 : false; }); return watch([t3, a2], ([e2, m2], [r2], o2) => { - if (!e2 || !m2) - return; + if (!e2 || !m2) return; a$3.dispatch("PUSH", e2, n2); let f2 = false; o2(() => { @@ -55695,18 +55525,14 @@ let i$3 = /* @__PURE__ */ new Map(), t$1 = /* @__PURE__ */ new Map(); function E$1(d2, f2 = ref(true)) { watchEffect((o2) => { var a2; - if (!f2.value) - return; + if (!f2.value) return; let e2 = o$5(d2); - if (!e2) - return; + if (!e2) return; o2(function() { var u3; - if (!e2) - return; + if (!e2) return; let r2 = (u3 = t$1.get(e2)) != null ? u3 : 1; - if (r2 === 1 ? t$1.delete(e2) : t$1.set(e2, r2 - 1), r2 !== 1) - return; + if (r2 === 1 ? t$1.delete(e2) : t$1.set(e2, r2 - 1), r2 !== 1) return; let n2 = i$3.get(e2); n2 && (n2["aria-hidden"] === null ? e2.removeAttribute("aria-hidden") : e2.setAttribute("aria-hidden", n2["aria-hidden"]), e2.inert = n2.inert, i$3.delete(e2)); }); @@ -55719,13 +55545,9 @@ function N$2({ defaultContainers: o2 = [], portals: i2, mainTreeNodeRef: H3 } = function u3() { var l2, f2, a2; let n2 = []; - for (let e2 of o2) - e2 !== null && (e2 instanceof HTMLElement ? n2.push(e2) : "value" in e2 && e2.value instanceof HTMLElement && n2.push(e2.value)); - if (i2 != null && i2.value) - for (let e2 of i2.value) - n2.push(e2); - for (let e2 of (l2 = r2 == null ? void 0 : r2.querySelectorAll("html > *, body > *")) != null ? l2 : []) - e2 !== document.body && e2 !== document.head && e2 instanceof HTMLElement && e2.id !== "headlessui-portal-root" && (e2.contains(o$5(t3)) || e2.contains((a2 = (f2 = o$5(t3)) == null ? void 0 : f2.getRootNode()) == null ? void 0 : a2.host) || n2.some((M2) => e2.contains(M2)) || n2.push(e2)); + for (let e2 of o2) e2 !== null && (e2 instanceof HTMLElement ? n2.push(e2) : "value" in e2 && e2.value instanceof HTMLElement && n2.push(e2.value)); + if (i2 != null && i2.value) for (let e2 of i2.value) n2.push(e2); + for (let e2 of (l2 = r2 == null ? void 0 : r2.querySelectorAll("html > *, body > *")) != null ? l2 : []) e2 !== document.body && e2 !== document.head && e2 instanceof HTMLElement && e2.id !== "headlessui-portal-root" && (e2.contains(o$5(t3)) || e2.contains((a2 = (f2 = o$5(t3)) == null ? void 0 : f2.getRootNode()) == null ? void 0 : a2.host) || n2.some((M2) => e2.contains(M2)) || n2.push(e2)); return n2; } return { resolveContainers: u3, contains(n2) { @@ -55766,8 +55588,7 @@ function R$4({ type: o2, enabled: r2, element: e2, onUpdate: i2 }) { let u$1 = Symbol("DescriptionContext"); function w() { let t3 = inject(u$1, null); - if (t3 === null) - throw new Error("Missing parent"); + if (t3 === null) throw new Error("Missing parent"); return t3; } function k$1({ slot: t3 = ref({}), name: o2 = "Description", props: s3 = {} } = {}) { @@ -55791,13 +55612,11 @@ let K$1 = /* @__PURE__ */ defineComponent({ name: "Description", props: { as: { function x(e2) { let t3 = i$7(e2); if (!t3) { - if (e2 === null) - return null; + if (e2 === null) return null; throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e2}`); } let l2 = t3.getElementById("headlessui-portal-root"); - if (l2) - return l2; + if (l2) return l2; let r2 = t3.createElement("div"); return r2.setAttribute("id", "headlessui-portal-root"), t3.body.appendChild(r2); } @@ -55821,8 +55640,7 @@ let $ = /* @__PURE__ */ defineComponent({ name: "Portal", props: { as: { type: [ }); let v2 = inject(d$4, null), g2 = false, b3 = getCurrentInstance(); return watch(r2, () => { - if (g2 || !v2) - return; + if (g2 || !v2) return; let a2 = o$5(r2); a2 && (onUnmounted(v2.register(a2), b3), g2 = true); }), onUnmounted(() => { @@ -55830,8 +55648,7 @@ let $ = /* @__PURE__ */ defineComponent({ name: "Portal", props: { as: { type: [ let a2 = (P2 = i2.value) == null ? void 0 : P2.getElementById("headlessui-portal-root"); !a2 || n2.value !== a2 || M$2(n2.value, (L2) => L2 - 1) || n2.value.children.length > 0 || (T3 = n2.value.parentElement) == null || T3.removeChild(n2.value); }), () => { - if (!c2.value || n2.value === null) - return null; + if (!c2.value || n2.value === null) return null; let a2 = { ref: r2, "data-headlessui-portal": "" }; return h$3(Teleport, { to: n2.value }, A$5({ ourProps: a2, theirProps: e2, slot: {}, attrs: l2, slots: t3, name: "Portal" })); }; @@ -55879,10 +55696,8 @@ let A$3 = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ye = /* @__PURE__ */ defineCom u3.value = true; }); let r2 = false, g2 = computed(() => t3.role === "dialog" || t3.role === "alertdialog" ? t3.role : (r2 || (r2 = true, console.warn(`Invalid role [${g2}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), D2 = ref(0), S2 = l$2(), R3 = computed(() => t3.open === A$3 && S2 !== null ? (S2.value & i$4.Open) === i$4.Open : t3.open), m2 = ref(null), E2 = computed(() => i$7(m2)); - if (s$12({ el: m2, $el: m2 }), !(t3.open !== A$3 || S2 !== null)) - throw new Error("You forgot to provide an `open` prop to the `Dialog`."); - if (typeof R3.value != "boolean") - throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${R3.value === A$3 ? void 0 : t3.open}`); + if (s$12({ el: m2, $el: m2 }), !(t3.open !== A$3 || S2 !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`."); + if (typeof R3.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${R3.value === A$3 ? void 0 : t3.open}`); let c2 = computed(() => u3.value && R3.value ? 0 : 1), k2 = computed(() => c2.value === 0), w2 = computed(() => D2.value > 1), N3 = inject(H$3, null) !== null, [Q2, X2] = q(), { resolveContainers: B2, mainTreeNodeRef: K2, MainTreeNode: Z3 } = N$2({ portals: Q2, defaultContainers: [computed(() => { var e2; return (e2 = h2.panelRef.value) != null ? e2 : m2.value; @@ -55896,8 +55711,7 @@ let A$3 = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ye = /* @__PURE__ */ defineCom return (d2 = Array.from((a2 = (e2 = E2.value) == null ? void 0 : e2.querySelectorAll("[data-headlessui-portal]")) != null ? a2 : []).find((f2) => f2.contains(o$5(K2)) && f2 instanceof HTMLElement)) != null ? d2 : null; }); E$1(oe3, ae2), R$4({ type: "Dialog", enabled: computed(() => c2.value === 0), element: m2, onUpdate: (e2, a2) => { - if (a2 === "Dialog") - return u$8(e2, { [s.Add]: () => D2.value += 1, [s.Remove]: () => D2.value -= 1 }); + if (a2 === "Dialog") return u$8(e2, { [s.Add]: () => D2.value += 1, [s.Remove]: () => D2.value -= 1 }); } }); let re3 = k$1({ name: "DialogDescription", slot: computed(() => ({ open: R3.value })) }), M2 = ref(null), h2 = { titleId: M2, panelRef: ref(null), dialogState: c2, setTitleId(e2) { M2.value !== e2 && (M2.value = e2); @@ -55918,11 +55732,9 @@ let A$3 = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ye = /* @__PURE__ */ defineCom var a2; return { containers: [...(a2 = e2.containers) != null ? a2 : [], B2] }; }), watchEffect((e2) => { - if (c2.value !== 0) - return; + if (c2.value !== 0) return; let a2 = o$5(m2); - if (!a2) - return; + if (!a2) return; let d2 = new ResizeObserver((f2) => { for (let L2 of f2) { let x2 = L2.target.getBoundingClientRect(); @@ -55959,18 +55771,15 @@ let a$2 = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00- function o$2(e2) { var r2, i2; let n2 = (r2 = e2.innerText) != null ? r2 : "", t3 = e2.cloneNode(true); - if (!(t3 instanceof HTMLElement)) - return n2; + if (!(t3 instanceof HTMLElement)) return n2; let u3 = false; - for (let f2 of t3.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) - f2.remove(), u3 = true; + for (let f2 of t3.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) f2.remove(), u3 = true; let l2 = u3 ? (i2 = t3.innerText) != null ? i2 : "" : n2; return a$2.test(l2) && (l2 = l2.replace(a$2, "")), l2; } function g$2(e2) { let n2 = e2.getAttribute("aria-label"); - if (typeof n2 == "string") - return n2.trim(); + if (typeof n2 == "string") return n2.trim(); let t3 = e2.getAttribute("aria-labelledby"); if (t3) { let u3 = t3.split(" ").map((l2) => { @@ -55981,8 +55790,7 @@ function g$2(e2) { } return null; }).filter(Boolean); - if (u3.length > 0) - return u3.join(", "); + if (u3.length > 0) return u3.join(", "); } return o$2(e2).trim(); } @@ -55990,11 +55798,9 @@ function p(a2) { let t3 = ref(""), r2 = ref(""); return () => { let e2 = o$5(a2); - if (!e2) - return ""; + if (!e2) return ""; let l2 = e2.innerText; - if (t3.value === l2) - return r2.value; + if (t3.value === l2) return r2.value; let u3 = g$2(e2).trim().toLowerCase(); return t3.value = l2, r2.value = u3, u3; }; @@ -56103,8 +55909,7 @@ let ge$2 = /* @__PURE__ */ defineComponent({ name: "Menu", props: { as: { type: var a2; switch (r2.value && clearTimeout(r2.value), t3.key) { case o$4.Space: - if (e2.searchQuery.value !== "") - return t3.preventDefault(), t3.stopPropagation(), e2.search(t3.key); + if (e2.searchQuery.value !== "") return t3.preventDefault(), t3.stopPropagation(), e2.search(t3.key); case o$4.Enter: if (t3.preventDefault(), t3.stopPropagation(), e2.activeItemIndex.value !== null) { let s3 = e2.items.value[e2.activeItemIndex.value]; @@ -56163,13 +55968,11 @@ let ge$2 = /* @__PURE__ */ defineComponent({ name: "Menu", props: { as: { type: }); }); function b3(u3) { - if (o2.disabled) - return u3.preventDefault(); + if (o2.disabled) return u3.preventDefault(); e2.closeMenu(), _$1(o$5(e2.buttonRef)); } function l2() { - if (o2.disabled) - return e2.goToItem(c$2.Nothing); + if (o2.disabled) return e2.goToItem(c$2.Nothing); e2.goToItem(c$2.Specific, p$12); } let t3 = u$6(); @@ -56211,11 +56014,8 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals h2({ el: f2, $el: f2 }); let t3 = ref(1), o2 = ref(null), y2 = ref(null), v2 = ref(null), m2 = ref(null), b3 = computed(() => i$7(f2)), E2 = computed(() => { var L2, $2; - if (!o$5(o2) || !o$5(m2)) - return false; - for (let x2 of document.querySelectorAll("body > *")) - if (Number(x2 == null ? void 0 : x2.contains(o$5(o2))) ^ Number(x2 == null ? void 0 : x2.contains(o$5(m2)))) - return true; + if (!o$5(o2) || !o$5(m2)) return false; + for (let x2 of document.querySelectorAll("body > *")) if (Number(x2 == null ? void 0 : x2.contains(o$5(o2))) ^ Number(x2 == null ? void 0 : x2.contains(o$5(m2)))) return true; let e2 = E$4(), r2 = e2.indexOf(o$5(o2)), l2 = (r2 + e2.length - 1) % e2.length, g2 = (r2 + 1) % e2.length, G2 = e2[l2], C2 = e2[g2]; return !((L2 = o$5(m2)) != null && L2.contains(G2)) && !(($2 = o$5(m2)) != null && $2.contains(C2)); }), a2 = { popoverState: t3, buttonId: ref(null), panelId: ref(null), panel: m2, button: o2, isPortalled: E2, beforePanelSentinel: y2, afterPanelSentinel: v2, togglePopover() { @@ -56261,28 +56061,24 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals function c2(e2) { var r2, l2, g2, G2, C2; if (b3.value) { - if (t3.popoverState.value === 1) - return; + if (t3.popoverState.value === 1) return; switch (e2.key) { case o$4.Space: case o$4.Enter: e2.preventDefault(), (l2 = (r2 = e2.target).click) == null || l2.call(r2), t3.closePopover(), (g2 = o$5(t3.button)) == null || g2.focus(); break; } - } else - switch (e2.key) { - case o$4.Space: - case o$4.Enter: - e2.preventDefault(), e2.stopPropagation(), t3.popoverState.value === 1 && (v2 == null || v2(t3.buttonId.value)), t3.togglePopover(); - break; - case o$4.Escape: - if (t3.popoverState.value !== 0) - return v2 == null ? void 0 : v2(t3.buttonId.value); - if (!o$5(t3.button) || (G2 = o2.value) != null && G2.activeElement && !((C2 = o$5(t3.button)) != null && C2.contains(o2.value.activeElement))) - return; - e2.preventDefault(), e2.stopPropagation(), t3.closePopover(); - break; - } + } else switch (e2.key) { + case o$4.Space: + case o$4.Enter: + e2.preventDefault(), e2.stopPropagation(), t3.popoverState.value === 1 && (v2 == null || v2(t3.buttonId.value)), t3.togglePopover(); + break; + case o$4.Escape: + if (t3.popoverState.value !== 0) return v2 == null ? void 0 : v2(t3.buttonId.value); + if (!o$5(t3.button) || (G2 = o2.value) != null && G2.activeElement && !((C2 = o$5(t3.button)) != null && C2.contains(o2.value.activeElement))) return; + e2.preventDefault(), e2.stopPropagation(), t3.closePopover(); + break; + } } function I2(e2) { b3.value || e2.key === o$4.Space && e2.preventDefault(); @@ -56297,8 +56093,7 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals let i2 = n$1(); function p2() { let e2 = o$5(t3.panel); - if (!e2) - return; + if (!e2) return; function r2() { u$8(i2.value, { [d$6.Forwards]: () => P$1(e2, N$5.First), [d$6.Backwards]: () => P$1(e2, N$5.Last) }) === T$2.Error && P$1(E$4().filter((g2) => g2.dataset.headlessuiFocusGuard !== "true"), u$8(i2.value, { [d$6.Forwards]: N$5.Next, [d$6.Backwards]: N$5.Previous }), { relativeTo: o$5(t3.button) }); } @@ -56317,8 +56112,7 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals o2.panelId.value = null; }), provide(ue$1, o2.panelId), watchEffect(() => { var p2, u3; - if (!t3 || o2.popoverState.value !== 0 || !o2.panel) - return; + if (!t3 || o2.popoverState.value !== 0 || !o2.panel) return; let i2 = (p2 = y2.value) == null ? void 0 : p2.activeElement; (u3 = o$5(o2.panel)) != null && u3.contains(i2) || P$1(o$5(o2.panel), N$5.First); }); @@ -56327,8 +56121,7 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals var p2, u3; switch (i2.key) { case o$4.Escape: - if (o2.popoverState.value !== 0 || !o$5(o2.panel) || y2.value && !((p2 = o$5(o2.panel)) != null && p2.contains(y2.value.activeElement))) - return; + if (o2.popoverState.value !== 0 || !o$5(o2.panel) || y2.value && !((p2 = o$5(o2.panel)) != null && p2.contains(y2.value.activeElement))) return; i2.preventDefault(), i2.stopPropagation(), o2.closePopover(), (u3 = o$5(o2.button)) == null || u3.focus(); break; } @@ -56341,8 +56134,7 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals let c2 = n$1(); function I2() { let i2 = o$5(o2.panel); - if (!i2) - return; + if (!i2) return; function p2() { u$8(c2.value, { [d$6.Forwards]: () => { var e2; @@ -56356,19 +56148,16 @@ let ye$1 = /* @__PURE__ */ defineComponent({ name: "Popover", inheritAttrs: fals } function F3() { let i2 = o$5(o2.panel); - if (!i2) - return; + if (!i2) return; function p2() { u$8(c2.value, { [d$6.Forwards]: () => { let u3 = o$5(o2.button), e2 = o$5(o2.panel); - if (!u3) - return; + if (!u3) return; let r2 = E$4(), l2 = r2.indexOf(u3), g2 = r2.slice(0, l2 + 1), C2 = [...r2.slice(l2 + 1), ...g2]; - for (let L2 of C2.slice()) - if (L2.dataset.headlessuiFocusGuard === "true" || e2 != null && e2.contains(L2)) { - let $2 = C2.indexOf(L2); - $2 !== -1 && C2.splice($2, 1); - } + for (let L2 of C2.slice()) if (L2.dataset.headlessuiFocusGuard === "true" || e2 != null && e2.contains(L2)) { + let $2 = C2.indexOf(L2); + $2 !== -1 && C2.splice($2, 1); + } P$1(C2, N$5.First, { sorted: false }); }, [d$6.Backwards]: () => { var e2; @@ -56436,8 +56225,7 @@ let he$2 = /* @__PURE__ */ defineComponent({ name: "RadioGroup", emits: { "updat return t3.by(e2, a2); }, change(e2) { var n2; - if (t3.disabled || s3.compare(toRaw(f2.value), toRaw(e2))) - return false; + if (t3.disabled || s3.compare(toRaw(f2.value), toRaw(e2))) return false; let a2 = (n2 = l2.value.find((i2) => s3.compare(toRaw(i2.propsRef.value), toRaw(e2)))) == null ? void 0 : n2.propsRef; return a2 != null && a2.disabled ? false : (G2(e2), true); }, registerOption(e2) { @@ -56452,8 +56240,7 @@ let he$2 = /* @__PURE__ */ defineComponent({ name: "RadioGroup", emits: { "updat e2.setAttribute("role", "none"); } }); function v2(e2) { - if (!p2.value || !p2.value.contains(e2.target)) - return; + if (!p2.value || !p2.value.contains(e2.target)) return; let a2 = l2.value.filter((n2) => n2.propsRef.disabled === false).map((n2) => n2.element); switch (e2.key) { case o$4.Enter: @@ -56497,8 +56284,7 @@ let he$2 = /* @__PURE__ */ defineComponent({ name: "RadioGroup", emits: { "updat }); return onMounted(() => { watch([b3], () => { - if (!b3.value || t3.defaultValue === void 0) - return; + if (!b3.value || t3.defaultValue === void 0) return; function e2() { s3.change(t3.defaultValue); } @@ -56569,8 +56355,7 @@ let C$3 = Symbol("GroupContext"), oe = /* @__PURE__ */ defineComponent({ name: " }); return onMounted(() => { watch([d2], () => { - if (!d2.value || l2.defaultChecked === void 0) - return; + if (!d2.value || l2.defaultChecked === void 0) return; function e2() { s3(l2.defaultChecked); } @@ -56628,8 +56413,7 @@ let G = Symbol("TabsSSRContext"), me$1 = /* @__PURE__ */ defineComponent({ name: m2 !== -1 && (i2.value = m2), u3.tabs.value = n2, u3.panels.value = o2; } else { let I2 = n2.slice(0, t3), h2 = [...n2.slice(t3), ...I2].find((W2) => e2.includes(W2)); - if (!h2) - return; + if (!h2) return; let O3 = (c2 = n2.indexOf(h2)) != null ? c2 : u3.selectedIndex.value; O3 === -1 && (O3 = u3.selectedIndex.value), i2.value = O3, u3.tabs.value = n2, u3.panels.value = o2; } @@ -56641,8 +56425,7 @@ let G = Symbol("TabsSSRContext"), me$1 = /* @__PURE__ */ defineComponent({ name: R3.value !== t3 && d2("change", t3), p2.value || y2(t3); }, registerTab(t3) { var o2; - if (l2.value.includes(t3)) - return; + if (l2.value.includes(t3)) return; let n2 = l2.value[i2.value]; if (l2.value.push(t3), l2.value = O$2(l2.value, o$5), !p2.value) { let e2 = (o2 = l2.value.indexOf(n2)) != null ? o2 : i2.value; @@ -56669,8 +56452,7 @@ let G = Symbol("TabsSSRContext"), me$1 = /* @__PURE__ */ defineComponent({ name: return y2((t3 = a2.selectedIndex) != null ? t3 : a2.defaultIndex); }, { immediate: true }); }), watchEffect(() => { - if (!p2.value || R3.value == null || u3.tabs.value.length <= 0) - return; + if (!p2.value || R3.value == null || u3.tabs.value.length <= 0) return; let t3 = O$2(u3.tabs.value, o$5); t3.some((o2, e2) => o$5(u3.tabs.value[e2]) !== o$5(o2)) && u3.setSelectedIndex(t3.findIndex((o2) => o$5(o2) === o$5(u3.tabs.value[R3.value]))); }), () => { @@ -56678,8 +56460,7 @@ let G = Symbol("TabsSSRContext"), me$1 = /* @__PURE__ */ defineComponent({ name: return h$3(Fragment$1, [l2.value.length <= 0 && h$3(d$2, { onFocus: () => { for (let n2 of l2.value) { let o2 = o$5(n2); - if ((o2 == null ? void 0 : o2.tabIndex) === 0) - return o2.focus(), true; + if ((o2 == null ? void 0 : o2.tabIndex) === 0) return o2.focus(), true; } return false; } }), A$5({ theirProps: { ...s3, ...T$1(a2, ["selectedIndex", "defaultIndex", "manual", "vertical", "onChange"]) }, ourProps: {}, slot: t3, slots: b3, attrs: s3, name: "TabGroup" })]); @@ -56731,8 +56512,7 @@ let G = Symbol("TabsSSRContext"), me$1 = /* @__PURE__ */ defineComponent({ name: return e2.key === o$4.ArrowUp ? P$1(c2, N$5.Previous | N$5.WrapAround) : e2.key === o$4.ArrowDown ? P$1(c2, N$5.Next | N$5.WrapAround) : T$2.Error; }, horizontal() { return e2.key === o$4.ArrowLeft ? P$1(c2, N$5.Previous | N$5.WrapAround) : e2.key === o$4.ArrowRight ? P$1(c2, N$5.Next | N$5.WrapAround) : T$2.Error; - } })) === T$2.Success) - return e2.preventDefault(); + } })) === T$2.Success) return e2.preventDefault(); } let w2 = ref(false); function E2() { @@ -56779,8 +56559,7 @@ let G = Symbol("TabsSSRContext"), me$1 = /* @__PURE__ */ defineComponent({ name: function l(r2) { let e2 = { called: false }; return (...t3) => { - if (!e2.called) - return e2.called = true, r2(...t3); + if (!e2.called) return e2.called = true, r2(...t3); }; } function m$2(e2, ...t3) { @@ -56792,8 +56571,7 @@ function d$1(e2, ...t3) { var g$1 = ((i2) => (i2.Finished = "finished", i2.Cancelled = "cancelled", i2))(g$1 || {}); function F(e2, t3) { let i2 = o$7(); - if (!e2) - return i2.dispose; + if (!e2) return i2.dispose; let { transitionDuration: n2, transitionDelay: a2 } = getComputedStyle(e2), [l2, s3] = [n2, a2].map((o2) => { let [u3 = 0] = o2.split(",").filter(Boolean).map((r2) => r2.includes("ms") ? parseFloat(r2) : parseFloat(r2) * 1e3).sort((r2, c2) => c2 - r2); return u3; @@ -56817,14 +56595,12 @@ function me() { } function Te() { let e2 = inject(R$3, null); - if (e2 === null) - throw new Error("A is used but it is missing a parent ."); + if (e2 === null) throw new Error("A is used but it is missing a parent ."); return e2; } function ge() { let e2 = inject(N, null); - if (e2 === null) - throw new Error("A is used but it is missing a parent ."); + if (e2 === null) throw new Error("A is used but it is missing a parent ."); return e2; } let N = Symbol("NestingContext"); @@ -56862,8 +56638,7 @@ let W$1 = N$4.RenderStrategy, he$1 = /* @__PURE__ */ defineComponent({ props: { function S2() { n2.value &= ~i$4.Closing, t3("afterLeave"); } - if (!me() && s$2()) - return () => h$3(Se, { ...e2, onBeforeEnter: r2, onAfterEnter: l2, onBeforeLeave: f2, onAfterLeave: S2 }, s3); + if (!me() && s$2()) return () => h$3(Se, { ...e2, onBeforeEnter: r2, onAfterEnter: l2, onBeforeLeave: f2, onAfterLeave: S2 }, s3); let d2 = ref(null), y2 = computed(() => e2.unmount ? S$2.Unmount : S$2.Hidden); h2({ el: d2, $el: d2 }); let { show: v2, appear: A2 } = Te(), { register: D2, unregister: H3 } = ge(), i2 = ref(v2.value ? "visible" : "hidden"), I2 = { value: true }, c2 = i$9(), b3 = { value: false }, P2 = Q$3(() => { @@ -56886,8 +56661,7 @@ let W$1 = N$4.RenderStrategy, he$1 = /* @__PURE__ */ defineComponent({ props: { watchEffect(() => { if (i2.value === "visible") { let o2 = o$5(d2); - if (o2 instanceof Comment && o2.data === "") - throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?"); + if (o2 instanceof Comment && o2.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?"); } }); }); @@ -56910,8 +56684,7 @@ let W$1 = N$4.RenderStrategy, he$1 = /* @__PURE__ */ defineComponent({ props: { } }), ce = he$1, Se = /* @__PURE__ */ defineComponent({ inheritAttrs: false, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: true }, appear: { type: [Boolean], default: false }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => true, afterEnter: () => true, beforeLeave: () => true, afterLeave: () => true }, setup(e2, { emit: t3, attrs: a2, slots: s3 }) { let h2 = l$2(), n2 = computed(() => e2.show === null && h2 !== null ? (h2.value & i$4.Open) === i$4.Open : e2.show); watchEffect(() => { - if (![true, false].includes(n2.value)) - throw new Error('A is used but it is missing a `:show="true | false"` prop.'); + if (![true, false].includes(n2.value)) throw new Error('A is used but it is missing a `:show="true | false"` prop.'); }); let r2 = ref(n2.value ? "visible" : "hidden"), l2 = Q$3(() => { r2.value = "hidden"; @@ -57796,8 +57569,7 @@ function flip$2(_ref) { }; for (var _i2 = numberOfChecks; _i2 > 0; _i2--) { var _ret = _loop(_i2); - if (_ret === "break") - break; + if (_ret === "break") break; } } if (state.placement !== firstFittingPlacement) { @@ -58399,8 +58171,7 @@ var feather$1 = { exports: {} }; } } function _parse(resultSet, arg) { - if (!arg) - return; + if (!arg) return; var argType = typeof arg; if (argType === "string") { _parseString(resultSet, arg); @@ -58544,8 +58315,7 @@ var feather$1 = { exports: {} }; var index = 0; var iteratorMethod = getIteratorMethod(O3); var length, result, step, iterator2; - if (mapping) - mapfn = bind2(mapfn, argumentsLength > 2 ? arguments[2] : void 0, 2); + if (mapping) mapfn = bind2(mapfn, argumentsLength > 2 ? arguments[2] : void 0, 2); if (iteratorMethod != void 0 && !(C2 == Array && isArrayIteratorMethod(iteratorMethod))) { iterator2 = iteratorMethod.call(O3); result = new C2(); @@ -58594,18 +58364,13 @@ var feather$1 = { exports: {} }; var length = toLength(O3.length); var index = toAbsoluteIndex(fromIndex, length); var value2; - if (IS_INCLUDES && el2 != el2) - while (length > index) { - value2 = O3[index++]; - if (value2 != value2) - return true; - } - else - for (; length > index; index++) - if (IS_INCLUDES || index in O3) { - if (O3[index] === el2) - return IS_INCLUDES || index || 0; - } + if (IS_INCLUDES && el2 != el2) while (length > index) { + value2 = O3[index++]; + if (value2 != value2) return true; + } + else for (; length > index; index++) if (IS_INCLUDES || index in O3) { + if (O3[index] === el2) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; }; }; @@ -58625,8 +58390,7 @@ var feather$1 = { exports: {} }; ); module3.exports = function(fn3, that, length) { aFunction(fn3); - if (that === void 0) - return fn3; + if (that === void 0) return fn3; switch (length) { case 0: return function() { @@ -58668,8 +58432,7 @@ var feather$1 = { exports: {} }; return ENTRIES ? fn3(anObject(value2)[0], value2[1]) : fn3(value2); } catch (error) { var returnMethod = iterator2["return"]; - if (returnMethod !== void 0) - anObject(returnMethod.call(iterator2)); + if (returnMethod !== void 0) anObject(returnMethod.call(iterator2)); throw error; } }; @@ -58708,8 +58471,7 @@ var feather$1 = { exports: {} }; } catch (error) { } module3.exports = function(exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) - return false; + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; var ITERATION_SUPPORT = false; try { var object = {}; @@ -58758,7 +58520,7 @@ var feather$1 = { exports: {} }; "./node_modules/core-js/internals/well-known-symbol.js" ); var TO_STRING_TAG = wellKnownSymbol("toStringTag"); - var CORRECT_ARGUMENTS = classofRaw(function() { + var CORRECT_ARGUMENTS = classofRaw(/* @__PURE__ */ function() { return arguments; }()) == "Arguments"; var tryGet = function(it3, key) { @@ -58803,8 +58565,7 @@ var feather$1 = { exports: {} }; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i2 = 0; i2 < keys2.length; i2++) { var key = keys2[i2]; - if (!has2(target, key)) - defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + if (!has2(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } }; } @@ -58909,10 +58670,8 @@ var feather$1 = { exports: {} }; ); module3.exports = function(object, key, value2) { var propertyKey = toPrimitive(key); - if (propertyKey in object) - definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value2)); - else - object[propertyKey] = value2; + if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value2)); + else object[propertyKey] = value2; }; } ), @@ -58980,10 +58739,8 @@ var feather$1 = { exports: {} }; module3.exports = function(Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { createIteratorConstructor(IteratorConstructor, NAME, next); var getIterationMethod = function(KIND) { - if (KIND === DEFAULT && defaultIterator) - return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) - return IterablePrototype[KIND]; + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; switch (KIND) { case KEYS: return function keys2() { @@ -59020,8 +58777,7 @@ var feather$1 = { exports: {} }; } } setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); - if (IS_PURE) - Iterators[TO_STRING_TAG] = returnThis; + if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; } } if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { @@ -59040,14 +58796,12 @@ var feather$1 = { exports: {} }; keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), entries: getIterationMethod(ENTRIES) }; - if (FORCED) - for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + redefine(IterablePrototype, KEY, methods[KEY]); } - else - $2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + else $2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } return methods; }; @@ -59162,25 +58916,22 @@ var feather$1 = { exports: {} }; } else { target = (global2[TARGET] || {}).prototype; } - if (target) - for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else - targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); - if (!FORCED && targetProperty !== void 0) { - if (typeof sourceProperty === typeof targetProperty) - continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - if (options.sham || targetProperty && targetProperty.sham) { - hide2(sourceProperty, "sham", true); - } - redefine(target, key, sourceProperty, options); + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.noTargetGet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); + if (!FORCED && targetProperty !== void 0) { + if (typeof sourceProperty === typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + if (options.sham || targetProperty && targetProperty.sham) { + hide2(sourceProperty, "sham", true); } + redefine(target, key, sourceProperty, options); + } }; } ), @@ -59238,8 +58989,7 @@ var feather$1 = { exports: {} }; ); var ITERATOR = wellKnownSymbol("iterator"); module3.exports = function(it3) { - if (it3 != void 0) - return it3[ITERATOR] || it3["@@iterator"] || Iterators[classof(it3)]; + if (it3 != void 0) return it3[ITERATOR] || it3["@@iterator"] || Iterators[classof(it3)]; }; } ), @@ -59584,18 +59334,14 @@ var feather$1 = { exports: {} }; var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; if ([].keys) { arrayIterator = [].keys(); - if (!("next" in arrayIterator)) - BUGGY_SAFARI_ITERATORS = true; + if (!("next" in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; else { PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) - IteratorPrototype = PrototypeOfArrayIteratorPrototype; + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; } } - if (IteratorPrototype == void 0) - IteratorPrototype = {}; - if (!IS_PURE && !has2(IteratorPrototype, ITERATOR)) - hide2(IteratorPrototype, ITERATOR, returnThis); + if (IteratorPrototype == void 0) IteratorPrototype = {}; + if (!IS_PURE && !has2(IteratorPrototype, ITERATOR)) hide2(IteratorPrototype, ITERATOR, returnThis); module3.exports = { IteratorPrototype, BUGGY_SAFARI_ITERATORS @@ -59706,8 +59452,7 @@ var feather$1 = { exports: {} }; iframeDocument.write(lt2 + script2 + gt + "document.F=Object" + lt2 + "/" + script2 + gt); iframeDocument.close(); createDict = iframeDocument.F; - while (length--) - delete createDict[PROTOTYPE][enumBugKeys[length]]; + while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]]; return createDict(); }; module3.exports = Object.create || function create(O3, Properties) { @@ -59717,8 +59462,7 @@ var feather$1 = { exports: {} }; result = new Empty(); Empty[PROTOTYPE] = null; result[IE_PROTO] = O3; - } else - result = createDict(); + } else result = createDict(); return Properties === void 0 ? result : defineProperties(result, Properties); }; hiddenKeys[IE_PROTO] = true; @@ -59754,8 +59498,7 @@ var feather$1 = { exports: {} }; var length = keys2.length; var i2 = 0; var key; - while (length > i2) - definePropertyModule.f(O3, key = keys2[i2++], Properties[key]); + while (length > i2) definePropertyModule.f(O3, key = keys2[i2++], Properties[key]); return O3; }; } @@ -59789,15 +59532,12 @@ var feather$1 = { exports: {} }; anObject(O3); P2 = toPrimitive(P2, true); anObject(Attributes); - if (IE8_DOM_DEFINE) - try { - return nativeDefineProperty(O3, P2, Attributes); - } catch (error) { - } - if ("get" in Attributes || "set" in Attributes) - throw TypeError("Accessors not supported"); - if ("value" in Attributes) - O3[P2] = Attributes.value; + if (IE8_DOM_DEFINE) try { + return nativeDefineProperty(O3, P2, Attributes); + } catch (error) { + } + if ("get" in Attributes || "set" in Attributes) throw TypeError("Accessors not supported"); + if ("value" in Attributes) O3[P2] = Attributes.value; return O3; }; } @@ -59842,13 +59582,11 @@ var feather$1 = { exports: {} }; exports2.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O3, P2) { O3 = toIndexedObject(O3); P2 = toPrimitive(P2, true); - if (IE8_DOM_DEFINE) - try { - return nativeGetOwnPropertyDescriptor(O3, P2); - } catch (error) { - } - if (has2(O3, P2)) - return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O3, P2), O3[P2]); + if (IE8_DOM_DEFINE) try { + return nativeGetOwnPropertyDescriptor(O3, P2); + } catch (error) { + } + if (has2(O3, P2)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O3, P2), O3[P2]); }; } ), @@ -59913,8 +59651,7 @@ var feather$1 = { exports: {} }; var ObjectPrototype = Object.prototype; module3.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function(O3) { O3 = toObject(O3); - if (has2(O3, IE_PROTO)) - return O3[IE_PROTO]; + if (has2(O3, IE_PROTO)) return O3[IE_PROTO]; if (typeof O3.constructor == "function" && O3 instanceof O3.constructor) { return O3.constructor.prototype; } @@ -59952,12 +59689,10 @@ var feather$1 = { exports: {} }; var i2 = 0; var result = []; var key; - for (key in O3) - !has2(hiddenKeys, key) && has2(O3, key) && result.push(key); - while (names.length > i2) - if (has2(O3, key = names[i2++])) { - ~arrayIndexOf(result, key) || result.push(key); - } + for (key in O3) !has2(hiddenKeys, key) && has2(O3, key) && result.push(key); + while (names.length > i2) if (has2(O3, key = names[i2++])) { + ~arrayIndexOf(result, key) || result.push(key); + } return result; }; } @@ -60024,10 +59759,8 @@ var feather$1 = { exports: {} }; } return function setPrototypeOf(O3, proto2) { validateSetPrototypeOfArguments(O3, proto2); - if (correctSetter) - setter.call(O3, proto2); - else - O3.__proto__ = proto2; + if (correctSetter) setter.call(O3, proto2); + else O3.__proto__ = proto2; return O3; }; }() : void 0); @@ -60126,25 +59859,20 @@ var feather$1 = { exports: {} }; var simple = options ? !!options.enumerable : false; var noTargetGet = options ? !!options.noTargetGet : false; if (typeof value2 == "function") { - if (typeof key == "string" && !has2(value2, "name")) - hide2(value2, "name", key); + if (typeof key == "string" && !has2(value2, "name")) hide2(value2, "name", key); enforceInternalState(value2).source = TEMPLATE.join(typeof key == "string" ? key : ""); } if (O3 === global2) { - if (simple) - O3[key] = value2; - else - setGlobal(key, value2); + if (simple) O3[key] = value2; + else setGlobal(key, value2); return; } else if (!unsafe) { delete O3[key]; } else if (!noTargetGet && O3[key]) { simple = true; } - if (simple) - O3[key] = value2; - else - hide2(O3, key, value2); + if (simple) O3[key] = value2; + else hide2(O3, key, value2); })(Function.prototype, "toString", function toString2() { return typeof this == "function" && getInternalState(this).source || nativeFunctionToString.call(this); }); @@ -60159,8 +59887,7 @@ var feather$1 = { exports: {} }; /***/ function(module3, exports2) { module3.exports = function(it3) { - if (it3 == void 0) - throw TypeError("Can't call method on " + it3); + if (it3 == void 0) throw TypeError("Can't call method on " + it3); return it3; }; } @@ -60293,8 +60020,7 @@ var feather$1 = { exports: {} }; var position = toInteger(pos); var size2 = S2.length; var first2, second; - if (position < 0 || position >= size2) - return CONVERT_TO_STRING ? "" : void 0; + if (position < 0 || position >= size2) return CONVERT_TO_STRING ? "" : void 0; first2 = S2.charCodeAt(position); return first2 < 55296 || first2 > 56319 || position + 1 === size2 || (second = S2.charCodeAt(position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? S2.charAt(position) : first2 : CONVERT_TO_STRING ? S2.slice(position, position + 2) : (first2 - 55296 << 10) + (second - 56320) + 65536; }; @@ -60404,15 +60130,11 @@ var feather$1 = { exports: {} }; "./node_modules/core-js/internals/is-object.js" ); module3.exports = function(it3, S2) { - if (!isObject2(it3)) - return it3; + if (!isObject2(it3)) return it3; var fn3, val; - if (S2 && typeof (fn3 = it3.toString) == "function" && !isObject2(val = fn3.call(it3))) - return val; - if (typeof (fn3 = it3.valueOf) == "function" && !isObject2(val = fn3.call(it3))) - return val; - if (!S2 && typeof (fn3 = it3.toString) == "function" && !isObject2(val = fn3.call(it3))) - return val; + if (S2 && typeof (fn3 = it3.toString) == "function" && !isObject2(val = fn3.call(it3))) return val; + if (typeof (fn3 = it3.valueOf) == "function" && !isObject2(val = fn3.call(it3))) return val; + if (!S2 && typeof (fn3 = it3.toString) == "function" && !isObject2(val = fn3.call(it3))) return val; throw TypeError("Can't convert object to primitive value"); }; } @@ -60549,8 +60271,7 @@ var feather$1 = { exports: {} }; var string = state.string; var index = state.index; var point; - if (index >= string.length) - return { value: void 0, done: true }; + if (index >= string.length) return { value: void 0, done: true }; point = codePointAt(string, index, true); state.index += point.length; return { value: point, done: false }; @@ -60566,14 +60287,13 @@ var feather$1 = { exports: {} }; /***/ function(module3, exports2) { var g2; - g2 = function() { + g2 = /* @__PURE__ */ function() { return this; }(); try { g2 = g2 || Function("return this")() || (1, eval)("this"); } catch (e2) { - if (typeof window === "object") - g2 = window; + if (typeof window === "object") g2 = window; } module3.exports = g2; } @@ -60611,22 +60331,19 @@ var feather$1 = { exports: {} }; } return target; }; - var _createClass = function() { + var _createClass = /* @__PURE__ */ function() { function defineProperties(target, props) { for (var i2 = 0; i2 < props.length; i2++) { var descriptor = props[i2]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; - if ("value" in descriptor) - descriptor.writable = true; + if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function(Constructor, protoProps, staticProps) { - if (protoProps) - defineProperties(Constructor.prototype, protoProps); - if (staticProps) - defineProperties(Constructor, staticProps); + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); @@ -60931,7 +60648,10 @@ async function logEvent(name, argument) { event }); } else { - const { useEventsStore } = await __vitePreload(() => import("./events-970646f9.js"), true ? ["assets/events-970646f9.js","assets/story-72ebbc17.js","assets/GenericMountStory.vue2-380be139.js"] : void 0); + const { useEventsStore } = await __vitePreload(async () => { + const { useEventsStore: useEventsStore2 } = await import("./events-D-ZUGuyO.js"); + return { useEventsStore: useEventsStore2 }; + }, true ? __vite__mapDeps([0,1,2]) : void 0); useEventsStore().addEvent(event); } } @@ -60955,6 +60675,28 @@ function tryOnScopeDispose(fn3) { } return false; } +function createEventHook() { + const fns = /* @__PURE__ */ new Set(); + const off = (fn3) => { + fns.delete(fn3); + }; + const on2 = (fn3) => { + fns.add(fn3); + const offFn = () => off(fn3); + tryOnScopeDispose(offFn); + return { + off: offFn + }; + }; + const trigger2 = (...args) => { + return Promise.all(Array.from(fns).map((fn3) => fn3(...args))); + }; + return { + on: on2, + off, + trigger: trigger2 + }; +} function toValue$1(r2) { return typeof r2 === "function" ? r2() : unref(r2); } @@ -60981,7 +60723,7 @@ function debounceFilter(ms2, options = {}) { lastRejector(); lastRejector = noop$1; }; - const filter = (invoke) => { + const filter = (invoke2) => { const duration2 = toValue$1(ms2); const maxDuration = toValue$1(options.maxWait); if (timer) @@ -60991,7 +60733,7 @@ function debounceFilter(ms2, options = {}) { _clearTimeout(maxTimer); maxTimer = null; } - return Promise.resolve(invoke()); + return Promise.resolve(invoke2()); } return new Promise((resolve2, reject) => { lastRejector = options.rejectOnCancel ? reject : resolve2; @@ -61000,21 +60742,38 @@ function debounceFilter(ms2, options = {}) { if (timer) _clearTimeout(timer); maxTimer = null; - resolve2(invoke()); + resolve2(invoke2()); }, maxDuration); } timer = setTimeout(() => { if (maxTimer) _clearTimeout(maxTimer); maxTimer = null; - resolve2(invoke()); + resolve2(invoke2()); }, duration2); }); }; return filter; } +function promiseTimeout(ms2, throwOnTimeout = false, reason = "Timeout") { + return new Promise((resolve2, reject) => { + if (throwOnTimeout) + setTimeout(() => reject(reason), ms2); + else + setTimeout(resolve2, ms2); + }); +} +function containsProp(obj, ...props) { + return props.some((k2) => k2 in obj); +} function getLifeCycleTarget(target) { - return target || getCurrentInstance(); + return getCurrentInstance(); +} +function toRef(...args) { + if (args.length !== 1) + return toRef$1(...args); + const r2 = args[0]; + return typeof r2 === "function" ? readonly(customRef(() => ({ get: r2, set: noop$1 }))) : ref(r2); } function useDebounceFn(fn3, ms2 = 200, options = {}) { return createFilterWrapper( @@ -61031,6 +60790,161 @@ function tryOnMounted(fn3, sync = true, target) { else nextTick$1(fn3); } +function createUntil(r2, isNot = false) { + function toMatch(condition, { flush = "sync", deep = false, timeout, throwOnTimeout } = {}) { + let stop = null; + const watcher = new Promise((resolve2) => { + stop = watch( + r2, + (v2) => { + if (condition(v2) !== isNot) { + stop == null ? void 0 : stop(); + resolve2(v2); + } + }, + { + flush, + deep, + immediate: true + } + ); + }); + const promises = [watcher]; + if (timeout != null) { + promises.push( + promiseTimeout(timeout, throwOnTimeout).then(() => toValue$1(r2)).finally(() => stop == null ? void 0 : stop()) + ); + } + return Promise.race(promises); + } + function toBe(value2, options) { + if (!isRef(value2)) + return toMatch((v2) => v2 === value2, options); + const { flush = "sync", deep = false, timeout, throwOnTimeout } = options != null ? options : {}; + let stop = null; + const watcher = new Promise((resolve2) => { + stop = watch( + [r2, value2], + ([v1, v2]) => { + if (isNot !== (v1 === v2)) { + stop == null ? void 0 : stop(); + resolve2(v1); + } + }, + { + flush, + deep, + immediate: true + } + ); + }); + const promises = [watcher]; + if (timeout != null) { + promises.push( + promiseTimeout(timeout, throwOnTimeout).then(() => toValue$1(r2)).finally(() => { + stop == null ? void 0 : stop(); + return toValue$1(r2); + }) + ); + } + return Promise.race(promises); + } + function toBeTruthy(options) { + return toMatch((v2) => Boolean(v2), options); + } + function toBeNull(options) { + return toBe(null, options); + } + function toBeUndefined(options) { + return toBe(void 0, options); + } + function toBeNaN(options) { + return toMatch(Number.isNaN, options); + } + function toContains(value2, options) { + return toMatch((v2) => { + const array = Array.from(v2); + return array.includes(value2) || array.includes(toValue$1(value2)); + }, options); + } + function changed(options) { + return changedTimes(1, options); + } + function changedTimes(n2 = 1, options) { + let count2 = -1; + return toMatch(() => { + count2 += 1; + return count2 >= n2; + }, options); + } + if (Array.isArray(toValue$1(r2))) { + const instance = { + toMatch, + toContains, + changed, + changedTimes, + get not() { + return createUntil(r2, !isNot); + } + }; + return instance; + } else { + const instance = { + toMatch, + toBe, + toBeTruthy, + toBeNull, + toBeNaN, + toBeUndefined, + changed, + changedTimes, + get not() { + return createUntil(r2, !isNot); + } + }; + return instance; + } +} +function until(r2) { + return createUntil(r2); +} +function useTimeoutFn(cb, interval, options = {}) { + const { + immediate = true + } = options; + const isPending = ref(false); + let timer = null; + function clear2() { + if (timer) { + clearTimeout(timer); + timer = null; + } + } + function stop() { + isPending.value = false; + clear2(); + } + function start2(...args) { + clear2(); + isPending.value = true; + timer = setTimeout(() => { + isPending.value = false; + timer = null; + cb(...args); + }, toValue$1(interval)); + } + if (immediate) { + isPending.value = true; + if (isClient) + start2(); + } + tryOnScopeDispose(stop); + return { + isPending: readonly(isPending), + start: start2, + stop + }; +} function unrefElement(elRef) { var _a2; const plain = toValue$1(elRef); @@ -61039,19 +60953,19 @@ function unrefElement(elRef) { const defaultWindow = isClient ? window : void 0; function useEventListener(...args) { let target; - let events; + let events2; let listeners; let options; if (typeof args[0] === "string" || Array.isArray(args[0])) { - [events, listeners, options] = args; + [events2, listeners, options] = args; target = defaultWindow; } else { - [target, events, listeners, options] = args; + [target, events2, listeners, options] = args; } if (!target) return noop$1; - if (!Array.isArray(events)) - events = [events]; + if (!Array.isArray(events2)) + events2 = [events2]; if (!Array.isArray(listeners)) listeners = [listeners]; const cleanups = []; @@ -61071,7 +60985,7 @@ function useEventListener(...args) { return; const optionsClone = isObject$1(options2) ? { ...options2 } : options2; cleanups.push( - ...events.flatMap((event) => { + ...events2.flatMap((event) => { return listeners.map((listener) => register(el2, event, listener, optionsClone)); }) ); @@ -61136,6 +61050,336 @@ function useMediaQuery(query, options = {}) { }); return matches2; } +const payloadMapping = { + json: "application/json", + text: "text/plain" +}; +function isFetchOptions(obj) { + return obj && containsProp(obj, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError"); +} +const reAbsolute = /^(?:[a-z][a-z\d+\-.]*:)?\/\//i; +function isAbsoluteURL(url2) { + return reAbsolute.test(url2); +} +function headersToObject(headers) { + if (typeof Headers !== "undefined" && headers instanceof Headers) + return Object.fromEntries(headers.entries()); + return headers; +} +function combineCallbacks(combination, ...callbacks2) { + if (combination === "overwrite") { + return async (ctx) => { + const callback = callbacks2[callbacks2.length - 1]; + if (callback) + return { ...ctx, ...await callback(ctx) }; + return ctx; + }; + } else { + return async (ctx) => { + for (const callback of callbacks2) { + if (callback) + ctx = { ...ctx, ...await callback(ctx) }; + } + return ctx; + }; + } +} +function createFetch(config2 = {}) { + const _combination = config2.combination || "chain"; + const _options = config2.options || {}; + const _fetchOptions = config2.fetchOptions || {}; + function useFactoryFetch(url2, ...args) { + const computedUrl = computed(() => { + const baseUrl = toValue$1(config2.baseUrl); + const targetUrl = toValue$1(url2); + return baseUrl && !isAbsoluteURL(targetUrl) ? joinPaths(baseUrl, targetUrl) : targetUrl; + }); + let options = _options; + let fetchOptions = _fetchOptions; + if (args.length > 0) { + if (isFetchOptions(args[0])) { + options = { + ...options, + ...args[0], + beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[0].beforeFetch), + afterFetch: combineCallbacks(_combination, _options.afterFetch, args[0].afterFetch), + onFetchError: combineCallbacks(_combination, _options.onFetchError, args[0].onFetchError) + }; + } else { + fetchOptions = { + ...fetchOptions, + ...args[0], + headers: { + ...headersToObject(fetchOptions.headers) || {}, + ...headersToObject(args[0].headers) || {} + } + }; + } + } + if (args.length > 1 && isFetchOptions(args[1])) { + options = { + ...options, + ...args[1], + beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[1].beforeFetch), + afterFetch: combineCallbacks(_combination, _options.afterFetch, args[1].afterFetch), + onFetchError: combineCallbacks(_combination, _options.onFetchError, args[1].onFetchError) + }; + } + return useFetch(computedUrl, fetchOptions, options); + } + return useFactoryFetch; +} +function useFetch(url2, ...args) { + var _a2; + const supportsAbort = typeof AbortController === "function"; + let fetchOptions = {}; + let options = { + immediate: true, + refetch: false, + timeout: 0, + updateDataOnError: false + }; + const config2 = { + method: "GET", + type: "text", + payload: void 0 + }; + if (args.length > 0) { + if (isFetchOptions(args[0])) + options = { ...options, ...args[0] }; + else + fetchOptions = args[0]; + } + if (args.length > 1) { + if (isFetchOptions(args[1])) + options = { ...options, ...args[1] }; + } + const { + fetch: fetch2 = (_a2 = defaultWindow) == null ? void 0 : _a2.fetch, + initialData, + timeout + } = options; + const responseEvent = createEventHook(); + const errorEvent = createEventHook(); + const finallyEvent = createEventHook(); + const isFinished = ref(false); + const isFetching = ref(false); + const aborted = ref(false); + const statusCode = ref(null); + const response = shallowRef(null); + const error = shallowRef(null); + const data = shallowRef(initialData || null); + const canAbort = computed(() => supportsAbort && isFetching.value); + let controller; + let timer; + const abort = () => { + if (supportsAbort) { + controller == null ? void 0 : controller.abort(); + controller = new AbortController(); + controller.signal.onabort = () => aborted.value = true; + fetchOptions = { + ...fetchOptions, + signal: controller.signal + }; + } + }; + const loading = (isLoading) => { + isFetching.value = isLoading; + isFinished.value = !isLoading; + }; + if (timeout) + timer = useTimeoutFn(abort, timeout, { immediate: false }); + let executeCounter = 0; + const execute = async (throwOnFailed = false) => { + var _a22, _b; + abort(); + loading(true); + error.value = null; + statusCode.value = null; + aborted.value = false; + executeCounter += 1; + const currentExecuteCounter = executeCounter; + const defaultFetchOptions = { + method: config2.method, + headers: {} + }; + if (config2.payload) { + const headers = headersToObject(defaultFetchOptions.headers); + const payload = toValue$1(config2.payload); + if (!config2.payloadType && payload && Object.getPrototypeOf(payload) === Object.prototype && !(payload instanceof FormData)) + config2.payloadType = "json"; + if (config2.payloadType) + headers["Content-Type"] = (_a22 = payloadMapping[config2.payloadType]) != null ? _a22 : config2.payloadType; + defaultFetchOptions.body = config2.payloadType === "json" ? JSON.stringify(payload) : payload; + } + let isCanceled = false; + const context = { + url: toValue$1(url2), + options: { + ...defaultFetchOptions, + ...fetchOptions + }, + cancel: () => { + isCanceled = true; + } + }; + if (options.beforeFetch) + Object.assign(context, await options.beforeFetch(context)); + if (isCanceled || !fetch2) { + loading(false); + return Promise.resolve(null); + } + let responseData = null; + if (timer) + timer.start(); + return fetch2( + context.url, + { + ...defaultFetchOptions, + ...context.options, + headers: { + ...headersToObject(defaultFetchOptions.headers), + ...headersToObject((_b = context.options) == null ? void 0 : _b.headers) + } + } + ).then(async (fetchResponse) => { + response.value = fetchResponse; + statusCode.value = fetchResponse.status; + responseData = await fetchResponse.clone()[config2.type](); + if (!fetchResponse.ok) { + data.value = initialData || null; + throw new Error(fetchResponse.statusText); + } + if (options.afterFetch) { + ({ data: responseData } = await options.afterFetch({ + data: responseData, + response: fetchResponse + })); + } + data.value = responseData; + responseEvent.trigger(fetchResponse); + return fetchResponse; + }).catch(async (fetchError) => { + let errorData = fetchError.message || fetchError.name; + if (options.onFetchError) { + ({ error: errorData, data: responseData } = await options.onFetchError({ + data: responseData, + error: fetchError, + response: response.value + })); + } + error.value = errorData; + if (options.updateDataOnError) + data.value = responseData; + errorEvent.trigger(fetchError); + if (throwOnFailed) + throw fetchError; + return null; + }).finally(() => { + if (currentExecuteCounter === executeCounter) + loading(false); + if (timer) + timer.stop(); + finallyEvent.trigger(null); + }); + }; + const refetch = toRef(options.refetch); + watch( + [ + refetch, + toRef(url2) + ], + ([refetch2]) => refetch2 && execute(), + { deep: true } + ); + const shell = { + isFinished: readonly(isFinished), + isFetching: readonly(isFetching), + statusCode, + response, + error, + data, + canAbort, + aborted, + abort, + execute, + onFetchResponse: responseEvent.on, + onFetchError: errorEvent.on, + onFetchFinally: finallyEvent.on, + // method + get: setMethod("GET"), + put: setMethod("PUT"), + post: setMethod("POST"), + delete: setMethod("DELETE"), + patch: setMethod("PATCH"), + head: setMethod("HEAD"), + options: setMethod("OPTIONS"), + // type + json: setType("json"), + text: setType("text"), + blob: setType("blob"), + arrayBuffer: setType("arrayBuffer"), + formData: setType("formData") + }; + function setMethod(method) { + return (payload, payloadType) => { + if (!isFetching.value) { + config2.method = method; + config2.payload = payload; + config2.payloadType = payloadType; + if (isRef(config2.payload)) { + watch( + [ + refetch, + toRef(config2.payload) + ], + ([refetch2]) => refetch2 && execute(), + { deep: true } + ); + } + return { + ...shell, + then(onFulfilled, onRejected) { + return waitUntilFinished().then(onFulfilled, onRejected); + } + }; + } + return void 0; + }; + } + function waitUntilFinished() { + return new Promise((resolve2, reject) => { + until(isFinished).toBe(true).then(() => resolve2(shell)).catch((error2) => reject(error2)); + }); + } + function setType(type) { + return () => { + if (!isFetching.value) { + config2.type = type; + return { + ...shell, + then(onFulfilled, onRejected) { + return waitUntilFinished().then(onFulfilled, onRejected); + } + }; + } + return void 0; + }; + } + if (options.immediate) + Promise.resolve().then(() => execute()); + return { + ...shell, + then(onFulfilled, onRejected) { + return waitUntilFinished().then(onFulfilled, onRejected); + } + }; +} +function joinPaths(start2, end2) { + if (!start2.endsWith("/") && !end2.startsWith("/")) + return `${start2}/${end2}`; + return `${start2}${end2}`; +} function useWindowSize(options = {}) { const { window: window2 = defaultWindow, @@ -61237,8 +61481,7 @@ function getSideList(side, isStart, rtl) { switch (side) { case "top": case "bottom": - if (rtl) - return isStart ? rl2 : lr2; + if (rtl) return isStart ? rl2 : lr2; return isStart ? lr2 : rl2; case "left": case "right": @@ -62078,8 +62321,7 @@ function getContainingBlock(element) { return null; } function isWebKit() { - if (typeof CSS === "undefined" || !CSS.supports) - return false; + if (typeof CSS === "undefined" || !CSS.supports) return false; return CSS.supports("-webkit-backdrop-filter", "none"); } function isLastTraversableNode(node) { @@ -62915,8 +63157,7 @@ const en = { }; var padStart = function padStart2(string, length, pad) { var s3 = String(string); - if (!s3 || s3.length >= length) - return string; + if (!s3 || s3.length >= length) return string; return "" + Array(length + 1 - s3.length).join(pad) + string; }; var padZoneStr = function padZoneStr2(instance) { @@ -62927,8 +63168,7 @@ var padZoneStr = function padZoneStr2(instance) { return (negMinutes <= 0 ? "+" : "-") + padStart(hourOffset, 2, "0") + ":" + padStart(minuteOffset, 2, "0"); }; var monthDiff = function monthDiff2(a2, b3) { - if (a2.date() < b3.date()) - return -monthDiff2(b3, a2); + if (a2.date() < b3.date()) return -monthDiff2(b3, a2); var wholeMonthDiff = (b3.year() - a2.year()) * 12 + (b3.month() - a2.month()); var anchor = a2.clone().add(wholeMonthDiff, M$1); var c2 = b3 - anchor < 0; @@ -62973,8 +63213,7 @@ var isDayjs = function isDayjs2(d2) { }; var parseLocale = function parseLocale2(preset, object, isLocal) { var l2; - if (!preset) - return L; + if (!preset) return L; if (typeof preset === "string") { var presetLower = preset.toLowerCase(); if (Ls[presetLower]) { @@ -62993,8 +63232,7 @@ var parseLocale = function parseLocale2(preset, object, isLocal) { Ls[name] = preset; l2 = name; } - if (!isLocal && l2) - L = l2; + if (!isLocal && l2) L = l2; return l2 || !isLocal && L; }; var dayjs = function dayjs2(date, c2) { @@ -63021,12 +63259,9 @@ Utils.i = isDayjs; Utils.w = wrapper$1; var parseDate = function parseDate2(cfg) { var date = cfg.date, utc2 = cfg.utc; - if (date === null) - return /* @__PURE__ */ new Date(NaN); - if (Utils.u(date)) - return /* @__PURE__ */ new Date(); - if (date instanceof Date) - return new Date(date); + if (date === null) return /* @__PURE__ */ new Date(NaN); + if (Utils.u(date)) return /* @__PURE__ */ new Date(); + if (date instanceof Date) return new Date(date); if (typeof date === "string" && !/Z$/i.test(date)) { var d2 = date.match(REGEX_PARSE); if (d2) { @@ -63080,8 +63315,7 @@ var Dayjs = /* @__PURE__ */ function() { return this.endOf(units) < dayjs(that); }; _proto.$g = function $g2(input, get3, set2) { - if (Utils.u(input)) - return this[get3]; + if (Utils.u(input)) return this[get3]; return this.set(set2, input); }; _proto.unix = function unix() { @@ -63146,8 +63380,7 @@ var Dayjs = /* @__PURE__ */ function() { date.$d[name](arg); date.init(); this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d; - } else if (name) - this.$d[name](arg); + } else if (name) this.$d[name](arg); this.init(); return this; }; @@ -63187,8 +63420,7 @@ var Dayjs = /* @__PURE__ */ function() { _proto.format = function format(formatStr) { var _this3 = this; var locale = this.$locale(); - if (!this.isValid()) - return locale.invalidDate || INVALID_DATE_STRING; + if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING; var str = formatStr || FORMAT_DEFAULT; var zoneStr = Utils.z(this); var $H = this.$H, $m = this.$m, $M = this.$M; @@ -63311,12 +63543,10 @@ var Dayjs = /* @__PURE__ */ function() { return Ls[this.$L]; }; _proto.locale = function locale(preset, object) { - if (!preset) - return this.$L; + if (!preset) return this.$L; var that = this.clone(); var nextLocaleName = parseLocale(preset, object, true); - if (nextLocaleName) - that.$L = nextLocaleName; + if (nextLocaleName) that.$L = nextLocaleName; return that; }; _proto.clone = function clone2() { @@ -63430,8 +63660,7 @@ const relativeTime = function(o2, c2, d2) { var abs = (o2.rounding || Math.round)(Math.abs(result)); isFuture = result > 0; if (abs <= t3.r || !t3.r) { - if (abs <= 1 && i2 > 0) - t3 = T3[i2 - 1]; + if (abs <= 1 && i2 > 0) t3 = T3[i2 - 1]; var format = loc[t3.l]; if (postFormat) { abs = postFormat("" + abs); @@ -63444,8 +63673,7 @@ const relativeTime = function(o2, c2, d2) { break; } } - if (withoutSuffix) - return out; + if (withoutSuffix) return out; var pastOrFuture = isFuture ? loc.future : loc.past; if (typeof pastOrFuture === "function") { return pastOrFuture(out); @@ -63507,8 +63735,7 @@ const updateLocale = function(option, Dayjs2, dayjs3) { dayjs3.updateLocale = function(locale, customConfig) { var localeList = dayjs3.Ls; var localeConfig = localeList[locale]; - if (!localeConfig) - return; + if (!localeConfig) return; var customConfigKeys = customConfig ? Object.keys(customConfig) : []; customConfigKeys.forEach(function(c2) { localeConfig[c2] = customConfig[c2]; @@ -64146,8 +64373,7 @@ OrderedMap.prototype = { constructor: OrderedMap, find: function(key) { for (var i2 = 0; i2 < this.content.length; i2 += 2) - if (this.content[i2] === key) - return i2; + if (this.content[i2] === key) return i2; return -1; }, // :: (string) → ?any @@ -64168,8 +64394,7 @@ OrderedMap.prototype = { content.push(newKey || key, value2); } else { content[found2 + 1] = value2; - if (newKey) - content[found2] = newKey; + if (newKey) content[found2] = newKey; } return new OrderedMap(content); }, @@ -64177,8 +64402,7 @@ OrderedMap.prototype = { // Return a map with the given key removed, if it existed. remove: function(key) { var found2 = this.find(key); - if (found2 == -1) - return this; + if (found2 == -1) return this; var content = this.content.slice(); content.splice(found2, 2); return new OrderedMap(content); @@ -64216,8 +64440,7 @@ OrderedMap.prototype = { // appear in `map` before the keys in `map`. prepend: function(map3) { map3 = OrderedMap.from(map3); - if (!map3.size) - return this; + if (!map3.size) return this; return new OrderedMap(map3.content.concat(this.subtract(map3).content)); }, // :: (union) → OrderedMap @@ -64225,8 +64448,7 @@ OrderedMap.prototype = { // appear in `map` after the keys in `map`. append: function(map3) { map3 = OrderedMap.from(map3); - if (!map3.size) - return this; + if (!map3.size) return this; return new OrderedMap(this.subtract(map3).content.concat(map3.content)); }, // :: (union) → OrderedMap @@ -64255,12 +64477,9 @@ OrderedMap.prototype = { } }; OrderedMap.from = function(value2) { - if (value2 instanceof OrderedMap) - return value2; + if (value2 instanceof OrderedMap) return value2; var content = []; - if (value2) - for (var prop in value2) - content.push(prop, value2[prop]); + if (value2) for (var prop in value2) content.push(prop, value2[prop]); return new OrderedMap(content); }; function findDiffStart(a2, b3, pos) { @@ -64865,8 +65084,6 @@ function removeRange(content, from2, to2) { function insertInto(content, dist, insert, parent) { let { index, offset: offset2 } = content.findIndex(dist), child = content.maybeChild(index); if (offset2 == dist || child.isText) { - if (parent && !parent.canReplace(index, index, insert)) - return null; return content.cut(0, dist).append(insert).append(content.cut(dist)); } let inner = insertInto(child.content, dist - offset2 - 1, insert); @@ -68706,21 +68923,20 @@ class Fitter { return after; } findCloseLevel($to) { - scan: - for (let i2 = Math.min(this.depth, $to.depth); i2 >= 0; i2--) { - let { match, type } = this.frontier[i2]; - let dropInner = i2 < $to.depth && $to.end(i2 + 1) == $to.pos + ($to.depth - (i2 + 1)); - let fit = contentAfterFits($to, i2, type, match, dropInner); - if (!fit) - continue; - for (let d2 = i2 - 1; d2 >= 0; d2--) { - let { match: match2, type: type2 } = this.frontier[d2]; - let matches2 = contentAfterFits($to, d2, type2, match2, true); - if (!matches2 || matches2.childCount) - continue scan; - } - return { depth: i2, fit, move: dropInner ? $to.doc.resolve($to.after(i2 + 1)) : $to }; + scan: for (let i2 = Math.min(this.depth, $to.depth); i2 >= 0; i2--) { + let { match, type } = this.frontier[i2]; + let dropInner = i2 < $to.depth && $to.end(i2 + 1) == $to.pos + ($to.depth - (i2 + 1)); + let fit = contentAfterFits($to, i2, type, match, dropInner); + if (!fit) + continue; + for (let d2 = i2 - 1; d2 >= 0; d2--) { + let { match: match2, type: type2 } = this.frontier[d2]; + let matches2 = contentAfterFits($to, d2, type2, match2, true); + if (!matches2 || matches2.childCount) + continue scan; } + return { depth: i2, fit, move: dropInner ? $to.doc.resolve($to.after(i2 + 1)) : $to }; + } } close($to) { let close2 = this.findCloseLevel($to); @@ -70134,11 +70350,11 @@ class Plugin { return state[this.key]; } } -const keys = /* @__PURE__ */ Object.create(null); +const keys$1 = /* @__PURE__ */ Object.create(null); function createKey(name) { - if (name in keys) - return name + "$" + ++keys[name]; - keys[name] = 0; + if (name in keys$1) + return name + "$" + ++keys$1[name]; + keys$1[name] = 0; return name + "$"; } class PluginKey { @@ -71366,12 +71582,9 @@ class NodeViewDesc extends ViewDesc { }, (child, outerDeco, innerDeco, i2) => { updater.syncToMarks(child.marks, inline, view); let compIndex; - if (updater.findNodeMatch(child, outerDeco, innerDeco, i2)) - ; - else if (compositionInChild && view.state.selection.from > off && view.state.selection.to < off + child.nodeSize && (compIndex = updater.findIndexWithChild(composition.node)) > -1 && updater.updateNodeAt(child, outerDeco, innerDeco, compIndex, view)) - ; - else if (updater.updateNextNode(child, outerDeco, innerDeco, view, i2, off)) - ; + if (updater.findNodeMatch(child, outerDeco, innerDeco, i2)) ; + else if (compositionInChild && view.state.selection.from > off && view.state.selection.to < off + child.nodeSize && (compIndex = updater.findIndexWithChild(composition.node)) > -1 && updater.updateNodeAt(child, outerDeco, innerDeco, compIndex, view)) ; + else if (updater.updateNextNode(child, outerDeco, innerDeco, view, i2, off)) ; else { updater.addNode(child, outerDeco, innerDeco, view, off); } @@ -71936,36 +72149,35 @@ class ViewTreeUpdater { function preMatch(frag, parentDesc) { let curDesc = parentDesc, descI = curDesc.children.length; let fI = frag.childCount, matched = /* @__PURE__ */ new Map(), matches2 = []; - outer: - while (fI > 0) { - let desc; - for (; ; ) { - if (descI) { - let next = curDesc.children[descI - 1]; - if (next instanceof MarkViewDesc) { - curDesc = next; - descI = next.children.length; - } else { - desc = next; - descI--; - break; - } - } else if (curDesc == parentDesc) { - break outer; + outer: while (fI > 0) { + let desc; + for (; ; ) { + if (descI) { + let next = curDesc.children[descI - 1]; + if (next instanceof MarkViewDesc) { + curDesc = next; + descI = next.children.length; } else { - descI = curDesc.parent.children.indexOf(curDesc); - curDesc = curDesc.parent; + desc = next; + descI--; + break; } + } else if (curDesc == parentDesc) { + break outer; + } else { + descI = curDesc.parent.children.indexOf(curDesc); + curDesc = curDesc.parent; } - let node = desc.node; - if (!node) - continue; - if (node != frag.child(fI - 1)) - break; - --fI; - matched.set(desc, fI); - matches2.push(desc); } + let node = desc.node; + if (!node) + continue; + if (node != frag.child(fI - 1)) + break; + --fI; + matched.set(desc, fI); + matches2.push(desc); + } return { index: fI, matched, matches: matches2.reverse() }; } function compareSide(a2, b3) { @@ -72998,8 +73210,7 @@ function updateSelection(view, selection, origin) { if (view.state.selection.eq(selection)) return; let tr2 = view.state.tr.setSelection(selection); - if (origin == "pointer") - tr2.setMeta("pointer", true); + tr2.setMeta("pointer", true); view.dispatch(tr2); } function selectClickedLeaf(view, inside) { @@ -73007,7 +73218,7 @@ function selectClickedLeaf(view, inside) { return false; let $pos = view.state.doc.resolve(inside), node = $pos.nodeAfter; if (node && node.isAtom && NodeSelection.isSelectable(node)) { - updateSelection(view, new NodeSelection($pos), "pointer"); + updateSelection(view, new NodeSelection($pos)); return true; } return false; @@ -73030,7 +73241,7 @@ function selectClickedNode(view, inside) { } } if (selectAt != null) { - updateSelection(view, NodeSelection.create(view.state.doc, selectAt), "pointer"); + updateSelection(view, NodeSelection.create(view.state.doc, selectAt)); return true; } else { return false; @@ -73051,7 +73262,7 @@ function defaultTripleClick(view, inside, event) { let doc2 = view.state.doc; if (inside == -1) { if (doc2.inlineContent) { - updateSelection(view, TextSelection.create(doc2, 0, doc2.content.size), "pointer"); + updateSelection(view, TextSelection.create(doc2, 0, doc2.content.size)); return true; } return false; @@ -73061,9 +73272,9 @@ function defaultTripleClick(view, inside, event) { let node = i2 > $pos.depth ? $pos.nodeAfter : $pos.node(i2); let nodePos = $pos.before(i2); if (node.inlineContent) - updateSelection(view, TextSelection.create(doc2, nodePos + 1, nodePos + 1 + node.content.size), "pointer"); + updateSelection(view, TextSelection.create(doc2, nodePos + 1, nodePos + 1 + node.content.size)); else if (NodeSelection.isSelectable(node)) - updateSelection(view, NodeSelection.create(doc2, nodePos), "pointer"); + updateSelection(view, NodeSelection.create(doc2, nodePos)); else continue; return true; @@ -73180,7 +73391,7 @@ class MouseDown { // thus doesn't get a reaction from ProseMirror. This // works around that. chrome && !this.view.state.selection.visible && Math.min(Math.abs(pos.pos - this.view.state.selection.from), Math.abs(pos.pos - this.view.state.selection.to)) <= 2)) { - updateSelection(this.view, Selection.near(this.view.state.doc.resolve(pos.pos)), "pointer"); + updateSelection(this.view, Selection.near(this.view.state.doc.resolve(pos.pos))); event.preventDefault(); } else { setSelectionOrigin(this.view, "pointer"); @@ -73422,8 +73633,7 @@ handlers.dragstart = (view, _event) => { let sel = view.state.selection; let pos = sel.empty ? null : view.posAtCoords(eventCoords(event)); let node; - if (pos && pos.pos >= sel.from && pos.pos <= (sel instanceof NodeSelection ? sel.to - 1 : sel.to)) - ; + if (pos && pos.pos >= sel.from && pos.pos <= (sel instanceof NodeSelection ? sel.to - 1 : sel.to)) ; else if (mouseDown && mouseDown.mightDrag) { node = NodeSelection.create(view.state.doc, mouseDown.mightDrag.pos); } else if (event.target && event.target.nodeType == 1) { @@ -74933,8 +75143,7 @@ class EditorView { */ scrollToSelection() { let startDOM = this.domSelectionRange().focusNode; - if (this.someProp("handleScrollToSelection", (f2) => f2(this))) - ; + if (this.someProp("handleScrollToSelection", (f2) => f2(this))) ; else if (this.state.selection instanceof NodeSelection) { let target = this.docView.domAfterPos(this.state.selection.from); if (target.nodeType == 1) @@ -75357,32 +75566,22 @@ var shift = { }; var mac$1 = typeof navigator != "undefined" && /Mac/.test(navigator.platform); var ie = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent); -for (var i$2 = 0; i$2 < 10; i$2++) - base[48 + i$2] = base[96 + i$2] = String(i$2); -for (var i$2 = 1; i$2 <= 24; i$2++) - base[i$2 + 111] = "F" + i$2; +for (var i$2 = 0; i$2 < 10; i$2++) base[48 + i$2] = base[96 + i$2] = String(i$2); +for (var i$2 = 1; i$2 <= 24; i$2++) base[i$2 + 111] = "F" + i$2; for (var i$2 = 65; i$2 <= 90; i$2++) { base[i$2] = String.fromCharCode(i$2 + 32); shift[i$2] = String.fromCharCode(i$2); } -for (var code in base) - if (!shift.hasOwnProperty(code)) - shift[code] = base[code]; +for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code]; function keyName(event) { var ignoreKey = mac$1 && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey || ie && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified"; var name = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified"; - if (name == "Esc") - name = "Escape"; - if (name == "Del") - name = "Delete"; - if (name == "Left") - name = "ArrowLeft"; - if (name == "Up") - name = "ArrowUp"; - if (name == "Right") - name = "ArrowRight"; - if (name == "Down") - name = "ArrowDown"; + if (name == "Esc") name = "Escape"; + if (name == "Del") name = "Delete"; + if (name == "Left") name = "ArrowLeft"; + if (name == "Up") name = "ArrowUp"; + if (name == "Right") name = "ArrowRight"; + if (name == "Down") name = "ArrowDown"; return name; } const mac = typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : false; @@ -79301,7 +79500,7 @@ class NodePos { this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name, attributes).setTextSelection(oldSelection.from).run(); } } -const style$1 = `.ProseMirror { +const style = `.ProseMirror { position: relative; } @@ -79377,7 +79576,7 @@ img.ProseMirror-separator { opacity: 0 }`; function createStyleTag(style2, nonce, suffix) { - const tiptapStyleTag = document.querySelector(`style[data-tiptap-style${suffix ? `-${suffix}` : ""}]`); + const tiptapStyleTag = document.querySelector(`style[data-tiptap-style${""}]`); if (tiptapStyleTag !== null) { return tiptapStyleTag; } @@ -79385,7 +79584,7 @@ function createStyleTag(style2, nonce, suffix) { if (nonce) { styleNode.setAttribute("nonce", nonce); } - styleNode.setAttribute(`data-tiptap-style${suffix ? `-${suffix}` : ""}`, ""); + styleNode.setAttribute(`data-tiptap-style${""}`, ""); styleNode.innerHTML = style2; document.getElementsByTagName("head")[0].appendChild(styleNode); return styleNode; @@ -79483,7 +79682,7 @@ let Editor$1 = class Editor2 extends EventEmitter { */ injectCSS() { if (this.options.injectCSS && document) { - this.css = createStyleTag(style$1, this.options.injectNonce); + this.css = createStyleTag(style, this.options.injectNonce); } } /** @@ -80070,15 +80269,15 @@ function isType(value2, type) { function invokeWithArgsOrReturn(value2, args) { return typeof value2 === "function" ? value2.apply(void 0, args) : value2; } -function debounce(fn3, ms2) { +function debounce(fn5, ms2) { if (ms2 === 0) { - return fn3; + return fn5; } var timeout; return function(arg) { clearTimeout(timeout); timeout = setTimeout(function() { - fn3(arg); + fn5(arg); }, ms2); }; } @@ -80680,14 +80879,14 @@ function createTippy(reference2, passedProps) { return; } var attr = "aria-" + aria.content; - var id3 = popper2.id; + var id22 = popper2.id; var nodes = normalizeToArray(instance.props.triggerTarget || reference2); nodes.forEach(function(node) { var currentValue = node.getAttribute(attr); if (instance.state.isVisible) { - node.setAttribute(attr, currentValue ? currentValue + " " + id3 : id3); + node.setAttribute(attr, currentValue ? currentValue + " " + id22 : id22); } else { - var nextValue = currentValue && currentValue.replace(id3, "").trim(); + var nextValue = currentValue && currentValue.replace(id22, "").trim(); if (nextValue) { node.setAttribute(attr, nextValue); } else { @@ -80876,13 +81075,13 @@ function createTippy(reference2, passedProps) { if (event.type === "mousemove" && isCursorOverReferenceOrPopper) { return; } - var popperTreeData = getNestedPopperTree().concat(popper2).map(function(popper3) { + var popperTreeData = getNestedPopperTree().concat(popper2).map(function(popper22) { var _instance$popperInsta; - var instance2 = popper3._tippy; + var instance2 = popper22._tippy; var state2 = (_instance$popperInsta = instance2.popperInstance) == null ? void 0 : _instance$popperInsta.state; if (state2) { return { - popperRect: popper3.getBoundingClientRect(), + popperRect: popper22.getBoundingClientRect(), popperState: state2, props }; @@ -80930,7 +81129,7 @@ function createTippy(reference2, passedProps) { enabled: true, phase: "beforeWrite", requires: ["computeStyles"], - fn: function fn3(_ref2) { + fn: function fn5(_ref2) { var state2 = _ref2.state; if (getIsDefaultRenderFn()) { var _getDefaultTemplateCh = getDefaultTemplateChildren(), box = _getDefaultTemplateCh.box; @@ -82598,42 +82797,41 @@ class GapCursor extends Selection { @internal */ static findGapCursorFrom($pos, dir, mustMove = false) { - search: + search: for (; ; ) { + if (!mustMove && GapCursor.valid($pos)) + return $pos; + let pos = $pos.pos, next = null; + for (let d2 = $pos.depth; ; d2--) { + let parent = $pos.node(d2); + if (dir > 0 ? $pos.indexAfter(d2) < parent.childCount : $pos.index(d2) > 0) { + next = parent.child(dir > 0 ? $pos.indexAfter(d2) : $pos.index(d2) - 1); + break; + } else if (d2 == 0) { + return null; + } + pos += dir; + let $cur = $pos.doc.resolve(pos); + if (GapCursor.valid($cur)) + return $cur; + } for (; ; ) { - if (!mustMove && GapCursor.valid($pos)) - return $pos; - let pos = $pos.pos, next = null; - for (let d2 = $pos.depth; ; d2--) { - let parent = $pos.node(d2); - if (dir > 0 ? $pos.indexAfter(d2) < parent.childCount : $pos.index(d2) > 0) { - next = parent.child(dir > 0 ? $pos.indexAfter(d2) : $pos.index(d2) - 1); - break; - } else if (d2 == 0) { - return null; - } - pos += dir; - let $cur = $pos.doc.resolve(pos); - if (GapCursor.valid($cur)) - return $cur; - } - for (; ; ) { - let inside = dir > 0 ? next.firstChild : next.lastChild; - if (!inside) { - if (next.isAtom && !next.isText && !NodeSelection.isSelectable(next)) { - $pos = $pos.doc.resolve(pos + next.nodeSize * dir); - mustMove = false; - continue search; - } - break; + let inside = dir > 0 ? next.firstChild : next.lastChild; + if (!inside) { + if (next.isAtom && !next.isText && !NodeSelection.isSelectable(next)) { + $pos = $pos.doc.resolve(pos + next.nodeSize * dir); + mustMove = false; + continue search; } - next = inside; - pos += dir; - let $cur = $pos.doc.resolve(pos); - if (GapCursor.valid($cur)) - return $cur; + break; } - return null; + next = inside; + pos += dir; + let $cur = $pos.doc.resolve(pos); + if (GapCursor.valid($cur)) + return $cur; } + return null; + } } } GapCursor.prototype.visible = false; @@ -82916,10 +83114,8 @@ RopeSequence.prototype.appendInner = function appendInner(other) { return new Append(this, other); }; RopeSequence.prototype.slice = function slice(from2, to2) { - if (from2 === void 0) - from2 = 0; - if (to2 === void 0) - to2 = this.length; + if (from2 === void 0) from2 = 0; + if (to2 === void 0) to2 = this.length; if (from2 >= to2) { return RopeSequence.empty; } @@ -82932,10 +83128,8 @@ RopeSequence.prototype.get = function get2(i2) { return this.getInner(i2); }; RopeSequence.prototype.forEach = function forEach2(f2, from2, to2) { - if (from2 === void 0) - from2 = 0; - if (to2 === void 0) - to2 = this.length; + if (from2 === void 0) from2 = 0; + if (to2 === void 0) to2 = this.length; if (from2 <= to2) { this.forEachInner(f2, from2, to2, 0); } else { @@ -82943,10 +83137,8 @@ RopeSequence.prototype.forEach = function forEach2(f2, from2, to2) { } }; RopeSequence.prototype.map = function map2(f2, from2, to2) { - if (from2 === void 0) - from2 = 0; - if (to2 === void 0) - to2 = this.length; + if (from2 === void 0) from2 = 0; + if (to2 === void 0) to2 = this.length; var result = []; this.forEach(function(elt, i2) { return result.push(f2(elt, i2)); @@ -82964,8 +83156,7 @@ var Leaf = /* @__PURE__ */ function(RopeSequence3) { RopeSequence3.call(this); this.values = values; } - if (RopeSequence3) - Leaf2.__proto__ = RopeSequence3; + if (RopeSequence3) Leaf2.__proto__ = RopeSequence3; Leaf2.prototype = Object.create(RopeSequence3 && RopeSequence3.prototype); Leaf2.prototype.constructor = Leaf2; var prototypeAccessors = { length: { configurable: true }, depth: { configurable: true } }; @@ -83023,8 +83214,7 @@ var Append = /* @__PURE__ */ function(RopeSequence3) { this.length = left2.length + right2.length; this.depth = Math.max(left2.depth, right2.depth) + 1; } - if (RopeSequence3) - Append2.__proto__ = RopeSequence3; + if (RopeSequence3) Append2.__proto__ = RopeSequence3; Append2.prototype = Object.create(RopeSequence3 && RopeSequence3.prototype); Append2.prototype.constructor = Append2; Append2.prototype.flatten = function flatten() { @@ -86270,9 +86460,6 @@ function createColGroup(node, cellMinWidth, overrideCol, overrideValue) { return { colgroup, tableWidth, tableMinWidth }; } function createCell(cellType, cellContent) { - if (cellContent) { - return cellType.createChecked(null, cellContent); - } return cellType.createAndFill(); } function getTableNodeTypes(schema) { @@ -86294,12 +86481,12 @@ function createTable(schema, rowsCount, colsCount, withHeaderRow, cellContent) { const headerCells = []; const cells = []; for (let index = 0; index < colsCount; index += 1) { - const cell = createCell(types.cell, cellContent); + const cell = createCell(types.cell); if (cell) { cells.push(cell); } if (withHeaderRow) { - const headerCell = createCell(types.header_cell, cellContent); + const headerCell = createCell(types.header_cell); if (headerCell) { headerCells.push(headerCell); } @@ -86922,8 +87109,8 @@ var tk = /* @__PURE__ */ Object.freeze({ SYM }); const ASCII_LETTER = /[a-z]/; -const LETTER = /\p{L}/u; -const EMOJI = /\p{Emoji}/u; +const LETTER = new RegExp("\\p{L}", "u"); +const EMOJI = new RegExp("\\p{Emoji}", "u"); const DIGIT = /\d/; const SPACE = /\s/; const NL = "\n"; @@ -91803,8 +91990,7 @@ var showdown$1 = { exports: {} }; for (i2 = 0; i2 < rawCells.length; ++i2) { var row = []; for (var ii2 = 0; ii2 < headers.length; ++ii2) { - if (showdown2.helper.isUndefined(rawCells[i2][ii2])) - ; + if (showdown2.helper.isUndefined(rawCells[i2][ii2])) ; row.push(parseCells(rawCells[i2][ii2], styles[ii2])); } cells.push(row); @@ -92374,7 +92560,7 @@ function ne(a2, t3, e2, n2 = {}) { shouldEmit: f2 } = n2, v2 = getCurrentInstance(), g2 = e2 || (v2 == null ? void 0 : v2.emit) || ((l2 = v2 == null ? void 0 : v2.$emit) == null ? void 0 : l2.bind(v2)) || ((r2 = (s3 = v2 == null ? void 0 : v2.proxy) == null ? void 0 : s3.$emit) == null ? void 0 : r2.bind(v2 == null ? void 0 : v2.proxy)); let m2 = d2; - t3 || (t3 = "modelValue"), m2 = m2 || `update:${t3.toString()}`; + m2 = m2 || `update:${t3.toString()}`; const w2 = (h2) => i2 ? typeof i2 == "function" ? i2(h2) : hi(h2) : h2, C2 = () => ti(a2[t3]) ? w2(a2[t3]) : p2, D2 = (h2) => { f2 ? f2(h2) && g2(m2, h2) : g2(m2, h2); }; @@ -92419,7 +92605,7 @@ function It(a2) { const t3 = getCurrentInstance(), e2 = Object.keys((t3 == null ? void 0 : t3.type.props) ?? {}).reduce((l2, s3) => { const r2 = (t3 == null ? void 0 : t3.type.props[s3]).default; return r2 !== void 0 && (l2[s3] = r2), l2; - }, {}), n2 = toRef(a2); + }, {}), n2 = toRef$1(a2); return computed(() => { const l2 = {}, s3 = (t3 == null ? void 0 : t3.vnode.props) ?? {}; return Object.keys(s3).forEach((r2) => { @@ -92580,8 +92766,7 @@ function Ri(a2) { const s3 = t3[t3.length - 1], r2 = t3[t3.length - 2]; if ((s3.x - r2.x) * (l2.y - r2.y) >= (s3.y - r2.y) * (l2.x - r2.x)) t3.pop(); - else - break; + else break; } t3.push(l2); } @@ -92593,8 +92778,7 @@ function Ri(a2) { const s3 = e2[e2.length - 1], r2 = e2[e2.length - 2]; if ((s3.x - r2.x) * (l2.y - r2.y) >= (s3.y - r2.y) * (l2.x - r2.x)) e2.pop(); - else - break; + else break; } e2.push(l2); } @@ -92602,8 +92786,6 @@ function Ri(a2) { } let Vi = 0; function he(a2, t3 = "radix") { - if (a2) - return a2; const e2 = Ga({ useId: void 0 }); return useId ? `${t3}-${useId()}` : e2.useId ? `${t3}-${e2.useId()}` : `${t3}-${++Vi}`; } @@ -93650,6 +93832,36 @@ function set(key, value2, customStore = defaultGetStore()) { return promisifyRequest(store.transaction); }); } +function setMany(entries, customStore = defaultGetStore()) { + return customStore("readwrite", (store) => { + entries.forEach((entry) => store.put(entry[1], entry[0])); + return promisifyRequest(store.transaction); + }); +} +function del(key, customStore = defaultGetStore()) { + return customStore("readwrite", (store) => { + store.delete(key); + return promisifyRequest(store.transaction); + }); +} +function eachCursor(store, callback) { + store.openCursor().onsuccess = function() { + if (!this.result) + return; + callback(this.result); + this.result.continue(); + }; + return promisifyRequest(store.transaction); +} +function keys(customStore = defaultGetStore()) { + return customStore("readonly", (store) => { + if (store.getAllKeys) { + return promisifyRequest(store.getAllKeys()); + } + const items = []; + return eachCursor(store, (cursor) => items.push(cursor.key)).then(() => items); + }); +} const PACKET_TYPES = /* @__PURE__ */ Object.create(null); PACKET_TYPES["open"] = "0"; PACKET_TYPES["close"] = "1"; @@ -93932,8 +94144,7 @@ function createPacketDecoderStream(maxPayload, binaryType) { } const protocol$1 = 4; function Emitter(obj) { - if (obj) - return mixin(obj); + if (obj) return mixin(obj); } function mixin(obj) { for (var key in Emitter.prototype) { @@ -93962,8 +94173,7 @@ Emitter.prototype.off = Emitter.prototype.removeListener = Emitter.prototype.rem return this; } var callbacks2 = this._callbacks["$" + event]; - if (!callbacks2) - return this; + if (!callbacks2) return this; if (1 == arguments.length) { delete this._callbacks["$" + event]; return this; @@ -95943,8 +96153,7 @@ class Socket extends Emitter { const isTransportWritable = (_b = (_a2 = this.io.engine) === null || _a2 === void 0 ? void 0 : _a2.transport) === null || _b === void 0 ? void 0 : _b.writable; const isConnected = this.connected && !((_c2 = this.io.engine) === null || _c2 === void 0 ? void 0 : _c2._hasPingExpired()); const discardPacket = this.flags.volatile && !isTransportWritable; - if (discardPacket) - ; + if (discardPacket) ; else if (isConnected) { this.notifyOutgoingListeners(packet); this.packet(packet); @@ -96952,6 +97161,7 @@ Object.assign(lookup, { io: lookup, connect: lookup }); +var define_process_env_default = {}; var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof {} !== "undefined" ? {} : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; var mainExports$1 = {}; var main$1 = { @@ -96966,362 +97176,339 @@ var main$1 = { !function(t3, n2) { module2.exports = n2(); }(commonjsGlobal, () => { - return t3 = { 770: function(t4, n3, e2) { - var r2 = this && this.__importDefault || function(t5) { - return t5 && t5.__esModule ? t5 : { default: t5 }; + return t3 = { 770: function(t22, n22, e2) { + var r2 = this && this.__importDefault || function(t32) { + return t32 && t32.__esModule ? t32 : { default: t32 }; }; - Object.defineProperty(n3, "__esModule", { value: true }), n3.setDefaultDebugCall = n3.createOnigScanner = n3.createOnigString = n3.loadWASM = n3.OnigScanner = n3.OnigString = void 0; + Object.defineProperty(n22, "__esModule", { value: true }), n22.setDefaultDebugCall = n22.createOnigScanner = n22.createOnigString = n22.loadWASM = n22.OnigScanner = n22.OnigString = void 0; const i2 = r2(e2(418)); let o2 = null, a2 = false; class f2 { - static _utf8ByteLength(t5) { - let n4 = 0; - for (let e3 = 0, r3 = t5.length; e3 < r3; e3++) { - const i3 = t5.charCodeAt(e3); - let o3 = i3, a3 = false; - if (i3 >= 55296 && i3 <= 56319 && e3 + 1 < r3) { - const n5 = t5.charCodeAt(e3 + 1); - n5 >= 56320 && n5 <= 57343 && (o3 = 65536 + (i3 - 55296 << 10) | n5 - 56320, a3 = true); + static _utf8ByteLength(t32) { + let n3 = 0; + for (let e22 = 0, r22 = t32.length; e22 < r22; e22++) { + const i22 = t32.charCodeAt(e22); + let o22 = i22, a22 = false; + if (i22 >= 55296 && i22 <= 56319 && e22 + 1 < r22) { + const n4 = t32.charCodeAt(e22 + 1); + n4 >= 56320 && n4 <= 57343 && (o22 = 65536 + (i22 - 55296 << 10) | n4 - 56320, a22 = true); } - n4 += o3 <= 127 ? 1 : o3 <= 2047 ? 2 : o3 <= 65535 ? 3 : 4, a3 && e3++; - } - return n4; - } - constructor(t5) { - const n4 = t5.length, e3 = f2._utf8ByteLength(t5), r3 = e3 !== n4, i3 = r3 ? new Uint32Array(n4 + 1) : null; - r3 && (i3[n4] = e3); - const o3 = r3 ? new Uint32Array(e3 + 1) : null; - r3 && (o3[e3] = n4); - const a3 = new Uint8Array(e3); - let s4 = 0; - for (let e4 = 0; e4 < n4; e4++) { - const f3 = t5.charCodeAt(e4); - let u4 = f3, c3 = false; - if (f3 >= 55296 && f3 <= 56319 && e4 + 1 < n4) { - const n5 = t5.charCodeAt(e4 + 1); - n5 >= 56320 && n5 <= 57343 && (u4 = 65536 + (f3 - 55296 << 10) | n5 - 56320, c3 = true); + n3 += o22 <= 127 ? 1 : o22 <= 2047 ? 2 : o22 <= 65535 ? 3 : 4, a22 && e22++; + } + return n3; + } + constructor(t32) { + const n3 = t32.length, e22 = f2._utf8ByteLength(t32), r22 = e22 !== n3, i22 = r22 ? new Uint32Array(n3 + 1) : null; + r22 && (i22[n3] = e22); + const o22 = r22 ? new Uint32Array(e22 + 1) : null; + r22 && (o22[e22] = n3); + const a22 = new Uint8Array(e22); + let s22 = 0; + for (let e3 = 0; e3 < n3; e3++) { + const f22 = t32.charCodeAt(e3); + let u22 = f22, c22 = false; + if (f22 >= 55296 && f22 <= 56319 && e3 + 1 < n3) { + const n4 = t32.charCodeAt(e3 + 1); + n4 >= 56320 && n4 <= 57343 && (u22 = 65536 + (f22 - 55296 << 10) | n4 - 56320, c22 = true); } - r3 && (i3[e4] = s4, c3 && (i3[e4 + 1] = s4), u4 <= 127 ? o3[s4 + 0] = e4 : u4 <= 2047 ? (o3[s4 + 0] = e4, o3[s4 + 1] = e4) : u4 <= 65535 ? (o3[s4 + 0] = e4, o3[s4 + 1] = e4, o3[s4 + 2] = e4) : (o3[s4 + 0] = e4, o3[s4 + 1] = e4, o3[s4 + 2] = e4, o3[s4 + 3] = e4)), u4 <= 127 ? a3[s4++] = u4 : u4 <= 2047 ? (a3[s4++] = 192 | (1984 & u4) >>> 6, a3[s4++] = 128 | (63 & u4) >>> 0) : u4 <= 65535 ? (a3[s4++] = 224 | (61440 & u4) >>> 12, a3[s4++] = 128 | (4032 & u4) >>> 6, a3[s4++] = 128 | (63 & u4) >>> 0) : (a3[s4++] = 240 | (1835008 & u4) >>> 18, a3[s4++] = 128 | (258048 & u4) >>> 12, a3[s4++] = 128 | (4032 & u4) >>> 6, a3[s4++] = 128 | (63 & u4) >>> 0), c3 && e4++; + r22 && (i22[e3] = s22, c22 && (i22[e3 + 1] = s22), u22 <= 127 ? o22[s22 + 0] = e3 : u22 <= 2047 ? (o22[s22 + 0] = e3, o22[s22 + 1] = e3) : u22 <= 65535 ? (o22[s22 + 0] = e3, o22[s22 + 1] = e3, o22[s22 + 2] = e3) : (o22[s22 + 0] = e3, o22[s22 + 1] = e3, o22[s22 + 2] = e3, o22[s22 + 3] = e3)), u22 <= 127 ? a22[s22++] = u22 : u22 <= 2047 ? (a22[s22++] = 192 | (1984 & u22) >>> 6, a22[s22++] = 128 | (63 & u22) >>> 0) : u22 <= 65535 ? (a22[s22++] = 224 | (61440 & u22) >>> 12, a22[s22++] = 128 | (4032 & u22) >>> 6, a22[s22++] = 128 | (63 & u22) >>> 0) : (a22[s22++] = 240 | (1835008 & u22) >>> 18, a22[s22++] = 128 | (258048 & u22) >>> 12, a22[s22++] = 128 | (4032 & u22) >>> 6, a22[s22++] = 128 | (63 & u22) >>> 0), c22 && e3++; } - this.utf16Length = n4, this.utf8Length = e3, this.utf16Value = t5, this.utf8Value = a3, this.utf16OffsetToUtf8 = i3, this.utf8OffsetToUtf16 = o3; + this.utf16Length = n3, this.utf8Length = e22, this.utf16Value = t32, this.utf8Value = a22, this.utf16OffsetToUtf8 = i22, this.utf8OffsetToUtf16 = o22; } - createString(t5) { - const n4 = t5._omalloc(this.utf8Length); - return t5.HEAPU8.set(this.utf8Value, n4), n4; + createString(t32) { + const n3 = t32._omalloc(this.utf8Length); + return t32.HEAPU8.set(this.utf8Value, n3), n3; } } class s3 { - constructor(t5) { - if (this.id = ++s3.LAST_ID, !o2) - throw new Error("Must invoke loadWASM first."); - this._onigBinding = o2, this.content = t5; - const n4 = new f2(t5); - this.utf16Length = n4.utf16Length, this.utf8Length = n4.utf8Length, this.utf16OffsetToUtf8 = n4.utf16OffsetToUtf8, this.utf8OffsetToUtf16 = n4.utf8OffsetToUtf16, this.utf8Length < 1e4 && !s3._sharedPtrInUse ? (s3._sharedPtr || (s3._sharedPtr = o2._omalloc(1e4)), s3._sharedPtrInUse = true, o2.HEAPU8.set(n4.utf8Value, s3._sharedPtr), this.ptr = s3._sharedPtr) : this.ptr = n4.createString(o2); + constructor(t32) { + if (this.id = ++s3.LAST_ID, !o2) throw new Error("Must invoke loadWASM first."); + this._onigBinding = o2, this.content = t32; + const n3 = new f2(t32); + this.utf16Length = n3.utf16Length, this.utf8Length = n3.utf8Length, this.utf16OffsetToUtf8 = n3.utf16OffsetToUtf8, this.utf8OffsetToUtf16 = n3.utf8OffsetToUtf16, this.utf8Length < 1e4 && !s3._sharedPtrInUse ? (s3._sharedPtr || (s3._sharedPtr = o2._omalloc(1e4)), s3._sharedPtrInUse = true, o2.HEAPU8.set(n3.utf8Value, s3._sharedPtr), this.ptr = s3._sharedPtr) : this.ptr = n3.createString(o2); } - convertUtf8OffsetToUtf16(t5) { - return this.utf8OffsetToUtf16 ? t5 < 0 ? 0 : t5 > this.utf8Length ? this.utf16Length : this.utf8OffsetToUtf16[t5] : t5; + convertUtf8OffsetToUtf16(t32) { + return this.utf8OffsetToUtf16 ? t32 < 0 ? 0 : t32 > this.utf8Length ? this.utf16Length : this.utf8OffsetToUtf16[t32] : t32; } - convertUtf16OffsetToUtf8(t5) { - return this.utf16OffsetToUtf8 ? t5 < 0 ? 0 : t5 > this.utf16Length ? this.utf8Length : this.utf16OffsetToUtf8[t5] : t5; + convertUtf16OffsetToUtf8(t32) { + return this.utf16OffsetToUtf8 ? t32 < 0 ? 0 : t32 > this.utf16Length ? this.utf8Length : this.utf16OffsetToUtf8[t32] : t32; } dispose() { this.ptr === s3._sharedPtr ? s3._sharedPtrInUse = false : this._onigBinding._ofree(this.ptr); } } - n3.OnigString = s3, s3.LAST_ID = 0, s3._sharedPtr = 0, s3._sharedPtrInUse = false; + n22.OnigString = s3, s3.LAST_ID = 0, s3._sharedPtr = 0, s3._sharedPtrInUse = false; class u3 { - constructor(t5) { - if (!o2) - throw new Error("Must invoke loadWASM first."); - const n4 = [], e3 = []; - for (let r4 = 0, i4 = t5.length; r4 < i4; r4++) { - const i5 = new f2(t5[r4]); - n4[r4] = i5.createString(o2), e3[r4] = i5.utf8Length; - } - const r3 = o2._omalloc(4 * t5.length); - o2.HEAPU32.set(n4, r3 / 4); - const i3 = o2._omalloc(4 * t5.length); - o2.HEAPU32.set(e3, i3 / 4); - const a3 = o2._createOnigScanner(r3, i3, t5.length); - for (let e4 = 0, r4 = t5.length; e4 < r4; e4++) - o2._ofree(n4[e4]); - o2._ofree(i3), o2._ofree(r3), 0 === a3 && function(t6) { - throw new Error(t6.UTF8ToString(t6._getLastOnigError())); - }(o2), this._onigBinding = o2, this._ptr = a3; + constructor(t32) { + if (!o2) throw new Error("Must invoke loadWASM first."); + const n3 = [], e22 = []; + for (let r3 = 0, i3 = t32.length; r3 < i3; r3++) { + const i4 = new f2(t32[r3]); + n3[r3] = i4.createString(o2), e22[r3] = i4.utf8Length; + } + const r22 = o2._omalloc(4 * t32.length); + o2.HEAPU32.set(n3, r22 / 4); + const i22 = o2._omalloc(4 * t32.length); + o2.HEAPU32.set(e22, i22 / 4); + const a22 = o2._createOnigScanner(r22, i22, t32.length); + for (let e3 = 0, r3 = t32.length; e3 < r3; e3++) o2._ofree(n3[e3]); + o2._ofree(i22), o2._ofree(r22), 0 === a22 && function(t4) { + throw new Error(t4.UTF8ToString(t4._getLastOnigError())); + }(o2), this._onigBinding = o2, this._ptr = a22; } dispose() { this._onigBinding._freeOnigScanner(this._ptr); } - findNextMatchSync(t5, n4, e3) { - let r3 = a2, i3 = 0; - if ("number" == typeof e3 ? (8 & e3 && (r3 = true), i3 = e3) : "boolean" == typeof e3 && (r3 = e3), "string" == typeof t5) { - t5 = new s3(t5); - const e4 = this._findNextMatchSync(t5, n4, r3, i3); - return t5.dispose(), e4; + findNextMatchSync(t32, n3, e22) { + let r22 = a2, i22 = 0; + if ("number" == typeof e22 ? (8 & e22 && (r22 = true), i22 = e22) : "boolean" == typeof e22 && (r22 = e22), "string" == typeof t32) { + t32 = new s3(t32); + const e3 = this._findNextMatchSync(t32, n3, r22, i22); + return t32.dispose(), e3; } - return this._findNextMatchSync(t5, n4, r3, i3); + return this._findNextMatchSync(t32, n3, r22, i22); } - _findNextMatchSync(t5, n4, e3, r3) { - const i3 = this._onigBinding; - let o3; - if (o3 = e3 ? i3._findNextOnigScannerMatchDbg(this._ptr, t5.id, t5.ptr, t5.utf8Length, t5.convertUtf16OffsetToUtf8(n4), r3) : i3._findNextOnigScannerMatch(this._ptr, t5.id, t5.ptr, t5.utf8Length, t5.convertUtf16OffsetToUtf8(n4), r3), 0 === o3) - return null; - const a3 = i3.HEAPU32; - let f3 = o3 / 4; - const s4 = a3[f3++], u4 = a3[f3++]; - let c3 = []; - for (let n5 = 0; n5 < u4; n5++) { - const e4 = t5.convertUtf8OffsetToUtf16(a3[f3++]), r4 = t5.convertUtf8OffsetToUtf16(a3[f3++]); - c3[n5] = { start: e4, end: r4, length: r4 - e4 }; + _findNextMatchSync(t32, n3, e22, r22) { + const i22 = this._onigBinding; + let o22; + if (o22 = e22 ? i22._findNextOnigScannerMatchDbg(this._ptr, t32.id, t32.ptr, t32.utf8Length, t32.convertUtf16OffsetToUtf8(n3), r22) : i22._findNextOnigScannerMatch(this._ptr, t32.id, t32.ptr, t32.utf8Length, t32.convertUtf16OffsetToUtf8(n3), r22), 0 === o22) return null; + const a22 = i22.HEAPU32; + let f22 = o22 / 4; + const s22 = a22[f22++], u22 = a22[f22++]; + let c22 = []; + for (let n4 = 0; n4 < u22; n4++) { + const e3 = t32.convertUtf8OffsetToUtf16(a22[f22++]), r3 = t32.convertUtf8OffsetToUtf16(a22[f22++]); + c22[n4] = { start: e3, end: r3, length: r3 - e3 }; } - return { index: s4, captureIndices: c3 }; + return { index: s22, captureIndices: c22 }; } } - n3.OnigScanner = u3; + n22.OnigScanner = u3; let c2 = false, l2 = null; - n3.loadWASM = function(t5) { - if (c2) - return l2; - let n4, e3, r3, a3; - if (c2 = true, function(t6) { - return "function" == typeof t6.instantiator; - }(t5)) - n4 = t5.instantiator, e3 = t5.print; + n22.loadWASM = function(t32) { + if (c2) return l2; + let n3, e22, r22, a22; + if (c2 = true, function(t4) { + return "function" == typeof t4.instantiator; + }(t32)) n3 = t32.instantiator, e22 = t32.print; else { - let r4; - !function(t6) { - return void 0 !== t6.data; - }(t5) ? r4 = t5 : (r4 = t5.data, e3 = t5.print), n4 = function(t6) { - return "undefined" != typeof Response && t6 instanceof Response; - }(r4) ? "function" == typeof WebAssembly.instantiateStreaming ? function(t6) { - return (n5) => WebAssembly.instantiateStreaming(t6, n5); - }(r4) : function(t6) { - return async (n5) => { - const e4 = await t6.arrayBuffer(); - return WebAssembly.instantiate(e4, n5); + let r3; + !function(t4) { + return void 0 !== t4.data; + }(t32) ? r3 = t32 : (r3 = t32.data, e22 = t32.print), n3 = function(t4) { + return "undefined" != typeof Response && t4 instanceof Response; + }(r3) ? "function" == typeof WebAssembly.instantiateStreaming ? /* @__PURE__ */ function(t4) { + return (n4) => WebAssembly.instantiateStreaming(t4, n4); + }(r3) : /* @__PURE__ */ function(t4) { + return async (n4) => { + const e3 = await t4.arrayBuffer(); + return WebAssembly.instantiate(e3, n4); }; - }(r4) : function(t6) { - return (n5) => WebAssembly.instantiate(t6, n5); - }(r4); - } - return l2 = new Promise((t6, n5) => { - r3 = t6, a3 = n5; - }), function(t6, n5, e4, r4) { - (0, i2.default)({ print: n5, instantiateWasm: (n6, e5) => { + }(r3) : /* @__PURE__ */ function(t4) { + return (n4) => WebAssembly.instantiate(t4, n4); + }(r3); + } + return l2 = new Promise((t4, n4) => { + r22 = t4, a22 = n4; + }), function(t4, n4, e3, r3) { + (0, i2.default)({ print: n4, instantiateWasm: (n5, e4) => { if ("undefined" == typeof performance) { - const t7 = () => Date.now(); - n6.env.emscripten_get_now = t7, n6.wasi_snapshot_preview1.emscripten_get_now = t7; + const t5 = () => Date.now(); + n5.env.emscripten_get_now = t5, n5.wasi_snapshot_preview1.emscripten_get_now = t5; } - return t6(n6).then((t7) => e5(t7.instance), r4), {}; - } }).then((t7) => { - o2 = t7, e4(); + return t4(n5).then((t5) => e4(t5.instance), r3), {}; + } }).then((t5) => { + o2 = t5, e3(); }); - }(n4, e3, r3, a3), l2; - }, n3.createOnigString = function(t5) { - return new s3(t5); - }, n3.createOnigScanner = function(t5) { - return new u3(t5); - }, n3.setDefaultDebugCall = function(t5) { - a2 = t5; + }(n3, e22, r22, a22), l2; + }, n22.createOnigString = function(t32) { + return new s3(t32); + }, n22.createOnigScanner = function(t32) { + return new u3(t32); + }, n22.setDefaultDebugCall = function(t32) { + a2 = t32; }; - }, 418: (t4) => { - var n3 = ("undefined" != typeof document && document.currentScript && document.currentScript.src, function(t5) { - var n4, e2, r2 = void 0 !== (t5 = t5 || {}) ? t5 : {}; - r2.ready = new Promise(function(t6, r3) { - n4 = t6, e2 = r3; + }, 418: (t22) => { + var n22 = ("undefined" != typeof document && document.currentScript && document.currentScript.src, function(t32) { + var n3, e2, r2 = void 0 !== (t32 = t32 || {}) ? t32 : {}; + r2.ready = new Promise(function(t4, r22) { + n3 = t4, e2 = r22; }); var i2, o2 = Object.assign({}, r2), s3 = false, c2 = ""; - function l2(t6) { - return r2.locateFile ? r2.locateFile(t6, c2) : c2 + t6; + function l2(t4) { + return r2.locateFile ? r2.locateFile(t4, c2) : c2 + t4; } - i2 = function(t6) { - let n5; - return "function" == typeof readbuffer ? new Uint8Array(readbuffer(t6)) : (n5 = read(t6, "binary"), m2("object" == typeof n5), n5); + i2 = function(t4) { + let n4; + return "function" == typeof readbuffer ? new Uint8Array(readbuffer(t4)) : (n4 = read(t4, "binary"), m2("object" == typeof n4), n4); }, "undefined" != typeof scriptArgs ? scriptArgs : void 0 !== arguments && arguments, "undefined" != typeof onig_print && ("undefined" == typeof console && (console = {}), console.log = onig_print, console.warn = console.error = "undefined" != typeof printErr ? printErr : onig_print); var h2, p2, d2 = r2.print || console.log.bind(console), g2 = r2.printErr || console.warn.bind(console); Object.assign(r2, o2), o2 = null, r2.arguments && r2.arguments, r2.thisProgram && r2.thisProgram, r2.quit && r2.quit, r2.wasmBinary && (h2 = r2.wasmBinary), r2.noExitRuntime, "object" != typeof WebAssembly && k2("no native wasm support detected"); var _2 = false; - function m2(t6, n5) { - t6 || k2(n5); + function m2(t4, n4) { + t4 || k2(n4); } var y2, w2, S2, v2 = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0; - function A2(t6, n5, e3) { - for (var r3 = n5 + e3, i3 = n5; t6[i3] && !(i3 >= r3); ) - ++i3; - if (i3 - n5 > 16 && t6.buffer && v2) - return v2.decode(t6.subarray(n5, i3)); - for (var o3 = ""; n5 < i3; ) { - var a2 = t6[n5++]; + function A2(t4, n4, e22) { + for (var r22 = n4 + e22, i22 = n4; t4[i22] && !(i22 >= r22); ) ++i22; + if (i22 - n4 > 16 && t4.buffer && v2) return v2.decode(t4.subarray(n4, i22)); + for (var o22 = ""; n4 < i22; ) { + var a2 = t4[n4++]; if (128 & a2) { - var f2 = 63 & t6[n5++]; + var f2 = 63 & t4[n4++]; if (192 != (224 & a2)) { - var s4 = 63 & t6[n5++]; - if ((a2 = 224 == (240 & a2) ? (15 & a2) << 12 | f2 << 6 | s4 : (7 & a2) << 18 | f2 << 12 | s4 << 6 | 63 & t6[n5++]) < 65536) - o3 += String.fromCharCode(a2); + var s22 = 63 & t4[n4++]; + if ((a2 = 224 == (240 & a2) ? (15 & a2) << 12 | f2 << 6 | s22 : (7 & a2) << 18 | f2 << 12 | s22 << 6 | 63 & t4[n4++]) < 65536) o22 += String.fromCharCode(a2); else { var u3 = a2 - 65536; - o3 += String.fromCharCode(55296 | u3 >> 10, 56320 | 1023 & u3); + o22 += String.fromCharCode(55296 | u3 >> 10, 56320 | 1023 & u3); } - } else - o3 += String.fromCharCode((31 & a2) << 6 | f2); - } else - o3 += String.fromCharCode(a2); + } else o22 += String.fromCharCode((31 & a2) << 6 | f2); + } else o22 += String.fromCharCode(a2); } - return o3; + return o22; } - function b3(t6, n5) { - return t6 ? A2(w2, t6, n5) : ""; + function b3(t4, n4) { + return t4 ? A2(w2, t4, n4) : ""; } - function O3(t6) { - y2 = t6, r2.HEAP8 = new Int8Array(t6), r2.HEAP16 = new Int16Array(t6), r2.HEAP32 = new Int32Array(t6), r2.HEAPU8 = w2 = new Uint8Array(t6), r2.HEAPU16 = new Uint16Array(t6), r2.HEAPU32 = S2 = new Uint32Array(t6), r2.HEAPF32 = new Float32Array(t6), r2.HEAPF64 = new Float64Array(t6); + function O3(t4) { + y2 = t4, r2.HEAP8 = new Int8Array(t4), r2.HEAP16 = new Int16Array(t4), r2.HEAP32 = new Int32Array(t4), r2.HEAPU8 = w2 = new Uint8Array(t4), r2.HEAPU16 = new Uint16Array(t4), r2.HEAPU32 = S2 = new Uint32Array(t4), r2.HEAPF32 = new Float32Array(t4), r2.HEAPF64 = new Float64Array(t4); } r2.INITIAL_MEMORY; var U2 = [], P2 = [], R3 = []; function x2() { - if (r2.preRun) - for ("function" == typeof r2.preRun && (r2.preRun = [r2.preRun]); r2.preRun.length; ) - M2(r2.preRun.shift()); + if (r2.preRun) for ("function" == typeof r2.preRun && (r2.preRun = [r2.preRun]); r2.preRun.length; ) M2(r2.preRun.shift()); G2(U2); } function T3() { G2(P2); } function E2() { - if (r2.postRun) - for ("function" == typeof r2.postRun && (r2.postRun = [r2.postRun]); r2.postRun.length; ) - I2(r2.postRun.shift()); + if (r2.postRun) for ("function" == typeof r2.postRun && (r2.postRun = [r2.postRun]); r2.postRun.length; ) I2(r2.postRun.shift()); G2(R3); } - function M2(t6) { - U2.unshift(t6); + function M2(t4) { + U2.unshift(t4); } - function L2(t6) { - P2.unshift(t6); + function L2(t4) { + P2.unshift(t4); } - function I2(t6) { - R3.unshift(t6); + function I2(t4) { + R3.unshift(t4); } var W2 = 0, C2 = null; - function N3(t6) { + function N3(t4) { W2++, r2.monitorRunDependencies && r2.monitorRunDependencies(W2); } - function j2(t6) { + function j2(t4) { if (W2--, r2.monitorRunDependencies && r2.monitorRunDependencies(W2), 0 == W2 && C2) { - var n5 = C2; - C2 = null, n5(); + var n4 = C2; + C2 = null, n4(); } } - function k2(t6) { - r2.onAbort && r2.onAbort(t6), g2(t6 = "Aborted(" + t6 + ")"), _2 = true, t6 += ". Build with -sASSERTIONS for more info."; - var n5 = new WebAssembly.RuntimeError(t6); - throw e2(n5), n5; + function k2(t4) { + r2.onAbort && r2.onAbort(t4), g2(t4 = "Aborted(" + t4 + ")"), _2 = true, t4 += ". Build with -sASSERTIONS for more info."; + var n4 = new WebAssembly.RuntimeError(t4); + throw e2(n4), n4; } var B2, H3, F3 = "data:application/octet-stream;base64,"; - function V2(t6) { - return t6.startsWith(F3); + function V2(t4) { + return t4.startsWith(F3); } - function z3(t6) { + function z3(t4) { try { - if (t6 == B2 && h2) - return new Uint8Array(h2); - if (i2) - return i2(t6); + if (t4 == B2 && h2) return new Uint8Array(h2); + if (i2) return i2(t4); throw "both async and sync fetching of the wasm failed"; - } catch (t7) { - k2(t7); + } catch (t5) { + k2(t5); } } function q3() { return h2 || !s3 || "function" != typeof fetch ? Promise.resolve().then(function() { return z3(B2); - }) : fetch(B2, { credentials: "same-origin" }).then(function(t6) { - if (!t6.ok) - throw "failed to load wasm binary file at '" + B2 + "'"; - return t6.arrayBuffer(); + }) : fetch(B2, { credentials: "same-origin" }).then(function(t4) { + if (!t4.ok) throw "failed to load wasm binary file at '" + B2 + "'"; + return t4.arrayBuffer(); }).catch(function() { return z3(B2); }); } function Y2() { - var t6 = { env: nt, wasi_snapshot_preview1: nt }; - function n5(t7, n6) { - var e3 = t7.exports; - r2.asm = e3, O3((p2 = r2.asm.memory).buffer), r2.asm.__indirect_function_table, L2(r2.asm.__wasm_call_ctors), j2(); - } - function i3(t7) { - n5(t7.instance); - } - function o3(n6) { - return q3().then(function(n7) { - return WebAssembly.instantiate(n7, t6); - }).then(function(t7) { - return t7; - }).then(n6, function(t7) { - g2("failed to asynchronously prepare wasm: " + t7), k2(t7); + var t4 = { env: nt, wasi_snapshot_preview1: nt }; + function n4(t5, n5) { + var e22 = t5.exports; + r2.asm = e22, O3((p2 = r2.asm.memory).buffer), r2.asm.__indirect_function_table, L2(r2.asm.__wasm_call_ctors), j2(); + } + function i22(t5) { + n4(t5.instance); + } + function o22(n5) { + return q3().then(function(n6) { + return WebAssembly.instantiate(n6, t4); + }).then(function(t5) { + return t5; + }).then(n5, function(t5) { + g2("failed to asynchronously prepare wasm: " + t5), k2(t5); }); } - if (N3(), r2.instantiateWasm) - try { - return r2.instantiateWasm(t6, n5); - } catch (t7) { - g2("Module.instantiateWasm callback failed with error: " + t7), e2(t7); - } - return (h2 || "function" != typeof WebAssembly.instantiateStreaming || V2(B2) || "function" != typeof fetch ? o3(i3) : fetch(B2, { credentials: "same-origin" }).then(function(n6) { - return WebAssembly.instantiateStreaming(n6, t6).then(i3, function(t7) { - return g2("wasm streaming compile failed: " + t7), g2("falling back to ArrayBuffer instantiation"), o3(i3); + if (N3(), r2.instantiateWasm) try { + return r2.instantiateWasm(t4, n4); + } catch (t5) { + g2("Module.instantiateWasm callback failed with error: " + t5), e2(t5); + } + return (h2 || "function" != typeof WebAssembly.instantiateStreaming || V2(B2) || "function" != typeof fetch ? o22(i22) : fetch(B2, { credentials: "same-origin" }).then(function(n5) { + return WebAssembly.instantiateStreaming(n5, t4).then(i22, function(t5) { + return g2("wasm streaming compile failed: " + t5), g2("falling back to ArrayBuffer instantiation"), o22(i22); }); })).catch(e2), {}; } - function G2(t6) { - for (; t6.length > 0; ) - t6.shift()(r2); + function G2(t4) { + for (; t4.length > 0; ) t4.shift()(r2); } - function J3(t6, n5, e3) { - w2.copyWithin(t6, n5, n5 + e3); + function J3(t4, n4, e22) { + w2.copyWithin(t4, n4, n4 + e22); } - function K2(t6) { + function K2(t4) { try { - return p2.grow(t6 - y2.byteLength + 65535 >>> 16), O3(p2.buffer), 1; - } catch (t7) { + return p2.grow(t4 - y2.byteLength + 65535 >>> 16), O3(p2.buffer), 1; + } catch (t5) { } } - function Q2(t6) { - var n5, e3 = w2.length, r3 = 2147483648; - if ((t6 >>>= 0) > r3) - return false; - for (var i3 = 1; i3 <= 4; i3 *= 2) { - var o3 = e3 * (1 + 0.2 / i3); - if (o3 = Math.min(o3, t6 + 100663296), K2(Math.min(r3, (n5 = Math.max(t6, o3)) + (65536 - n5 % 65536) % 65536))) - return true; + function Q2(t4) { + var n4, e22 = w2.length, r22 = 2147483648; + if ((t4 >>>= 0) > r22) return false; + for (var i22 = 1; i22 <= 4; i22 *= 2) { + var o22 = e22 * (1 + 0.2 / i22); + if (o22 = Math.min(o22, t4 + 100663296), K2(Math.min(r22, (n4 = Math.max(t4, o22)) + (65536 - n4 % 65536) % 65536))) return true; } return false; } V2(B2 = "onig.wasm") || (B2 = l2(B2)), H3 = "undefined" != typeof dateNow ? dateNow : () => performance.now(); var X2 = [null, [], []]; - function Z3(t6, n5) { - var e3 = X2[t6]; - 0 === n5 || 10 === n5 ? ((1 === t6 ? d2 : g2)(A2(e3, 0)), e3.length = 0) : e3.push(n5); + function Z3(t4, n4) { + var e22 = X2[t4]; + 0 === n4 || 10 === n4 ? ((1 === t4 ? d2 : g2)(A2(e22, 0)), e22.length = 0) : e22.push(n4); } - function $2(t6, n5, e3, r3) { - for (var i3 = 0, o3 = 0; o3 < e3; o3++) { - var a2 = S2[n5 >> 2], f2 = S2[n5 + 4 >> 2]; - n5 += 8; - for (var s4 = 0; s4 < f2; s4++) - Z3(t6, w2[a2 + s4]); - i3 += f2; + function $2(t4, n4, e22, r22) { + for (var i22 = 0, o22 = 0; o22 < e22; o22++) { + var a2 = S2[n4 >> 2], f2 = S2[n4 + 4 >> 2]; + n4 += 8; + for (var s22 = 0; s22 < f2; s22++) Z3(t4, w2[a2 + s22]); + i22 += f2; } - return S2[r3 >> 2] = i3, 0; + return S2[r22 >> 2] = i22, 0; } var tt2, nt = { emscripten_get_now: H3, emscripten_memcpy_big: J3, emscripten_resize_heap: Q2, fd_write: $2 }; - function et(t6) { - function e3() { - tt2 || (tt2 = true, r2.calledRun = true, _2 || (T3(), n4(r2), r2.onRuntimeInitialized && r2.onRuntimeInitialized(), E2())); + function et(t4) { + function e22() { + tt2 || (tt2 = true, r2.calledRun = true, _2 || (T3(), n3(r2), r2.onRuntimeInitialized && r2.onRuntimeInitialized(), E2())); } W2 > 0 || (x2(), W2 > 0 || (r2.setStatus ? (r2.setStatus("Running..."), setTimeout(function() { setTimeout(function() { r2.setStatus(""); - }, 1), e3(); - }, 1)) : e3())); + }, 1), e22(); + }, 1)) : e22())); } if (Y2(), r2.___wasm_call_ctors = function() { return (r2.___wasm_call_ctors = r2.asm.__wasm_call_ctors).apply(null, arguments); @@ -97349,18 +97536,15 @@ var main$1 = { return (r2.stackAlloc = r2.asm.stackAlloc).apply(null, arguments); }, r2.dynCall_jiji = function() { return (r2.dynCall_jiji = r2.asm.dynCall_jiji).apply(null, arguments); - }, r2.UTF8ToString = b3, C2 = function t6() { - tt2 || et(), tt2 || (C2 = t6); - }, r2.preInit) - for ("function" == typeof r2.preInit && (r2.preInit = [r2.preInit]); r2.preInit.length > 0; ) - r2.preInit.pop()(); - return et(), t5.ready; + }, r2.UTF8ToString = b3, C2 = function t4() { + tt2 || et(), tt2 || (C2 = t4); + }, r2.preInit) for ("function" == typeof r2.preInit && (r2.preInit = [r2.preInit]); r2.preInit.length > 0; ) r2.preInit.pop()(); + return et(), t32.ready; }); - t4.exports = n3; + t22.exports = n22; } }, n2 = {}, function e2(r2) { var i2 = n2[r2]; - if (void 0 !== i2) - return i2.exports; + if (void 0 !== i2) return i2.exports; var o2 = n2[r2] = { exports: {} }; return t3[r2].call(o2.exports, o2, o2.exports, e2), o2.exports; }(770); @@ -97381,66 +97565,64 @@ var main = { module2.exports = t3(); }(commonjsGlobal, function() { return (() => { - var e2 = { 350: (e3, t4) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.UseOnigurumaFindOptions = t4.DebugFlags = void 0, t4.DebugFlags = { InDebugMode: "undefined" != typeof process && !!{}.VSCODE_TEXTMATE_DEBUG }, t4.UseOnigurumaFindOptions = false; - }, 36: (e3, t4) => { + var e2 = { 350: (e22, t22) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.UseOnigurumaFindOptions = t22.DebugFlags = void 0, t22.DebugFlags = { InDebugMode: "undefined" != typeof process && !!define_process_env_default.VSCODE_TEXTMATE_DEBUG }, t22.UseOnigurumaFindOptions = false; + }, 36: (e22, t22) => { var n2; - Object.defineProperty(t4, "__esModule", { value: true }), t4.toOptionalTokenType = t4.EncodedTokenAttributes = void 0, (n2 = t4.EncodedTokenAttributes || (t4.EncodedTokenAttributes = {})).toBinaryStr = function(e4) { - let t5 = e4.toString(2); - for (; t5.length < 32; ) - t5 = "0" + t5; - return t5; - }, n2.print = function(e4) { - const t5 = n2.getLanguageId(e4), s3 = n2.getTokenType(e4), r2 = n2.getFontStyle(e4), i2 = n2.getForeground(e4), o2 = n2.getBackground(e4); - console.log({ languageId: t5, tokenType: s3, fontStyle: r2, foreground: i2, background: o2 }); - }, n2.getLanguageId = function(e4) { - return (255 & e4) >>> 0; - }, n2.getTokenType = function(e4) { - return (768 & e4) >>> 8; - }, n2.containsBalancedBrackets = function(e4) { - return 0 != (1024 & e4); - }, n2.getFontStyle = function(e4) { - return (30720 & e4) >>> 11; - }, n2.getForeground = function(e4) { - return (16744448 & e4) >>> 15; - }, n2.getBackground = function(e4) { - return (4278190080 & e4) >>> 24; - }, n2.set = function(e4, t5, s3, r2, i2, o2, c2) { - let a2 = n2.getLanguageId(e4), l2 = n2.getTokenType(e4), u3 = n2.containsBalancedBrackets(e4) ? 1 : 0, h2 = n2.getFontStyle(e4), p2 = n2.getForeground(e4), d2 = n2.getBackground(e4); - return 0 !== t5 && (a2 = t5), 8 !== s3 && (l2 = s3), null !== r2 && (u3 = r2 ? 1 : 0), -1 !== i2 && (h2 = i2), 0 !== o2 && (p2 = o2), 0 !== c2 && (d2 = c2), (a2 << 0 | l2 << 8 | u3 << 10 | h2 << 11 | p2 << 15 | d2 << 24) >>> 0; - }, t4.toOptionalTokenType = function(e4) { - return e4; + Object.defineProperty(t22, "__esModule", { value: true }), t22.toOptionalTokenType = t22.EncodedTokenAttributes = void 0, (n2 = t22.EncodedTokenAttributes || (t22.EncodedTokenAttributes = {})).toBinaryStr = function(e3) { + let t32 = e3.toString(2); + for (; t32.length < 32; ) t32 = "0" + t32; + return t32; + }, n2.print = function(e3) { + const t32 = n2.getLanguageId(e3), s3 = n2.getTokenType(e3), r2 = n2.getFontStyle(e3), i2 = n2.getForeground(e3), o2 = n2.getBackground(e3); + console.log({ languageId: t32, tokenType: s3, fontStyle: r2, foreground: i2, background: o2 }); + }, n2.getLanguageId = function(e3) { + return (255 & e3) >>> 0; + }, n2.getTokenType = function(e3) { + return (768 & e3) >>> 8; + }, n2.containsBalancedBrackets = function(e3) { + return 0 != (1024 & e3); + }, n2.getFontStyle = function(e3) { + return (30720 & e3) >>> 11; + }, n2.getForeground = function(e3) { + return (16744448 & e3) >>> 15; + }, n2.getBackground = function(e3) { + return (4278190080 & e3) >>> 24; + }, n2.set = function(e3, t32, s3, r2, i2, o2, c2) { + let a2 = n2.getLanguageId(e3), l2 = n2.getTokenType(e3), u3 = n2.containsBalancedBrackets(e3) ? 1 : 0, h2 = n2.getFontStyle(e3), p2 = n2.getForeground(e3), d2 = n2.getBackground(e3); + return 0 !== t32 && (a2 = t32), 8 !== s3 && (l2 = s3), null !== r2 && (u3 = r2 ? 1 : 0), -1 !== i2 && (h2 = i2), 0 !== o2 && (p2 = o2), 0 !== c2 && (d2 = c2), (a2 << 0 | l2 << 8 | u3 << 10 | h2 << 11 | p2 << 15 | d2 << 24) >>> 0; + }, t22.toOptionalTokenType = function(e3) { + return e3; }; - }, 996: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.BasicScopeAttributesProvider = t4.BasicScopeAttributes = void 0; + }, 996: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.BasicScopeAttributesProvider = t22.BasicScopeAttributes = void 0; const s3 = n2(878); class r2 { - constructor(e4, t5) { - this.languageId = e4, this.tokenType = t5; + constructor(e3, t32) { + this.languageId = e3, this.tokenType = t32; } } - t4.BasicScopeAttributes = r2; + t22.BasicScopeAttributes = r2; class i2 { - constructor(e4, t5) { - this._getBasicScopeAttributes = new s3.CachedFn((e5) => { - const t6 = this._scopeToLanguage(e5), n3 = this._toStandardTokenType(e5); - return new r2(t6, n3); - }), this._defaultAttributes = new r2(e4, 8), this._embeddedLanguagesMatcher = new o2(Object.entries(t5 || {})); + constructor(e3, t32) { + this._getBasicScopeAttributes = new s3.CachedFn((e4) => { + const t4 = this._scopeToLanguage(e4), n22 = this._toStandardTokenType(e4); + return new r2(t4, n22); + }), this._defaultAttributes = new r2(e3, 8), this._embeddedLanguagesMatcher = new o2(Object.entries(t32 || {})); } getDefaultAttributes() { return this._defaultAttributes; } - getBasicScopeAttributes(e4) { - return null === e4 ? i2._NULL_SCOPE_METADATA : this._getBasicScopeAttributes.get(e4); + getBasicScopeAttributes(e3) { + return null === e3 ? i2._NULL_SCOPE_METADATA : this._getBasicScopeAttributes.get(e3); } - _scopeToLanguage(e4) { - return this._embeddedLanguagesMatcher.match(e4) || 0; + _scopeToLanguage(e3) { + return this._embeddedLanguagesMatcher.match(e3) || 0; } - _toStandardTokenType(e4) { - const t5 = e4.match(i2.STANDARD_TOKEN_TYPE_REGEXP); - if (!t5) - return 8; - switch (t5[1]) { + _toStandardTokenType(e3) { + const t32 = e3.match(i2.STANDARD_TOKEN_TYPE_REGEXP); + if (!t32) return 8; + switch (t32[1]) { case "comment": return 1; case "string": @@ -97453,231 +97635,202 @@ var main = { throw new Error("Unexpected match for standard token type!"); } } - t4.BasicScopeAttributesProvider = i2, i2._NULL_SCOPE_METADATA = new r2(0, 0), i2.STANDARD_TOKEN_TYPE_REGEXP = /\b(comment|string|regex|meta\.embedded)\b/; + t22.BasicScopeAttributesProvider = i2, i2._NULL_SCOPE_METADATA = new r2(0, 0), i2.STANDARD_TOKEN_TYPE_REGEXP = /\b(comment|string|regex|meta\.embedded)\b/; class o2 { - constructor(e4) { - if (0 === e4.length) - this.values = null, this.scopesRegExp = null; + constructor(e3) { + if (0 === e3.length) this.values = null, this.scopesRegExp = null; else { - this.values = new Map(e4); - const t5 = e4.map(([e5, t6]) => s3.escapeRegExpCharacters(e5)); - t5.sort(), t5.reverse(), this.scopesRegExp = new RegExp(`^((${t5.join(")|(")}))($|\\.)`, ""); + this.values = new Map(e3); + const t32 = e3.map(([e4, t4]) => s3.escapeRegExpCharacters(e4)); + t32.sort(), t32.reverse(), this.scopesRegExp = new RegExp(`^((${t32.join(")|(")}))($|\\.)`, ""); } } - match(e4) { - if (!this.scopesRegExp) - return; - const t5 = e4.match(this.scopesRegExp); - return t5 ? this.values.get(t5[1]) : void 0; + match(e3) { + if (!this.scopesRegExp) return; + const t32 = e3.match(this.scopesRegExp); + return t32 ? this.values.get(t32[1]) : void 0; } } - }, 947: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.LineTokens = t4.BalancedBracketSelectors = t4.StateStack = t4.AttributedScopeStack = t4.Grammar = t4.createGrammar = void 0; + }, 947: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.LineTokens = t22.BalancedBracketSelectors = t22.StateStack = t22.AttributedScopeStack = t22.Grammar = t22.createGrammar = void 0; const s3 = n2(350), r2 = n2(36), i2 = n2(736), o2 = n2(44), c2 = n2(792), a2 = n2(583), l2 = n2(878), u3 = n2(996), h2 = n2(47); - function p2(e4, t5, n3, s4, r3) { - const o3 = i2.createMatchers(t5, d2), a3 = c2.RuleFactory.getCompiledRuleId(n3, s4, r3.repository); - for (const n4 of o3) - e4.push({ debugSelector: t5, matcher: n4.matcher, ruleId: a3, grammar: r3, priority: n4.priority }); - } - function d2(e4, t5) { - if (t5.length < e4.length) - return false; - let n3 = 0; - return e4.every((e5) => { - for (let s4 = n3; s4 < t5.length; s4++) - if (f2(t5[s4], e5)) - return n3 = s4 + 1, true; + function p2(e3, t32, n22, s22, r22) { + const o22 = i2.createMatchers(t32, d2), a22 = c2.RuleFactory.getCompiledRuleId(n22, s22, r22.repository); + for (const n3 of o22) e3.push({ debugSelector: t32, matcher: n3.matcher, ruleId: a22, grammar: r22, priority: n3.priority }); + } + function d2(e3, t32) { + if (t32.length < e3.length) return false; + let n22 = 0; + return e3.every((e4) => { + for (let s22 = n22; s22 < t32.length; s22++) if (f2(t32[s22], e4)) return n22 = s22 + 1, true; return false; }); } - function f2(e4, t5) { - if (!e4) - return false; - if (e4 === t5) - return true; - const n3 = t5.length; - return e4.length > n3 && e4.substr(0, n3) === t5 && "." === e4[n3]; + function f2(e3, t32) { + if (!e3) return false; + if (e3 === t32) return true; + const n22 = t32.length; + return e3.length > n22 && e3.substr(0, n22) === t32 && "." === e3[n22]; } - t4.createGrammar = function(e4, t5, n3, s4, r3, i3, o3, c3) { - return new g2(e4, t5, n3, s4, r3, i3, o3, c3); + t22.createGrammar = function(e3, t32, n22, s22, r22, i22, o22, c22) { + return new g2(e3, t32, n22, s22, r22, i22, o22, c22); }; class g2 { - constructor(e4, t5, n3, s4, r3, o3, c3, a3) { - if (this._rootScopeName = e4, this.balancedBracketSelectors = o3, this._onigLib = a3, this._basicScopeAttributesProvider = new u3.BasicScopeAttributesProvider(n3, s4), this._rootId = -1, this._lastRuleId = 0, this._ruleId2desc = [null], this._includedGrammars = {}, this._grammarRepository = c3, this._grammar = m2(t5, null), this._injections = null, this._tokenTypeMatchers = [], r3) - for (const e5 of Object.keys(r3)) { - const t6 = i2.createMatchers(e5, d2); - for (const n4 of t6) - this._tokenTypeMatchers.push({ matcher: n4.matcher, type: r3[e5] }); - } + constructor(e3, t32, n22, s22, r22, o22, c22, a22) { + if (this._rootScopeName = e3, this.balancedBracketSelectors = o22, this._onigLib = a22, this._basicScopeAttributesProvider = new u3.BasicScopeAttributesProvider(n22, s22), this._rootId = -1, this._lastRuleId = 0, this._ruleId2desc = [null], this._includedGrammars = {}, this._grammarRepository = c22, this._grammar = m2(t32, null), this._injections = null, this._tokenTypeMatchers = [], r22) for (const e4 of Object.keys(r22)) { + const t4 = i2.createMatchers(e4, d2); + for (const n3 of t4) this._tokenTypeMatchers.push({ matcher: n3.matcher, type: r22[e4] }); + } } get themeProvider() { return this._grammarRepository; } dispose() { - for (const e4 of this._ruleId2desc) - e4 && e4.dispose(); + for (const e3 of this._ruleId2desc) e3 && e3.dispose(); } - createOnigScanner(e4) { - return this._onigLib.createOnigScanner(e4); + createOnigScanner(e3) { + return this._onigLib.createOnigScanner(e3); } - createOnigString(e4) { - return this._onigLib.createOnigString(e4); + createOnigString(e3) { + return this._onigLib.createOnigString(e3); } - getMetadataForScope(e4) { - return this._basicScopeAttributesProvider.getBasicScopeAttributes(e4); + getMetadataForScope(e3) { + return this._basicScopeAttributesProvider.getBasicScopeAttributes(e3); } _collectInjections() { - const e4 = [], t5 = this._rootScopeName, n3 = ((e5) => e5 === this._rootScopeName ? this._grammar : this.getExternalGrammar(e5))(t5); - if (n3) { - const s4 = n3.injections; - if (s4) - for (let t6 in s4) - p2(e4, t6, s4[t6], this, n3); - const r3 = this._grammarRepository.injections(t5); - r3 && r3.forEach((t6) => { - const n4 = this.getExternalGrammar(t6); - if (n4) { - const t7 = n4.injectionSelector; - t7 && p2(e4, t7, n4, this, n4); + const e3 = [], t32 = this._rootScopeName, n22 = ((e4) => e4 === this._rootScopeName ? this._grammar : this.getExternalGrammar(e4))(t32); + if (n22) { + const s22 = n22.injections; + if (s22) for (let t4 in s22) p2(e3, t4, s22[t4], this, n22); + const r22 = this._grammarRepository.injections(t32); + r22 && r22.forEach((t4) => { + const n3 = this.getExternalGrammar(t4); + if (n3) { + const t5 = n3.injectionSelector; + t5 && p2(e3, t5, n3, this, n3); } }); } - return e4.sort((e5, t6) => e5.priority - t6.priority), e4; + return e3.sort((e4, t4) => e4.priority - t4.priority), e3; } getInjections() { if (null === this._injections && (this._injections = this._collectInjections(), s3.DebugFlags.InDebugMode && this._injections.length > 0)) { console.log(`Grammar ${this._rootScopeName} contains the following injections:`); - for (const e4 of this._injections) - console.log(` - ${e4.debugSelector}`); + for (const e3 of this._injections) console.log(` - ${e3.debugSelector}`); } return this._injections; } - registerRule(e4) { - const t5 = ++this._lastRuleId, n3 = e4(c2.ruleIdFromNumber(t5)); - return this._ruleId2desc[t5] = n3, n3; + registerRule(e3) { + const t32 = ++this._lastRuleId, n22 = e3(c2.ruleIdFromNumber(t32)); + return this._ruleId2desc[t32] = n22, n22; } - getRule(e4) { - return this._ruleId2desc[c2.ruleIdToNumber(e4)]; + getRule(e3) { + return this._ruleId2desc[c2.ruleIdToNumber(e3)]; } - getExternalGrammar(e4, t5) { - if (this._includedGrammars[e4]) - return this._includedGrammars[e4]; + getExternalGrammar(e3, t32) { + if (this._includedGrammars[e3]) return this._includedGrammars[e3]; if (this._grammarRepository) { - const n3 = this._grammarRepository.lookup(e4); - if (n3) - return this._includedGrammars[e4] = m2(n3, t5 && t5.$base), this._includedGrammars[e4]; + const n22 = this._grammarRepository.lookup(e3); + if (n22) return this._includedGrammars[e3] = m2(n22, t32 && t32.$base), this._includedGrammars[e3]; } } - tokenizeLine(e4, t5, n3 = 0) { - const s4 = this._tokenize(e4, t5, false, n3); - return { tokens: s4.lineTokens.getResult(s4.ruleStack, s4.lineLength), ruleStack: s4.ruleStack, stoppedEarly: s4.stoppedEarly }; + tokenizeLine(e3, t32, n22 = 0) { + const s22 = this._tokenize(e3, t32, false, n22); + return { tokens: s22.lineTokens.getResult(s22.ruleStack, s22.lineLength), ruleStack: s22.ruleStack, stoppedEarly: s22.stoppedEarly }; } - tokenizeLine2(e4, t5, n3 = 0) { - const s4 = this._tokenize(e4, t5, true, n3); - return { tokens: s4.lineTokens.getBinaryResult(s4.ruleStack, s4.lineLength), ruleStack: s4.ruleStack, stoppedEarly: s4.stoppedEarly }; + tokenizeLine2(e3, t32, n22 = 0) { + const s22 = this._tokenize(e3, t32, true, n22); + return { tokens: s22.lineTokens.getBinaryResult(s22.ruleStack, s22.lineLength), ruleStack: s22.ruleStack, stoppedEarly: s22.stoppedEarly }; } - _tokenize(e4, t5, n3, s4) { - let i3; - if (-1 === this._rootId && (this._rootId = c2.RuleFactory.getCompiledRuleId(this._grammar.repository.$self, this, this._grammar.repository)), t5 && t5 !== b3.NULL) - i3 = false, t5.reset(); + _tokenize(e3, t32, n22, s22) { + let i22; + if (-1 === this._rootId && (this._rootId = c2.RuleFactory.getCompiledRuleId(this._grammar.repository.$self, this, this._grammar.repository)), t32 && t32 !== b3.NULL) i22 = false, t32.reset(); else { - i3 = true; - const e5 = this._basicScopeAttributesProvider.getDefaultAttributes(), n4 = this.themeProvider.getDefaults(), s5 = r2.EncodedTokenAttributes.set(0, e5.languageId, e5.tokenType, null, n4.fontStyle, n4.foregroundId, n4.backgroundId), o3 = this.getRule(this._rootId).getName(null, null); - let c3; - c3 = o3 ? _2.createRootAndLookUpScopeName(o3, s5, this) : _2.createRoot("unknown", s5), t5 = new b3(null, this._rootId, -1, -1, false, null, c3, c3); + i22 = true; + const e4 = this._basicScopeAttributesProvider.getDefaultAttributes(), n3 = this.themeProvider.getDefaults(), s32 = r2.EncodedTokenAttributes.set(0, e4.languageId, e4.tokenType, null, n3.fontStyle, n3.foregroundId, n3.backgroundId), o22 = this.getRule(this._rootId).getName(null, null); + let c22; + c22 = o22 ? _2.createRootAndLookUpScopeName(o22, s32, this) : _2.createRoot("unknown", s32), t32 = new b3(null, this._rootId, -1, -1, false, null, c22, c22); } - e4 += "\n"; - const a3 = this.createOnigString(e4), l3 = a3.content.length, u4 = new y2(n3, e4, this._tokenTypeMatchers, this.balancedBracketSelectors), p3 = h2._tokenizeString(this, a3, i3, 0, t5, u4, true, s4); - return o2.disposeOnigString(a3), { lineLength: l3, lineTokens: u4, ruleStack: p3.stack, stoppedEarly: p3.stoppedEarly }; + e3 += "\n"; + const a22 = this.createOnigString(e3), l22 = a22.content.length, u22 = new y2(n22, e3, this._tokenTypeMatchers, this.balancedBracketSelectors), p22 = h2._tokenizeString(this, a22, i22, 0, t32, u22, true, s22); + return o2.disposeOnigString(a22), { lineLength: l22, lineTokens: u22, ruleStack: p22.stack, stoppedEarly: p22.stoppedEarly }; } } - function m2(e4, t5) { - return (e4 = l2.clone(e4)).repository = e4.repository || {}, e4.repository.$self = { $vscodeTextmateLocation: e4.$vscodeTextmateLocation, patterns: e4.patterns, name: e4.scopeName }, e4.repository.$base = t5 || e4.repository.$self, e4; + function m2(e3, t32) { + return (e3 = l2.clone(e3)).repository = e3.repository || {}, e3.repository.$self = { $vscodeTextmateLocation: e3.$vscodeTextmateLocation, patterns: e3.patterns, name: e3.scopeName }, e3.repository.$base = t32 || e3.repository.$self, e3; } - t4.Grammar = g2; + t22.Grammar = g2; class _2 { - constructor(e4, t5, n3) { - this.parent = e4, this.scopePath = t5, this.tokenAttributes = n3; + constructor(e3, t32, n22) { + this.parent = e3, this.scopePath = t32, this.tokenAttributes = n22; } - static createRoot(e4, t5) { - return new _2(null, new a2.ScopeStack(null, e4), t5); + static createRoot(e3, t32) { + return new _2(null, new a2.ScopeStack(null, e3), t32); } - static createRootAndLookUpScopeName(e4, t5, n3) { - const s4 = n3.getMetadataForScope(e4), r3 = new a2.ScopeStack(null, e4), i3 = n3.themeProvider.themeMatch(r3), o3 = _2.mergeAttributes(t5, s4, i3); - return new _2(null, r3, o3); + static createRootAndLookUpScopeName(e3, t32, n22) { + const s22 = n22.getMetadataForScope(e3), r22 = new a2.ScopeStack(null, e3), i22 = n22.themeProvider.themeMatch(r22), o22 = _2.mergeAttributes(t32, s22, i22); + return new _2(null, r22, o22); } get scopeName() { return this.scopePath.scopeName; } - equals(e4) { - return _2._equals(this, e4); + equals(e3) { + return _2._equals(this, e3); } - static _equals(e4, t5) { + static _equals(e3, t32) { for (; ; ) { - if (e4 === t5) - return true; - if (!e4 && !t5) - return true; - if (!e4 || !t5) - return false; - if (e4.scopeName !== t5.scopeName || e4.tokenAttributes !== t5.tokenAttributes) - return false; - e4 = e4.parent, t5 = t5.parent; + if (e3 === t32) return true; + if (!e3 && !t32) return true; + if (!e3 || !t32) return false; + if (e3.scopeName !== t32.scopeName || e3.tokenAttributes !== t32.tokenAttributes) return false; + e3 = e3.parent, t32 = t32.parent; } } - static mergeAttributes(e4, t5, n3) { - let s4 = -1, i3 = 0, o3 = 0; - return null !== n3 && (s4 = n3.fontStyle, i3 = n3.foregroundId, o3 = n3.backgroundId), r2.EncodedTokenAttributes.set(e4, t5.languageId, t5.tokenType, null, s4, i3, o3); + static mergeAttributes(e3, t32, n22) { + let s22 = -1, i22 = 0, o22 = 0; + return null !== n22 && (s22 = n22.fontStyle, i22 = n22.foregroundId, o22 = n22.backgroundId), r2.EncodedTokenAttributes.set(e3, t32.languageId, t32.tokenType, null, s22, i22, o22); } - pushAttributed(e4, t5) { - if (null === e4) - return this; - if (-1 === e4.indexOf(" ")) - return _2._pushAttributed(this, e4, t5); - const n3 = e4.split(/ /g); - let s4 = this; - for (const e5 of n3) - s4 = _2._pushAttributed(s4, e5, t5); - return s4; - } - static _pushAttributed(e4, t5, n3) { - const s4 = n3.getMetadataForScope(t5), r3 = e4.scopePath.push(t5), i3 = n3.themeProvider.themeMatch(r3), o3 = _2.mergeAttributes(e4.tokenAttributes, s4, i3); - return new _2(e4, r3, o3); + pushAttributed(e3, t32) { + if (null === e3) return this; + if (-1 === e3.indexOf(" ")) return _2._pushAttributed(this, e3, t32); + const n22 = e3.split(/ /g); + let s22 = this; + for (const e4 of n22) s22 = _2._pushAttributed(s22, e4, t32); + return s22; + } + static _pushAttributed(e3, t32, n22) { + const s22 = n22.getMetadataForScope(t32), r22 = e3.scopePath.push(t32), i22 = n22.themeProvider.themeMatch(r22), o22 = _2.mergeAttributes(e3.tokenAttributes, s22, i22); + return new _2(e3, r22, o22); } getScopeNames() { return this.scopePath.getSegments(); } } - t4.AttributedScopeStack = _2; + t22.AttributedScopeStack = _2; class b3 { - constructor(e4, t5, n3, s4, r3, i3, o3, c3) { - this.parent = e4, this.ruleId = t5, this.beginRuleCapturedEOL = r3, this.endRule = i3, this.nameScopesList = o3, this.contentNameScopesList = c3, this._stackElementBrand = void 0, this.depth = this.parent ? this.parent.depth + 1 : 1, this._enterPos = n3, this._anchorPos = s4; + constructor(e3, t32, n22, s22, r22, i22, o22, c22) { + this.parent = e3, this.ruleId = t32, this.beginRuleCapturedEOL = r22, this.endRule = i22, this.nameScopesList = o22, this.contentNameScopesList = c22, this._stackElementBrand = void 0, this.depth = this.parent ? this.parent.depth + 1 : 1, this._enterPos = n22, this._anchorPos = s22; } - equals(e4) { - return null !== e4 && b3._equals(this, e4); + equals(e3) { + return null !== e3 && b3._equals(this, e3); } - static _equals(e4, t5) { - return e4 === t5 || !!this._structuralEquals(e4, t5) && e4.contentNameScopesList.equals(t5.contentNameScopesList); + static _equals(e3, t32) { + return e3 === t32 || !!this._structuralEquals(e3, t32) && e3.contentNameScopesList.equals(t32.contentNameScopesList); } - static _structuralEquals(e4, t5) { + static _structuralEquals(e3, t32) { for (; ; ) { - if (e4 === t5) - return true; - if (!e4 && !t5) - return true; - if (!e4 || !t5) - return false; - if (e4.depth !== t5.depth || e4.ruleId !== t5.ruleId || e4.endRule !== t5.endRule) - return false; - e4 = e4.parent, t5 = t5.parent; + if (e3 === t32) return true; + if (!e3 && !t32) return true; + if (!e3 || !t32) return false; + if (e3.depth !== t32.depth || e3.ruleId !== t32.ruleId || e3.endRule !== t32.endRule) return false; + e3 = e3.parent, t32 = t32.parent; } } clone() { return this; } - static _reset(e4) { - for (; e4; ) - e4._enterPos = -1, e4._anchorPos = -1, e4 = e4.parent; + static _reset(e3) { + for (; e3; ) e3._enterPos = -1, e3._anchorPos = -1, e3 = e3.parent; } reset() { b3._reset(this); @@ -97688,8 +97841,8 @@ var main = { safePop() { return this.parent ? this.parent : this; } - push(e4, t5, n3, s4, r3, i3, o3) { - return new b3(this, e4, t5, n3, s4, r3, i3, o3); + push(e3, t32, n22, s22, r22, i22, o22) { + return new b3(this, e3, t32, n22, s22, r22, i22, o22); } getEnterPos() { return this._enterPos; @@ -97697,35 +97850,34 @@ var main = { getAnchorPos() { return this._anchorPos; } - getRule(e4) { - return e4.getRule(this.ruleId); + getRule(e3) { + return e3.getRule(this.ruleId); } toString() { - const e4 = []; - return this._writeString(e4, 0), "[" + e4.join(",") + "]"; + const e3 = []; + return this._writeString(e3, 0), "[" + e3.join(",") + "]"; } - _writeString(e4, t5) { - return this.parent && (t5 = this.parent._writeString(e4, t5)), e4[t5++] = `(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`, t5; + _writeString(e3, t32) { + return this.parent && (t32 = this.parent._writeString(e3, t32)), e3[t32++] = `(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`, t32; } - withContentNameScopesList(e4) { - return this.contentNameScopesList === e4 ? this : this.parent.push(this.ruleId, this._enterPos, this._anchorPos, this.beginRuleCapturedEOL, this.endRule, this.nameScopesList, e4); + withContentNameScopesList(e3) { + return this.contentNameScopesList === e3 ? this : this.parent.push(this.ruleId, this._enterPos, this._anchorPos, this.beginRuleCapturedEOL, this.endRule, this.nameScopesList, e3); } - withEndRule(e4) { - return this.endRule === e4 ? this : new b3(this.parent, this.ruleId, this._enterPos, this._anchorPos, this.beginRuleCapturedEOL, e4, this.nameScopesList, this.contentNameScopesList); + withEndRule(e3) { + return this.endRule === e3 ? this : new b3(this.parent, this.ruleId, this._enterPos, this._anchorPos, this.beginRuleCapturedEOL, e3, this.nameScopesList, this.contentNameScopesList); } - hasSameRuleAs(e4) { - let t5 = this; - for (; t5 && t5._enterPos === e4._enterPos; ) { - if (t5.ruleId === e4.ruleId) - return true; - t5 = t5.parent; + hasSameRuleAs(e3) { + let t32 = this; + for (; t32 && t32._enterPos === e3._enterPos; ) { + if (t32.ruleId === e3.ruleId) return true; + t32 = t32.parent; } return false; } } - t4.StateStack = b3, b3.NULL = new b3(null, 0, 0, 0, false, null, null, null), t4.BalancedBracketSelectors = class { - constructor(e4, t5) { - this.allowAny = false, this.balancedBracketScopes = e4.flatMap((e5) => "*" === e5 ? (this.allowAny = true, []) : i2.createMatchers(e5, d2).map((e6) => e6.matcher)), this.unbalancedBracketScopes = t5.flatMap((e5) => i2.createMatchers(e5, d2).map((e6) => e6.matcher)); + t22.StateStack = b3, b3.NULL = new b3(null, 0, 0, 0, false, null, null, null), t22.BalancedBracketSelectors = class { + constructor(e3, t32) { + this.allowAny = false, this.balancedBracketScopes = e3.flatMap((e4) => "*" === e4 ? (this.allowAny = true, []) : i2.createMatchers(e4, d2).map((e5) => e5.matcher)), this.unbalancedBracketScopes = t32.flatMap((e4) => i2.createMatchers(e4, d2).map((e5) => e5.matcher)); } get matchesAlways() { return this.allowAny && 0 === this.unbalancedBracketScopes.length; @@ -97733,86 +97885,76 @@ var main = { get matchesNever() { return 0 === this.balancedBracketScopes.length && !this.allowAny; } - match(e4) { - for (const t5 of this.unbalancedBracketScopes) - if (t5(e4)) - return false; - for (const t5 of this.balancedBracketScopes) - if (t5(e4)) - return true; + match(e3) { + for (const t32 of this.unbalancedBracketScopes) if (t32(e3)) return false; + for (const t32 of this.balancedBracketScopes) if (t32(e3)) return true; return this.allowAny; } }; class y2 { - constructor(e4, t5, n3, r3) { - this.balancedBracketSelectors = r3, this._emitBinaryTokens = e4, this._tokenTypeOverrides = n3, s3.DebugFlags.InDebugMode ? this._lineText = t5 : this._lineText = null, this._tokens = [], this._binaryTokens = [], this._lastTokenEndIndex = 0; + constructor(e3, t32, n22, r22) { + this.balancedBracketSelectors = r22, this._emitBinaryTokens = e3, this._tokenTypeOverrides = n22, s3.DebugFlags.InDebugMode ? this._lineText = t32 : this._lineText = null, this._tokens = [], this._binaryTokens = [], this._lastTokenEndIndex = 0; } - produce(e4, t5) { - this.produceFromScopes(e4.contentNameScopesList, t5); + produce(e3, t32) { + this.produceFromScopes(e3.contentNameScopesList, t32); } - produceFromScopes(e4, t5) { + produceFromScopes(e3, t32) { var _a2; - if (this._lastTokenEndIndex >= t5) - return; + if (this._lastTokenEndIndex >= t32) return; if (this._emitBinaryTokens) { - let n4 = e4.tokenAttributes, i3 = false; - if (((_a2 = this.balancedBracketSelectors) == null ? void 0 : _a2.matchesAlways) && (i3 = true), this._tokenTypeOverrides.length > 0 || this.balancedBracketSelectors && !this.balancedBracketSelectors.matchesAlways && !this.balancedBracketSelectors.matchesNever) { - const t6 = e4.getScopeNames(); - for (const e5 of this._tokenTypeOverrides) - e5.matcher(t6) && (n4 = r2.EncodedTokenAttributes.set(n4, 0, r2.toOptionalTokenType(e5.type), null, -1, 0, 0)); - this.balancedBracketSelectors && (i3 = this.balancedBracketSelectors.match(t6)); + let n3 = e3.tokenAttributes, i22 = false; + if (((_a2 = this.balancedBracketSelectors) == null ? void 0 : _a2.matchesAlways) && (i22 = true), this._tokenTypeOverrides.length > 0 || this.balancedBracketSelectors && !this.balancedBracketSelectors.matchesAlways && !this.balancedBracketSelectors.matchesNever) { + const t4 = e3.getScopeNames(); + for (const e4 of this._tokenTypeOverrides) e4.matcher(t4) && (n3 = r2.EncodedTokenAttributes.set(n3, 0, r2.toOptionalTokenType(e4.type), null, -1, 0, 0)); + this.balancedBracketSelectors && (i22 = this.balancedBracketSelectors.match(t4)); } - if (i3 && (n4 = r2.EncodedTokenAttributes.set(n4, 0, 8, i3, -1, 0, 0)), this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 1] === n4) - return void (this._lastTokenEndIndex = t5); + if (i22 && (n3 = r2.EncodedTokenAttributes.set(n3, 0, 8, i22, -1, 0, 0)), this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 1] === n3) return void (this._lastTokenEndIndex = t32); if (s3.DebugFlags.InDebugMode) { - const n5 = e4.getScopeNames(); - console.log(" token: |" + this._lineText.substring(this._lastTokenEndIndex, t5).replace(/\n$/, "\\n") + "|"); - for (let e5 = 0; e5 < n5.length; e5++) - console.log(" * " + n5[e5]); + const n4 = e3.getScopeNames(); + console.log(" token: |" + this._lineText.substring(this._lastTokenEndIndex, t32).replace(/\n$/, "\\n") + "|"); + for (let e4 = 0; e4 < n4.length; e4++) console.log(" * " + n4[e4]); } - return this._binaryTokens.push(this._lastTokenEndIndex), this._binaryTokens.push(n4), void (this._lastTokenEndIndex = t5); + return this._binaryTokens.push(this._lastTokenEndIndex), this._binaryTokens.push(n3), void (this._lastTokenEndIndex = t32); } - const n3 = e4.getScopeNames(); + const n22 = e3.getScopeNames(); if (s3.DebugFlags.InDebugMode) { - console.log(" token: |" + this._lineText.substring(this._lastTokenEndIndex, t5).replace(/\n$/, "\\n") + "|"); - for (let e5 = 0; e5 < n3.length; e5++) - console.log(" * " + n3[e5]); + console.log(" token: |" + this._lineText.substring(this._lastTokenEndIndex, t32).replace(/\n$/, "\\n") + "|"); + for (let e4 = 0; e4 < n22.length; e4++) console.log(" * " + n22[e4]); } - this._tokens.push({ startIndex: this._lastTokenEndIndex, endIndex: t5, scopes: n3 }), this._lastTokenEndIndex = t5; + this._tokens.push({ startIndex: this._lastTokenEndIndex, endIndex: t32, scopes: n22 }), this._lastTokenEndIndex = t32; } - getResult(e4, t5) { - return this._tokens.length > 0 && this._tokens[this._tokens.length - 1].startIndex === t5 - 1 && this._tokens.pop(), 0 === this._tokens.length && (this._lastTokenEndIndex = -1, this.produce(e4, t5), this._tokens[this._tokens.length - 1].startIndex = 0), this._tokens; + getResult(e3, t32) { + return this._tokens.length > 0 && this._tokens[this._tokens.length - 1].startIndex === t32 - 1 && this._tokens.pop(), 0 === this._tokens.length && (this._lastTokenEndIndex = -1, this.produce(e3, t32), this._tokens[this._tokens.length - 1].startIndex = 0), this._tokens; } - getBinaryResult(e4, t5) { - this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 2] === t5 - 1 && (this._binaryTokens.pop(), this._binaryTokens.pop()), 0 === this._binaryTokens.length && (this._lastTokenEndIndex = -1, this.produce(e4, t5), this._binaryTokens[this._binaryTokens.length - 2] = 0); - const n3 = new Uint32Array(this._binaryTokens.length); - for (let e5 = 0, t6 = this._binaryTokens.length; e5 < t6; e5++) - n3[e5] = this._binaryTokens[e5]; - return n3; + getBinaryResult(e3, t32) { + this._binaryTokens.length > 0 && this._binaryTokens[this._binaryTokens.length - 2] === t32 - 1 && (this._binaryTokens.pop(), this._binaryTokens.pop()), 0 === this._binaryTokens.length && (this._lastTokenEndIndex = -1, this.produce(e3, t32), this._binaryTokens[this._binaryTokens.length - 2] = 0); + const n22 = new Uint32Array(this._binaryTokens.length); + for (let e4 = 0, t4 = this._binaryTokens.length; e4 < t4; e4++) n22[e4] = this._binaryTokens[e4]; + return n22; } } - t4.LineTokens = y2; - }, 965: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.parseInclude = t4.TopLevelRepositoryReference = t4.TopLevelReference = t4.RelativeReference = t4.SelfReference = t4.BaseReference = t4.ScopeDependencyProcessor = t4.ExternalReferenceCollector = t4.TopLevelRepositoryRuleReference = t4.TopLevelRuleReference = void 0; + t22.LineTokens = y2; + }, 965: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.parseInclude = t22.TopLevelRepositoryReference = t22.TopLevelReference = t22.RelativeReference = t22.SelfReference = t22.BaseReference = t22.ScopeDependencyProcessor = t22.ExternalReferenceCollector = t22.TopLevelRepositoryRuleReference = t22.TopLevelRuleReference = void 0; const s3 = n2(878); class r2 { - constructor(e4) { - this.scopeName = e4; + constructor(e3) { + this.scopeName = e3; } toKey() { return this.scopeName; } } - t4.TopLevelRuleReference = r2; + t22.TopLevelRuleReference = r2; class i2 { - constructor(e4, t5) { - this.scopeName = e4, this.ruleName = t5; + constructor(e3, t32) { + this.scopeName = e3, this.ruleName = t32; } toKey() { return `${this.scopeName}#${this.ruleName}`; } } - t4.TopLevelRepositoryRuleReference = i2; + t22.TopLevelRepositoryRuleReference = i2; class o2 { constructor() { this._references = [], this._seenReferenceKeys = /* @__PURE__ */ new Set(), this.visitedRule = /* @__PURE__ */ new Set(); @@ -97820,85 +97962,74 @@ var main = { get references() { return this._references; } - add(e4) { - const t5 = e4.toKey(); - this._seenReferenceKeys.has(t5) || (this._seenReferenceKeys.add(t5), this._references.push(e4)); + add(e3) { + const t32 = e3.toKey(); + this._seenReferenceKeys.has(t32) || (this._seenReferenceKeys.add(t32), this._references.push(e3)); } } - function c2(e4, t5, n3, s4) { - const i3 = n3.lookup(e4.scopeName); - if (!i3) { - if (e4.scopeName === t5) - throw new Error(`No grammar provided for <${t5}>`); + function c2(e3, t32, n22, s22) { + const i22 = n22.lookup(e3.scopeName); + if (!i22) { + if (e3.scopeName === t32) throw new Error(`No grammar provided for <${t32}>`); return; } - const o3 = n3.lookup(t5); - e4 instanceof r2 ? l2({ baseGrammar: o3, selfGrammar: i3 }, s4) : a2(e4.ruleName, { baseGrammar: o3, selfGrammar: i3, repository: i3.repository }, s4); - const c3 = n3.injections(e4.scopeName); - if (c3) - for (const e5 of c3) - s4.add(new r2(e5)); - } - function a2(e4, t5, n3) { - t5.repository && t5.repository[e4] && u3([t5.repository[e4]], t5, n3); - } - function l2(e4, t5) { - e4.selfGrammar.patterns && Array.isArray(e4.selfGrammar.patterns) && u3(e4.selfGrammar.patterns, { ...e4, repository: e4.selfGrammar.repository }, t5), e4.selfGrammar.injections && u3(Object.values(e4.selfGrammar.injections), { ...e4, repository: e4.selfGrammar.repository }, t5); - } - function u3(e4, t5, n3) { - for (const o3 of e4) { - if (n3.visitedRule.has(o3)) - continue; - n3.visitedRule.add(o3); - const e5 = o3.repository ? s3.mergeObjects({}, t5.repository, o3.repository) : t5.repository; - Array.isArray(o3.patterns) && u3(o3.patterns, { ...t5, repository: e5 }, n3); - const c3 = o3.include; - if (!c3) - continue; - const h3 = m2(c3); - switch (h3.kind) { + const o22 = n22.lookup(t32); + e3 instanceof r2 ? l2({ baseGrammar: o22, selfGrammar: i22 }, s22) : a2(e3.ruleName, { baseGrammar: o22, selfGrammar: i22, repository: i22.repository }, s22); + const c22 = n22.injections(e3.scopeName); + if (c22) for (const e4 of c22) s22.add(new r2(e4)); + } + function a2(e3, t32, n22) { + t32.repository && t32.repository[e3] && u3([t32.repository[e3]], t32, n22); + } + function l2(e3, t32) { + e3.selfGrammar.patterns && Array.isArray(e3.selfGrammar.patterns) && u3(e3.selfGrammar.patterns, { ...e3, repository: e3.selfGrammar.repository }, t32), e3.selfGrammar.injections && u3(Object.values(e3.selfGrammar.injections), { ...e3, repository: e3.selfGrammar.repository }, t32); + } + function u3(e3, t32, n22) { + for (const o22 of e3) { + if (n22.visitedRule.has(o22)) continue; + n22.visitedRule.add(o22); + const e4 = o22.repository ? s3.mergeObjects({}, t32.repository, o22.repository) : t32.repository; + Array.isArray(o22.patterns) && u3(o22.patterns, { ...t32, repository: e4 }, n22); + const c22 = o22.include; + if (!c22) continue; + const h22 = m2(c22); + switch (h22.kind) { case 0: - l2({ ...t5, selfGrammar: t5.baseGrammar }, n3); + l2({ ...t32, selfGrammar: t32.baseGrammar }, n22); break; case 1: - l2(t5, n3); + l2(t32, n22); break; case 2: - a2(h3.ruleName, { ...t5, repository: e5 }, n3); + a2(h22.ruleName, { ...t32, repository: e4 }, n22); break; case 3: case 4: - const s4 = h3.scopeName === t5.selfGrammar.scopeName ? t5.selfGrammar : h3.scopeName === t5.baseGrammar.scopeName ? t5.baseGrammar : void 0; - if (s4) { - const r3 = { baseGrammar: t5.baseGrammar, selfGrammar: s4, repository: e5 }; - 4 === h3.kind ? a2(h3.ruleName, r3, n3) : l2(r3, n3); - } else - 4 === h3.kind ? n3.add(new i2(h3.scopeName, h3.ruleName)) : n3.add(new r2(h3.scopeName)); + const s22 = h22.scopeName === t32.selfGrammar.scopeName ? t32.selfGrammar : h22.scopeName === t32.baseGrammar.scopeName ? t32.baseGrammar : void 0; + if (s22) { + const r22 = { baseGrammar: t32.baseGrammar, selfGrammar: s22, repository: e4 }; + 4 === h22.kind ? a2(h22.ruleName, r22, n22) : l2(r22, n22); + } else 4 === h22.kind ? n22.add(new i2(h22.scopeName, h22.ruleName)) : n22.add(new r2(h22.scopeName)); } } } - t4.ExternalReferenceCollector = o2, t4.ScopeDependencyProcessor = class { - constructor(e4, t5) { - this.repo = e4, this.initialScopeName = t5, this.seenFullScopeRequests = /* @__PURE__ */ new Set(), this.seenPartialScopeRequests = /* @__PURE__ */ new Set(), this.seenFullScopeRequests.add(this.initialScopeName), this.Q = [new r2(this.initialScopeName)]; + t22.ExternalReferenceCollector = o2, t22.ScopeDependencyProcessor = class { + constructor(e3, t32) { + this.repo = e3, this.initialScopeName = t32, this.seenFullScopeRequests = /* @__PURE__ */ new Set(), this.seenPartialScopeRequests = /* @__PURE__ */ new Set(), this.seenFullScopeRequests.add(this.initialScopeName), this.Q = [new r2(this.initialScopeName)]; } processQueue() { - const e4 = this.Q; + const e3 = this.Q; this.Q = []; - const t5 = new o2(); - for (const n3 of e4) - c2(n3, this.initialScopeName, this.repo, t5); - for (const e5 of t5.references) - if (e5 instanceof r2) { - if (this.seenFullScopeRequests.has(e5.scopeName)) - continue; - this.seenFullScopeRequests.add(e5.scopeName), this.Q.push(e5); - } else { - if (this.seenFullScopeRequests.has(e5.scopeName)) - continue; - if (this.seenPartialScopeRequests.has(e5.toKey())) - continue; - this.seenPartialScopeRequests.add(e5.toKey()), this.Q.push(e5); - } + const t32 = new o2(); + for (const n22 of e3) c2(n22, this.initialScopeName, this.repo, t32); + for (const e4 of t32.references) if (e4 instanceof r2) { + if (this.seenFullScopeRequests.has(e4.scopeName)) continue; + this.seenFullScopeRequests.add(e4.scopeName), this.Q.push(e4); + } else { + if (this.seenFullScopeRequests.has(e4.scopeName)) continue; + if (this.seenPartialScopeRequests.has(e4.toKey())) continue; + this.seenPartialScopeRequests.add(e4.toKey()), this.Q.push(e4); + } } }; class h2 { @@ -97906,239 +98037,216 @@ var main = { this.kind = 0; } } - t4.BaseReference = h2; + t22.BaseReference = h2; class p2 { constructor() { this.kind = 1; } } - t4.SelfReference = p2; + t22.SelfReference = p2; class d2 { - constructor(e4) { - this.ruleName = e4, this.kind = 2; + constructor(e3) { + this.ruleName = e3, this.kind = 2; } } - t4.RelativeReference = d2; + t22.RelativeReference = d2; class f2 { - constructor(e4) { - this.scopeName = e4, this.kind = 3; + constructor(e3) { + this.scopeName = e3, this.kind = 3; } } - t4.TopLevelReference = f2; + t22.TopLevelReference = f2; class g2 { - constructor(e4, t5) { - this.scopeName = e4, this.ruleName = t5, this.kind = 4; - } - } - function m2(e4) { - if ("$base" === e4) - return new h2(); - if ("$self" === e4) - return new p2(); - const t5 = e4.indexOf("#"); - if (-1 === t5) - return new f2(e4); - if (0 === t5) - return new d2(e4.substring(1)); + constructor(e3, t32) { + this.scopeName = e3, this.ruleName = t32, this.kind = 4; + } + } + function m2(e3) { + if ("$base" === e3) return new h2(); + if ("$self" === e3) return new p2(); + const t32 = e3.indexOf("#"); + if (-1 === t32) return new f2(e3); + if (0 === t32) return new d2(e3.substring(1)); { - const n3 = e4.substring(0, t5), s4 = e4.substring(t5 + 1); - return new g2(n3, s4); + const n22 = e3.substring(0, t32), s22 = e3.substring(t32 + 1); + return new g2(n22, s22); } } - t4.TopLevelRepositoryReference = g2, t4.parseInclude = m2; - }, 391: function(e3, t4, n2) { - var s3 = this && this.__createBinding || (Object.create ? function(e4, t5, n3, s4) { - void 0 === s4 && (s4 = n3), Object.defineProperty(e4, s4, { enumerable: true, get: function() { - return t5[n3]; + t22.TopLevelRepositoryReference = g2, t22.parseInclude = m2; + }, 391: function(e22, t22, n2) { + var s3 = this && this.__createBinding || (Object.create ? function(e3, t32, n22, s22) { + void 0 === s22 && (s22 = n22), Object.defineProperty(e3, s22, { enumerable: true, get: function() { + return t32[n22]; } }); - } : function(e4, t5, n3, s4) { - void 0 === s4 && (s4 = n3), e4[s4] = t5[n3]; - }), r2 = this && this.__exportStar || function(e4, t5) { - for (var n3 in e4) - "default" === n3 || Object.prototype.hasOwnProperty.call(t5, n3) || s3(t5, e4, n3); + } : function(e3, t32, n22, s22) { + void 0 === s22 && (s22 = n22), e3[s22] = t32[n22]; + }), r2 = this && this.__exportStar || function(e3, t32) { + for (var n22 in e3) "default" === n22 || Object.prototype.hasOwnProperty.call(t32, n22) || s3(t32, e3, n22); }; - Object.defineProperty(t4, "__esModule", { value: true }), r2(n2(947), t4); - }, 47: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.LocalStackElement = t4._tokenizeString = void 0; + Object.defineProperty(t22, "__esModule", { value: true }), r2(n2(947), t22); + }, 47: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.LocalStackElement = t22._tokenizeString = void 0; const s3 = n2(350), r2 = n2(44), i2 = n2(792), o2 = n2(878); class c2 { - constructor(e4, t5) { - this.stack = e4, this.stoppedEarly = t5; + constructor(e3, t32) { + this.stack = e3, this.stoppedEarly = t32; } } - function a2(e4, t5, n3, r3, a3, h3, d3, f2) { - const g2 = t5.content.length; + function a2(e3, t32, n22, r22, a22, h22, d22, f2) { + const g2 = t32.content.length; let m2 = false, _2 = -1; - if (d3) { - const o3 = function(e5, t6, n4, r4, o4, c3) { - let a4 = o4.beginRuleCapturedEOL ? 0 : -1; - const l3 = []; - for (let t7 = o4; t7; t7 = t7.pop()) { - const n5 = t7.getRule(e5); - n5 instanceof i2.BeginWhileRule && l3.push({ rule: n5, stack: t7 }); + if (d22) { + const o22 = function(e4, t4, n3, r3, o3, c22) { + let a3 = o3.beginRuleCapturedEOL ? 0 : -1; + const l22 = []; + for (let t5 = o3; t5; t5 = t5.pop()) { + const n4 = t5.getRule(e4); + n4 instanceof i2.BeginWhileRule && l22.push({ rule: n4, stack: t5 }); } - for (let h4 = l3.pop(); h4; h4 = l3.pop()) { - const { ruleScanner: l4, findOptions: d4 } = u3(h4.rule, e5, h4.stack.endRule, n4, r4 === a4), f3 = l4.findNextMatchSync(t6, r4, d4); - if (s3.DebugFlags.InDebugMode && (console.log(" scanning for while rule"), console.log(l4.toString())), !f3) { - s3.DebugFlags.InDebugMode && console.log(" popping " + h4.rule.debugName + " - " + h4.rule.debugWhileRegExp), o4 = h4.stack.pop(); + for (let h3 = l22.pop(); h3; h3 = l22.pop()) { + const { ruleScanner: l3, findOptions: d3 } = u3(h3.rule, e4, h3.stack.endRule, n3, r3 === a3), f22 = l3.findNextMatchSync(t4, r3, d3); + if (s3.DebugFlags.InDebugMode && (console.log(" scanning for while rule"), console.log(l3.toString())), !f22) { + s3.DebugFlags.InDebugMode && console.log(" popping " + h3.rule.debugName + " - " + h3.rule.debugWhileRegExp), o3 = h3.stack.pop(); break; } - if (f3.ruleId !== i2.whileRuleId) { - o4 = h4.stack.pop(); + if (f22.ruleId !== i2.whileRuleId) { + o3 = h3.stack.pop(); break; } - f3.captureIndices && f3.captureIndices.length && (c3.produce(h4.stack, f3.captureIndices[0].start), p2(e5, t6, n4, h4.stack, c3, h4.rule.whileCaptures, f3.captureIndices), c3.produce(h4.stack, f3.captureIndices[0].end), a4 = f3.captureIndices[0].end, f3.captureIndices[0].end > r4 && (r4 = f3.captureIndices[0].end, n4 = false)); + f22.captureIndices && f22.captureIndices.length && (c22.produce(h3.stack, f22.captureIndices[0].start), p2(e4, t4, n3, h3.stack, c22, h3.rule.whileCaptures, f22.captureIndices), c22.produce(h3.stack, f22.captureIndices[0].end), a3 = f22.captureIndices[0].end, f22.captureIndices[0].end > r3 && (r3 = f22.captureIndices[0].end, n3 = false)); } - return { stack: o4, linePos: r4, anchorPosition: a4, isFirstLine: n4 }; - }(e4, t5, n3, r3, a3, h3); - a3 = o3.stack, r3 = o3.linePos, n3 = o3.isFirstLine, _2 = o3.anchorPosition; + return { stack: o3, linePos: r3, anchorPosition: a3, isFirstLine: n3 }; + }(e3, t32, n22, r22, a22, h22); + a22 = o22.stack, r22 = o22.linePos, n22 = o22.isFirstLine, _2 = o22.anchorPosition; } const b3 = Date.now(); for (; !m2; ) { - if (0 !== f2 && Date.now() - b3 > f2) - return new c2(a3, true); + if (0 !== f2 && Date.now() - b3 > f2) return new c2(a22, true); y2(); } - return new c2(a3, false); + return new c2(a22, false); function y2() { - s3.DebugFlags.InDebugMode && (console.log(""), console.log(`@@scanNext ${r3}: |${t5.content.substr(r3).replace(/\n$/, "\\n")}|`)); - const c3 = function(e5, t6, n4, r4, i3, c4) { - const a4 = function(e6, t7, n5, r5, i4, c5) { - const a5 = i4.getRule(e6), { ruleScanner: u6, findOptions: h5 } = l2(a5, e6, i4.endRule, n5, r5 === c5); - let p4 = 0; - s3.DebugFlags.InDebugMode && (p4 = o2.performanceNow()); - const d6 = u6.findNextMatchSync(t7, r5, h5); + s3.DebugFlags.InDebugMode && (console.log(""), console.log(`@@scanNext ${r22}: |${t32.content.substr(r22).replace(/\n$/, "\\n")}|`)); + const c22 = function(e4, t4, n3, r3, i22, c3) { + const a3 = function(e5, t5, n4, r4, i3, c4) { + const a4 = i3.getRule(e5), { ruleScanner: u4, findOptions: h4 } = l2(a4, e5, i3.endRule, n4, r4 === c4); + let p3 = 0; + s3.DebugFlags.InDebugMode && (p3 = o2.performanceNow()); + const d5 = u4.findNextMatchSync(t5, r4, h4); if (s3.DebugFlags.InDebugMode) { - const e7 = o2.performanceNow() - p4; - e7 > 5 && console.warn(`Rule ${a5.debugName} (${a5.id}) matching took ${e7} against '${t7}'`), console.log(` scanning for (linePos: ${r5}, anchorPosition: ${c5})`), console.log(u6.toString()), d6 && console.log(`matched rule id: ${d6.ruleId} from ${d6.captureIndices[0].start} to ${d6.captureIndices[0].end}`); + const e6 = o2.performanceNow() - p3; + e6 > 5 && console.warn(`Rule ${a4.debugName} (${a4.id}) matching took ${e6} against '${t5}'`), console.log(` scanning for (linePos: ${r4}, anchorPosition: ${c4})`), console.log(u4.toString()), d5 && console.log(`matched rule id: ${d5.ruleId} from ${d5.captureIndices[0].start} to ${d5.captureIndices[0].end}`); } - return d6 ? { captureIndices: d6.captureIndices, matchedRuleId: d6.ruleId } : null; - }(e5, t6, n4, r4, i3, c4), u5 = e5.getInjections(); - if (0 === u5.length) - return a4; - const h4 = function(e6, t7, n5, r5, i4, o3, c5) { - let a5, u6 = Number.MAX_VALUE, h5 = null, p4 = 0; - const d6 = o3.contentNameScopesList.getScopeNames(); - for (let o4 = 0, f4 = e6.length; o4 < f4; o4++) { - const f5 = e6[o4]; - if (!f5.matcher(d6)) - continue; - const g3 = t7.getRule(f5.ruleId), { ruleScanner: m3, findOptions: _3 } = l2(g3, t7, null, r5, i4 === c5), b4 = m3.findNextMatchSync(n5, i4, _3); - if (!b4) - continue; - s3.DebugFlags.InDebugMode && (console.log(` matched injection: ${f5.debugSelector}`), console.log(m3.toString())); - const y3 = b4.captureIndices[0].start; - if (!(y3 >= u6) && (u6 = y3, h5 = b4.captureIndices, a5 = b4.ruleId, p4 = f5.priority, u6 === i4)) - break; + return d5 ? { captureIndices: d5.captureIndices, matchedRuleId: d5.ruleId } : null; + }(e4, t4, n3, r3, i22, c3), u32 = e4.getInjections(); + if (0 === u32.length) return a3; + const h3 = function(e5, t5, n4, r4, i3, o22, c4) { + let a4, u4 = Number.MAX_VALUE, h4 = null, p3 = 0; + const d5 = o22.contentNameScopesList.getScopeNames(); + for (let o3 = 0, f3 = e5.length; o3 < f3; o3++) { + const f4 = e5[o3]; + if (!f4.matcher(d5)) continue; + const g22 = t5.getRule(f4.ruleId), { ruleScanner: m22, findOptions: _22 } = l2(g22, t5, null, r4, i3 === c4), b22 = m22.findNextMatchSync(n4, i3, _22); + if (!b22) continue; + s3.DebugFlags.InDebugMode && (console.log(` matched injection: ${f4.debugSelector}`), console.log(m22.toString())); + const y22 = b22.captureIndices[0].start; + if (!(y22 >= u4) && (u4 = y22, h4 = b22.captureIndices, a4 = b22.ruleId, p3 = f4.priority, u4 === i3)) break; } - return h5 ? { priorityMatch: -1 === p4, captureIndices: h5, matchedRuleId: a5 } : null; - }(u5, e5, t6, n4, r4, i3, c4); - if (!h4) - return a4; - if (!a4) - return h4; - const p3 = a4.captureIndices[0].start, d5 = h4.captureIndices[0].start; - return d5 < p3 || h4.priorityMatch && d5 === p3 ? h4 : a4; - }(e4, t5, n3, r3, a3, _2); - if (!c3) - return s3.DebugFlags.InDebugMode && console.log(" no more matches."), h3.produce(a3, g2), void (m2 = true); - const u4 = c3.captureIndices, d4 = c3.matchedRuleId, f3 = !!(u4 && u4.length > 0) && u4[0].end > r3; - if (d4 === i2.endRuleId) { - const i3 = a3.getRule(e4); - s3.DebugFlags.InDebugMode && console.log(" popping " + i3.debugName + " - " + i3.debugEndRegExp), h3.produce(a3, u4[0].start), a3 = a3.withContentNameScopesList(a3.nameScopesList), p2(e4, t5, n3, a3, h3, i3.endCaptures, u4), h3.produce(a3, u4[0].end); - const o3 = a3; - if (a3 = a3.parent, _2 = o3.getAnchorPos(), !f3 && o3.getEnterPos() === r3) - return s3.DebugFlags.InDebugMode && console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"), a3 = o3, h3.produce(a3, g2), void (m2 = true); + return h4 ? { priorityMatch: -1 === p3, captureIndices: h4, matchedRuleId: a4 } : null; + }(u32, e4, t4, n3, r3, i22, c3); + if (!h3) return a3; + if (!a3) return h3; + const p22 = a3.captureIndices[0].start, d4 = h3.captureIndices[0].start; + return d4 < p22 || h3.priorityMatch && d4 === p22 ? h3 : a3; + }(e3, t32, n22, r22, a22, _2); + if (!c22) return s3.DebugFlags.InDebugMode && console.log(" no more matches."), h22.produce(a22, g2), void (m2 = true); + const u22 = c22.captureIndices, d3 = c22.matchedRuleId, f22 = !!(u22 && u22.length > 0) && u22[0].end > r22; + if (d3 === i2.endRuleId) { + const i22 = a22.getRule(e3); + s3.DebugFlags.InDebugMode && console.log(" popping " + i22.debugName + " - " + i22.debugEndRegExp), h22.produce(a22, u22[0].start), a22 = a22.withContentNameScopesList(a22.nameScopesList), p2(e3, t32, n22, a22, h22, i22.endCaptures, u22), h22.produce(a22, u22[0].end); + const o22 = a22; + if (a22 = a22.parent, _2 = o22.getAnchorPos(), !f22 && o22.getEnterPos() === r22) return s3.DebugFlags.InDebugMode && console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"), a22 = o22, h22.produce(a22, g2), void (m2 = true); } else { - const o3 = e4.getRule(d4); - h3.produce(a3, u4[0].start); - const c4 = a3, l3 = o3.getName(t5.content, u4), b4 = a3.contentNameScopesList.pushAttributed(l3, e4); - if (a3 = a3.push(d4, r3, _2, u4[0].end === g2, null, b4, b4), o3 instanceof i2.BeginEndRule) { - const r4 = o3; - s3.DebugFlags.InDebugMode && console.log(" pushing " + r4.debugName + " - " + r4.debugBeginRegExp), p2(e4, t5, n3, a3, h3, r4.beginCaptures, u4), h3.produce(a3, u4[0].end), _2 = u4[0].end; - const i3 = r4.getContentName(t5.content, u4), l4 = b4.pushAttributed(i3, e4); - if (a3 = a3.withContentNameScopesList(l4), r4.endHasBackReferences && (a3 = a3.withEndRule(r4.getEndWithResolvedBackReferences(t5.content, u4))), !f3 && c4.hasSameRuleAs(a3)) - return s3.DebugFlags.InDebugMode && console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"), a3 = a3.pop(), h3.produce(a3, g2), void (m2 = true); - } else if (o3 instanceof i2.BeginWhileRule) { - const r4 = o3; - s3.DebugFlags.InDebugMode && console.log(" pushing " + r4.debugName), p2(e4, t5, n3, a3, h3, r4.beginCaptures, u4), h3.produce(a3, u4[0].end), _2 = u4[0].end; - const i3 = r4.getContentName(t5.content, u4), l4 = b4.pushAttributed(i3, e4); - if (a3 = a3.withContentNameScopesList(l4), r4.whileHasBackReferences && (a3 = a3.withEndRule(r4.getWhileWithResolvedBackReferences(t5.content, u4))), !f3 && c4.hasSameRuleAs(a3)) - return s3.DebugFlags.InDebugMode && console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"), a3 = a3.pop(), h3.produce(a3, g2), void (m2 = true); + const o22 = e3.getRule(d3); + h22.produce(a22, u22[0].start); + const c3 = a22, l22 = o22.getName(t32.content, u22), b22 = a22.contentNameScopesList.pushAttributed(l22, e3); + if (a22 = a22.push(d3, r22, _2, u22[0].end === g2, null, b22, b22), o22 instanceof i2.BeginEndRule) { + const r3 = o22; + s3.DebugFlags.InDebugMode && console.log(" pushing " + r3.debugName + " - " + r3.debugBeginRegExp), p2(e3, t32, n22, a22, h22, r3.beginCaptures, u22), h22.produce(a22, u22[0].end), _2 = u22[0].end; + const i22 = r3.getContentName(t32.content, u22), l3 = b22.pushAttributed(i22, e3); + if (a22 = a22.withContentNameScopesList(l3), r3.endHasBackReferences && (a22 = a22.withEndRule(r3.getEndWithResolvedBackReferences(t32.content, u22))), !f22 && c3.hasSameRuleAs(a22)) return s3.DebugFlags.InDebugMode && console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"), a22 = a22.pop(), h22.produce(a22, g2), void (m2 = true); + } else if (o22 instanceof i2.BeginWhileRule) { + const r3 = o22; + s3.DebugFlags.InDebugMode && console.log(" pushing " + r3.debugName), p2(e3, t32, n22, a22, h22, r3.beginCaptures, u22), h22.produce(a22, u22[0].end), _2 = u22[0].end; + const i22 = r3.getContentName(t32.content, u22), l3 = b22.pushAttributed(i22, e3); + if (a22 = a22.withContentNameScopesList(l3), r3.whileHasBackReferences && (a22 = a22.withEndRule(r3.getWhileWithResolvedBackReferences(t32.content, u22))), !f22 && c3.hasSameRuleAs(a22)) return s3.DebugFlags.InDebugMode && console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"), a22 = a22.pop(), h22.produce(a22, g2), void (m2 = true); } else { - const r4 = o3; - if (s3.DebugFlags.InDebugMode && console.log(" matched " + r4.debugName + " - " + r4.debugMatchRegExp), p2(e4, t5, n3, a3, h3, r4.captures, u4), h3.produce(a3, u4[0].end), a3 = a3.pop(), !f3) - return s3.DebugFlags.InDebugMode && console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"), a3 = a3.safePop(), h3.produce(a3, g2), void (m2 = true); + const r3 = o22; + if (s3.DebugFlags.InDebugMode && console.log(" matched " + r3.debugName + " - " + r3.debugMatchRegExp), p2(e3, t32, n22, a22, h22, r3.captures, u22), h22.produce(a22, u22[0].end), a22 = a22.pop(), !f22) return s3.DebugFlags.InDebugMode && console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"), a22 = a22.safePop(), h22.produce(a22, g2), void (m2 = true); } } - u4[0].end > r3 && (r3 = u4[0].end, n3 = false); - } - } - function l2(e4, t5, n3, r3, i3) { - return s3.UseOnigurumaFindOptions ? { ruleScanner: e4.compile(t5, n3), findOptions: h2(r3, i3) } : { ruleScanner: e4.compileAG(t5, n3, r3, i3), findOptions: 0 }; - } - function u3(e4, t5, n3, r3, i3) { - return s3.UseOnigurumaFindOptions ? { ruleScanner: e4.compileWhile(t5, n3), findOptions: h2(r3, i3) } : { ruleScanner: e4.compileWhileAG(t5, n3, r3, i3), findOptions: 0 }; - } - function h2(e4, t5) { - let n3 = 0; - return e4 || (n3 |= 1), t5 || (n3 |= 4), n3; - } - function p2(e4, t5, n3, s4, i3, o3, c3) { - if (0 === o3.length) - return; - const l3 = t5.content, u4 = Math.min(o3.length, c3.length), h3 = [], p3 = c3[0].end; - for (let t6 = 0; t6 < u4; t6++) { - const u5 = o3[t6]; - if (null === u5) - continue; - const f2 = c3[t6]; - if (0 === f2.length) - continue; - if (f2.start > p3) - break; - for (; h3.length > 0 && h3[h3.length - 1].endPos <= f2.start; ) - i3.produceFromScopes(h3[h3.length - 1].scopes, h3[h3.length - 1].endPos), h3.pop(); - if (h3.length > 0 ? i3.produceFromScopes(h3[h3.length - 1].scopes, f2.start) : i3.produce(s4, f2.start), u5.retokenizeCapturedWithRuleId) { - const t7 = u5.getName(l3, c3), o4 = s4.contentNameScopesList.pushAttributed(t7, e4), h4 = u5.getContentName(l3, c3), p4 = o4.pushAttributed(h4, e4), d3 = s4.push(u5.retokenizeCapturedWithRuleId, f2.start, -1, false, null, o4, p4), g3 = e4.createOnigString(l3.substring(0, f2.end)); - a2(e4, g3, n3 && 0 === f2.start, f2.start, d3, i3, false, 0), r2.disposeOnigString(g3); + u22[0].end > r22 && (r22 = u22[0].end, n22 = false); + } + } + function l2(e3, t32, n22, r22, i22) { + return s3.UseOnigurumaFindOptions ? { ruleScanner: e3.compile(t32, n22), findOptions: h2(r22, i22) } : { ruleScanner: e3.compileAG(t32, n22, r22, i22), findOptions: 0 }; + } + function u3(e3, t32, n22, r22, i22) { + return s3.UseOnigurumaFindOptions ? { ruleScanner: e3.compileWhile(t32, n22), findOptions: h2(r22, i22) } : { ruleScanner: e3.compileWhileAG(t32, n22, r22, i22), findOptions: 0 }; + } + function h2(e3, t32) { + let n22 = 0; + return e3 || (n22 |= 1), t32 || (n22 |= 4), n22; + } + function p2(e3, t32, n22, s22, i22, o22, c22) { + if (0 === o22.length) return; + const l22 = t32.content, u22 = Math.min(o22.length, c22.length), h22 = [], p22 = c22[0].end; + for (let t4 = 0; t4 < u22; t4++) { + const u32 = o22[t4]; + if (null === u32) continue; + const f2 = c22[t4]; + if (0 === f2.length) continue; + if (f2.start > p22) break; + for (; h22.length > 0 && h22[h22.length - 1].endPos <= f2.start; ) i22.produceFromScopes(h22[h22.length - 1].scopes, h22[h22.length - 1].endPos), h22.pop(); + if (h22.length > 0 ? i22.produceFromScopes(h22[h22.length - 1].scopes, f2.start) : i22.produce(s22, f2.start), u32.retokenizeCapturedWithRuleId) { + const t5 = u32.getName(l22, c22), o3 = s22.contentNameScopesList.pushAttributed(t5, e3), h3 = u32.getContentName(l22, c22), p3 = o3.pushAttributed(h3, e3), d22 = s22.push(u32.retokenizeCapturedWithRuleId, f2.start, -1, false, null, o3, p3), g22 = e3.createOnigString(l22.substring(0, f2.end)); + a2(e3, g22, n22 && 0 === f2.start, f2.start, d22, i22, false, 0), r2.disposeOnigString(g22); continue; } - const g2 = u5.getName(l3, c3); + const g2 = u32.getName(l22, c22); if (null !== g2) { - const t7 = (h3.length > 0 ? h3[h3.length - 1].scopes : s4.contentNameScopesList).pushAttributed(g2, e4); - h3.push(new d2(t7, f2.end)); + const t5 = (h22.length > 0 ? h22[h22.length - 1].scopes : s22.contentNameScopesList).pushAttributed(g2, e3); + h22.push(new d2(t5, f2.end)); } } - for (; h3.length > 0; ) - i3.produceFromScopes(h3[h3.length - 1].scopes, h3[h3.length - 1].endPos), h3.pop(); + for (; h22.length > 0; ) i22.produceFromScopes(h22[h22.length - 1].scopes, h22[h22.length - 1].endPos), h22.pop(); } - t4._tokenizeString = a2; + t22._tokenizeString = a2; class d2 { - constructor(e4, t5) { - this.scopes = e4, this.endPos = t5; + constructor(e3, t32) { + this.scopes = e3, this.endPos = t32; } } - t4.LocalStackElement = d2; - }, 974: (e3, t4) => { - function n2(e4, t5) { - throw new Error("Near offset " + e4.pos + ": " + t5 + " ~~~" + e4.source.substr(e4.pos, 50) + "~~~"); + t22.LocalStackElement = d2; + }, 974: (e22, t22) => { + function n2(e3, t32) { + throw new Error("Near offset " + e3.pos + ": " + t32 + " ~~~" + e3.source.substr(e3.pos, 50) + "~~~"); } - Object.defineProperty(t4, "__esModule", { value: true }), t4.parseJSON = void 0, t4.parseJSON = function(e4, t5, o2) { - let c2 = new s3(e4), a2 = new r2(), l2 = 0, u3 = null, h2 = [], p2 = []; + Object.defineProperty(t22, "__esModule", { value: true }), t22.parseJSON = void 0, t22.parseJSON = function(e3, t32, o2) { + let c2 = new s3(e3), a2 = new r2(), l2 = 0, u3 = null, h2 = [], p2 = []; function d2() { h2.push(l2), p2.push(u3); } function f2() { l2 = h2.pop(), u3 = p2.pop(); } - function g2(e5) { - n2(c2, e5); + function g2(e4) { + n2(c2, e4); } for (; i2(c2, a2); ) { if (0 === l2) { if (null !== u3 && g2("too many constructs in root"), 3 === a2.type) { - u3 = {}, o2 && (u3.$vscodeTextmateLocation = a2.toLocation(t5)), d2(), l2 = 1; + u3 = {}, o2 && (u3.$vscodeTextmateLocation = a2.toLocation(t32)), d2(), l2 = 1; continue; } if (2 === a2.type) { @@ -98164,35 +98272,35 @@ var main = { continue; } if (1 === a2.type) { - let e5 = a2.value; + let e4 = a2.value; if (i2(c2, a2) && 6 === a2.type || g2("expected colon"), i2(c2, a2) || g2("expected value"), l2 = 2, 1 === a2.type) { - u3[e5] = a2.value; + u3[e4] = a2.value; continue; } if (8 === a2.type) { - u3[e5] = null; + u3[e4] = null; continue; } if (9 === a2.type) { - u3[e5] = true; + u3[e4] = true; continue; } if (10 === a2.type) { - u3[e5] = false; + u3[e4] = false; continue; } if (11 === a2.type) { - u3[e5] = parseFloat(a2.value); + u3[e4] = parseFloat(a2.value); continue; } if (2 === a2.type) { - let t6 = []; - u3[e5] = t6, d2(), l2 = 4, u3 = t6; + let t4 = []; + u3[e4] = t4, d2(), l2 = 4, u3 = t4; continue; } if (3 === a2.type) { - let n3 = {}; - o2 && (n3.$vscodeTextmateLocation = a2.toLocation(t5)), u3[e5] = n3, d2(), l2 = 1, u3 = n3; + let n22 = {}; + o2 && (n22.$vscodeTextmateLocation = a2.toLocation(t32)), u3[e4] = n22, d2(), l2 = 1, u3 = n22; continue; } } @@ -98235,13 +98343,13 @@ var main = { continue; } if (2 === a2.type) { - let e5 = []; - u3.push(e5), d2(), l2 = 4, u3 = e5; + let e4 = []; + u3.push(e4), d2(), l2 = 4, u3 = e4; continue; } if (3 === a2.type) { - let e5 = {}; - o2 && (e5.$vscodeTextmateLocation = a2.toLocation(t5)), u3.push(e5), d2(), l2 = 1, u3 = e5; + let e4 = {}; + o2 && (e4.$vscodeTextmateLocation = a2.toLocation(t32)), u3.push(e4), d2(), l2 = 1, u3 = e4; continue; } g2("unexpected token in array"); @@ -98251,43 +98359,37 @@ var main = { return 0 !== p2.length && g2("unclosed constructs"), u3; }; class s3 { - constructor(e4) { - this.source = e4, this.pos = 0, this.len = e4.length, this.line = 1, this.char = 0; + constructor(e3) { + this.source = e3, this.pos = 0, this.len = e3.length, this.line = 1, this.char = 0; } } class r2 { constructor() { this.value = null, this.type = 0, this.offset = -1, this.len = -1, this.line = -1, this.char = -1; } - toLocation(e4) { - return { filename: e4, line: this.line, char: this.char }; + toLocation(e3) { + return { filename: e3, line: this.line, char: this.char }; } } - function i2(e4, t5) { - t5.value = null, t5.type = 0, t5.offset = -1, t5.len = -1, t5.line = -1, t5.char = -1; - let s4, r3 = e4.source, i3 = e4.pos, o2 = e4.len, c2 = e4.line, a2 = e4.char; + function i2(e3, t32) { + t32.value = null, t32.type = 0, t32.offset = -1, t32.len = -1, t32.line = -1, t32.char = -1; + let s22, r22 = e3.source, i22 = e3.pos, o2 = e3.len, c2 = e3.line, a2 = e3.char; for (; ; ) { - if (i3 >= o2) - return false; - if (s4 = r3.charCodeAt(i3), 32 !== s4 && 9 !== s4 && 13 !== s4) { - if (10 !== s4) - break; - i3++, c2++, a2 = 0; - } else - i3++, a2++; - } - if (t5.offset = i3, t5.line = c2, t5.char = a2, 34 === s4) { - for (t5.type = 1, i3++, a2++; ; ) { - if (i3 >= o2) - return false; - if (s4 = r3.charCodeAt(i3), i3++, a2++, 92 !== s4) { - if (34 === s4) - break; - } else - i3++, a2++; + if (i22 >= o2) return false; + if (s22 = r22.charCodeAt(i22), 32 !== s22 && 9 !== s22 && 13 !== s22) { + if (10 !== s22) break; + i22++, c2++, a2 = 0; + } else i22++, a2++; + } + if (t32.offset = i22, t32.line = c2, t32.char = a2, 34 === s22) { + for (t32.type = 1, i22++, a2++; ; ) { + if (i22 >= o2) return false; + if (s22 = r22.charCodeAt(i22), i22++, a2++, 92 !== s22) { + if (34 === s22) break; + } else i22++, a2++; } - t5.value = r3.substring(t5.offset + 1, i3 - 1).replace(/\\u([0-9A-Fa-f]{4})/g, (e5, t6) => String.fromCodePoint(parseInt(t6, 16))).replace(/\\(.)/g, (t6, s5) => { - switch (s5) { + t32.value = r22.substring(t32.offset + 1, i22 - 1).replace(/\\u([0-9A-Fa-f]{4})/g, (e4, t4) => String.fromCodePoint(parseInt(t4, 16))).replace(/\\(.)/g, (t4, s32) => { + switch (s32) { case '"': return '"'; case "\\": @@ -98305,347 +98407,300 @@ var main = { case "t": return " "; default: - n2(e4, "invalid escape sequence"); + n2(e3, "invalid escape sequence"); } throw new Error("unreachable"); }); - } else if (91 === s4) - t5.type = 2, i3++, a2++; - else if (123 === s4) - t5.type = 3, i3++, a2++; - else if (93 === s4) - t5.type = 4, i3++, a2++; - else if (125 === s4) - t5.type = 5, i3++, a2++; - else if (58 === s4) - t5.type = 6, i3++, a2++; - else if (44 === s4) - t5.type = 7, i3++, a2++; - else if (110 === s4) { - if (t5.type = 8, i3++, a2++, s4 = r3.charCodeAt(i3), 117 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 108 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 108 !== s4) - return false; - i3++, a2++; - } else if (116 === s4) { - if (t5.type = 9, i3++, a2++, s4 = r3.charCodeAt(i3), 114 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 117 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 101 !== s4) - return false; - i3++, a2++; - } else if (102 === s4) { - if (t5.type = 10, i3++, a2++, s4 = r3.charCodeAt(i3), 97 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 108 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 115 !== s4) - return false; - if (i3++, a2++, s4 = r3.charCodeAt(i3), 101 !== s4) - return false; - i3++, a2++; - } else - for (t5.type = 11; ; ) { - if (i3 >= o2) - return false; - if (s4 = r3.charCodeAt(i3), !(46 === s4 || s4 >= 48 && s4 <= 57 || 101 === s4 || 69 === s4 || 45 === s4 || 43 === s4)) - break; - i3++, a2++; - } - return t5.len = i3 - t5.offset, null === t5.value && (t5.value = r3.substr(t5.offset, t5.len)), e4.pos = i3, e4.line = c2, e4.char = a2, true; - } - }, 787: function(e3, t4, n2) { - var s3 = this && this.__createBinding || (Object.create ? function(e4, t5, n3, s4) { - void 0 === s4 && (s4 = n3), Object.defineProperty(e4, s4, { enumerable: true, get: function() { - return t5[n3]; + } else if (91 === s22) t32.type = 2, i22++, a2++; + else if (123 === s22) t32.type = 3, i22++, a2++; + else if (93 === s22) t32.type = 4, i22++, a2++; + else if (125 === s22) t32.type = 5, i22++, a2++; + else if (58 === s22) t32.type = 6, i22++, a2++; + else if (44 === s22) t32.type = 7, i22++, a2++; + else if (110 === s22) { + if (t32.type = 8, i22++, a2++, s22 = r22.charCodeAt(i22), 117 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 108 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 108 !== s22) return false; + i22++, a2++; + } else if (116 === s22) { + if (t32.type = 9, i22++, a2++, s22 = r22.charCodeAt(i22), 114 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 117 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 101 !== s22) return false; + i22++, a2++; + } else if (102 === s22) { + if (t32.type = 10, i22++, a2++, s22 = r22.charCodeAt(i22), 97 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 108 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 115 !== s22) return false; + if (i22++, a2++, s22 = r22.charCodeAt(i22), 101 !== s22) return false; + i22++, a2++; + } else for (t32.type = 11; ; ) { + if (i22 >= o2) return false; + if (s22 = r22.charCodeAt(i22), !(46 === s22 || s22 >= 48 && s22 <= 57 || 101 === s22 || 69 === s22 || 45 === s22 || 43 === s22)) break; + i22++, a2++; + } + return t32.len = i22 - t32.offset, null === t32.value && (t32.value = r22.substr(t32.offset, t32.len)), e3.pos = i22, e3.line = c2, e3.char = a2, true; + } + }, 787: function(e22, t22, n2) { + var s3 = this && this.__createBinding || (Object.create ? function(e3, t32, n22, s22) { + void 0 === s22 && (s22 = n22), Object.defineProperty(e3, s22, { enumerable: true, get: function() { + return t32[n22]; } }); - } : function(e4, t5, n3, s4) { - void 0 === s4 && (s4 = n3), e4[s4] = t5[n3]; - }), r2 = this && this.__exportStar || function(e4, t5) { - for (var n3 in e4) - "default" === n3 || Object.prototype.hasOwnProperty.call(t5, n3) || s3(t5, e4, n3); + } : function(e3, t32, n22, s22) { + void 0 === s22 && (s22 = n22), e3[s22] = t32[n22]; + }), r2 = this && this.__exportStar || function(e3, t32) { + for (var n22 in e3) "default" === n22 || Object.prototype.hasOwnProperty.call(t32, n22) || s3(t32, e3, n22); }; - Object.defineProperty(t4, "__esModule", { value: true }), t4.parseRawGrammar = t4.INITIAL = t4.Registry = void 0; + Object.defineProperty(t22, "__esModule", { value: true }), t22.parseRawGrammar = t22.INITIAL = t22.Registry = void 0; const i2 = n2(391), o2 = n2(50), c2 = n2(652), a2 = n2(583), l2 = n2(965); - r2(n2(44), t4), t4.Registry = class { - constructor(e4) { - this._options = e4, this._syncRegistry = new c2.SyncRegistry(a2.Theme.createFromRawTheme(e4.theme, e4.colorMap), e4.onigLib), this._ensureGrammarCache = /* @__PURE__ */ new Map(); + r2(n2(44), t22), t22.Registry = class { + constructor(e3) { + this._options = e3, this._syncRegistry = new c2.SyncRegistry(a2.Theme.createFromRawTheme(e3.theme, e3.colorMap), e3.onigLib), this._ensureGrammarCache = /* @__PURE__ */ new Map(); } dispose() { this._syncRegistry.dispose(); } - setTheme(e4, t5) { - this._syncRegistry.setTheme(a2.Theme.createFromRawTheme(e4, t5)); + setTheme(e3, t32) { + this._syncRegistry.setTheme(a2.Theme.createFromRawTheme(e3, t32)); } getColorMap() { return this._syncRegistry.getColorMap(); } - loadGrammarWithEmbeddedLanguages(e4, t5, n3) { - return this.loadGrammarWithConfiguration(e4, t5, { embeddedLanguages: n3 }); + loadGrammarWithEmbeddedLanguages(e3, t32, n22) { + return this.loadGrammarWithConfiguration(e3, t32, { embeddedLanguages: n22 }); } - loadGrammarWithConfiguration(e4, t5, n3) { - return this._loadGrammar(e4, t5, n3.embeddedLanguages, n3.tokenTypes, new i2.BalancedBracketSelectors(n3.balancedBracketSelectors || [], n3.unbalancedBracketSelectors || [])); + loadGrammarWithConfiguration(e3, t32, n22) { + return this._loadGrammar(e3, t32, n22.embeddedLanguages, n22.tokenTypes, new i2.BalancedBracketSelectors(n22.balancedBracketSelectors || [], n22.unbalancedBracketSelectors || [])); } - loadGrammar(e4) { - return this._loadGrammar(e4, 0, null, null, null); + loadGrammar(e3) { + return this._loadGrammar(e3, 0, null, null, null); } - async _loadGrammar(e4, t5, n3, s4, r3) { - const i3 = new l2.ScopeDependencyProcessor(this._syncRegistry, e4); - for (; i3.Q.length > 0; ) - await Promise.all(i3.Q.map((e5) => this._loadSingleGrammar(e5.scopeName))), i3.processQueue(); - return this._grammarForScopeName(e4, t5, n3, s4, r3); + async _loadGrammar(e3, t32, n22, s22, r22) { + const i22 = new l2.ScopeDependencyProcessor(this._syncRegistry, e3); + for (; i22.Q.length > 0; ) await Promise.all(i22.Q.map((e4) => this._loadSingleGrammar(e4.scopeName))), i22.processQueue(); + return this._grammarForScopeName(e3, t32, n22, s22, r22); } - async _loadSingleGrammar(e4) { - return this._ensureGrammarCache.has(e4) || this._ensureGrammarCache.set(e4, this._doLoadSingleGrammar(e4)), this._ensureGrammarCache.get(e4); + async _loadSingleGrammar(e3) { + return this._ensureGrammarCache.has(e3) || this._ensureGrammarCache.set(e3, this._doLoadSingleGrammar(e3)), this._ensureGrammarCache.get(e3); } - async _doLoadSingleGrammar(e4) { - const t5 = await this._options.loadGrammar(e4); - if (t5) { - const n3 = "function" == typeof this._options.getInjections ? this._options.getInjections(e4) : void 0; - this._syncRegistry.addGrammar(t5, n3); + async _doLoadSingleGrammar(e3) { + const t32 = await this._options.loadGrammar(e3); + if (t32) { + const n22 = "function" == typeof this._options.getInjections ? this._options.getInjections(e3) : void 0; + this._syncRegistry.addGrammar(t32, n22); } } - async addGrammar(e4, t5 = [], n3 = 0, s4 = null) { - return this._syncRegistry.addGrammar(e4, t5), await this._grammarForScopeName(e4.scopeName, n3, s4); + async addGrammar(e3, t32 = [], n22 = 0, s22 = null) { + return this._syncRegistry.addGrammar(e3, t32), await this._grammarForScopeName(e3.scopeName, n22, s22); } - _grammarForScopeName(e4, t5 = 0, n3 = null, s4 = null, r3 = null) { - return this._syncRegistry.grammarForScopeName(e4, t5, n3, s4, r3); + _grammarForScopeName(e3, t32 = 0, n22 = null, s22 = null, r22 = null) { + return this._syncRegistry.grammarForScopeName(e3, t32, n22, s22, r22); } - }, t4.INITIAL = i2.StateStack.NULL, t4.parseRawGrammar = o2.parseRawGrammar; - }, 736: (e3, t4) => { - function n2(e4) { - return !!e4 && !!e4.match(/[\w\.:]+/); + }, t22.INITIAL = i2.StateStack.NULL, t22.parseRawGrammar = o2.parseRawGrammar; + }, 736: (e22, t22) => { + function n2(e3) { + return !!e3 && !!e3.match(/[\w\.:]+/); } - Object.defineProperty(t4, "__esModule", { value: true }), t4.createMatchers = void 0, t4.createMatchers = function(e4, t5) { - const s3 = [], r2 = function(e5) { - let t6 = /([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g, n3 = t6.exec(e5); + Object.defineProperty(t22, "__esModule", { value: true }), t22.createMatchers = void 0, t22.createMatchers = function(e3, t32) { + const s3 = [], r2 = function(e4) { + let t4 = /([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g, n22 = t4.exec(e4); return { next: () => { - if (!n3) - return null; - const s4 = n3[0]; - return n3 = t6.exec(e5), s4; + if (!n22) return null; + const s22 = n22[0]; + return n22 = t4.exec(e4), s22; } }; - }(e4); + }(e3); let i2 = r2.next(); for (; null !== i2; ) { - let e5 = 0; + let e4 = 0; if (2 === i2.length && ":" === i2.charAt(1)) { switch (i2.charAt(0)) { case "R": - e5 = 1; + e4 = 1; break; case "L": - e5 = -1; + e4 = -1; break; default: console.log(`Unknown priority ${i2} in scope selector`); } i2 = r2.next(); } - let t6 = c2(); - if (s3.push({ matcher: t6, priority: e5 }), "," !== i2) - break; + let t4 = c2(); + if (s3.push({ matcher: t4, priority: e4 }), "," !== i2) break; i2 = r2.next(); } return s3; function o2() { if ("-" === i2) { i2 = r2.next(); - const e5 = o2(); - return (t6) => !!e5 && !e5(t6); + const e4 = o2(); + return (t4) => !!e4 && !e4(t4); } if ("(" === i2) { i2 = r2.next(); - const e5 = function() { - const e6 = []; - let t6 = c2(); - for (; t6 && (e6.push(t6), "|" === i2 || "," === i2); ) { + const e4 = function() { + const e5 = []; + let t4 = c2(); + for (; t4 && (e5.push(t4), "|" === i2 || "," === i2); ) { do { i2 = r2.next(); } while ("|" === i2 || "," === i2); - t6 = c2(); + t4 = c2(); } - return (t7) => e6.some((e7) => e7(t7)); + return (t5) => e5.some((e6) => e6(t5)); }(); - return ")" === i2 && (i2 = r2.next()), e5; + return ")" === i2 && (i2 = r2.next()), e4; } if (n2(i2)) { - const e5 = []; + const e4 = []; do { - e5.push(i2), i2 = r2.next(); + e4.push(i2), i2 = r2.next(); } while (n2(i2)); - return (n3) => t5(e5, n3); + return (n22) => t32(e4, n22); } return null; } function c2() { - const e5 = []; - let t6 = o2(); - for (; t6; ) - e5.push(t6), t6 = o2(); - return (t7) => e5.every((e6) => e6(t7)); + const e4 = []; + let t4 = o2(); + for (; t4; ) e4.push(t4), t4 = o2(); + return (t5) => e4.every((e5) => e5(t5)); } }; - }, 44: (e3, t4) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.disposeOnigString = void 0, t4.disposeOnigString = function(e4) { - "function" == typeof e4.dispose && e4.dispose(); + }, 44: (e22, t22) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.disposeOnigString = void 0, t22.disposeOnigString = function(e3) { + "function" == typeof e3.dispose && e3.dispose(); }; - }, 50: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.parseRawGrammar = void 0; + }, 50: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.parseRawGrammar = void 0; const s3 = n2(69), r2 = n2(350), i2 = n2(974); - t4.parseRawGrammar = function(e4, t5 = null) { - return null !== t5 && /\.json$/.test(t5) ? (n3 = e4, o2 = t5, r2.DebugFlags.InDebugMode ? i2.parseJSON(n3, o2, true) : JSON.parse(n3)) : function(e5, t6) { - return r2.DebugFlags.InDebugMode ? s3.parseWithLocation(e5, t6, "$vscodeTextmateLocation") : s3.parsePLIST(e5); - }(e4, t5); - var n3, o2; + t22.parseRawGrammar = function(e3, t32 = null) { + return null !== t32 && /\.json$/.test(t32) ? (n22 = e3, o2 = t32, r2.DebugFlags.InDebugMode ? i2.parseJSON(n22, o2, true) : JSON.parse(n22)) : function(e4, t4) { + return r2.DebugFlags.InDebugMode ? s3.parseWithLocation(e4, t4, "$vscodeTextmateLocation") : s3.parsePLIST(e4); + }(e3, t32); + var n22, o2; }; - }, 69: (e3, t4) => { - function n2(e4, t5, n3) { - const s3 = e4.length; + }, 69: (e22, t22) => { + function n2(e3, t32, n22) { + const s3 = e3.length; let r2 = 0, i2 = 1, o2 = 0; - function c2(t6) { - if (null === n3) - r2 += t6; - else - for (; t6 > 0; ) - 10 === e4.charCodeAt(r2) ? (r2++, i2++, o2 = 0) : (r2++, o2++), t6--; + function c2(t4) { + if (null === n22) r2 += t4; + else for (; t4 > 0; ) 10 === e3.charCodeAt(r2) ? (r2++, i2++, o2 = 0) : (r2++, o2++), t4--; } - function a2(e5) { - null === n3 ? r2 = e5 : c2(e5 - r2); + function a2(e4) { + null === n22 ? r2 = e4 : c2(e4 - r2); } function l2() { for (; r2 < s3; ) { - let t6 = e4.charCodeAt(r2); - if (32 !== t6 && 9 !== t6 && 13 !== t6 && 10 !== t6) - break; + let t4 = e3.charCodeAt(r2); + if (32 !== t4 && 9 !== t4 && 13 !== t4 && 10 !== t4) break; c2(1); } } - function u3(t6) { - return e4.substr(r2, t6.length) === t6 && (c2(t6.length), true); + function u3(t4) { + return e3.substr(r2, t4.length) === t4 && (c2(t4.length), true); } - function h2(t6) { - let n4 = e4.indexOf(t6, r2); - a2(-1 !== n4 ? n4 + t6.length : s3); + function h2(t4) { + let n3 = e3.indexOf(t4, r2); + a2(-1 !== n3 ? n3 + t4.length : s3); } - function p2(t6) { - let n4 = e4.indexOf(t6, r2); - if (-1 !== n4) { - let s4 = e4.substring(r2, n4); - return a2(n4 + t6.length), s4; + function p2(t4) { + let n3 = e3.indexOf(t4, r2); + if (-1 !== n3) { + let s22 = e3.substring(r2, n3); + return a2(n3 + t4.length), s22; } { - let t7 = e4.substr(r2); - return a2(s3), t7; + let t5 = e3.substr(r2); + return a2(s3), t5; } } - s3 > 0 && 65279 === e4.charCodeAt(0) && (r2 = 1); + s3 > 0 && 65279 === e3.charCodeAt(0) && (r2 = 1); let d2 = 0, f2 = null, g2 = [], m2 = [], _2 = null; - function b3(e5, t6) { - g2.push(d2), m2.push(f2), d2 = e5, f2 = t6; + function b3(e4, t4) { + g2.push(d2), m2.push(f2), d2 = e4, f2 = t4; } function y2() { - if (0 === g2.length) - return S2("illegal state stack"); + if (0 === g2.length) return S2("illegal state stack"); d2 = g2.pop(), f2 = m2.pop(); } - function S2(t6) { - throw new Error("Near offset " + r2 + ": " + t6 + " ~~~" + e4.substr(r2, 50) + "~~~"); + function S2(t4) { + throw new Error("Near offset " + r2 + ": " + t4 + " ~~~" + e3.substr(r2, 50) + "~~~"); } const k2 = function() { - if (null === _2) - return S2("missing "); - let e5 = {}; - null !== n3 && (e5[n3] = { filename: t5, line: i2, char: o2 }), f2[_2] = e5, _2 = null, b3(1, e5); + if (null === _2) return S2("missing "); + let e4 = {}; + null !== n22 && (e4[n22] = { filename: t32, line: i2, char: o2 }), f2[_2] = e4, _2 = null, b3(1, e4); }, C2 = function() { - if (null === _2) - return S2("missing "); - let e5 = []; - f2[_2] = e5, _2 = null, b3(2, e5); + if (null === _2) return S2("missing "); + let e4 = []; + f2[_2] = e4, _2 = null, b3(2, e4); }, R3 = function() { - let e5 = {}; - null !== n3 && (e5[n3] = { filename: t5, line: i2, char: o2 }), f2.push(e5), b3(1, e5); + let e4 = {}; + null !== n22 && (e4[n22] = { filename: t32, line: i2, char: o2 }), f2.push(e4), b3(1, e4); }, A2 = function() { - let e5 = []; - f2.push(e5), b3(2, e5); + let e4 = []; + f2.push(e4), b3(2, e4); }; function w2() { - if (1 !== d2) - return S2("unexpected "); + if (1 !== d2) return S2("unexpected "); y2(); } function P2() { return 1 === d2 || 2 !== d2 ? S2("unexpected ") : void y2(); } - function I2(e5) { + function I2(e4) { if (1 === d2) { - if (null === _2) - return S2("missing "); - f2[_2] = e5, _2 = null; - } else - 2 === d2 ? f2.push(e5) : f2 = e5; + if (null === _2) return S2("missing "); + f2[_2] = e4, _2 = null; + } else 2 === d2 ? f2.push(e4) : f2 = e4; } - function v2(e5) { - if (isNaN(e5)) - return S2("cannot parse float"); + function v2(e4) { + if (isNaN(e4)) return S2("cannot parse float"); if (1 === d2) { - if (null === _2) - return S2("missing "); - f2[_2] = e5, _2 = null; - } else - 2 === d2 ? f2.push(e5) : f2 = e5; + if (null === _2) return S2("missing "); + f2[_2] = e4, _2 = null; + } else 2 === d2 ? f2.push(e4) : f2 = e4; } - function N3(e5) { - if (isNaN(e5)) - return S2("cannot parse integer"); + function N3(e4) { + if (isNaN(e4)) return S2("cannot parse integer"); if (1 === d2) { - if (null === _2) - return S2("missing "); - f2[_2] = e5, _2 = null; - } else - 2 === d2 ? f2.push(e5) : f2 = e5; + if (null === _2) return S2("missing "); + f2[_2] = e4, _2 = null; + } else 2 === d2 ? f2.push(e4) : f2 = e4; } - function T3(e5) { + function T3(e4) { if (1 === d2) { - if (null === _2) - return S2("missing "); - f2[_2] = e5, _2 = null; - } else - 2 === d2 ? f2.push(e5) : f2 = e5; + if (null === _2) return S2("missing "); + f2[_2] = e4, _2 = null; + } else 2 === d2 ? f2.push(e4) : f2 = e4; } - function x2(e5) { + function x2(e4) { if (1 === d2) { - if (null === _2) - return S2("missing "); - f2[_2] = e5, _2 = null; - } else - 2 === d2 ? f2.push(e5) : f2 = e5; + if (null === _2) return S2("missing "); + f2[_2] = e4, _2 = null; + } else 2 === d2 ? f2.push(e4) : f2 = e4; } - function G2(e5) { + function G2(e4) { if (1 === d2) { - if (null === _2) - return S2("missing "); - f2[_2] = e5, _2 = null; - } else - 2 === d2 ? f2.push(e5) : f2 = e5; + if (null === _2) return S2("missing "); + f2[_2] = e4, _2 = null; + } else 2 === d2 ? f2.push(e4) : f2 = e4; } function E2() { - let e5 = p2(">"), t6 = false; - return 47 === e5.charCodeAt(e5.length - 1) && (t6 = true, e5 = e5.substring(0, e5.length - 1)), { name: e5.trim(), isClosed: t6 }; - } - function L2(e5) { - if (e5.isClosed) - return ""; - let t6 = p2(""), t6.replace(/&#([0-9]+);/g, function(e6, t7) { - return String.fromCodePoint(parseInt(t7, 10)); - }).replace(/&#x([0-9a-f]+);/g, function(e6, t7) { - return String.fromCodePoint(parseInt(t7, 16)); - }).replace(/&|<|>|"|'/g, function(e6) { - switch (e6) { + let e4 = p2(">"), t4 = false; + return 47 === e4.charCodeAt(e4.length - 1) && (t4 = true, e4 = e4.substring(0, e4.length - 1)), { name: e4.trim(), isClosed: t4 }; + } + function L2(e4) { + if (e4.isClosed) return ""; + let t4 = p2(""), t4.replace(/&#([0-9]+);/g, function(e5, t5) { + return String.fromCodePoint(parseInt(t5, 10)); + }).replace(/&#x([0-9a-f]+);/g, function(e5, t5) { + return String.fromCodePoint(parseInt(t5, 16)); + }).replace(/&|<|>|"|'/g, function(e5) { + switch (e5) { case "&": return "&"; case "<": @@ -98657,21 +98712,19 @@ var main = { case "'": return "'"; } - return e6; + return e5; }); } for (; r2 < s3 && (l2(), !(r2 >= s3)); ) { - const a3 = e4.charCodeAt(r2); - if (c2(1), 60 !== a3) - return S2("expected <"); - if (r2 >= s3) - return S2("unexpected end of input"); - const p3 = e4.charCodeAt(r2); - if (63 === p3) { + const a22 = e3.charCodeAt(r2); + if (c2(1), 60 !== a22) return S2("expected <"); + if (r2 >= s3) return S2("unexpected end of input"); + const p22 = e3.charCodeAt(r2); + if (63 === p22) { c2(1), h2("?>"); continue; } - if (33 === p3) { + if (33 === p22) { if (c2(1), u3("--")) { h2("-->"); continue; @@ -98679,7 +98732,7 @@ var main = { h2(">"); continue; } - if (47 === p3) { + if (47 === p22) { if (c2(1), l2(), u3("plist")) { h2(">"); continue; @@ -98694,136 +98747,133 @@ var main = { } return S2("unexpected closed tag"); } - let g3 = E2(); - switch (g3.name) { + let g22 = E2(); + switch (g22.name) { case "dict": - 1 === d2 ? k2() : 2 === d2 ? R3() : (f2 = {}, null !== n3 && (f2[n3] = { filename: t5, line: i2, char: o2 }), b3(1, f2)), g3.isClosed && w2(); + 1 === d2 ? k2() : 2 === d2 ? R3() : (f2 = {}, null !== n22 && (f2[n22] = { filename: t32, line: i2, char: o2 }), b3(1, f2)), g22.isClosed && w2(); continue; case "array": - 1 === d2 ? C2() : 2 === d2 ? A2() : (f2 = [], b3(2, f2)), g3.isClosed && P2(); + 1 === d2 ? C2() : 2 === d2 ? A2() : (f2 = [], b3(2, f2)), g22.isClosed && P2(); continue; case "key": - M2 = L2(g3), 1 !== d2 ? S2("unexpected ") : null !== _2 ? S2("too many ") : _2 = M2; + M2 = L2(g22), 1 !== d2 ? S2("unexpected ") : null !== _2 ? S2("too many ") : _2 = M2; continue; case "string": - I2(L2(g3)); + I2(L2(g22)); continue; case "real": - v2(parseFloat(L2(g3))); + v2(parseFloat(L2(g22))); continue; case "integer": - N3(parseInt(L2(g3), 10)); + N3(parseInt(L2(g22), 10)); continue; case "date": - T3(new Date(L2(g3))); + T3(new Date(L2(g22))); continue; case "data": - x2(L2(g3)); + x2(L2(g22)); continue; case "true": - L2(g3), G2(true); + L2(g22), G2(true); continue; case "false": - L2(g3), G2(false); + L2(g22), G2(false); continue; } - if (!/^plist/.test(g3.name)) - return S2("unexpected opened tag " + g3.name); + if (!/^plist/.test(g22.name)) return S2("unexpected opened tag " + g22.name); } var M2; return f2; } - Object.defineProperty(t4, "__esModule", { value: true }), t4.parsePLIST = t4.parseWithLocation = void 0, t4.parseWithLocation = function(e4, t5, s3) { - return n2(e4, t5, s3); - }, t4.parsePLIST = function(e4) { - return n2(e4, null, null); + Object.defineProperty(t22, "__esModule", { value: true }), t22.parsePLIST = t22.parseWithLocation = void 0, t22.parseWithLocation = function(e3, t32, s3) { + return n2(e3, t32, s3); + }, t22.parsePLIST = function(e3) { + return n2(e3, null, null); }; - }, 652: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.SyncRegistry = void 0; + }, 652: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.SyncRegistry = void 0; const s3 = n2(391); - t4.SyncRegistry = class { - constructor(e4, t5) { - this._onigLibPromise = t5, this._grammars = /* @__PURE__ */ new Map(), this._rawGrammars = /* @__PURE__ */ new Map(), this._injectionGrammars = /* @__PURE__ */ new Map(), this._theme = e4; + t22.SyncRegistry = class { + constructor(e3, t32) { + this._onigLibPromise = t32, this._grammars = /* @__PURE__ */ new Map(), this._rawGrammars = /* @__PURE__ */ new Map(), this._injectionGrammars = /* @__PURE__ */ new Map(), this._theme = e3; } dispose() { - for (const e4 of this._grammars.values()) - e4.dispose(); + for (const e3 of this._grammars.values()) e3.dispose(); } - setTheme(e4) { - this._theme = e4; + setTheme(e3) { + this._theme = e3; } getColorMap() { return this._theme.getColorMap(); } - addGrammar(e4, t5) { - this._rawGrammars.set(e4.scopeName, e4), t5 && this._injectionGrammars.set(e4.scopeName, t5); + addGrammar(e3, t32) { + this._rawGrammars.set(e3.scopeName, e3), t32 && this._injectionGrammars.set(e3.scopeName, t32); } - lookup(e4) { - return this._rawGrammars.get(e4); + lookup(e3) { + return this._rawGrammars.get(e3); } - injections(e4) { - return this._injectionGrammars.get(e4); + injections(e3) { + return this._injectionGrammars.get(e3); } getDefaults() { return this._theme.getDefaults(); } - themeMatch(e4) { - return this._theme.match(e4); + themeMatch(e3) { + return this._theme.match(e3); } - async grammarForScopeName(e4, t5, n3, r2, i2) { - if (!this._grammars.has(e4)) { - let o2 = this._rawGrammars.get(e4); - if (!o2) - return null; - this._grammars.set(e4, s3.createGrammar(e4, o2, t5, n3, r2, i2, this, await this._onigLibPromise)); + async grammarForScopeName(e3, t32, n22, r2, i2) { + if (!this._grammars.has(e3)) { + let o2 = this._rawGrammars.get(e3); + if (!o2) return null; + this._grammars.set(e3, s3.createGrammar(e3, o2, t32, n22, r2, i2, this, await this._onigLibPromise)); } - return this._grammars.get(e4); + return this._grammars.get(e3); } }; - }, 792: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.CompiledRule = t4.RegExpSourceList = t4.RegExpSource = t4.RuleFactory = t4.BeginWhileRule = t4.BeginEndRule = t4.IncludeOnlyRule = t4.MatchRule = t4.CaptureRule = t4.Rule = t4.ruleIdToNumber = t4.ruleIdFromNumber = t4.whileRuleId = t4.endRuleId = void 0; + }, 792: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.CompiledRule = t22.RegExpSourceList = t22.RegExpSource = t22.RuleFactory = t22.BeginWhileRule = t22.BeginEndRule = t22.IncludeOnlyRule = t22.MatchRule = t22.CaptureRule = t22.Rule = t22.ruleIdToNumber = t22.ruleIdFromNumber = t22.whileRuleId = t22.endRuleId = void 0; const s3 = n2(878), r2 = n2(965), i2 = /\\(\d+)/, o2 = /\\(\d+)/g; - t4.endRuleId = -1, t4.whileRuleId = -2, t4.ruleIdFromNumber = function(e4) { - return e4; - }, t4.ruleIdToNumber = function(e4) { - return e4; + t22.endRuleId = -1, t22.whileRuleId = -2, t22.ruleIdFromNumber = function(e3) { + return e3; + }, t22.ruleIdToNumber = function(e3) { + return e3; }; class c2 { - constructor(e4, t5, n3, r3) { - this.$location = e4, this.id = t5, this._name = n3 || null, this._nameIsCapturing = s3.RegexSource.hasCaptures(this._name), this._contentName = r3 || null, this._contentNameIsCapturing = s3.RegexSource.hasCaptures(this._contentName); + constructor(e3, t32, n22, r22) { + this.$location = e3, this.id = t32, this._name = n22 || null, this._nameIsCapturing = s3.RegexSource.hasCaptures(this._name), this._contentName = r22 || null, this._contentNameIsCapturing = s3.RegexSource.hasCaptures(this._contentName); } get debugName() { - const e4 = this.$location ? `${s3.basename(this.$location.filename)}:${this.$location.line}` : "unknown"; - return `${this.constructor.name}#${this.id} @ ${e4}`; + const e3 = this.$location ? `${s3.basename(this.$location.filename)}:${this.$location.line}` : "unknown"; + return `${this.constructor.name}#${this.id} @ ${e3}`; } - getName(e4, t5) { - return this._nameIsCapturing && null !== this._name && null !== e4 && null !== t5 ? s3.RegexSource.replaceCaptures(this._name, e4, t5) : this._name; + getName(e3, t32) { + return this._nameIsCapturing && null !== this._name && null !== e3 && null !== t32 ? s3.RegexSource.replaceCaptures(this._name, e3, t32) : this._name; } - getContentName(e4, t5) { - return this._contentNameIsCapturing && null !== this._contentName ? s3.RegexSource.replaceCaptures(this._contentName, e4, t5) : this._contentName; + getContentName(e3, t32) { + return this._contentNameIsCapturing && null !== this._contentName ? s3.RegexSource.replaceCaptures(this._contentName, e3, t32) : this._contentName; } } - t4.Rule = c2; + t22.Rule = c2; class a2 extends c2 { - constructor(e4, t5, n3, s4, r3) { - super(e4, t5, n3, s4), this.retokenizeCapturedWithRuleId = r3; + constructor(e3, t32, n22, s22, r22) { + super(e3, t32, n22, s22), this.retokenizeCapturedWithRuleId = r22; } dispose() { } - collectPatterns(e4, t5) { + collectPatterns(e3, t32) { throw new Error("Not supported!"); } - compile(e4, t5) { + compile(e3, t32) { throw new Error("Not supported!"); } - compileAG(e4, t5, n3, s4) { + compileAG(e3, t32, n22, s22) { throw new Error("Not supported!"); } } - t4.CaptureRule = a2; + t22.CaptureRule = a2; class l2 extends c2 { - constructor(e4, t5, n3, s4, r3) { - super(e4, t5, n3, null), this._match = new f2(s4, this.id), this.captures = r3, this._cachedCompiledPatterns = null; + constructor(e3, t32, n22, s22, r22) { + super(e3, t32, n22, null), this._match = new f2(s22, this.id), this.captures = r22, this._cachedCompiledPatterns = null; } dispose() { this._cachedCompiledPatterns && (this._cachedCompiledPatterns.dispose(), this._cachedCompiledPatterns = null); @@ -98831,45 +98881,44 @@ var main = { get debugMatchRegExp() { return `${this._match.source}`; } - collectPatterns(e4, t5) { - t5.push(this._match); + collectPatterns(e3, t32) { + t32.push(this._match); } - compile(e4, t5) { - return this._getCachedCompiledPatterns(e4).compile(e4); + compile(e3, t32) { + return this._getCachedCompiledPatterns(e3).compile(e3); } - compileAG(e4, t5, n3, s4) { - return this._getCachedCompiledPatterns(e4).compileAG(e4, n3, s4); + compileAG(e3, t32, n22, s22) { + return this._getCachedCompiledPatterns(e3).compileAG(e3, n22, s22); } - _getCachedCompiledPatterns(e4) { - return this._cachedCompiledPatterns || (this._cachedCompiledPatterns = new g2(), this.collectPatterns(e4, this._cachedCompiledPatterns)), this._cachedCompiledPatterns; + _getCachedCompiledPatterns(e3) { + return this._cachedCompiledPatterns || (this._cachedCompiledPatterns = new g2(), this.collectPatterns(e3, this._cachedCompiledPatterns)), this._cachedCompiledPatterns; } } - t4.MatchRule = l2; + t22.MatchRule = l2; class u3 extends c2 { - constructor(e4, t5, n3, s4, r3) { - super(e4, t5, n3, s4), this.patterns = r3.patterns, this.hasMissingPatterns = r3.hasMissingPatterns, this._cachedCompiledPatterns = null; + constructor(e3, t32, n22, s22, r22) { + super(e3, t32, n22, s22), this.patterns = r22.patterns, this.hasMissingPatterns = r22.hasMissingPatterns, this._cachedCompiledPatterns = null; } dispose() { this._cachedCompiledPatterns && (this._cachedCompiledPatterns.dispose(), this._cachedCompiledPatterns = null); } - collectPatterns(e4, t5) { - for (const n3 of this.patterns) - e4.getRule(n3).collectPatterns(e4, t5); + collectPatterns(e3, t32) { + for (const n22 of this.patterns) e3.getRule(n22).collectPatterns(e3, t32); } - compile(e4, t5) { - return this._getCachedCompiledPatterns(e4).compile(e4); + compile(e3, t32) { + return this._getCachedCompiledPatterns(e3).compile(e3); } - compileAG(e4, t5, n3, s4) { - return this._getCachedCompiledPatterns(e4).compileAG(e4, n3, s4); + compileAG(e3, t32, n22, s22) { + return this._getCachedCompiledPatterns(e3).compileAG(e3, n22, s22); } - _getCachedCompiledPatterns(e4) { - return this._cachedCompiledPatterns || (this._cachedCompiledPatterns = new g2(), this.collectPatterns(e4, this._cachedCompiledPatterns)), this._cachedCompiledPatterns; + _getCachedCompiledPatterns(e3) { + return this._cachedCompiledPatterns || (this._cachedCompiledPatterns = new g2(), this.collectPatterns(e3, this._cachedCompiledPatterns)), this._cachedCompiledPatterns; } } - t4.IncludeOnlyRule = u3; + t22.IncludeOnlyRule = u3; class h2 extends c2 { - constructor(e4, t5, n3, s4, r3, i3, o3, c3, a3, l3) { - super(e4, t5, n3, s4), this._begin = new f2(r3, this.id), this.beginCaptures = i3, this._end = new f2(o3 || "￿", -1), this.endHasBackReferences = this._end.hasBackReferences, this.endCaptures = c3, this.applyEndPatternLast = a3 || false, this.patterns = l3.patterns, this.hasMissingPatterns = l3.hasMissingPatterns, this._cachedCompiledPatterns = null; + constructor(e3, t32, n22, s22, r22, i22, o22, c22, a22, l22) { + super(e3, t32, n22, s22), this._begin = new f2(r22, this.id), this.beginCaptures = i22, this._end = new f2(o22 || "￿", -1), this.endHasBackReferences = this._end.hasBackReferences, this.endCaptures = c22, this.applyEndPatternLast = a22 || false, this.patterns = l22.patterns, this.hasMissingPatterns = l22.hasMissingPatterns, this._cachedCompiledPatterns = null; } dispose() { this._cachedCompiledPatterns && (this._cachedCompiledPatterns.dispose(), this._cachedCompiledPatterns = null); @@ -98880,32 +98929,31 @@ var main = { get debugEndRegExp() { return `${this._end.source}`; } - getEndWithResolvedBackReferences(e4, t5) { - return this._end.resolveBackReferences(e4, t5); + getEndWithResolvedBackReferences(e3, t32) { + return this._end.resolveBackReferences(e3, t32); } - collectPatterns(e4, t5) { - t5.push(this._begin); + collectPatterns(e3, t32) { + t32.push(this._begin); } - compile(e4, t5) { - return this._getCachedCompiledPatterns(e4, t5).compile(e4); + compile(e3, t32) { + return this._getCachedCompiledPatterns(e3, t32).compile(e3); } - compileAG(e4, t5, n3, s4) { - return this._getCachedCompiledPatterns(e4, t5).compileAG(e4, n3, s4); + compileAG(e3, t32, n22, s22) { + return this._getCachedCompiledPatterns(e3, t32).compileAG(e3, n22, s22); } - _getCachedCompiledPatterns(e4, t5) { + _getCachedCompiledPatterns(e3, t32) { if (!this._cachedCompiledPatterns) { this._cachedCompiledPatterns = new g2(); - for (const t6 of this.patterns) - e4.getRule(t6).collectPatterns(e4, this._cachedCompiledPatterns); + for (const t4 of this.patterns) e3.getRule(t4).collectPatterns(e3, this._cachedCompiledPatterns); this.applyEndPatternLast ? this._cachedCompiledPatterns.push(this._end.hasBackReferences ? this._end.clone() : this._end) : this._cachedCompiledPatterns.unshift(this._end.hasBackReferences ? this._end.clone() : this._end); } - return this._end.hasBackReferences && (this.applyEndPatternLast ? this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length() - 1, t5) : this._cachedCompiledPatterns.setSource(0, t5)), this._cachedCompiledPatterns; + return this._end.hasBackReferences && (this.applyEndPatternLast ? this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length() - 1, t32) : this._cachedCompiledPatterns.setSource(0, t32)), this._cachedCompiledPatterns; } } - t4.BeginEndRule = h2; + t22.BeginEndRule = h2; class p2 extends c2 { - constructor(e4, n3, s4, r3, i3, o3, c3, a3, l3) { - super(e4, n3, s4, r3), this._begin = new f2(i3, this.id), this.beginCaptures = o3, this.whileCaptures = a3, this._while = new f2(c3, t4.whileRuleId), this.whileHasBackReferences = this._while.hasBackReferences, this.patterns = l3.patterns, this.hasMissingPatterns = l3.hasMissingPatterns, this._cachedCompiledPatterns = null, this._cachedCompiledWhilePatterns = null; + constructor(e3, n22, s22, r22, i22, o22, c22, a22, l22) { + super(e3, n22, s22, r22), this._begin = new f2(i22, this.id), this.beginCaptures = o22, this.whileCaptures = a22, this._while = new f2(c22, t22.whileRuleId), this.whileHasBackReferences = this._while.hasBackReferences, this.patterns = l22.patterns, this.hasMissingPatterns = l22.hasMissingPatterns, this._cachedCompiledPatterns = null, this._cachedCompiledWhilePatterns = null; } dispose() { this._cachedCompiledPatterns && (this._cachedCompiledPatterns.dispose(), this._cachedCompiledPatterns = null), this._cachedCompiledWhilePatterns && (this._cachedCompiledWhilePatterns.dispose(), this._cachedCompiledWhilePatterns = null); @@ -98916,152 +98964,139 @@ var main = { get debugWhileRegExp() { return `${this._while.source}`; } - getWhileWithResolvedBackReferences(e4, t5) { - return this._while.resolveBackReferences(e4, t5); + getWhileWithResolvedBackReferences(e3, t32) { + return this._while.resolveBackReferences(e3, t32); } - collectPatterns(e4, t5) { - t5.push(this._begin); + collectPatterns(e3, t32) { + t32.push(this._begin); } - compile(e4, t5) { - return this._getCachedCompiledPatterns(e4).compile(e4); + compile(e3, t32) { + return this._getCachedCompiledPatterns(e3).compile(e3); } - compileAG(e4, t5, n3, s4) { - return this._getCachedCompiledPatterns(e4).compileAG(e4, n3, s4); + compileAG(e3, t32, n22, s22) { + return this._getCachedCompiledPatterns(e3).compileAG(e3, n22, s22); } - _getCachedCompiledPatterns(e4) { + _getCachedCompiledPatterns(e3) { if (!this._cachedCompiledPatterns) { this._cachedCompiledPatterns = new g2(); - for (const t5 of this.patterns) - e4.getRule(t5).collectPatterns(e4, this._cachedCompiledPatterns); + for (const t32 of this.patterns) e3.getRule(t32).collectPatterns(e3, this._cachedCompiledPatterns); } return this._cachedCompiledPatterns; } - compileWhile(e4, t5) { - return this._getCachedCompiledWhilePatterns(e4, t5).compile(e4); + compileWhile(e3, t32) { + return this._getCachedCompiledWhilePatterns(e3, t32).compile(e3); } - compileWhileAG(e4, t5, n3, s4) { - return this._getCachedCompiledWhilePatterns(e4, t5).compileAG(e4, n3, s4); + compileWhileAG(e3, t32, n22, s22) { + return this._getCachedCompiledWhilePatterns(e3, t32).compileAG(e3, n22, s22); } - _getCachedCompiledWhilePatterns(e4, t5) { - return this._cachedCompiledWhilePatterns || (this._cachedCompiledWhilePatterns = new g2(), this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences ? this._while.clone() : this._while)), this._while.hasBackReferences && this._cachedCompiledWhilePatterns.setSource(0, t5 || "￿"), this._cachedCompiledWhilePatterns; + _getCachedCompiledWhilePatterns(e3, t32) { + return this._cachedCompiledWhilePatterns || (this._cachedCompiledWhilePatterns = new g2(), this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences ? this._while.clone() : this._while)), this._while.hasBackReferences && this._cachedCompiledWhilePatterns.setSource(0, t32 || "￿"), this._cachedCompiledWhilePatterns; } } - t4.BeginWhileRule = p2; + t22.BeginWhileRule = p2; class d2 { - static createCaptureRule(e4, t5, n3, s4, r3) { - return e4.registerRule((e5) => new a2(t5, e5, n3, s4, r3)); - } - static getCompiledRuleId(e4, t5, n3) { - return e4.id || t5.registerRule((r3) => { - if (e4.id = r3, e4.match) - return new l2(e4.$vscodeTextmateLocation, e4.id, e4.name, e4.match, d2._compileCaptures(e4.captures, t5, n3)); - if (void 0 === e4.begin) { - e4.repository && (n3 = s3.mergeObjects({}, n3, e4.repository)); - let r4 = e4.patterns; - return void 0 === r4 && e4.include && (r4 = [{ include: e4.include }]), new u3(e4.$vscodeTextmateLocation, e4.id, e4.name, e4.contentName, d2._compilePatterns(r4, t5, n3)); + static createCaptureRule(e3, t32, n22, s22, r22) { + return e3.registerRule((e4) => new a2(t32, e4, n22, s22, r22)); + } + static getCompiledRuleId(e3, t32, n22) { + return e3.id || t32.registerRule((r22) => { + if (e3.id = r22, e3.match) return new l2(e3.$vscodeTextmateLocation, e3.id, e3.name, e3.match, d2._compileCaptures(e3.captures, t32, n22)); + if (void 0 === e3.begin) { + e3.repository && (n22 = s3.mergeObjects({}, n22, e3.repository)); + let r3 = e3.patterns; + return void 0 === r3 && e3.include && (r3 = [{ include: e3.include }]), new u3(e3.$vscodeTextmateLocation, e3.id, e3.name, e3.contentName, d2._compilePatterns(r3, t32, n22)); } - return e4.while ? new p2(e4.$vscodeTextmateLocation, e4.id, e4.name, e4.contentName, e4.begin, d2._compileCaptures(e4.beginCaptures || e4.captures, t5, n3), e4.while, d2._compileCaptures(e4.whileCaptures || e4.captures, t5, n3), d2._compilePatterns(e4.patterns, t5, n3)) : new h2(e4.$vscodeTextmateLocation, e4.id, e4.name, e4.contentName, e4.begin, d2._compileCaptures(e4.beginCaptures || e4.captures, t5, n3), e4.end, d2._compileCaptures(e4.endCaptures || e4.captures, t5, n3), e4.applyEndPatternLast, d2._compilePatterns(e4.patterns, t5, n3)); - }), e4.id; - } - static _compileCaptures(e4, t5, n3) { - let s4 = []; - if (e4) { - let r3 = 0; - for (const t6 in e4) { - if ("$vscodeTextmateLocation" === t6) - continue; - const e5 = parseInt(t6, 10); - e5 > r3 && (r3 = e5); + return e3.while ? new p2(e3.$vscodeTextmateLocation, e3.id, e3.name, e3.contentName, e3.begin, d2._compileCaptures(e3.beginCaptures || e3.captures, t32, n22), e3.while, d2._compileCaptures(e3.whileCaptures || e3.captures, t32, n22), d2._compilePatterns(e3.patterns, t32, n22)) : new h2(e3.$vscodeTextmateLocation, e3.id, e3.name, e3.contentName, e3.begin, d2._compileCaptures(e3.beginCaptures || e3.captures, t32, n22), e3.end, d2._compileCaptures(e3.endCaptures || e3.captures, t32, n22), e3.applyEndPatternLast, d2._compilePatterns(e3.patterns, t32, n22)); + }), e3.id; + } + static _compileCaptures(e3, t32, n22) { + let s22 = []; + if (e3) { + let r22 = 0; + for (const t4 in e3) { + if ("$vscodeTextmateLocation" === t4) continue; + const e4 = parseInt(t4, 10); + e4 > r22 && (r22 = e4); } - for (let e5 = 0; e5 <= r3; e5++) - s4[e5] = null; - for (const r4 in e4) { - if ("$vscodeTextmateLocation" === r4) - continue; - const i3 = parseInt(r4, 10); - let o3 = 0; - e4[r4].patterns && (o3 = d2.getCompiledRuleId(e4[r4], t5, n3)), s4[i3] = d2.createCaptureRule(t5, e4[r4].$vscodeTextmateLocation, e4[r4].name, e4[r4].contentName, o3); + for (let e4 = 0; e4 <= r22; e4++) s22[e4] = null; + for (const r3 in e3) { + if ("$vscodeTextmateLocation" === r3) continue; + const i22 = parseInt(r3, 10); + let o22 = 0; + e3[r3].patterns && (o22 = d2.getCompiledRuleId(e3[r3], t32, n22)), s22[i22] = d2.createCaptureRule(t32, e3[r3].$vscodeTextmateLocation, e3[r3].name, e3[r3].contentName, o22); } } - return s4; - } - static _compilePatterns(e4, t5, n3) { - let s4 = []; - if (e4) - for (let i3 = 0, o3 = e4.length; i3 < o3; i3++) { - const o4 = e4[i3]; - let c3 = -1; - if (o4.include) { - const e5 = r2.parseInclude(o4.include); - switch (e5.kind) { - case 0: - case 1: - c3 = d2.getCompiledRuleId(n3[o4.include], t5, n3); - break; - case 2: - let s5 = n3[e5.ruleName]; - s5 && (c3 = d2.getCompiledRuleId(s5, t5, n3)); - break; - case 3: - case 4: - const r3 = e5.scopeName, i4 = 4 === e5.kind ? e5.ruleName : null, a3 = t5.getExternalGrammar(r3, n3); - if (a3) - if (i4) { - let e6 = a3.repository[i4]; - e6 && (c3 = d2.getCompiledRuleId(e6, t5, a3.repository)); - } else - c3 = d2.getCompiledRuleId(a3.repository.$self, t5, a3.repository); - } - } else - c3 = d2.getCompiledRuleId(o4, t5, n3); - if (-1 !== c3) { - const e5 = t5.getRule(c3); - let n4 = false; - if ((e5 instanceof u3 || e5 instanceof h2 || e5 instanceof p2) && e5.hasMissingPatterns && 0 === e5.patterns.length && (n4 = true), n4) - continue; - s4.push(c3); + return s22; + } + static _compilePatterns(e3, t32, n22) { + let s22 = []; + if (e3) for (let i22 = 0, o22 = e3.length; i22 < o22; i22++) { + const o3 = e3[i22]; + let c22 = -1; + if (o3.include) { + const e4 = r2.parseInclude(o3.include); + switch (e4.kind) { + case 0: + case 1: + c22 = d2.getCompiledRuleId(n22[o3.include], t32, n22); + break; + case 2: + let s32 = n22[e4.ruleName]; + s32 && (c22 = d2.getCompiledRuleId(s32, t32, n22)); + break; + case 3: + case 4: + const r22 = e4.scopeName, i3 = 4 === e4.kind ? e4.ruleName : null, a22 = t32.getExternalGrammar(r22, n22); + if (a22) if (i3) { + let e5 = a22.repository[i3]; + e5 && (c22 = d2.getCompiledRuleId(e5, t32, a22.repository)); + } else c22 = d2.getCompiledRuleId(a22.repository.$self, t32, a22.repository); } + } else c22 = d2.getCompiledRuleId(o3, t32, n22); + if (-1 !== c22) { + const e4 = t32.getRule(c22); + let n3 = false; + if ((e4 instanceof u3 || e4 instanceof h2 || e4 instanceof p2) && e4.hasMissingPatterns && 0 === e4.patterns.length && (n3 = true), n3) continue; + s22.push(c22); } - return { patterns: s4, hasMissingPatterns: (e4 ? e4.length : 0) !== s4.length }; + } + return { patterns: s22, hasMissingPatterns: (e3 ? e3.length : 0) !== s22.length }; } } - t4.RuleFactory = d2; + t22.RuleFactory = d2; class f2 { - constructor(e4, t5) { - if (e4) { - const t6 = e4.length; - let n3 = 0, s4 = [], r3 = false; - for (let i3 = 0; i3 < t6; i3++) - if ("\\" === e4.charAt(i3) && i3 + 1 < t6) { - const t7 = e4.charAt(i3 + 1); - "z" === t7 ? (s4.push(e4.substring(n3, i3)), s4.push("$(?!\\n)(? e4.substring(t6.start, t6.end)); - return o2.lastIndex = 0, this.source.replace(o2, (e5, t6) => s3.escapeRegExpCharacters(n3[parseInt(t6, 10)] || "")); + resolveBackReferences(e3, t32) { + let n22 = t32.map((t4) => e3.substring(t4.start, t4.end)); + return o2.lastIndex = 0, this.source.replace(o2, (e4, t4) => s3.escapeRegExpCharacters(n22[parseInt(t4, 10)] || "")); } _buildAnchorCache() { - let e4, t5, n3, s4, r3 = [], i3 = [], o3 = [], c3 = []; - for (e4 = 0, t5 = this.source.length; e4 < t5; e4++) - n3 = this.source.charAt(e4), r3[e4] = n3, i3[e4] = n3, o3[e4] = n3, c3[e4] = n3, "\\" === n3 && e4 + 1 < t5 && (s4 = this.source.charAt(e4 + 1), "A" === s4 ? (r3[e4 + 1] = "￿", i3[e4 + 1] = "￿", o3[e4 + 1] = "A", c3[e4 + 1] = "A") : "G" === s4 ? (r3[e4 + 1] = "￿", i3[e4 + 1] = "G", o3[e4 + 1] = "￿", c3[e4 + 1] = "G") : (r3[e4 + 1] = s4, i3[e4 + 1] = s4, o3[e4 + 1] = s4, c3[e4 + 1] = s4), e4++); - return { A0_G0: r3.join(""), A0_G1: i3.join(""), A1_G0: o3.join(""), A1_G1: c3.join("") }; + let e3, t32, n22, s22, r22 = [], i22 = [], o22 = [], c22 = []; + for (e3 = 0, t32 = this.source.length; e3 < t32; e3++) n22 = this.source.charAt(e3), r22[e3] = n22, i22[e3] = n22, o22[e3] = n22, c22[e3] = n22, "\\" === n22 && e3 + 1 < t32 && (s22 = this.source.charAt(e3 + 1), "A" === s22 ? (r22[e3 + 1] = "￿", i22[e3 + 1] = "￿", o22[e3 + 1] = "A", c22[e3 + 1] = "A") : "G" === s22 ? (r22[e3 + 1] = "￿", i22[e3 + 1] = "G", o22[e3 + 1] = "￿", c22[e3 + 1] = "G") : (r22[e3 + 1] = s22, i22[e3 + 1] = s22, o22[e3 + 1] = s22, c22[e3 + 1] = s22), e3++); + return { A0_G0: r22.join(""), A0_G1: i22.join(""), A1_G0: o22.join(""), A1_G1: c22.join("") }; } - resolveAnchors(e4, t5) { - return this.hasAnchor && this._anchorCache ? e4 ? t5 ? this._anchorCache.A1_G1 : this._anchorCache.A1_G0 : t5 ? this._anchorCache.A0_G1 : this._anchorCache.A0_G0 : this.source; + resolveAnchors(e3, t32) { + return this.hasAnchor && this._anchorCache ? e3 ? t32 ? this._anchorCache.A1_G1 : this._anchorCache.A1_G0 : t32 ? this._anchorCache.A0_G1 : this._anchorCache.A0_G0 : this.source; } } - t4.RegExpSource = f2; + t22.RegExpSource = f2; class g2 { constructor() { this._items = [], this._hasAnchors = false, this._cached = null, this._anchorCache = { A0_G0: null, A0_G1: null, A1_G0: null, A1_G1: null }; @@ -99072,81 +99107,80 @@ var main = { _disposeCaches() { this._cached && (this._cached.dispose(), this._cached = null), this._anchorCache.A0_G0 && (this._anchorCache.A0_G0.dispose(), this._anchorCache.A0_G0 = null), this._anchorCache.A0_G1 && (this._anchorCache.A0_G1.dispose(), this._anchorCache.A0_G1 = null), this._anchorCache.A1_G0 && (this._anchorCache.A1_G0.dispose(), this._anchorCache.A1_G0 = null), this._anchorCache.A1_G1 && (this._anchorCache.A1_G1.dispose(), this._anchorCache.A1_G1 = null); } - push(e4) { - this._items.push(e4), this._hasAnchors = this._hasAnchors || e4.hasAnchor; + push(e3) { + this._items.push(e3), this._hasAnchors = this._hasAnchors || e3.hasAnchor; } - unshift(e4) { - this._items.unshift(e4), this._hasAnchors = this._hasAnchors || e4.hasAnchor; + unshift(e3) { + this._items.unshift(e3), this._hasAnchors = this._hasAnchors || e3.hasAnchor; } length() { return this._items.length; } - setSource(e4, t5) { - this._items[e4].source !== t5 && (this._disposeCaches(), this._items[e4].setSource(t5)); + setSource(e3, t32) { + this._items[e3].source !== t32 && (this._disposeCaches(), this._items[e3].setSource(t32)); } - compile(e4) { + compile(e3) { if (!this._cached) { - let t5 = this._items.map((e5) => e5.source); - this._cached = new m2(e4, t5, this._items.map((e5) => e5.ruleId)); + let t32 = this._items.map((e4) => e4.source); + this._cached = new m2(e3, t32, this._items.map((e4) => e4.ruleId)); } return this._cached; } - compileAG(e4, t5, n3) { - return this._hasAnchors ? t5 ? n3 ? (this._anchorCache.A1_G1 || (this._anchorCache.A1_G1 = this._resolveAnchors(e4, t5, n3)), this._anchorCache.A1_G1) : (this._anchorCache.A1_G0 || (this._anchorCache.A1_G0 = this._resolveAnchors(e4, t5, n3)), this._anchorCache.A1_G0) : n3 ? (this._anchorCache.A0_G1 || (this._anchorCache.A0_G1 = this._resolveAnchors(e4, t5, n3)), this._anchorCache.A0_G1) : (this._anchorCache.A0_G0 || (this._anchorCache.A0_G0 = this._resolveAnchors(e4, t5, n3)), this._anchorCache.A0_G0) : this.compile(e4); + compileAG(e3, t32, n22) { + return this._hasAnchors ? t32 ? n22 ? (this._anchorCache.A1_G1 || (this._anchorCache.A1_G1 = this._resolveAnchors(e3, t32, n22)), this._anchorCache.A1_G1) : (this._anchorCache.A1_G0 || (this._anchorCache.A1_G0 = this._resolveAnchors(e3, t32, n22)), this._anchorCache.A1_G0) : n22 ? (this._anchorCache.A0_G1 || (this._anchorCache.A0_G1 = this._resolveAnchors(e3, t32, n22)), this._anchorCache.A0_G1) : (this._anchorCache.A0_G0 || (this._anchorCache.A0_G0 = this._resolveAnchors(e3, t32, n22)), this._anchorCache.A0_G0) : this.compile(e3); } - _resolveAnchors(e4, t5, n3) { - let s4 = this._items.map((e5) => e5.resolveAnchors(t5, n3)); - return new m2(e4, s4, this._items.map((e5) => e5.ruleId)); + _resolveAnchors(e3, t32, n22) { + let s22 = this._items.map((e4) => e4.resolveAnchors(t32, n22)); + return new m2(e3, s22, this._items.map((e4) => e4.ruleId)); } } - t4.RegExpSourceList = g2; + t22.RegExpSourceList = g2; class m2 { - constructor(e4, t5, n3) { - this.regExps = t5, this.rules = n3, this.scanner = e4.createOnigScanner(t5); + constructor(e3, t32, n22) { + this.regExps = t32, this.rules = n22, this.scanner = e3.createOnigScanner(t32); } dispose() { "function" == typeof this.scanner.dispose && this.scanner.dispose(); } toString() { - const e4 = []; - for (let t5 = 0, n3 = this.rules.length; t5 < n3; t5++) - e4.push(" - " + this.rules[t5] + ": " + this.regExps[t5]); - return e4.join("\n"); + const e3 = []; + for (let t32 = 0, n22 = this.rules.length; t32 < n22; t32++) e3.push(" - " + this.rules[t32] + ": " + this.regExps[t32]); + return e3.join("\n"); } - findNextMatchSync(e4, t5, n3) { - const s4 = this.scanner.findNextMatchSync(e4, t5, n3); - return s4 ? { ruleId: this.rules[s4.index], captureIndices: s4.captureIndices } : null; + findNextMatchSync(e3, t32, n22) { + const s22 = this.scanner.findNextMatchSync(e3, t32, n22); + return s22 ? { ruleId: this.rules[s22.index], captureIndices: s22.captureIndices } : null; } } - t4.CompiledRule = m2; - }, 583: (e3, t4, n2) => { - Object.defineProperty(t4, "__esModule", { value: true }), t4.ThemeTrieElement = t4.ThemeTrieElementRule = t4.ColorMap = t4.fontStyleToString = t4.ParsedThemeRule = t4.parseTheme = t4.StyleAttributes = t4.ScopeStack = t4.Theme = void 0; + t22.CompiledRule = m2; + }, 583: (e22, t22, n2) => { + Object.defineProperty(t22, "__esModule", { value: true }), t22.ThemeTrieElement = t22.ThemeTrieElementRule = t22.ColorMap = t22.fontStyleToString = t22.ParsedThemeRule = t22.parseTheme = t22.StyleAttributes = t22.ScopeStack = t22.Theme = void 0; const s3 = n2(878); class r2 { - constructor(e4, t5, n3) { - this._colorMap = e4, this._defaults = t5, this._root = n3, this._cachedMatchRoot = new s3.CachedFn((e5) => this._root.match(e5)); + constructor(e3, t32, n22) { + this._colorMap = e3, this._defaults = t32, this._root = n22, this._cachedMatchRoot = new s3.CachedFn((e4) => this._root.match(e4)); } - static createFromRawTheme(e4, t5) { - return this.createFromParsedTheme(a2(e4), t5); + static createFromRawTheme(e3, t32) { + return this.createFromParsedTheme(a2(e3), t32); } - static createFromParsedTheme(e4, t5) { - return function(e5, t6) { - e5.sort((e6, t7) => { - let n4 = s3.strcmp(e6.scope, t7.scope); - return 0 !== n4 ? n4 : (n4 = s3.strArrCmp(e6.parentScopes, t7.parentScopes), 0 !== n4 ? n4 : e6.index - t7.index); + static createFromParsedTheme(e3, t32) { + return function(e4, t4) { + e4.sort((e5, t5) => { + let n3 = s3.strcmp(e5.scope, t5.scope); + return 0 !== n3 ? n3 : (n3 = s3.strArrCmp(e5.parentScopes, t5.parentScopes), 0 !== n3 ? n3 : e5.index - t5.index); }); - let n3 = 0, i3 = "#000000", o3 = "#ffffff"; - for (; e5.length >= 1 && "" === e5[0].scope; ) { - let t7 = e5.shift(); - -1 !== t7.fontStyle && (n3 = t7.fontStyle), null !== t7.foreground && (i3 = t7.foreground), null !== t7.background && (o3 = t7.background); + let n22 = 0, i22 = "#000000", o22 = "#ffffff"; + for (; e4.length >= 1 && "" === e4[0].scope; ) { + let t5 = e4.shift(); + -1 !== t5.fontStyle && (n22 = t5.fontStyle), null !== t5.foreground && (i22 = t5.foreground), null !== t5.background && (o22 = t5.background); } - let a3 = new u3(t6), l3 = new c2(n3, a3.getId(i3), a3.getId(o3)), d2 = new p2(new h2(0, null, -1, 0, 0), []); - for (let t7 = 0, n4 = e5.length; t7 < n4; t7++) { - let n5 = e5[t7]; - d2.insert(0, n5.scope, n5.parentScopes, n5.fontStyle, a3.getId(n5.foreground), a3.getId(n5.background)); + let a22 = new u3(t4), l22 = new c2(n22, a22.getId(i22), a22.getId(o22)), d2 = new p2(new h2(0, null, -1, 0, 0), []); + for (let t5 = 0, n3 = e4.length; t5 < n3; t5++) { + let n4 = e4[t5]; + d2.insert(0, n4.scope, n4.parentScopes, n4.fontStyle, a22.getId(n4.foreground), a22.getId(n4.background)); } - return new r2(a3, l3, d2); - }(e4, t5); + return new r2(a22, l22, d2); + }(e3, t32); } getColorMap() { return this._colorMap.getColorMap(); @@ -99154,291 +99188,258 @@ var main = { getDefaults() { return this._defaults; } - match(e4) { - if (null === e4) - return this._defaults; - const t5 = e4.scopeName, n3 = this._cachedMatchRoot.get(t5).find((t6) => function(e5, t7) { - if (null === t7) - return true; - let n4 = 0, s4 = t7[n4]; - for (; e5; ) { - if (o2(e5.scopeName, s4)) { - if (n4++, n4 === t7.length) - return true; - s4 = t7[n4]; + match(e3) { + if (null === e3) return this._defaults; + const t32 = e3.scopeName, n22 = this._cachedMatchRoot.get(t32).find((t4) => function(e4, t5) { + if (null === t5) return true; + let n3 = 0, s22 = t5[n3]; + for (; e4; ) { + if (o2(e4.scopeName, s22)) { + if (n3++, n3 === t5.length) return true; + s22 = t5[n3]; } - e5 = e5.parent; + e4 = e4.parent; } return false; - }(e4.parent, t6.parentScopes)); - return n3 ? new c2(n3.fontStyle, n3.foreground, n3.background) : null; + }(e3.parent, t4.parentScopes)); + return n22 ? new c2(n22.fontStyle, n22.foreground, n22.background) : null; } } - t4.Theme = r2; + t22.Theme = r2; class i2 { - constructor(e4, t5) { - this.parent = e4, this.scopeName = t5; + constructor(e3, t32) { + this.parent = e3, this.scopeName = t32; } - static from(...e4) { - let t5 = null; - for (let n3 = 0; n3 < e4.length; n3++) - t5 = new i2(t5, e4[n3]); - return t5; + static from(...e3) { + let t32 = null; + for (let n22 = 0; n22 < e3.length; n22++) t32 = new i2(t32, e3[n22]); + return t32; } - push(e4) { - return new i2(this, e4); + push(e3) { + return new i2(this, e3); } getSegments() { - let e4 = this; - const t5 = []; - for (; e4; ) - t5.push(e4.scopeName), e4 = e4.parent; - return t5.reverse(), t5; + let e3 = this; + const t32 = []; + for (; e3; ) t32.push(e3.scopeName), e3 = e3.parent; + return t32.reverse(), t32; } toString() { return this.getSegments().join(" "); } } - function o2(e4, t5) { - return t5 === e4 || e4.startsWith(t5) && "." === e4[t5.length]; + function o2(e3, t32) { + return t32 === e3 || e3.startsWith(t32) && "." === e3[t32.length]; } - t4.ScopeStack = i2; + t22.ScopeStack = i2; class c2 { - constructor(e4, t5, n3) { - this.fontStyle = e4, this.foregroundId = t5, this.backgroundId = n3; - } - } - function a2(e4) { - if (!e4) - return []; - if (!e4.settings || !Array.isArray(e4.settings)) - return []; - let t5 = e4.settings, n3 = [], r3 = 0; - for (let e5 = 0, i3 = t5.length; e5 < i3; e5++) { - let i4, o3 = t5[e5]; - if (!o3.settings) - continue; - if ("string" == typeof o3.scope) { - let e6 = o3.scope; - e6 = e6.replace(/^[,]+/, ""), e6 = e6.replace(/[,]+$/, ""), i4 = e6.split(","); - } else - i4 = Array.isArray(o3.scope) ? o3.scope : [""]; - let c3 = -1; - if ("string" == typeof o3.settings.fontStyle) { - c3 = 0; - let e6 = o3.settings.fontStyle.split(" "); - for (let t6 = 0, n4 = e6.length; t6 < n4; t6++) - switch (e6[t6]) { - case "italic": - c3 |= 1; - break; - case "bold": - c3 |= 2; - break; - case "underline": - c3 |= 4; - break; - case "strikethrough": - c3 |= 8; - } + constructor(e3, t32, n22) { + this.fontStyle = e3, this.foregroundId = t32, this.backgroundId = n22; + } + } + function a2(e3) { + if (!e3) return []; + if (!e3.settings || !Array.isArray(e3.settings)) return []; + let t32 = e3.settings, n22 = [], r22 = 0; + for (let e4 = 0, i22 = t32.length; e4 < i22; e4++) { + let i3, o22 = t32[e4]; + if (!o22.settings) continue; + if ("string" == typeof o22.scope) { + let e5 = o22.scope; + e5 = e5.replace(/^[,]+/, ""), e5 = e5.replace(/[,]+$/, ""), i3 = e5.split(","); + } else i3 = Array.isArray(o22.scope) ? o22.scope : [""]; + let c22 = -1; + if ("string" == typeof o22.settings.fontStyle) { + c22 = 0; + let e5 = o22.settings.fontStyle.split(" "); + for (let t4 = 0, n3 = e5.length; t4 < n3; t4++) switch (e5[t4]) { + case "italic": + c22 |= 1; + break; + case "bold": + c22 |= 2; + break; + case "underline": + c22 |= 4; + break; + case "strikethrough": + c22 |= 8; + } } - let a3 = null; - "string" == typeof o3.settings.foreground && s3.isValidHexColor(o3.settings.foreground) && (a3 = o3.settings.foreground); - let u4 = null; - "string" == typeof o3.settings.background && s3.isValidHexColor(o3.settings.background) && (u4 = o3.settings.background); - for (let t6 = 0, s4 = i4.length; t6 < s4; t6++) { - let s5 = i4[t6].trim().split(" "), o4 = s5[s5.length - 1], h3 = null; - s5.length > 1 && (h3 = s5.slice(0, s5.length - 1), h3.reverse()), n3[r3++] = new l2(o4, h3, e5, c3, a3, u4); + let a22 = null; + "string" == typeof o22.settings.foreground && s3.isValidHexColor(o22.settings.foreground) && (a22 = o22.settings.foreground); + let u22 = null; + "string" == typeof o22.settings.background && s3.isValidHexColor(o22.settings.background) && (u22 = o22.settings.background); + for (let t4 = 0, s22 = i3.length; t4 < s22; t4++) { + let s32 = i3[t4].trim().split(" "), o3 = s32[s32.length - 1], h22 = null; + s32.length > 1 && (h22 = s32.slice(0, s32.length - 1), h22.reverse()), n22[r22++] = new l2(o3, h22, e4, c22, a22, u22); } } - return n3; + return n22; } - t4.StyleAttributes = c2, t4.parseTheme = a2; + t22.StyleAttributes = c2, t22.parseTheme = a2; class l2 { - constructor(e4, t5, n3, s4, r3, i3) { - this.scope = e4, this.parentScopes = t5, this.index = n3, this.fontStyle = s4, this.foreground = r3, this.background = i3; + constructor(e3, t32, n22, s22, r22, i22) { + this.scope = e3, this.parentScopes = t32, this.index = n22, this.fontStyle = s22, this.foreground = r22, this.background = i22; } } - t4.ParsedThemeRule = l2, t4.fontStyleToString = function(e4) { - if (-1 === e4) - return "not set"; - let t5 = ""; - return 1 & e4 && (t5 += "italic "), 2 & e4 && (t5 += "bold "), 4 & e4 && (t5 += "underline "), 8 & e4 && (t5 += "strikethrough "), "" === t5 && (t5 = "none"), t5.trim(); + t22.ParsedThemeRule = l2, t22.fontStyleToString = function(e3) { + if (-1 === e3) return "not set"; + let t32 = ""; + return 1 & e3 && (t32 += "italic "), 2 & e3 && (t32 += "bold "), 4 & e3 && (t32 += "underline "), 8 & e3 && (t32 += "strikethrough "), "" === t32 && (t32 = "none"), t32.trim(); }; class u3 { - constructor(e4) { - if (this._lastColorId = 0, this._id2color = [], this._color2id = /* @__PURE__ */ Object.create(null), Array.isArray(e4)) { + constructor(e3) { + if (this._lastColorId = 0, this._id2color = [], this._color2id = /* @__PURE__ */ Object.create(null), Array.isArray(e3)) { this._isFrozen = true; - for (let t5 = 0, n3 = e4.length; t5 < n3; t5++) - this._color2id[e4[t5]] = t5, this._id2color[t5] = e4[t5]; - } else - this._isFrozen = false; - } - getId(e4) { - if (null === e4) - return 0; - e4 = e4.toUpperCase(); - let t5 = this._color2id[e4]; - if (t5) - return t5; - if (this._isFrozen) - throw new Error(`Missing color in color map - ${e4}`); - return t5 = ++this._lastColorId, this._color2id[e4] = t5, this._id2color[t5] = e4, t5; + for (let t32 = 0, n22 = e3.length; t32 < n22; t32++) this._color2id[e3[t32]] = t32, this._id2color[t32] = e3[t32]; + } else this._isFrozen = false; + } + getId(e3) { + if (null === e3) return 0; + e3 = e3.toUpperCase(); + let t32 = this._color2id[e3]; + if (t32) return t32; + if (this._isFrozen) throw new Error(`Missing color in color map - ${e3}`); + return t32 = ++this._lastColorId, this._color2id[e3] = t32, this._id2color[t32] = e3, t32; } getColorMap() { return this._id2color.slice(0); } } - t4.ColorMap = u3; + t22.ColorMap = u3; class h2 { - constructor(e4, t5, n3, s4, r3) { - this.scopeDepth = e4, this.parentScopes = t5, this.fontStyle = n3, this.foreground = s4, this.background = r3; + constructor(e3, t32, n22, s22, r22) { + this.scopeDepth = e3, this.parentScopes = t32, this.fontStyle = n22, this.foreground = s22, this.background = r22; } clone() { return new h2(this.scopeDepth, this.parentScopes, this.fontStyle, this.foreground, this.background); } - static cloneArr(e4) { - let t5 = []; - for (let n3 = 0, s4 = e4.length; n3 < s4; n3++) - t5[n3] = e4[n3].clone(); - return t5; + static cloneArr(e3) { + let t32 = []; + for (let n22 = 0, s22 = e3.length; n22 < s22; n22++) t32[n22] = e3[n22].clone(); + return t32; } - acceptOverwrite(e4, t5, n3, s4) { - this.scopeDepth > e4 ? console.log("how did this happen?") : this.scopeDepth = e4, -1 !== t5 && (this.fontStyle = t5), 0 !== n3 && (this.foreground = n3), 0 !== s4 && (this.background = s4); + acceptOverwrite(e3, t32, n22, s22) { + this.scopeDepth > e3 ? console.log("how did this happen?") : this.scopeDepth = e3, -1 !== t32 && (this.fontStyle = t32), 0 !== n22 && (this.foreground = n22), 0 !== s22 && (this.background = s22); } } - t4.ThemeTrieElementRule = h2; + t22.ThemeTrieElementRule = h2; class p2 { - constructor(e4, t5 = [], n3 = {}) { - this._mainRule = e4, this._children = n3, this._rulesWithParentScopes = t5; - } - static _sortBySpecificity(e4) { - return 1 === e4.length || e4.sort(this._cmpBySpecificity), e4; - } - static _cmpBySpecificity(e4, t5) { - if (e4.scopeDepth === t5.scopeDepth) { - const n3 = e4.parentScopes, s4 = t5.parentScopes; - let r3 = null === n3 ? 0 : n3.length, i3 = null === s4 ? 0 : s4.length; - if (r3 === i3) - for (let e5 = 0; e5 < r3; e5++) { - const t6 = n3[e5].length, r4 = s4[e5].length; - if (t6 !== r4) - return r4 - t6; - } - return i3 - r3; + constructor(e3, t32 = [], n22 = {}) { + this._mainRule = e3, this._children = n22, this._rulesWithParentScopes = t32; + } + static _sortBySpecificity(e3) { + return 1 === e3.length || e3.sort(this._cmpBySpecificity), e3; + } + static _cmpBySpecificity(e3, t32) { + if (e3.scopeDepth === t32.scopeDepth) { + const n22 = e3.parentScopes, s22 = t32.parentScopes; + let r22 = null === n22 ? 0 : n22.length, i22 = null === s22 ? 0 : s22.length; + if (r22 === i22) for (let e4 = 0; e4 < r22; e4++) { + const t4 = n22[e4].length, r3 = s22[e4].length; + if (t4 !== r3) return r3 - t4; + } + return i22 - r22; } - return t5.scopeDepth - e4.scopeDepth; - } - match(e4) { - if ("" === e4) - return p2._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes)); - let t5, n3, s4 = e4.indexOf("."); - return -1 === s4 ? (t5 = e4, n3 = "") : (t5 = e4.substring(0, s4), n3 = e4.substring(s4 + 1)), this._children.hasOwnProperty(t5) ? this._children[t5].match(n3) : p2._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes)); - } - insert(e4, t5, n3, s4, r3, i3) { - if ("" === t5) - return void this._doInsertHere(e4, n3, s4, r3, i3); - let o3, c3, a3, l3 = t5.indexOf("."); - -1 === l3 ? (o3 = t5, c3 = "") : (o3 = t5.substring(0, l3), c3 = t5.substring(l3 + 1)), this._children.hasOwnProperty(o3) ? a3 = this._children[o3] : (a3 = new p2(this._mainRule.clone(), h2.cloneArr(this._rulesWithParentScopes)), this._children[o3] = a3), a3.insert(e4 + 1, c3, n3, s4, r3, i3); - } - _doInsertHere(e4, t5, n3, r3, i3) { - if (null !== t5) { - for (let o3 = 0, c3 = this._rulesWithParentScopes.length; o3 < c3; o3++) { - let c4 = this._rulesWithParentScopes[o3]; - if (0 === s3.strArrCmp(c4.parentScopes, t5)) - return void c4.acceptOverwrite(e4, n3, r3, i3); + return t32.scopeDepth - e3.scopeDepth; + } + match(e3) { + if ("" === e3) return p2._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes)); + let t32, n22, s22 = e3.indexOf("."); + return -1 === s22 ? (t32 = e3, n22 = "") : (t32 = e3.substring(0, s22), n22 = e3.substring(s22 + 1)), this._children.hasOwnProperty(t32) ? this._children[t32].match(n22) : p2._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes)); + } + insert(e3, t32, n22, s22, r22, i22) { + if ("" === t32) return void this._doInsertHere(e3, n22, s22, r22, i22); + let o22, c22, a22, l22 = t32.indexOf("."); + -1 === l22 ? (o22 = t32, c22 = "") : (o22 = t32.substring(0, l22), c22 = t32.substring(l22 + 1)), this._children.hasOwnProperty(o22) ? a22 = this._children[o22] : (a22 = new p2(this._mainRule.clone(), h2.cloneArr(this._rulesWithParentScopes)), this._children[o22] = a22), a22.insert(e3 + 1, c22, n22, s22, r22, i22); + } + _doInsertHere(e3, t32, n22, r22, i22) { + if (null !== t32) { + for (let o22 = 0, c22 = this._rulesWithParentScopes.length; o22 < c22; o22++) { + let c3 = this._rulesWithParentScopes[o22]; + if (0 === s3.strArrCmp(c3.parentScopes, t32)) return void c3.acceptOverwrite(e3, n22, r22, i22); } - -1 === n3 && (n3 = this._mainRule.fontStyle), 0 === r3 && (r3 = this._mainRule.foreground), 0 === i3 && (i3 = this._mainRule.background), this._rulesWithParentScopes.push(new h2(e4, t5, n3, r3, i3)); - } else - this._mainRule.acceptOverwrite(e4, n3, r3, i3); - } - } - t4.ThemeTrieElement = p2; - }, 878: (e3, t4) => { - function n2(e4) { - return Array.isArray(e4) ? function(e5) { - let t5 = []; - for (let s4 = 0, r3 = e5.length; s4 < r3; s4++) - t5[s4] = n2(e5[s4]); - return t5; - }(e4) : "object" == typeof e4 ? function(e5) { - let t5 = {}; - for (let s4 in e5) - t5[s4] = n2(e5[s4]); - return t5; - }(e4) : e4; - } - Object.defineProperty(t4, "__esModule", { value: true }), t4.performanceNow = t4.CachedFn = t4.escapeRegExpCharacters = t4.isValidHexColor = t4.strArrCmp = t4.strcmp = t4.RegexSource = t4.basename = t4.mergeObjects = t4.clone = void 0, t4.clone = function(e4) { - return n2(e4); - }, t4.mergeObjects = function(e4, ...t5) { - return t5.forEach((t6) => { - for (let n3 in t6) - e4[n3] = t6[n3]; - }), e4; - }, t4.basename = function e4(t5) { - const n3 = ~t5.lastIndexOf("/") || ~t5.lastIndexOf("\\"); - return 0 === n3 ? t5 : ~n3 == t5.length - 1 ? e4(t5.substring(0, t5.length - 1)) : t5.substr(1 + ~n3); + -1 === n22 && (n22 = this._mainRule.fontStyle), 0 === r22 && (r22 = this._mainRule.foreground), 0 === i22 && (i22 = this._mainRule.background), this._rulesWithParentScopes.push(new h2(e3, t32, n22, r22, i22)); + } else this._mainRule.acceptOverwrite(e3, n22, r22, i22); + } + } + t22.ThemeTrieElement = p2; + }, 878: (e22, t22) => { + function n2(e3) { + return Array.isArray(e3) ? function(e4) { + let t32 = []; + for (let s22 = 0, r22 = e4.length; s22 < r22; s22++) t32[s22] = n2(e4[s22]); + return t32; + }(e3) : "object" == typeof e3 ? function(e4) { + let t32 = {}; + for (let s22 in e4) t32[s22] = n2(e4[s22]); + return t32; + }(e3) : e3; + } + Object.defineProperty(t22, "__esModule", { value: true }), t22.performanceNow = t22.CachedFn = t22.escapeRegExpCharacters = t22.isValidHexColor = t22.strArrCmp = t22.strcmp = t22.RegexSource = t22.basename = t22.mergeObjects = t22.clone = void 0, t22.clone = function(e3) { + return n2(e3); + }, t22.mergeObjects = function(e3, ...t32) { + return t32.forEach((t4) => { + for (let n22 in t4) e3[n22] = t4[n22]; + }), e3; + }, t22.basename = function e3(t32) { + const n22 = ~t32.lastIndexOf("/") || ~t32.lastIndexOf("\\"); + return 0 === n22 ? t32 : ~n22 == t32.length - 1 ? e3(t32.substring(0, t32.length - 1)) : t32.substr(1 + ~n22); }; let s3 = /\$(\d+)|\${(\d+):\/(downcase|upcase)}/g; - function r2(e4, t5) { - return e4 < t5 ? -1 : e4 > t5 ? 1 : 0; - } - t4.RegexSource = class { - static hasCaptures(e4) { - return null !== e4 && (s3.lastIndex = 0, s3.test(e4)); - } - static replaceCaptures(e4, t5, n3) { - return e4.replace(s3, (e5, s4, r3, i2) => { - let o2 = n3[parseInt(s4 || r3, 10)]; - if (!o2) - return e5; + function r2(e3, t32) { + return e3 < t32 ? -1 : e3 > t32 ? 1 : 0; + } + t22.RegexSource = class { + static hasCaptures(e3) { + return null !== e3 && (s3.lastIndex = 0, s3.test(e3)); + } + static replaceCaptures(e3, t32, n22) { + return e3.replace(s3, (e4, s22, r22, i2) => { + let o2 = n22[parseInt(s22 || r22, 10)]; + if (!o2) return e4; { - let e6 = t5.substring(o2.start, o2.end); - for (; "." === e6[0]; ) - e6 = e6.substring(1); + let e5 = t32.substring(o2.start, o2.end); + for (; "." === e5[0]; ) e5 = e5.substring(1); switch (i2) { case "downcase": - return e6.toLowerCase(); + return e5.toLowerCase(); case "upcase": - return e6.toUpperCase(); + return e5.toUpperCase(); default: - return e6; + return e5; } } }); } - }, t4.strcmp = r2, t4.strArrCmp = function(e4, t5) { - if (null === e4 && null === t5) - return 0; - if (!e4) - return -1; - if (!t5) - return 1; - let n3 = e4.length, s4 = t5.length; - if (n3 === s4) { - for (let s5 = 0; s5 < n3; s5++) { - let n4 = r2(e4[s5], t5[s5]); - if (0 !== n4) - return n4; + }, t22.strcmp = r2, t22.strArrCmp = function(e3, t32) { + if (null === e3 && null === t32) return 0; + if (!e3) return -1; + if (!t32) return 1; + let n22 = e3.length, s22 = t32.length; + if (n22 === s22) { + for (let s32 = 0; s32 < n22; s32++) { + let n3 = r2(e3[s32], t32[s32]); + if (0 !== n3) return n3; } return 0; } - return n3 - s4; - }, t4.isValidHexColor = function(e4) { - return !!(/^#[0-9a-f]{6}$/i.test(e4) || /^#[0-9a-f]{8}$/i.test(e4) || /^#[0-9a-f]{3}$/i.test(e4) || /^#[0-9a-f]{4}$/i.test(e4)); - }, t4.escapeRegExpCharacters = function(e4) { - return e4.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&"); - }, t4.CachedFn = class { - constructor(e4) { - this.fn = e4, this.cache = /* @__PURE__ */ new Map(); - } - get(e4) { - if (this.cache.has(e4)) - return this.cache.get(e4); - const t5 = this.fn(e4); - return this.cache.set(e4, t5), t5; - } - }, t4.performanceNow = "undefined" == typeof performance ? function() { + return n22 - s22; + }, t22.isValidHexColor = function(e3) { + return !!(/^#[0-9a-f]{6}$/i.test(e3) || /^#[0-9a-f]{8}$/i.test(e3) || /^#[0-9a-f]{3}$/i.test(e3) || /^#[0-9a-f]{4}$/i.test(e3)); + }, t22.escapeRegExpCharacters = function(e3) { + return e3.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&"); + }, t22.CachedFn = class { + constructor(e3) { + this.fn = e3, this.cache = /* @__PURE__ */ new Map(); + } + get(e3) { + if (this.cache.has(e3)) return this.cache.get(e3); + const t32 = this.fn(e3); + return this.cache.set(e3, t32), t32; + } + }, t22.performanceNow = "undefined" == typeof performance ? function() { return Date.now(); } : function() { return performance.now(); @@ -99446,8 +99447,7 @@ var main = { } }, t3 = {}; return function n2(s3) { var r2 = t3[s3]; - if (void 0 !== r2) - return r2.exports; + if (void 0 !== r2) return r2.exports; var i2 = t3[s3] = { exports: {} }; return e2[s3].call(i2.exports, i2, i2.exports, n2), i2.exports; }(787); @@ -100426,15 +100426,15 @@ function createScanner(text, ignoreTrivia = false) { let pos = 0, value2 = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0; function scanHexDigits(count2, exact) { let digits = 0; - let value3 = 0; + let value22 = 0; while (digits < count2 || !exact) { let ch2 = text.charCodeAt(pos); if (ch2 >= 48 && ch2 <= 57) { - value3 = value3 * 16 + ch2 - 48; + value22 = value22 * 16 + ch2 - 48; } else if (ch2 >= 65 && ch2 <= 70) { - value3 = value3 * 16 + ch2 - 65 + 10; + value22 = value22 * 16 + ch2 - 65 + 10; } else if (ch2 >= 97 && ch2 <= 102) { - value3 = value3 * 16 + ch2 - 97 + 10; + value22 = value22 * 16 + ch2 - 97 + 10; } else { break; } @@ -100442,9 +100442,9 @@ function createScanner(text, ignoreTrivia = false) { digits++; } if (digits < count2) { - value3 = -1; + value22 = -1; } - return value3; + return value22; } function setPosition(newPosition) { pos = newPosition; @@ -101645,8 +101645,8 @@ class Registry extends mainExports.Registry { return theme; } } - async loadThemes(themes) { - return await Promise.all(themes.map((theme) => this.loadTheme(theme))); + async loadThemes(themes2) { + return await Promise.all(themes2.map((theme) => this.loadTheme(theme))); } getLoadedThemes() { return Object.keys(this._resolvedThemes); @@ -101735,8 +101735,8 @@ async function getHighlighter(options) { if ((_b = options.paths) == null ? void 0 : _b.languages) { _resolver.languagesPath = options.paths.languages.endsWith("/") ? options.paths.languages : options.paths.languages + "/"; } - const themes = await _registry.loadThemes(_themes); - const _defaultTheme = themes[0]; + const themes2 = await _registry.loadThemes(_themes); + const _defaultTheme = themes2[0]; let _currentTheme; await _registry.loadLanguages(_languages); let COLOR_REPLACEMENTS = { @@ -101861,8 +101861,7 @@ flexsearch_bundle.exports; (function(module) { (function _f(self) { try { - if (module) - self = module; + if (module) self = module; } catch (e2) { } self._factory = _f; @@ -101872,8 +101871,7 @@ flexsearch_bundle.exports; } function aa(a2) { const b3 = Array(a2); - for (let c2 = 0; c2 < a2; c2++) - b3[c2] = v(); + for (let c2 = 0; c2 < a2; c2++) b3[c2] = v(); return b3; } function v() { @@ -101913,14 +101911,12 @@ flexsearch_bundle.exports; function fa(a2, b3) { const c2 = Object.keys(a2), d2 = c2.length, e2 = []; let f2 = "", g2 = 0; - for (let h2 = 0, k2, m2; h2 < d2; h2++) - k2 = c2[h2], (m2 = a2[k2]) ? (e2[g2++] = F(b3 ? "(?!\\b)" + k2 + "(\\b|_)" : k2), e2[g2++] = m2) : f2 += (f2 ? "|" : "") + k2; + for (let h2 = 0, k2, m2; h2 < d2; h2++) k2 = c2[h2], (m2 = a2[k2]) ? (e2[g2++] = F(b3 ? "(?!\\b)" + k2 + "(\\b|_)" : k2), e2[g2++] = m2) : f2 += (f2 ? "|" : "") + k2; f2 && (e2[g2++] = F(b3 ? "(?!\\b)(" + f2 + ")(\\b|_)" : "(" + f2 + ")"), e2[g2] = ""); return e2; } function E(a2, b3) { - for (let c2 = 0, d2 = b3.length; c2 < d2 && (a2 = a2.replace(b3[c2], b3[c2 + 1]), a2); c2 += 2) - ; + for (let c2 = 0, d2 = b3.length; c2 < d2 && (a2 = a2.replace(b3[c2], b3[c2 + 1]), a2); c2 += 2) ; return a2; } function F(a2) { @@ -101928,8 +101924,7 @@ flexsearch_bundle.exports; } function ha(a2) { let b3 = "", c2 = ""; - for (let d2 = 0, e2 = a2.length, f2; d2 < e2; d2++) - (f2 = a2[d2]) !== c2 && (b3 += c2 = f2); + for (let d2 = 0, e2 = a2.length, f2; d2 < e2; d2++) (f2 = a2[d2]) !== c2 && (b3 += c2 = f2); return b3; } var ja = { encode: ia, F: false, G: "" }; @@ -101970,56 +101965,42 @@ flexsearch_bundle.exports; let r2 = !g2; for (let l2 = 0; l2 < w2; l2++) { const p2 = n2[l2], z3 = p2.length; - if (z3) - for (let B2 = 0, A2, y2; B2 < z3; B2++) - if (y2 = p2[B2], g2) { - if (g2[y2]) { - if (!m2) { - if (c2) - c2--; - else if (f2[k2++] = y2, k2 === b3) - return f2; - } - if (m2 || d2) - q3[y2] = 1; - r2 = true; - } - if (d2 && (h2[y2] = (A2 = h2[y2]) ? ++A2 : A2 = 1, A2 < e2)) { - const H3 = d2[A2 - 2] || (d2[A2 - 2] = []); - H3[H3.length] = y2; - } - } else - q3[y2] = 1; + if (z3) for (let B2 = 0, A2, y2; B2 < z3; B2++) if (y2 = p2[B2], g2) { + if (g2[y2]) { + if (!m2) { + if (c2) c2--; + else if (f2[k2++] = y2, k2 === b3) return f2; + } + if (m2 || d2) q3[y2] = 1; + r2 = true; + } + if (d2 && (h2[y2] = (A2 = h2[y2]) ? ++A2 : A2 = 1, A2 < e2)) { + const H3 = d2[A2 - 2] || (d2[A2 - 2] = []); + H3[H3.length] = y2; + } + } else q3[y2] = 1; } - if (d2) - g2 || (h2 = q3); - else if (!r2) - return []; + if (d2) g2 || (h2 = q3); + else if (!r2) return []; g2 = q3; } - if (d2) - for (let m2 = d2.length - 1, n2, w2; 0 <= m2; m2--) { - n2 = d2[m2]; - w2 = n2.length; - for (let q3 = 0, r2; q3 < w2; q3++) - if (r2 = n2[q3], !g2[r2]) { - if (c2) - c2--; - else if (f2[k2++] = r2, k2 === b3) - return f2; - g2[r2] = 1; - } + if (d2) for (let m2 = d2.length - 1, n2, w2; 0 <= m2; m2--) { + n2 = d2[m2]; + w2 = n2.length; + for (let q3 = 0, r2; q3 < w2; q3++) if (r2 = n2[q3], !g2[r2]) { + if (c2) c2--; + else if (f2[k2++] = r2, k2 === b3) return f2; + g2[r2] = 1; } + } return f2; } function na(a2, b3) { const c2 = v(), d2 = v(), e2 = []; - for (let f2 = 0; f2 < a2.length; f2++) - c2[a2[f2]] = 1; + for (let f2 = 0; f2 < a2.length; f2++) c2[a2[f2]] = 1; for (let f2 = 0, g2; f2 < b3.length; f2++) { g2 = b3[f2]; - for (let h2 = 0, k2; h2 < g2.length; h2++) - k2 = g2[h2], c2[k2] && !d2[k2] && (d2[k2] = 1, e2[e2.length] = k2); + for (let h2 = 0, k2; h2 < g2.length; h2++) k2 = g2[h2], c2[k2] && !d2[k2] && (d2[k2] = 1, e2[e2.length] = k2); } return e2; } @@ -102038,8 +102019,7 @@ flexsearch_bundle.exports; if (!this.cache[a2]) { var c2 = this.h.length; c2 === this.l ? delete this.cache[this.h[c2 - 1]] : c2++; - for (--c2; 0 < c2; c2--) - this.h[c2] = this.h[c2 - 1]; + for (--c2; 0 < c2; c2--) this.h[c2] = this.h[c2 - 1]; this.h[0] = a2; } this.cache[a2] = b3; @@ -102063,8 +102043,7 @@ flexsearch_bundle.exports; }); } function K(a2, b3) { - if (!(this instanceof K)) - return new K(a2); + if (!(this instanceof K)) return new K(a2); var c2; if (a2) { x(a2) ? a2 = qa[a2] : (c2 = a2.preset) && (a2 = Object.assign({}, c2[c2], a2)); @@ -102072,8 +102051,7 @@ flexsearch_bundle.exports; var d2 = a2.lang; x(c2) && (-1 === c2.indexOf(":") && (c2 += ":default"), c2 = G[c2]); x(d2) && (d2 = ka[d2]); - } else - a2 = {}; + } else a2 = {}; let e2, f2, g2 = a2.context || {}; this.encode = a2.encode || c2 && c2.encode || ia; this.register = b3 || v(); @@ -102094,8 +102072,7 @@ flexsearch_bundle.exports; if (c2 = b3 = a2.filter || d2 && d2.filter) { c2 = b3; d2 = v(); - for (let h2 = 0, k2 = c2.length; h2 < k2; h2++) - d2[c2[h2]] = 1; + for (let h2 = 0, k2 = c2.length; h2 < k2; h2++) d2[c2[h2]] = 1; c2 = d2; } this.filter = c2; @@ -102107,8 +102084,7 @@ flexsearch_bundle.exports; }; t.add = function(a2, b3, c2, d2) { if (b3 && (a2 || 0 === a2)) { - if (!d2 && !c2 && this.register[a2]) - return this.update(a2, b3); + if (!d2 && !c2 && this.register[a2]) return this.update(a2, b3); b3 = this.encode(b3); if (d2 = b3.length) { const m2 = v(), n2 = v(), w2 = this.depth, q3 = this.D; @@ -102120,42 +102096,37 @@ flexsearch_bundle.exports; switch (this.G) { case "full": if (3 < e2) { - for (f2 = 0; f2 < e2; f2++) - for (var h2 = e2; h2 > f2; h2--) - if (h2 - f2 >= this.B) { - var k2 = L(q3, d2, r2, e2, f2); - g2 = l2.substring(f2, h2); - M(this, n2, g2, k2, a2, c2); - } + for (f2 = 0; f2 < e2; f2++) for (var h2 = e2; h2 > f2; h2--) if (h2 - f2 >= this.B) { + var k2 = L(q3, d2, r2, e2, f2); + g2 = l2.substring(f2, h2); + M(this, n2, g2, k2, a2, c2); + } break; } case "reverse": if (2 < e2) { - for (h2 = e2 - 1; 0 < h2; h2--) - g2 = l2[h2] + g2, g2.length >= this.B && M( - this, - n2, - g2, - L(q3, d2, r2, e2, h2), - a2, - c2 - ); + for (h2 = e2 - 1; 0 < h2; h2--) g2 = l2[h2] + g2, g2.length >= this.B && M( + this, + n2, + g2, + L(q3, d2, r2, e2, h2), + a2, + c2 + ); g2 = ""; } case "forward": if (1 < e2) { - for (h2 = 0; h2 < e2; h2++) - g2 += l2[h2], g2.length >= this.B && M(this, n2, g2, f2, a2, c2); + for (h2 = 0; h2 < e2; h2++) g2 += l2[h2], g2.length >= this.B && M(this, n2, g2, f2, a2, c2); break; } default: if (this.C && (f2 = Math.min(f2 / this.C(b3, l2, r2) | 0, q3 - 1)), M(this, n2, l2, f2, a2, c2), w2 && 1 < d2 && r2 < d2 - 1) { - for (e2 = v(), g2 = this.A, f2 = l2, h2 = Math.min(w2 + 1, d2 - r2), e2[f2] = 1, k2 = 1; k2 < h2; k2++) - if ((l2 = b3[this.F ? d2 - 1 - r2 - k2 : r2 + k2]) && l2.length >= this.B && !e2[l2]) { - e2[l2] = 1; - const p2 = this.l && l2 > f2; - M(this, m2, p2 ? f2 : l2, L(g2 + (d2 / 2 > g2 ? 0 : 1), d2, r2, h2 - 1, k2 - 1), a2, c2, p2 ? l2 : f2); - } + for (e2 = v(), g2 = this.A, f2 = l2, h2 = Math.min(w2 + 1, d2 - r2), e2[f2] = 1, k2 = 1; k2 < h2; k2++) if ((l2 = b3[this.F ? d2 - 1 - r2 - k2 : r2 + k2]) && l2.length >= this.B && !e2[l2]) { + e2[l2] = 1; + const p2 = this.l && l2 > f2; + M(this, m2, p2 ? f2 : l2, L(g2 + (d2 / 2 > g2 ? 0 : 1), d2, r2, h2 - 1, k2 - 1), a2, c2, p2 ? l2 : f2); + } } } } @@ -102170,8 +102141,7 @@ flexsearch_bundle.exports; } function M(a2, b3, c2, d2, e2, f2, g2) { let h2 = g2 ? a2.h : a2.map; - if (!b3[c2] || g2 && !b3[c2][g2]) - a2.s && (h2 = h2[d2]), g2 ? (b3 = b3[c2] || (b3[c2] = v()), b3[g2] = 1, h2 = h2[g2] || (h2[g2] = v())) : b3[c2] = 1, h2 = h2[c2] || (h2[c2] = []), a2.s || (h2 = h2[d2] || (h2[d2] = [])), f2 && -1 !== h2.indexOf(e2) || (h2[h2.length] = e2, a2.m && (a2 = a2.register[e2] || (a2.register[e2] = []), a2[a2.length] = h2)); + if (!b3[c2] || g2 && !b3[c2][g2]) a2.s && (h2 = h2[d2]), g2 ? (b3 = b3[c2] || (b3[c2] = v()), b3[g2] = 1, h2 = h2[g2] || (h2[g2] = v())) : b3[c2] = 1, h2 = h2[c2] || (h2[c2] = []), a2.s || (h2 = h2[d2] || (h2[d2] = [])), f2 && -1 !== h2.indexOf(e2) || (h2[h2.length] = e2, a2.m && (a2 = a2.register[e2] || (a2.register[e2] = []), a2[a2.length] = h2)); } t.search = function(a2, b3, c2) { c2 || (!b3 && C(a2) ? (c2 = a2, a2 = c2.query) : C(b3) && (c2 = b3)); @@ -102186,17 +102156,12 @@ flexsearch_bundle.exports; if (a2 && (a2 = this.encode(a2), e2 = a2.length, 1 < e2)) { c2 = v(); var k2 = []; - for (let n2 = 0, w2 = 0, q3; n2 < e2; n2++) - if ((q3 = a2[n2]) && q3.length >= this.B && !c2[q3]) - if (this.s || f2 || this.map[q3]) - k2[w2++] = q3, c2[q3] = 1; - else - return d2; + for (let n2 = 0, w2 = 0, q3; n2 < e2; n2++) if ((q3 = a2[n2]) && q3.length >= this.B && !c2[q3]) if (this.s || f2 || this.map[q3]) k2[w2++] = q3, c2[q3] = 1; + else return d2; a2 = k2; e2 = a2.length; } - if (!e2) - return d2; + if (!e2) return d2; b3 || (b3 = 100); h2 = this.depth && 1 < e2 && false !== h2; c2 = 0; @@ -102205,8 +102170,7 @@ flexsearch_bundle.exports; for (let n2, w2; c2 < e2; c2++) { w2 = a2[c2]; h2 ? (n2 = sa(this, d2, f2, b3, g2, 2 === e2, w2, m2), f2 && false === n2 && d2.length || (m2 = w2)) : n2 = sa(this, d2, f2, b3, g2, 1 === e2, w2); - if (n2) - return n2; + if (n2) return n2; if (f2 && c2 === e2 - 1) { k2 = d2.length; if (!k2) { @@ -102217,8 +102181,7 @@ flexsearch_bundle.exports; } return d2; } - if (1 === k2) - return ta(d2[0], b3, g2); + if (1 === k2) return ta(d2[0], b3, g2); } } return ma(d2, b3, g2, f2); @@ -102229,14 +102192,11 @@ flexsearch_bundle.exports; if (m2) { let n2 = 0; const w2 = Math.min(m2.length, h2 ? a2.A : a2.D); - for (let q3 = 0, r2 = 0, l2, p2; q3 < w2; q3++) - if (l2 = m2[q3]) { - if (a2.s && (l2 = ua(l2, g2, h2, a2.l)), e2 && l2 && f2 && (p2 = l2.length, p2 <= e2 ? (e2 -= p2, l2 = null) : (l2 = l2.slice(e2), e2 = 0)), l2 && (k2[n2++] = l2, f2 && (r2 += l2.length, r2 >= d2))) - break; - } + for (let q3 = 0, r2 = 0, l2, p2; q3 < w2; q3++) if (l2 = m2[q3]) { + if (a2.s && (l2 = ua(l2, g2, h2, a2.l)), e2 && l2 && f2 && (p2 = l2.length, p2 <= e2 ? (e2 -= p2, l2 = null) : (l2 = l2.slice(e2), e2 = 0)), l2 && (k2[n2++] = l2, f2 && (r2 += l2.length, r2 >= d2))) break; + } if (n2) { - if (f2) - return ta(k2, d2, 0); + if (f2) return ta(k2, d2, 0); b3[b3.length] = k2; return; } @@ -102260,34 +102220,24 @@ flexsearch_bundle.exports; t.remove = function(a2, b3) { const c2 = this.register[a2]; if (c2) { - if (this.m) - for (let d2 = 0, e2; d2 < c2.length; d2++) - e2 = c2[d2], e2.splice(e2.indexOf(a2), 1); - else - N(this.map, a2, this.D, this.s), this.depth && N(this.h, a2, this.A, this.s); + if (this.m) for (let d2 = 0, e2; d2 < c2.length; d2++) e2 = c2[d2], e2.splice(e2.indexOf(a2), 1); + else N(this.map, a2, this.D, this.s), this.depth && N(this.h, a2, this.A, this.s); b3 || delete this.register[a2]; if (this.cache) { b3 = this.cache; - for (let d2 = 0, e2, f2; d2 < b3.h.length; d2++) - f2 = b3.h[d2], e2 = b3.cache[f2], -1 !== e2.indexOf(a2) && (b3.h.splice(d2--, 1), delete b3.cache[f2]); + for (let d2 = 0, e2, f2; d2 < b3.h.length; d2++) f2 = b3.h[d2], e2 = b3.cache[f2], -1 !== e2.indexOf(a2) && (b3.h.splice(d2--, 1), delete b3.cache[f2]); } } return this; }; function N(a2, b3, c2, d2, e2) { let f2 = 0; - if (a2.constructor === Array) - if (e2) - b3 = a2.indexOf(b3), -1 !== b3 ? 1 < a2.length && (a2.splice(b3, 1), f2++) : f2++; - else { - e2 = Math.min(a2.length, c2); - for (let g2 = 0, h2; g2 < e2; g2++) - if (h2 = a2[g2]) - f2 = N(h2, b3, c2, d2, e2), d2 || f2 || delete a2[g2]; - } - else - for (let g2 in a2) - (f2 = N(a2[g2], b3, c2, d2, e2)) || delete a2[g2]; + if (a2.constructor === Array) if (e2) b3 = a2.indexOf(b3), -1 !== b3 ? 1 < a2.length && (a2.splice(b3, 1), f2++) : f2++; + else { + e2 = Math.min(a2.length, c2); + for (let g2 = 0, h2; g2 < e2; g2++) if (h2 = a2[g2]) f2 = N(h2, b3, c2, d2, e2), d2 || f2 || delete a2[g2]; + } + else for (let g2 in a2) (f2 = N(a2[g2], b3, c2, d2, e2)) || delete a2[g2]; return f2; } t.searchCache = oa; @@ -102298,10 +102248,8 @@ flexsearch_bundle.exports; f2 = "reg"; if (this.m) { g2 = v(); - for (let h2 in this.register) - g2[h2] = 1; - } else - g2 = this.register; + for (let h2 in this.register) g2[h2] = 1; + } else g2 = this.register; break; case 1: f2 = "cfg"; @@ -102322,21 +102270,20 @@ flexsearch_bundle.exports; return true; }; t.import = function(a2, b3) { - if (b3) - switch (x(b3) && (b3 = JSON.parse(b3)), a2) { - case "cfg": - this.s = !!b3.opt; - break; - case "reg": - this.m = false; - this.register = b3; - break; - case "map": - this.map = b3; - break; - case "ctx": - this.h = b3; - } + if (b3) switch (x(b3) && (b3 = JSON.parse(b3)), a2) { + case "cfg": + this.s = !!b3.opt; + break; + case "reg": + this.m = false; + this.register = b3; + break; + case "map": + this.map = b3; + break; + case "ctx": + this.h = b3; + } }; la(K.prototype); function va(a2) { @@ -102359,8 +102306,7 @@ flexsearch_bundle.exports; } let wa = 0; function O(a2) { - if (!(this instanceof O)) - return new O(a2); + if (!(this instanceof O)) return new O(a2); var b3; a2 ? D(b3 = a2.encode) && (a2.encode = b3.toString()) : a2 = {}; (b3 = (self || window)._factory) && (b3 = b3.toString()); @@ -102368,17 +102314,15 @@ flexsearch_bundle.exports; this.o = xa(b3, c2, a2.worker); this.h = v(); if (this.o) { - if (c2) - this.o.on("message", function(e2) { - d2.h[e2.id](e2.msg); - delete d2.h[e2.id]; - }); - else - this.o.onmessage = function(e2) { - e2 = e2.data; - d2.h[e2.id](e2.msg); - delete d2.h[e2.id]; - }; + if (c2) this.o.on("message", function(e2) { + d2.h[e2.id](e2.msg); + delete d2.h[e2.id]; + }); + else this.o.onmessage = function(e2) { + e2 = e2.data; + d2.h[e2.id](e2.msg); + delete d2.h[e2.id]; + }; this.o.postMessage({ task: "init", factory: b3, options: a2 }); } } @@ -102411,8 +102355,7 @@ flexsearch_bundle.exports; return d; } function Q(a2) { - if (!(this instanceof Q)) - return new Q(a2); + if (!(this instanceof Q)) return new Q(a2); var b3 = a2.document || a2.doc || a2, c2; this.K = []; this.h = []; @@ -102431,83 +102374,62 @@ flexsearch_bundle.exports; c2 = v(); let d2 = b3.index || b3.field || b3; x(d2) && (d2 = [d2]); - for (let e2 = 0, f2, g2; e2 < d2.length; e2++) - f2 = d2[e2], x(f2) || (g2 = f2, f2 = f2.field), g2 = C(g2) ? Object.assign({}, a2, g2) : a2, this.o && (c2[f2] = new O(g2), c2[f2].o || (this.o = false)), this.o || (c2[f2] = new K(g2, this.register)), this.K[e2] = S(f2, this.A), this.h[e2] = f2; - if (this.C) - for (a2 = b3.store, x(a2) && (a2 = [a2]), b3 = 0; b3 < a2.length; b3++) - this.C[b3] = S(a2[b3], this.A); + for (let e2 = 0, f2, g2; e2 < d2.length; e2++) f2 = d2[e2], x(f2) || (g2 = f2, f2 = f2.field), g2 = C(g2) ? Object.assign({}, a2, g2) : a2, this.o && (c2[f2] = new O(g2), c2[f2].o || (this.o = false)), this.o || (c2[f2] = new K(g2, this.register)), this.K[e2] = S(f2, this.A), this.h[e2] = f2; + if (this.C) for (a2 = b3.store, x(a2) && (a2 = [a2]), b3 = 0; b3 < a2.length; b3++) this.C[b3] = S(a2[b3], this.A); this.index = c2; } function S(a2, b3) { const c2 = a2.split(":"); let d2 = 0; - for (let e2 = 0; e2 < c2.length; e2++) - a2 = c2[e2], 0 <= a2.indexOf("[]") && (a2 = a2.substring(0, a2.length - 2)) && (b3[d2] = true), a2 && (c2[d2++] = a2); + for (let e2 = 0; e2 < c2.length; e2++) a2 = c2[e2], 0 <= a2.indexOf("[]") && (a2 = a2.substring(0, a2.length - 2)) && (b3[d2] = true), a2 && (c2[d2++] = a2); d2 < c2.length && (c2.length = d2); return 1 < d2 ? c2 : c2[0]; } function T(a2, b3) { - if (x(b3)) - a2 = a2[b3]; - else - for (let c2 = 0; a2 && c2 < b3.length; c2++) - a2 = a2[b3[c2]]; + if (x(b3)) a2 = a2[b3]; + else for (let c2 = 0; a2 && c2 < b3.length; c2++) a2 = a2[b3[c2]]; return a2; } function U(a2, b3, c2, d2, e2) { a2 = a2[e2]; - if (d2 === c2.length - 1) - b3[e2] = a2; - else if (a2) - if (a2.constructor === Array) - for (b3 = b3[e2] = Array(a2.length), e2 = 0; e2 < a2.length; e2++) - U(a2, b3, c2, d2, e2); - else - b3 = b3[e2] || (b3[e2] = v()), e2 = c2[++d2], U(a2, b3, c2, d2, e2); + if (d2 === c2.length - 1) b3[e2] = a2; + else if (a2) if (a2.constructor === Array) for (b3 = b3[e2] = Array(a2.length), e2 = 0; e2 < a2.length; e2++) U(a2, b3, c2, d2, e2); + else b3 = b3[e2] || (b3[e2] = v()), e2 = c2[++d2], U(a2, b3, c2, d2, e2); } function V(a2, b3, c2, d2, e2, f2, g2, h2) { - if (a2 = a2[g2]) - if (d2 === b3.length - 1) { - if (a2.constructor === Array) { - if (c2[d2]) { - for (b3 = 0; b3 < a2.length; b3++) - e2.add(f2, a2[b3], true, true); - return; - } - a2 = a2.join(" "); + if (a2 = a2[g2]) if (d2 === b3.length - 1) { + if (a2.constructor === Array) { + if (c2[d2]) { + for (b3 = 0; b3 < a2.length; b3++) e2.add(f2, a2[b3], true, true); + return; } - e2.add(f2, a2, h2, true); - } else if (a2.constructor === Array) - for (g2 = 0; g2 < a2.length; g2++) - V(a2, b3, c2, d2, e2, f2, g2, h2); - else - g2 = b3[++d2], V(a2, b3, c2, d2, e2, f2, g2, h2); + a2 = a2.join(" "); + } + e2.add(f2, a2, h2, true); + } else if (a2.constructor === Array) for (g2 = 0; g2 < a2.length; g2++) V(a2, b3, c2, d2, e2, f2, g2, h2); + else g2 = b3[++d2], V(a2, b3, c2, d2, e2, f2, g2, h2); } t = Q.prototype; t.add = function(a2, b3, c2) { C(a2) && (b3 = a2, a2 = T(b3, this.key)); if (b3 && (a2 || 0 === a2)) { - if (!c2 && this.register[a2]) - return this.update(a2, b3); - for (let d2 = 0, e2, f2; d2 < this.h.length; d2++) - f2 = this.h[d2], e2 = this.K[d2], x(e2) && (e2 = [e2]), V(b3, e2, this.A, 0, this.index[f2], a2, e2[0], c2); + if (!c2 && this.register[a2]) return this.update(a2, b3); + for (let d2 = 0, e2, f2; d2 < this.h.length; d2++) f2 = this.h[d2], e2 = this.K[d2], x(e2) && (e2 = [e2]), V(b3, e2, this.A, 0, this.index[f2], a2, e2[0], c2); if (this.I) { let d2 = T(b3, this.I), e2 = v(); x(d2) && (d2 = [d2]); - for (let f2 = 0, g2, h2; f2 < d2.length; f2++) - if (g2 = d2[f2], !e2[g2] && (e2[g2] = 1, h2 = this.l[g2] || (this.l[g2] = []), !c2 || -1 === h2.indexOf(a2))) { - if (h2[h2.length] = a2, this.m) { - const k2 = this.register[a2] || (this.register[a2] = []); - k2[k2.length] = h2; - } + for (let f2 = 0, g2, h2; f2 < d2.length; f2++) if (g2 = d2[f2], !e2[g2] && (e2[g2] = 1, h2 = this.l[g2] || (this.l[g2] = []), !c2 || -1 === h2.indexOf(a2))) { + if (h2[h2.length] = a2, this.m) { + const k2 = this.register[a2] || (this.register[a2] = []); + k2[k2.length] = h2; } + } } if (this.store && (!c2 || !this.store[a2])) { let d2; if (this.C) { d2 = v(); - for (let e2 = 0, f2; e2 < this.C.length; e2++) - f2 = this.C[e2], x(f2) ? d2[f2] = b3[f2] : U(b3, d2, f2, 0, f2[0]); + for (let e2 = 0, f2; e2 < this.C.length; e2++) f2 = this.C[e2], x(f2) ? d2[f2] = b3[f2] : U(b3, d2, f2, 0, f2[0]); } this.store[a2] = d2 || b3; } @@ -102523,14 +102445,12 @@ flexsearch_bundle.exports; t.remove = function(a2) { C(a2) && (a2 = T(a2, this.key)); if (this.register[a2]) { - for (var b3 = 0; b3 < this.h.length && (this.index[this.h[b3]].remove(a2, !this.o), !this.m); b3++) - ; - if (this.I && !this.m) - for (let c2 in this.l) { - b3 = this.l[c2]; - const d2 = b3.indexOf(a2); - -1 !== d2 && (1 < b3.length ? b3.splice(d2, 1) : delete this.l[c2]); - } + for (var b3 = 0; b3 < this.h.length && (this.index[this.h[b3]].remove(a2, !this.o), !this.m); b3++) ; + if (this.I && !this.m) for (let c2 in this.l) { + b3 = this.l[c2]; + const d2 = b3.indexOf(a2); + -1 !== d2 && (1 < b3.length ? b3.splice(d2, 1) : delete this.l[c2]); + } this.store && delete this.store[a2]; delete this.register[a2]; } @@ -102539,24 +102459,20 @@ flexsearch_bundle.exports; t.search = function(a2, b3, c2, d2) { c2 || (!b3 && C(a2) ? (c2 = a2, a2 = c2.query) : C(b3) && (c2 = b3, b3 = 0)); let e2 = [], f2 = [], g2, h2, k2, m2, n2, w2, q3 = 0; - if (c2) - if (c2.constructor === Array) - k2 = c2, c2 = null; - else { - k2 = (g2 = c2.pluck) || c2.index || c2.field; - m2 = c2.tag; - h2 = this.store && c2.enrich; - n2 = "and" === c2.bool; - b3 = c2.limit || 100; - w2 = c2.offset || 0; - if (m2 && (x(m2) && (m2 = [m2]), !a2)) { - for (let l2 = 0, p2; l2 < m2.length; l2++) - if (p2 = ya.call(this, m2[l2], b3, w2, h2)) - e2[e2.length] = p2, q3++; - return q3 ? e2 : []; - } - x(k2) && (k2 = [k2]); - } + if (c2) if (c2.constructor === Array) k2 = c2, c2 = null; + else { + k2 = (g2 = c2.pluck) || c2.index || c2.field; + m2 = c2.tag; + h2 = this.store && c2.enrich; + n2 = "and" === c2.bool; + b3 = c2.limit || 100; + w2 = c2.offset || 0; + if (m2 && (x(m2) && (m2 = [m2]), !a2)) { + for (let l2 = 0, p2; l2 < m2.length; l2++) if (p2 = ya.call(this, m2[l2], b3, w2, h2)) e2[e2.length] = p2, q3++; + return q3 ? e2 : []; + } + x(k2) && (k2 = [k2]); + } k2 || (k2 = this.h); n2 = n2 && (1 < k2.length || m2 && 1 < m2.length); const r2 = !d2 && (this.o || this.async) && []; @@ -102564,8 +102480,7 @@ flexsearch_bundle.exports; let A2; z3 = k2[l2]; x(z3) || (A2 = z3, z3 = z3.field); - if (r2) - r2[l2] = this.index[z3].searchAsync(a2, b3, A2 || c2); + if (r2) r2[l2] = this.index[z3].searchAsync(a2, b3, A2 || c2); else { d2 ? p2 = d2[l2] : p2 = this.index[z3].search(a2, b3, A2 || c2); B2 = p2 && p2.length; @@ -102573,15 +102488,11 @@ flexsearch_bundle.exports; const y2 = []; let H3 = 0; n2 && (y2[0] = [p2]); - for (let X2 = 0, pa2, R3; X2 < m2.length; X2++) - if (pa2 = m2[X2], B2 = (R3 = this.l[pa2]) && R3.length) - H3++, y2[y2.length] = n2 ? [R3] : R3; + for (let X2 = 0, pa2, R3; X2 < m2.length; X2++) if (pa2 = m2[X2], B2 = (R3 = this.l[pa2]) && R3.length) H3++, y2[y2.length] = n2 ? [R3] : R3; H3 && (p2 = n2 ? ma(y2, b3 || 100, w2 || 0) : na(p2, y2), B2 = p2.length); } - if (B2) - f2[q3] = z3, e2[q3++] = p2; - else if (n2) - return []; + if (B2) f2[q3] = z3, e2[q3++] = p2; + else if (n2) return []; } } if (r2) { @@ -102592,15 +102503,12 @@ flexsearch_bundle.exports; }); }); } - if (!q3) - return []; - if (g2 && (!h2 || !this.store)) - return e2[0]; + if (!q3) return []; + if (g2 && (!h2 || !this.store)) return e2[0]; for (let l2 = 0, p2; l2 < f2.length; l2++) { p2 = e2[l2]; p2.length && h2 && (p2 = za.call(this, p2)); - if (g2) - return p2; + if (g2) return p2; e2[l2] = { field: f2[l2], result: p2 }; } return e2; @@ -102608,16 +102516,14 @@ flexsearch_bundle.exports; function ya(a2, b3, c2, d2) { let e2 = this.l[a2], f2 = e2 && e2.length - c2; if (f2 && 0 < f2) { - if (f2 > b3 || c2) - e2 = e2.slice(c2, c2 + b3); + if (f2 > b3 || c2) e2 = e2.slice(c2, c2 + b3); d2 && (e2 = za.call(this, e2)); return { tag: a2, result: e2 }; } } function za(a2) { const b3 = Array(a2.length); - for (let c2 = 0, d2; c2 < a2.length; c2++) - d2 = a2[c2], b3[c2] = { id: d2, doc: this.store[d2] }; + for (let c2 = 0, d2; c2 < a2.length; c2++) d2 = a2[c2], b3[c2] = { id: d2, doc: this.store[d2] }; return b3; } t.contain = function(a2) { @@ -102658,26 +102564,24 @@ flexsearch_bundle.exports; } }; t.import = function(a2, b3) { - if (b3) - switch (x(b3) && (b3 = JSON.parse(b3)), a2) { - case "tag": - this.l = b3; - break; - case "reg": - this.m = false; - this.register = b3; - for (let d2 = 0, e2; d2 < this.h.length; d2++) - e2 = this.index[this.h[d2]], e2.register = b3, e2.m = false; - break; - case "store": - this.store = b3; - break; - default: - a2 = a2.split("."); - const c2 = a2[0]; - a2 = a2[1]; - c2 && a2 && this.index[c2].import(a2, b3); - } + if (b3) switch (x(b3) && (b3 = JSON.parse(b3)), a2) { + case "tag": + this.l = b3; + break; + case "reg": + this.m = false; + this.register = b3; + for (let d2 = 0, e2; d2 < this.h.length; d2++) e2 = this.index[this.h[d2]], e2.register = b3, e2.m = false; + break; + case "store": + this.store = b3; + break; + default: + a2 = a2.split("."); + const c2 = a2[0]; + a2 = a2[1]; + c2 && a2 && this.index[c2].import(a2, b3); + } }; la(Q.prototype); var Ba = { encode: Aa, F: false, G: "" }; @@ -102694,17 +102598,16 @@ flexsearch_bundle.exports; const b3 = []; if (a2) { const c2 = a2.split(Fa), d2 = c2.length; - for (let e2 = 0, f2, g2 = 0; e2 < d2; e2++) - if ((a2 = c2[e2]) && (!this.filter || !this.filter[a2])) { - f2 = a2[0]; - let h2 = Ga[f2] || f2, k2 = h2; - for (let m2 = 1; m2 < a2.length; m2++) { - f2 = a2[m2]; - const n2 = Ga[f2] || f2; - n2 && n2 !== k2 && (h2 += n2, k2 = n2); - } - b3[g2++] = h2; + for (let e2 = 0, f2, g2 = 0; e2 < d2; e2++) if ((a2 = c2[e2]) && (!this.filter || !this.filter[a2])) { + f2 = a2[0]; + let h2 = Ga[f2] || f2, k2 = h2; + for (let m2 = 1; m2 < a2.length; m2++) { + f2 = a2[m2]; + const n2 = Ga[f2] || f2; + n2 && n2 !== k2 && (h2 += n2, k2 = n2); } + b3[g2++] = h2; + } } return b3; } @@ -102775,8 +102678,6 @@ const MountStory = /* @__PURE__ */ defineComponent$1({ return null; } }); -const histoire = ""; -const style = ""; if (document.readyState == "complete") { updateThemeAttrOnThemeChange(); } @@ -103765,7 +103666,7 @@ export { Mention as aY, VueRenderer as aZ, tippy as a_, - useTimeoutFn as aa, + useTimeoutFn$1 as aa, onClickOutside as ab, withModifiers$1 as ac, vModelText$1 as ad, @@ -103862,36 +103763,41 @@ export { je$1 as c2, set as c3, get as c4, - dayjs as c5, - updateLocale as c6, - relativeTime as c7, - localizedFormat as c8, - isToday as c9, - duration as ca, - utc as cb, - timezone as cc, - advancedFormat as cd, - ue as ce, - ce$1 as cf, - oe as cg, - de as ch, - withKeys as ci, - me$1 as cj, - pe$1 as ck, - xe$1 as cl, - Ie as cm, - ye as cn, - Og as co, - kg as cp, - Lg as cq, - Mg as cr, - Vg as cs, - Fg as ct, - useFocus as cu, - refDebounced as cv, - flexsearch_bundleExports as cw, - client$1 as cx, - client as cy, + setMany as c5, + del as c6, + keys as c7, + unref as c8, + createFetch as c9, + refDebounced as cA, + flexsearch_bundleExports as cB, + client$1 as cC, + client as cD, + dayjs as ca, + updateLocale as cb, + relativeTime as cc, + localizedFormat as cd, + isToday as ce, + duration as cf, + utc as cg, + timezone as ch, + advancedFormat as ci, + ue as cj, + ce$1 as ck, + oe as cl, + de as cm, + withKeys as cn, + me$1 as co, + pe$1 as cp, + xe$1 as cq, + Ie as cr, + ye as cs, + Og as ct, + kg as cu, + Lg as cv, + Mg as cw, + Vg as cx, + Fg as cy, + useFocus as cz, defineComponent$1 as d, createVNode$1 as e, createBaseVNode$1 as f, diff --git a/index.html b/index.html index 509df167..1881b37a 100644 --- a/index.html +++ b/index.html @@ -5,12 +5,12 @@ - + - +
- + \ No newline at end of file