@stll/folio-vue 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,16 @@
1
1
  import { t as e } from "./useFindReplace-CL8Rbc3y.js";
2
2
  import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, inject as d, isRef as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as _, onMounted as v, openBlock as y, provide as b, reactive as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRef as E, toValue as D, unref as O, vModelCheckbox as k, vModelRadio as A, vModelSelect as j, vModelText as M, watch as N, withCtx as P, withDirectives as F, withKeys as I, withModifiers as L } from "vue";
3
- import { getFolioMessages as R } from "@stll/folio-core/i18n/messages";
4
- import { generateThemeTintShadeMatrix as ee, resolveColor as z, resolveColorToHex as te, resolveHighlightColor as ne } from "@stll/folio-core/utils/colorResolver";
5
- import { SYMBOL_CATEGORIES as re, filterSymbols as ie } from "@stll/folio-core/symbols";
6
- import { TWIPS_PER_INCH as B } from "@stll/folio-core/utils/units";
3
+ import { isAllowedExternalWatermarkImageUrl as R } from "@stll/folio-core/watermark";
4
+ import { getFolioMessages as ee } from "@stll/folio-core/i18n/messages";
5
+ import { generateThemeTintShadeMatrix as te, resolveColor as ne, resolveColorToHex as re, resolveHighlightColor as ie } from "@stll/folio-core/utils/colorResolver";
6
+ import { SYMBOL_CATEGORIES as ae, filterSymbols as oe } from "@stll/folio-core/symbols";
7
+ import { TWIPS_PER_INCH as z } from "@stll/folio-core/utils/units";
7
8
  //#region \0rolldown/runtime.js
8
- var V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), H = (e, t) => {
9
+ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), V = (e, t) => {
9
10
  let n = e.__vccOpts || e;
10
11
  for (let [e, r] of t) n[e] = r;
11
12
  return n;
12
- }, ae = {
13
+ }, se = {
13
14
  undo: ["M280-200v-80h284q63 0 109.5-40T720-420q0-60-46.5-100T564-560H312l104 104-56 56-200-200 200-200 56 56-104 104h252q97 0 166.5 63T800-420q0 94-69.5 157T564-200H280Z"],
14
15
  redo: ["M396-200q-97 0-166.5-63T160-420q0-94 69.5-157T396-640h252L544-744l56-56 200 200-200 200-56-56 104-104H396q-63 0-109.5 40T240-420q0 60 46.5 100T396-280h284v80H396Z"],
15
16
  print: ["M640-640v-120H320v120h-80v-200h480v200h-80Zm-480 80h640-640Zm560 100q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320Zm80 80H240v-160H80v-240q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v240H720v160Zm80-240v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160h80v-80h480v80h80Z"],
@@ -109,7 +110,7 @@ var V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
109
110
  format_textdirection_l_to_r: ["M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm0-280v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80ZM680-80l-56-56 64-64H120v-80h568l-64-64 56-56 160 160L680-80Z"],
110
111
  format_textdirection_r_to_l: ["M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm-88 160 64 64-56 56-160-160 160-160 56 56-64 64h568v80H272Zm88-440v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80Z"],
111
112
  "agent-sparkle": ["m760-600-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110Zm0 560-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110ZM360-160 260-380 40-480l220-100 100-220 100 220 220 100-220 100-100 220Zm0-194 40-86 86-40-86-40-40-86-40 86-86 40 86 40 40 86Zm0-126Z"]
112
- }, oe = ["width", "height"], se = ["d"], U = /* @__PURE__ */ u({
113
+ }, ce = ["width", "height"], le = ["d"], H = /* @__PURE__ */ u({
113
114
  __name: "MaterialSymbol",
114
115
  props: {
115
116
  name: {},
@@ -118,7 +119,7 @@ var V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
118
119
  style: {}
119
120
  },
120
121
  setup(e) {
121
- let n = e, i = ae, a = r(() => i[n.name] || (typeof console < "u" && console.warn(`Icon not found: ${n.name}`), null));
122
+ let n = e, i = se, a = r(() => i[n.name] || (typeof console < "u" && console.warn(`Icon not found: ${n.name}`), null));
122
123
  return (n, r) => a.value ? (y(), o("svg", {
123
124
  key: 0,
124
125
  xmlns: "http://www.w3.org/2000/svg",
@@ -136,7 +137,7 @@ var V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
136
137
  }, [(y(!0), o(t, null, C(a.value, (e, t) => (y(), o("path", {
137
138
  key: t,
138
139
  d: e
139
- }, null, 8, se))), 128))], 14, oe)) : (y(), o("span", {
140
+ }, null, 8, le))), 128))], 14, ce)) : (y(), o("span", {
140
141
  key: 1,
141
142
  class: h(e.className),
142
143
  style: g({
@@ -151,40 +152,40 @@ var V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
151
152
  });
152
153
  //#endregion
153
154
  //#region ../../node_modules/.bun/@formatjs+fast-memoize@3.1.6/node_modules/@formatjs/fast-memoize/index.js
154
- function W(e, t) {
155
- let n = t && t.cache ? t.cache : he, r = t && t.serializer ? t.serializer : pe;
156
- return (t && t.strategy ? t.strategy : ue)(e, {
155
+ function U(e, t) {
156
+ let n = t && t.cache ? t.cache : _e, r = t && t.serializer ? t.serializer : he;
157
+ return (t && t.strategy ? t.strategy : fe)(e, {
157
158
  cache: n,
158
159
  serializer: r
159
160
  });
160
161
  }
161
- function G(e) {
162
+ function ue(e) {
162
163
  return e == null || typeof e == "number" || typeof e == "boolean";
163
164
  }
164
- function ce(e, t, n, r) {
165
- let i = G(r) ? r : n(r), a = t.get(i);
165
+ function de(e, t, n, r) {
166
+ let i = ue(r) ? r : n(r), a = t.get(i);
166
167
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
167
168
  }
168
- function le(e, t, n) {
169
+ function W(e, t, n) {
169
170
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
170
171
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
171
172
  }
172
- function K(e, t, n, r, i) {
173
+ function G(e, t, n, r, i) {
173
174
  return n.bind(t, e, r, i);
174
175
  }
175
- function ue(e, t) {
176
- let n = e.length === 1 ? ce : le;
177
- return K(e, this, n, t.cache.create(), t.serializer);
176
+ function fe(e, t) {
177
+ let n = e.length === 1 ? de : W;
178
+ return G(e, this, n, t.cache.create(), t.serializer);
178
179
  }
179
- function de(e, t) {
180
- return K(e, this, le, t.cache.create(), t.serializer);
180
+ function pe(e, t) {
181
+ return G(e, this, W, t.cache.create(), t.serializer);
181
182
  }
182
- function fe(e, t) {
183
- return K(e, this, ce, t.cache.create(), t.serializer);
183
+ function me(e, t) {
184
+ return G(e, this, de, t.cache.create(), t.serializer);
184
185
  }
185
- var pe = function() {
186
+ var he = function() {
186
187
  return JSON.stringify(arguments);
187
- }, me = class {
188
+ }, ge = class {
188
189
  constructor() {
189
190
  this.cache = Object.create(null);
190
191
  }
@@ -194,20 +195,20 @@ var pe = function() {
194
195
  set(e, t) {
195
196
  this.cache[e] = t;
196
197
  }
197
- }, he = { create: function() {
198
- return new me();
199
- } }, ge = {
200
- variadic: de,
201
- monadic: fe
202
- }, q = class extends Error {
198
+ }, _e = { create: function() {
199
+ return new ge();
200
+ } }, ve = {
201
+ variadic: pe,
202
+ monadic: me
203
+ }, K = class extends Error {
203
204
  constructor(e, t) {
204
205
  let n = e;
205
206
  t && (n += ": " + t), super(n), this.code = e, t && (this.originalMessage = t);
206
207
  }
207
- }, J = function(e) {
208
+ }, q = function(e) {
208
209
  return e.MISSING_MESSAGE = "MISSING_MESSAGE", e.MISSING_FORMAT = "MISSING_FORMAT", e.ENVIRONMENT_FALLBACK = "ENVIRONMENT_FALLBACK", e.INSUFFICIENT_PATH = "INSUFFICIENT_PATH", e.INVALID_MESSAGE = "INVALID_MESSAGE", e.INVALID_KEY = "INVALID_KEY", e.FORMATTING_ERROR = "FORMATTING_ERROR", e;
209
- }(J || {});
210
- function _e() {
210
+ }(q || {});
211
+ function ye() {
211
212
  return {
212
213
  dateTime: {},
213
214
  number: {},
@@ -218,34 +219,34 @@ function _e() {
218
219
  displayNames: {}
219
220
  };
220
221
  }
221
- function ve(e, t) {
222
- return W(e, {
222
+ function be(e, t) {
223
+ return U(e, {
223
224
  cache: (n = t, { create: () => ({
224
225
  get: (e) => n[e],
225
226
  set(e, t) {
226
227
  n[e] = t;
227
228
  }
228
229
  }) }),
229
- strategy: ge.variadic
230
+ strategy: ve.variadic
230
231
  });
231
232
  var n;
232
233
  }
233
- function Y(e, t) {
234
- return ve(((...t) => new e(...t)), t);
234
+ function J(e, t) {
235
+ return be(((...t) => new e(...t)), t);
235
236
  }
236
- function ye(e) {
237
+ function xe(e) {
237
238
  return {
238
- getDateTimeFormat: Y(Intl.DateTimeFormat, e.dateTime),
239
- getNumberFormat: Y(Intl.NumberFormat, e.number),
240
- getPluralRules: Y(Intl.PluralRules, e.pluralRules),
241
- getRelativeTimeFormat: Y(Intl.RelativeTimeFormat, e.relativeTime),
242
- getListFormat: Y(Intl.ListFormat, e.list),
243
- getDisplayNames: Y(Intl.DisplayNames, e.displayNames)
239
+ getDateTimeFormat: J(Intl.DateTimeFormat, e.dateTime),
240
+ getNumberFormat: J(Intl.NumberFormat, e.number),
241
+ getPluralRules: J(Intl.PluralRules, e.pluralRules),
242
+ getRelativeTimeFormat: J(Intl.RelativeTimeFormat, e.relativeTime),
243
+ getListFormat: J(Intl.ListFormat, e.list),
244
+ getDisplayNames: J(Intl.DisplayNames, e.displayNames)
244
245
  };
245
246
  }
246
247
  //#endregion
247
248
  //#region ../../node_modules/.bun/react@19.2.7/node_modules/react/cjs/react.production.js
248
- var be = /* @__PURE__ */ V(((e) => {
249
+ var Se = /* @__PURE__ */ B(((e) => {
249
250
  var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
250
251
  function m(e) {
251
252
  return typeof e != "object" || !e ? null : (e = p && e[p] || e["@@iterator"], typeof e == "function" ? e : null);
@@ -531,7 +532,7 @@ var be = /* @__PURE__ */ V(((e) => {
531
532
  }, e.useTransition = function() {
532
533
  return w.H.useTransition();
533
534
  }, e.version = "19.2.7";
534
- })), xe = /* @__PURE__ */ V(((e, t) => {
535
+ })), Ce = /* @__PURE__ */ B(((e, t) => {
535
536
  process.env.NODE_ENV !== "production" && (function() {
536
537
  function n(e, t) {
537
538
  Object.defineProperty(a.prototype, e, { get: function() {
@@ -539,19 +540,19 @@ var be = /* @__PURE__ */ V(((e) => {
539
540
  } });
540
541
  }
541
542
  function r(e) {
542
- return typeof e != "object" || !e ? null : (e = ae && e[ae] || e["@@iterator"], typeof e == "function" ? e : null);
543
+ return typeof e != "object" || !e ? null : (e = V && e[V] || e["@@iterator"], typeof e == "function" ? e : null);
543
544
  }
544
545
  function i(e, t) {
545
546
  e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
546
547
  var n = e + "." + t;
547
- oe[n] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", t, e), oe[n] = !0);
548
+ se[n] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", t, e), se[n] = !0);
548
549
  }
549
550
  function a(e, t, n) {
550
- this.props = e, this.context = t, this.refs = W, this.updater = n || se;
551
+ this.props = e, this.context = t, this.refs = H, this.updater = n || ce;
551
552
  }
552
553
  function o() {}
553
554
  function s(e, t, n) {
554
- this.props = e, this.context = t, this.refs = W, this.updater = n || se;
555
+ this.props = e, this.context = t, this.refs = H, this.updater = n || ce;
555
556
  }
556
557
  function c() {}
557
558
  function l(e) {
@@ -572,25 +573,25 @@ var be = /* @__PURE__ */ V(((e) => {
572
573
  }
573
574
  function d(e) {
574
575
  if (e == null) return null;
575
- if (typeof e == "function") return e.$$typeof === le ? null : e.displayName || e.name || null;
576
+ if (typeof e == "function") return e.$$typeof === de ? null : e.displayName || e.name || null;
576
577
  if (typeof e == "string") return e;
577
578
  switch (e) {
578
579
  case L: return "Fragment";
579
580
  case ee: return "Profiler";
580
581
  case R: return "StrictMode";
581
- case re: return "Suspense";
582
- case ie: return "SuspenseList";
583
- case H: return "Activity";
582
+ case ie: return "Suspense";
583
+ case ae: return "SuspenseList";
584
+ case B: return "Activity";
584
585
  }
585
586
  if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
586
587
  case I: return "Portal";
587
- case te: return e.displayName || "Context";
588
- case z: return (e._context.displayName || "Context") + ".Consumer";
589
- case ne:
588
+ case ne: return e.displayName || "Context";
589
+ case te: return (e._context.displayName || "Context") + ".Consumer";
590
+ case re:
590
591
  var t = e.render;
591
592
  return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
592
- case B: return t = e.displayName || null, t === null ? d(e.type) || "Memo" : t;
593
- case V:
593
+ case oe: return t = e.displayName || null, t === null ? d(e.type) || "Memo" : t;
594
+ case z:
594
595
  t = e._payload, e = e._init;
595
596
  try {
596
597
  return d(e(t));
@@ -600,7 +601,7 @@ var be = /* @__PURE__ */ V(((e) => {
600
601
  }
601
602
  function f(e) {
602
603
  if (e === L) return "<>";
603
- if (typeof e == "object" && e && e.$$typeof === V) return "<...>";
604
+ if (typeof e == "object" && e && e.$$typeof === z) return "<...>";
604
605
  try {
605
606
  var t = d(e);
606
607
  return t ? "<" + t + ">" : "<...>";
@@ -609,14 +610,14 @@ var be = /* @__PURE__ */ V(((e) => {
609
610
  }
610
611
  }
611
612
  function p() {
612
- var e = K.A;
613
+ var e = W.A;
613
614
  return e === null ? null : e.getOwner();
614
615
  }
615
616
  function m() {
616
617
  return Error("react-stack-top-frame");
617
618
  }
618
619
  function h(e) {
619
- if (ue.call(e, "key")) {
620
+ if (G.call(e, "key")) {
620
621
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
621
622
  if (t && t.isReactWarning) return !1;
622
623
  }
@@ -624,7 +625,7 @@ var be = /* @__PURE__ */ V(((e) => {
624
625
  }
625
626
  function g(e, t) {
626
627
  function n() {
627
- fe || (fe = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
628
+ pe || (pe = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
628
629
  }
629
630
  n.isReactWarning = !0, Object.defineProperty(e, "key", {
630
631
  get: n,
@@ -633,7 +634,7 @@ var be = /* @__PURE__ */ V(((e) => {
633
634
  }
634
635
  function _() {
635
636
  var e = d(this.type);
636
- return me[e] || (me[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
637
+ return he[e] || (he[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
637
638
  }
638
639
  function v(e, t, n, r, i, a) {
639
640
  var o = n.ref;
@@ -675,7 +676,7 @@ var be = /* @__PURE__ */ V(((e) => {
675
676
  return t = v(e.type, t, e.props, e._owner, e._debugStack, e._debugTask), e._store && (t._store.validated = e._store.validated), t;
676
677
  }
677
678
  function b(e) {
678
- x(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === V && (e._payload.status === "fulfilled" ? x(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
679
+ x(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === z && (e._payload.status === "fulfilled" ? x(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
679
680
  }
680
681
  function x(e) {
681
682
  return typeof e == "object" && !!e && e.$$typeof === F;
@@ -723,18 +724,18 @@ var be = /* @__PURE__ */ V(((e) => {
723
724
  case I:
724
725
  s = !0;
725
726
  break;
726
- case V: return s = e._init, T(s(e._payload), t, n, i, a);
727
+ case z: return s = e._init, T(s(e._payload), t, n, i, a);
727
728
  }
728
729
  }
729
730
  if (s) {
730
731
  s = e, a = a(s);
731
732
  var c = i === "" ? "." + C(s, 0) : i;
732
- return ce(a) ? (n = "", c != null && (n = c.replace(J, "$&/") + "/"), T(a, t, n, "", function(e) {
733
+ return ue(a) ? (n = "", c != null && (n = c.replace(K, "$&/") + "/"), T(a, t, n, "", function(e) {
733
734
  return e;
734
- })) : a != null && (x(a) && (a.key != null && (s && s.key === a.key || u(a.key)), n = y(a, n + (a.key == null || s && s.key === a.key ? "" : ("" + a.key).replace(J, "$&/") + "/") + c), i !== "" && s != null && x(s) && s.key == null && s._store && !s._store.validated && (n._store.validated = 2), a = n), t.push(a)), 1;
735
+ })) : a != null && (x(a) && (a.key != null && (s && s.key === a.key || u(a.key)), n = y(a, n + (a.key == null || s && s.key === a.key ? "" : ("" + a.key).replace(K, "$&/") + "/") + c), i !== "" && s != null && x(s) && s.key == null && s._store && !s._store.validated && (n._store.validated = 2), a = n), t.push(a)), 1;
735
736
  }
736
- if (s = 0, c = i === "" ? "." : i + ":", ce(e)) for (var l = 0; l < e.length; l++) i = e[l], o = c + C(i, l), s += T(i, t, n, o, a);
737
- else if (l = r(e), typeof l == "function") for (l === e.entries && (q || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), q = !0), e = l.call(e), l = 0; !(i = e.next()).done;) i = i.value, o = c + C(i, l++), s += T(i, t, n, o, a);
737
+ if (s = 0, c = i === "" ? "." : i + ":", ue(e)) for (var l = 0; l < e.length; l++) i = e[l], o = c + C(i, l), s += T(i, t, n, o, a);
738
+ else if (l = r(e), typeof l == "function") for (l === e.entries && (ve || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), ve = !0), e = l.call(e), l = 0; !(i = e.next()).done;) i = i.value, o = c + C(i, l++), s += T(i, t, n, o, a);
738
739
  else if (o === "object") {
739
740
  if (typeof e.then == "function") return T(w(e), t, n, i, a);
740
741
  throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
@@ -776,56 +777,56 @@ var be = /* @__PURE__ */ V(((e) => {
776
777
  throw e._result;
777
778
  }
778
779
  function O() {
779
- var e = K.H;
780
+ var e = W.H;
780
781
  return e === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), e;
781
782
  }
782
783
  function k() {
783
- K.asyncTransitions--;
784
+ W.asyncTransitions--;
784
785
  }
785
786
  function A(e) {
786
- if (Y === null) try {
787
+ if (be === null) try {
787
788
  var n = ("require" + Math.random()).slice(0, 7);
788
- Y = (t && t[n]).call(t, "timers").setImmediate;
789
+ be = (t && t[n]).call(t, "timers").setImmediate;
789
790
  } catch {
790
- Y = function(e) {
791
- !1 === ve && (ve = !0, typeof MessageChannel > "u" && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
791
+ be = function(e) {
792
+ !1 === ye && (ye = !0, typeof MessageChannel > "u" && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
792
793
  var t = new MessageChannel();
793
794
  t.port1.onmessage = e, t.port2.postMessage(void 0);
794
795
  };
795
796
  }
796
- return Y(e);
797
+ return be(e);
797
798
  }
798
799
  function j(e) {
799
800
  return 1 < e.length && typeof AggregateError == "function" ? AggregateError(e) : e[0];
800
801
  }
801
802
  function M(e, t) {
802
- t !== ye - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), ye = t;
803
+ t !== J - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), J = t;
803
804
  }
804
805
  function N(e, t, n) {
805
- var r = K.actQueue;
806
+ var r = W.actQueue;
806
807
  if (r !== null) if (r.length !== 0) try {
807
808
  P(r), A(function() {
808
809
  return N(e, t, n);
809
810
  });
810
811
  return;
811
812
  } catch (e) {
812
- K.thrownErrors.push(e);
813
+ W.thrownErrors.push(e);
813
814
  }
814
- else K.actQueue = null;
815
- 0 < K.thrownErrors.length ? (r = j(K.thrownErrors), K.thrownErrors.length = 0, n(r)) : t(e);
815
+ else W.actQueue = null;
816
+ 0 < W.thrownErrors.length ? (r = j(W.thrownErrors), W.thrownErrors.length = 0, n(r)) : t(e);
816
817
  }
817
818
  function P(e) {
818
- if (!xe) {
819
- xe = !0;
819
+ if (!Se) {
820
+ Se = !0;
820
821
  var t = 0;
821
822
  try {
822
823
  for (; t < e.length; t++) {
823
824
  var n = e[t];
824
825
  do {
825
- K.didUsePromise = !1;
826
+ W.didUsePromise = !1;
826
827
  var r = n(!1);
827
828
  if (r !== null) {
828
- if (K.didUsePromise) {
829
+ if (W.didUsePromise) {
829
830
  e[t] = n, e.splice(0, t);
830
831
  return;
831
832
  }
@@ -835,14 +836,14 @@ var be = /* @__PURE__ */ V(((e) => {
835
836
  }
836
837
  e.length = 0;
837
838
  } catch (n) {
838
- e.splice(0, t + 1), K.thrownErrors.push(n);
839
+ e.splice(0, t + 1), W.thrownErrors.push(n);
839
840
  } finally {
840
- xe = !1;
841
+ Se = !1;
841
842
  }
842
843
  }
843
844
  }
844
845
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
845
- var F = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), te = Symbol.for("react.context"), ne = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), ie = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), ae = Symbol.iterator, oe = {}, se = {
846
+ var F = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), te = Symbol.for("react.consumer"), ne = Symbol.for("react.context"), re = Symbol.for("react.forward_ref"), ie = Symbol.for("react.suspense"), ae = Symbol.for("react.suspense_list"), oe = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), V = Symbol.iterator, se = {}, ce = {
846
847
  isMounted: function() {
847
848
  return !1;
848
849
  },
@@ -855,20 +856,20 @@ var be = /* @__PURE__ */ V(((e) => {
855
856
  enqueueSetState: function(e) {
856
857
  i(e, "setState");
857
858
  }
858
- }, U = Object.assign, W = {};
859
- Object.freeze(W), a.prototype.isReactComponent = {}, a.prototype.setState = function(e, t) {
859
+ }, le = Object.assign, H = {};
860
+ Object.freeze(H), a.prototype.isReactComponent = {}, a.prototype.setState = function(e, t) {
860
861
  if (typeof e != "object" && typeof e != "function" && e != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
861
862
  this.updater.enqueueSetState(this, e, t, "setState");
862
863
  }, a.prototype.forceUpdate = function(e) {
863
864
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
864
865
  };
865
- var G = {
866
+ var U = {
866
867
  isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
867
868
  replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
868
869
  };
869
- for (Ce in G) G.hasOwnProperty(Ce) && n(Ce, G[Ce]);
870
- o.prototype = a.prototype, G = s.prototype = new o(), G.constructor = s, U(G, a.prototype), G.isPureReactComponent = !0;
871
- var ce = Array.isArray, le = Symbol.for("react.client.reference"), K = {
870
+ for (Y in U) U.hasOwnProperty(Y) && n(Y, U[Y]);
871
+ o.prototype = a.prototype, U = s.prototype = new o(), U.constructor = s, le(U, a.prototype), U.isPureReactComponent = !0;
872
+ var ue = Array.isArray, de = Symbol.for("react.client.reference"), W = {
872
873
  H: null,
873
874
  A: null,
874
875
  T: null,
@@ -881,13 +882,13 @@ var be = /* @__PURE__ */ V(((e) => {
881
882
  thrownErrors: [],
882
883
  getCurrentStack: null,
883
884
  recentlyCreatedOwnerStacks: 0
884
- }, ue = Object.prototype.hasOwnProperty, de = console.createTask ? console.createTask : function() {
885
+ }, G = Object.prototype.hasOwnProperty, fe = console.createTask ? console.createTask : function() {
885
886
  return null;
886
887
  };
887
- G = { react_stack_bottom_frame: function(e) {
888
+ U = { react_stack_bottom_frame: function(e) {
888
889
  return e();
889
890
  } };
890
- var fe, pe, me = {}, he = G.react_stack_bottom_frame.bind(G, m)(), ge = de(f(m)), q = !1, J = /\/+/g, _e = typeof reportError == "function" ? reportError : function(e) {
891
+ var pe, me, he = {}, ge = U.react_stack_bottom_frame.bind(U, m)(), _e = fe(f(m)), ve = !1, K = /\/+/g, q = typeof reportError == "function" ? reportError : function(e) {
891
892
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
892
893
  var t = new window.ErrorEvent("error", {
893
894
  bubbles: !0,
@@ -901,18 +902,18 @@ var be = /* @__PURE__ */ V(((e) => {
901
902
  return;
902
903
  }
903
904
  console.error(e);
904
- }, ve = !1, Y = null, ye = 0, be = !1, xe = !1, Se = typeof queueMicrotask == "function" ? function(e) {
905
+ }, ye = !1, be = null, J = 0, xe = !1, Se = !1, Ce = typeof queueMicrotask == "function" ? function(e) {
905
906
  queueMicrotask(function() {
906
907
  return queueMicrotask(e);
907
908
  });
908
909
  } : A;
909
- G = Object.freeze({
910
+ U = Object.freeze({
910
911
  __proto__: null,
911
912
  c: function(e) {
912
913
  return O().useMemoCache(e);
913
914
  }
914
915
  });
915
- var Ce = {
916
+ var Y = {
916
917
  map: E,
917
918
  forEach: function(e, t, n) {
918
919
  E(e, function() {
@@ -935,20 +936,20 @@ var be = /* @__PURE__ */ V(((e) => {
935
936
  return e;
936
937
  }
937
938
  };
938
- e.Activity = H, e.Children = Ce, e.Component = a, e.Fragment = L, e.Profiler = ee, e.PureComponent = s, e.StrictMode = R, e.Suspense = re, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = K, e.__COMPILER_RUNTIME = G, e.act = function(e) {
939
- var t = K.actQueue, n = ye;
940
- ye++;
941
- var r = K.actQueue = t === null ? [] : t, i = !1;
939
+ e.Activity = B, e.Children = Y, e.Component = a, e.Fragment = L, e.Profiler = ee, e.PureComponent = s, e.StrictMode = R, e.Suspense = ie, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = W, e.__COMPILER_RUNTIME = U, e.act = function(e) {
940
+ var t = W.actQueue, n = J;
941
+ J++;
942
+ var r = W.actQueue = t === null ? [] : t, i = !1;
942
943
  try {
943
944
  var a = e();
944
945
  } catch (e) {
945
- K.thrownErrors.push(e);
946
+ W.thrownErrors.push(e);
946
947
  }
947
- if (0 < K.thrownErrors.length) throw M(t, n), e = j(K.thrownErrors), K.thrownErrors.length = 0, e;
948
+ if (0 < W.thrownErrors.length) throw M(t, n), e = j(W.thrownErrors), W.thrownErrors.length = 0, e;
948
949
  if (typeof a == "object" && a && typeof a.then == "function") {
949
950
  var o = a;
950
- return Se(function() {
951
- i || be || (be = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
951
+ return Ce(function() {
952
+ i || xe || (xe = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
952
953
  }), { then: function(e, a) {
953
954
  i = !0, o.then(function(i) {
954
955
  if (M(t, n), n === 0) {
@@ -957,24 +958,24 @@ var be = /* @__PURE__ */ V(((e) => {
957
958
  return N(i, e, a);
958
959
  });
959
960
  } catch (e) {
960
- K.thrownErrors.push(e);
961
+ W.thrownErrors.push(e);
961
962
  }
962
- if (0 < K.thrownErrors.length) {
963
- var o = j(K.thrownErrors);
964
- K.thrownErrors.length = 0, a(o);
963
+ if (0 < W.thrownErrors.length) {
964
+ var o = j(W.thrownErrors);
965
+ W.thrownErrors.length = 0, a(o);
965
966
  }
966
967
  } else e(i);
967
968
  }, function(e) {
968
- M(t, n), 0 < K.thrownErrors.length ? (e = j(K.thrownErrors), K.thrownErrors.length = 0, a(e)) : a(e);
969
+ M(t, n), 0 < W.thrownErrors.length ? (e = j(W.thrownErrors), W.thrownErrors.length = 0, a(e)) : a(e);
969
970
  });
970
971
  } };
971
972
  }
972
973
  var s = a;
973
- if (M(t, n), n === 0 && (P(r), r.length !== 0 && Se(function() {
974
- i || be || (be = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
975
- }), K.actQueue = null), 0 < K.thrownErrors.length) throw e = j(K.thrownErrors), K.thrownErrors.length = 0, e;
974
+ if (M(t, n), n === 0 && (P(r), r.length !== 0 && Ce(function() {
975
+ i || xe || (xe = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
976
+ }), W.actQueue = null), 0 < W.thrownErrors.length) throw e = j(W.thrownErrors), W.thrownErrors.length = 0, e;
976
977
  return { then: function(e, t) {
977
- i = !0, n === 0 ? (K.actQueue = r, A(function() {
978
+ i = !0, n === 0 ? (W.actQueue = r, A(function() {
978
979
  return N(s, e, t);
979
980
  })) : e(s);
980
981
  } };
@@ -985,21 +986,21 @@ var be = /* @__PURE__ */ V(((e) => {
985
986
  }, e.cacheSignal = function() {
986
987
  return null;
987
988
  }, e.captureOwnerStack = function() {
988
- var e = K.getCurrentStack;
989
+ var e = W.getCurrentStack;
989
990
  return e === null ? null : e();
990
991
  }, e.cloneElement = function(e, t, n) {
991
992
  if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
992
- var r = U({}, e.props), i = e.key, a = e._owner;
993
+ var r = le({}, e.props), i = e.key, a = e._owner;
993
994
  if (t != null) {
994
995
  var o;
995
996
  a: {
996
- if (ue.call(t, "ref") && (o = Object.getOwnPropertyDescriptor(t, "ref").get) && o.isReactWarning) {
997
+ if (G.call(t, "ref") && (o = Object.getOwnPropertyDescriptor(t, "ref").get) && o.isReactWarning) {
997
998
  o = !1;
998
999
  break a;
999
1000
  }
1000
1001
  o = t.ref !== void 0;
1001
1002
  }
1002
- for (s in o && (a = p()), h(t) && (u(t.key), i = "" + t.key), t) !ue.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (r[s] = t[s]);
1003
+ for (s in o && (a = p()), h(t) && (u(t.key), i = "" + t.key), t) !G.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (r[s] = t[s]);
1003
1004
  }
1004
1005
  var s = arguments.length - 2;
1005
1006
  if (s === 1) r.children = n;
@@ -1012,21 +1013,21 @@ var be = /* @__PURE__ */ V(((e) => {
1012
1013
  return r;
1013
1014
  }, e.createContext = function(e) {
1014
1015
  return e = {
1015
- $$typeof: te,
1016
+ $$typeof: ne,
1016
1017
  _currentValue: e,
1017
1018
  _currentValue2: e,
1018
1019
  _threadCount: 0,
1019
1020
  Provider: null,
1020
1021
  Consumer: null
1021
1022
  }, e.Provider = e, e.Consumer = {
1022
- $$typeof: z,
1023
+ $$typeof: te,
1023
1024
  _context: e
1024
1025
  }, e._currentRenderer = null, e._currentRenderer2 = null, e;
1025
1026
  }, e.createElement = function(e, t, n) {
1026
1027
  for (var r = 2; r < arguments.length; r++) b(arguments[r]);
1027
1028
  r = {};
1028
1029
  var i = null;
1029
- if (t != null) for (c in pe || !("__self" in t) || "key" in t || (pe = !0, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), h(t) && (u(t.key), i = "" + t.key), t) ue.call(t, c) && c !== "key" && c !== "__self" && c !== "__source" && (r[c] = t[c]);
1030
+ if (t != null) for (c in me || !("__self" in t) || "key" in t || (me = !0, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), h(t) && (u(t.key), i = "" + t.key), t) G.call(t, c) && c !== "key" && c !== "__self" && c !== "__source" && (r[c] = t[c]);
1030
1031
  var a = arguments.length - 2;
1031
1032
  if (a === 1) r.children = n;
1032
1033
  else if (1 < a) {
@@ -1035,15 +1036,15 @@ var be = /* @__PURE__ */ V(((e) => {
1035
1036
  }
1036
1037
  if (e && e.defaultProps) for (c in a = e.defaultProps, a) r[c] === void 0 && (r[c] = a[c]);
1037
1038
  i && g(r, typeof e == "function" ? e.displayName || e.name || "Unknown" : e);
1038
- var c = 1e4 > K.recentlyCreatedOwnerStacks++;
1039
- return v(e, i, r, p(), c ? Error("react-stack-top-frame") : he, c ? de(f(e)) : ge);
1039
+ var c = 1e4 > W.recentlyCreatedOwnerStacks++;
1040
+ return v(e, i, r, p(), c ? Error("react-stack-top-frame") : ge, c ? fe(f(e)) : _e);
1040
1041
  }, e.createRef = function() {
1041
1042
  var e = { current: null };
1042
1043
  return Object.seal(e), e;
1043
1044
  }, e.forwardRef = function(e) {
1044
- e != null && e.$$typeof === B ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e == "function" ? e.length !== 0 && e.length !== 2 && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.") : console.error("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e), e != null && e.defaultProps != null && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
1045
+ e != null && e.$$typeof === oe ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e == "function" ? e.length !== 0 && e.length !== 2 && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.") : console.error("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e), e != null && e.defaultProps != null && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
1045
1046
  var t = {
1046
- $$typeof: ne,
1047
+ $$typeof: re,
1047
1048
  render: e
1048
1049
  }, n;
1049
1050
  return Object.defineProperty(t, "displayName", {
@@ -1062,7 +1063,7 @@ var be = /* @__PURE__ */ V(((e) => {
1062
1063
  _result: e
1063
1064
  };
1064
1065
  var t = {
1065
- $$typeof: V,
1066
+ $$typeof: z,
1066
1067
  _payload: e,
1067
1068
  _init: D
1068
1069
  }, n = {
@@ -1077,7 +1078,7 @@ var be = /* @__PURE__ */ V(((e) => {
1077
1078
  return e._ioInfo = n, t._debugInfo = [{ awaited: n }], t;
1078
1079
  }, e.memo = function(e, t) {
1079
1080
  e ?? console.error("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e), t = {
1080
- $$typeof: B,
1081
+ $$typeof: oe,
1081
1082
  type: e,
1082
1083
  compare: t === void 0 ? null : t
1083
1084
  };
@@ -1093,15 +1094,15 @@ var be = /* @__PURE__ */ V(((e) => {
1093
1094
  }
1094
1095
  }), t;
1095
1096
  }, e.startTransition = function(e) {
1096
- var t = K.T, n = {};
1097
- n._updatedFibers = /* @__PURE__ */ new Set(), K.T = n;
1097
+ var t = W.T, n = {};
1098
+ n._updatedFibers = /* @__PURE__ */ new Set(), W.T = n;
1098
1099
  try {
1099
- var r = e(), i = K.S;
1100
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && (K.asyncTransitions++, r.then(k, k), r.then(c, _e));
1100
+ var r = e(), i = W.S;
1101
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && (W.asyncTransitions++, r.then(k, k), r.then(c, q));
1101
1102
  } catch (e) {
1102
- _e(e);
1103
+ q(e);
1103
1104
  } finally {
1104
- t === null && n._updatedFibers && (e = n._updatedFibers.size, n._updatedFibers.clear(), 10 < e && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), t !== null && n.types !== null && (t.types !== null && t.types !== n.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), t.types = n.types), K.T = t;
1105
+ t === null && n._updatedFibers && (e = n._updatedFibers.size, n._updatedFibers.clear(), 10 < e && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), t !== null && n.types !== null && (t.types !== null && t.types !== n.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), t.types = n.types), W.T = t;
1105
1106
  }
1106
1107
  }, e.unstable_useCacheRefresh = function() {
1107
1108
  return O().useCacheRefresh();
@@ -1113,7 +1114,7 @@ var be = /* @__PURE__ */ V(((e) => {
1113
1114
  return O().useCallback(e, t);
1114
1115
  }, e.useContext = function(e) {
1115
1116
  var t = O();
1116
- return e.$$typeof === z && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"), t.useContext(e);
1117
+ return e.$$typeof === te && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"), t.useContext(e);
1117
1118
  }, e.useDebugValue = function(e, t) {
1118
1119
  return O().useDebugValue(e, t);
1119
1120
  }, e.useDeferredValue = function(e, t) {
@@ -1146,12 +1147,12 @@ var be = /* @__PURE__ */ V(((e) => {
1146
1147
  return O().useTransition();
1147
1148
  }, e.version = "19.2.7", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1148
1149
  })();
1149
- })), Se = (/* @__PURE__ */ V(((e, t) => {
1150
- process.env.NODE_ENV === "production" ? t.exports = be() : t.exports = xe();
1151
- })))(), Ce = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1152
- function we(e) {
1150
+ })), Y = (/* @__PURE__ */ B(((e, t) => {
1151
+ process.env.NODE_ENV === "production" ? t.exports = Se() : t.exports = Ce();
1152
+ })))(), we = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1153
+ function Te(e) {
1153
1154
  let t = {};
1154
- return e.replace(Ce, (e) => {
1155
+ return e.replace(we, (e) => {
1155
1156
  let n = e.length;
1156
1157
  switch (e[0]) {
1157
1158
  case "G":
@@ -1246,10 +1247,10 @@ function we(e) {
1246
1247
  return "";
1247
1248
  }), t;
1248
1249
  }
1249
- var Te = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1250
- function Ee(e) {
1250
+ var Ee = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1251
+ function De(e) {
1251
1252
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
1252
- let t = e.split(Te).filter((e) => e.length > 0), n = [];
1253
+ let t = e.split(Ee).filter((e) => e.length > 0), n = [];
1253
1254
  for (let e of t) {
1254
1255
  let t = e.split("/");
1255
1256
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -1262,17 +1263,17 @@ function Ee(e) {
1262
1263
  }
1263
1264
  return n;
1264
1265
  }
1265
- function De(e) {
1266
+ function Oe(e) {
1266
1267
  return e.replace(/^(.*?)-/, "");
1267
1268
  }
1268
- var Oe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ke = /^(@+)?(\+|#+)?[rs]?$/g, Ae = /(\*)(0+)|(#+)(0+)|(0+)/g, je = /^(0+)$/;
1269
- function Me(e) {
1269
+ var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ae = /^(@+)?(\+|#+)?[rs]?$/g, je = /(\*)(0+)|(#+)(0+)|(0+)/g, Me = /^(0+)$/;
1270
+ function Ne(e) {
1270
1271
  let t = {};
1271
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ke, function(e, n, r) {
1272
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ae, function(e, n, r) {
1272
1273
  return typeof r == "string" ? r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)) : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length), "";
1273
1274
  }), t;
1274
1275
  }
1275
- function Ne(e) {
1276
+ function Pe(e) {
1276
1277
  switch (e) {
1277
1278
  case "sign-auto": return { signDisplay: "auto" };
1278
1279
  case "sign-accounting":
@@ -1295,19 +1296,19 @@ function Ne(e) {
1295
1296
  case "+_": return { signDisplay: "never" };
1296
1297
  }
1297
1298
  }
1298
- function Pe(e) {
1299
+ function Fe(e) {
1299
1300
  let t;
1300
1301
  if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" }, e = e.slice(1)), t) {
1301
1302
  let n = e.slice(0, 2);
1302
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !je.test(e)) throw Error("Malformed concise eng/scientific notation");
1303
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Me.test(e)) throw Error("Malformed concise eng/scientific notation");
1303
1304
  t.minimumIntegerDigits = e.length;
1304
1305
  }
1305
1306
  return t;
1306
1307
  }
1307
- function Fe(e) {
1308
- return Ne(e) || {};
1309
- }
1310
1308
  function Ie(e) {
1309
+ return Pe(e) || {};
1310
+ }
1311
+ function Le(e) {
1311
1312
  let t = {};
1312
1313
  for (let n of e) {
1313
1314
  switch (n.stem) {
@@ -1331,7 +1332,7 @@ function Ie(e) {
1331
1332
  continue;
1332
1333
  case "measure-unit":
1333
1334
  case "unit":
1334
- t.style = "unit", t.unit = De(n.options[0]);
1335
+ t.style = "unit", t.unit = Oe(n.options[0]);
1335
1336
  continue;
1336
1337
  case "compact-short":
1337
1338
  case "K":
@@ -1347,7 +1348,7 @@ function Ie(e) {
1347
1348
  notation: "scientific",
1348
1349
  ...n.options.reduce((e, t) => ({
1349
1350
  ...e,
1350
- ...Fe(t)
1351
+ ...Ie(t)
1351
1352
  }), {})
1352
1353
  };
1353
1354
  continue;
@@ -1357,7 +1358,7 @@ function Ie(e) {
1357
1358
  notation: "engineering",
1358
1359
  ...n.options.reduce((e, t) => ({
1359
1360
  ...e,
1360
- ...Fe(t)
1361
+ ...Ie(t)
1361
1362
  }), {})
1362
1363
  };
1363
1364
  continue;
@@ -1402,7 +1403,7 @@ function Ie(e) {
1402
1403
  continue;
1403
1404
  case "integer-width":
1404
1405
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
1405
- n.options[0].replace(Ae, function(e, n, r, i, a, o) {
1406
+ n.options[0].replace(je, function(e, n, r, i, a, o) {
1406
1407
  if (n) t.minimumIntegerDigits = r.length;
1407
1408
  else if (i && a) throw Error("We currently do not support maximum integer digits");
1408
1409
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -1410,13 +1411,13 @@ function Ie(e) {
1410
1411
  });
1411
1412
  continue;
1412
1413
  }
1413
- if (je.test(n.stem)) {
1414
+ if (Me.test(n.stem)) {
1414
1415
  t.minimumIntegerDigits = n.stem.length;
1415
1416
  continue;
1416
1417
  }
1417
- if (Oe.test(n.stem)) {
1418
+ if (ke.test(n.stem)) {
1418
1419
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
1419
- n.stem.replace(Oe, function(e, n, r, i, a, o) {
1420
+ n.stem.replace(ke, function(e, n, r, i, a, o) {
1420
1421
  return r === "*" ? t.minimumFractionDigits = n.length : i && i[0] === "#" ? t.maximumFractionDigits = i.length : a && o ? (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length + o.length) : (t.minimumFractionDigits = n.length, t.maximumFractionDigits = n.length), "";
1421
1422
  });
1422
1423
  let e = n.options[0];
@@ -1425,23 +1426,23 @@ function Ie(e) {
1425
1426
  trailingZeroDisplay: "stripIfInteger"
1426
1427
  } : e && (t = {
1427
1428
  ...t,
1428
- ...Me(e)
1429
+ ...Ne(e)
1429
1430
  });
1430
1431
  continue;
1431
1432
  }
1432
- if (ke.test(n.stem)) {
1433
+ if (Ae.test(n.stem)) {
1433
1434
  t = {
1434
1435
  ...t,
1435
- ...Me(n.stem)
1436
+ ...Ne(n.stem)
1436
1437
  };
1437
1438
  continue;
1438
1439
  }
1439
- let e = Ne(n.stem);
1440
+ let e = Pe(n.stem);
1440
1441
  e && (t = {
1441
1442
  ...t,
1442
1443
  ...e
1443
1444
  });
1444
- let r = Pe(n.stem);
1445
+ let r = Fe(n.stem);
1445
1446
  r && (t = {
1446
1447
  ...t,
1447
1448
  ...r
@@ -1451,43 +1452,43 @@ function Ie(e) {
1451
1452
  }
1452
1453
  //#endregion
1453
1454
  //#region ../../node_modules/.bun/@formatjs+icu-messageformat-parser@3.5.12/node_modules/@formatjs/icu-messageformat-parser/index.js
1454
- var Le = /* @__PURE__ */ function(e) {
1455
+ var Re = /* @__PURE__ */ function(e) {
1455
1456
  return e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG", e;
1456
1457
  }({});
1457
- function Re(e) {
1458
+ function ze(e) {
1458
1459
  return e.type === 0;
1459
1460
  }
1460
- function ze(e) {
1461
+ function Be(e) {
1461
1462
  return e.type === 1;
1462
1463
  }
1463
- function Be(e) {
1464
+ function Ve(e) {
1464
1465
  return e.type === 2;
1465
1466
  }
1466
- function Ve(e) {
1467
+ function He(e) {
1467
1468
  return e.type === 3;
1468
1469
  }
1469
- function He(e) {
1470
+ function Ue(e) {
1470
1471
  return e.type === 4;
1471
1472
  }
1472
- function Ue(e) {
1473
+ function We(e) {
1473
1474
  return e.type === 5;
1474
1475
  }
1475
- function We(e) {
1476
+ function Ge(e) {
1476
1477
  return e.type === 6;
1477
1478
  }
1478
- function Ge(e) {
1479
+ function Ke(e) {
1479
1480
  return e.type === 7;
1480
1481
  }
1481
- function Ke(e) {
1482
+ function qe(e) {
1482
1483
  return e.type === 8;
1483
1484
  }
1484
- function qe(e) {
1485
+ function Je(e) {
1485
1486
  return !!(e && typeof e == "object" && e.type === 0);
1486
1487
  }
1487
- function Je(e) {
1488
+ function Ye(e) {
1488
1489
  return !!(e && typeof e == "object" && e.type === 1);
1489
1490
  }
1490
- var Ye = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xe = {
1491
+ var Xe = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ze = {
1491
1492
  "001": ["H", "h"],
1492
1493
  419: [
1493
1494
  "h",
@@ -2650,21 +2651,21 @@ var Ye = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xe = {
2650
2651
  "h"
2651
2652
  ]
2652
2653
  };
2653
- function Ze(e, t) {
2654
+ function Qe(e, t) {
2654
2655
  let n = "";
2655
2656
  for (let r = 0; r < e.length; r++) {
2656
2657
  let i = e.charAt(r);
2657
2658
  if (i === "j") {
2658
2659
  let a = 0;
2659
2660
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
2660
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = Qe(t);
2661
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = $e(t);
2661
2662
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
2662
2663
  for (; o-- > 0;) n = c + n;
2663
2664
  } else i === "J" ? n += "H" : n += i;
2664
2665
  }
2665
2666
  return n;
2666
2667
  }
2667
- function Qe(e) {
2668
+ function $e(e) {
2668
2669
  let t = e.hourCycle;
2669
2670
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
2670
2671
  case "h24": return "k";
@@ -2674,32 +2675,32 @@ function Qe(e) {
2674
2675
  default: throw Error("Invalid hourCycle");
2675
2676
  }
2676
2677
  let n = e.language, r;
2677
- return n !== "root" && (r = e.maximize().region), (Xe[r || ""] || Xe[n || ""] || Xe[`${n}-001`] || Xe["001"])[0];
2678
+ return n !== "root" && (r = e.maximize().region), (Ze[r || ""] || Ze[n || ""] || Ze[`${n}-001`] || Ze["001"])[0];
2678
2679
  }
2679
- var $e = RegExp(`^${Ye.source}*`), et = RegExp(`${Ye.source}*$`);
2680
+ var et = RegExp(`^${Xe.source}*`), tt = RegExp(`${Xe.source}*$`);
2680
2681
  function X(e, t) {
2681
2682
  return {
2682
2683
  start: e,
2683
2684
  end: t
2684
2685
  };
2685
2686
  }
2686
- var tt = !!Object.fromEntries, nt = !!String.prototype.trimStart, rt = !!String.prototype.trimEnd, it = tt ? Object.fromEntries : function(e) {
2687
+ var nt = !!Object.fromEntries, rt = !!String.prototype.trimStart, it = !!String.prototype.trimEnd, at = nt ? Object.fromEntries : function(e) {
2687
2688
  let t = {};
2688
2689
  for (let [n, r] of e) t[n] = r;
2689
2690
  return t;
2690
- }, at = nt ? function(e) {
2691
+ }, ot = rt ? function(e) {
2691
2692
  return e.trimStart();
2692
2693
  } : function(e) {
2693
- return e.replace($e, "");
2694
- }, ot = rt ? function(e) {
2694
+ return e.replace(et, "");
2695
+ }, st = it ? function(e) {
2695
2696
  return e.trimEnd();
2696
2697
  } : function(e) {
2697
- return e.replace(et, "");
2698
- }, st = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2699
- function ct(e, t) {
2700
- return st.lastIndex = t, st.exec(e)[1] ?? "";
2698
+ return e.replace(tt, "");
2699
+ }, ct = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2700
+ function lt(e, t) {
2701
+ return ct.lastIndex = t, ct.exec(e)[1] ?? "";
2701
2702
  }
2702
- function lt(e) {
2703
+ function ut(e) {
2703
2704
  if (e.length === 0) return null;
2704
2705
  let t = 1, n = 1;
2705
2706
  for (let r = 0; r < e.length;) {
@@ -2723,7 +2724,7 @@ function lt(e) {
2723
2724
  column: n
2724
2725
  };
2725
2726
  }
2726
- var ut = class {
2727
+ var dt = class {
2727
2728
  constructor(e, t = {}) {
2728
2729
  this.message = e, this.position = {
2729
2730
  offset: 0,
@@ -2736,7 +2737,7 @@ var ut = class {
2736
2737
  if (this.message.length > 0) {
2737
2738
  let e = this.message.charCodeAt(0);
2738
2739
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
2739
- let e = lt(this.message);
2740
+ let e = ut(this.message);
2740
2741
  if (e) {
2741
2742
  let t = this.clonePosition();
2742
2743
  return this.position = e, {
@@ -2770,7 +2771,7 @@ var ut = class {
2770
2771
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
2771
2772
  if (n) break;
2772
2773
  return this.error(26, X(this.clonePosition(), this.clonePosition()));
2773
- } else if (i === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2774
+ } else if (i === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
2774
2775
  let n = this.parseTag(e, t);
2775
2776
  if (n.err) return n;
2776
2777
  r.push(n.val);
@@ -2802,7 +2803,7 @@ var ut = class {
2802
2803
  if (i.err) return i;
2803
2804
  let a = i.val, o = this.clonePosition();
2804
2805
  if (this.bumpIf("</")) {
2805
- if (this.isEOF() || !dt(this.char())) return this.error(23, X(o, this.clonePosition()));
2806
+ if (this.isEOF() || !ft(this.char())) return this.error(23, X(o, this.clonePosition()));
2806
2807
  let e = this.clonePosition();
2807
2808
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
2808
2809
  val: {
@@ -2818,7 +2819,7 @@ var ut = class {
2818
2819
  }
2819
2820
  parseTagName() {
2820
2821
  let e = this.offset();
2821
- for (this.bump(); !this.isEOF() && pt(this.char());) this.bump();
2822
+ for (this.bump(); !this.isEOF() && mt(this.char());) this.bump();
2822
2823
  return this.message.slice(e, this.offset());
2823
2824
  }
2824
2825
  parseLiteral(e, t) {
@@ -2852,7 +2853,7 @@ var ut = class {
2852
2853
  };
2853
2854
  }
2854
2855
  tryParseLeftAngleBracket() {
2855
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !ft(this.peek() || 0)) ? (this.bump(), "<") : null;
2856
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !pt(this.peek() || 0)) ? (this.bump(), "<") : null;
2856
2857
  }
2857
2858
  tryParseQuote(e) {
2858
2859
  if (this.isEOF() || this.char() !== 39) return null;
@@ -2907,7 +2908,7 @@ var ut = class {
2907
2908
  }
2908
2909
  }
2909
2910
  parseIdentifierIfPossible() {
2910
- let e = this.clonePosition(), t = this.offset(), n = ct(this.message, t), r = t + n.length;
2911
+ let e = this.clonePosition(), t = this.offset(), n = lt(this.message, t), r = t + n.length;
2911
2912
  return this.bumpTo(r), {
2912
2913
  value: n,
2913
2914
  location: X(e, this.clonePosition())
@@ -2926,7 +2927,7 @@ var ut = class {
2926
2927
  this.bumpSpace();
2927
2928
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
2928
2929
  if (n.err) return n;
2929
- let r = ot(n.val);
2930
+ let r = st(n.val);
2930
2931
  if (r.length === 0) return this.error(6, X(this.clonePosition(), this.clonePosition()));
2931
2932
  e = {
2932
2933
  style: r,
@@ -2937,7 +2938,7 @@ var ut = class {
2937
2938
  if (t.err) return t;
2938
2939
  let i = X(r, this.clonePosition());
2939
2940
  if (e && e.style.startsWith("::")) {
2940
- let t = at(e.style.slice(2));
2941
+ let t = ot(e.style.slice(2));
2941
2942
  if (a === "number") {
2942
2943
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
2943
2944
  return r.err ? r : {
@@ -2952,12 +2953,12 @@ var ut = class {
2952
2953
  } else {
2953
2954
  if (t.length === 0) return this.error(10, i);
2954
2955
  let r = t;
2955
- this.locale && (r = Ze(t, this.locale));
2956
+ this.locale && (r = Qe(t, this.locale));
2956
2957
  let o = {
2957
2958
  type: 1,
2958
2959
  pattern: r,
2959
2960
  location: e.styleLocation,
2960
- parsedOptions: this.shouldParseSkeletons ? we(r) : {}
2961
+ parsedOptions: this.shouldParseSkeletons ? Te(r) : {}
2961
2962
  };
2962
2963
  return {
2963
2964
  val: {
@@ -3003,7 +3004,7 @@ var ut = class {
3003
3004
  val: {
3004
3005
  type: 5,
3005
3006
  value: n,
3006
- options: it(c.val),
3007
+ options: at(c.val),
3007
3008
  location: u
3008
3009
  },
3009
3010
  err: null
@@ -3011,7 +3012,7 @@ var ut = class {
3011
3012
  val: {
3012
3013
  type: 6,
3013
3014
  value: n,
3014
- options: it(c.val),
3015
+ options: at(c.val),
3015
3016
  offset: s,
3016
3017
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3017
3018
  location: u
@@ -3060,7 +3061,7 @@ var ut = class {
3060
3061
  parseNumberSkeletonFromString(e, t) {
3061
3062
  let n = [];
3062
3063
  try {
3063
- n = Ee(e);
3064
+ n = De(e);
3064
3065
  } catch {
3065
3066
  return this.error(7, t);
3066
3067
  }
@@ -3069,7 +3070,7 @@ var ut = class {
3069
3070
  type: 0,
3070
3071
  tokens: n,
3071
3072
  location: t,
3072
- parsedOptions: this.shouldParseSkeletons ? Ie(n) : {}
3073
+ parsedOptions: this.shouldParseSkeletons ? Le(n) : {}
3073
3074
  },
3074
3075
  err: null
3075
3076
  };
@@ -3174,7 +3175,7 @@ var ut = class {
3174
3175
  }
3175
3176
  }
3176
3177
  bumpSpace() {
3177
- for (; !this.isEOF() && mt(this.char());) this.bump();
3178
+ for (; !this.isEOF() && ht(this.char());) this.bump();
3178
3179
  }
3179
3180
  peek() {
3180
3181
  if (this.isEOF()) return null;
@@ -3182,83 +3183,83 @@ var ut = class {
3182
3183
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
3183
3184
  }
3184
3185
  };
3185
- function dt(e) {
3186
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3187
- }
3188
3186
  function ft(e) {
3189
- return dt(e) || e === 47;
3187
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3190
3188
  }
3191
3189
  function pt(e) {
3192
- return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3190
+ return ft(e) || e === 47;
3193
3191
  }
3194
3192
  function mt(e) {
3195
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3193
+ return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3196
3194
  }
3197
3195
  function ht(e) {
3196
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3197
+ }
3198
+ function gt(e) {
3198
3199
  e.forEach((e) => {
3199
- if (delete e.location, Ue(e) || We(e)) for (let t in e.options) delete e.options[t].location, ht(e.options[t].value);
3200
- else Be(e) && qe(e.style) || (Ve(e) || He(e)) && Je(e.style) ? delete e.style.location : Ke(e) && ht(e.children);
3200
+ if (delete e.location, We(e) || Ge(e)) for (let t in e.options) delete e.options[t].location, gt(e.options[t].value);
3201
+ else Ve(e) && Je(e.style) || (He(e) || Ue(e)) && Ye(e.style) ? delete e.style.location : qe(e) && gt(e.children);
3201
3202
  });
3202
3203
  }
3203
- function gt(e, t = {}) {
3204
+ function _t(e, t = {}) {
3204
3205
  t = {
3205
3206
  shouldParseSkeletons: !0,
3206
3207
  requiresOtherClause: !0,
3207
3208
  ...t
3208
3209
  };
3209
- let n = new ut(e, t).parse();
3210
+ let n = new dt(e, t).parse();
3210
3211
  if (n.err) {
3211
- let e = SyntaxError(Le[n.err.kind]);
3212
+ let e = SyntaxError(Re[n.err.kind]);
3212
3213
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
3213
3214
  }
3214
- return t?.captureLocation || ht(n.val), n.val;
3215
+ return t?.captureLocation || gt(n.val), n.val;
3215
3216
  }
3216
3217
  //#endregion
3217
3218
  //#region ../../node_modules/.bun/intl-messageformat@11.2.9/node_modules/intl-messageformat/index.js
3218
- var _t = class extends Error {
3219
+ var vt = class extends Error {
3219
3220
  constructor(e, t, n) {
3220
3221
  super(e), this.code = t, this.originalMessage = n;
3221
3222
  }
3222
3223
  toString() {
3223
3224
  return `[formatjs Error: ${this.code}] ${this.message}`;
3224
3225
  }
3225
- }, vt = class extends _t {
3226
+ }, yt = class extends vt {
3226
3227
  constructor(e, t, n, r) {
3227
3228
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
3228
3229
  }
3229
- }, yt = class extends _t {
3230
+ }, bt = class extends vt {
3230
3231
  constructor(e, t, n) {
3231
3232
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
3232
3233
  }
3233
- }, bt = class extends _t {
3234
+ }, xt = class extends vt {
3234
3235
  constructor(e, t) {
3235
3236
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
3236
3237
  }
3237
3238
  };
3238
- function xt(e) {
3239
+ function St(e) {
3239
3240
  return e.length < 2 ? e : e.reduce((e, t) => {
3240
3241
  let n = e[e.length - 1];
3241
3242
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
3242
3243
  }, []);
3243
3244
  }
3244
- function St(e) {
3245
+ function Ct(e) {
3245
3246
  return typeof e == "function";
3246
3247
  }
3247
- function Ct(e, t, n, r, i, a, o) {
3248
- if (e.length === 1 && Re(e[0])) return [{
3248
+ function wt(e, t, n, r, i, a, o) {
3249
+ if (e.length === 1 && ze(e[0])) return [{
3249
3250
  type: 0,
3250
3251
  value: e[0].value
3251
3252
  }];
3252
3253
  let s = [];
3253
3254
  for (let c of e) {
3254
- if (Re(c)) {
3255
+ if (ze(c)) {
3255
3256
  s.push({
3256
3257
  type: 0,
3257
3258
  value: c.value
3258
3259
  });
3259
3260
  continue;
3260
3261
  }
3261
- if (Ge(c)) {
3262
+ if (Ke(c)) {
3262
3263
  typeof a == "number" && s.push({
3263
3264
  type: 0,
3264
3265
  value: n.getNumberFormat(t).format(a)
@@ -3266,33 +3267,33 @@ function Ct(e, t, n, r, i, a, o) {
3266
3267
  continue;
3267
3268
  }
3268
3269
  let { value: e } = c;
3269
- if (!(i && e in i)) throw new bt(e, o);
3270
+ if (!(i && e in i)) throw new xt(e, o);
3270
3271
  let l = i[e];
3271
- if (ze(c)) {
3272
+ if (Be(c)) {
3272
3273
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
3273
3274
  type: typeof l == "string" ? 0 : 1,
3274
3275
  value: l
3275
3276
  });
3276
3277
  continue;
3277
3278
  }
3278
- if (Ve(c)) {
3279
- let e = typeof c.style == "string" ? r.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
3279
+ if (He(c)) {
3280
+ let e = typeof c.style == "string" ? r.date[c.style] : Ye(c.style) ? c.style.parsedOptions : void 0;
3280
3281
  s.push({
3281
3282
  type: 0,
3282
3283
  value: n.getDateTimeFormat(t, e).format(l)
3283
3284
  });
3284
3285
  continue;
3285
3286
  }
3286
- if (He(c)) {
3287
- let e = typeof c.style == "string" ? r.time[c.style] : Je(c.style) ? c.style.parsedOptions : r.time.medium;
3287
+ if (Ue(c)) {
3288
+ let e = typeof c.style == "string" ? r.time[c.style] : Ye(c.style) ? c.style.parsedOptions : r.time.medium;
3288
3289
  s.push({
3289
3290
  type: 0,
3290
3291
  value: n.getDateTimeFormat(t, e).format(l)
3291
3292
  });
3292
3293
  continue;
3293
3294
  }
3294
- if (Be(c)) {
3295
- let e = typeof c.style == "string" ? r.number[c.style] : qe(c.style) ? c.style.parsedOptions : void 0;
3295
+ if (Ve(c)) {
3296
+ let e = typeof c.style == "string" ? r.number[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
3296
3297
  if (e && e.scale) {
3297
3298
  let t = e.scale || 1;
3298
3299
  if (typeof l == "bigint") {
@@ -3306,37 +3307,37 @@ function Ct(e, t, n, r, i, a, o) {
3306
3307
  });
3307
3308
  continue;
3308
3309
  }
3309
- if (Ke(c)) {
3310
+ if (qe(c)) {
3310
3311
  let { children: e, value: l } = c, u = i[l];
3311
- if (!St(u)) throw new yt(l, "function", o);
3312
- let d = u(Ct(e, t, n, r, i, a).map((e) => e.value));
3312
+ if (!Ct(u)) throw new bt(l, "function", o);
3313
+ let d = u(wt(e, t, n, r, i, a).map((e) => e.value));
3313
3314
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
3314
3315
  type: typeof e == "string" ? 0 : 1,
3315
3316
  value: e
3316
3317
  })));
3317
3318
  }
3318
- if (Ue(c)) {
3319
+ if (We(c)) {
3319
3320
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
3320
- if (!a) throw new vt(c.value, l, Object.keys(c.options), o);
3321
- s.push(...Ct(a.value, t, n, r, i));
3321
+ if (!a) throw new yt(c.value, l, Object.keys(c.options), o);
3322
+ s.push(...wt(a.value, t, n, r, i));
3322
3323
  continue;
3323
3324
  }
3324
- if (We(c)) {
3325
+ if (Ge(c)) {
3325
3326
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
3326
3327
  if (!a) {
3327
- if (!Intl.PluralRules) throw new _t("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
3328
+ if (!Intl.PluralRules) throw new vt("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
3328
3329
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
3329
3330
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
3330
3331
  }
3331
- if (!a) throw new vt(c.value, l, Object.keys(c.options), o);
3332
+ if (!a) throw new yt(c.value, l, Object.keys(c.options), o);
3332
3333
  let u = typeof l == "bigint" ? Number(l) : l;
3333
- s.push(...Ct(a.value, t, n, r, i, u - (c.offset || 0)));
3334
+ s.push(...wt(a.value, t, n, r, i, u - (c.offset || 0)));
3334
3335
  continue;
3335
3336
  }
3336
3337
  }
3337
- return xt(s);
3338
+ return St(s);
3338
3339
  }
3339
- function wt(e, t) {
3340
+ function Tt(e, t) {
3340
3341
  return t ? {
3341
3342
  ...e,
3342
3343
  ...t,
@@ -3346,10 +3347,10 @@ function wt(e, t) {
3346
3347
  }, n), {})
3347
3348
  } : e;
3348
3349
  }
3349
- function Tt(e, t) {
3350
- return t ? Object.keys(e).reduce((n, r) => (n[r] = wt(e[r], t[r]), n), { ...e }) : e;
3350
+ function Et(e, t) {
3351
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = Tt(e[r], t[r]), n), { ...e }) : e;
3351
3352
  }
3352
- function Et(e) {
3353
+ function Dt(e) {
3353
3354
  return { create() {
3354
3355
  return {
3355
3356
  get(t) {
@@ -3361,27 +3362,27 @@ function Et(e) {
3361
3362
  };
3362
3363
  } };
3363
3364
  }
3364
- function Dt(e = {
3365
+ function Ot(e = {
3365
3366
  number: {},
3366
3367
  dateTime: {},
3367
3368
  pluralRules: {}
3368
3369
  }) {
3369
3370
  return {
3370
- getNumberFormat: W((...e) => new Intl.NumberFormat(...e), {
3371
- cache: Et(e.number),
3372
- strategy: ge.variadic
3371
+ getNumberFormat: U((...e) => new Intl.NumberFormat(...e), {
3372
+ cache: Dt(e.number),
3373
+ strategy: ve.variadic
3373
3374
  }),
3374
- getDateTimeFormat: W((...e) => new Intl.DateTimeFormat(...e), {
3375
- cache: Et(e.dateTime),
3376
- strategy: ge.variadic
3375
+ getDateTimeFormat: U((...e) => new Intl.DateTimeFormat(...e), {
3376
+ cache: Dt(e.dateTime),
3377
+ strategy: ve.variadic
3377
3378
  }),
3378
- getPluralRules: W((...e) => new Intl.PluralRules(...e), {
3379
- cache: Et(e.pluralRules),
3380
- strategy: ge.variadic
3379
+ getPluralRules: U((...e) => new Intl.PluralRules(...e), {
3380
+ cache: Dt(e.pluralRules),
3381
+ strategy: ve.variadic
3381
3382
  })
3382
3383
  };
3383
3384
  }
3384
- var Ot = class e {
3385
+ var kt = class e {
3385
3386
  constructor(t, n = e.defaultLocale, r, i) {
3386
3387
  if (this.formatterCache = {
3387
3388
  number: {},
@@ -3392,7 +3393,7 @@ var Ot = class e {
3392
3393
  if (t.length === 1) return t[0].value;
3393
3394
  let n = t.reduce((e, t) => (!e.length || t.type !== 0 || typeof e[e.length - 1] != "string" ? e.push(t.value) : e[e.length - 1] += t.value, e), []);
3394
3395
  return n.length <= 1 ? n[0] || "" : n;
3395
- }, this.formatToParts = (e) => Ct(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3396
+ }, this.formatToParts = (e) => wt(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3396
3397
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3397
3398
  let { ...n } = i || {};
3398
3399
  this.ast = e.__parse(t, {
@@ -3401,7 +3402,7 @@ var Ot = class e {
3401
3402
  });
3402
3403
  } else this.ast = t;
3403
3404
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
3404
- this.formats = Tt(e.formats, r), this.formatters = i && i.formatters || Dt(this.formatterCache);
3405
+ this.formats = Et(e.formats, r), this.formatters = i && i.formatters || Ot(this.formatterCache);
3405
3406
  }
3406
3407
  static {
3407
3408
  this.memoizedDefaultLocale = null;
@@ -3417,7 +3418,7 @@ var Ot = class e {
3417
3418
  };
3418
3419
  }
3419
3420
  static {
3420
- this.__parse = gt;
3421
+ this.__parse = _t;
3421
3422
  }
3422
3423
  static {
3423
3424
  this.formats = {
@@ -3477,9 +3478,9 @@ var Ot = class e {
3477
3478
  };
3478
3479
  //#endregion
3479
3480
  //#region ../../node_modules/.bun/use-intl@4.13.2+e14d3f224186685e/node_modules/use-intl/dist/esm/production/format-message/index.js
3480
- function kt(...[e, t, n, r]) {
3481
- if (Array.isArray(t)) throw new q(J.INVALID_MESSAGE, void 0);
3482
- if (typeof t == "object") throw new q(J.INSUFFICIENT_PATH, void 0);
3481
+ function At(...[e, t, n, r]) {
3482
+ if (Array.isArray(t)) throw new K(q.INVALID_MESSAGE, void 0);
3483
+ if (typeof t == "object") throw new K(q.INSUFFICIENT_PATH, void 0);
3483
3484
  if (typeof t == "string") {
3484
3485
  let e = function(e, t) {
3485
3486
  return t || /'[{}<#|']/.test(e) ? void 0 : e;
@@ -3488,14 +3489,14 @@ function kt(...[e, t, n, r]) {
3488
3489
  }
3489
3490
  let { cache: i, formats: a, formatters: o, globalFormats: s, locale: c, timeZone: l } = r, u;
3490
3491
  o.getMessageFormat ||= function(e, t) {
3491
- return ve(((...e) => new Ot(e[0], e[1], e[2], {
3492
+ return be(((...e) => new kt(e[0], e[1], e[2], {
3492
3493
  formatters: t,
3493
3494
  ...e[3]
3494
3495
  })), e.message);
3495
3496
  }(i, o);
3496
3497
  try {
3497
3498
  u = o.getMessageFormat(t, c, function(e, t, n) {
3498
- let r = Ot.formats.date, i = Ot.formats.time, a = {
3499
+ let r = kt.formats.date, i = kt.formats.time, a = {
3499
3500
  ...e?.dateTime,
3500
3501
  ...t?.dateTime
3501
3502
  }, o = {
@@ -3527,25 +3528,25 @@ function kt(...[e, t, n, r]) {
3527
3528
  })
3528
3529
  } });
3529
3530
  } catch {
3530
- throw new q(J.INVALID_MESSAGE, void 0);
3531
+ throw new K(q.INVALID_MESSAGE, void 0);
3531
3532
  }
3532
3533
  let d = u.format(n);
3533
- return (0, Se.isValidElement)(d) || Array.isArray(d) || typeof d == "string" ? d : String(d);
3534
+ return (0, Y.isValidElement)(d) || Array.isArray(d) || typeof d == "string" ? d : String(d);
3534
3535
  }
3535
- kt.raw = !0;
3536
+ At.raw = !0;
3536
3537
  //#endregion
3537
3538
  //#region ../../node_modules/.bun/use-intl@4.13.2+e14d3f224186685e/node_modules/use-intl/dist/esm/production/initializeConfig-CHgjheii.js
3538
- function At(...e) {
3539
+ function jt(...e) {
3539
3540
  return e.filter(Boolean).join(".");
3540
3541
  }
3541
- function jt(e) {
3542
- return At(e.namespace, e.key);
3543
- }
3544
3542
  function Mt(e) {
3543
+ return jt(e.namespace, e.key);
3544
+ }
3545
+ function Nt(e) {
3545
3546
  console.error(e);
3546
3547
  }
3547
- function Nt(e, t, n, r) {
3548
- let i = At(r, n);
3548
+ function Pt(e, t, n, r) {
3549
+ let i = jt(r, n);
3549
3550
  if (!t) throw Error(i);
3550
3551
  let a = t;
3551
3552
  return n.split(".").forEach(((t) => {
@@ -3554,21 +3555,21 @@ function Nt(e, t, n, r) {
3554
3555
  a = n;
3555
3556
  })), a;
3556
3557
  }
3557
- function Pt(e) {
3558
+ function Ft(e) {
3558
3559
  let t = function(e, t, n) {
3559
3560
  try {
3560
3561
  if (!t) throw Error(void 0);
3561
- let r = n ? Nt(e, t, n) : t;
3562
+ let r = n ? Pt(e, t, n) : t;
3562
3563
  if (!r) throw Error(n);
3563
3564
  return r;
3564
3565
  } catch (e) {
3565
- return new q(J.MISSING_MESSAGE, e.message);
3566
+ return new K(q.MISSING_MESSAGE, e.message);
3566
3567
  }
3567
3568
  }(e.locale, e.messages, e.namespace);
3568
- return function({ cache: e, formats: t, formatters: n, getMessageFallback: r = jt, locale: i, messagesOrError: a, namespace: o, onError: s, timeZone: c }) {
3569
- let l = a instanceof q;
3569
+ return function({ cache: e, formats: t, formatters: n, getMessageFallback: r = Mt, locale: i, messagesOrError: a, namespace: o, onError: s, timeZone: c }) {
3570
+ let l = a instanceof K;
3570
3571
  function u(e, t, n, i) {
3571
- let a = new q(t, n);
3572
+ let a = new K(t, n);
3572
3573
  return s(a), i ?? r({
3573
3574
  error: a,
3574
3575
  key: e,
@@ -3587,20 +3588,20 @@ function Pt(e) {
3587
3588
  } else {
3588
3589
  let e = a;
3589
3590
  try {
3590
- g = Nt(i, e, d, o);
3591
+ g = Pt(i, e, d, o);
3591
3592
  } catch (e) {
3592
- if (!h) return u(d, J.MISSING_MESSAGE, e.message, h);
3593
+ if (!h) return u(d, q.MISSING_MESSAGE, e.message, h);
3593
3594
  g = h;
3594
3595
  }
3595
3596
  }
3596
3597
  try {
3597
- return kt(At(o, d), g, f && function(e) {
3598
+ return At(jt(o, d), g, f && function(e) {
3598
3599
  let t = {};
3599
3600
  return Object.keys(e).forEach(((n) => {
3600
3601
  let r = 0, i = e[n], a;
3601
3602
  a = typeof i == "function" ? (e) => {
3602
3603
  let t = i(e);
3603
- return (0, Se.isValidElement)(t) ? (0, Se.cloneElement)(t, { key: n + r++ }) : t;
3604
+ return (0, Y.isValidElement)(t) ? (0, Y.cloneElement)(t, { key: n + r++ }) : t;
3604
3605
  } : i, t[n] = a;
3605
3606
  })), t;
3606
3607
  }(f), {
@@ -3613,12 +3614,12 @@ function Pt(e) {
3613
3614
  });
3614
3615
  } catch (e) {
3615
3616
  let t, n;
3616
- return e instanceof q ? (t = e.code, n = e.originalMessage) : (t = J.FORMATTING_ERROR, n = e.message), u(d, t, n, h);
3617
+ return e instanceof K ? (t = e.code, n = e.originalMessage) : (t = q.FORMATTING_ERROR, n = e.message), u(d, t, n, h);
3617
3618
  }
3618
3619
  }
3619
3620
  function f(e, t, n, r) {
3620
3621
  let i = d(e, t, n, r);
3621
- return typeof i == "string" ? i : u(e, J.INVALID_MESSAGE, void 0);
3622
+ return typeof i == "string" ? i : u(e, q.INVALID_MESSAGE, void 0);
3622
3623
  }
3623
3624
  return f.rich = d, f.markup = (e, t, n, r) => d(e, t, n, r), f.raw = (e) => {
3624
3625
  if (l) return s(a), r({
@@ -3628,14 +3629,14 @@ function Pt(e) {
3628
3629
  });
3629
3630
  let t = a;
3630
3631
  try {
3631
- return Nt(i, t, e, o);
3632
+ return Pt(i, t, e, o);
3632
3633
  } catch (t) {
3633
- return u(e, J.MISSING_MESSAGE, t.message);
3634
+ return u(e, q.MISSING_MESSAGE, t.message);
3634
3635
  }
3635
3636
  }, f.has = (e) => {
3636
3637
  if (l) return !1;
3637
3638
  try {
3638
- return Nt(i, a, e, o), !0;
3639
+ return Pt(i, a, e, o), !0;
3639
3640
  } catch {
3640
3641
  return !1;
3641
3642
  }
@@ -3645,16 +3646,16 @@ function Pt(e) {
3645
3646
  messagesOrError: t
3646
3647
  });
3647
3648
  }
3648
- function Ft(e, t) {
3649
+ function It(e, t) {
3649
3650
  return e === t ? void 0 : e.slice((t + ".").length);
3650
3651
  }
3651
- var It = 86400;
3652
- 7 * It, 365 * It;
3652
+ var Lt = 86400;
3653
+ 7 * Lt, 365 * Lt;
3653
3654
  //#endregion
3654
3655
  //#region ../../node_modules/.bun/use-intl@4.13.2+e14d3f224186685e/node_modules/use-intl/dist/esm/production/core.js
3655
- function Lt({ _cache: e = _e(), _formatters: t = ye(e), getMessageFallback: n = jt, messages: r, namespace: i, onError: a = Mt, ...o }) {
3656
+ function Rt({ _cache: e = ye(), _formatters: t = xe(e), getMessageFallback: n = Mt, messages: r, namespace: i, onError: a = Nt, ...o }) {
3656
3657
  return function({ messages: e, namespace: t, ...n }, r) {
3657
- return e = e[r], t = Ft(t, r), Pt({
3658
+ return e = e[r], t = It(t, r), Ft({
3658
3659
  ...n,
3659
3660
  messages: e,
3660
3661
  namespace: t
@@ -3671,18 +3672,18 @@ function Lt({ _cache: e = _e(), _formatters: t = ye(e), getMessageFallback: n =
3671
3672
  }
3672
3673
  //#endregion
3673
3674
  //#region src/i18n/index.ts
3674
- var Rt = "en", zt = (e) => Lt({
3675
+ var zt = "en", Bt = (e) => Rt({
3675
3676
  locale: e,
3676
- messages: R(e),
3677
+ messages: ee(e),
3677
3678
  namespace: "folio"
3678
- }), Bt = Symbol("folioTranslator"), Vt = r(() => zt("en")), Ht = (e = "en") => {
3679
- b(Bt, r(() => zt(D(e))));
3679
+ }), Vt = Symbol("folioTranslator"), Ht = r(() => Bt("en")), Ut = (e = "en") => {
3680
+ b(Vt, r(() => Bt(D(e))));
3680
3681
  }, Z = () => {
3681
- let e = d(Bt, Vt);
3682
+ let e = d(Vt, Ht);
3682
3683
  return { t: (t, n) => e.value(t, n) };
3683
- }, Ut = { install(e, t = "en") {
3684
- e.provide(Bt, r(() => zt(D(t))));
3685
- } }, Wt = ["disabled"], Gt = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", Kt = /* @__PURE__ */ u({
3684
+ }, Wt = { install(e, t = "en") {
3685
+ e.provide(Vt, r(() => Bt(D(t))));
3686
+ } }, Gt = ["disabled"], Kt = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", qt = /* @__PURE__ */ u({
3686
3687
  __name: "Button",
3687
3688
  props: {
3688
3689
  variant: { default: "default" },
@@ -3711,7 +3712,7 @@ var Rt = "en", zt = (e) => Lt({
3711
3712
  xs: "h-7 rounded-md px-2 text-xs",
3712
3713
  "icon-xs": "h-7 w-7"
3713
3714
  }, a = r(() => [
3714
- Gt,
3715
+ Kt,
3715
3716
  n[t.variant],
3716
3717
  i[t.size],
3717
3718
  t.className
@@ -3721,9 +3722,9 @@ var Rt = "en", zt = (e) => Lt({
3721
3722
  class: h(a.value),
3722
3723
  disabled: e.disabled,
3723
3724
  onClick: n[0] ||= (e) => t.$emit("click", e)
3724
- }, [w(t.$slots, "default")], 10, Wt));
3725
+ }, [w(t.$slots, "default")], 10, Gt));
3725
3726
  }
3726
- }), qt = ["checked"], Jt = /*#__PURE__*/ H(/* @__PURE__ */ u({
3727
+ }), Jt = ["checked"], Yt = /*#__PURE__*/ V(/* @__PURE__ */ u({
3727
3728
  __name: "Checkbox",
3728
3729
  props: {
3729
3730
  checked: { type: Boolean },
@@ -3740,39 +3741,39 @@ var Rt = "en", zt = (e) => Lt({
3740
3741
  class: h(["folio-default-checkbox", e.className]),
3741
3742
  checked: e.checked,
3742
3743
  onChange: r
3743
- }, null, 42, qt));
3744
+ }, null, 42, Jt));
3744
3745
  }
3745
- }), [["__scopeId", "data-v-2e4f5470"]]), Yt = [
3746
+ }), [["__scopeId", "data-v-2e4f5470"]]), Xt = [
3746
3747
  "disabled",
3747
3748
  "title",
3748
3749
  "aria-label"
3749
- ], Xt = [
3750
+ ], Zt = [
3750
3751
  "disabled",
3751
3752
  "title",
3752
3753
  "aria-label",
3753
3754
  "aria-expanded"
3754
- ], Zt = [
3755
+ ], Qt = [
3755
3756
  "disabled",
3756
3757
  "title",
3757
3758
  "aria-label",
3758
3759
  "aria-expanded"
3759
- ], Qt = { class: "docx-color-picker__button-stack" }, $t = ["aria-label"], en = {
3760
+ ], $t = { class: "docx-color-picker__button-stack" }, en = ["aria-label"], tn = {
3760
3761
  key: 0,
3761
3762
  class: "docx-color-picker__auto-icon docx-color-picker__auto-icon--none"
3762
- }, tn = {
3763
+ }, nn = {
3763
3764
  key: 1,
3764
3765
  class: "docx-color-picker__auto-icon docx-color-picker__auto-icon--auto"
3765
- }, nn = { class: "docx-color-picker__section-label" }, rn = { class: "docx-color-picker__grid" }, an = [
3766
+ }, rn = { class: "docx-color-picker__section-label" }, an = { class: "docx-color-picker__grid" }, on = [
3766
3767
  "title",
3767
3768
  "aria-label",
3768
3769
  "aria-selected",
3769
3770
  "onClick"
3770
- ], on = { class: "docx-color-picker__section-label" }, sn = { class: "docx-color-picker__grid" }, cn = [
3771
+ ], sn = { class: "docx-color-picker__section-label" }, cn = { class: "docx-color-picker__grid" }, ln = [
3771
3772
  "title",
3772
3773
  "aria-label",
3773
3774
  "aria-selected",
3774
3775
  "onClick"
3775
- ], ln = { class: "docx-color-picker__section-label" }, un = { class: "docx-color-picker__custom" }, dn = ["onKeydown"], fn = ["disabled"], pn = /*#__PURE__*/ H(/* @__PURE__ */ u({
3776
+ ], un = { class: "docx-color-picker__section-label" }, dn = { class: "docx-color-picker__custom" }, fn = ["onKeydown"], pn = ["disabled"], mn = /*#__PURE__*/ V(/* @__PURE__ */ u({
3776
3777
  __name: "ColorPicker",
3777
3778
  props: {
3778
3779
  mode: {},
@@ -3838,7 +3839,7 @@ var Rt = "en", zt = (e) => Lt({
3838
3839
  }
3839
3840
  ];
3840
3841
  function p(e) {
3841
- return e ? typeof e == "string" ? i.mode === "highlight" ? ne(e) || (e === "none" ? "transparent" : e.startsWith("#") ? e : `#${e}`) : e.startsWith("#") ? e : `#${e}` : z(e, i.theme) : i.mode === "text" || i.mode === "border" ? "#000000" : "transparent";
3842
+ return e ? typeof e == "string" ? i.mode === "highlight" ? ie(e) || (e === "none" ? "transparent" : e.startsWith("#") ? e : `#${e}`) : e.startsWith("#") ? e : `#${e}` : ne(e, i.theme) : i.mode === "text" || i.mode === "border" ? "#000000" : "transparent";
3842
3843
  }
3843
3844
  function m(e) {
3844
3845
  return /^[0-9A-Fa-f]{6}$/.test(e.replace(/^#/, ""));
@@ -3850,7 +3851,7 @@ var Rt = "en", zt = (e) => Lt({
3850
3851
  return (n * 299 + r * 587 + i * 114) / 1e3 > 230;
3851
3852
  }
3852
3853
  function x(e, t) {
3853
- return e ? (typeof e == "string" ? e.replace(/^#/, "").toUpperCase() : te(e, i.theme)) === t.toUpperCase() : !1;
3854
+ return e ? (typeof e == "string" ? e.replace(/^#/, "").toUpperCase() : re(e, i.theme)) === t.toUpperCase() : !1;
3854
3855
  }
3855
3856
  function w(e) {
3856
3857
  return e === "highlight" ? "FFFF00" : e === "border" ? { rgb: "000000" } : { rgb: "FF0000" };
@@ -3861,10 +3862,10 @@ var Rt = "en", zt = (e) => Lt({
3861
3862
  function D(e) {
3862
3863
  return e === "text" ? "format_color_text" : e === "highlight" ? "ink_highlighter" : "border_color";
3863
3864
  }
3864
- let k = S(!1), A = S(""), j = S(null), P = S(null), R = S(i.defaultColor ?? w(i.mode)), re = r(() => ee(i.theme?.colorScheme ?? null)), ie = r(() => re.value.flatMap((e, t) => e.map((e, n) => ({
3865
+ let k = S(!1), A = S(""), j = S(null), P = S(null), R = S(i.defaultColor ?? w(i.mode)), ee = r(() => te(i.theme?.colorScheme ?? null)), ae = r(() => ee.value.flatMap((e, t) => e.map((e, n) => ({
3865
3866
  ...e,
3866
3867
  key: `${t}-${n}`
3867
- })))), B = r(() => p(i.value)), V = r(() => p(R.value)), H = r(() => E(i.mode)), ae = r(() => i.icon ?? D(i.mode));
3868
+ })))), oe = r(() => p(i.value)), z = r(() => p(R.value)), B = r(() => E(i.mode)), V = r(() => i.icon ?? D(i.mode));
3868
3869
  N(() => [
3869
3870
  i.value,
3870
3871
  i.mode,
@@ -3873,55 +3874,55 @@ var Rt = "en", zt = (e) => Lt({
3873
3874
  let e = p(i.value).replace(/^#/, "");
3874
3875
  /^[0-9A-Fa-f]{6}$/.test(e) && (A.value = e.toUpperCase());
3875
3876
  }, { immediate: !0 });
3876
- let oe = S({});
3877
- function se() {
3877
+ let se = S({});
3878
+ function ce() {
3878
3879
  let e = j.value;
3879
3880
  if (!e) return;
3880
3881
  let t = e.getBoundingClientRect();
3881
- oe.value = {
3882
+ se.value = {
3882
3883
  top: `${t.bottom + 4}px`,
3883
3884
  left: `${t.left}px`
3884
3885
  };
3885
3886
  }
3886
- function W() {
3887
- i.disabled || (k.value || se(), k.value = !k.value);
3887
+ function le() {
3888
+ i.disabled || (k.value || ce(), k.value = !k.value);
3888
3889
  }
3889
- function G(e, t = !0) {
3890
+ function U(e, t = !0) {
3890
3891
  t && (R.value = e), u("change", e), k.value = !1;
3891
3892
  }
3892
- function ce() {
3893
+ function ue() {
3893
3894
  i.disabled || u("change", R.value);
3894
3895
  }
3895
- function le(e) {
3896
+ function de(e) {
3896
3897
  if (i.mode === "highlight") {
3897
- G(e.hex);
3898
+ U(e.hex);
3898
3899
  return;
3899
3900
  }
3900
3901
  let t = {
3901
3902
  themeColor: e.themeSlot,
3902
3903
  rgb: e.hex
3903
3904
  };
3904
- e.tint && (t.themeTint = e.tint), e.shade && (t.themeShade = e.shade), G(t);
3905
+ e.tint && (t.themeTint = e.tint), e.shade && (t.themeShade = e.shade), U(t);
3905
3906
  }
3906
- function K(e) {
3907
- G(i.mode === "highlight" ? e : { rgb: e });
3907
+ function W(e) {
3908
+ U(i.mode === "highlight" ? e : { rgb: e });
3908
3909
  }
3909
- function ue() {
3910
- G(i.mode === "highlight" ? "none" : { auto: !0 }, !1);
3910
+ function G() {
3911
+ U(i.mode === "highlight" ? "none" : { auto: !0 }, !1);
3911
3912
  }
3912
- function de() {
3913
+ function fe() {
3913
3914
  let e = A.value.replace(/^#/, "").toUpperCase();
3914
- m(e) && (G(i.mode === "highlight" ? e : { rgb: e }), A.value = "");
3915
+ m(e) && (U(i.mode === "highlight" ? e : { rgb: e }), A.value = "");
3915
3916
  }
3916
- function fe(e) {
3917
+ function pe(e) {
3917
3918
  e.target instanceof HTMLInputElement || e.preventDefault();
3918
3919
  }
3919
- function pe(e) {
3920
+ function me(e) {
3920
3921
  if (!k.value) return;
3921
3922
  let t = e.target;
3922
3923
  t instanceof Node && (j.value?.contains(t) || P.value?.contains(t) || (k.value = !1));
3923
3924
  }
3924
- return v(() => document.addEventListener("mousedown", pe)), _(() => document.removeEventListener("mousedown", pe)), (n, r) => (y(), o("div", {
3925
+ return v(() => document.addEventListener("mousedown", me)), _(() => document.removeEventListener("mousedown", me)), (n, r) => (y(), o("div", {
3925
3926
  ref_key: "containerRef",
3926
3927
  ref: j,
3927
3928
  class: h(["docx-color-picker", e.className]),
@@ -3933,68 +3934,68 @@ var Rt = "en", zt = (e) => Lt({
3933
3934
  type: "button",
3934
3935
  class: "docx-color-picker__apply",
3935
3936
  disabled: e.disabled,
3936
- title: e.title ?? H.value,
3937
- "aria-label": e.title ?? H.value,
3937
+ title: e.title ?? B.value,
3938
+ "aria-label": e.title ?? B.value,
3938
3939
  onMousedown: r[0] ||= L(() => {}, ["prevent"]),
3939
- onClick: ce
3940
- }, [l(U, {
3941
- name: ae.value,
3940
+ onClick: ue
3941
+ }, [l(H, {
3942
+ name: V.value,
3942
3943
  size: 18
3943
3944
  }, null, 8, ["name"]), s("span", {
3944
- class: h(["docx-color-picker__bar", { "is-light": V.value === "transparent" || b(V.value) }]),
3945
- style: g({ background: V.value === "transparent" ? "#fff" : V.value })
3946
- }, null, 6)], 40, Yt), s("button", {
3945
+ class: h(["docx-color-picker__bar", { "is-light": z.value === "transparent" || b(z.value) }]),
3946
+ style: g({ background: z.value === "transparent" ? "#fff" : z.value })
3947
+ }, null, 6)], 40, Xt), s("button", {
3947
3948
  type: "button",
3948
3949
  class: h(["docx-color-picker__arrow", { "is-open": k.value }]),
3949
3950
  disabled: e.disabled,
3950
- title: e.title ?? H.value,
3951
- "aria-label": e.title ?? H.value,
3951
+ title: e.title ?? B.value,
3952
+ "aria-label": e.title ?? B.value,
3952
3953
  "aria-haspopup": "true",
3953
3954
  "aria-expanded": k.value,
3954
3955
  onMousedown: r[1] ||= L(() => {}, ["prevent"]),
3955
- onClick: W
3956
- }, [l(U, {
3956
+ onClick: le
3957
+ }, [l(H, {
3957
3958
  name: "arrow_drop_down",
3958
3959
  size: 18
3959
- })], 42, Xt)], 2)) : (y(), o("button", {
3960
+ })], 42, Zt)], 2)) : (y(), o("button", {
3960
3961
  key: 1,
3961
3962
  type: "button",
3962
3963
  class: h(["docx-color-picker__button", { "is-open": k.value }]),
3963
3964
  disabled: e.disabled,
3964
- title: e.title ?? H.value,
3965
- "aria-label": e.title ?? H.value,
3965
+ title: e.title ?? B.value,
3966
+ "aria-label": e.title ?? B.value,
3966
3967
  "aria-haspopup": "true",
3967
3968
  "aria-expanded": k.value,
3968
3969
  onMousedown: r[2] ||= L(() => {}, ["prevent"]),
3969
- onClick: W
3970
- }, [s("span", Qt, [l(U, {
3971
- name: ae.value,
3970
+ onClick: le
3971
+ }, [s("span", $t, [l(H, {
3972
+ name: V.value,
3972
3973
  size: 18
3973
3974
  }, null, 8, ["name"]), s("span", {
3974
- class: h(["docx-color-picker__bar", { "is-light": B.value === "transparent" || b(B.value) }]),
3975
- style: g({ background: B.value === "transparent" ? "#fff" : B.value })
3976
- }, null, 6)]), l(U, {
3975
+ class: h(["docx-color-picker__bar", { "is-light": oe.value === "transparent" || b(oe.value) }]),
3976
+ style: g({ background: oe.value === "transparent" ? "#fff" : oe.value })
3977
+ }, null, 6)]), l(H, {
3977
3978
  name: "arrow_drop_down",
3978
3979
  size: 14
3979
- })], 42, Zt)), k.value && !e.disabled ? (y(), o("div", {
3980
+ })], 42, Qt)), k.value && !e.disabled ? (y(), o("div", {
3980
3981
  key: 2,
3981
3982
  ref_key: "panelRef",
3982
3983
  ref: P,
3983
3984
  class: "docx-color-picker__panel",
3984
- style: g(oe.value),
3985
+ style: g(se.value),
3985
3986
  role: "dialog",
3986
- "aria-label": O(d)("colorPicker.ariaLabel", { type: H.value }),
3987
- onMousedown: fe
3987
+ "aria-label": O(d)("colorPicker.ariaLabel", { type: B.value }),
3988
+ onMousedown: pe
3988
3989
  }, [
3989
3990
  s("button", {
3990
3991
  type: "button",
3991
3992
  class: "docx-color-picker__auto",
3992
3993
  onMousedown: r[3] ||= L(() => {}, ["prevent"]),
3993
- onClick: ue
3994
- }, [e.mode === "highlight" ? (y(), o("span", en, [...r[10] ||= [s("span", { class: "docx-color-picker__auto-slash" }, null, -1)]])) : (y(), o("span", tn)), c(" " + T(e.autoLabel ?? (e.mode === "highlight" ? O(d)("colorPicker.noColor") : O(d)("colorPicker.automatic"))), 1)], 32),
3994
+ onClick: G
3995
+ }, [e.mode === "highlight" ? (y(), o("span", tn, [...r[10] ||= [s("span", { class: "docx-color-picker__auto-slash" }, null, -1)]])) : (y(), o("span", nn)), c(" " + T(e.autoLabel ?? (e.mode === "highlight" ? O(d)("colorPicker.noColor") : O(d)("colorPicker.automatic"))), 1)], 32),
3995
3996
  r[12] ||= s("div", { class: "docx-color-picker__divider" }, null, -1),
3996
- s("div", nn, T(O(d)("colorPicker.themeColors")), 1),
3997
- s("div", rn, [(y(!0), o(t, null, C(ie.value, (t) => (y(), o("button", {
3997
+ s("div", rn, T(O(d)("colorPicker.themeColors")), 1),
3998
+ s("div", an, [(y(!0), o(t, null, C(ae.value, (t) => (y(), o("button", {
3998
3999
  key: t.key,
3999
4000
  type: "button",
4000
4001
  class: h(["docx-color-picker__cell", { "is-selected": x(e.value, t.hex) }]),
@@ -4003,11 +4004,11 @@ var Rt = "en", zt = (e) => Lt({
4003
4004
  "aria-label": t.label,
4004
4005
  "aria-selected": x(e.value, t.hex),
4005
4006
  onMousedown: r[4] ||= L(() => {}, ["prevent"]),
4006
- onClick: (e) => le(t)
4007
- }, null, 46, an))), 128))]),
4007
+ onClick: (e) => de(t)
4008
+ }, null, 46, on))), 128))]),
4008
4009
  r[13] ||= s("div", { class: "docx-color-picker__divider" }, null, -1),
4009
- s("div", on, T(O(d)("colorPicker.standardColors")), 1),
4010
- s("div", sn, [(y(), o(t, null, C(f, (t) => s("button", {
4010
+ s("div", sn, T(O(d)("colorPicker.standardColors")), 1),
4011
+ s("div", cn, [(y(), o(t, null, C(f, (t) => s("button", {
4011
4012
  key: t.hex,
4012
4013
  type: "button",
4013
4014
  class: h(["docx-color-picker__cell", { "is-selected": x(e.value, t.hex) }]),
@@ -4016,11 +4017,11 @@ var Rt = "en", zt = (e) => Lt({
4016
4017
  "aria-label": O(d)(t.nameKey),
4017
4018
  "aria-selected": x(e.value, t.hex),
4018
4019
  onMousedown: r[5] ||= L(() => {}, ["prevent"]),
4019
- onClick: (e) => K(t.hex)
4020
- }, null, 46, cn)), 64))]),
4020
+ onClick: (e) => W(t.hex)
4021
+ }, null, 46, ln)), 64))]),
4021
4022
  r[14] ||= s("div", { class: "docx-color-picker__divider" }, null, -1),
4022
- s("div", ln, T(O(d)("colorPicker.customColor")), 1),
4023
- s("div", un, [
4023
+ s("div", un, T(O(d)("colorPicker.customColor")), 1),
4024
+ s("div", dn, [
4024
4025
  r[11] ||= s("span", { class: "docx-color-picker__hash" }, "#", -1),
4025
4026
  F(s("input", {
4026
4027
  "onUpdate:modelValue": r[6] ||= (e) => A.value = e,
@@ -4030,20 +4031,20 @@ var Rt = "en", zt = (e) => Lt({
4030
4031
  maxlength: "6",
4031
4032
  "aria-label": "Custom hex color",
4032
4033
  onInput: r[7] ||= (e) => A.value = A.value.replace(/[^0-9A-Fa-f]/g, "").slice(0, 6),
4033
- onKeydown: I(L(de, ["prevent"]), ["enter"]),
4034
+ onKeydown: I(L(fe, ["prevent"]), ["enter"]),
4034
4035
  onMousedown: r[8] ||= L(() => {}, ["stop"])
4035
- }, null, 40, dn), [[M, A.value]]),
4036
+ }, null, 40, fn), [[M, A.value]]),
4036
4037
  s("button", {
4037
4038
  type: "button",
4038
4039
  class: "docx-color-picker__apply-btn",
4039
4040
  disabled: !m(A.value),
4040
4041
  onMousedown: r[9] ||= L(() => {}, ["prevent"]),
4041
- onClick: de
4042
- }, T(O(d)("common.apply")), 41, fn)
4042
+ onClick: fe
4043
+ }, T(O(d)("common.apply")), 41, pn)
4043
4044
  ])
4044
- ], 44, $t)) : a("", !0)], 6));
4045
+ ], 44, en)) : a("", !0)], 6));
4045
4046
  }
4046
- }), [["__scopeId", "data-v-ea554ffa"]]), mn = ["value", "autofocus"], hn = /*#__PURE__*/ H(/* @__PURE__ */ u({
4047
+ }), [["__scopeId", "data-v-ea554ffa"]]), hn = ["value", "autofocus"], gn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4047
4048
  __name: "DatePickerPopover",
4048
4049
  props: {
4049
4050
  value: {},
@@ -4068,9 +4069,9 @@ var Rt = "en", zt = (e) => Lt({
4068
4069
  value: s.value,
4069
4070
  autofocus: e.defaultOpen,
4070
4071
  onChange: c
4071
- }, null, 40, mn));
4072
+ }, null, 40, hn));
4072
4073
  }
4073
- }), [["__scopeId", "data-v-3101462d"]]), gn = ["aria-label"], _n = /*#__PURE__*/ H(/* @__PURE__ */ u({
4074
+ }), [["__scopeId", "data-v-3101462d"]]), _n = ["aria-label"], vn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4074
4075
  inheritAttrs: !1,
4075
4076
  __name: "Dialog",
4076
4077
  props: {
@@ -4103,9 +4104,9 @@ var Rt = "en", zt = (e) => Lt({
4103
4104
  }, t.$attrs, {
4104
4105
  onKeydown: I(l, ["escape"]),
4105
4106
  onMousedown: r[0] ||= L(() => {}, ["stop"])
4106
- }), [w(t.$slots, "default", {}, void 0, !0)], 16, gn)], 34)) : a("", !0)]));
4107
+ }), [w(t.$slots, "default", {}, void 0, !0)], 16, _n)], 34)) : a("", !0)]));
4107
4108
  }
4108
- }), [["__scopeId", "data-v-76309dbc"]]), vn = ["value"], yn = /*#__PURE__*/ H(/* @__PURE__ */ u({
4109
+ }), [["__scopeId", "data-v-76309dbc"]]), yn = ["value"], bn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4109
4110
  __name: "Input",
4110
4111
  props: {
4111
4112
  modelValue: {},
@@ -4128,9 +4129,9 @@ var Rt = "en", zt = (e) => Lt({
4128
4129
  class: h(["folio-default-input", [e.className, e.size && `folio-default-input--${e.size}`]]),
4129
4130
  value: e.modelValue,
4130
4131
  onInput: i
4131
- }, null, 42, vn));
4132
+ }, null, 42, yn));
4132
4133
  }
4133
- }), [["__scopeId", "data-v-a34b139d"]]), bn = 4, xn = /*#__PURE__*/ H(/* @__PURE__ */ u({
4134
+ }), [["__scopeId", "data-v-a34b139d"]]), xn = 4, Sn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4134
4135
  __name: "Popover",
4135
4136
  props: {
4136
4137
  open: { type: Boolean },
@@ -4149,7 +4150,7 @@ var Rt = "en", zt = (e) => Lt({
4149
4150
  let e = i.value;
4150
4151
  if (!e) return;
4151
4152
  let t = e.getBoundingClientRect(), r = { position: "fixed" };
4152
- n.placement.startsWith("top") ? (r.bottom = `${Math.round(window.innerHeight - t.top + bn)}px`, r.top = "auto") : (r.top = `${Math.round(t.bottom + bn)}px`, r.bottom = "auto"), n.placement.endsWith("right") ? (r.right = `${Math.round(window.innerWidth - t.right)}px`, r.left = "auto") : (r.left = `${Math.round(t.left)}px`, r.right = "auto"), c.value = r;
4153
+ n.placement.startsWith("top") ? (r.bottom = `${Math.round(window.innerHeight - t.top + xn)}px`, r.top = "auto") : (r.top = `${Math.round(t.bottom + xn)}px`, r.bottom = "auto"), n.placement.endsWith("right") ? (r.right = `${Math.round(window.innerWidth - t.right)}px`, r.left = "auto") : (r.left = `${Math.round(t.left)}px`, r.right = "auto"), c.value = r;
4153
4154
  }
4154
4155
  function u() {
4155
4156
  r("update:open", !n.open), n.open && r("close");
@@ -4197,19 +4198,19 @@ var Rt = "en", zt = (e) => Lt({
4197
4198
  onMousedown: n[0] ||= L(() => {}, ["stop"])
4198
4199
  }, [w(t.$slots, "panel", {}, void 0, !0)], 38)) : a("", !0)], 512));
4199
4200
  }
4200
- }), [["__scopeId", "data-v-ba324b19"]]), Sn = ["disabled", "onClick"], Cn = {
4201
+ }), [["__scopeId", "data-v-ba324b19"]]), Cn = ["disabled", "onClick"], wn = {
4201
4202
  key: 0,
4202
4203
  class: "docx-menu-dropdown__separator"
4203
- }, wn = ["onMouseenter", "onMouseleave"], Tn = ["disabled", "onClick"], En = { class: "docx-menu-dropdown__label" }, Dn = {
4204
+ }, Tn = ["onMouseenter", "onMouseleave"], En = ["disabled", "onClick"], Dn = { class: "docx-menu-dropdown__label" }, On = {
4204
4205
  key: 1,
4205
4206
  class: "docx-menu-dropdown__shortcut"
4206
- }, On = {
4207
+ }, kn = {
4207
4208
  key: 2,
4208
4209
  class: "docx-menu-dropdown__chevron"
4209
- }, kn = {
4210
+ }, An = {
4210
4211
  key: 0,
4211
4212
  class: "docx-menu-dropdown__submenu"
4212
- }, An = /*#__PURE__*/ H(/* @__PURE__ */ u({
4213
+ }, jn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4213
4214
  __name: "MenuDropdown",
4214
4215
  props: {
4215
4216
  label: {},
@@ -4231,7 +4232,7 @@ var Rt = "en", zt = (e) => Lt({
4231
4232
  function f(e) {
4232
4233
  e.disabled || e.submenu || (e.onClick?.(), d());
4233
4234
  }
4234
- return (p, m) => (y(), i(xn, {
4235
+ return (p, m) => (y(), i(Sn, {
4235
4236
  open: r.value,
4236
4237
  "onUpdate:open": m[2] ||= (e) => r.value = e,
4237
4238
  onClose: d
@@ -4242,15 +4243,15 @@ var Rt = "en", zt = (e) => Lt({
4242
4243
  disabled: e.disabled,
4243
4244
  onMousedown: m[0] ||= L(() => {}, ["prevent"]),
4244
4245
  onClick: L(t, ["prevent"])
4245
- }, [c(T(e.label) + " ", 1), e.showChevron ? (y(), i(U, {
4246
+ }, [c(T(e.label) + " ", 1), e.showChevron ? (y(), i(H, {
4246
4247
  key: 0,
4247
4248
  name: "arrow_drop_down",
4248
4249
  size: 16
4249
- })) : a("", !0)], 42, Sn)]),
4250
+ })) : a("", !0)], 42, Cn)]),
4250
4251
  panel: P(() => [s("div", {
4251
4252
  class: "docx-menu-dropdown__menu",
4252
4253
  onMousedown: m[1] ||= L(() => {}, ["prevent"])
4253
- }, [(y(!0), o(t, null, C(e.items, (e, r) => (y(), o(t, { key: r }, [n(e) ? (y(), o("div", Cn)) : (y(), o("div", {
4254
+ }, [(y(!0), o(t, null, C(e.items, (e, r) => (y(), o(t, { key: r }, [n(e) ? (y(), o("div", wn)) : (y(), o("div", {
4254
4255
  key: 1,
4255
4256
  class: "docx-menu-dropdown__wrap",
4256
4257
  onMouseenter: (t) => e.submenu ? u.value = r : void 0,
@@ -4261,29 +4262,29 @@ var Rt = "en", zt = (e) => Lt({
4261
4262
  disabled: e.disabled,
4262
4263
  onClick: L((t) => f(e), ["prevent"])
4263
4264
  }, [
4264
- e.icon ? (y(), i(U, {
4265
+ e.icon ? (y(), i(H, {
4265
4266
  key: 0,
4266
4267
  name: e.icon,
4267
4268
  size: 18
4268
4269
  }, null, 8, ["name"])) : a("", !0),
4269
- s("span", En, T(e.label), 1),
4270
- e.shortcut ? (y(), o("span", Dn, T(e.shortcut), 1)) : a("", !0),
4271
- e.submenu ? (y(), o("span", On, [l(U, {
4270
+ s("span", Dn, T(e.label), 1),
4271
+ e.shortcut ? (y(), o("span", On, T(e.shortcut), 1)) : a("", !0),
4272
+ e.submenu ? (y(), o("span", kn, [l(H, {
4272
4273
  name: "keyboard_arrow_right",
4273
4274
  size: 16
4274
4275
  })])) : a("", !0)
4275
- ], 10, Tn), e.submenu && u.value === r ? (y(), o("div", kn, [w(p.$slots, "submenu", {
4276
+ ], 10, En), e.submenu && u.value === r ? (y(), o("div", An, [w(p.$slots, "submenu", {
4276
4277
  item: e,
4277
4278
  closeMenu: d
4278
- }, void 0, !0)])) : a("", !0)], 40, wn))], 64))), 128))], 32)]),
4279
+ }, void 0, !0)])) : a("", !0)], 40, Tn))], 64))), 128))], 32)]),
4279
4280
  _: 3
4280
4281
  }, 8, ["open"]));
4281
4282
  }
4282
- }), [["__scopeId", "data-v-3a0c2cb3"]]), jn = ["aria-label"], Mn = [
4283
+ }), [["__scopeId", "data-v-3a0c2cb3"]]), Mn = ["aria-label"], Nn = [
4283
4284
  "aria-current",
4284
4285
  "title",
4285
4286
  "onMousedown"
4286
- ], Nn = /*#__PURE__*/ H(/* @__PURE__ */ u({
4287
+ ], Pn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4287
4288
  __name: "OutlineRail",
4288
4289
  props: {
4289
4290
  items: {},
@@ -4309,13 +4310,13 @@ var Rt = "en", zt = (e) => Lt({
4309
4310
  style: g({ paddingInlineStart: `${t.level * 16 + 8}px` }),
4310
4311
  title: t.label,
4311
4312
  onMousedown: L((e) => r(t.id), ["prevent"])
4312
- }, T(t.label), 47, Mn)]))), 128))], 8, jn)) : a("", !0);
4313
+ }, T(t.label), 47, Nn)]))), 128))], 8, Mn)) : a("", !0);
4313
4314
  }
4314
- }), [["__scopeId", "data-v-400d7e43"]]), Pn = ["disabled", "value"], Fn = {
4315
+ }), [["__scopeId", "data-v-400d7e43"]]), Fn = ["disabled", "value"], In = {
4315
4316
  key: 0,
4316
4317
  disabled: "",
4317
4318
  value: ""
4318
- }, In = ["disabled", "value"], Ln = /*#__PURE__*/ H(/* @__PURE__ */ u({
4319
+ }, Ln = ["disabled", "value"], Rn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4319
4320
  __name: "Select",
4320
4321
  props: {
4321
4322
  value: {},
@@ -4335,49 +4336,49 @@ var Rt = "en", zt = (e) => Lt({
4335
4336
  disabled: e.disabled,
4336
4337
  value: e.value,
4337
4338
  onChange: i
4338
- }, [e.placeholder && e.value === void 0 ? (y(), o("option", Fn, T(e.placeholder), 1)) : a("", !0), (y(!0), o(t, null, C(e.items, (e) => (y(), o("option", {
4339
+ }, [e.placeholder && e.value === void 0 ? (y(), o("option", In, T(e.placeholder), 1)) : a("", !0), (y(!0), o(t, null, C(e.items, (e) => (y(), o("option", {
4339
4340
  key: e.value,
4340
4341
  disabled: e.disabled,
4341
4342
  value: e.value
4342
- }, T(e.label), 9, In))), 128))], 42, Pn));
4343
+ }, T(e.label), 9, Ln))), 128))], 42, Fn));
4343
4344
  }
4344
- }), [["__scopeId", "data-v-ce79245b"]]), Rn = {
4345
- Button: Kt,
4346
- Dialog: _n,
4347
- Select: Ln,
4348
- Menu: An,
4349
- Popover: xn,
4350
- Input: yn,
4351
- Checkbox: Jt,
4352
- ColorPicker: pn,
4353
- DatePickerPopover: hn,
4354
- OutlineRail: Nn
4355
- }, zn = Symbol("folio-ui-components");
4356
- function Bn(e) {
4345
+ }), [["__scopeId", "data-v-ce79245b"]]), zn = {
4346
+ Button: qt,
4347
+ Dialog: vn,
4348
+ Select: Rn,
4349
+ Menu: jn,
4350
+ Popover: Sn,
4351
+ Input: bn,
4352
+ Checkbox: Yt,
4353
+ ColorPicker: mn,
4354
+ DatePickerPopover: gn,
4355
+ OutlineRail: Pn
4356
+ }, Bn = Symbol("folio-ui-components");
4357
+ function Vn(e) {
4357
4358
  return e ? {
4358
- ...Rn,
4359
+ ...zn,
4359
4360
  ...e
4360
- } : Rn;
4361
+ } : zn;
4361
4362
  }
4362
- function Vn(e) {
4363
- b(zn, Bn(e));
4363
+ function Hn(e) {
4364
+ b(Bn, Vn(e));
4364
4365
  }
4365
4366
  function Q() {
4366
- return d(zn, Rn);
4367
+ return d(Bn, zn);
4367
4368
  }
4368
- var Hn = u({
4369
+ var Un = u({
4369
4370
  name: "FolioUIProvider",
4370
4371
  props: { components: {
4371
4372
  type: Object,
4372
4373
  default: void 0
4373
4374
  } },
4374
4375
  setup(e, { slots: t }) {
4375
- return Vn(e.components), () => t.default?.();
4376
+ return Hn(e.components), () => t.default?.();
4376
4377
  }
4377
- }), Un = { class: "find-replace-dialog__header" }, Wn = { class: "find-replace-dialog__title" }, Gn = { class: "find-replace-dialog__body" }, Kn = { class: "find-replace-dialog__row" }, qn = { class: "find-replace-dialog__count" }, Jn = { class: "find-replace-dialog__options" }, Yn = {
4378
+ }), Wn = { class: "find-replace-dialog__header" }, Gn = { class: "find-replace-dialog__title" }, Kn = { class: "find-replace-dialog__body" }, qn = { class: "find-replace-dialog__row" }, Jn = { class: "find-replace-dialog__count" }, Yn = { class: "find-replace-dialog__options" }, Xn = {
4378
4379
  key: 0,
4379
4380
  class: "find-replace-dialog__row"
4380
- }, Xn = /*#__PURE__*/ H(/* @__PURE__ */ u({
4381
+ }, Zn = /*#__PURE__*/ V(/* @__PURE__ */ u({
4381
4382
  __name: "FindReplaceDialog",
4382
4383
  props: {
4383
4384
  isOpen: { type: Boolean },
@@ -4389,18 +4390,18 @@ var Hn = u({
4389
4390
  let { t: i } = Z(), { Button: u, Input: d, Checkbox: p } = Q(), g = t, _ = n, v = S(null), b = S(!1), { searchText: x, replaceText: C, options: w, matches: D, currentIndex: k, performSearch: A, findNext: j, findPrevious: M, replaceCurrent: F, replaceAll: R, clear: ee } = e({
4390
4391
  editorView: E(g, "view"),
4391
4392
  scrollVisiblePositionIntoView: (e) => g.scrollVisiblePositionIntoView?.(e)
4392
- }), z = E(w, "matchCase"), te = E(w, "matchWholeWord"), ne = r(() => x.value.trim() ? D.value.length === 0 ? i("findReplace.noResults") : k.value < 0 ? i("dialogs.findReplace.matchesFound", { total: D.value.length }) : i("findReplace.matchCounter", {
4393
+ }), te = E(w, "matchCase"), ne = E(w, "matchWholeWord"), re = r(() => x.value.trim() ? D.value.length === 0 ? i("findReplace.noResults") : k.value < 0 ? i("dialogs.findReplace.matchesFound", { total: D.value.length }) : i("findReplace.matchCounter", {
4393
4394
  current: k.value + 1,
4394
4395
  total: D.value.length
4395
4396
  }) : "");
4396
4397
  N(() => g.isOpen, async (e) => {
4397
4398
  e ? (await m(), v.value?.focus(), v.value?.select(), A()) : ee();
4398
4399
  });
4399
- function re() {
4400
+ function ie() {
4400
4401
  ee(), _("close");
4401
4402
  }
4402
- function ie(e) {
4403
- e.key === "Enter" ? (e.preventDefault(), e.shiftKey ? M() : j()) : e.key === "Escape" && re();
4403
+ function ae(e) {
4404
+ e.key === "Enter" ? (e.preventDefault(), e.shiftKey ? M() : j()) : e.key === "Escape" && ie();
4404
4405
  }
4405
4406
  return (e, n) => t.isOpen ? (y(), o("div", {
4406
4407
  key: 0,
@@ -4408,17 +4409,17 @@ var Hn = u({
4408
4409
  "data-testid": "find-replace-dialog",
4409
4410
  onMousedown: n[5] ||= L(() => {}, ["stop"]),
4410
4411
  onKeydown: n[6] ||= L(() => {}, ["stop"])
4411
- }, [s("div", Un, [s("span", Wn, T(b.value ? O(i)("findReplace.findAndReplace") : O(i)("findReplace.find")), 1), l(O(u), {
4412
+ }, [s("div", Wn, [s("span", Gn, T(b.value ? O(i)("findReplace.findAndReplace") : O(i)("findReplace.find")), 1), l(O(u), {
4412
4413
  class: "find-replace-dialog__close",
4413
4414
  variant: "ghost",
4414
4415
  size: "icon-xs",
4415
- onClick: re,
4416
+ onClick: ie,
4416
4417
  title: O(i)("findReplace.close")
4417
4418
  }, {
4418
4419
  default: P(() => [...n[7] ||= [c(" ✕ ", -1)]]),
4419
4420
  _: 1
4420
- }, 8, ["title"])]), s("div", Gn, [
4421
- s("div", Kn, [
4421
+ }, 8, ["title"])]), s("div", Kn, [
4422
+ s("div", qn, [
4422
4423
  l(O(d), {
4423
4424
  ref_key: "searchInputRef",
4424
4425
  ref: v,
@@ -4428,7 +4429,7 @@ var Hn = u({
4428
4429
  "data-testid": "find-input",
4429
4430
  placeholder: O(i)("findReplace.findPlaceholder"),
4430
4431
  "aria-label": O(i)("findReplace.findText"),
4431
- onKeydown: ie,
4432
+ onKeydown: ae,
4432
4433
  onInput: O(A)
4433
4434
  }, null, 8, [
4434
4435
  "modelValue",
@@ -4436,7 +4437,7 @@ var Hn = u({
4436
4437
  "aria-label",
4437
4438
  "onInput"
4438
4439
  ]),
4439
- s("span", qn, T(ne.value), 1),
4440
+ s("span", Jn, T(re.value), 1),
4440
4441
  l(O(u), {
4441
4442
  variant: "ghost",
4442
4443
  size: "icon-xs",
@@ -4456,17 +4457,17 @@ var Hn = u({
4456
4457
  _: 1
4457
4458
  }, 8, ["title", "onMousedown"])
4458
4459
  ]),
4459
- s("div", Jn, [
4460
+ s("div", Yn, [
4460
4461
  s("label", null, [l(O(p), {
4461
- checked: z.value,
4462
+ checked: te.value,
4462
4463
  "onUpdate:checked": n[1] ||= (e) => {
4463
- z.value = e, O(A)();
4464
+ te.value = e, O(A)();
4464
4465
  }
4465
4466
  }, null, 8, ["checked"]), c(" " + T(O(i)("findReplace.matchCase")), 1)]),
4466
4467
  s("label", null, [l(O(p), {
4467
- checked: te.value,
4468
+ checked: ne.value,
4468
4469
  "onUpdate:checked": n[2] ||= (e) => {
4469
- te.value = e, O(A)();
4470
+ ne.value = e, O(A)();
4470
4471
  }
4471
4472
  }, null, 8, ["checked"]), c(" " + T(O(i)("findReplace.wholeWords")), 1)]),
4472
4473
  l(O(u), {
@@ -4481,7 +4482,7 @@ var Hn = u({
4481
4482
  _: 1
4482
4483
  }, 8, ["class", "title"])
4483
4484
  ]),
4484
- b.value ? (y(), o("div", Yn, [
4485
+ b.value ? (y(), o("div", Xn, [
4485
4486
  l(O(d), {
4486
4487
  modelValue: O(C),
4487
4488
  "onUpdate:modelValue": n[4] ||= (e) => f(C) ? C.value = e : null,
@@ -4519,27 +4520,27 @@ var Hn = u({
4519
4520
  ])) : a("", !0)
4520
4521
  ])], 32)) : a("", !0);
4521
4522
  }
4522
- }), [["__scopeId", "data-v-26a1eaf0"]]), Zn = { class: "dialog__header" }, Qn = { class: "dialog__title" }, $n = ["aria-label"], er = { class: "dialog__body" }, tr = {
4523
+ }), [["__scopeId", "data-v-26a1eaf0"]]), Qn = { class: "dialog__header" }, $n = { class: "dialog__title" }, er = ["aria-label"], tr = { class: "dialog__body" }, nr = {
4523
4524
  key: 0,
4524
4525
  class: "link-tabs",
4525
4526
  role: "tablist"
4526
- }, nr = ["aria-selected"], rr = ["aria-selected"], ir = {
4527
+ }, rr = ["aria-selected"], ir = ["aria-selected"], ar = {
4527
4528
  key: 1,
4528
4529
  class: "field"
4529
- }, ar = { class: "field__label" }, or = [
4530
+ }, or = { class: "field__label" }, sr = [
4530
4531
  "placeholder",
4531
4532
  "aria-invalid",
4532
4533
  "onKeydown"
4533
- ], sr = {
4534
+ ], cr = {
4534
4535
  key: 0,
4535
4536
  class: "field__error"
4536
- }, cr = {
4537
+ }, lr = {
4537
4538
  key: 1,
4538
4539
  class: "field__hint"
4539
- }, lr = {
4540
+ }, ur = {
4540
4541
  key: 2,
4541
4542
  class: "field"
4542
- }, ur = { class: "field__label" }, dr = ["onKeydown"], fr = { value: "" }, pr = ["value"], mr = { class: "field" }, hr = { class: "field__label" }, gr = ["placeholder"], _r = { class: "field__hint" }, vr = { class: "field" }, yr = { class: "field__label" }, br = ["placeholder"], xr = { class: "dialog__actions" }, Sr = ["disabled"], Cr = /*#__PURE__*/ H(/* @__PURE__ */ u({
4543
+ }, dr = { class: "field__label" }, fr = ["onKeydown"], pr = { value: "" }, mr = ["value"], hr = { class: "field" }, gr = { class: "field__label" }, _r = ["placeholder"], vr = { class: "field__hint" }, yr = { class: "field" }, br = { class: "field__label" }, xr = ["placeholder"], Sr = { class: "dialog__actions" }, Cr = ["disabled"], wr = /*#__PURE__*/ V(/* @__PURE__ */ u({
4543
4544
  __name: "HyperlinkDialog",
4544
4545
  props: {
4545
4546
  isOpen: { type: Boolean },
@@ -4618,7 +4619,7 @@ var Hn = u({
4618
4619
  x.value = k(p.value) ? "" : i("dialogs.hyperlink.invalidUrl");
4619
4620
  }
4620
4621
  }
4621
- function z() {
4622
+ function te() {
4622
4623
  l("remove"), P();
4623
4624
  }
4624
4625
  return (n, r) => e.isOpen ? (y(), o("div", {
@@ -4629,24 +4630,24 @@ var Hn = u({
4629
4630
  class: "dialog",
4630
4631
  onMousedown: r[6] ||= L(() => {}, ["stop"]),
4631
4632
  onKeydown: r[7] ||= L(() => {}, ["stop"])
4632
- }, [s("div", Zn, [s("span", Qn, T(b.value ? O(i)("dialogs.hyperlink.titleEdit") : O(i)("dialogs.hyperlink.titleInsert")), 1), s("button", {
4633
+ }, [s("div", Qn, [s("span", $n, T(b.value ? O(i)("dialogs.hyperlink.titleEdit") : O(i)("dialogs.hyperlink.titleInsert")), 1), s("button", {
4633
4634
  class: "dialog__close",
4634
4635
  "aria-label": O(i)("common.closeDialog"),
4635
4636
  onClick: P
4636
- }, " ✕ ", 8, $n)]), s("div", er, [
4637
- E.value.length > 0 ? (y(), o("div", tr, [s("button", {
4637
+ }, " ✕ ", 8, er)]), s("div", tr, [
4638
+ E.value.length > 0 ? (y(), o("div", nr, [s("button", {
4638
4639
  class: h(["link-tab", { active: f.value === "url" }]),
4639
4640
  role: "tab",
4640
4641
  "aria-selected": f.value === "url",
4641
4642
  onMousedown: r[0] ||= L((e) => f.value = "url", ["prevent"])
4642
- }, T(O(i)("dialogs.hyperlink.tabWebAddress")), 43, nr), s("button", {
4643
+ }, T(O(i)("dialogs.hyperlink.tabWebAddress")), 43, rr), s("button", {
4643
4644
  class: h(["link-tab", { active: f.value === "bookmark" }]),
4644
4645
  role: "tab",
4645
4646
  "aria-selected": f.value === "bookmark",
4646
4647
  onMousedown: r[1] ||= L((e) => f.value = "bookmark", ["prevent"])
4647
- }, T(O(i)("dialogs.hyperlink.tabBookmark")), 43, rr)])) : a("", !0),
4648
- f.value === "url" ? (y(), o("div", ir, [
4649
- s("label", ar, T(O(i)("dialogs.hyperlink.urlLabel")), 1),
4648
+ }, T(O(i)("dialogs.hyperlink.tabBookmark")), 43, ir)])) : a("", !0),
4649
+ f.value === "url" ? (y(), o("div", ar, [
4650
+ s("label", or, T(O(i)("dialogs.hyperlink.urlLabel")), 1),
4650
4651
  F(s("input", {
4651
4652
  ref_key: "urlInputRef",
4652
4653
  ref: u,
@@ -4656,37 +4657,37 @@ var Hn = u({
4656
4657
  "aria-invalid": w.value && !!x.value,
4657
4658
  onKeydown: I(L(R, ["prevent"]), ["enter"]),
4658
4659
  onBlur: ee
4659
- }, null, 42, or), [[M, p.value]]),
4660
- w.value && x.value ? (y(), o("div", sr, T(x.value), 1)) : (y(), o("div", cr, T(O(i)("dialogs.hyperlink.urlHint")), 1))
4661
- ])) : (y(), o("div", lr, [s("label", ur, T(O(i)("dialogs.hyperlink.bookmarkLabel")), 1), F(s("select", {
4660
+ }, null, 42, sr), [[M, p.value]]),
4661
+ w.value && x.value ? (y(), o("div", cr, T(x.value), 1)) : (y(), o("div", lr, T(O(i)("dialogs.hyperlink.urlHint")), 1))
4662
+ ])) : (y(), o("div", ur, [s("label", dr, T(O(i)("dialogs.hyperlink.bookmarkLabel")), 1), F(s("select", {
4662
4663
  ref_key: "bookmarkSelectRef",
4663
4664
  ref: d,
4664
4665
  "onUpdate:modelValue": r[3] ||= (e) => g.value = e,
4665
4666
  class: "field__input",
4666
4667
  onKeydown: I(L(R, ["prevent"]), ["enter"])
4667
- }, [s("option", fr, T(O(i)("dialogs.hyperlink.bookmarkPlaceholder")), 1), (y(!0), o(t, null, C(E.value, (e) => (y(), o("option", {
4668
+ }, [s("option", pr, T(O(i)("dialogs.hyperlink.bookmarkPlaceholder")), 1), (y(!0), o(t, null, C(E.value, (e) => (y(), o("option", {
4668
4669
  key: e.name,
4669
4670
  value: e.name
4670
- }, T(e.label || e.name), 9, pr))), 128))], 40, dr), [[j, g.value]])])),
4671
- s("div", mr, [
4672
- s("label", hr, T(O(i)("dialogs.hyperlink.displayTextLabel")), 1),
4671
+ }, T(e.label || e.name), 9, mr))), 128))], 40, fr), [[j, g.value]])])),
4672
+ s("div", hr, [
4673
+ s("label", gr, T(O(i)("dialogs.hyperlink.displayTextLabel")), 1),
4673
4674
  F(s("input", {
4674
4675
  "onUpdate:modelValue": r[4] ||= (e) => _.value = e,
4675
4676
  class: "field__input",
4676
4677
  placeholder: O(i)("dialogs.hyperlink.displayTextPlaceholder")
4677
- }, null, 8, gr), [[M, _.value]]),
4678
- s("div", _r, T(O(i)("dialogs.hyperlink.displayTextHint")), 1)
4678
+ }, null, 8, _r), [[M, _.value]]),
4679
+ s("div", vr, T(O(i)("dialogs.hyperlink.displayTextHint")), 1)
4679
4680
  ]),
4680
- s("div", vr, [s("label", yr, T(O(i)("dialogs.hyperlink.tooltipLabel")), 1), F(s("input", {
4681
+ s("div", yr, [s("label", br, T(O(i)("dialogs.hyperlink.tooltipLabel")), 1), F(s("input", {
4681
4682
  "onUpdate:modelValue": r[5] ||= (e) => v.value = e,
4682
4683
  class: "field__input",
4683
4684
  placeholder: O(i)("dialogs.hyperlink.tooltipPlaceholder")
4684
- }, null, 8, br), [[M, v.value]])]),
4685
- s("div", xr, [
4685
+ }, null, 8, xr), [[M, v.value]])]),
4686
+ s("div", Sr, [
4686
4687
  b.value ? (y(), o("button", {
4687
4688
  key: 0,
4688
4689
  class: "dialog__btn dialog__btn--danger",
4689
- onMousedown: L(z, ["prevent"])
4690
+ onMousedown: L(te, ["prevent"])
4690
4691
  }, T(O(i)("dialogs.hyperlink.removeLink")), 33)) : a("", !0),
4691
4692
  r[8] ||= s("div", { style: { flex: "1" } }, null, -1),
4692
4693
  s("button", {
@@ -4697,11 +4698,11 @@ var Hn = u({
4697
4698
  class: "dialog__btn dialog__btn--primary",
4698
4699
  onMousedown: L(R, ["prevent"]),
4699
4700
  disabled: !D.value
4700
- }, T(b.value ? O(i)("common.update") : O(i)("common.insert")), 41, Sr)
4701
+ }, T(b.value ? O(i)("common.update") : O(i)("common.insert")), 41, Cr)
4701
4702
  ])
4702
4703
  ])], 32)], 32)) : a("", !0);
4703
4704
  }
4704
- }), [["__scopeId", "data-v-3078565e"]]), wr = { class: "dialog__header" }, Tr = { class: "dialog__title" }, Er = ["aria-label"], Dr = { class: "dialog__body" }, Or = { class: "field" }, kr = { class: "field__label" }, Ar = ["placeholder"], jr = { class: "field" }, Mr = { class: "field__label" }, Nr = { value: "inline" }, Pr = { value: "wrapRight" }, Fr = { value: "wrapLeft" }, Ir = { value: "topAndBottom" }, Lr = { value: "behind" }, Rr = { value: "inFront" }, zr = { class: "field" }, Br = { class: "field__label" }, Vr = { class: "field-row" }, Hr = { value: "solid" }, Ur = { value: "dashed" }, Wr = { value: "dotted" }, Gr = { value: "double" }, Kr = { class: "field" }, qr = { class: "field__label" }, Jr = { class: "field-row" }, Yr = ["value"], Xr = ["value"], Zr = { class: "field__checkbox" }, Qr = { class: "dialog__actions" }, $r = /*#__PURE__*/ H(/* @__PURE__ */ u({
4705
+ }), [["__scopeId", "data-v-3078565e"]]), Tr = { class: "dialog__header" }, Er = { class: "dialog__title" }, Dr = ["aria-label"], Or = { class: "dialog__body" }, kr = { class: "field" }, Ar = { class: "field__label" }, jr = ["placeholder"], Mr = { class: "field" }, Nr = { class: "field__label" }, Pr = { value: "inline" }, Fr = { value: "wrapRight" }, Ir = { value: "wrapLeft" }, Lr = { value: "topAndBottom" }, Rr = { value: "behind" }, zr = { value: "inFront" }, Br = { class: "field" }, Vr = { class: "field__label" }, Hr = { class: "field-row" }, Ur = { value: "solid" }, Wr = { value: "dashed" }, Gr = { value: "dotted" }, Kr = { value: "double" }, qr = { class: "field" }, Jr = { class: "field__label" }, Yr = { class: "field-row" }, Xr = ["value"], Zr = ["value"], Qr = { class: "field__checkbox" }, $r = { class: "dialog__actions" }, ei = /*#__PURE__*/ V(/* @__PURE__ */ u({
4705
4706
  __name: "ImagePropertiesDialog",
4706
4707
  props: {
4707
4708
  isOpen: { type: Boolean },
@@ -4788,29 +4789,29 @@ var Hn = u({
4788
4789
  },
4789
4790
  onClose: x
4790
4791
  }, {
4791
- default: P(() => [s("div", wr, [s("span", Tr, T(O(n)("dialogs.imageProperties.title")), 1), s("button", {
4792
+ default: P(() => [s("div", Tr, [s("span", Er, T(O(n)("dialogs.imageProperties.title")), 1), s("button", {
4792
4793
  class: "dialog__close",
4793
4794
  "aria-label": O(n)("common.closeDialog"),
4794
4795
  onClick: x
4795
- }, "✕", 8, Er)]), s("div", Dr, [
4796
- s("div", Or, [s("label", kr, T(O(n)("dialogs.imageProperties.altText")), 1), F(s("textarea", {
4796
+ }, "✕", 8, Dr)]), s("div", Or, [
4797
+ s("div", kr, [s("label", Ar, T(O(n)("dialogs.imageProperties.altText")), 1), F(s("textarea", {
4797
4798
  "onUpdate:modelValue": a[0] ||= (e) => l.value = e,
4798
4799
  class: "field__textarea",
4799
4800
  placeholder: O(n)("dialogs.imageProperties.altTextPlaceholder"),
4800
4801
  rows: "2"
4801
- }, null, 8, Ar), [[M, l.value]])]),
4802
- s("div", jr, [s("label", Mr, T(O(n)("dialogs.imageProperties.textWrapping")), 1), F(s("select", {
4802
+ }, null, 8, jr), [[M, l.value]])]),
4803
+ s("div", Mr, [s("label", Nr, T(O(n)("dialogs.imageProperties.textWrapping")), 1), F(s("select", {
4803
4804
  "onUpdate:modelValue": a[1] ||= (e) => u.value = e,
4804
4805
  class: "field__select"
4805
4806
  }, [
4806
- s("option", Nr, T(O(n)("dialogs.imageProperties.wrapOptions.inline")), 1),
4807
- s("option", Pr, T(O(n)("dialogs.imageProperties.wrapOptions.wrapRight")), 1),
4808
- s("option", Fr, T(O(n)("dialogs.imageProperties.wrapOptions.wrapLeft")), 1),
4809
- s("option", Ir, T(O(n)("dialogs.imageProperties.wrapOptions.topAndBottom")), 1),
4810
- s("option", Lr, T(O(n)("dialogs.imageProperties.wrapOptions.behind")), 1),
4811
- s("option", Rr, T(O(n)("dialogs.imageProperties.wrapOptions.inFront")), 1)
4807
+ s("option", Pr, T(O(n)("dialogs.imageProperties.wrapOptions.inline")), 1),
4808
+ s("option", Fr, T(O(n)("dialogs.imageProperties.wrapOptions.wrapRight")), 1),
4809
+ s("option", Ir, T(O(n)("dialogs.imageProperties.wrapOptions.wrapLeft")), 1),
4810
+ s("option", Lr, T(O(n)("dialogs.imageProperties.wrapOptions.topAndBottom")), 1),
4811
+ s("option", Rr, T(O(n)("dialogs.imageProperties.wrapOptions.behind")), 1),
4812
+ s("option", zr, T(O(n)("dialogs.imageProperties.wrapOptions.inFront")), 1)
4812
4813
  ], 512), [[j, u.value]])]),
4813
- s("div", zr, [s("label", Br, T(O(n)("dialogs.imageProperties.border")), 1), s("div", Vr, [
4814
+ s("div", Br, [s("label", Vr, T(O(n)("dialogs.imageProperties.border")), 1), s("div", Hr, [
4814
4815
  s("label", null, [
4815
4816
  c(T(O(n)("dialogs.imageProperties.width")) + ": ", 1),
4816
4817
  F(s("input", {
@@ -4832,10 +4833,10 @@ var Hn = u({
4832
4833
  "onUpdate:modelValue": a[3] ||= (e) => f.value = e,
4833
4834
  class: "field__select--small"
4834
4835
  }, [
4835
- s("option", Hr, T(O(n)("dialogs.imageProperties.borderStyles.solid")), 1),
4836
- s("option", Ur, T(O(n)("dialogs.imageProperties.borderStyles.dashed")), 1),
4837
- s("option", Wr, T(O(n)("dialogs.imageProperties.borderStyles.dotted")), 1),
4838
- s("option", Gr, T(O(n)("dialogs.imageProperties.borderStyles.double")), 1)
4836
+ s("option", Ur, T(O(n)("dialogs.imageProperties.borderStyles.solid")), 1),
4837
+ s("option", Wr, T(O(n)("dialogs.imageProperties.borderStyles.dashed")), 1),
4838
+ s("option", Gr, T(O(n)("dialogs.imageProperties.borderStyles.dotted")), 1),
4839
+ s("option", Kr, T(O(n)("dialogs.imageProperties.borderStyles.double")), 1)
4839
4840
  ], 512), [[j, f.value]])]),
4840
4841
  s("label", null, [c(T(O(n)("dialogs.imageProperties.color")) + ": ", 1), F(s("input", {
4841
4842
  "onUpdate:modelValue": a[4] ||= (e) => p.value = e,
@@ -4843,9 +4844,9 @@ var Hn = u({
4843
4844
  class: "field__color"
4844
4845
  }, null, 512), [[M, p.value]])])
4845
4846
  ])]),
4846
- s("div", Kr, [
4847
- s("label", qr, T(O(n)("dialogs.imageProperties.dimensions")), 1),
4848
- s("div", Jr, [s("label", null, [
4847
+ s("div", qr, [
4848
+ s("label", Jr, T(O(n)("dialogs.imageProperties.dimensions")), 1),
4849
+ s("div", Yr, [s("label", null, [
4849
4850
  c(T(O(n)("dialogs.imageProperties.widthLabel")) + " ", 1),
4850
4851
  s("input", {
4851
4852
  value: m.value,
@@ -4854,7 +4855,7 @@ var Hn = u({
4854
4855
  max: "2000",
4855
4856
  class: "field__input--small",
4856
4857
  onInput: v
4857
- }, null, 40, Yr),
4858
+ }, null, 40, Xr),
4858
4859
  c(T(O(n)("common.px")), 1)
4859
4860
  ]), s("label", null, [
4860
4861
  c(T(O(n)("dialogs.imageProperties.heightLabel")) + " ", 1),
@@ -4865,15 +4866,15 @@ var Hn = u({
4865
4866
  max: "2000",
4866
4867
  class: "field__input--small",
4867
4868
  onInput: b
4868
- }, null, 40, Xr),
4869
+ }, null, 40, Zr),
4869
4870
  c(T(O(n)("common.px")), 1)
4870
4871
  ])]),
4871
- s("label", Zr, [F(s("input", {
4872
+ s("label", Qr, [F(s("input", {
4872
4873
  "onUpdate:modelValue": a[5] ||= (e) => g.value = e,
4873
4874
  type: "checkbox"
4874
4875
  }, null, 512), [[k, g.value]]), c(" " + T(O(n)("dialogs.imageProperties.lockAspectRatio")), 1)])
4875
4876
  ]),
4876
- s("div", Qr, [s("button", {
4877
+ s("div", $r, [s("button", {
4877
4878
  class: "dialog__btn",
4878
4879
  onClick: x
4879
4880
  }, T(O(n)("common.cancel")), 1), s("button", {
@@ -4884,29 +4885,29 @@ var Hn = u({
4884
4885
  _: 1
4885
4886
  }, 8, ["open", "aria-label"]));
4886
4887
  }
4887
- }), [["__scopeId", "data-v-4879cd1c"]]), ei = { class: "dialog__header" }, ti = { class: "dialog__title" }, ni = ["title"], ri = { class: "dialog__body" }, ii = ["placeholder"], ai = {
4888
+ }), [["__scopeId", "data-v-4879cd1c"]]), ti = { class: "dialog__header" }, ni = { class: "dialog__title" }, ri = ["title"], ii = { class: "dialog__body" }, ai = ["placeholder"], oi = {
4888
4889
  key: 0,
4889
4890
  class: "symbol-tabs"
4890
- }, oi = ["onMousedown"], si = { class: "symbol-grid" }, ci = [
4891
+ }, si = ["onMousedown"], ci = { class: "symbol-grid" }, li = [
4891
4892
  "title",
4892
4893
  "onClick",
4893
4894
  "onDblclick"
4894
- ], li = {
4895
+ ], ui = {
4895
4896
  key: 0,
4896
4897
  class: "symbol-empty"
4897
- }, ui = {
4898
+ }, di = {
4898
4899
  key: 1,
4899
4900
  class: "symbol-preview"
4900
- }, di = { class: "symbol-preview__char" }, fi = { class: "symbol-preview__info" }, pi = {
4901
+ }, fi = { class: "symbol-preview__char" }, pi = { class: "symbol-preview__info" }, mi = {
4901
4902
  key: 2,
4902
4903
  class: "symbol-recent"
4903
- }, mi = { class: "symbol-recent__label" }, hi = ["onDblclick", "onClick"], gi = { class: "dialog__actions" }, _i = ["disabled"], vi = /*#__PURE__*/ H(/* @__PURE__ */ u({
4904
+ }, hi = { class: "symbol-recent__label" }, gi = ["onDblclick", "onClick"], _i = { class: "dialog__actions" }, vi = ["disabled"], yi = /*#__PURE__*/ V(/* @__PURE__ */ u({
4904
4905
  __name: "InsertSymbolDialog",
4905
4906
  props: { isOpen: { type: Boolean } },
4906
4907
  emits: ["close", "insert"],
4907
4908
  setup(e, { emit: n }) {
4908
- let { t: i } = Z(), c = e, l = n, u = S(null), d = S(""), f = S("Common"), p = S(""), g = S([]), _ = re, v = r(() => {
4909
- if (d.value) return ie(d.value);
4909
+ let { t: i } = Z(), c = e, l = n, u = S(null), d = S(""), f = S("Common"), p = S(""), g = S([]), _ = ae, v = r(() => {
4910
+ if (d.value) return oe(d.value);
4910
4911
  let e = _.find((e) => e.name === f.value);
4911
4912
  return e ? e.symbols.map((t) => Object.assign({}, t, { category: e.name })) : [];
4912
4913
  });
@@ -4927,11 +4928,11 @@ var Hn = u({
4927
4928
  class: "dialog symbol-dialog",
4928
4929
  onMousedown: r[2] ||= L(() => {}, ["stop"]),
4929
4930
  onKeydown: r[3] ||= L(() => {}, ["stop"])
4930
- }, [s("div", ei, [s("span", ti, T(O(i)("dialogs.insertSymbol.title")), 1), s("button", {
4931
+ }, [s("div", ti, [s("span", ni, T(O(i)("dialogs.insertSymbol.title")), 1), s("button", {
4931
4932
  class: "dialog__close",
4932
4933
  title: O(i)("common.closeDialog"),
4933
4934
  onClick: b
4934
- }, "✕", 8, ni)]), s("div", ri, [
4935
+ }, "✕", 8, ri)]), s("div", ii, [
4935
4936
  F(s("input", {
4936
4937
  ref_key: "searchRef",
4937
4938
  ref: u,
@@ -4939,40 +4940,40 @@ var Hn = u({
4939
4940
  class: "symbol-search",
4940
4941
  placeholder: O(i)("dialogs.insertSymbol.searchPlaceholder"),
4941
4942
  onKeydown: I(b, ["escape"])
4942
- }, null, 40, ii), [[M, d.value]]),
4943
- d.value ? a("", !0) : (y(), o("div", ai, [(y(!0), o(t, null, C(O(_), (e) => (y(), o("button", {
4943
+ }, null, 40, ai), [[M, d.value]]),
4944
+ d.value ? a("", !0) : (y(), o("div", oi, [(y(!0), o(t, null, C(O(_), (e) => (y(), o("button", {
4944
4945
  key: e.name,
4945
4946
  class: h(["symbol-tab", { active: f.value === e.name }]),
4946
4947
  onMousedown: L((t) => f.value = e.name, ["prevent"])
4947
- }, T(O(i)(e.nameKey)), 43, oi))), 128))])),
4948
- s("div", si, [(y(!0), o(t, null, C(v.value, (e) => (y(), o("button", {
4948
+ }, T(O(i)(e.nameKey)), 43, si))), 128))])),
4949
+ s("div", ci, [(y(!0), o(t, null, C(v.value, (e) => (y(), o("button", {
4949
4950
  key: e.char,
4950
4951
  class: h(["symbol-cell", { selected: p.value === e.char }]),
4951
4952
  title: e.name,
4952
4953
  onClick: (t) => p.value = e.char,
4953
4954
  onDblclick: (t) => x(e.char)
4954
- }, T(e.char), 43, ci))), 128)), v.value.length === 0 ? (y(), o("div", li, T(d.value ? O(i)("dialogs.insertSymbol.noResults", { query: d.value }) : O(i)("dialogs.insertSymbol.noResultsEmpty")), 1)) : a("", !0)]),
4955
- p.value ? (y(), o("div", ui, [s("span", di, T(p.value), 1), s("span", fi, "U+" + T(p.value.codePointAt(0)?.toString(16).toUpperCase().padStart(4, "0")), 1)])) : a("", !0),
4956
- g.value.length > 0 && !d.value ? (y(), o("div", pi, [s("div", mi, T(O(i)("dialogs.insertSymbol.recent")), 1), (y(!0), o(t, null, C(g.value, (e) => (y(), o("button", {
4955
+ }, T(e.char), 43, li))), 128)), v.value.length === 0 ? (y(), o("div", ui, T(d.value ? O(i)("dialogs.insertSymbol.noResults", { query: d.value }) : O(i)("dialogs.insertSymbol.noResultsEmpty")), 1)) : a("", !0)]),
4956
+ p.value ? (y(), o("div", di, [s("span", fi, T(p.value), 1), s("span", pi, "U+" + T(p.value.codePointAt(0)?.toString(16).toUpperCase().padStart(4, "0")), 1)])) : a("", !0),
4957
+ g.value.length > 0 && !d.value ? (y(), o("div", mi, [s("div", hi, T(O(i)("dialogs.insertSymbol.recent")), 1), (y(!0), o(t, null, C(g.value, (e) => (y(), o("button", {
4957
4958
  key: e,
4958
4959
  class: "symbol-cell symbol-cell--small",
4959
4960
  onDblclick: (t) => x(e),
4960
4961
  onClick: (t) => p.value = e
4961
- }, T(e), 41, hi))), 128))])) : a("", !0),
4962
- s("div", gi, [s("button", {
4962
+ }, T(e), 41, gi))), 128))])) : a("", !0),
4963
+ s("div", _i, [s("button", {
4963
4964
  class: "dialog__btn",
4964
4965
  onClick: b
4965
4966
  }, T(O(i)("common.cancel")), 1), s("button", {
4966
4967
  class: "dialog__btn dialog__btn--primary",
4967
4968
  onMousedown: r[1] ||= L((e) => x(p.value), ["prevent"]),
4968
4969
  disabled: !p.value
4969
- }, T(O(i)("common.insert")), 41, _i)])
4970
+ }, T(O(i)("common.insert")), 41, vi)])
4970
4971
  ])], 32)], 32)) : a("", !0);
4971
4972
  }
4972
- }), [["__scopeId", "data-v-dc4046d2"]]), yi = { class: "ps-header" }, bi = { class: "ps-body" }, xi = { class: "ps-section-label" }, Si = { class: "ps-row" }, Ci = { class: "ps-label" }, wi = ["value"], Ti = ["value"], Ei = {
4973
+ }), [["__scopeId", "data-v-dc4046d2"]]), bi = { class: "ps-header" }, xi = { class: "ps-body" }, Si = { class: "ps-section-label" }, Ci = { class: "ps-row" }, wi = { class: "ps-label" }, Ti = ["value"], Ei = ["value"], Di = {
4973
4974
  key: 0,
4974
4975
  value: -1
4975
- }, Di = { class: "ps-row" }, Oi = { class: "ps-label" }, ki = ["value"], Ai = { value: "portrait" }, ji = { value: "landscape" }, Mi = { class: "ps-section-label ps-section-label--spaced" }, Ni = { class: "ps-row" }, Pi = { class: "ps-label" }, Fi = { class: "ps-row" }, Ii = { class: "ps-label" }, Li = { class: "ps-row" }, Ri = { class: "ps-label" }, zi = { class: "ps-row" }, Bi = { class: "ps-label" }, Vi = { class: "ps-footer" }, Hi = 12240, Ui = 15840, Wi = 1440, Gi = /*#__PURE__*/ H(/* @__PURE__ */ u({
4976
+ }, Oi = { class: "ps-row" }, ki = { class: "ps-label" }, Ai = ["value"], ji = { value: "portrait" }, Mi = { value: "landscape" }, Ni = { class: "ps-section-label ps-section-label--spaced" }, Pi = { class: "ps-row" }, Fi = { class: "ps-label" }, Ii = { class: "ps-row" }, Li = { class: "ps-label" }, Ri = { class: "ps-row" }, zi = { class: "ps-label" }, Bi = { class: "ps-row" }, Vi = { class: "ps-label" }, Hi = { class: "ps-footer" }, Ui = 12240, Wi = 15840, Gi = 1440, Ki = /*#__PURE__*/ V(/* @__PURE__ */ u({
4976
4977
  __name: "PageSetupDialog",
4977
4978
  props: {
4978
4979
  isOpen: { type: Boolean },
@@ -5016,12 +5017,12 @@ var Hn = u({
5016
5017
  width: 10440,
5017
5018
  height: 15120
5018
5019
  }
5019
- ], d = e, f = n, p = S(Hi), m = S(Ui), h = S("portrait"), g = S(1), _ = S(1), v = S(1), b = S(1);
5020
+ ], d = e, f = n, p = S(Ui), m = S(Wi), h = S("portrait"), g = S(1), _ = S(1), v = S(1), b = S(1);
5020
5021
  function x(e) {
5021
- return Math.round(e / B * 100) / 100;
5022
+ return Math.round(e / z * 100) / 100;
5022
5023
  }
5023
5024
  function w(e) {
5024
- return Math.round((Number(e) || 0) * B);
5025
+ return Math.round((Number(e) || 0) * z);
5025
5026
  }
5026
5027
  let E = r(() => {
5027
5028
  let e = Math.min(p.value, m.value), t = Math.max(p.value, m.value);
@@ -5029,8 +5030,8 @@ var Hn = u({
5029
5030
  });
5030
5031
  N(() => d.isOpen, (e) => {
5031
5032
  if (!e) return;
5032
- let t = d.sectionProperties, n = t?.pageWidth || Hi, r = t?.pageHeight || Ui;
5033
- p.value = n, m.value = r, h.value = t?.orientation || (n > r ? "landscape" : "portrait"), g.value = x(t?.marginTop ?? Wi), _.value = x(t?.marginBottom ?? Wi), v.value = x(t?.marginLeft ?? Wi), b.value = x(t?.marginRight ?? Wi);
5033
+ let t = d.sectionProperties, n = t?.pageWidth || Ui, r = t?.pageHeight || Wi;
5034
+ p.value = n, m.value = r, h.value = t?.orientation || (n > r ? "landscape" : "portrait"), g.value = x(t?.marginTop ?? Gi), _.value = x(t?.marginBottom ?? Gi), v.value = x(t?.marginLeft ?? Gi), b.value = x(t?.marginRight ?? Gi);
5034
5035
  }, { immediate: !0 });
5035
5036
  function D(e) {
5036
5037
  if (!(e.target instanceof HTMLSelectElement)) return;
@@ -5072,25 +5073,25 @@ var Hn = u({
5072
5073
  onKeydown: I(j, ["enter"])
5073
5074
  }, {
5074
5075
  default: P(() => [
5075
- s("div", yi, T(O(c)("dialogs.pageSetup.title")), 1),
5076
- s("div", bi, [
5077
- s("div", xi, T(O(c)("dialogs.pageSetup.pageSize")), 1),
5078
- s("div", Si, [s("label", Ci, T(O(c)("dialogs.pageSetup.sizeLabel")), 1), s("select", {
5076
+ s("div", bi, T(O(c)("dialogs.pageSetup.title")), 1),
5077
+ s("div", xi, [
5078
+ s("div", Si, T(O(c)("dialogs.pageSetup.pageSize")), 1),
5079
+ s("div", Ci, [s("label", wi, T(O(c)("dialogs.pageSetup.sizeLabel")), 1), s("select", {
5079
5080
  class: "ps-input",
5080
5081
  value: E.value,
5081
5082
  onChange: D
5082
5083
  }, [(y(), o(t, null, C(u, (e, t) => s("option", {
5083
5084
  key: e.labelKey,
5084
5085
  value: t
5085
- }, T(O(c)(e.labelKey)), 9, Ti)), 64)), E.value < 0 ? (y(), o("option", Ei, T(O(c)("dialogs.pageSetup.custom")), 1)) : a("", !0)], 40, wi)]),
5086
- s("div", Di, [s("label", Oi, T(O(c)("dialogs.pageSetup.orientation")), 1), s("select", {
5086
+ }, T(O(c)(e.labelKey)), 9, Ei)), 64)), E.value < 0 ? (y(), o("option", Di, T(O(c)("dialogs.pageSetup.custom")), 1)) : a("", !0)], 40, Ti)]),
5087
+ s("div", Oi, [s("label", ki, T(O(c)("dialogs.pageSetup.orientation")), 1), s("select", {
5087
5088
  class: "ps-input",
5088
5089
  value: h.value,
5089
5090
  onChange: k
5090
- }, [s("option", Ai, T(O(c)("dialogs.pageSetup.portrait")), 1), s("option", ji, T(O(c)("dialogs.pageSetup.landscape")), 1)], 40, ki)]),
5091
- s("div", Mi, T(O(c)("dialogs.pageSetup.margins")), 1),
5092
- s("div", Ni, [
5093
- s("label", Pi, T(O(c)("dialogs.pageSetup.top")), 1),
5091
+ }, [s("option", ji, T(O(c)("dialogs.pageSetup.portrait")), 1), s("option", Mi, T(O(c)("dialogs.pageSetup.landscape")), 1)], 40, Ai)]),
5092
+ s("div", Ni, T(O(c)("dialogs.pageSetup.margins")), 1),
5093
+ s("div", Pi, [
5094
+ s("label", Fi, T(O(c)("dialogs.pageSetup.top")), 1),
5094
5095
  F(s("input", {
5095
5096
  class: "ps-input",
5096
5097
  type: "number",
@@ -5106,8 +5107,8 @@ var Hn = u({
5106
5107
  ]]),
5107
5108
  r[4] ||= s("span", { class: "ps-unit" }, "in", -1)
5108
5109
  ]),
5109
- s("div", Fi, [
5110
- s("label", Ii, T(O(c)("dialogs.pageSetup.bottom")), 1),
5110
+ s("div", Ii, [
5111
+ s("label", Li, T(O(c)("dialogs.pageSetup.bottom")), 1),
5111
5112
  F(s("input", {
5112
5113
  class: "ps-input",
5113
5114
  type: "number",
@@ -5123,8 +5124,8 @@ var Hn = u({
5123
5124
  ]]),
5124
5125
  r[5] ||= s("span", { class: "ps-unit" }, "in", -1)
5125
5126
  ]),
5126
- s("div", Li, [
5127
- s("label", Ri, T(O(c)("dialogs.pageSetup.left")), 1),
5127
+ s("div", Ri, [
5128
+ s("label", zi, T(O(c)("dialogs.pageSetup.left")), 1),
5128
5129
  F(s("input", {
5129
5130
  class: "ps-input",
5130
5131
  type: "number",
@@ -5140,8 +5141,8 @@ var Hn = u({
5140
5141
  ]]),
5141
5142
  r[6] ||= s("span", { class: "ps-unit" }, "in", -1)
5142
5143
  ]),
5143
- s("div", zi, [
5144
- s("label", Bi, T(O(c)("dialogs.pageSetup.right")), 1),
5144
+ s("div", Bi, [
5145
+ s("label", Vi, T(O(c)("dialogs.pageSetup.right")), 1),
5145
5146
  F(s("input", {
5146
5147
  class: "ps-input",
5147
5148
  type: "number",
@@ -5158,7 +5159,7 @@ var Hn = u({
5158
5159
  r[7] ||= s("span", { class: "ps-unit" }, "in", -1)
5159
5160
  ])
5160
5161
  ]),
5161
- s("div", Vi, [s("button", {
5162
+ s("div", Hi, [s("button", {
5162
5163
  type: "button",
5163
5164
  class: "ps-btn",
5164
5165
  onClick: A
@@ -5171,10 +5172,10 @@ var Hn = u({
5171
5172
  _: 1
5172
5173
  }, 8, ["open", "aria-label"]));
5173
5174
  }
5174
- }), [["__scopeId", "data-v-1e078cda"]]), Ki = { class: "tpd-dialog__header" }, qi = { class: "tpd-dialog__body" }, Ji = { class: "tpd-row" }, Yi = { class: "tpd-label" }, Xi = { value: "auto" }, Zi = { value: "dxa" }, Qi = { value: "pct" }, $i = {
5175
+ }), [["__scopeId", "data-v-1e078cda"]]), qi = { class: "tpd-dialog__header" }, Ji = { class: "tpd-dialog__body" }, Yi = { class: "tpd-row" }, Xi = { class: "tpd-label" }, Zi = { value: "auto" }, Qi = { value: "dxa" }, $i = { value: "pct" }, ea = {
5175
5176
  key: 0,
5176
5177
  class: "tpd-row"
5177
- }, ea = { class: "tpd-label" }, ta = ["step"], na = { class: "tpd-unit" }, ra = { class: "tpd-row" }, ia = { class: "tpd-label" }, aa = { value: "left" }, oa = { value: "center" }, sa = { value: "right" }, ca = { class: "tpd-dialog__footer" }, la = /*#__PURE__*/ H(/* @__PURE__ */ u({
5178
+ }, ta = { class: "tpd-label" }, na = ["step"], ra = { class: "tpd-unit" }, ia = { class: "tpd-row" }, aa = { class: "tpd-label" }, oa = { value: "left" }, sa = { value: "center" }, ca = { value: "right" }, la = { class: "tpd-dialog__footer" }, ua = /*#__PURE__*/ V(/* @__PURE__ */ u({
5178
5179
  __name: "TablePropertiesDialog",
5179
5180
  props: {
5180
5181
  isOpen: { type: Boolean },
@@ -5213,42 +5214,42 @@ var Hn = u({
5213
5214
  onKeydown: I(m, ["enter"])
5214
5215
  }, {
5215
5216
  default: P(() => [
5216
- s("div", Ki, T(O(n)("dialogs.tableProperties.title")), 1),
5217
- s("div", qi, [
5218
- s("div", Ji, [s("label", Yi, T(O(n)("dialogs.tableProperties.widthType")), 1), F(s("select", {
5217
+ s("div", qi, T(O(n)("dialogs.tableProperties.title")), 1),
5218
+ s("div", Ji, [
5219
+ s("div", Yi, [s("label", Xi, T(O(n)("dialogs.tableProperties.widthType")), 1), F(s("select", {
5219
5220
  "onUpdate:modelValue": c[0] ||= (e) => d.value = e,
5220
5221
  class: "tpd-select"
5221
5222
  }, [
5222
- s("option", Xi, T(O(n)("dialogs.tableProperties.widthTypes.auto")), 1),
5223
- s("option", Zi, T(O(n)("dialogs.tableProperties.widthTypes.fixed")), 1),
5224
- s("option", Qi, T(O(n)("dialogs.tableProperties.widthTypes.percentage")), 1)
5223
+ s("option", Zi, T(O(n)("dialogs.tableProperties.widthTypes.auto")), 1),
5224
+ s("option", Qi, T(O(n)("dialogs.tableProperties.widthTypes.fixed")), 1),
5225
+ s("option", $i, T(O(n)("dialogs.tableProperties.widthTypes.percentage")), 1)
5225
5226
  ], 512), [[j, d.value]])]),
5226
- d.value === "auto" ? a("", !0) : (y(), o("div", $i, [
5227
- s("label", ea, T(O(n)("dialogs.tableProperties.widthLabel")), 1),
5227
+ d.value === "auto" ? a("", !0) : (y(), o("div", ea, [
5228
+ s("label", ta, T(O(n)("dialogs.tableProperties.widthLabel")), 1),
5228
5229
  F(s("input", {
5229
5230
  "onUpdate:modelValue": c[1] ||= (e) => u.value = e,
5230
5231
  type: "number",
5231
5232
  class: "tpd-input",
5232
5233
  min: 0,
5233
5234
  step: d.value === "pct" ? 5 : 100
5234
- }, null, 8, ta), [[
5235
+ }, null, 8, na), [[
5235
5236
  M,
5236
5237
  u.value,
5237
5238
  void 0,
5238
5239
  { number: !0 }
5239
5240
  ]]),
5240
- s("span", na, T(d.value === "pct" ? O(n)("dialogs.tableProperties.units.fiftiethsPercent") : O(n)("dialogs.tableProperties.units.twips")), 1)
5241
+ s("span", ra, T(d.value === "pct" ? O(n)("dialogs.tableProperties.units.fiftiethsPercent") : O(n)("dialogs.tableProperties.units.twips")), 1)
5241
5242
  ])),
5242
- s("div", ra, [s("label", ia, T(O(n)("dialogs.tableProperties.alignmentLabel")), 1), F(s("select", {
5243
+ s("div", ia, [s("label", aa, T(O(n)("dialogs.tableProperties.alignmentLabel")), 1), F(s("select", {
5243
5244
  "onUpdate:modelValue": c[2] ||= (e) => f.value = e,
5244
5245
  class: "tpd-select"
5245
5246
  }, [
5246
- s("option", aa, T(O(n)("dialogs.tableProperties.alignOptions.left")), 1),
5247
- s("option", oa, T(O(n)("dialogs.tableProperties.alignOptions.center")), 1),
5248
- s("option", sa, T(O(n)("dialogs.tableProperties.alignOptions.right")), 1)
5247
+ s("option", oa, T(O(n)("dialogs.tableProperties.alignOptions.left")), 1),
5248
+ s("option", sa, T(O(n)("dialogs.tableProperties.alignOptions.center")), 1),
5249
+ s("option", ca, T(O(n)("dialogs.tableProperties.alignOptions.right")), 1)
5249
5250
  ], 512), [[j, f.value]])])
5250
5251
  ]),
5251
- s("div", ca, [s("button", {
5252
+ s("div", la, [s("button", {
5252
5253
  class: "tpd-btn",
5253
5254
  onClick: c[3] ||= (e) => t.$emit("close")
5254
5255
  }, T(O(n)("common.cancel")), 1), s("button", {
@@ -5259,13 +5260,16 @@ var Hn = u({
5259
5260
  _: 1
5260
5261
  }, 8, ["open", "aria-label"]));
5261
5262
  }
5262
- }), [["__scopeId", "data-v-6e0fd92d"]]), ua = { class: "dialog__body" }, da = { class: "field" }, fa = {
5263
+ }), [["__scopeId", "data-v-6e0fd92d"]]), da = { class: "dialog__body" }, fa = { class: "field" }, pa = {
5263
5264
  key: 0,
5264
5265
  class: "grid"
5265
- }, pa = { class: "field field--wide" }, ma = { class: "field" }, ha = { class: "field" }, ga = { class: "field" }, _a = { class: "check" }, va = {
5266
+ }, ma = { class: "field field--wide" }, ha = { class: "field" }, ga = { class: "field" }, _a = { class: "field" }, va = { class: "check" }, ya = {
5266
5267
  key: 1,
5267
5268
  class: "grid"
5268
- }, ya = { class: "field field--wide" }, ba = { class: "field field--wide" }, xa = { class: "field" }, Sa = { class: "check" }, Ca = { class: "check field--wide" }, wa = { class: "dialog__footer" }, Ta = ["disabled"], Ea = "#C0C0C0", Da = /*#__PURE__*/ H(/* @__PURE__ */ u({
5269
+ }, ba = { class: "field field--wide" }, xa = { class: "field field--wide" }, Sa = ["aria-invalid"], Ca = {
5270
+ key: 0,
5271
+ class: "field__error"
5272
+ }, wa = { class: "field" }, Ta = { class: "check" }, Ea = { class: "check field--wide" }, Da = { class: "dialog__footer" }, Oa = ["disabled"], ka = "#C0C0C0", Aa = /*#__PURE__*/ V(/* @__PURE__ */ u({
5269
5273
  __name: "WatermarkDialog",
5270
5274
  props: {
5271
5275
  isOpen: { type: Boolean },
@@ -5273,22 +5277,22 @@ var Hn = u({
5273
5277
  },
5274
5278
  emits: ["close", "apply"],
5275
5279
  setup(e, { emit: t }) {
5276
- let { Dialog: n } = Q(), c = e, l = t, u = S("text"), d = S("CONFIDENTIAL"), f = S("Calibri"), p = S(Ea), m = S(!0), h = S(50), g = S(""), _ = S(""), v = S(!1), b = S(100), x = S(!0), C = r(() => u.value === "none" || u.value === "text" && d.value.trim().length > 0 || u.value === "picture" && g.value.trim().length > 0);
5280
+ let { Dialog: n } = Q(), c = e, l = t, u = S("text"), d = S("CONFIDENTIAL"), f = S("Calibri"), p = S(ka), m = S(!0), h = S(50), g = S(""), _ = S(""), v = S(!1), b = S(100), x = S(!0), C = r(() => u.value === "picture" && v.value && _.value.trim().length > 0 ? L(_.value.trim()) : ""), w = r(() => u.value === "none" || u.value === "text" && d.value.trim().length > 0 || u.value === "picture" && g.value.trim().length > 0 && C.value.length === 0);
5277
5281
  N([() => c.isOpen, () => c.currentWatermark], ([e, t]) => {
5278
5282
  if (e) {
5279
5283
  if (!t) {
5280
- u.value = "text", d.value = "CONFIDENTIAL", f.value = "Calibri", p.value = Ea, m.value = !0, h.value = 50, g.value = "", _.value = "", v.value = !1, b.value = 100, x.value = !0;
5284
+ u.value = "text", d.value = "CONFIDENTIAL", f.value = "Calibri", p.value = ka, m.value = !0, h.value = 50, g.value = "", _.value = "", v.value = !1, b.value = 100, x.value = !0;
5281
5285
  return;
5282
5286
  }
5283
5287
  if (u.value = t.kind, t.kind === "text") {
5284
- d.value = t.text, f.value = t.font ?? "Calibri", p.value = A(t.color), m.value = t.diagonal ?? !0, h.value = Math.round((t.opacity ?? .5) * 100);
5288
+ d.value = t.text, f.value = t.font ?? "Calibri", p.value = ee(t.color), m.value = t.diagonal ?? !0, h.value = Math.round((t.opacity ?? .5) * 100);
5285
5289
  return;
5286
5290
  }
5287
5291
  g.value = t.imageRId, _.value = t.imageTarget ?? "", v.value = t.imageTargetExternal ?? !1, b.value = Math.round((t.scale ?? 1) * 100), x.value = t.washout ?? !0;
5288
5292
  }
5289
5293
  }, { immediate: !0 });
5290
- function w() {
5291
- if (C.value) {
5294
+ function E() {
5295
+ if (w.value) {
5292
5296
  if (u.value === "none") {
5293
5297
  l("apply", void 0), l("close");
5294
5298
  return;
@@ -5298,9 +5302,9 @@ var Hn = u({
5298
5302
  kind: "text",
5299
5303
  text: d.value.trim(),
5300
5304
  ...f.value.trim() ? { font: f.value.trim() } : {},
5301
- color: D(p.value),
5305
+ color: I(p.value),
5302
5306
  diagonal: m.value,
5303
- opacity: T(h.value) / 100
5307
+ opacity: D(h.value) / 100
5304
5308
  }), l("close");
5305
5309
  return;
5306
5310
  }
@@ -5309,22 +5313,25 @@ var Hn = u({
5309
5313
  imageRId: g.value.trim(),
5310
5314
  ..._.value.trim() ? { imageTarget: _.value.trim() } : {},
5311
5315
  ..._.value.trim() ? { imageTargetExternal: v.value } : {},
5312
- scale: E(b.value) / 100,
5316
+ scale: A(b.value) / 100,
5313
5317
  washout: x.value
5314
5318
  }), l("close");
5315
5319
  }
5316
5320
  }
5317
- function T(e) {
5321
+ function D(e) {
5318
5322
  return Math.min(100, Math.max(0, e));
5319
5323
  }
5320
- function E(e) {
5324
+ function A(e) {
5321
5325
  return Math.min(300, Math.max(1, e));
5322
5326
  }
5323
- function D(e) {
5327
+ function I(e) {
5324
5328
  return e.startsWith("#") ? e.slice(1) : e;
5325
5329
  }
5326
- function A(e) {
5327
- return !e || e === "auto" ? Ea : e.startsWith("#") ? e : `#${e}`;
5330
+ function L(e) {
5331
+ return R(e) ? "" : "Use a web address (http/https).";
5332
+ }
5333
+ function ee(e) {
5334
+ return !e || e === "auto" ? ka : e.startsWith("#") ? e : `#${e}`;
5328
5335
  }
5329
5336
  return (t, r) => (y(), i(O(n), {
5330
5337
  open: e.isOpen,
@@ -5338,8 +5345,8 @@ var Hn = u({
5338
5345
  }, {
5339
5346
  default: P(() => [
5340
5347
  r[25] ||= s("div", { class: "dialog__header" }, "Watermark", -1),
5341
- s("div", ua, [
5342
- s("label", da, [r[14] ||= s("span", { class: "field__label" }, "Type", -1), F(s("select", {
5348
+ s("div", da, [
5349
+ s("label", fa, [r[14] ||= s("span", { class: "field__label" }, "Type", -1), F(s("select", {
5343
5350
  "onUpdate:modelValue": r[0] ||= (e) => u.value = e,
5344
5351
  class: "field__input"
5345
5352
  }, [...r[13] ||= [
@@ -5347,21 +5354,21 @@ var Hn = u({
5347
5354
  s("option", { value: "picture" }, "Picture watermark", -1),
5348
5355
  s("option", { value: "none" }, "No watermark", -1)
5349
5356
  ]], 512), [[j, u.value]])]),
5350
- u.value === "text" ? (y(), o("div", fa, [
5351
- s("label", pa, [r[15] ||= s("span", { class: "field__label" }, "Text", -1), F(s("input", {
5357
+ u.value === "text" ? (y(), o("div", pa, [
5358
+ s("label", ma, [r[15] ||= s("span", { class: "field__label" }, "Text", -1), F(s("input", {
5352
5359
  "onUpdate:modelValue": r[1] ||= (e) => d.value = e,
5353
5360
  class: "field__input"
5354
5361
  }, null, 512), [[M, d.value]])]),
5355
- s("label", ma, [r[16] ||= s("span", { class: "field__label" }, "Font", -1), F(s("input", {
5362
+ s("label", ha, [r[16] ||= s("span", { class: "field__label" }, "Font", -1), F(s("input", {
5356
5363
  "onUpdate:modelValue": r[2] ||= (e) => f.value = e,
5357
5364
  class: "field__input"
5358
5365
  }, null, 512), [[M, f.value]])]),
5359
- s("label", ha, [r[17] ||= s("span", { class: "field__label" }, "Color", -1), F(s("input", {
5366
+ s("label", ga, [r[17] ||= s("span", { class: "field__label" }, "Color", -1), F(s("input", {
5360
5367
  "onUpdate:modelValue": r[3] ||= (e) => p.value = e,
5361
5368
  class: "field__input field__input--color",
5362
5369
  type: "color"
5363
5370
  }, null, 512), [[M, p.value]])]),
5364
- s("label", ga, [r[18] ||= s("span", { class: "field__label" }, "Opacity", -1), F(s("input", {
5371
+ s("label", _a, [r[18] ||= s("span", { class: "field__label" }, "Opacity", -1), F(s("input", {
5365
5372
  "onUpdate:modelValue": r[4] ||= (e) => h.value = e,
5366
5373
  class: "field__input",
5367
5374
  max: "100",
@@ -5373,23 +5380,28 @@ var Hn = u({
5373
5380
  void 0,
5374
5381
  { number: !0 }
5375
5382
  ]])]),
5376
- s("label", _a, [F(s("input", {
5383
+ s("label", va, [F(s("input", {
5377
5384
  "onUpdate:modelValue": r[5] ||= (e) => m.value = e,
5378
5385
  type: "checkbox"
5379
5386
  }, null, 512), [[k, m.value]]), r[19] ||= s("span", null, "Diagonal", -1)])
5380
5387
  ])) : a("", !0),
5381
- u.value === "picture" ? (y(), o("div", va, [
5382
- s("label", ya, [r[20] ||= s("span", { class: "field__label" }, "Header image relationship id", -1), F(s("input", {
5388
+ u.value === "picture" ? (y(), o("div", ya, [
5389
+ s("label", ba, [r[20] ||= s("span", { class: "field__label" }, "Header image relationship id", -1), F(s("input", {
5383
5390
  "onUpdate:modelValue": r[6] ||= (e) => g.value = e,
5384
5391
  class: "field__input",
5385
5392
  placeholder: "rId12"
5386
5393
  }, null, 512), [[M, g.value]])]),
5387
- s("label", ba, [r[21] ||= s("span", { class: "field__label" }, "Image target", -1), F(s("input", {
5388
- "onUpdate:modelValue": r[7] ||= (e) => _.value = e,
5389
- class: "field__input",
5390
- placeholder: "word/media/image1.png"
5391
- }, null, 512), [[M, _.value]])]),
5392
- s("label", xa, [r[22] ||= s("span", { class: "field__label" }, "Scale", -1), F(s("input", {
5394
+ s("label", xa, [
5395
+ r[21] ||= s("span", { class: "field__label" }, "Image target", -1),
5396
+ F(s("input", {
5397
+ "onUpdate:modelValue": r[7] ||= (e) => _.value = e,
5398
+ "aria-invalid": C.value.length > 0,
5399
+ class: "field__input",
5400
+ placeholder: "word/media/image1.png"
5401
+ }, null, 8, Sa), [[M, _.value]]),
5402
+ C.value.length > 0 ? (y(), o("span", Ca, T(C.value), 1)) : a("", !0)
5403
+ ]),
5404
+ s("label", wa, [r[22] ||= s("span", { class: "field__label" }, "Scale", -1), F(s("input", {
5393
5405
  "onUpdate:modelValue": r[8] ||= (e) => b.value = e,
5394
5406
  class: "field__input",
5395
5407
  max: "300",
@@ -5401,29 +5413,29 @@ var Hn = u({
5401
5413
  void 0,
5402
5414
  { number: !0 }
5403
5415
  ]])]),
5404
- s("label", Sa, [F(s("input", {
5416
+ s("label", Ta, [F(s("input", {
5405
5417
  "onUpdate:modelValue": r[9] ||= (e) => x.value = e,
5406
5418
  type: "checkbox"
5407
5419
  }, null, 512), [[k, x.value]]), r[23] ||= s("span", null, "Washout", -1)]),
5408
- s("label", Ca, [F(s("input", {
5420
+ s("label", Ea, [F(s("input", {
5409
5421
  "onUpdate:modelValue": r[10] ||= (e) => v.value = e,
5410
5422
  type: "checkbox"
5411
5423
  }, null, 512), [[k, v.value]]), r[24] ||= s("span", null, "Target is an external URL", -1)])
5412
5424
  ])) : a("", !0)
5413
5425
  ]),
5414
- s("div", wa, [s("button", {
5426
+ s("div", Da, [s("button", {
5415
5427
  class: "dialog__btn",
5416
5428
  onClick: r[11] ||= (e) => t.$emit("close")
5417
5429
  }, "Cancel"), s("button", {
5418
5430
  class: "dialog__btn dialog__btn--primary",
5419
- disabled: !C.value,
5420
- onClick: w
5421
- }, " Apply ", 8, Ta)])
5431
+ disabled: !w.value,
5432
+ onClick: E
5433
+ }, " Apply ", 8, Oa)])
5422
5434
  ]),
5423
5435
  _: 1
5424
5436
  }, 8, ["open"]));
5425
5437
  }
5426
- }), [["__scopeId", "data-v-1e6e7635"]]), Oa = { class: "fnpd-dialog__header" }, ka = { class: "fnpd-dialog__body" }, Aa = { class: "fnpd-fieldset" }, ja = { class: "fnpd-legend" }, Ma = { class: "fnpd-row" }, Na = { class: "fnpd-label" }, Pa = { value: "pageBottom" }, Fa = { value: "beneathText" }, Ia = { class: "fnpd-row" }, La = { class: "fnpd-label" }, Ra = ["value"], za = { class: "fnpd-row" }, Ba = { class: "fnpd-label" }, Va = { class: "fnpd-row" }, Ha = { class: "fnpd-label" }, Ua = { value: "continuous" }, Wa = { value: "eachSect" }, Ga = { value: "eachPage" }, Ka = { class: "fnpd-fieldset" }, qa = { class: "fnpd-legend" }, Ja = { class: "fnpd-row" }, Ya = { class: "fnpd-label" }, Xa = { value: "docEnd" }, Za = { value: "sectEnd" }, Qa = { class: "fnpd-row" }, $a = { class: "fnpd-label" }, eo = ["value"], to = { class: "fnpd-row" }, no = { class: "fnpd-label" }, ro = { class: "fnpd-row" }, io = { class: "fnpd-label" }, ao = { value: "continuous" }, oo = { value: "eachSect" }, so = { class: "fnpd-dialog__footer" }, co = /*#__PURE__*/ H(/* @__PURE__ */ u({
5438
+ }), [["__scopeId", "data-v-fbc23c7d"]]), ja = { class: "fnpd-dialog__header" }, Ma = { class: "fnpd-dialog__body" }, Na = { class: "fnpd-fieldset" }, Pa = { class: "fnpd-legend" }, Fa = { class: "fnpd-row" }, Ia = { class: "fnpd-label" }, La = { value: "pageBottom" }, Ra = { value: "beneathText" }, za = { class: "fnpd-row" }, Ba = { class: "fnpd-label" }, Va = ["value"], Ha = { class: "fnpd-row" }, Ua = { class: "fnpd-label" }, Wa = { class: "fnpd-row" }, Ga = { class: "fnpd-label" }, Ka = { value: "continuous" }, qa = { value: "eachSect" }, Ja = { value: "eachPage" }, Ya = { class: "fnpd-fieldset" }, Xa = { class: "fnpd-legend" }, Za = { class: "fnpd-row" }, Qa = { class: "fnpd-label" }, $a = { value: "docEnd" }, eo = { value: "sectEnd" }, to = { class: "fnpd-row" }, no = { class: "fnpd-label" }, ro = ["value"], io = { class: "fnpd-row" }, ao = { class: "fnpd-label" }, oo = { class: "fnpd-row" }, so = { class: "fnpd-label" }, co = { value: "continuous" }, lo = { value: "eachSect" }, uo = { class: "fnpd-dialog__footer" }, fo = /*#__PURE__*/ V(/* @__PURE__ */ u({
5427
5439
  __name: "FootnotePropertiesDialog",
5428
5440
  props: {
5429
5441
  isOpen: { type: Boolean },
@@ -5484,21 +5496,21 @@ var Hn = u({
5484
5496
  onClose: r[9] ||= (e) => n.$emit("close")
5485
5497
  }, {
5486
5498
  default: P(() => [
5487
- s("div", Oa, T(O(a)("dialogs.footnoteProperties.title")), 1),
5488
- s("div", ka, [s("fieldset", Aa, [
5489
- s("legend", ja, T(O(a)("dialogs.footnoteProperties.footnotes")), 1),
5490
- s("div", Ma, [s("label", Na, T(O(a)("dialogs.footnoteProperties.position")), 1), F(s("select", {
5499
+ s("div", ja, T(O(a)("dialogs.footnoteProperties.title")), 1),
5500
+ s("div", Ma, [s("fieldset", Na, [
5501
+ s("legend", Pa, T(O(a)("dialogs.footnoteProperties.footnotes")), 1),
5502
+ s("div", Fa, [s("label", Ia, T(O(a)("dialogs.footnoteProperties.position")), 1), F(s("select", {
5491
5503
  "onUpdate:modelValue": r[0] ||= (e) => f.value = e,
5492
5504
  class: "fnpd-select"
5493
- }, [s("option", Pa, T(O(a)("dialogs.footnoteProperties.footnotePositions.bottomOfPage")), 1), s("option", Fa, T(O(a)("dialogs.footnoteProperties.footnotePositions.belowText")), 1)], 512), [[j, f.value]])]),
5494
- s("div", Ia, [s("label", La, T(O(a)("dialogs.footnoteProperties.numberFormat")), 1), F(s("select", {
5505
+ }, [s("option", La, T(O(a)("dialogs.footnoteProperties.footnotePositions.bottomOfPage")), 1), s("option", Ra, T(O(a)("dialogs.footnoteProperties.footnotePositions.belowText")), 1)], 512), [[j, f.value]])]),
5506
+ s("div", za, [s("label", Ba, T(O(a)("dialogs.footnoteProperties.numberFormat")), 1), F(s("select", {
5495
5507
  "onUpdate:modelValue": r[1] ||= (e) => p.value = e,
5496
5508
  class: "fnpd-select"
5497
5509
  }, [(y(!0), o(t, null, C(d.value, (e) => (y(), o("option", {
5498
5510
  key: e.value,
5499
5511
  value: e.value
5500
- }, T(e.label), 9, Ra))), 128))], 512), [[j, p.value]])]),
5501
- s("div", za, [s("label", Ba, T(O(a)("dialogs.footnoteProperties.startAt")), 1), F(s("input", {
5512
+ }, T(e.label), 9, Va))), 128))], 512), [[j, p.value]])]),
5513
+ s("div", Ha, [s("label", Ua, T(O(a)("dialogs.footnoteProperties.startAt")), 1), F(s("input", {
5502
5514
  "onUpdate:modelValue": r[2] ||= (e) => m.value = e,
5503
5515
  type: "number",
5504
5516
  class: "fnpd-input",
@@ -5509,28 +5521,28 @@ var Hn = u({
5509
5521
  void 0,
5510
5522
  { number: !0 }
5511
5523
  ]])]),
5512
- s("div", Va, [s("label", Ha, T(O(a)("dialogs.footnoteProperties.numbering")), 1), F(s("select", {
5524
+ s("div", Wa, [s("label", Ga, T(O(a)("dialogs.footnoteProperties.numbering")), 1), F(s("select", {
5513
5525
  "onUpdate:modelValue": r[3] ||= (e) => h.value = e,
5514
5526
  class: "fnpd-select"
5515
5527
  }, [
5516
- s("option", Ua, T(O(a)("dialogs.footnoteProperties.numberingOptions.continuous")), 1),
5517
- s("option", Wa, T(O(a)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1),
5518
- s("option", Ga, T(O(a)("dialogs.footnoteProperties.numberingOptions.restartPage")), 1)
5528
+ s("option", Ka, T(O(a)("dialogs.footnoteProperties.numberingOptions.continuous")), 1),
5529
+ s("option", qa, T(O(a)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1),
5530
+ s("option", Ja, T(O(a)("dialogs.footnoteProperties.numberingOptions.restartPage")), 1)
5519
5531
  ], 512), [[j, h.value]])])
5520
- ]), s("fieldset", Ka, [
5521
- s("legend", qa, T(O(a)("dialogs.footnoteProperties.endnotes")), 1),
5522
- s("div", Ja, [s("label", Ya, T(O(a)("dialogs.footnoteProperties.position")), 1), F(s("select", {
5532
+ ]), s("fieldset", Ya, [
5533
+ s("legend", Xa, T(O(a)("dialogs.footnoteProperties.endnotes")), 1),
5534
+ s("div", Za, [s("label", Qa, T(O(a)("dialogs.footnoteProperties.position")), 1), F(s("select", {
5523
5535
  "onUpdate:modelValue": r[4] ||= (e) => g.value = e,
5524
5536
  class: "fnpd-select"
5525
- }, [s("option", Xa, T(O(a)("dialogs.footnoteProperties.endnotePositions.endOfDocument")), 1), s("option", Za, T(O(a)("dialogs.footnoteProperties.endnotePositions.endOfSection")), 1)], 512), [[j, g.value]])]),
5526
- s("div", Qa, [s("label", $a, T(O(a)("dialogs.footnoteProperties.numberFormat")), 1), F(s("select", {
5537
+ }, [s("option", $a, T(O(a)("dialogs.footnoteProperties.endnotePositions.endOfDocument")), 1), s("option", eo, T(O(a)("dialogs.footnoteProperties.endnotePositions.endOfSection")), 1)], 512), [[j, g.value]])]),
5538
+ s("div", to, [s("label", no, T(O(a)("dialogs.footnoteProperties.numberFormat")), 1), F(s("select", {
5527
5539
  "onUpdate:modelValue": r[5] ||= (e) => _.value = e,
5528
5540
  class: "fnpd-select"
5529
5541
  }, [(y(!0), o(t, null, C(d.value, (e) => (y(), o("option", {
5530
5542
  key: e.value,
5531
5543
  value: e.value
5532
- }, T(e.label), 9, eo))), 128))], 512), [[j, _.value]])]),
5533
- s("div", to, [s("label", no, T(O(a)("dialogs.footnoteProperties.startAt")), 1), F(s("input", {
5544
+ }, T(e.label), 9, ro))), 128))], 512), [[j, _.value]])]),
5545
+ s("div", io, [s("label", ao, T(O(a)("dialogs.footnoteProperties.startAt")), 1), F(s("input", {
5534
5546
  "onUpdate:modelValue": r[6] ||= (e) => v.value = e,
5535
5547
  type: "number",
5536
5548
  class: "fnpd-input",
@@ -5541,12 +5553,12 @@ var Hn = u({
5541
5553
  void 0,
5542
5554
  { number: !0 }
5543
5555
  ]])]),
5544
- s("div", ro, [s("label", io, T(O(a)("dialogs.footnoteProperties.numbering")), 1), F(s("select", {
5556
+ s("div", oo, [s("label", so, T(O(a)("dialogs.footnoteProperties.numbering")), 1), F(s("select", {
5545
5557
  "onUpdate:modelValue": r[7] ||= (e) => b.value = e,
5546
5558
  class: "fnpd-select"
5547
- }, [s("option", ao, T(O(a)("dialogs.footnoteProperties.numberingOptions.continuous")), 1), s("option", oo, T(O(a)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1)], 512), [[j, b.value]])])
5559
+ }, [s("option", co, T(O(a)("dialogs.footnoteProperties.numberingOptions.continuous")), 1), s("option", lo, T(O(a)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1)], 512), [[j, b.value]])])
5548
5560
  ])]),
5549
- s("div", so, [s("button", {
5561
+ s("div", uo, [s("button", {
5550
5562
  class: "fnpd-btn",
5551
5563
  onClick: r[8] ||= (e) => n.$emit("close")
5552
5564
  }, T(O(a)("common.cancel")), 1), s("button", {
@@ -5557,25 +5569,25 @@ var Hn = u({
5557
5569
  _: 1
5558
5570
  }, 8, ["open", "aria-label"]));
5559
5571
  }
5560
- }), [["__scopeId", "data-v-86718c10"]]), lo = { class: "ipd-dialog__header" }, uo = { class: "ipd-dialog__body" }, fo = { class: "ipd-fieldset" }, po = { class: "ipd-legend" }, mo = { class: "ipd-row" }, ho = { value: "align" }, go = { value: "offset" }, _o = {
5572
+ }), [["__scopeId", "data-v-86718c10"]]), po = { class: "ipd-dialog__header" }, mo = { class: "ipd-dialog__body" }, ho = { class: "ipd-fieldset" }, go = { class: "ipd-legend" }, _o = { class: "ipd-row" }, vo = { value: "align" }, yo = { value: "offset" }, bo = {
5561
5573
  key: 0,
5562
5574
  class: "ipd-row"
5563
- }, vo = { class: "ipd-label" }, yo = { value: "left" }, bo = { value: "center" }, xo = { value: "right" }, So = {
5575
+ }, xo = { class: "ipd-label" }, So = { value: "left" }, Co = { value: "center" }, wo = { value: "right" }, To = {
5564
5576
  key: 1,
5565
5577
  class: "ipd-row"
5566
- }, Co = { class: "ipd-label" }, wo = { class: "ipd-row" }, To = { class: "ipd-label" }, Eo = { value: "page" }, Do = { value: "column" }, Oo = { value: "margin" }, ko = { value: "character" }, Ao = { class: "ipd-fieldset" }, jo = { class: "ipd-legend" }, Mo = { class: "ipd-row" }, No = { value: "align" }, Po = { value: "offset" }, Fo = {
5578
+ }, Eo = { class: "ipd-label" }, Do = { class: "ipd-row" }, Oo = { class: "ipd-label" }, ko = { value: "page" }, Ao = { value: "column" }, jo = { value: "margin" }, Mo = { value: "character" }, No = { class: "ipd-fieldset" }, Po = { class: "ipd-legend" }, Fo = { class: "ipd-row" }, Io = { value: "align" }, Lo = { value: "offset" }, Ro = {
5567
5579
  key: 0,
5568
5580
  class: "ipd-row"
5569
- }, Io = { class: "ipd-label" }, Lo = { value: "top" }, Ro = { value: "center" }, zo = { value: "bottom" }, Bo = {
5581
+ }, zo = { class: "ipd-label" }, Bo = { value: "top" }, Vo = { value: "center" }, Ho = { value: "bottom" }, Uo = {
5570
5582
  key: 1,
5571
5583
  class: "ipd-row"
5572
- }, Vo = { class: "ipd-label" }, Ho = { class: "ipd-row" }, Uo = { class: "ipd-label" }, Wo = { value: "page" }, Go = { value: "margin" }, Ko = { value: "paragraph" }, qo = { value: "line" }, Jo = { class: "ipd-fieldset" }, Yo = { class: "ipd-row" }, Xo = { class: "ipd-label" }, Zo = {
5584
+ }, Wo = { class: "ipd-label" }, Go = { class: "ipd-row" }, Ko = { class: "ipd-label" }, qo = { value: "page" }, Jo = { value: "margin" }, Yo = { value: "paragraph" }, Xo = { value: "line" }, Zo = { class: "ipd-fieldset" }, Qo = { class: "ipd-row" }, $o = { class: "ipd-label" }, es = {
5573
5585
  class: "ipd-label",
5574
5586
  style: { width: "60px" }
5575
- }, Qo = { class: "ipd-row" }, $o = { class: "ipd-label" }, es = {
5587
+ }, ts = { class: "ipd-row" }, ns = { class: "ipd-label" }, rs = {
5576
5588
  class: "ipd-label",
5577
5589
  style: { width: "60px" }
5578
- }, ts = { class: "ipd-dialog__footer" }, ns = /*#__PURE__*/ H(/* @__PURE__ */ u({
5590
+ }, is = { class: "ipd-dialog__footer" }, as = /*#__PURE__*/ V(/* @__PURE__ */ u({
5579
5591
  __name: "ImagePositionDialog",
5580
5592
  props: {
5581
5593
  isOpen: { type: Boolean },
@@ -5616,22 +5628,22 @@ var Hn = u({
5616
5628
  onClose: a[13] ||= (e) => t.$emit("close")
5617
5629
  }, {
5618
5630
  default: P(() => [
5619
- s("div", lo, T(O(n)("dialogs.imagePosition.title")), 1),
5620
- s("div", uo, [
5621
- s("fieldset", fo, [
5622
- s("legend", po, T(O(n)("dialogs.imagePosition.horizontal")), 1),
5623
- s("div", mo, [a[14] ||= s("label", { class: "ipd-label" }, "Mode", -1), F(s("select", {
5631
+ s("div", po, T(O(n)("dialogs.imagePosition.title")), 1),
5632
+ s("div", mo, [
5633
+ s("fieldset", ho, [
5634
+ s("legend", go, T(O(n)("dialogs.imagePosition.horizontal")), 1),
5635
+ s("div", _o, [a[14] ||= s("label", { class: "ipd-label" }, "Mode", -1), F(s("select", {
5624
5636
  "onUpdate:modelValue": a[0] ||= (e) => l.value = e,
5625
5637
  class: "ipd-select"
5626
- }, [s("option", ho, T(O(n)("dialogs.imagePosition.alignment")), 1), s("option", go, T(O(n)("dialogs.imagePosition.offset")), 1)], 512), [[j, l.value]])]),
5627
- l.value === "align" ? (y(), o("div", _o, [s("label", vo, T(O(n)("dialogs.imagePosition.align")), 1), F(s("select", {
5638
+ }, [s("option", vo, T(O(n)("dialogs.imagePosition.alignment")), 1), s("option", yo, T(O(n)("dialogs.imagePosition.offset")), 1)], 512), [[j, l.value]])]),
5639
+ l.value === "align" ? (y(), o("div", bo, [s("label", xo, T(O(n)("dialogs.imagePosition.align")), 1), F(s("select", {
5628
5640
  "onUpdate:modelValue": a[1] ||= (e) => u.value = e,
5629
5641
  class: "ipd-select"
5630
5642
  }, [
5631
- s("option", yo, T(O(n)("dialogs.imagePosition.alignOptions.left")), 1),
5632
- s("option", bo, T(O(n)("dialogs.imagePosition.alignOptions.center")), 1),
5633
- s("option", xo, T(O(n)("dialogs.imagePosition.alignOptions.right")), 1)
5634
- ], 512), [[j, u.value]])])) : (y(), o("div", So, [s("label", Co, T(O(n)("dialogs.imagePosition.offsetPx")), 1), F(s("input", {
5643
+ s("option", So, T(O(n)("dialogs.imagePosition.alignOptions.left")), 1),
5644
+ s("option", Co, T(O(n)("dialogs.imagePosition.alignOptions.center")), 1),
5645
+ s("option", wo, T(O(n)("dialogs.imagePosition.alignOptions.right")), 1)
5646
+ ], 512), [[j, u.value]])])) : (y(), o("div", To, [s("label", Eo, T(O(n)("dialogs.imagePosition.offsetPx")), 1), F(s("input", {
5635
5647
  "onUpdate:modelValue": a[2] ||= (e) => d.value = e,
5636
5648
  type: "number",
5637
5649
  class: "ipd-input"
@@ -5641,30 +5653,30 @@ var Hn = u({
5641
5653
  void 0,
5642
5654
  { number: !0 }
5643
5655
  ]])])),
5644
- s("div", wo, [s("label", To, T(O(n)("dialogs.imagePosition.relativeTo")), 1), F(s("select", {
5656
+ s("div", Do, [s("label", Oo, T(O(n)("dialogs.imagePosition.relativeTo")), 1), F(s("select", {
5645
5657
  "onUpdate:modelValue": a[3] ||= (e) => f.value = e,
5646
5658
  class: "ipd-select"
5647
5659
  }, [
5648
- s("option", Eo, T(O(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5649
- s("option", Do, T(O(n)("dialogs.imagePosition.relativeOptions.column")), 1),
5650
- s("option", Oo, T(O(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5651
- s("option", ko, T(O(n)("dialogs.imagePosition.relativeOptions.character")), 1)
5660
+ s("option", ko, T(O(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5661
+ s("option", Ao, T(O(n)("dialogs.imagePosition.relativeOptions.column")), 1),
5662
+ s("option", jo, T(O(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5663
+ s("option", Mo, T(O(n)("dialogs.imagePosition.relativeOptions.character")), 1)
5652
5664
  ], 512), [[j, f.value]])])
5653
5665
  ]),
5654
- s("fieldset", Ao, [
5655
- s("legend", jo, T(O(n)("dialogs.imagePosition.vertical")), 1),
5656
- s("div", Mo, [a[15] ||= s("label", { class: "ipd-label" }, "Mode", -1), F(s("select", {
5666
+ s("fieldset", No, [
5667
+ s("legend", Po, T(O(n)("dialogs.imagePosition.vertical")), 1),
5668
+ s("div", Fo, [a[15] ||= s("label", { class: "ipd-label" }, "Mode", -1), F(s("select", {
5657
5669
  "onUpdate:modelValue": a[4] ||= (e) => p.value = e,
5658
5670
  class: "ipd-select"
5659
- }, [s("option", No, T(O(n)("dialogs.imagePosition.alignment")), 1), s("option", Po, T(O(n)("dialogs.imagePosition.offset")), 1)], 512), [[j, p.value]])]),
5660
- p.value === "align" ? (y(), o("div", Fo, [s("label", Io, T(O(n)("dialogs.imagePosition.align")), 1), F(s("select", {
5671
+ }, [s("option", Io, T(O(n)("dialogs.imagePosition.alignment")), 1), s("option", Lo, T(O(n)("dialogs.imagePosition.offset")), 1)], 512), [[j, p.value]])]),
5672
+ p.value === "align" ? (y(), o("div", Ro, [s("label", zo, T(O(n)("dialogs.imagePosition.align")), 1), F(s("select", {
5661
5673
  "onUpdate:modelValue": a[5] ||= (e) => m.value = e,
5662
5674
  class: "ipd-select"
5663
5675
  }, [
5664
- s("option", Lo, T(O(n)("dialogs.imagePosition.alignOptions.top")), 1),
5665
- s("option", Ro, T(O(n)("dialogs.imagePosition.alignOptions.center")), 1),
5666
- s("option", zo, T(O(n)("dialogs.imagePosition.alignOptions.bottom")), 1)
5667
- ], 512), [[j, m.value]])])) : (y(), o("div", Bo, [s("label", Vo, T(O(n)("dialogs.imagePosition.offsetPx")), 1), F(s("input", {
5676
+ s("option", Bo, T(O(n)("dialogs.imagePosition.alignOptions.top")), 1),
5677
+ s("option", Vo, T(O(n)("dialogs.imagePosition.alignOptions.center")), 1),
5678
+ s("option", Ho, T(O(n)("dialogs.imagePosition.alignOptions.bottom")), 1)
5679
+ ], 512), [[j, m.value]])])) : (y(), o("div", Uo, [s("label", Wo, T(O(n)("dialogs.imagePosition.offsetPx")), 1), F(s("input", {
5668
5680
  "onUpdate:modelValue": a[6] ||= (e) => h.value = e,
5669
5681
  type: "number",
5670
5682
  class: "ipd-input"
@@ -5674,20 +5686,20 @@ var Hn = u({
5674
5686
  void 0,
5675
5687
  { number: !0 }
5676
5688
  ]])])),
5677
- s("div", Ho, [s("label", Uo, T(O(n)("dialogs.imagePosition.relativeTo")), 1), F(s("select", {
5689
+ s("div", Go, [s("label", Ko, T(O(n)("dialogs.imagePosition.relativeTo")), 1), F(s("select", {
5678
5690
  "onUpdate:modelValue": a[7] ||= (e) => g.value = e,
5679
5691
  class: "ipd-select"
5680
5692
  }, [
5681
- s("option", Wo, T(O(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5682
- s("option", Go, T(O(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5683
- s("option", Ko, T(O(n)("dialogs.imagePosition.relativeOptions.paragraph")), 1),
5684
- s("option", qo, T(O(n)("dialogs.imagePosition.relativeOptions.line")), 1)
5693
+ s("option", qo, T(O(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5694
+ s("option", Jo, T(O(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5695
+ s("option", Yo, T(O(n)("dialogs.imagePosition.relativeOptions.paragraph")), 1),
5696
+ s("option", Xo, T(O(n)("dialogs.imagePosition.relativeOptions.line")), 1)
5685
5697
  ], 512), [[j, g.value]])])
5686
5698
  ]),
5687
- s("fieldset", Jo, [
5699
+ s("fieldset", Zo, [
5688
5700
  a[16] ||= s("legend", { class: "ipd-legend" }, "Distance from text (px)", -1),
5689
- s("div", Yo, [
5690
- s("label", Xo, T(O(n)("dialogs.imagePosition.alignOptions.top")), 1),
5701
+ s("div", Qo, [
5702
+ s("label", $o, T(O(n)("dialogs.imagePosition.alignOptions.top")), 1),
5691
5703
  F(s("input", {
5692
5704
  "onUpdate:modelValue": a[8] ||= (e) => _.value = e,
5693
5705
  type: "number",
@@ -5699,7 +5711,7 @@ var Hn = u({
5699
5711
  void 0,
5700
5712
  { number: !0 }
5701
5713
  ]]),
5702
- s("label", Zo, T(O(n)("dialogs.imagePosition.alignOptions.bottom")), 1),
5714
+ s("label", es, T(O(n)("dialogs.imagePosition.alignOptions.bottom")), 1),
5703
5715
  F(s("input", {
5704
5716
  "onUpdate:modelValue": a[9] ||= (e) => v.value = e,
5705
5717
  type: "number",
@@ -5712,8 +5724,8 @@ var Hn = u({
5712
5724
  { number: !0 }
5713
5725
  ]])
5714
5726
  ]),
5715
- s("div", Qo, [
5716
- s("label", $o, T(O(n)("dialogs.imagePosition.alignOptions.left")), 1),
5727
+ s("div", ts, [
5728
+ s("label", ns, T(O(n)("dialogs.imagePosition.alignOptions.left")), 1),
5717
5729
  F(s("input", {
5718
5730
  "onUpdate:modelValue": a[10] ||= (e) => b.value = e,
5719
5731
  type: "number",
@@ -5725,7 +5737,7 @@ var Hn = u({
5725
5737
  void 0,
5726
5738
  { number: !0 }
5727
5739
  ]]),
5728
- s("label", es, T(O(n)("dialogs.imagePosition.alignOptions.right")), 1),
5740
+ s("label", rs, T(O(n)("dialogs.imagePosition.alignOptions.right")), 1),
5729
5741
  F(s("input", {
5730
5742
  "onUpdate:modelValue": a[11] ||= (e) => x.value = e,
5731
5743
  type: "number",
@@ -5740,7 +5752,7 @@ var Hn = u({
5740
5752
  ])
5741
5753
  ])
5742
5754
  ]),
5743
- s("div", ts, [s("button", {
5755
+ s("div", is, [s("button", {
5744
5756
  class: "ipd-btn",
5745
5757
  onClick: a[12] ||= (e) => t.$emit("close")
5746
5758
  }, T(O(n)("common.cancel")), 1), s("button", {
@@ -5751,7 +5763,7 @@ var Hn = u({
5751
5763
  _: 1
5752
5764
  }, 8, ["open", "aria-label"]));
5753
5765
  }
5754
- }), [["__scopeId", "data-v-64d4c153"]]), rs = { class: "dialog__body" }, is = { class: "field" }, as = ["accept"], os = { class: "field" }, ss = ["placeholder"], cs = { class: "grid" }, ls = { class: "field" }, us = { class: "field" }, ds = { class: "dialog__footer" }, fs = ["disabled"], ps = /*#__PURE__*/ H(/* @__PURE__ */ u({
5766
+ }), [["__scopeId", "data-v-64d4c153"]]), os = { class: "dialog__body" }, ss = { class: "field" }, cs = ["accept"], ls = { class: "field" }, us = ["placeholder"], ds = { class: "grid" }, fs = { class: "field" }, ps = { class: "field" }, ms = { class: "dialog__footer" }, hs = ["disabled"], gs = /*#__PURE__*/ V(/* @__PURE__ */ u({
5755
5767
  __name: "InsertImageDialog",
5756
5768
  props: {
5757
5769
  isOpen: { type: Boolean },
@@ -5793,25 +5805,25 @@ var Hn = u({
5793
5805
  }, {
5794
5806
  default: P(() => [
5795
5807
  r[9] ||= s("div", { class: "dialog__header" }, "Insert Image", -1),
5796
- s("div", rs, [
5797
- s("label", is, [r[5] ||= s("span", { class: "field__label" }, "Image file", -1), s("input", {
5808
+ s("div", os, [
5809
+ s("label", ss, [r[5] ||= s("span", { class: "field__label" }, "Image file", -1), s("input", {
5798
5810
  class: "field__input",
5799
5811
  type: "file",
5800
5812
  accept: e.accept,
5801
5813
  onChange: d
5802
- }, null, 40, as)]),
5803
- s("label", os, [r[6] ||= s("span", { class: "field__label" }, "Alt text", -1), F(s("input", {
5814
+ }, null, 40, cs)]),
5815
+ s("label", ls, [r[6] ||= s("span", { class: "field__label" }, "Alt text", -1), F(s("input", {
5804
5816
  "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
5805
5817
  class: "field__input",
5806
5818
  placeholder: o.value?.name ?? ""
5807
- }, null, 8, ss), [[M, c.value]])]),
5808
- s("div", cs, [s("label", ls, [r[7] ||= s("span", { class: "field__label" }, "Width", -1), F(s("input", {
5819
+ }, null, 8, us), [[M, c.value]])]),
5820
+ s("div", ds, [s("label", fs, [r[7] ||= s("span", { class: "field__label" }, "Width", -1), F(s("input", {
5809
5821
  "onUpdate:modelValue": r[1] ||= (e) => l.value = e,
5810
5822
  class: "field__input",
5811
5823
  min: "1",
5812
5824
  placeholder: "Auto",
5813
5825
  type: "number"
5814
- }, null, 512), [[M, l.value]])]), s("label", us, [r[8] ||= s("span", { class: "field__label" }, "Height", -1), F(s("input", {
5826
+ }, null, 512), [[M, l.value]])]), s("label", ps, [r[8] ||= s("span", { class: "field__label" }, "Height", -1), F(s("input", {
5815
5827
  "onUpdate:modelValue": r[2] ||= (e) => u.value = e,
5816
5828
  class: "field__input",
5817
5829
  min: "1",
@@ -5819,14 +5831,14 @@ var Hn = u({
5819
5831
  type: "number"
5820
5832
  }, null, 512), [[M, u.value]])])])
5821
5833
  ]),
5822
- s("div", ds, [s("button", {
5834
+ s("div", ms, [s("button", {
5823
5835
  class: "dialog__btn",
5824
5836
  onClick: r[3] ||= (e) => t.$emit("close")
5825
5837
  }, "Cancel"), s("button", {
5826
5838
  class: "dialog__btn dialog__btn--primary",
5827
5839
  disabled: !o.value,
5828
5840
  onClick: f
5829
- }, " Insert ", 8, fs)])
5841
+ }, " Insert ", 8, hs)])
5830
5842
  ]),
5831
5843
  _: 1
5832
5844
  }, 8, ["open"]));
@@ -5835,7 +5847,7 @@ var Hn = u({
5835
5847
  style: "single",
5836
5848
  size: 4,
5837
5849
  color: { rgb: e }
5838
- }), ms = [
5850
+ }), _s = [
5839
5851
  {
5840
5852
  id: "TableNormal",
5841
5853
  name: "Normal Table",
@@ -6127,7 +6139,7 @@ var Hn = u({
6127
6139
  band1Horz: { backgroundColor: "#E2EFDA" }
6128
6140
  }
6129
6141
  }
6130
- ], hs = {
6142
+ ], vs = {
6131
6143
  TableNormal: "table.styles.normalTable",
6132
6144
  TableGrid: "table.styles.tableGrid",
6133
6145
  TableGridLight: "table.styles.gridTableLight",
@@ -6142,14 +6154,14 @@ var Hn = u({
6142
6154
  "ListTable4-Accent3": "table.styles.listTable4Accent3",
6143
6155
  "GridTable4-Accent5": "table.styles.gridTable4Accent5",
6144
6156
  "GridTable4-Accent6": "table.styles.gridTable4Accent6"
6145
- }, gs = 4, _s = 3;
6146
- function vs(e) {
6157
+ }, ys = 4, bs = 3;
6158
+ function xs(e) {
6147
6159
  return !e || e.style === "none" ? "none" : `${e.size ? Math.max(1, Math.round(e.size / 8)) : 1}px solid ${e.color?.rgb ? `#${e.color.rgb}` : "#000"}`;
6148
6160
  }
6149
- function ys(e, t, n, r) {
6150
- return vs(e === void 0 ? t ? n ?? r : r : e);
6161
+ function Ss(e, t, n, r) {
6162
+ return xs(e === void 0 ? t ? n ?? r : r : e);
6151
6163
  }
6152
- function bs(e, t = gs, n = _s) {
6164
+ function Cs(e, t = ys, n = bs) {
6153
6165
  let r = e.look ?? {}, i = e.conditionals ?? {}, a = e.tableBorders, o = [], s = 0;
6154
6166
  for (let e = 0; e < t; e++) {
6155
6167
  let c = e === 0 && !!r.firstRow, l = e === t - 1 && !!r.lastRow, u = r.noHBand !== !0, d;
@@ -6162,10 +6174,10 @@ function bs(e, t = gs, n = _s) {
6162
6174
  height: "10px",
6163
6175
  boxSizing: "border-box",
6164
6176
  backgroundColor: m?.backgroundColor ?? "transparent",
6165
- borderTop: ys(h?.top, e > 0, a?.insideH, a?.top),
6166
- borderBottom: ys(h?.bottom, e < t - 1, a?.insideH, a?.bottom),
6167
- borderLeft: ys(h?.left, s > 0, a?.insideV, a?.left),
6168
- borderRight: ys(h?.right, s < n - 1, a?.insideV, a?.right)
6177
+ borderTop: Ss(h?.top, e > 0, a?.insideH, a?.top),
6178
+ borderBottom: Ss(h?.bottom, e < t - 1, a?.insideH, a?.bottom),
6179
+ borderLeft: Ss(h?.left, s > 0, a?.insideV, a?.left),
6180
+ borderRight: Ss(h?.right, s < n - 1, a?.insideV, a?.right)
6169
6181
  };
6170
6182
  o.push(g);
6171
6183
  }
@@ -6174,40 +6186,40 @@ function bs(e, t = gs, n = _s) {
6174
6186
  }
6175
6187
  //#endregion
6176
6188
  //#region src/components/ui/TableStyleGallery.vue?vue&type=script&setup=true&lang.ts
6177
- var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMousedown"], ws = { class: "tsg__preview" }, Ts = { class: "tsg__name" }, Es = /*#__PURE__*/ H(/* @__PURE__ */ u({
6189
+ var ws = { class: "tsg" }, Ts = { class: "tsg__grid" }, Es = ["title", "onMousedown"], Ds = { class: "tsg__preview" }, Os = { class: "tsg__name" }, ks = /*#__PURE__*/ V(/* @__PURE__ */ u({
6178
6190
  __name: "TableStyleGallery",
6179
6191
  props: { currentStyleId: {} },
6180
6192
  emits: ["apply"],
6181
6193
  setup(e) {
6182
- let { t: n } = Z(), r = ms;
6194
+ let { t: n } = Z(), r = _s;
6183
6195
  function i(e) {
6184
- let t = hs[e.id];
6196
+ let t = vs[e.id];
6185
6197
  return t ? n(t) : e.name;
6186
6198
  }
6187
- return (n, a) => (y(), o("div", xs, [s("div", Ss, [(y(!0), o(t, null, C(O(r), (r) => (y(), o("button", {
6199
+ return (n, a) => (y(), o("div", ws, [s("div", Ts, [(y(!0), o(t, null, C(O(r), (r) => (y(), o("button", {
6188
6200
  key: r.id,
6189
6201
  class: h(["tsg__item", { "tsg__item--selected": e.currentStyleId === r.id }]),
6190
6202
  title: i(r),
6191
6203
  onMousedown: L((e) => n.$emit("apply", r.id), ["prevent"])
6192
- }, [s("div", ws, [(y(!0), o(t, null, C(O(bs)(r), (e, t) => (y(), o("div", {
6204
+ }, [s("div", Ds, [(y(!0), o(t, null, C(O(Cs)(r), (e, t) => (y(), o("div", {
6193
6205
  key: t,
6194
6206
  class: "tsg__cell",
6195
6207
  style: g(e)
6196
- }, null, 4))), 128))]), s("span", Ts, T(i(r)), 1)], 42, Cs))), 128))])]));
6208
+ }, null, 4))), 128))]), s("span", Os, T(i(r)), 1)], 42, Es))), 128))])]));
6197
6209
  }
6198
- }), [["__scopeId", "data-v-c155c39f"]]), Ds = x({
6210
+ }), [["__scopeId", "data-v-c155c39f"]]), As = x({
6199
6211
  rows: 3,
6200
6212
  cols: 3
6201
- }), Os = { class: "dialog__header" }, ks = { class: "dialog__title" }, As = ["title"], js = { class: "dialog__body" }, Ms = ["aria-label"], Ns = ["onMouseenter", "onMousedown"], Ps = { class: "table-grid__label" }, Fs = { class: "dialog__separator" }, Is = { class: "table-manual" }, Ls = { class: "table-manual__field" }, Rs = { class: "table-manual__field" }, zs = { class: "table-options" }, Bs = { class: "table-options__radio" }, Vs = { class: "table-options__radio" }, Hs = { class: "dialog__separator" }, Us = { class: "dialog__footer" }, Ws = ["disabled"], Gs = 8, Ks = 10, qs = 1, Js = 100, Ys = 1, Xs = 20, Zs = /*#__PURE__*/ H(/* @__PURE__ */ u({
6213
+ }), js = { class: "dialog__header" }, Ms = { class: "dialog__title" }, Ns = ["title"], Ps = { class: "dialog__body" }, Fs = ["aria-label"], Is = ["onMouseenter", "onMousedown"], Ls = { class: "table-grid__label" }, Rs = { class: "dialog__separator" }, zs = { class: "table-manual" }, Bs = { class: "table-manual__field" }, Vs = { class: "table-manual__field" }, Hs = { class: "table-options" }, Us = { class: "table-options__radio" }, Ws = { class: "table-options__radio" }, Gs = { class: "dialog__separator" }, Ks = { class: "dialog__footer" }, qs = ["disabled"], Js = 8, Ys = 10, Xs = 1, Zs = 100, Qs = 1, $s = 20, ec = /*#__PURE__*/ V(/* @__PURE__ */ u({
6202
6214
  __name: "InsertTableDialog",
6203
6215
  props: { isOpen: { type: Boolean } },
6204
6216
  emits: ["close", "insert"],
6205
6217
  setup(e, { emit: n }) {
6206
- let { t: i } = Z(), c = e, u = n, d = S(0), f = S(0), p = S(Ds.rows), m = S(Ds.cols), g = S("fixed"), _ = S(null);
6218
+ let { t: i } = Z(), c = e, u = n, d = S(0), f = S(0), p = S(As.rows), m = S(As.cols), g = S("fixed"), _ = S(null);
6207
6219
  N(() => c.isOpen, (e) => {
6208
- e && (p.value = Ds.rows, m.value = Ds.cols, d.value = 0, f.value = 0);
6220
+ e && (p.value = As.rows, m.value = As.cols, d.value = 0, f.value = 0);
6209
6221
  });
6210
- let v = r(() => Number.parseInt(String(p.value), 10)), b = r(() => Number.parseInt(String(m.value), 10)), x = r(() => Number.isFinite(v.value) && v.value >= qs && v.value <= Js), w = r(() => Number.isFinite(b.value) && b.value >= Ys && b.value <= Xs), E = r(() => x.value && w.value);
6222
+ let v = r(() => Number.parseInt(String(p.value), 10)), b = r(() => Number.parseInt(String(m.value), 10)), x = r(() => Number.isFinite(v.value) && v.value >= Xs && v.value <= Zs), w = r(() => Number.isFinite(b.value) && b.value >= Qs && b.value <= $s), E = r(() => x.value && w.value);
6211
6223
  function D() {
6212
6224
  u("close");
6213
6225
  }
@@ -6219,8 +6231,8 @@ var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMoused
6219
6231
  }
6220
6232
  function P() {
6221
6233
  if (!E.value) return;
6222
- let e = Math.min(Math.max(qs, v.value), Js), t = Math.min(Math.max(Ys, b.value), Xs);
6223
- Ds.rows = e, Ds.cols = t, u("insert", {
6234
+ let e = Math.min(Math.max(Xs, v.value), Zs), t = Math.min(Math.max(Qs, b.value), $s);
6235
+ As.rows = e, As.cols = t, u("insert", {
6224
6236
  rows: e,
6225
6237
  cols: t,
6226
6238
  autofit: g.value === "autofit",
@@ -6236,83 +6248,83 @@ var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMoused
6236
6248
  onMousedown: r[7] ||= L(() => {}, ["stop"]),
6237
6249
  onKeydown: L(j, ["stop"])
6238
6250
  }, [
6239
- s("div", Os, [s("span", ks, T(O(i)("dialogs.insertTable.title")), 1), s("button", {
6251
+ s("div", js, [s("span", Ms, T(O(i)("dialogs.insertTable.title")), 1), s("button", {
6240
6252
  class: "dialog__close",
6241
6253
  title: O(i)("common.closeDialog"),
6242
6254
  onClick: D
6243
- }, "✕", 8, As)]),
6244
- s("div", js, [
6255
+ }, "✕", 8, Ns)]),
6256
+ s("div", Ps, [
6245
6257
  s("div", {
6246
6258
  class: "table-grid",
6247
6259
  "aria-label": O(i)("dialogs.insertTable.sizeSelector"),
6248
6260
  onMouseleave: r[0] ||= (e) => {
6249
6261
  d.value = 0, f.value = 0;
6250
6262
  }
6251
- }, [(y(), o(t, null, C(Gs, (e) => s("div", {
6263
+ }, [(y(), o(t, null, C(Js, (e) => s("div", {
6252
6264
  key: e,
6253
6265
  class: "table-grid__row"
6254
- }, [(y(), o(t, null, C(Ks, (t) => s("div", {
6266
+ }, [(y(), o(t, null, C(Ys, (t) => s("div", {
6255
6267
  key: t,
6256
6268
  class: h(["table-grid__cell", { highlight: e <= d.value && t <= f.value }]),
6257
6269
  onMouseenter: (n) => {
6258
6270
  d.value = e, f.value = t;
6259
6271
  },
6260
6272
  onMousedown: L((n) => k(e, t), ["prevent"])
6261
- }, null, 42, Ns)), 64))])), 64))], 40, Ms),
6262
- s("div", Ps, T(d.value > 0 ? O(i)("dialogs.insertTable.tableSize", {
6273
+ }, null, 42, Is)), 64))])), 64))], 40, Fs),
6274
+ s("div", Ls, T(d.value > 0 ? O(i)("dialogs.insertTable.tableSize", {
6263
6275
  cols: f.value,
6264
6276
  rows: d.value
6265
6277
  }) : O(i)("dialogs.insertTable.hoverToSelect")), 1),
6266
- s("div", Fs, [s("span", null, T(O(i)("dialogs.insertTable.orSpecifySize")), 1)]),
6267
- s("div", Is, [s("label", Ls, [s("span", null, T(O(i)("dialogs.insertTable.rowsLabel")), 1), F(s("input", {
6278
+ s("div", Rs, [s("span", null, T(O(i)("dialogs.insertTable.orSpecifySize")), 1)]),
6279
+ s("div", zs, [s("label", Bs, [s("span", null, T(O(i)("dialogs.insertTable.rowsLabel")), 1), F(s("input", {
6268
6280
  "onUpdate:modelValue": r[1] ||= (e) => p.value = e,
6269
6281
  type: "number",
6270
- min: qs,
6271
- max: Js,
6282
+ min: Xs,
6283
+ max: Zs,
6272
6284
  class: h(["table-manual__input", { "table-manual__input--invalid": !x.value }])
6273
- }, null, 2), [[M, p.value]])]), s("label", Rs, [s("span", null, T(O(i)("dialogs.insertTable.columnsLabel")), 1), F(s("input", {
6285
+ }, null, 2), [[M, p.value]])]), s("label", Vs, [s("span", null, T(O(i)("dialogs.insertTable.columnsLabel")), 1), F(s("input", {
6274
6286
  "onUpdate:modelValue": r[2] ||= (e) => m.value = e,
6275
6287
  type: "number",
6276
- min: Ys,
6277
- max: Xs,
6288
+ min: Qs,
6289
+ max: $s,
6278
6290
  class: h(["table-manual__input", { "table-manual__input--invalid": !w.value }])
6279
6291
  }, null, 2), [[M, m.value]])])]),
6280
6292
  s("div", { class: h(["table-manual__hint", { "table-manual__hint--error": !E.value }]) }, T(O(i)("dialogs.insertTable.validationHint", {
6281
- minRows: qs,
6282
- maxRows: Js,
6283
- minCols: Ys,
6284
- maxCols: Xs
6293
+ minRows: Xs,
6294
+ maxRows: Zs,
6295
+ minCols: Qs,
6296
+ maxCols: $s
6285
6297
  })), 3),
6286
- s("fieldset", zs, [
6298
+ s("fieldset", Hs, [
6287
6299
  s("legend", null, T(O(i)("dialogs.insertTable.columnWidthLabel")), 1),
6288
- s("label", Bs, [F(s("input", {
6300
+ s("label", Us, [F(s("input", {
6289
6301
  type: "radio",
6290
6302
  value: "fixed",
6291
6303
  "onUpdate:modelValue": r[3] ||= (e) => g.value = e
6292
6304
  }, null, 512), [[A, g.value]]), s("span", null, T(O(i)("dialogs.insertTable.fixedWidth")), 1)]),
6293
- s("label", Vs, [F(s("input", {
6305
+ s("label", Ws, [F(s("input", {
6294
6306
  type: "radio",
6295
6307
  value: "autofit",
6296
6308
  "onUpdate:modelValue": r[4] ||= (e) => g.value = e
6297
6309
  }, null, 512), [[A, g.value]]), s("span", null, T(O(i)("dialogs.insertTable.autofit")), 1)])
6298
6310
  ]),
6299
- s("div", Hs, [s("span", null, T(O(i)("dialogs.insertTable.style")), 1)]),
6300
- l(Es, {
6311
+ s("div", Gs, [s("span", null, T(O(i)("dialogs.insertTable.style")), 1)]),
6312
+ l(ks, {
6301
6313
  "current-style-id": _.value,
6302
6314
  onApply: r[5] ||= (e) => _.value = e
6303
6315
  }, null, 8, ["current-style-id"])
6304
6316
  ]),
6305
- s("div", Us, [s("button", {
6317
+ s("div", Ks, [s("button", {
6306
6318
  class: "dialog__btn",
6307
6319
  onMousedown: L(D, ["prevent"])
6308
6320
  }, T(O(i)("common.cancel")), 33), s("button", {
6309
6321
  class: "dialog__btn dialog__btn--primary",
6310
6322
  disabled: !E.value,
6311
6323
  onMousedown: r[6] ||= L((e) => P(), ["prevent"])
6312
- }, T(O(i)("dialogs.insertTable.insertButton")), 41, Ws)])
6324
+ }, T(O(i)("dialogs.insertTable.insertButton")), 41, qs)])
6313
6325
  ], 32)], 32)) : a("", !0);
6314
6326
  }
6315
- }), [["__scopeId", "data-v-cc53b9fa"]]), Qs = { class: "dialog__body" }, $s = { class: "options" }, ec = ["value"], tc = { class: "option__body" }, nc = { class: "option__label" }, rc = { class: "option__description" }, ic = { class: "dialog__footer" }, ac = /*#__PURE__*/ H(/* @__PURE__ */ u({
6327
+ }), [["__scopeId", "data-v-cc53b9fa"]]), tc = { class: "dialog__body" }, nc = { class: "options" }, rc = ["value"], ic = { class: "option__body" }, ac = { class: "option__label" }, oc = { class: "option__description" }, sc = { class: "dialog__footer" }, cc = /*#__PURE__*/ V(/* @__PURE__ */ u({
6316
6328
  __name: "PasteSpecialDialog",
6317
6329
  props: {
6318
6330
  isOpen: { type: Boolean },
@@ -6355,15 +6367,15 @@ var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMoused
6355
6367
  }, {
6356
6368
  default: P(() => [
6357
6369
  c[4] ||= s("div", { class: "dialog__header" }, "Paste Special", -1),
6358
- s("div", Qs, [s("fieldset", $s, [c[3] ||= s("legend", { class: "options__legend" }, "Paste mode", -1), (y(), o(t, null, C(a, (e) => s("label", {
6370
+ s("div", tc, [s("fieldset", nc, [c[3] ||= s("legend", { class: "options__legend" }, "Paste mode", -1), (y(), o(t, null, C(a, (e) => s("label", {
6359
6371
  key: e.value,
6360
6372
  class: "option"
6361
6373
  }, [F(s("input", {
6362
6374
  "onUpdate:modelValue": c[0] ||= (e) => u.value = e,
6363
6375
  type: "radio",
6364
6376
  value: e.value
6365
- }, null, 8, ec), [[A, u.value]]), s("span", tc, [s("span", nc, T(e.label), 1), s("span", rc, T(e.description), 1)])])), 64))])]),
6366
- s("div", ic, [s("button", {
6377
+ }, null, 8, rc), [[A, u.value]]), s("span", ic, [s("span", ac, T(e.label), 1), s("span", oc, T(e.description), 1)])])), 64))])]),
6378
+ s("div", sc, [s("button", {
6367
6379
  class: "dialog__btn",
6368
6380
  onClick: c[1] ||= (e) => n.$emit("close")
6369
6381
  }, "Cancel"), s("button", {
@@ -6374,7 +6386,7 @@ var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMoused
6374
6386
  _: 1
6375
6387
  }, 8, ["open"]));
6376
6388
  }
6377
- }), [["__scopeId", "data-v-540e9db3"]]), oc = { class: "dialog__body" }, sc = { class: "grid" }, cc = { class: "field" }, lc = { class: "field" }, uc = { class: "check" }, dc = { class: "dialog__footer" }, fc = ["disabled"], pc = 1, mc = 63, hc = /*#__PURE__*/ H(/* @__PURE__ */ u({
6389
+ }), [["__scopeId", "data-v-540e9db3"]]), lc = { class: "dialog__body" }, uc = { class: "grid" }, dc = { class: "field" }, fc = { class: "field" }, pc = { class: "check" }, mc = { class: "dialog__footer" }, hc = ["disabled"], gc = 1, _c = 63, vc = /*#__PURE__*/ V(/* @__PURE__ */ u({
6378
6390
  __name: "SplitCellDialog",
6379
6391
  props: {
6380
6392
  isOpen: { type: Boolean },
@@ -6395,7 +6407,7 @@ var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMoused
6395
6407
  }), o("close"));
6396
6408
  }
6397
6409
  function h(e) {
6398
- return Math.min(mc, Math.max(pc, Math.trunc(e)));
6410
+ return Math.min(_c, Math.max(gc, Math.trunc(e)));
6399
6411
  }
6400
6412
  return (t, r) => (y(), i(O(n), {
6401
6413
  open: e.isOpen,
@@ -6410,44 +6422,44 @@ var xs = { class: "tsg" }, Ss = { class: "tsg__grid" }, Cs = ["title", "onMoused
6410
6422
  }, {
6411
6423
  default: P(() => [
6412
6424
  r[8] ||= s("div", { class: "dialog__header" }, "Split Cell", -1),
6413
- s("div", oc, [s("div", sc, [s("label", cc, [r[5] ||= s("span", { class: "field__label" }, "Columns", -1), F(s("input", {
6425
+ s("div", lc, [s("div", uc, [s("label", dc, [r[5] ||= s("span", { class: "field__label" }, "Columns", -1), F(s("input", {
6414
6426
  "onUpdate:modelValue": r[0] ||= (e) => l.value = e,
6415
6427
  class: "field__input",
6416
- max: mc,
6417
- min: pc,
6428
+ max: _c,
6429
+ min: gc,
6418
6430
  type: "number"
6419
6431
  }, null, 512), [[
6420
6432
  M,
6421
6433
  l.value,
6422
6434
  void 0,
6423
6435
  { number: !0 }
6424
- ]])]), s("label", lc, [r[6] ||= s("span", { class: "field__label" }, "Rows", -1), F(s("input", {
6436
+ ]])]), s("label", fc, [r[6] ||= s("span", { class: "field__label" }, "Rows", -1), F(s("input", {
6425
6437
  "onUpdate:modelValue": r[1] ||= (e) => c.value = e,
6426
6438
  class: "field__input",
6427
- max: mc,
6428
- min: pc,
6439
+ max: _c,
6440
+ min: gc,
6429
6441
  type: "number"
6430
6442
  }, null, 512), [[
6431
6443
  M,
6432
6444
  c.value,
6433
6445
  void 0,
6434
6446
  { number: !0 }
6435
- ]])])]), s("label", uc, [F(s("input", {
6447
+ ]])])]), s("label", pc, [F(s("input", {
6436
6448
  "onUpdate:modelValue": r[2] ||= (e) => u.value = e,
6437
6449
  type: "checkbox"
6438
6450
  }, null, 512), [[k, u.value]]), r[7] ||= s("span", null, "Merge selected cells before splitting", -1)])]),
6439
- s("div", dc, [s("button", {
6451
+ s("div", mc, [s("button", {
6440
6452
  class: "dialog__btn",
6441
6453
  onClick: r[3] ||= (e) => t.$emit("close")
6442
6454
  }, "Cancel"), s("button", {
6443
6455
  class: "dialog__btn dialog__btn--primary",
6444
6456
  disabled: !p.value,
6445
6457
  onClick: m
6446
- }, " Split ", 8, fc)])
6458
+ }, " Split ", 8, hc)])
6447
6459
  ]),
6448
6460
  _: 1
6449
6461
  }, 8, ["open"]));
6450
6462
  }
6451
6463
  }), [["__scopeId", "data-v-c4c6621c"]]);
6452
6464
  //#endregion
6453
- export { Rt as A, xn as C, pn as D, hn as E, H as F, Ht as M, Z as N, Jt as O, U as P, An as S, _n as T, Vn as _, ps as a, Ln as b, Da as c, vi as d, $r as f, Hn as g, Rn as h, Es as i, Ut as j, Kt as k, la as l, Xn as m, ac as n, ns as o, Cr as p, Zs as r, co as s, hc as t, Gi as u, Bn as v, yn as w, Nn as x, Q as y };
6465
+ export { zt as A, Sn as C, mn as D, gn as E, V as F, Ut as M, Z as N, Yt as O, H as P, jn as S, vn as T, Hn as _, gs as a, Rn as b, Aa as c, yi as d, ei as f, Un as g, zn as h, ks as i, Wt as j, qt as k, ua as l, Zn as m, cc as n, as as o, wr as p, ec as r, fo as s, vc as t, Ki as u, Vn as v, bn as w, Pn as x, Q as y };