@stll/folio-vue 0.17.3 → 0.18.0

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