@firstnoodle-ui/bui 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +21 -21
  2. package/dist/index.mjs +251 -251
  3. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { createElementBlock as C, openBlock as g, renderSlot as _, createElementVNode as k, defineComponent as J, toDisplayString as ge, normalizeStyle as Pe, ref as A, computed as ce, createBlock as I, unref as L, withCtx as j, resolveDynamicComponent as _r, normalizeClass as U, createCommentVNode as P, provide as Ef, onMounted as Oe, withModifiers as fe, watch as Mt, onBeforeUnmount as mn, createVNode as q, Fragment as O, createStaticVNode as K, onUnmounted as Go, Teleport as pi, withDirectives as zn, vShow as wr, Transition as _o, useSlots as hi, withKeys as Ae, createSlots as Bd, nextTick as ar, renderList as Nl, onBeforeMount as Yo, vModelText as Af, reactive as $d, createTextVNode as Zd, shallowRef as Nf, h as mi, getCurrentInstance as Df, watchEffect as Rf, markRaw as Pf, customRef as If } from "vue";
1
+ import { createElementBlock as C, openBlock as g, renderSlot as Y, createElementVNode as k, defineComponent as J, toDisplayString as ge, normalizeStyle as Pe, ref as A, computed as ce, createBlock as I, unref as L, withCtx as j, resolveDynamicComponent as Yr, normalizeClass as U, createCommentVNode as P, provide as Ef, onMounted as Oe, withModifiers as fe, watch as Mt, onBeforeUnmount as mn, createVNode as q, Fragment as O, createStaticVNode as K, onUnmounted as Go, Teleport as pi, withDirectives as zn, vShow as wr, Transition as Yo, useSlots as hi, withKeys as Ae, createSlots as Bd, nextTick as ar, renderList as Nl, onBeforeMount as _o, vModelText as Af, reactive as $d, createTextVNode as Zd, shallowRef as Nf, h as mi, getCurrentInstance as Df, watchEffect as Rf, markRaw as Pf, customRef as If } from "vue";
2
2
  const Fn = (n, e) => {
3
3
  const t = n.__vccOpts || n;
4
4
  for (const [r, i] of e)
@@ -7,7 +7,7 @@ const Fn = (n, e) => {
7
7
  }, Bf = {}, $f = { class: "fixed top-0 left-0 w-screen h-screen overflow-hidden text-primary" };
8
8
  function Zf(n, e) {
9
9
  return g(), C("main", $f, [
10
- _(n.$slots, "default"),
10
+ Y(n.$slots, "default"),
11
11
  e[0] || (e[0] = k("div", {
12
12
  id: "modals",
13
13
  class: "z-10 fixed w-screen h-screen top-0 left-0 pointer-events-none"
@@ -168,7 +168,7 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
168
168
  "trigger-full-width": f.fullwidth
169
169
  }, {
170
170
  default: j(() => [
171
- (g(), I(_r(o.value), {
171
+ (g(), I(Yr(o.value), {
172
172
  ref_key: "buttonRef",
173
173
  ref: s,
174
174
  to: f.routerLinkTo,
@@ -201,7 +201,7 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
201
201
  }, 40, ["to", "class", "disabled", "style"]))
202
202
  ]),
203
203
  _: 1
204
- }, 8, ["text", "delay", "placement", "trigger-full-width"])) : (g(), I(_r(o.value), {
204
+ }, 8, ["text", "delay", "placement", "trigger-full-width"])) : (g(), I(Yr(o.value), {
205
205
  key: 1,
206
206
  ref_key: "buttonRef",
207
207
  ref: s,
@@ -256,7 +256,7 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
256
256
  class: U(t.value),
257
257
  onClick: fe(i, ["stop", "prevent"])
258
258
  }, [
259
- _(o.$slots, "default")
259
+ Y(o.$slots, "default")
260
260
  ], 2));
261
261
  }
262
262
  }), Kf = /* @__PURE__ */ J({
@@ -358,7 +358,7 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
358
358
  }, ge(r.label), 3)) : P("", !0)
359
359
  ], 2));
360
360
  }
361
- }), _f = { class: "w-full" }, Yf = { class: "flex items-center w-full h-10" }, Xf = {
361
+ }), Yf = { class: "w-full" }, _f = { class: "flex items-center w-full h-10" }, Xf = {
362
362
  key: 0,
363
363
  class: "relative flex-1 min-w-0 flex items-center text-sm"
364
364
  }, Qf = { class: "flex-none w-8 h-8 flex items-center justify-center" }, ep = {
@@ -404,7 +404,7 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
404
404
  ), d.value.observe(o.value));
405
405
  }), mn(() => {
406
406
  d.value && d.value.disconnect();
407
- }), (u, c) => (g(), C("section", _f, [
407
+ }), (u, c) => (g(), C("section", Yf, [
408
408
  k("header", {
409
409
  ref_key: "headerRef",
410
410
  ref: o,
@@ -418,9 +418,9 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
418
418
  ]]),
419
419
  style: Pe(a.value)
420
420
  }, [
421
- k("div", Yf, [
421
+ k("div", _f, [
422
422
  u.alignment === "left" ? (g(), C("div", Xf, [
423
- _(u.$slots, "header", { sticky: s.value })
423
+ Y(u.$slots, "header", { sticky: s.value })
424
424
  ])) : P("", !0),
425
425
  k("div", Qf, [
426
426
  u.$slots.content ? (g(), I(L(We), {
@@ -432,12 +432,12 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
432
432
  }, null, 8, ["icon"])) : P("", !0)
433
433
  ]),
434
434
  u.alignment === "right" ? (g(), C("div", ep, [
435
- _(u.$slots, "header", { sticky: s.value })
435
+ Y(u.$slots, "header", { sticky: s.value })
436
436
  ])) : P("", !0)
437
437
  ])
438
438
  ], 6),
439
439
  u.open ? (g(), C("main", tp, [
440
- _(u.$slots, "content")
440
+ Y(u.$slots, "content")
441
441
  ])) : P("", !0)
442
442
  ]));
443
443
  }
@@ -462,7 +462,7 @@ const f7 = /* @__PURE__ */ Fn(Bf, [["render", Zf]]), zf = { class: "w-full space
462
462
  emits: ["confirm", "cancel"],
463
463
  setup(n, { emit: e }) {
464
464
  const t = n, r = e, i = ce(() => t.order === "confirm-first");
465
- return (o, s) => (g(), I(L(Ye), {
465
+ return (o, s) => (g(), I(L(_e), {
466
466
  col: o.vertical,
467
467
  class: "gap-2"
468
468
  }, {
@@ -674,10 +674,10 @@ const y7 = /* @__PURE__ */ Fn(np, [["render", rp]]), ip = {
674
674
  }, Gp = {
675
675
  key: 112,
676
676
  d: "M3.5 10.5C4.60457 10.5 5.5 11.3954 5.5 12.5C5.5 13.6046 4.60457 14.5 3.5 14.5C2.39543 14.5 1.5 13.6046 1.5 12.5C1.5 11.3954 2.39543 10.5 3.5 10.5ZM3.5 11.5C2.94772 11.5 2.5 11.9477 2.5 12.5C2.5 13.0523 2.94772 13.5 3.5 13.5C4.05228 13.5 4.5 13.0523 4.5 12.5C4.5 11.9477 4.05228 11.5 3.5 11.5ZM4.83889 9.39586L5.65785 9.9697L5.3844 10.3717L5.12221 10.7811L4.27269 10.2536L4.54984 9.82078L4.83889 9.39586ZM6.13511 7.75162L6.88432 8.41396L6.56734 8.78265L6.26068 9.15994L5.47603 8.53999L5.80012 8.14126L6.13511 7.75162ZM7.59341 6.2766L8.26425 7.0182L7.90819 7.34935L7.56139 7.6902L6.85064 6.98676L7.21712 6.62655L7.59341 6.2766ZM9.197 4.98019L9.78156 5.79153L9.39106 6.08118L9.0087 6.38153L8.38016 5.60375L8.78427 5.28631L9.197 4.98019ZM12.5 1.5C13.6046 1.5 14.5 2.39543 14.5 3.5C14.5 4.60457 13.6046 5.5 12.5 5.5C11.9556 5.5 11.462 5.28248 11.1014 4.92961L10.9995 4.98882L10.5862 5.24503L10.0475 4.40252L10.4844 4.13167L10.5835 4.07368C10.5292 3.89196 10.5 3.69939 10.5 3.5C10.5 2.39543 11.3954 1.5 12.5 1.5ZM12.5 2.5C11.9477 2.5 11.5 2.94772 11.5 3.5C11.5 4.05228 11.9477 4.5 12.5 4.5C13.0523 4.5 13.5 4.05228 13.5 3.5C13.5 2.94772 13.0523 2.5 12.5 2.5Z"
677
- }, _p = {
677
+ }, Yp = {
678
678
  key: 113,
679
679
  d: "M15 11V15H1V11H15ZM14 12H2V14H14V12ZM15 6V10H1V6H15ZM14 7H2V9H14V7ZM15 1V5H1V1H15ZM14 2H2V4H14V2Z"
680
- }, Yp = {
680
+ }, _p = {
681
681
  key: 118,
682
682
  d: "M12 9C14.1614 9 15.8922 10.6993 15.9952 12.8494L16 13.0523V14.74C16 15.3912 15.5054 15.9288 14.8713 15.9935L14.7428 16H5.25723C4.60616 16 4.07086 15.5031 4.00649 14.8686L4 14.74V13.0523C4 10.8071 5.77109 9 8 9C8.27614 9 8.5 9.22386 8.5 9.5C8.5 9.77614 8.27614 10 8 10C6.38766 10 5.09529 11.2599 5.00504 12.8718L5 13.0523V14.74C5 14.8629 5.08528 14.9661 5.19853 14.9931L5.25723 15H14.7428C14.8638 15 14.9663 14.9143 14.9932 14.7995L15 14.74V13.0523C15 11.355 13.6721 10 12 10C11.7239 10 11.5 9.77614 11.5 9.5C11.5 9.22386 11.7239 9 12 9ZM10 1C11.9516 1 13.5 2.8065 13.5 5C13.5 7.1935 11.9516 9 10 9C8.04841 9 6.5 7.1935 6.5 5C6.5 2.8065 8.04841 1 10 1ZM10 2C8.63785 2 7.5 3.32751 7.5 5C7.5 6.67249 8.63785 8 10 8C11.3621 8 12.5 6.67249 12.5 5C12.5 3.32751 11.3621 2 10 2ZM3.5 2.5V4.5H5.5V5.5H3.5V7.5H2.5V5.5H0.5V4.5H2.5V2.5H3.5Z"
683
683
  }, Xp = {
@@ -1034,16 +1034,16 @@ const y7 = /* @__PURE__ */ Fn(np, [["render", rp]]), ip = {
1034
1034
  t[111] || (t[111] = K('<g clip-path="url(#clip0_1_915)"><g mask="url(#mask0_1_915)"><path d="M12 9V4H7.00001V5L10.2935 4.999L5.64645 9.64645L6.35356 10.3536L10.9995 5.707L11 9H12Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M16 14V0H2V2H0V16H14V13.999L16 14ZM1 3H2V14L13 13.999V14.999H1V3ZM15 12.999H3V0.999H14.999L15 12.999Z"></path></g></g><defs><clipPath id="clip0_1_915"><rect width="16" height="16"></rect></clipPath></defs>', 2))
1035
1035
  ], 64)) : e.name === "question" ? (g(), C(O, { key: 107 }, [
1036
1036
  t[112] || (t[112] = K('<g clip-path="url(#clip0_1_922)"><g mask="url(#mask0_1_922)"><path d="M8 14C8.55228 14 9 13.5523 9 13C9 12.4477 8.55228 12 8 12C7.44772 12 7 12.4477 7 13C7 13.5523 7.44772 14 8 14Z"></path><path d="M8 2.5C6.34315 2.5 5 3.84315 5 5.5C5 5.77614 5.22386 6 5.5 6C5.77614 6 6 5.77614 6 5.5C6 4.39543 6.89543 3.5 8 3.5C9.10457 3.5 10 4.39543 10 5.5C10 6.21805 9.85037 6.58137 9.69455 6.81943C9.54406 7.04934 9.35804 7.22 9.04876 7.49743L9.03867 7.50648C8.97559 7.56306 8.90769 7.62396 8.83653 7.68905C8.25668 8.15473 7.88116 8.53012 7.68483 8.99383C7.49939 9.43185 7.49966 9.90063 7.49997 10.4337L7.5 10.5C7.5 10.7761 7.72386 11 8 11C8.27614 11 8.5 10.7761 8.5 10.5C8.5 9.87439 8.50827 9.61383 8.6057 9.3837C8.69845 9.16463 8.89986 8.91969 9.47478 8.45905L9.48775 8.44865L9.5 8.43742C9.57154 8.37185 9.63992 8.31051 9.70733 8.25005L9.73698 8.22346C10.0231 7.96688 10.3029 7.71603 10.5312 7.36709C10.8124 6.93749 11 6.37512 11 5.5C11 3.84315 9.65685 2.5 8 2.5Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z"></path></g></g><defs><clipPath id="clip0_1_922"><rect width="16" height="16"></rect></clipPath></defs>', 2))
1037
- ], 64)) : e.name === "radio-tower" ? (g(), C("path", Up)) : e.name === "recycle" ? (g(), C("path", Kp)) : e.name === "redo" ? (g(), C("path", qp)) : e.name === "refresh" ? (g(), C("path", Jp)) : e.name === "route" ? (g(), C("path", Gp)) : e.name === "rows" ? (g(), C("path", _p)) : e.name === "scope" ? (g(), C(O, { key: 114 }, [
1037
+ ], 64)) : e.name === "radio-tower" ? (g(), C("path", Up)) : e.name === "recycle" ? (g(), C("path", Kp)) : e.name === "redo" ? (g(), C("path", qp)) : e.name === "refresh" ? (g(), C("path", Jp)) : e.name === "route" ? (g(), C("path", Gp)) : e.name === "rows" ? (g(), C("path", Yp)) : e.name === "scope" ? (g(), C(O, { key: 114 }, [
1038
1038
  t[113] || (t[113] = K('<path d="M2 3.5C2 2.67157 2.67157 2 3.5 2H4.75V1H3.5C2.11929 1 1 2.11929 1 3.5V4.75H2V3.5Z"></path><path d="M11.25 2H12.5C13.3284 2 14 2.67157 14 3.5V4.75H15V3.5C15 2.11929 13.8807 1 12.5 1H11.25V2Z"></path><path d="M2 12.5V11.25H1V12.5C1 13.8807 2.11929 15 3.5 15H4.75V14H3.5C2.67157 14 2 13.3284 2 12.5Z"></path><path d="M14 11.25V12.5C14 13.3284 13.3284 14 12.5 14H11.25V15H12.5C13.8807 15 15 13.8807 15 12.5V11.25H14Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8ZM10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10C9.10457 10 10 9.10457 10 8Z"></path>', 5))
1039
1039
  ], 64)) : e.name === "settings" ? (g(), C(O, { key: 115 }, [
1040
- t[114] || (t[114] = K('<g clip-path="url(#clip0_1_614)"><mask id="mask0_1_614" style="mask-type:luminance;" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16"><g mask="url(#mask0_1_614)"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8ZM10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10C9.10457 10 10 9.10457 10 8Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.13189 0.00759414L7.22706 0H8.71294C9.00362 0 9.25399 0.209771 9.29781 0.494872L9.542 1.954L9.87127 2.04643C10.2123 2.15324 10.5427 2.28873 10.8596 2.45183L11.159 2.618L12.398 1.73008C12.4658 1.68941 12.5385 1.65974 12.6215 1.64744L12.7082 1.64118C12.8537 1.64118 13.0044 1.69143 13.1288 1.81586L14.1806 2.86762C14.3817 3.06876 14.4074 3.3771 14.245 3.63113L13.382 4.842L13.5439 5.13346C13.7047 5.44285 13.8389 5.76653 13.9459 6.1024L14.037 6.421L15.4984 6.66934C15.7578 6.70925 15.9524 6.91151 15.9924 7.16012L16 7.25529L15.9985 8.77952C15.9776 9.05144 15.7767 9.28377 15.501 9.32614L14.034 9.57L13.9419 9.8925C13.8353 10.2268 13.7013 10.5499 13.5412 10.8581L13.379 11.149L14.2437 12.3686C14.3868 12.5729 14.3845 12.8457 14.2452 13.0473L14.1771 13.1288L13.1253 14.1806C13.0022 14.3038 12.8533 14.3553 12.7047 14.3553C12.5739 14.3553 12.4515 14.3125 12.3618 14.245L11.15 13.382L10.8595 13.5439C10.5501 13.7047 10.2264 13.8389 9.89054 13.9459L9.571 14.037L9.3236 15.4984C9.28369 15.7578 9.08143 15.9524 8.83282 15.9924L8.73765 16H7.25176C6.96109 16 6.71071 15.7902 6.6668 15.5046L6.421 14.037L6.11363 13.9493C5.79111 13.8467 5.47541 13.7172 5.1701 13.5627L4.879 13.406L3.62313 14.2982C3.55535 14.3388 3.48268 14.3685 3.39964 14.3808L3.31294 14.3871C3.16752 14.3871 3.01676 14.3368 2.89233 14.2124L1.84056 13.1606C1.63943 12.9595 1.61374 12.6511 1.77642 12.3968L2.636 11.19L2.47158 10.8974C2.30799 10.5863 2.17178 10.2634 2.06563 9.93465L1.971 9.613L0.501618 9.36242C0.242199 9.32251 0.0476291 9.12025 0.00759414 8.87164L0 8.77647V7.29059C0 6.99991 0.209771 6.74954 0.494872 6.70572L1.954 6.46L2.04473 6.13737C2.14937 5.80152 2.28136 5.47679 2.43956 5.16744L2.597 4.88L1.7245 3.65261C1.58145 3.44825 1.58375 3.17545 1.72308 2.97392L1.79115 2.89233L2.84292 1.84056C2.96608 1.71741 3.11492 1.66588 3.26353 1.66588C3.39436 1.66588 3.5167 1.7087 3.60675 1.77642L4.813 2.636L5.10615 2.47158C5.41723 2.30799 5.7401 2.17178 6.06888 2.06563L6.39 1.971L6.64111 0.501618C6.68102 0.242199 6.88328 0.0476291 7.13189 0.00759414ZM8.368 1H7.57L7.37385 2.15586C7.31617 2.48911 7.08983 2.76519 6.77778 2.89444L6.6569 2.93585C6.1901 3.05652 5.73647 3.24804 5.30957 3.50415C4.9778 3.69888 4.56154 3.68272 4.24383 3.45887L3.307 2.79L2.741 3.356L3.41853 4.30878C3.61886 4.58665 3.65727 4.94553 3.52593 5.25595L3.4687 5.36984C3.22481 5.78477 3.03988 6.24061 2.91919 6.72009C2.82504 7.09667 2.51545 7.37978 2.13219 7.44487L1 7.635V8.433L2.15586 8.62968C2.48911 8.68736 2.76519 8.9137 2.89444 9.22575L2.93585 9.34663C3.05652 9.81343 3.24804 10.2671 3.50415 10.694C3.69888 11.0257 3.68272 11.442 3.45887 11.7597L2.79 12.696L3.356 13.262L4.30398 12.5885C4.43733 12.4899 4.5934 12.4299 4.75474 12.4099L4.87647 12.4024C5.04568 12.4024 5.21569 12.4467 5.36526 12.5322C5.78585 12.7734 6.23169 12.9565 6.68703 13.0743C7.05959 13.1693 7.3412 13.4754 7.40614 13.8578L7.596 15H8.393L8.58581 13.864C8.63825 13.5231 8.86958 13.2385 9.18306 13.1138L9.30427 13.0747C9.78223 12.9512 10.2352 12.7635 10.6551 12.5135C10.9878 12.3183 11.4064 12.3346 11.717 12.5585L12.661 13.23L13.227 12.663L12.5536 11.715C12.3561 11.4347 12.3214 11.0774 12.454 10.7666L12.5116 10.6524C12.76 10.2352 12.9477 9.78223 13.0708 9.30591C13.1658 8.93335 13.4719 8.65174 13.8543 8.5868L15 8.395V7.599L13.864 7.40713C13.5231 7.35469 13.2385 7.12336 13.1138 6.80988L13.0747 6.68867C12.9512 6.21071 12.7635 5.75774 12.5135 5.33781C12.3183 5.00518 12.3346 4.58654 12.5585 4.27593L13.23 3.331L12.665 2.766L11.7256 3.44286C11.4453 3.64037 11.088 3.6751 10.7785 3.54327L10.6649 3.48601C10.2337 3.23182 9.77 3.04164 9.28344 2.91919C8.90686 2.82504 8.62375 2.51545 8.55866 2.13219L8.368 1Z"></path></g></mask></g><defs><clipPath id="clip0_1_614"><rect width="16" height="16"></rect></clipPath></defs>', 2))
1040
+ t[114] || (t[114] = K('<g mask="url(#mask0_1_614)"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8ZM10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10C9.10457 10 10 9.10457 10 8Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.13189 0.00759414L7.22706 0H8.71294C9.00362 0 9.25399 0.209771 9.29781 0.494872L9.542 1.954L9.87127 2.04643C10.2123 2.15324 10.5427 2.28873 10.8596 2.45183L11.159 2.618L12.398 1.73008C12.4658 1.68941 12.5385 1.65974 12.6215 1.64744L12.7082 1.64118C12.8537 1.64118 13.0044 1.69143 13.1288 1.81586L14.1806 2.86762C14.3817 3.06876 14.4074 3.3771 14.245 3.63113L13.382 4.842L13.5439 5.13346C13.7047 5.44285 13.8389 5.76653 13.9459 6.1024L14.037 6.421L15.4984 6.66934C15.7578 6.70925 15.9524 6.91151 15.9924 7.16012L16 7.25529L15.9985 8.77952C15.9776 9.05144 15.7767 9.28377 15.501 9.32614L14.034 9.57L13.9419 9.8925C13.8353 10.2268 13.7013 10.5499 13.5412 10.8581L13.379 11.149L14.2437 12.3686C14.3868 12.5729 14.3845 12.8457 14.2452 13.0473L14.1771 13.1288L13.1253 14.1806C13.0022 14.3038 12.8533 14.3553 12.7047 14.3553C12.5739 14.3553 12.4515 14.3125 12.3618 14.245L11.15 13.382L10.8595 13.5439C10.5501 13.7047 10.2264 13.8389 9.89054 13.9459L9.571 14.037L9.3236 15.4984C9.28369 15.7578 9.08143 15.9524 8.83282 15.9924L8.73765 16H7.25176C6.96109 16 6.71071 15.7902 6.6668 15.5046L6.421 14.037L6.11363 13.9493C5.79111 13.8467 5.47541 13.7172 5.1701 13.5627L4.879 13.406L3.62313 14.2982C3.55535 14.3388 3.48268 14.3685 3.39964 14.3808L3.31294 14.3871C3.16752 14.3871 3.01676 14.3368 2.89233 14.2124L1.84056 13.1606C1.63943 12.9595 1.61374 12.6511 1.77642 12.3968L2.636 11.19L2.47158 10.8974C2.30799 10.5863 2.17178 10.2634 2.06563 9.93465L1.971 9.613L0.501618 9.36242C0.242199 9.32251 0.0476291 9.12025 0.00759414 8.87164L0 8.77647V7.29059C0 6.99991 0.209771 6.74954 0.494872 6.70572L1.954 6.46L2.04473 6.13737C2.14937 5.80152 2.28136 5.47679 2.43956 5.16744L2.597 4.88L1.7245 3.65261C1.58145 3.44825 1.58375 3.17545 1.72308 2.97392L1.79115 2.89233L2.84292 1.84056C2.96608 1.71741 3.11492 1.66588 3.26353 1.66588C3.39436 1.66588 3.5167 1.7087 3.60675 1.77642L4.813 2.636L5.10615 2.47158C5.41723 2.30799 5.7401 2.17178 6.06888 2.06563L6.39 1.971L6.64111 0.501618C6.68102 0.242199 6.88328 0.0476291 7.13189 0.00759414ZM8.368 1H7.57L7.37385 2.15586C7.31617 2.48911 7.08983 2.76519 6.77778 2.89444L6.6569 2.93585C6.1901 3.05652 5.73647 3.24804 5.30957 3.50415C4.9778 3.69888 4.56154 3.68272 4.24383 3.45887L3.307 2.79L2.741 3.356L3.41853 4.30878C3.61886 4.58665 3.65727 4.94553 3.52593 5.25595L3.4687 5.36984C3.22481 5.78477 3.03988 6.24061 2.91919 6.72009C2.82504 7.09667 2.51545 7.37978 2.13219 7.44487L1 7.635V8.433L2.15586 8.62968C2.48911 8.68736 2.76519 8.9137 2.89444 9.22575L2.93585 9.34663C3.05652 9.81343 3.24804 10.2671 3.50415 10.694C3.69888 11.0257 3.68272 11.442 3.45887 11.7597L2.79 12.696L3.356 13.262L4.30398 12.5885C4.43733 12.4899 4.5934 12.4299 4.75474 12.4099L4.87647 12.4024C5.04568 12.4024 5.21569 12.4467 5.36526 12.5322C5.78585 12.7734 6.23169 12.9565 6.68703 13.0743C7.05959 13.1693 7.3412 13.4754 7.40614 13.8578L7.596 15H8.393L8.58581 13.864C8.63825 13.5231 8.86958 13.2385 9.18306 13.1138L9.30427 13.0747C9.78223 12.9512 10.2352 12.7635 10.6551 12.5135C10.9878 12.3183 11.4064 12.3346 11.717 12.5585L12.661 13.23L13.227 12.663L12.5536 11.715C12.3561 11.4347 12.3214 11.0774 12.454 10.7666L12.5116 10.6524C12.76 10.2352 12.9477 9.78223 13.0708 9.30591C13.1658 8.93335 13.4719 8.65174 13.8543 8.5868L15 8.395V7.599L13.864 7.40713C13.5231 7.35469 13.2385 7.12336 13.1138 6.80988L13.0747 6.68867C12.9512 6.21071 12.7635 5.75774 12.5135 5.33781C12.3183 5.00518 12.3346 4.58654 12.5585 4.27593L13.23 3.331L12.665 2.766L11.7256 3.44286C11.4453 3.64037 11.088 3.6751 10.7785 3.54327L10.6649 3.48601C10.2337 3.23182 9.77 3.04164 9.28344 2.91919C8.90686 2.82504 8.62375 2.51545 8.55866 2.13219L8.368 1Z"></path></g><defs><clipPath id="clip0_1_614"><rect width="16" height="16"></rect></clipPath></defs>', 2))
1041
1041
  ], 64)) : e.name === "share" ? (g(), C(O, { key: 116 }, [
1042
1042
  t[115] || (t[115] = K('<g clip-path="url(#clip0_1_948)"><path d="M11.7071 4.00008L8.00001 0.292969L4.29291 4.00008L5.00001 4.70718L7.49991 2.20697L7.50001 10.0001H8.50001L8.49991 2.20697L11 4.70718L11.7071 4.00008Z"></path><path d="M3 7.50012C3 7.22397 3.22386 7.00012 3.5 7.00012H5.75V6.00012H3.5C2.67157 6.00012 2 6.67169 2 7.50012V14.5001C2 15.3285 2.67157 16.0001 3.5 16.0001H12.5C13.3284 16.0001 14 15.3285 14 14.5001V7.50012C14 6.67169 13.3284 6.00012 12.5 6.00012H10.25V7.00012H12.5C12.7761 7.00012 13 7.22397 13 7.50012V14.5001C13 14.7762 12.7761 15.0001 12.5 15.0001H3.5C3.22386 15.0001 3 14.7762 3 14.5001V7.50012Z"></path></g><defs><clipPath id="clip0_1_948"><rect width="16" height="16"></rect></clipPath></defs>', 2))
1043
1043
  ], 64)) : e.name === "sign-in" ? (g(), C(O, { key: 117 }, [
1044
1044
  t[116] || (t[116] = k("path", { d: "M3 16H15V0H3V4H4V1H13.999V14.999H4V11H3V16Z" }, null, -1)),
1045
1045
  t[117] || (t[117] = k("path", { d: "M11.7071 7.50002L8 3.79291L7.29289 4.50002L9.794 6.99991L1 7.00002V8.00002L9.792 7.99991L7.29289 10.5L8 11.2071L11.7071 7.50002Z" }, null, -1))
1046
- ], 64)) : e.name === "sign-up" ? (g(), C("path", Yp)) : e.name === "sort-down" ? (g(), C(O, { key: 119 }, [
1046
+ ], 64)) : e.name === "sign-up" ? (g(), C("path", _p)) : e.name === "sort-down" ? (g(), C(O, { key: 119 }, [
1047
1047
  t[118] || (t[118] = K('<g clip-path="url(#clip0_1_956)"><g mask="url(#mask0_1_956)"><path d="M10 3V2H0V3H10Z"></path><path d="M12.9999 12.793L13 3H12L11.9999 12.793L9.50001 10.2929L8.79291 11L12.5 14.7071L16.2071 11L15.5 10.2929L12.9999 12.793Z"></path><path d="M6 9V8H0V9H6Z"></path><path d="M2 14V15H0V14H2Z"></path><path d="M8 5V6H0V5H8Z"></path><path d="M4 12V11H0V12H4Z"></path></g></g><defs><clipPath id="clip0_1_956"><rect width="16" height="16"></rect></clipPath></defs>', 2))
1048
1048
  ], 64)) : e.name === "sort-up" ? (g(), C(O, { key: 120 }, [
1049
1049
  t[119] || (t[119] = K('<g clip-path="url(#clip0_1_967)"><g mask="url(#mask0_1_967)"><path d="M2 1V2H0V1H2Z"></path><path d="M6 8V7H0V8H6Z"></path><path d="M10 14V13H0V14H10Z"></path><path d="M4 5V4H0V5H4Z"></path><path d="M8 10V11H0V10H8Z"></path><path d="M16.2071 5.00002L12.5 1.29291L8.79291 5.00002L9.50001 5.70713L11.9999 3.20591L12 13H13L12.9999 3.20591L15.5 5.70713L16.2071 5.00002Z"></path></g></g><defs><clipPath id="clip0_1_967"><rect width="16" height="16"></rect></clipPath></defs>', 2))
@@ -1198,7 +1198,7 @@ const dh = () => {
1198
1198
  header: j(() => [
1199
1199
  k("header", ch, [
1200
1200
  r.title ? (g(), C("h4", fh, ge(r.title), 1)) : (g(), C("h4", ph, [
1201
- _(u.$slots, "title")
1201
+ Y(u.$slots, "title")
1202
1202
  ])),
1203
1203
  r.closeable ? (g(), I(L(We), {
1204
1204
  key: 2,
@@ -1210,11 +1210,11 @@ const dh = () => {
1210
1210
  ])
1211
1211
  ]),
1212
1212
  main: j(() => [
1213
- _(u.$slots, "main")
1213
+ Y(u.$slots, "main")
1214
1214
  ]),
1215
1215
  footer: j(() => [
1216
1216
  k("footer", hh, [
1217
- _(u.$slots, "footer")
1217
+ Y(u.$slots, "footer")
1218
1218
  ])
1219
1219
  ]),
1220
1220
  _: 3
@@ -1237,7 +1237,7 @@ const dh = () => {
1237
1237
  emits: ["transition-after-enter"],
1238
1238
  setup(n, { emit: e }) {
1239
1239
  const t = e;
1240
- return (r, i) => (g(), I(_o, {
1240
+ return (r, i) => (g(), I(Yo, {
1241
1241
  "enter-active-class": "transform transition ease-in-out duration-300 delay-100",
1242
1242
  "enter-from-class": "translate-y-2 opacity-0",
1243
1243
  "enter-to-class": "",
@@ -1247,7 +1247,7 @@ const dh = () => {
1247
1247
  onAfterEnter: i[0] || (i[0] = (o) => t("transition-after-enter"))
1248
1248
  }, {
1249
1249
  default: j(() => [
1250
- _(r.$slots, "default")
1250
+ Y(r.$slots, "default")
1251
1251
  ]),
1252
1252
  _: 3
1253
1253
  }));
@@ -1294,11 +1294,11 @@ const dh = () => {
1294
1294
  class: U(["first-paint rounded", `delay-${t.delayIndex}`])
1295
1295
  }, [
1296
1296
  k("div", vh, [
1297
- t.$slots.default ? _(t.$slots, "default", { key: 0 }) : (g(), C("span", bh, "Some random text"))
1297
+ t.$slots.default ? Y(t.$slots, "default", { key: 0 }) : (g(), C("span", bh, "Some random text"))
1298
1298
  ])
1299
1299
  ], 2));
1300
1300
  }
1301
- }), Ye = /* @__PURE__ */ J({
1301
+ }), _e = /* @__PURE__ */ J({
1302
1302
  __name: "Flexbox",
1303
1303
  props: {
1304
1304
  align: { default: "center" },
@@ -1327,11 +1327,11 @@ const dh = () => {
1327
1327
  e.align ? t[e.align] : "",
1328
1328
  e.justify ? r[e.justify] : ""
1329
1329
  ]);
1330
- return (o, s) => (g(), I(_r(o.tag), {
1330
+ return (o, s) => (g(), I(Yr(o.tag), {
1331
1331
  class: U(i.value)
1332
1332
  }, {
1333
1333
  default: j(() => [
1334
- _(o.$slots, "default")
1334
+ Y(o.$slots, "default")
1335
1335
  ]),
1336
1336
  _: 3
1337
1337
  }, 8, ["class"]));
@@ -1401,7 +1401,7 @@ const wh = () => {
1401
1401
  function m(y, v) {
1402
1402
  v && i.value && i.value.focus(), c.value = y, r("transitioning", c.value);
1403
1403
  }
1404
- return (y, v) => (g(), I(_o, {
1404
+ return (y, v) => (g(), I(Yo, {
1405
1405
  "enter-active-class": "transform",
1406
1406
  "enter-from-class": L(s),
1407
1407
  "enter-to-class": "",
@@ -1424,7 +1424,7 @@ const wh = () => {
1424
1424
  }),
1425
1425
  class: U(["absolute top-0 z-10 h-full overflow-x-hidden duration-500 ease-in-out bg-primary", o.value])
1426
1426
  }, [
1427
- _(y.$slots, "default"),
1427
+ Y(y.$slots, "default"),
1428
1428
  t.draggable ? (g(), C("button", {
1429
1429
  key: 0,
1430
1430
  class: U(["absolute top-0 h-full w-1 hover:border-action hover:bg-tertiary cursor-ew-resize", [
@@ -1490,7 +1490,7 @@ const wh = () => {
1490
1490
  onTransitioning: c
1491
1491
  }, {
1492
1492
  default: j(() => [
1493
- _(m.$slots, "aside-left")
1493
+ Y(m.$slots, "aside-left")
1494
1494
  ]),
1495
1495
  _: 3
1496
1496
  }, 8, ["border", "draggable", "visible", "width"])) : P("", !0),
@@ -1498,7 +1498,7 @@ const wh = () => {
1498
1498
  class: U(["relative z-0 h-full overflow-x-hidden overflow-y-auto", [t.mainBgColorClass, i.value ? null : "transition-padding duration-500 ease-in-out"]]),
1499
1499
  style: Pe(d.value)
1500
1500
  }, [
1501
- _(m.$slots, "main")
1501
+ Y(m.$slots, "main")
1502
1502
  ], 6),
1503
1503
  L(h)["aside-right"] ? (g(), I(Ia, {
1504
1504
  key: 1,
@@ -1513,7 +1513,7 @@ const wh = () => {
1513
1513
  onTransitioning: p
1514
1514
  }, {
1515
1515
  default: j(() => [
1516
- _(m.$slots, "aside-right")
1516
+ Y(m.$slots, "aside-right")
1517
1517
  ]),
1518
1518
  _: 3
1519
1519
  }, 8, ["border", "draggable", "visible", "width"])) : P("", !0)
@@ -1522,7 +1522,7 @@ const wh = () => {
1522
1522
  }), xh = ["autofocus", "disabled", "value", "placeholder"], Sh = ["auto-focus", "disabled", "type", "value", "placeholder", "onKeydown"], Hh = {
1523
1523
  key: 3,
1524
1524
  class: "px-1"
1525
- }, Ys = /* @__PURE__ */ J({
1525
+ }, _s = /* @__PURE__ */ J({
1526
1526
  __name: "Input",
1527
1527
  props: {
1528
1528
  disabled: { type: Boolean, default: !1 },
@@ -1597,7 +1597,7 @@ const wh = () => {
1597
1597
  onInput: fe(l, ["stop", "prevent"])
1598
1598
  }, null, 40, Sh)),
1599
1599
  u.$slots["inline-controls"] ? (g(), C("section", Hh, [
1600
- _(u.$slots, "inline-controls")
1600
+ Y(u.$slots, "inline-controls")
1601
1601
  ])) : P("", !0),
1602
1602
  u.clearable && u.value.length ? (g(), I(L(We), {
1603
1603
  key: 4,
@@ -1788,9 +1788,9 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1788
1788
  ]])
1789
1789
  }, {
1790
1790
  default: j(() => [
1791
- c.$slots.default ? _(c.$slots, "default", { key: 0 }) : (g(), I(L(Da), { key: 1 }, Bd({
1791
+ c.$slots.default ? Y(c.$slots, "default", { key: 0 }) : (g(), I(L(Da), { key: 1 }, Bd({
1792
1792
  main: j(() => [
1793
- _(c.$slots, "main")
1793
+ Y(c.$slots, "main")
1794
1794
  ]),
1795
1795
  _: 2
1796
1796
  }, [
@@ -1806,7 +1806,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1806
1806
  onClick: d
1807
1807
  })) : P("", !0)
1808
1808
  ])) : P("", !0),
1809
- _(c.$slots, "header")
1809
+ Y(c.$slots, "header")
1810
1810
  ]),
1811
1811
  key: "0"
1812
1812
  } : void 0,
@@ -1814,7 +1814,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1814
1814
  name: "footer",
1815
1815
  fn: j(() => [
1816
1816
  k("footer", Rh, [
1817
- _(c.$slots, "footer")
1817
+ Y(c.$slots, "footer")
1818
1818
  ])
1819
1819
  ]),
1820
1820
  key: "1"
@@ -1863,7 +1863,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1863
1863
  name: r.icon
1864
1864
  }, null, 8, ["name"])) : P("", !0),
1865
1865
  k("span", Ph, [
1866
- _(r.$slots, "default")
1866
+ Y(r.$slots, "default")
1867
1867
  ])
1868
1868
  ], 2)
1869
1869
  ])) : (g(), C("a", {
@@ -1882,7 +1882,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1882
1882
  name: r.icon
1883
1883
  }, null, 8, ["name"])) : P("", !0),
1884
1884
  k("span", Ih, [
1885
- _(r.$slots, "default")
1885
+ Y(r.$slots, "default")
1886
1886
  ])
1887
1887
  ], 2)
1888
1888
  ]));
@@ -1901,7 +1901,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1901
1901
  setup(n, { emit: e }) {
1902
1902
  const t = e, r = ce(() => n.type === "default" ? "information" : n.type === "error" ? "error" : n.type === "warning" ? "warning" : "check-circled");
1903
1903
  return (i, o) => (g(), C("div", Bh, [
1904
- q(L(Ye), {
1904
+ q(L(_e), {
1905
1905
  class: U(["gap-2 px-3 rounded-l-lg", {
1906
1906
  "text-stone-300": i.type === "default",
1907
1907
  "text-amber-300": i.type === "warning",
@@ -1915,7 +1915,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1915
1915
  ]),
1916
1916
  _: 1
1917
1917
  }, 8, ["class"]),
1918
- q(L(Ye), { class: "px-2" }, {
1918
+ q(L(_e), { class: "px-2" }, {
1919
1919
  default: j(() => [
1920
1920
  i.showDetailsButton ? (g(), I(L(We), {
1921
1921
  key: 0,
@@ -1927,7 +1927,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
1927
1927
  ]),
1928
1928
  _: 1
1929
1929
  }),
1930
- q(L(Ye), { class: "px-1" }, {
1930
+ q(L(_e), { class: "px-1" }, {
1931
1931
  default: j(() => [
1932
1932
  q(L(We), {
1933
1933
  small: "",
@@ -2039,7 +2039,7 @@ const to = /* @__PURE__ */ Fn(Eh, [["render", Nh]]), Dh = {
2039
2039
  }, {
2040
2040
  default: j((f) => [
2041
2041
  k("div", Zh, [
2042
- _(u.$slots, "trigger", {
2042
+ Y(u.$slots, "trigger", {
2043
2043
  visible: f && f.visible
2044
2044
  })
2045
2045
  ])
@@ -2119,7 +2119,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2119
2119
  onMouseover: a[0] || (a[0] = (d) => r("hover", l.label)),
2120
2120
  onFocus: a[1] || (a[1] = (d) => r("focus", l.label))
2121
2121
  }, [
2122
- _(l.$slots, "default")
2122
+ Y(l.$slots, "default")
2123
2123
  ], 42, Uh));
2124
2124
  }
2125
2125
  }), qh = { class: "flex items-center px-2 pb-2 space-x-2" }, Jh = /* @__PURE__ */ J({
@@ -2146,10 +2146,10 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2146
2146
  }), Gh = {
2147
2147
  key: 0,
2148
2148
  class: "border-b border-default"
2149
- }, _h = {
2149
+ }, Yh = {
2150
2150
  key: 0,
2151
2151
  class: "flex items-center w-full px-3 space-x-2 bg-primary overflow-hidden"
2152
- }, Yh = ["placeholder", "onKeydown"], Xh = {
2152
+ }, _h = ["placeholder", "onKeydown"], Xh = {
2153
2153
  key: 2,
2154
2154
  class: "flex-1"
2155
2155
  }, Qh = { class: "flex items-center space-x-2 bg-primary text-tertiary py-3 px-3" }, e0 = { class: "italic leading-none text-sm" }, t0 = {
@@ -2207,7 +2207,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2207
2207
  (W) => {
2208
2208
  Z(W), s.value = null;
2209
2209
  }
2210
- ), Yo(() => {
2210
+ ), _o(() => {
2211
2211
  r.filterable && r.remoteMethod && console.warn('[PopSelect] should not have both "filterable" and "remoteMethod" props at the same time'), Z(r.options);
2212
2212
  });
2213
2213
  const N = () => p.value.close(), x = () => p.value.open(), D = async () => {
@@ -2257,7 +2257,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2257
2257
  onOpen: D
2258
2258
  }, {
2259
2259
  default: j((oe) => [
2260
- _(W.$slots, "trigger", {
2260
+ Y(W.$slots, "trigger", {
2261
2261
  disabled: W.disabled,
2262
2262
  visible: oe && oe.visible
2263
2263
  })
@@ -2270,7 +2270,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2270
2270
  }, {
2271
2271
  default: j(() => [
2272
2272
  W.filterable || W.remoteMethod || W.resultFilters ? (g(), C("header", Gh, [
2273
- W.filterable || W.remoteMethod ? (g(), C("header", _h, [
2273
+ W.filterable || W.remoteMethod ? (g(), C("header", Yh, [
2274
2274
  q(L(be), {
2275
2275
  name: "magnifying-glass",
2276
2276
  class: "text-light-blue"
@@ -2292,7 +2292,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2292
2292
  Ae(fe(ve, ["prevent"]), ["enter"]),
2293
2293
  Ae(fe(Q, ["stop", "prevent"]), ["esc"])
2294
2294
  ]
2295
- }, null, 40, Yh), [
2295
+ }, null, 40, _h), [
2296
2296
  [Af, a.value]
2297
2297
  ])
2298
2298
  ])) : P("", !0),
@@ -2310,7 +2310,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2310
2310
  ref: u,
2311
2311
  class: "flex-1 bg-primary h-full"
2312
2312
  }, [
2313
- _(W.$slots, "error")
2313
+ Y(W.$slots, "error")
2314
2314
  ], 512)) : M.value === L(bt).LOADING ? (g(), C("div", Xh, [
2315
2315
  k("div", Qh, [
2316
2316
  q(L(to), { class: "w-4 h-4 text-granite-grey" }),
@@ -2369,7 +2369,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2369
2369
  _: 1
2370
2370
  }, 512)) : P("", !0),
2371
2371
  L(o).footer ? (g(), C("footer", a0, [
2372
- _(W.$slots, "footer")
2372
+ Y(W.$slots, "footer")
2373
2373
  ])) : P("", !0)
2374
2374
  ]),
2375
2375
  _: 3
@@ -2378,7 +2378,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2378
2378
  _: 3
2379
2379
  }, 8, ["placement", "disabled", "popper-width-class", "same-width-as-element", "same-width-as-trigger", "root-class", "trigger-class"]));
2380
2380
  }
2381
- }), dr = Math.min, _e = Math.max, no = Math.round, Ri = Math.floor, St = (n) => ({
2381
+ }), dr = Math.min, Ye = Math.max, no = Math.round, Ri = Math.floor, St = (n) => ({
2382
2382
  x: n,
2383
2383
  y: n
2384
2384
  }), u0 = {
@@ -2391,7 +2391,7 @@ const Uh = ["onKeydown"], Kh = /* @__PURE__ */ J({
2391
2391
  end: "start"
2392
2392
  };
2393
2393
  function $a(n, e, t) {
2394
- return _e(n, dr(e, t));
2394
+ return Ye(n, dr(e, t));
2395
2395
  }
2396
2396
  function gi(n, e) {
2397
2397
  return typeof n == "function" ? n(e) : n;
@@ -2846,8 +2846,8 @@ const k0 = function(n) {
2846
2846
  const w = m - u.top - u.bottom, T = h - u.left - u.right, b = dr(m - u[y], w), H = dr(h - u[v], T), M = !e.middlewareData.shift;
2847
2847
  let Z = b, N = H;
2848
2848
  if ((t = e.middlewareData.shift) != null && t.enabled.x && (N = T), (r = e.middlewareData.shift) != null && r.enabled.y && (Z = w), M && !f) {
2849
- const D = _e(u.left, 0), Q = _e(u.right, 0), R = _e(u.top, 0), B = _e(u.bottom, 0);
2850
- p ? N = h - 2 * (D !== 0 || Q !== 0 ? D + Q : _e(u.left, u.right)) : Z = m - 2 * (R !== 0 || B !== 0 ? R + B : _e(u.top, u.bottom));
2849
+ const D = Ye(u.left, 0), Q = Ye(u.right, 0), R = Ye(u.top, 0), B = Ye(u.bottom, 0);
2850
+ p ? N = h - 2 * (D !== 0 || Q !== 0 ? D + Q : Ye(u.left, u.right)) : Z = m - 2 * (R !== 0 || B !== 0 ? R + B : Ye(u.top, u.bottom));
2851
2851
  }
2852
2852
  await a({
2853
2853
  ...e,
@@ -2959,20 +2959,20 @@ function Gd(n) {
2959
2959
  const e = pn(n);
2960
2960
  return ur(e) ? n.ownerDocument ? n.ownerDocument.body : n.body : Tt(e) && vi(e) ? e : Gd(e);
2961
2961
  }
2962
- function Yr(n, e, t) {
2962
+ function _r(n, e, t) {
2963
2963
  var r;
2964
2964
  e === void 0 && (e = []), t === void 0 && (t = !0);
2965
2965
  const i = Gd(n), o = i === ((r = n.ownerDocument) == null ? void 0 : r.body), s = et(i);
2966
2966
  if (o) {
2967
2967
  const l = Qs(s);
2968
- return e.concat(s, s.visualViewport || [], vi(i) ? i : [], l && t ? Yr(l) : []);
2968
+ return e.concat(s, s.visualViewport || [], vi(i) ? i : [], l && t ? _r(l) : []);
2969
2969
  }
2970
- return e.concat(i, Yr(i, [], t));
2970
+ return e.concat(i, _r(i, [], t));
2971
2971
  }
2972
2972
  function Qs(n) {
2973
2973
  return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
2974
2974
  }
2975
- function _d(n) {
2975
+ function Yd(n) {
2976
2976
  const e = yt(n);
2977
2977
  let t = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
2978
2978
  const i = Tt(n), o = i ? n.offsetWidth : t, s = i ? n.offsetHeight : r, l = no(t) !== o || no(r) !== s;
@@ -2993,7 +2993,7 @@ function or(n) {
2993
2993
  width: r,
2994
2994
  height: i,
2995
2995
  $: o
2996
- } = _d(e);
2996
+ } = Yd(e);
2997
2997
  let s = (o ? no(t.width) : t.width) / r, l = (o ? no(t.height) : t.height) / i;
2998
2998
  return (!s || !Number.isFinite(s)) && (s = 1), (!l || !Number.isFinite(l)) && (l = 1), {
2999
2999
  x: s,
@@ -3001,7 +3001,7 @@ function or(n) {
3001
3001
  };
3002
3002
  }
3003
3003
  const S0 = /* @__PURE__ */ St(0);
3004
- function Yd(n) {
3004
+ function _d(n) {
3005
3005
  const e = et(n);
3006
3006
  return !Bl() || !e.visualViewport ? S0 : {
3007
3007
  x: e.visualViewport.offsetLeft,
@@ -3016,7 +3016,7 @@ function Pn(n, e, t, r) {
3016
3016
  const i = n.getBoundingClientRect(), o = $l(n);
3017
3017
  let s = St(1);
3018
3018
  e && (r ? gt(r) && (s = or(r)) : s = or(n));
3019
- const l = H0(o, t, r) ? Yd(o) : St(0);
3019
+ const l = H0(o, t, r) ? _d(o) : St(0);
3020
3020
  let a = (i.left + l.x) / s.x, d = (i.top + l.y) / s.y, u = i.width / s.x, c = i.height / s.y;
3021
3021
  if (o) {
3022
3022
  const f = et(o), p = r && gt(r) ? et(r) : r;
@@ -3079,10 +3079,10 @@ function O0(n) {
3079
3079
  return Array.from(n.getClientRects());
3080
3080
  }
3081
3081
  function V0(n) {
3082
- const e = At(n), t = es(n), r = n.ownerDocument.body, i = _e(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), o = _e(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
3082
+ const e = At(n), t = es(n), r = n.ownerDocument.body, i = Ye(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), o = Ye(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
3083
3083
  let s = -t.scrollLeft + Zl(n);
3084
3084
  const l = -t.scrollTop;
3085
- return yt(r).direction === "rtl" && (s += _e(e.clientWidth, r.clientWidth) - i), {
3085
+ return yt(r).direction === "rtl" && (s += Ye(e.clientWidth, r.clientWidth) - i), {
3086
3086
  width: i,
3087
3087
  height: o,
3088
3088
  x: s,
@@ -3122,7 +3122,7 @@ function Fa(n, e, t) {
3122
3122
  else if (gt(e))
3123
3123
  r = A0(e, t);
3124
3124
  else {
3125
- const i = Yd(n);
3125
+ const i = _d(n);
3126
3126
  r = {
3127
3127
  x: e.x - i.x,
3128
3128
  y: e.y - i.y,
@@ -3140,7 +3140,7 @@ function N0(n, e) {
3140
3140
  const t = e.get(n);
3141
3141
  if (t)
3142
3142
  return t;
3143
- let r = Yr(n, [], !1).filter((l) => gt(l) && Lr(l) !== "body"), i = null;
3143
+ let r = _r(n, [], !1).filter((l) => gt(l) && Lr(l) !== "body"), i = null;
3144
3144
  const o = yt(n).position === "fixed";
3145
3145
  let s = o ? pn(n) : n;
3146
3146
  for (; gt(s) && !ur(s); ) {
@@ -3158,7 +3158,7 @@ function D0(n) {
3158
3158
  } = n;
3159
3159
  const s = [...t === "clippingAncestors" ? Qo(e) ? [] : N0(e, this._c) : [].concat(t), r], l = s[0], a = s.reduce((d, u) => {
3160
3160
  const c = Fa(e, u, i);
3161
- return d.top = _e(c.top, d.top), d.right = dr(c.right, d.right), d.bottom = dr(c.bottom, d.bottom), d.left = _e(c.left, d.left), d;
3161
+ return d.top = Ye(c.top, d.top), d.right = dr(c.right, d.right), d.bottom = dr(c.bottom, d.bottom), d.left = Ye(c.left, d.left), d;
3162
3162
  }, Fa(e, l, i));
3163
3163
  return {
3164
3164
  width: a.right - a.left,
@@ -3171,7 +3171,7 @@ function R0(n) {
3171
3171
  const {
3172
3172
  width: e,
3173
3173
  height: t
3174
- } = _d(n);
3174
+ } = Yd(n);
3175
3175
  return {
3176
3176
  width: e,
3177
3177
  height: t
@@ -3275,7 +3275,7 @@ function Z0(n, e) {
3275
3275
  return;
3276
3276
  const h = Ri(c), m = Ri(i.clientWidth - (u + f)), y = Ri(i.clientHeight - (c + p)), v = Ri(u), T = {
3277
3277
  rootMargin: -h + "px " + -m + "px " + -y + "px " + -v + "px",
3278
- threshold: _e(0, dr(1, a)) || 1
3278
+ threshold: Ye(0, dr(1, a)) || 1
3279
3279
  };
3280
3280
  let b = !0;
3281
3281
  function H(M) {
@@ -3310,7 +3310,7 @@ function z0(n, e, t, r) {
3310
3310
  elementResize: s = typeof ResizeObserver == "function",
3311
3311
  layoutShift: l = typeof IntersectionObserver == "function",
3312
3312
  animationFrame: a = !1
3313
- } = r, d = $l(n), u = i || o ? [...d ? Yr(d) : [], ...Yr(e)] : [];
3313
+ } = r, d = $l(n), u = i || o ? [...d ? _r(d) : [], ..._r(e)] : [];
3314
3314
  u.forEach((v) => {
3315
3315
  i && v.addEventListener("scroll", t, {
3316
3316
  passive: !0
@@ -3401,7 +3401,7 @@ const Ua = /* @__PURE__ */ K0(J0), G0 = nu({
3401
3401
  width: `${n.reference.width}px`
3402
3402
  });
3403
3403
  }
3404
- }), _0 = (n) => nu({
3404
+ }), Y0 = (n) => nu({
3405
3405
  apply({ elements: e }) {
3406
3406
  Object.assign(e.floating.style, {
3407
3407
  width: `${n.offsetWidth}px`
@@ -3439,7 +3439,7 @@ const Ua = /* @__PURE__ */ K0(J0), G0 = nu({
3439
3439
  W0(),
3440
3440
  j0()
3441
3441
  ];
3442
- r.popperWidthClass || (r.sameWidthAsTrigger ? x.push(G0) : r.sameWidthAsElement && x.push(_0(r.sameWidthAsElement)));
3442
+ r.popperWidthClass || (r.sameWidthAsTrigger ? x.push(G0) : r.sameWidthAsElement && x.push(Y0(r.sameWidthAsElement)));
3443
3443
  const D = await U0(d.value, a.value, {
3444
3444
  placement: r.placement,
3445
3445
  middleware: x
@@ -3496,7 +3496,7 @@ const Ua = /* @__PURE__ */ K0(J0), G0 = nu({
3496
3496
  onFocus: D[1] || (D[1] = (Q) => x.trigger === "focus" && b()),
3497
3497
  onKeyup: D[2] || (D[2] = Ae((Q) => H(), ["esc"]))
3498
3498
  }, [
3499
- _(x.$slots, "default", { visible: u.value })
3499
+ Y(x.$slots, "default", { visible: u.value })
3500
3500
  ], 34),
3501
3501
  L(c) ? (g(), I(pi, {
3502
3502
  key: 0,
@@ -3513,7 +3513,7 @@ const Ua = /* @__PURE__ */ K0(J0), G0 = nu({
3513
3513
  ref: a,
3514
3514
  class: U(["absolute", x.popperWidthClass])
3515
3515
  }, [
3516
- _(x.$slots, "content", {
3516
+ Y(x.$slots, "content", {
3517
3517
  close: y,
3518
3518
  isOpen: u.value
3519
3519
  })
@@ -3528,7 +3528,7 @@ const Ua = /* @__PURE__ */ K0(J0), G0 = nu({
3528
3528
  onMouseover: D[4] || (D[4] = (Q) => x.trigger === "hover" && b()),
3529
3529
  onMouseleave: D[5] || (D[5] = (Q) => x.trigger === "hover" && H())
3530
3530
  }, [
3531
- _(x.$slots, "content", {
3531
+ Y(x.$slots, "content", {
3532
3532
  close: y,
3533
3533
  isOpen: u.value
3534
3534
  })
@@ -3537,13 +3537,13 @@ const Ua = /* @__PURE__ */ K0(J0), G0 = nu({
3537
3537
  ])) : P("", !0)
3538
3538
  ], 34));
3539
3539
  }
3540
- }), Y0 = {}, X0 = { class: "pointer-events-auto rounded-lg overflow-hidden border border-default bg-primary shadow-xl" };
3540
+ }), _0 = {}, X0 = { class: "pointer-events-auto rounded-lg overflow-hidden border border-default bg-primary shadow-xl" };
3541
3541
  function Q0(n, e) {
3542
3542
  return g(), C("div", X0, [
3543
- _(n.$slots, "default")
3543
+ Y(n.$slots, "default")
3544
3544
  ]);
3545
3545
  }
3546
- const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3546
+ const ru = /* @__PURE__ */ Fn(_0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3547
3547
  __name: "ScreenOverlay",
3548
3548
  props: {
3549
3549
  show: { type: Boolean, default: !1 },
@@ -3552,9 +3552,9 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3552
3552
  emits: ["click", "close"],
3553
3553
  setup(n, { emit: e }) {
3554
3554
  const t = n, r = e, i = A(""), o = $d({ backdropFilter: "" });
3555
- return Yo(() => {
3555
+ return _o(() => {
3556
3556
  t.type === "default" ? (i.value = "bg-black/25 dark:bg-black/50", o.backdropFilter = "") : t.type === "blurred" && (i.value = "bg-black/25", o.backdropFilter = "blur(3px)");
3557
- }), (s, l) => (g(), I(_o, {
3557
+ }), (s, l) => (g(), I(Yo, {
3558
3558
  "enter-active-class": "transform transition ease-in-out duration-200",
3559
3559
  "enter-from-class": "opacity-0",
3560
3560
  "enter-to-class": "",
@@ -3569,7 +3569,7 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3569
3569
  style: Pe(o),
3570
3570
  onMousedown: l[0] || (l[0] = fe((a) => r("click"), ["self"]))
3571
3571
  }, [
3572
- _(s.$slots, "default")
3572
+ Y(s.$slots, "default")
3573
3573
  ], 38), [
3574
3574
  [wr, s.show]
3575
3575
  ])
@@ -3731,13 +3731,13 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3731
3731
  style: Pe(f),
3732
3732
  onScroll: v
3733
3733
  }, [
3734
- (g(), I(_r(r.tag), {
3734
+ (g(), I(Yr(r.tag), {
3735
3735
  ref_key: "contentRef",
3736
3736
  ref: y,
3737
3737
  class: U(["scrollbar__view", [N.viewClass]])
3738
3738
  }, {
3739
3739
  default: j(() => [
3740
- _(N.$slots, "default")
3740
+ Y(N.$slots, "default")
3741
3741
  ]),
3742
3742
  _: 3
3743
3743
  }, 8, ["class"]))
@@ -3772,7 +3772,7 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3772
3772
  ref: r,
3773
3773
  class: "w-full h-16 flex items-center justify-center bg-white"
3774
3774
  }, [
3775
- o.$slots.default ? _(o.$slots, "default", { key: 0 }) : (g(), I(L(to), {
3775
+ o.$slots.default ? Y(o.$slots, "default", { key: 0 }) : (g(), I(L(to), {
3776
3776
  key: 1,
3777
3777
  class: "w-6 h-6 text-granite-grey"
3778
3778
  }))
@@ -3809,7 +3809,7 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3809
3809
  onClose: p[0] || (p[0] = (h) => i("close"))
3810
3810
  }, {
3811
3811
  default: j(() => [
3812
- q(_o, {
3812
+ q(Yo, {
3813
3813
  "enter-active-class": "transform transition ease-in-out duration-500",
3814
3814
  "enter-from-class": "translate-x-full",
3815
3815
  "enter-to-class": "",
@@ -3826,12 +3826,12 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3826
3826
  class: U(["ml-auto flex flex-col bg-primary shadow-sm-xl rounded-xl overflow-hidden max-w-lg w-full h-full focus:outline-hidden", { "px-6 py-4": !L(o).default }]),
3827
3827
  style: { "pointer-events": "auto" }
3828
3828
  }, [
3829
- f.$slots.default ? _(f.$slots, "default", { key: 0 }) : (g(), I(L(Da), { key: 1 }, Bd({
3829
+ f.$slots.default ? Y(f.$slots, "default", { key: 0 }) : (g(), I(L(Da), { key: 1 }, Bd({
3830
3830
  main: j(() => [
3831
- _(f.$slots, "main")
3831
+ Y(f.$slots, "main")
3832
3832
  ]),
3833
3833
  footer: j(() => [
3834
- _(f.$slots, "footer")
3834
+ Y(f.$slots, "footer")
3835
3835
  ]),
3836
3836
  _: 2
3837
3837
  }, [
@@ -3847,7 +3847,7 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3847
3847
  variant: "textSubtle",
3848
3848
  onClick: u
3849
3849
  })) : P("", !0)
3850
- ])) : _(f.$slots, "header", { key: 1 })
3850
+ ])) : Y(f.$slots, "header", { key: 1 })
3851
3851
  ]),
3852
3852
  key: "0"
3853
3853
  } : void 0
@@ -3962,7 +3962,7 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3962
3962
  emits: ["delete"],
3963
3963
  setup(n, { emit: e }) {
3964
3964
  const t = e;
3965
- return (r, i) => (g(), I(L(Ye), {
3965
+ return (r, i) => (g(), I(L(_e), {
3966
3966
  inline: "",
3967
3967
  class: U(["h-5 truncate text-xs rounded-lg text-tertiary bg-tertiary", {
3968
3968
  "px-1": !r.deletable,
@@ -3970,7 +3970,7 @@ const ru = /* @__PURE__ */ Fn(Y0, [["render", Q0]]), Fl = /* @__PURE__ */ J({
3970
3970
  }])
3971
3971
  }, {
3972
3972
  default: j(() => [
3973
- q(L(Ye), { class: "gap-1" }, {
3973
+ q(L(_e), { class: "gap-1" }, {
3974
3974
  default: j(() => [
3975
3975
  r.icon ? (g(), I(L(be), {
3976
3976
  key: 0,
@@ -5787,7 +5787,7 @@ function vu(n, e) {
5787
5787
  t[r] = new w5(n, r, e[r]);
5788
5788
  return t;
5789
5789
  }
5790
- let _a = class bu {
5790
+ let Ya = class bu {
5791
5791
  /**
5792
5792
  @internal
5793
5793
  */
@@ -6046,7 +6046,7 @@ class Cu {
6046
6046
  let t = this.spec = {};
6047
6047
  for (let i in e)
6048
6048
  t[i] = e[i];
6049
- t.nodes = Se.from(e.nodes), t.marks = Se.from(e.marks || {}), this.nodes = _a.compile(this.spec.nodes, this), this.marks = ts.compile(this.spec.marks, this);
6049
+ t.nodes = Se.from(e.nodes), t.marks = Se.from(e.marks || {}), this.nodes = Ya.compile(this.spec.nodes, this), this.marks = ts.compile(this.spec.marks, this);
6050
6050
  let r = /* @__PURE__ */ Object.create(null);
6051
6051
  for (let i in this.nodes) {
6052
6052
  if (i in this.marks)
@@ -6059,11 +6059,11 @@ class Cu {
6059
6059
  throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");
6060
6060
  this.linebreakReplacement = o;
6061
6061
  }
6062
- o.markSet = l == "_" ? null : l ? Ya(this, l.split(" ")) : l == "" || !o.inlineContent ? [] : null;
6062
+ o.markSet = l == "_" ? null : l ? _a(this, l.split(" ")) : l == "" || !o.inlineContent ? [] : null;
6063
6063
  }
6064
6064
  for (let i in this.marks) {
6065
6065
  let o = this.marks[i], s = o.spec.excludes;
6066
- o.excluded = s == null ? [o] : s == "" ? [] : Ya(this, s.split(" "));
6066
+ o.excluded = s == null ? [o] : s == "" ? [] : _a(this, s.split(" "));
6067
6067
  }
6068
6068
  this.nodeFromJSON = this.nodeFromJSON.bind(this), this.markFromJSON = this.markFromJSON.bind(this), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
6069
6069
  }
@@ -6076,7 +6076,7 @@ class Cu {
6076
6076
  node(e, t = null, r, i) {
6077
6077
  if (typeof e == "string")
6078
6078
  e = this.nodeType(e);
6079
- else if (e instanceof _a) {
6079
+ else if (e instanceof Ya) {
6080
6080
  if (e.schema != this)
6081
6081
  throw new RangeError("Node type from different schema used (" + e.name + ")");
6082
6082
  } else throw new RangeError("Invalid node type: " + e);
@@ -6120,7 +6120,7 @@ class Cu {
6120
6120
  return t;
6121
6121
  }
6122
6122
  }
6123
- function Ya(n, e) {
6123
+ function _a(n, e) {
6124
6124
  let t = [];
6125
6125
  for (let r = 0; r < e.length; r++) {
6126
6126
  let i = e[r], o = n.marks[i], s = o;
@@ -6822,7 +6822,7 @@ function i1(n) {
6822
6822
  function E5(n) {
6823
6823
  return (n - (n & Lu)) / Mu;
6824
6824
  }
6825
- const xu = 1, Su = 2, _i = 4, Hu = 8;
6825
+ const xu = 1, Su = 2, Yi = 4, Hu = 8;
6826
6826
  class il {
6827
6827
  /**
6828
6828
  @internal
@@ -6842,13 +6842,13 @@ class il {
6842
6842
  Tells you whether the token before the mapped position was deleted.
6843
6843
  */
6844
6844
  get deletedBefore() {
6845
- return (this.delInfo & (xu | _i)) > 0;
6845
+ return (this.delInfo & (xu | Yi)) > 0;
6846
6846
  }
6847
6847
  /**
6848
6848
  True when the token after the mapped position was deleted.
6849
6849
  */
6850
6850
  get deletedAfter() {
6851
- return (this.delInfo & (Su | _i)) > 0;
6851
+ return (this.delInfo & (Su | Yi)) > 0;
6852
6852
  }
6853
6853
  /**
6854
6854
  Tells whether any of the steps mapped through deletes across the
@@ -6856,7 +6856,7 @@ class il {
6856
6856
  position).
6857
6857
  */
6858
6858
  get deletedAcross() {
6859
- return (this.delInfo & _i) > 0;
6859
+ return (this.delInfo & Yi) > 0;
6860
6860
  }
6861
6861
  }
6862
6862
  class Xe {
@@ -6899,7 +6899,7 @@ class Xe {
6899
6899
  let f = d ? e == a ? -1 : e == c ? 1 : t : t, p = a + i + (f < 0 ? 0 : u);
6900
6900
  if (r)
6901
6901
  return p;
6902
- let h = e == (t < 0 ? a : c) ? null : V5(l / 3, e - a), m = e == a ? Su : e == c ? xu : _i;
6902
+ let h = e == (t < 0 ? a : c) ? null : V5(l / 3, e - a), m = e == a ? Su : e == c ? xu : Yi;
6903
6903
  return (t < 0 ? e != a : e != c) && (m |= Hu), new il(p, m, h);
6904
6904
  }
6905
6905
  i += u - d;
@@ -7910,7 +7910,7 @@ function J5(n, e, t) {
7910
7910
  function G5(n) {
7911
7911
  return n.spec.defining || n.spec.definingForContent;
7912
7912
  }
7913
- function _5(n, e, t, r) {
7913
+ function Y5(n, e, t, r) {
7914
7914
  if (!r.size)
7915
7915
  return n.deleteRange(e, t);
7916
7916
  let i = n.doc.resolve(e), o = n.doc.resolve(t);
@@ -7968,7 +7968,7 @@ function Nu(n, e, t, r, i) {
7968
7968
  }
7969
7969
  return n;
7970
7970
  }
7971
- function Y5(n, e, t, r) {
7971
+ function _5(n, e, t, r) {
7972
7972
  if (!r.isInline && e == t && n.doc.resolve(e).parent.content.size) {
7973
7973
  let i = U5(n.doc, e, r.type);
7974
7974
  i != null && (e = t = i);
@@ -8171,7 +8171,7 @@ class Ru {
8171
8171
  control over what happens.
8172
8172
  */
8173
8173
  replaceRange(e, t, r) {
8174
- return _5(this, e, t, r), this;
8174
+ return Y5(this, e, t, r), this;
8175
8175
  }
8176
8176
  /**
8177
8177
  Replace the given range with a node, but use `from` and `to` as
@@ -8183,7 +8183,7 @@ class Ru {
8183
8183
  that parent node.
8184
8184
  */
8185
8185
  replaceRangeWith(e, t, r) {
8186
- return Y5(this, e, t, r), this;
8186
+ return _5(this, e, t, r), this;
8187
8187
  }
8188
8188
  /**
8189
8189
  Delete the given range, expanding it to cover fully covered
@@ -9299,18 +9299,18 @@ function zu(n, e) {
9299
9299
  r.scrollTop != i + e && (r.scrollTop = i + e), r.scrollLeft != o && (r.scrollLeft = o);
9300
9300
  }
9301
9301
  }
9302
- let _n = null;
9302
+ let Yn = null;
9303
9303
  function g2(n) {
9304
9304
  if (n.setActive)
9305
9305
  return n.setActive();
9306
- if (_n)
9307
- return n.focus(_n);
9306
+ if (Yn)
9307
+ return n.focus(Yn);
9308
9308
  let e = Zu(n);
9309
- n.focus(_n == null ? {
9309
+ n.focus(Yn == null ? {
9310
9310
  get preventScroll() {
9311
- return _n = { preventScroll: !0 }, !0;
9311
+ return Yn = { preventScroll: !0 }, !0;
9312
9312
  }
9313
- } : void 0), _n || (_n = !1, zu(e, 0));
9313
+ } : void 0), Yn || (Yn = !1, zu(e, 0));
9314
9314
  }
9315
9315
  function Fu(n, e) {
9316
9316
  let t, r = 2e8, i, o = 0, s = e.top, l = e.top, a, d;
@@ -9344,7 +9344,7 @@ function y2(n, e) {
9344
9344
  let t = n.nodeValue.length, r = document.createRange();
9345
9345
  for (let i = 0; i < t; i++) {
9346
9346
  r.setEnd(n, i + 1), r.setStart(n, i);
9347
- let o = Yt(r, 1);
9347
+ let o = _t(r, 1);
9348
9348
  if (o.top != o.bottom && ql(e, o))
9349
9349
  return { node: n, offset: i + (e.left >= (o.left + o.right) / 2 ? 1 : 0) };
9350
9350
  }
@@ -9423,7 +9423,7 @@ function k2(n, e) {
9423
9423
  function g1(n) {
9424
9424
  return n.top < n.bottom || n.left < n.right;
9425
9425
  }
9426
- function Yt(n, e) {
9426
+ function _t(n, e) {
9427
9427
  let t = n.getClientRects();
9428
9428
  if (t.length) {
9429
9429
  let r = t[e < 0 ? 0 : t.length - 1];
@@ -9437,11 +9437,11 @@ function Wu(n, e, t) {
9437
9437
  let { node: r, offset: i, atom: o } = n.docView.domFromPos(e, t < 0 ? -1 : 1), s = Ci || vt;
9438
9438
  if (r.nodeType == 3)
9439
9439
  if (s && (w2.test(r.nodeValue) || (t < 0 ? !i : i == r.nodeValue.length))) {
9440
- let a = Yt(Zt(r, i, i), t);
9440
+ let a = _t(Zt(r, i, i), t);
9441
9441
  if (vt && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
9442
- let d = Yt(Zt(r, i - 1, i - 1), -1);
9442
+ let d = _t(Zt(r, i - 1, i - 1), -1);
9443
9443
  if (d.top == a.top) {
9444
- let u = Yt(Zt(r, i, i + 1), -1);
9444
+ let u = _t(Zt(r, i, i + 1), -1);
9445
9445
  if (u.top != a.top)
9446
9446
  return Er(u, u.left < d.left);
9447
9447
  }
@@ -9449,7 +9449,7 @@ function Wu(n, e, t) {
9449
9449
  return a;
9450
9450
  } else {
9451
9451
  let a = i, d = i, u = t < 0 ? 1 : -1;
9452
- return t < 0 && !i ? (d++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : d++, Er(Yt(Zt(r, a, d), u), u < 0);
9452
+ return t < 0 && !i ? (d++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : d++, Er(_t(Zt(r, a, d), u), u < 0);
9453
9453
  }
9454
9454
  if (!n.state.doc.resolve(e - (o || 0)).parent.inlineContent) {
9455
9455
  if (o == null && i && (t < 0 || i == at(r))) {
@@ -9467,7 +9467,7 @@ function Wu(n, e, t) {
9467
9467
  if (o == null && i && (t < 0 || i == at(r))) {
9468
9468
  let a = r.childNodes[i - 1], d = a.nodeType == 3 ? Zt(a, at(a) - (s ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
9469
9469
  if (d)
9470
- return Er(Yt(d, 1), !1);
9470
+ return Er(_t(d, 1), !1);
9471
9471
  }
9472
9472
  if (o == null && i < at(r)) {
9473
9473
  let a = r.childNodes[i];
@@ -9475,9 +9475,9 @@ function Wu(n, e, t) {
9475
9475
  a = a.nextSibling;
9476
9476
  let d = a ? a.nodeType == 3 ? Zt(a, 0, s ? 0 : 1) : a.nodeType == 1 ? a : null : null;
9477
9477
  if (d)
9478
- return Er(Yt(d, -1), !0);
9478
+ return Er(_t(d, -1), !0);
9479
9479
  }
9480
- return Er(Yt(r.nodeType == 3 ? Zt(r) : r, -t), t >= 0);
9480
+ return Er(_t(r.nodeType == 3 ? Zt(r) : r, -t), t >= 0);
9481
9481
  }
9482
9482
  function Er(n, e) {
9483
9483
  if (n.width == 0)
@@ -10016,7 +10016,7 @@ class un extends ki {
10016
10016
  } else u || ({ dom: u, contentDOM: c } = jn.renderSpec(document, t.type.spec.toDOM(t), null, t.attrs));
10017
10017
  !c && !t.isText && u.nodeName != "BR" && (u.hasAttribute("contenteditable") || (u.contentEditable = "false"), t.type.spec.draggable && (u.draggable = !0));
10018
10018
  let f = u;
10019
- return u = _u(u, r, t), d ? a = new T2(e, t, r, i, u, c || null, f, d, o, s + 1) : t.isText ? new ls(e, t, r, i, u, f, o) : new un(e, t, r, i, u, c || null, f, o, s + 1);
10019
+ return u = Yu(u, r, t), d ? a = new T2(e, t, r, i, u, c || null, f, d, o, s + 1) : t.isText ? new ls(e, t, r, i, u, f, o) : new un(e, t, r, i, u, c || null, f, o, s + 1);
10020
10020
  }
10021
10021
  parseRule() {
10022
10022
  if (this.node.type.spec.reparseInView)
@@ -10115,7 +10115,7 @@ class un extends ki {
10115
10115
  }
10116
10116
  }
10117
10117
  function k1(n, e, t, r, i) {
10118
- _u(r, e, n);
10118
+ Yu(r, e, n);
10119
10119
  let o = new un(void 0, n, e, t, r, r, r, i, 0);
10120
10120
  return o.contentDOM && o.updateChildren(i, 0), o;
10121
10121
  }
@@ -10286,7 +10286,7 @@ function O2(n, e, t) {
10286
10286
  t.style && (n.style.cssText += t.style);
10287
10287
  }
10288
10288
  }
10289
- function _u(n, e, t) {
10289
+ function Yu(n, e, t) {
10290
10290
  return Gu(n, n, Hn, ul(e, t, n.nodeType != 1));
10291
10291
  }
10292
10292
  function co(n, e) {
@@ -10605,12 +10605,12 @@ function Jl(n, e = null) {
10605
10605
  }
10606
10606
  return d;
10607
10607
  }
10608
- function Yu(n) {
10608
+ function _u(n) {
10609
10609
  return n.editable ? n.hasFocus() : Qu(n) && document.activeElement && document.activeElement.contains(n.dom);
10610
10610
  }
10611
10611
  function Ut(n, e = !1) {
10612
10612
  let t = n.state.selection;
10613
- if (Xu(n, t), !!Yu(n)) {
10613
+ if (Xu(n, t), !!_u(n)) {
10614
10614
  if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && Ne) {
10615
10615
  let r = n.domSelectionRange(), i = n.domObserver.currentSelection;
10616
10616
  if (r.anchorNode && i.anchorNode && Bn(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) {
@@ -10651,7 +10651,7 @@ function P2(n) {
10651
10651
  let t = n.domSelectionRange(), r = t.anchorNode, i = t.anchorOffset;
10652
10652
  e.addEventListener("selectionchange", n.input.hideSelectionGuard = () => {
10653
10653
  (t.anchorNode != r || t.anchorOffset != i) && (e.removeEventListener("selectionchange", n.input.hideSelectionGuard), setTimeout(() => {
10654
- (!Yu(n) || n.state.selection.visible) && n.dom.classList.remove("ProseMirror-hideselection");
10654
+ (!_u(n) || n.state.selection.visible) && n.dom.classList.remove("ProseMirror-hideselection");
10655
10655
  }, 20));
10656
10656
  });
10657
10657
  }
@@ -10736,7 +10736,7 @@ function Zr(n, e) {
10736
10736
  let t = n.pmViewDesc;
10737
10737
  return t && t.size == 0 && (e < 0 || n.nextSibling || n.nodeName != "BR");
10738
10738
  }
10739
- function Yn(n, e) {
10739
+ function _n(n, e) {
10740
10740
  return e < 0 ? $2(n) : Z2(n);
10741
10741
  }
10742
10742
  function $2(n) {
@@ -10923,28 +10923,28 @@ function W2(n) {
10923
10923
  function U2(n, e) {
10924
10924
  let t = e.keyCode, r = W2(e);
10925
10925
  if (t == 8 || lt && t == 72 && r == "c")
10926
- return E1(n, -1) || Yn(n, -1);
10926
+ return E1(n, -1) || _n(n, -1);
10927
10927
  if (t == 46 && !e.shiftKey || lt && t == 68 && r == "c")
10928
- return E1(n, 1) || Yn(n, 1);
10928
+ return E1(n, 1) || _n(n, 1);
10929
10929
  if (t == 13 || t == 27)
10930
10930
  return !0;
10931
10931
  if (t == 37 || lt && t == 66 && r == "c") {
10932
10932
  let i = t == 37 ? O1(n, n.state.selection.from) == "ltr" ? -1 : 1 : -1;
10933
- return T1(n, i, r) || Yn(n, i);
10933
+ return T1(n, i, r) || _n(n, i);
10934
10934
  } else if (t == 39 || lt && t == 70 && r == "c") {
10935
10935
  let i = t == 39 ? O1(n, n.state.selection.from) == "ltr" ? 1 : -1 : 1;
10936
- return T1(n, i, r) || Yn(n, i);
10936
+ return T1(n, i, r) || _n(n, i);
10937
10937
  } else {
10938
10938
  if (t == 38 || lt && t == 80 && r == "c")
10939
- return V1(n, -1, r) || Yn(n, -1);
10939
+ return V1(n, -1, r) || _n(n, -1);
10940
10940
  if (t == 40 || lt && t == 78 && r == "c")
10941
- return j2(n) || V1(n, 1, r) || Yn(n, 1);
10941
+ return j2(n) || V1(n, 1, r) || _n(n, 1);
10942
10942
  if (r == (lt ? "m" : "c") && (t == 66 || t == 73 || t == 89 || t == 90))
10943
10943
  return !0;
10944
10944
  }
10945
10945
  return !1;
10946
10946
  }
10947
- function _l(n, e) {
10947
+ function Yl(n, e) {
10948
10948
  n.someProp("transformCopied", (p) => {
10949
10949
  e = p(e, n);
10950
10950
  });
@@ -10996,7 +10996,7 @@ function tc(n, e, t, r, i) {
10996
10996
  } else
10997
10997
  n.someProp("transformPastedHTML", (c) => {
10998
10998
  t = c(t, n);
10999
- }), s = G2(t), Ci && _2(s);
10999
+ }), s = G2(t), Ci && Y2(s);
11000
11000
  let d = s && s.querySelector("[data-pm-slice]"), u = d && /^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(d.getAttribute("data-pm-slice") || "");
11001
11001
  if (u && u[3])
11002
11002
  for (let c = +u[3]; c > 0; c--) {
@@ -11014,7 +11014,7 @@ function tc(n, e, t, r, i) {
11014
11014
  return f.nodeName == "BR" && !f.nextSibling && f.parentNode && !K2.test(f.parentNode.nodeName) ? { ignore: !0 } : null;
11015
11015
  }
11016
11016
  })), u)
11017
- l = Y2(N1(l, +u[1], +u[2]), u[4]);
11017
+ l = _2(N1(l, +u[1], +u[2]), u[4]);
11018
11018
  else if (l = $.maxOpen(q2(l.content, i), !0), l.openStart || l.openEnd) {
11019
11019
  let c = 0, f = 0;
11020
11020
  for (let p = l.content.firstChild; c < l.openStart && !p.type.spec.isolating; c++, p = p.firstChild)
@@ -11107,14 +11107,14 @@ function G2(n) {
11107
11107
  t = t.querySelector(i[o]) || t;
11108
11108
  return t;
11109
11109
  }
11110
- function _2(n) {
11110
+ function Y2(n) {
11111
11111
  let e = n.querySelectorAll(Ne ? "span:not([class]):not([style])" : "span.Apple-converted-space");
11112
11112
  for (let t = 0; t < e.length; t++) {
11113
11113
  let r = e[t];
11114
11114
  r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "), r);
11115
11115
  }
11116
11116
  }
11117
- function Y2(n, e) {
11117
+ function _2(n, e) {
11118
11118
  if (!n.size)
11119
11119
  return n;
11120
11120
  let t = n.content.firstChild.type.schema, r;
@@ -11142,7 +11142,7 @@ function e4(n) {
11142
11142
  for (let e in Be) {
11143
11143
  let t = Be[e];
11144
11144
  n.dom.addEventListener(e, n.input.eventHandlers[e] = (r) => {
11145
- n4(n, r) && !Yl(n, r) && (n.editable || !(r.type in $e)) && t(n, r);
11145
+ n4(n, r) && !_l(n, r) && (n.editable || !(r.type in $e)) && t(n, r);
11146
11146
  }, X2[e] ? { passive: !0 } : void 0);
11147
11147
  }
11148
11148
  Ie && n.dom.addEventListener("input", () => null), ml(n);
@@ -11159,10 +11159,10 @@ function t4(n) {
11159
11159
  function ml(n) {
11160
11160
  n.someProp("handleDOMEvents", (e) => {
11161
11161
  for (let t in e)
11162
- n.input.eventHandlers[t] || n.dom.addEventListener(t, n.input.eventHandlers[t] = (r) => Yl(n, r));
11162
+ n.input.eventHandlers[t] || n.dom.addEventListener(t, n.input.eventHandlers[t] = (r) => _l(n, r));
11163
11163
  });
11164
11164
  }
11165
- function Yl(n, e) {
11165
+ function _l(n, e) {
11166
11166
  return n.someProp("handleDOMEvents", (t) => {
11167
11167
  let r = t[e.type];
11168
11168
  return r ? r(n, e) || e.defaultPrevented : !1;
@@ -11179,7 +11179,7 @@ function n4(n, e) {
11179
11179
  return !0;
11180
11180
  }
11181
11181
  function r4(n, e) {
11182
- !Yl(n, e) && Be[e.type] && (n.editable || !(e.type in $e)) && Be[e.type](n, e);
11182
+ !_l(n, e) && Be[e.type] && (n.editable || !(e.type in $e)) && Be[e.type](n, e);
11183
11183
  }
11184
11184
  $e.keydown = (n, e) => {
11185
11185
  let t = e;
@@ -11428,7 +11428,7 @@ Be.copy = $e.cut = (n, e) => {
11428
11428
  let t = e, r = n.state.selection, i = t.type == "cut";
11429
11429
  if (r.empty)
11430
11430
  return;
11431
- let o = ni ? null : t.clipboardData, s = r.content(), { dom: l, text: a } = _l(n, s);
11431
+ let o = ni ? null : t.clipboardData, s = r.content(), { dom: l, text: a } = Yl(n, s);
11432
11432
  o ? (t.preventDefault(), o.clearData(), o.setData("text/html", l.innerHTML), o.setData("text/plain", a)) : m4(n, l), i && n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut"));
11433
11433
  };
11434
11434
  function g4(n) {
@@ -11486,7 +11486,7 @@ Be.dragstart = (n, e) => {
11486
11486
  c && c.node.type.spec.draggable && c != n.docView && (s = G.create(n.state.doc, c.posBefore));
11487
11487
  }
11488
11488
  }
11489
- let l = (s || n.state.selection).content(), { dom: a, text: d, slice: u } = _l(n, l);
11489
+ let l = (s || n.state.selection).content(), { dom: a, text: d, slice: u } = Yl(n, l);
11490
11490
  (!t.dataTransfer.files.length || !Ne || $u > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(ni ? "Text" : "text/html", a.innerHTML), t.dataTransfer.effectAllowed = "copyMove", ni || t.dataTransfer.setData("text/plain", d), n.dragging = new fc(u, !t[pc], s);
11491
11491
  };
11492
11492
  Be.dragend = (n) => {
@@ -12744,7 +12744,7 @@ class D4 {
12744
12744
  [`transformCopied`](https://prosemirror.net/docs/ref/#view.EditorProps.transformCopied)).
12745
12745
  */
12746
12746
  serializeForClipboard(e) {
12747
- return _l(this, e);
12747
+ return Yl(this, e);
12748
12748
  }
12749
12749
  /**
12750
12750
  Removes the editor from the DOM and destroys all [node
@@ -13171,7 +13171,7 @@ function oa(n) {
13171
13171
  }
13172
13172
  return null;
13173
13173
  }
13174
- const _4 = (n, e) => {
13174
+ const Y4 = (n, e) => {
13175
13175
  let { $head: t, $anchor: r } = n.selection;
13176
13176
  if (!t.parent.type.spec.code || !t.sameParent(r))
13177
13177
  return !1;
@@ -13207,7 +13207,7 @@ const _4 = (n, e) => {
13207
13207
  let r = t.blockRange(), i = r && Mr(r);
13208
13208
  return i == null ? !1 : (e && e(n.tr.lift(r, i).scrollIntoView()), !0);
13209
13209
  };
13210
- function Y4(n) {
13210
+ function _4(n) {
13211
13211
  return (e, t) => {
13212
13212
  let { $from: r, $to: i } = e.selection;
13213
13213
  if (e.selection instanceof G && e.selection.node.isBlock)
@@ -13234,7 +13234,7 @@ function Y4(n) {
13234
13234
  return t && t(u.scrollIntoView()), !0;
13235
13235
  };
13236
13236
  }
13237
- const X4 = Y4(), Q4 = (n, e) => {
13237
+ const X4 = _4(), Q4 = (n, e) => {
13238
13238
  let { $from: t, to: r } = n.selection, i, o = t.sharedDepth(r);
13239
13239
  return o == 0 ? !1 : (i = t.before(o), e && e(n.tr.setSelection(G.create(n.doc, i))), !0);
13240
13240
  };
@@ -14414,7 +14414,7 @@ const S3 = Ze.create({
14414
14414
  }, R3 = (n) => ({ tr: e, dispatch: t }) => {
14415
14415
  const { from: r, to: i } = n;
14416
14416
  return t && e.delete(r, i), !0;
14417
- }, P3 = () => ({ state: n, dispatch: e }) => na(n, e), I3 = () => ({ commands: n }) => n.keyboardShortcut("Enter"), B3 = () => ({ state: n, dispatch: e }) => _4(n, e);
14417
+ }, P3 = () => ({ state: n, dispatch: e }) => na(n, e), I3 = () => ({ commands: n }) => n.keyboardShortcut("Enter"), B3 = () => ({ state: n, dispatch: e }) => Y4(n, e);
14418
14418
  function yo(n, e, t = { strict: !0 }) {
14419
14419
  const r = Object.keys(e);
14420
14420
  return r.length ? r.every((i) => t.strict ? e[i] === n[i] : aa(e[i]) ? e[i].test(n[i]) : e[i] === n[i]) : !0;
@@ -14426,7 +14426,7 @@ function Ac(n, e, t = {}) {
14426
14426
  t
14427
14427
  ));
14428
14428
  }
14429
- function _1(n, e, t = {}) {
14429
+ function Y1(n, e, t = {}) {
14430
14430
  return !!Ac(n, e, t);
14431
14431
  }
14432
14432
  function ca(n, e, t) {
@@ -14437,9 +14437,9 @@ function ca(n, e, t) {
14437
14437
  if ((!i.node || !i.node.marks.some((u) => u.type === e)) && (i = n.parent.childBefore(n.parentOffset)), !i.node || !i.node.marks.some((u) => u.type === e) || (t = t || ((r = i.node.marks[0]) === null || r === void 0 ? void 0 : r.attrs), !Ac([...i.node.marks], e, t)))
14438
14438
  return;
14439
14439
  let s = i.index, l = n.start() + i.offset, a = s + 1, d = l + i.node.nodeSize;
14440
- for (; s > 0 && _1([...n.parent.child(s - 1).marks], e, t); )
14440
+ for (; s > 0 && Y1([...n.parent.child(s - 1).marks], e, t); )
14441
14441
  s -= 1, l -= n.parent.child(s).nodeSize;
14442
- for (; a < n.parent.childCount && _1([...n.parent.child(a).marks], e, t); )
14442
+ for (; a < n.parent.childCount && Y1([...n.parent.child(a).marks], e, t); )
14443
14443
  d += n.parent.child(a).nodeSize, a += 1;
14444
14444
  return {
14445
14445
  from: l,
@@ -14642,7 +14642,7 @@ const K3 = (n) => !("type" in n), q3 = (n, e, t) => ({ tr: r, dispatch: i, edito
14642
14642
  t.updateSelection && U3(r, r.steps.length - 1, -1), t.applyInputRules && r.setMeta("applyInputRules", { from: a, text: p }), t.applyPasteRules && r.setMeta("applyPasteRules", { from: a, text: p });
14643
14643
  }
14644
14644
  return !0;
14645
- }, J3 = () => ({ state: n, dispatch: e }) => q4(n, e), G3 = () => ({ state: n, dispatch: e }) => J4(n, e), _3 = () => ({ state: n, dispatch: e }) => vc(n, e), Y3 = () => ({ state: n, dispatch: e }) => wc(n, e), X3 = () => ({ state: n, dispatch: e, tr: t }) => {
14645
+ }, J3 = () => ({ state: n, dispatch: e }) => q4(n, e), G3 = () => ({ state: n, dispatch: e }) => J4(n, e), Y3 = () => ({ state: n, dispatch: e }) => vc(n, e), _3 = () => ({ state: n, dispatch: e }) => wc(n, e), X3 = () => ({ state: n, dispatch: e, tr: t }) => {
14646
14646
  try {
14647
14647
  const r = ns(n.doc, n.selection.$from.pos, -1);
14648
14648
  return r == null ? !1 : (t.join(r, 2), e && e(t), !0);
@@ -14724,7 +14724,7 @@ const i9 = (n, e = {}) => ({ state: t, dispatch: r }) => {
14724
14724
  function ps(n, e) {
14725
14725
  return e.nodes[n] ? "node" : e.marks[n] ? "mark" : null;
14726
14726
  }
14727
- function Y1(n, e) {
14727
+ function _1(n, e) {
14728
14728
  const t = typeof e == "string" ? [e] : e;
14729
14729
  return Object.keys(n).reduce((r, i) => (t.includes(i) || (r[i] = n[i]), r), {});
14730
14730
  }
@@ -14733,8 +14733,8 @@ const a9 = (n, e) => ({ tr: t, state: r, dispatch: i }) => {
14733
14733
  const l = ps(typeof n == "string" ? n : n.name, r.schema);
14734
14734
  return l ? (l === "node" && (o = xe(n, r.schema)), l === "mark" && (s = vn(n, r.schema)), i && t.selection.ranges.forEach((a) => {
14735
14735
  r.doc.nodesBetween(a.$from.pos, a.$to.pos, (d, u) => {
14736
- o && o === d.type && t.setNodeMarkup(u, void 0, Y1(d.attrs, e)), s && d.marks.length && d.marks.forEach((c) => {
14737
- s === c.type && t.addMark(u, u + d.nodeSize, s.create(Y1(c.attrs, e)));
14736
+ o && o === d.type && t.setNodeMarkup(u, void 0, _1(d.attrs, e)), s && d.marks.length && d.marks.forEach((c) => {
14737
+ s === c.type && t.addMark(u, u + d.nodeSize, s.create(_1(c.attrs, e)));
14738
14738
  });
14739
14739
  });
14740
14740
  }), !0) : !1;
@@ -14889,7 +14889,7 @@ function ma(n, e, t) {
14889
14889
  })));
14890
14890
  }), r;
14891
14891
  }
14892
- function Yi(n, e, t) {
14892
+ function _i(n, e, t) {
14893
14893
  return Object.fromEntries(Object.entries(t).filter(([r]) => {
14894
14894
  const i = n.find((o) => o.type === e && o.name === r);
14895
14895
  return i ? i.attribute.keepOnSplit : !1;
@@ -15049,7 +15049,7 @@ function Q1(n, e) {
15049
15049
  }
15050
15050
  }
15051
15051
  const D9 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, editor: i }) => {
15052
- const { selection: o, doc: s } = e, { $from: l, $to: a } = o, d = i.extensionManager.attributes, u = Yi(d, l.node().type.name, l.node().attrs);
15052
+ const { selection: o, doc: s } = e, { $from: l, $to: a } = o, d = i.extensionManager.attributes, u = _i(d, l.node().type.name, l.node().attrs);
15053
15053
  if (o instanceof G && o.node.isBlock)
15054
15054
  return !l.parentOffset || !Wt(s, l.pos) ? !1 : (r && (n && Q1(t, i.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
15055
15055
  if (!l.parent.isBlock)
@@ -15092,7 +15092,7 @@ const D9 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
15092
15092
  for (let N = a.depth - w; N >= a.depth - 3; N -= 1)
15093
15093
  v = V.from(a.node(N).copy(v));
15094
15094
  const T = a.indexAfter(-1) < a.node(-2).childCount ? 1 : a.indexAfter(-2) < a.node(-3).childCount ? 2 : 3, b = {
15095
- ...Yi(f, a.node().type.name, a.node().attrs),
15095
+ ..._i(f, a.node().type.name, a.node().attrs),
15096
15096
  ...e
15097
15097
  }, H = ((s = l.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(b)) || void 0;
15098
15098
  v = v.append(V.from(l.createAndFill(null, H) || void 0));
@@ -15108,10 +15108,10 @@ const D9 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
15108
15108
  return !0;
15109
15109
  }
15110
15110
  const p = d.pos === a.end() ? c.contentMatchAt(0).defaultType : null, h = {
15111
- ...Yi(f, c.type.name, c.attrs),
15111
+ ..._i(f, c.type.name, c.attrs),
15112
15112
  ...e
15113
15113
  }, m = {
15114
- ...Yi(f, a.node().type.name, a.node().attrs),
15114
+ ..._i(f, a.node().type.name, a.node().attrs),
15115
15115
  ...e
15116
15116
  };
15117
15117
  t.delete(a.pos, d.pos);
@@ -15269,9 +15269,9 @@ var K9 = /* @__PURE__ */ Object.freeze({
15269
15269
  forEach: j3,
15270
15270
  insertContent: W3,
15271
15271
  insertContentAt: q3,
15272
- joinBackward: _3,
15272
+ joinBackward: Y3,
15273
15273
  joinDown: G3,
15274
- joinForward: Y3,
15274
+ joinForward: _3,
15275
15275
  joinItemBackward: X3,
15276
15276
  joinItemForward: Q3,
15277
15277
  joinTextblockBackward: e9,
@@ -15348,13 +15348,13 @@ const q9 = Ze.create({
15348
15348
  })
15349
15349
  ];
15350
15350
  }
15351
- }), _9 = new ze("focusEvents"), Y9 = Ze.create({
15351
+ }), Y9 = new ze("focusEvents"), _9 = Ze.create({
15352
15352
  name: "focusEvents",
15353
15353
  addProseMirrorPlugins() {
15354
15354
  const { editor: n } = this;
15355
15355
  return [
15356
15356
  new Ve({
15357
- key: _9,
15357
+ key: Y9,
15358
15358
  props: {
15359
15359
  handleDOMEvents: {
15360
15360
  focus: (e, t) => {
@@ -15822,7 +15822,7 @@ let rm = class extends c3 {
15822
15822
  blockSeparator: (t = (e = this.options.coreExtensionOptions) === null || e === void 0 ? void 0 : e.clipboardTextSerializer) === null || t === void 0 ? void 0 : t.blockSeparator
15823
15823
  }),
15824
15824
  q9,
15825
- Y9,
15825
+ _9,
15826
15826
  X9,
15827
15827
  em,
15828
15828
  J9,
@@ -17038,16 +17038,16 @@ function Im(n = []) {
17038
17038
  E(f, "#"), ye(f, Fs, c);
17039
17039
  const p = [[It, s], [Bt, i]], h = [[It, null], [Ar, l], [Bt, o]];
17040
17040
  for (let m = 0; m < ji.length; m++)
17041
- _t(t, ji[m], xl, $t, p);
17041
+ Yt(t, ji[m], xl, $t, p);
17042
17042
  for (let m = 0; m < Wi.length; m++)
17043
- _t(t, Wi[m], Sl, Ml, h);
17043
+ Yt(t, Wi[m], Sl, Ml, h);
17044
17044
  Tn(xl, {
17045
17045
  tld: !0,
17046
17046
  ascii: !0
17047
17047
  }, e), Tn(Sl, {
17048
17048
  utld: !0,
17049
17049
  alpha: !0
17050
- }, e), _t(t, "file", Qi, $t, p), _t(t, "mailto", Qi, $t, p), _t(t, "http", tr, $t, p), _t(t, "https", tr, $t, p), _t(t, "ftp", tr, $t, p), _t(t, "ftps", tr, $t, p), Tn(Qi, {
17050
+ }, e), Yt(t, "file", Qi, $t, p), Yt(t, "mailto", Qi, $t, p), Yt(t, "http", tr, $t, p), Yt(t, "https", tr, $t, p), Yt(t, "ftp", tr, $t, p), Yt(t, "ftps", tr, $t, p), Tn(Qi, {
17051
17051
  scheme: !0,
17052
17052
  ascii: !0
17053
17053
  }, e), Tn(tr, {
@@ -17071,7 +17071,7 @@ function Im(n = []) {
17071
17071
  }, Gc)
17072
17072
  };
17073
17073
  }
17074
- function _c(n, e) {
17074
+ function Yc(n, e) {
17075
17075
  const t = Bm(e.replace(/[A-Z]/g, (l) => l.toLowerCase())), r = t.length, i = [];
17076
17076
  let o = 0, s = 0;
17077
17077
  for (; s < r; ) {
@@ -17100,7 +17100,7 @@ function Bm(n) {
17100
17100
  }
17101
17101
  return e;
17102
17102
  }
17103
- function _t(n, e, t, r, i) {
17103
+ function Yt(n, e, t, r, i) {
17104
17104
  let o;
17105
17105
  const s = e.length;
17106
17106
  for (let l = 0; l < s - 1; l++) {
@@ -17215,10 +17215,10 @@ La.prototype = {
17215
17215
  function ud(n) {
17216
17216
  return n;
17217
17217
  }
17218
- function Yc(n, e) {
17218
+ function _c(n, e) {
17219
17219
  this.t = "token", this.v = n, this.tk = e;
17220
17220
  }
17221
- Yc.prototype = {
17221
+ _c.prototype = {
17222
17222
  isLink: !1,
17223
17223
  /**
17224
17224
  * Return the string this token represents.
@@ -17323,7 +17323,7 @@ Yc.prototype = {
17323
17323
  }
17324
17324
  };
17325
17325
  function ms(n, e) {
17326
- class t extends Yc {
17326
+ class t extends _c {
17327
17327
  constructor(i, o) {
17328
17328
  super(i, o), this.t = n;
17329
17329
  }
@@ -17477,9 +17477,9 @@ function Um() {
17477
17477
  return he.initialized = !0, he;
17478
17478
  }
17479
17479
  function Ma(n) {
17480
- return he.initialized || Um(), zm(he.parser.start, n, _c(he.scanner.start, n));
17480
+ return he.initialized || Um(), zm(he.parser.start, n, Yc(he.scanner.start, n));
17481
17481
  }
17482
- Ma.scan = _c;
17482
+ Ma.scan = Yc;
17483
17483
  function Xc(n, e = null, t = null) {
17484
17484
  if (e && typeof e == "object") {
17485
17485
  if (t)
@@ -17572,7 +17572,7 @@ function Gm(n) {
17572
17572
  }
17573
17573
  });
17574
17574
  }
17575
- const _m = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
17575
+ const Ym = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
17576
17576
  function wn(n, e) {
17577
17577
  const t = [
17578
17578
  "http",
@@ -17589,7 +17589,7 @@ function wn(n, e) {
17589
17589
  return e && e.forEach((r) => {
17590
17590
  const i = typeof r == "string" ? r : r.scheme;
17591
17591
  i && t.push(i);
17592
- }), !n || n.replace(_m, "").match(new RegExp(
17592
+ }), !n || n.replace(Ym, "").match(new RegExp(
17593
17593
  // eslint-disable-next-line no-useless-escape
17594
17594
  `^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,
17595
17595
  "i"
@@ -17748,7 +17748,7 @@ const hd = Kt.create({
17748
17748
  type: this.type
17749
17749
  })), n;
17750
17750
  }
17751
- }), Ym = Wn.create({
17751
+ }), _m = Wn.create({
17752
17752
  name: "listItem",
17753
17753
  addOptions() {
17754
17754
  return {
@@ -18622,7 +18622,7 @@ const J6 = {
18622
18622
  function G6(n) {
18623
18623
  return n === "x" ? "y" : "x";
18624
18624
  }
18625
- function _6(n) {
18625
+ function Y6(n) {
18626
18626
  var e = n.state, t = n.options, r = n.name, i = t.mainAxis, o = i === void 0 ? !0 : i, s = t.altAxis, l = s === void 0 ? !1 : s, a = t.boundary, d = t.rootBoundary, u = t.altBoundary, c = t.padding, f = t.tether, p = f === void 0 ? !0 : f, h = t.tetherOffset, m = h === void 0 ? 0 : h, y = ui(e, {
18627
18627
  boundary: a,
18628
18628
  rootBoundary: d,
@@ -18655,11 +18655,11 @@ function _6(n) {
18655
18655
  e.modifiersData[r] = R;
18656
18656
  }
18657
18657
  }
18658
- const Y6 = {
18658
+ const _6 = {
18659
18659
  name: "preventOverflow",
18660
18660
  enabled: !0,
18661
18661
  phase: "main",
18662
- fn: _6,
18662
+ fn: Y6,
18663
18663
  requiresIfExists: ["offset"]
18664
18664
  };
18665
18665
  function X6(n) {
@@ -18852,7 +18852,7 @@ function s8(n) {
18852
18852
  return p;
18853
18853
  };
18854
18854
  }
18855
- var l8 = [V6, J6, T6, tf, K6, z6, Y6, M6, j6], a8 = /* @__PURE__ */ s8({
18855
+ var l8 = [V6, J6, T6, tf, K6, z6, _6, M6, j6], a8 = /* @__PURE__ */ s8({
18856
18856
  defaultModifiers: l8
18857
18857
  }), d8 = "tippy-box", uf = "tippy-content", u8 = "tippy-backdrop", cf = "tippy-arrow", ff = "tippy-svg-arrow", Ln = {
18858
18858
  passive: !0,
@@ -19215,7 +19215,7 @@ function Cf(n) {
19215
19215
  };
19216
19216
  }
19217
19217
  Cf.$$tippy = !0;
19218
- var R8 = 1, qi = [], _s = [];
19218
+ var R8 = 1, qi = [], Ys = [];
19219
19219
  function P8(n, e) {
19220
19220
  var t = Nd(n, Object.assign({}, Qe, vf(Td(e)))), r, i, o, s = !1, l = !1, a = !1, d = !1, u, c, f, p = [], h = Sd(xi, t.interactiveDebounce), m, y = R8++, v = null, w = h8(t.plugins), T = {
19221
19221
  // Is the instance currently enabled?
@@ -19288,10 +19288,10 @@ function P8(n, e) {
19288
19288
  function ae(S) {
19289
19289
  S === void 0 && (S = !1), M.style.pointerEvents = b.props.interactive && !S ? "" : "none", M.style.zIndex = "" + b.props.zIndex;
19290
19290
  }
19291
- function de(S, F, Y) {
19292
- if (Y === void 0 && (Y = !0), N.forEach(function(se) {
19291
+ function de(S, F, _) {
19292
+ if (_ === void 0 && (_ = !0), N.forEach(function(se) {
19293
19293
  se[S] && se[S].apply(se, F);
19294
- }), Y) {
19294
+ }), _) {
19295
19295
  var ue;
19296
19296
  (ue = b.props)[S].apply(ue, F);
19297
19297
  }
@@ -19299,13 +19299,13 @@ function P8(n, e) {
19299
19299
  function ve() {
19300
19300
  var S = b.props.aria;
19301
19301
  if (S.content) {
19302
- var F = "aria-" + S.content, Y = M.id, ue = nr(b.props.triggerTarget || n);
19302
+ var F = "aria-" + S.content, _ = M.id, ue = nr(b.props.triggerTarget || n);
19303
19303
  ue.forEach(function(se) {
19304
19304
  var Re = se.getAttribute(F);
19305
19305
  if (b.state.isVisible)
19306
- se.setAttribute(F, Re ? Re + " " + Y : Y);
19306
+ se.setAttribute(F, Re ? Re + " " + _ : _);
19307
19307
  else {
19308
- var it = Re && Re.replace(Y, "").trim();
19308
+ var it = Re && Re.replace(_, "").trim();
19309
19309
  it ? se.setAttribute(F, it) : se.removeAttribute(F);
19310
19310
  }
19311
19311
  });
@@ -19328,8 +19328,8 @@ function P8(n, e) {
19328
19328
  if (!(Lt.isTouch && (a || S.type === "mousedown"))) {
19329
19329
  var F = S.composedPath && S.composedPath()[0] || S.target;
19330
19330
  if (!(b.props.interactive && Vd(M, F))) {
19331
- if (nr(b.props.triggerTarget || n).some(function(Y) {
19332
- return Vd(Y, F);
19331
+ if (nr(b.props.triggerTarget || n).some(function(_) {
19332
+ return Vd(_, F);
19333
19333
  })) {
19334
19334
  if (Lt.isTouch || b.state.isVisible && b.props.trigger.indexOf("click") >= 0)
19335
19335
  return;
@@ -19364,23 +19364,23 @@ function P8(n, e) {
19364
19364
  Kn(S, F);
19365
19365
  }
19366
19366
  function Kn(S, F) {
19367
- var Y = me().box;
19367
+ var _ = me().box;
19368
19368
  function ue(se) {
19369
- se.target === Y && (Gs(Y, "remove", ue), F());
19369
+ se.target === _ && (Gs(_, "remove", ue), F());
19370
19370
  }
19371
19371
  if (S === 0)
19372
19372
  return F();
19373
- Gs(Y, "remove", c), Gs(Y, "add", ue), c = ue;
19373
+ Gs(_, "remove", c), Gs(_, "add", ue), c = ue;
19374
19374
  }
19375
- function Jt(S, F, Y) {
19376
- Y === void 0 && (Y = !1);
19375
+ function Jt(S, F, _) {
19376
+ _ === void 0 && (_ = !1);
19377
19377
  var ue = nr(b.props.triggerTarget || n);
19378
19378
  ue.forEach(function(se) {
19379
- se.addEventListener(S, F, Y), p.push({
19379
+ se.addEventListener(S, F, _), p.push({
19380
19380
  node: se,
19381
19381
  eventType: S,
19382
19382
  handler: F,
19383
- options: Y
19383
+ options: _
19384
19384
  });
19385
19385
  });
19386
19386
  }
@@ -19406,22 +19406,22 @@ function P8(n, e) {
19406
19406
  }
19407
19407
  function Mi() {
19408
19408
  p.forEach(function(S) {
19409
- var F = S.node, Y = S.eventType, ue = S.handler, se = S.options;
19410
- F.removeEventListener(Y, ue, se);
19409
+ var F = S.node, _ = S.eventType, ue = S.handler, se = S.options;
19410
+ F.removeEventListener(_, ue, se);
19411
19411
  }), p = [];
19412
19412
  }
19413
19413
  function Sr(S) {
19414
- var F, Y = !1;
19414
+ var F, _ = !1;
19415
19415
  if (!(!b.state.isEnabled || Tr(S) || l)) {
19416
19416
  var ue = ((F = u) == null ? void 0 : F.type) === "focus";
19417
19417
  u = S, m = S.currentTarget, Fe(), !b.state.isVisible && y8(S) && qi.forEach(function(se) {
19418
19418
  return se(S);
19419
- }), S.type === "click" && (b.props.trigger.indexOf("mouseenter") < 0 || s) && b.props.hideOnClick !== !1 && b.state.isVisible ? Y = !0 : Or(S), S.type === "click" && (s = !Y), Y && !ue && Cn(S);
19419
+ }), S.type === "click" && (b.props.trigger.indexOf("mouseenter") < 0 || s) && b.props.hideOnClick !== !1 && b.state.isVisible ? _ = !0 : Or(S), S.type === "click" && (s = !_), _ && !ue && Cn(S);
19420
19420
  }
19421
19421
  }
19422
19422
  function xi(S) {
19423
- var F = S.target, Y = B().contains(F) || M.contains(F);
19424
- if (!(S.type === "mousemove" && Y)) {
19423
+ var F = S.target, _ = B().contains(F) || M.contains(F);
19424
+ if (!(S.type === "mousemove" && _)) {
19425
19425
  var ue = Gt().concat(M).map(function(se) {
19426
19426
  var Re, it = se._tippy, Jn = (Re = it.popperInstance) == null ? void 0 : Re.state;
19427
19427
  return Jn ? {
@@ -19451,7 +19451,7 @@ function P8(n, e) {
19451
19451
  }
19452
19452
  function Hi() {
19453
19453
  Ti();
19454
- var S = b.props, F = S.popperOptions, Y = S.placement, ue = S.offset, se = S.getReferenceClientRect, Re = S.moveTransition, it = R() ? Al(M).arrow : null, Jn = se ? {
19454
+ var S = b.props, F = S.popperOptions, _ = S.placement, ue = S.offset, se = S.getReferenceClientRect, Re = S.moveTransition, it = R() ? Al(M).arrow : null, Jn = se ? {
19455
19455
  getBoundingClientRect: se,
19456
19456
  contextElement: se.contextElement || B()
19457
19457
  } : n, Ra = {
@@ -19501,7 +19501,7 @@ function P8(n, e) {
19501
19501
  padding: 3
19502
19502
  }
19503
19503
  }), kn.push.apply(kn, (F == null ? void 0 : F.modifiers) || []), b.popperInstance = a8(Jn, M, Object.assign({}, F, {
19504
- placement: Y,
19504
+ placement: _,
19505
19505
  onFirstUpdate: f,
19506
19506
  modifiers: kn
19507
19507
  }));
@@ -19510,8 +19510,8 @@ function P8(n, e) {
19510
19510
  b.popperInstance && (b.popperInstance.destroy(), b.popperInstance = null);
19511
19511
  }
19512
19512
  function Rt() {
19513
- var S = b.props.appendTo, F, Y = B();
19514
- b.props.interactive && S === pf || S === "parent" ? F = Y.parentNode : F = hf(S, [Y]), F.contains(M) || F.appendChild(M), b.state.isMounted = !0, Hi(), process.env.NODE_ENV !== "production" && zt(b.props.interactive && S === Qe.appendTo && Y.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
19513
+ var S = b.props.appendTo, F, _ = B();
19514
+ b.props.interactive && S === pf || S === "parent" ? F = _.parentNode : F = hf(S, [_]), F.contains(M) || F.appendChild(M), b.state.isMounted = !0, Hi(), process.env.NODE_ENV !== "production" && zt(b.props.interactive && S === Qe.appendTo && _.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
19515
19515
 
19516
19516
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
19517
19517
 
@@ -19524,7 +19524,7 @@ function P8(n, e) {
19524
19524
  }
19525
19525
  function Or(S) {
19526
19526
  b.clearDelayTimeouts(), S && de("onTrigger", [b, S]), ht();
19527
- var F = le(!0), Y = D(), ue = Y[0], se = Y[1];
19527
+ var F = le(!0), _ = D(), ue = _[0], se = _[1];
19528
19528
  Lt.isTouch && ue === "hold" && se && (F = se), F ? r = setTimeout(function() {
19529
19529
  b.show();
19530
19530
  }, F) : b.show();
@@ -19555,12 +19555,12 @@ function P8(n, e) {
19555
19555
  function Ei(S) {
19556
19556
  if (process.env.NODE_ENV !== "production" && zt(b.state.isDestroyed, Xn("setProps")), !b.state.isDestroyed) {
19557
19557
  de("onBeforeUpdate", [b, S]), Mi();
19558
- var F = b.props, Y = Nd(n, Object.assign({}, F, Td(S), {
19558
+ var F = b.props, _ = Nd(n, Object.assign({}, F, Td(S), {
19559
19559
  ignoreAttributes: !0
19560
19560
  }));
19561
- b.props = Y, qn(), F.interactiveDebounce !== Y.interactiveDebounce && (W(), h = Sd(xi, Y.interactiveDebounce)), F.triggerTarget && !Y.triggerTarget ? nr(F.triggerTarget).forEach(function(ue) {
19561
+ b.props = _, qn(), F.interactiveDebounce !== _.interactiveDebounce && (W(), h = Sd(xi, _.interactiveDebounce)), F.triggerTarget && !_.triggerTarget ? nr(F.triggerTarget).forEach(function(ue) {
19562
19562
  ue.removeAttribute("aria-expanded");
19563
- }) : Y.triggerTarget && n.removeAttribute("aria-expanded"), Fe(), ae(), Z && Z(F, Y), b.popperInstance && (Hi(), Gt().forEach(function(ue) {
19563
+ }) : _.triggerTarget && n.removeAttribute("aria-expanded"), Fe(), ae(), Z && Z(F, _), b.popperInstance && (Hi(), Gt().forEach(function(ue) {
19564
19564
  requestAnimationFrame(ue._tippy.popperInstance.forceUpdate);
19565
19565
  })), de("onAfterUpdate", [b, S]);
19566
19566
  }
@@ -19572,8 +19572,8 @@ function P8(n, e) {
19572
19572
  }
19573
19573
  function xf() {
19574
19574
  process.env.NODE_ENV !== "production" && zt(b.state.isDestroyed, Xn("show"));
19575
- var S = b.state.isVisible, F = b.state.isDestroyed, Y = !b.state.isEnabled, ue = Lt.isTouch && !b.props.touch, se = qs(b.props.duration, 0, Qe.duration);
19576
- if (!(S || F || Y || ue) && !B().hasAttribute("disabled") && (de("onShow", [b], !1), b.props.onShow(b) !== !1)) {
19575
+ var S = b.state.isVisible, F = b.state.isDestroyed, _ = !b.state.isEnabled, ue = Lt.isTouch && !b.props.touch, se = qs(b.props.duration, 0, Qe.duration);
19576
+ if (!(S || F || _ || ue) && !B().hasAttribute("disabled") && (de("onShow", [b], !1), b.props.onShow(b) !== !1)) {
19577
19577
  if (b.state.isVisible = !0, R() && (M.style.visibility = "visible"), ae(), ht(), b.state.isMounted || (M.style.transition = "none"), R()) {
19578
19578
  var Re = me(), it = Re.box, Jn = Re.content;
19579
19579
  Js([it, Jn], 0);
@@ -19585,7 +19585,7 @@ function P8(n, e) {
19585
19585
  var ys = me(), Ni = ys.box, Gn = ys.content;
19586
19586
  Js([Ni, Gn], se), Od([Ni, Gn], "visible");
19587
19587
  }
19588
- ve(), Fe(), Hd(_s, b), (kn = b.popperInstance) == null || kn.forceUpdate(), de("onMount", [b]), b.props.animation && R() && Dt(se, function() {
19588
+ ve(), Fe(), Hd(Ys, b), (kn = b.popperInstance) == null || kn.forceUpdate(), de("onMount", [b]), b.props.animation && R() && Dt(se, function() {
19589
19589
  b.state.isShown = !0, de("onShown", [b]);
19590
19590
  });
19591
19591
  }
@@ -19594,8 +19594,8 @@ function P8(n, e) {
19594
19594
  }
19595
19595
  function Sf() {
19596
19596
  process.env.NODE_ENV !== "production" && zt(b.state.isDestroyed, Xn("hide"));
19597
- var S = !b.state.isVisible, F = b.state.isDestroyed, Y = !b.state.isEnabled, ue = qs(b.props.duration, 1, Qe.duration);
19598
- if (!(S || F || Y) && (de("onHide", [b], !1), b.props.onHide(b) !== !1)) {
19597
+ var S = !b.state.isVisible, F = b.state.isDestroyed, _ = !b.state.isEnabled, ue = qs(b.props.duration, 1, Qe.duration);
19598
+ if (!(S || F || _) && (de("onHide", [b], !1), b.props.onHide(b) !== !1)) {
19599
19599
  if (b.state.isVisible = !1, b.state.isShown = !1, d = !1, s = !1, R() && (M.style.visibility = "hidden"), W(), Nt(), ae(!0), R()) {
19600
19600
  var se = me(), Re = se.box, it = se.content;
19601
19601
  b.props.animation && (Js([Re, it], ue), Od([Re, it], "hidden"));
@@ -19609,7 +19609,7 @@ function P8(n, e) {
19609
19609
  function Tf() {
19610
19610
  process.env.NODE_ENV !== "production" && zt(b.state.isDestroyed, Xn("unmount")), b.state.isVisible && b.hide(), b.state.isMounted && (Ti(), Gt().forEach(function(S) {
19611
19611
  S._tippy.unmount();
19612
- }), M.parentNode && M.parentNode.removeChild(M), _s = _s.filter(function(S) {
19612
+ }), M.parentNode && M.parentNode.removeChild(M), Ys = Ys.filter(function(S) {
19613
19613
  return S !== b;
19614
19614
  }), b.state.isMounted = !1, de("onHidden", [b]));
19615
19615
  }
@@ -20114,7 +20114,7 @@ const z8 = (n = {}) => {
20114
20114
  delay: 200
20115
20115
  }, {
20116
20116
  default: j(() => [
20117
- q(L(Ye), {
20117
+ q(L(_e), {
20118
20118
  tag: "button",
20119
20119
  inline: "",
20120
20120
  justify: "center",
@@ -20147,7 +20147,7 @@ function K8(n, e) {
20147
20147
  return g(), I(pi, { to: "#modals" }, [
20148
20148
  k("div", W8, [
20149
20149
  k("div", U8, [
20150
- _(n.$slots, "default")
20150
+ Y(n.$slots, "default")
20151
20151
  ])
20152
20152
  ])
20153
20153
  ]);
@@ -20172,7 +20172,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20172
20172
  o.value = f.doc.textBetween(p, h, "");
20173
20173
  }
20174
20174
  };
20175
- Yo(() => l()), Oe(() => s.value.focus());
20175
+ _o(() => l()), Oe(() => s.value.focus());
20176
20176
  const a = (c) => i.value = c, d = (c) => o.value = c, u = () => {
20177
20177
  if (i.value && !i.value.includes("http") && (i.value = `https://${i.value}`), i.value) {
20178
20178
  t.editor.chain().focus().extendMarkRange("link").setLink({ href: i.value }).run();
@@ -20185,7 +20185,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20185
20185
  f[3] || (f[3] = k("header", null, "Insert link", -1)),
20186
20186
  k("section", q8, [
20187
20187
  f[1] || (f[1] = k("div", { class: "text-xs text-secondary" }, " Text to display ", -1)),
20188
- q(L(Ys), {
20188
+ q(L(_s), {
20189
20189
  ref_key: "inputRef",
20190
20190
  ref: s,
20191
20191
  placeholder: "Text to display",
@@ -20195,7 +20195,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20195
20195
  ]),
20196
20196
  k("section", J8, [
20197
20197
  f[2] || (f[2] = k("div", { class: "text-xs text-secondary" }, " Address ", -1)),
20198
- q(L(Ys), {
20198
+ q(L(_s), {
20199
20199
  placeholder: "Link to a web page",
20200
20200
  value: i.value || "",
20201
20201
  onChange: a
@@ -20210,7 +20210,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20210
20210
  _: 1
20211
20211
  }));
20212
20212
  }
20213
- }), _8 = { class: "space-y-1" }, Y8 = { class: "flex flex-1 justify-end" }, X8 = /* @__PURE__ */ J({
20213
+ }), Y8 = { class: "space-y-1" }, _8 = { class: "flex flex-1 justify-end" }, X8 = /* @__PURE__ */ J({
20214
20214
  __name: "InsertTextDialog",
20215
20215
  emits: ["cancel", "insert"],
20216
20216
  setup(n, { emit: e }) {
@@ -20224,8 +20224,8 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20224
20224
  return (a, d) => (g(), I(Lf, null, {
20225
20225
  default: j(() => [
20226
20226
  d[0] || (d[0] = k("header", null, "Insert text", -1)),
20227
- k("section", _8, [
20228
- q(L(Ys), {
20227
+ k("section", Y8, [
20228
+ q(L(_s), {
20229
20229
  ref_key: "inputRef",
20230
20230
  ref: i,
20231
20231
  placeholder: "Text to be inserted",
@@ -20233,7 +20233,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20233
20233
  onChange: s
20234
20234
  }, null, 8, ["value"])
20235
20235
  ]),
20236
- k("div", Y8, [
20236
+ k("div", _8, [
20237
20237
  q(L(Dl), {
20238
20238
  "confirm-label": "Insert",
20239
20239
  onConfirm: l,
@@ -20284,7 +20284,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20284
20284
  sd,
20285
20285
  Tm,
20286
20286
  hd,
20287
- Ym,
20287
+ _m,
20288
20288
  Qm,
20289
20289
  r6,
20290
20290
  fm,
@@ -20328,7 +20328,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20328
20328
  ref: d,
20329
20329
  class: "relative w-full"
20330
20330
  }, [
20331
- q(L(Ye), {
20331
+ q(L(_e), {
20332
20332
  col: "",
20333
20333
  align: "stretch",
20334
20334
  class: U(["relative rounded-lg font-normal focus-within:border-default", {
@@ -20340,7 +20340,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20340
20340
  }])
20341
20341
  }, {
20342
20342
  default: j(() => [
20343
- R.headerLabel || R.headerIcon ? (g(), I(L(Ye), {
20343
+ R.headerLabel || R.headerIcon ? (g(), I(L(_e), {
20344
20344
  key: 0,
20345
20345
  tag: "header",
20346
20346
  class: U(["flex-0 h-10 px-3 gap-2 text-sm text-primary rounded-t-lg overflow-hidden", h.value])
@@ -20354,7 +20354,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20354
20354
  ]),
20355
20355
  _: 1
20356
20356
  }, 8, ["class"])) : P("", !0),
20357
- q(L(Ye), {
20357
+ q(L(_e), {
20358
20358
  tag: "main",
20359
20359
  align: "start",
20360
20360
  fullwidth: ""
@@ -20374,9 +20374,9 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20374
20374
  key: 1,
20375
20375
  class: U(["flex-0 min-h-0 p-1 rounded-b-lg overflow-hidden", m.value])
20376
20376
  }, [
20377
- q(L(Ye), { justify: "between" }, {
20377
+ q(L(_e), { justify: "between" }, {
20378
20378
  default: j(() => [
20379
- q(L(Ye), { class: "gap-0.5" }, {
20379
+ q(L(_e), { class: "gap-0.5" }, {
20380
20380
  default: j(() => [
20381
20381
  L(sd) ? (g(), C(O, { key: 0 }, [
20382
20382
  q(Ge, {
@@ -20495,7 +20495,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20495
20495
  _: 1
20496
20496
  }),
20497
20497
  R.$slots.menuRight ? (g(), C("div", e7, [
20498
- _(R.$slots, "menuRight")
20498
+ Y(R.$slots, "menuRight")
20499
20499
  ])) : P("", !0)
20500
20500
  ]),
20501
20501
  _: 3
@@ -20508,7 +20508,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20508
20508
  onCancel: T
20509
20509
  }, null, 8, ["editor"])) : P("", !0),
20510
20510
  l.value ? (g(), C(O, { key: 3 }, [
20511
- R.$slots.insert ? _(R.$slots, "insert", { key: 0 }) : (g(), I(X8, {
20511
+ R.$slots.insert ? Y(R.$slots, "insert", { key: 0 }) : (g(), I(X8, {
20512
20512
  key: 1,
20513
20513
  onInsert: Z,
20514
20514
  onCancel: B[13] || (B[13] = (ee) => l.value = !1)
@@ -20566,7 +20566,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20566
20566
  c.push(o.substring(f, p)), f = p;
20567
20567
  return c.push(o.substring(d[d.length - 1], o.length)), c;
20568
20568
  };
20569
- return Yo(() => {
20569
+ return _o(() => {
20570
20570
  t.value = e.highlight ? i(e.value, e.highlight) : [];
20571
20571
  }), Mt(
20572
20572
  () => e.highlight,
@@ -20594,7 +20594,7 @@ const Lf = /* @__PURE__ */ Fn(j8, [["render", K8]]), q8 = { class: "space-y-1" }
20594
20594
  }), i7 = {}, o7 = { class: "ProseMirror" };
20595
20595
  function s7(n, e) {
20596
20596
  return g(), C("section", o7, [
20597
- _(n.$slots, "default")
20597
+ Y(n.$slots, "default")
20598
20598
  ]);
20599
20599
  }
20600
20600
  const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { key: 1 }, B7 = /* @__PURE__ */ J({
@@ -20691,11 +20691,11 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20691
20691
  class: U(["z-50 min-w-0 px-2 py-1 rounded-md text-sm shadow-sm-md", [e.bgColorClass, e.textColorClass]])
20692
20692
  }, [
20693
20693
  e.text ? (g(), C("span", d7, ge(e.text), 1)) : P("", !0),
20694
- _(e.$slots, "content")
20694
+ Y(e.$slots, "content")
20695
20695
  ], 2)
20696
20696
  ]),
20697
20697
  default: j(() => [
20698
- _(e.$slots, "default")
20698
+ Y(e.$slots, "default")
20699
20699
  ]),
20700
20700
  _: 3
20701
20701
  }, 8, ["trigger", "open-delay", "offset-main", "offset-cross", "root-class", "trigger-class", "placement"]));
@@ -20868,14 +20868,14 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20868
20868
  }
20869
20869
  return {};
20870
20870
  });
20871
- return (s, l) => (g(), I(_r(s.type), {
20871
+ return (s, l) => (g(), I(Yr(s.type), {
20872
20872
  ref_key: "containerRef",
20873
20873
  ref: t,
20874
20874
  class: U(["flex-none w-full overflow-hidden transition-height duration-500 ease-in-out", i.value]),
20875
20875
  style: Pe(o.value)
20876
20876
  }, {
20877
20877
  default: j(() => [
20878
- _(s.$slots, "default")
20878
+ Y(s.$slots, "default")
20879
20879
  ]),
20880
20880
  _: 3
20881
20881
  }, 8, ["class", "style"]));
@@ -20891,7 +20891,7 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20891
20891
  },
20892
20892
  setup(n) {
20893
20893
  const e = n, t = [e.widthClass, e.windowFrame ? "px-8 py-6 bg-light shadow-sm-xl rounded-lg" : ""];
20894
- return (r, i) => (g(), I(L(Ye), {
20894
+ return (r, i) => (g(), I(L(_e), {
20895
20895
  col: "",
20896
20896
  align: "stretch",
20897
20897
  justify: "start",
@@ -20905,7 +20905,7 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20905
20905
  "height-class": r.headerHeightClass
20906
20906
  }, {
20907
20907
  default: j(() => [
20908
- _(r.$slots, "header")
20908
+ Y(r.$slots, "header")
20909
20909
  ]),
20910
20910
  _: 3
20911
20911
  }, 8, ["border", "height-class"])) : P("", !0),
@@ -20914,7 +20914,7 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20914
20914
  "wrap-class": "h-full"
20915
20915
  }, {
20916
20916
  default: j(() => [
20917
- _(r.$slots, "main")
20917
+ Y(r.$slots, "main")
20918
20918
  ]),
20919
20919
  _: 3
20920
20920
  }),
@@ -20925,7 +20925,7 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20925
20925
  "height-class": r.footerHeightClass
20926
20926
  }, {
20927
20927
  default: j(() => [
20928
- _(r.$slots, "footer")
20928
+ Y(r.$slots, "footer")
20929
20929
  ]),
20930
20930
  _: 3
20931
20931
  }, 8, ["border", "height-class"])) : P("", !0)
@@ -20943,7 +20943,7 @@ const I7 = /* @__PURE__ */ Fn(i7, [["render", s7]]), l7 = ["disabled"], a7 = { k
20943
20943
  tabindex: "0",
20944
20944
  class: "w-full flex flex-col bg-primary shadow-xl rounded-xl focus:outline-hidden"
20945
20945
  }, [
20946
- _(t.$slots, "default")
20946
+ Y(t.$slots, "default")
20947
20947
  ], 512));
20948
20948
  }
20949
20949
  });
@@ -20963,10 +20963,10 @@ export {
20963
20963
  jd as BFadeInUp,
20964
20964
  yh as BFilterChip,
20965
20965
  b7 as BFirstPaint,
20966
- Ye as BFlexbox,
20966
+ _e as BFlexbox,
20967
20967
  k7 as BHorizontalLayout,
20968
20968
  be as BIcon,
20969
- Ys as BInput,
20969
+ _s as BInput,
20970
20970
  w7 as BInputNumber,
20971
20971
  to as BLoadSpinner,
20972
20972
  L7 as BModal,