@glimstone/vue 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8,9 +8,9 @@ import { t as ve } from "./selectParts-0e1ib8BL.js";
8
8
  import { t as ye } from "./Select-CBScnONy.js";
9
9
  import { t as be } from "./IconButton-D5YOChZI.js";
10
10
  import { Fragment as S, Teleport as xe, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as O, createTextVNode as k, createVNode as A, defineComponent as j, h as Se, inject as Ce, mergeModels as M, mergeProps as N, nextTick as we, normalizeClass as P, normalizeStyle as F, onBeforeUnmount as I, onMounted as L, onScopeDispose as Te, onUnmounted as Ee, onUpdated as De, openBlock as R, provide as Oe, ref as z, renderList as B, renderSlot as V, resolveDynamicComponent as H, shallowReactive as ke, shallowRef as U, toDisplayString as W, toRef as Ae, unref as G, useAttrs as je, useId as K, useModel as q, useSlots as Me, vModelDynamic as Ne, vModelText as Pe, vShow as Fe, watch as J, watchEffect as Ie, withCtx as Y, withDirectives as Le, withKeys as Re, withModifiers as X } from "vue";
11
- import { COLOR_NAMES_DE as ze, COLOR_PICKER_TEXT as Be, COPIED_MS as Ve, GLIMSTONE_VERSION as He, MARKS as Ue, PATH_ROOM_PX as We, TOAST_MARKS as Ge, WIDE_QUERY as Ke, anchorName as qe, announce as Je, appCardView as Ye, ariaSort as Xe, attachNumberSteppers as Ze, claimMenu as Qe, closeMenuOutside as $e, colorPicker as et, columnValues as tt, computeBubblePosition as nt, copyText as rt, countSelector as it, createFortressFlow as at, createSignInFlow as ot, donationHandlers as st, doubtView as ct, fieldErrorView as lt, fieldWidthClass as ut, fill as Z, floatColorPicker as dt, focusByLetter as ft, focusFirstField as pt, focusFirstMenuRow as mt, focusMenuRow as ht, focusMenuRowByLetter as gt, focusTreeRow as _t, focusedAsker as vt, hueVars as yt, isMenuHead as bt, isTypeahead as xt, joinRefusalText as St, keepReadmeFit as Ct, labelInside as wt, listKey as Tt, listOf as Et, listView as Dt, liveRegionAttrs as Ot, loadPaypal as kt, mailHref as At, mediaMatches as jt, memberName as Mt, menuIsOpen as Nt, menuMove as Pt, menuRowView as Ft, meterView as It, nearestColorName as Lt, nextSort as Rt, normalizeHex as zt, offersMail as Bt, openInBrowser as Vt, openInstance as Ht, openPopover as Ut, openSheet as Wt, othersLine as Gt, permissionsWith as Kt, phraseReady as qt, pillClassName as Jt, placeMenu as Yt, placeSubmenu as Xt, portalTarget as Zt, presenceTone as Qt, pressRowControl as $t, progressView as en, qrCode as tn, readmePartClass as nn, readmePartLabel as rn, readmeSoon as an, readmeUnitClass as on, resetBlocked as sn, returnFocus as cn, roveSelector as ln, rovedIndex as un, runUpdateCheck as dn, segmentView as fn, selectByClick as pn, selectorAxis as mn, selectorFlex as hn, selectorTabId as gn, selectorTabId as _n, selectorView as vn, shake as yn, showRefusal as bn, sidebarRowView as xn, signInBlocked as Sn, signInStage as Cn, skeletonRowView as wn, softBreaks as Tn, stackWindow as En, statusView as Dn, storeShowOthers as On, storedShowOthers as kn, subscribeMedia as An, syncNumberSteppers as jn, tableCellClass as Mn, textFieldClass as Nn, tidyMenu as Pn, toastPoliteness as Fn, toggleSelection as In, trapDialogKeys as Ln, treeRows as Rn, treeStep as zn, updateFace as Bn, updateStage as Vn, versionLink as Hn, warnDeprecated as Un, watchSelectorFit as Wn, windowFocusTarget as Gn, windowFoot as Kn } from "@glimstone/core";
11
+ import { COLOR_NAMES_DE as ze, COLOR_PICKER_TEXT as Be, COPIED_MS as Ve, GLIMSTONE_RELEASE_URL as He, GLIMSTONE_REPO as Ue, GLIMSTONE_VERSION as We, MARKS as Ge, PATH_ROOM_PX as Ke, TOAST_MARKS as qe, WIDE_QUERY as Je, anchorName as Ye, announce as Xe, appCardView as Ze, ariaSort as Qe, attachNumberSteppers as $e, claimMenu as et, closeMenuOutside as tt, colorPicker as nt, columnValues as rt, computeBubblePosition as it, copyText as at, countSelector as ot, createFortressFlow as st, createSignInFlow as ct, donationHandlers as lt, doubtView as ut, fieldErrorView as dt, fieldWidthClass as ft, fill as Z, floatColorPicker as pt, focusByLetter as mt, focusFirstField as ht, focusFirstMenuRow as gt, focusMenuRow as _t, focusMenuRowByLetter as vt, focusTreeRow as yt, focusedAsker as bt, hueVars as xt, isMenuHead as St, isTypeahead as Ct, joinRefusalText as wt, keepReadmeFit as Tt, labelInside as Et, listKey as Dt, listOf as Ot, listView as kt, liveRegionAttrs as At, loadPaypal as jt, mailHref as Mt, mediaMatches as Nt, memberName as Pt, menuIsOpen as Ft, menuMove as It, menuRowView as Lt, meterView as Rt, nearestColorName as zt, nextSort as Bt, normalizeHex as Vt, offersMail as Ht, openInBrowser as Ut, openInstance as Wt, openPopover as Gt, openSheet as Kt, othersLine as qt, permissionsWith as Jt, phraseReady as Yt, pillClassName as Xt, placeMenu as Zt, placeSubmenu as Qt, portalTarget as $t, presenceTone as en, pressRowControl as tn, progressView as nn, qrCode as rn, readmePartClass as an, readmePartLabel as on, readmeSoon as sn, readmeUnitClass as cn, resetBlocked as ln, returnFocus as un, roveSelector as dn, rovedIndex as fn, runUpdateCheck as pn, segmentView as mn, selectByClick as hn, selectorAxis as gn, selectorFlex as _n, selectorTabId as vn, selectorTabId as yn, selectorView as bn, shake as xn, showRefusal as Sn, sidebarRowView as Cn, signInBlocked as wn, signInStage as Tn, skeletonRowView as En, softBreaks as Dn, stackWindow as On, statusView as kn, storeShowOthers as An, storedShowOthers as jn, subscribeMedia as Mn, syncNumberSteppers as Nn, tableCellClass as Pn, textFieldClass as Fn, tidyMenu as In, toastPoliteness as Ln, toggleSelection as Rn, trapDialogKeys as zn, treeRows as Bn, treeStep as Vn, updateFace as Hn, updateStage as Un, versionLink as Wn, warnDeprecated as Gn, watchSelectorFit as Kn, windowFocusTarget as qn, windowFoot as Jn } from "@glimstone/core";
12
12
  // src/InfoBubble.vue?vue&type=script&setup=true&lang.ts
13
- var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
13
+ var Yn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
14
14
  __name: "InfoBubble",
15
15
  props: {
16
16
  tip: {},
@@ -60,12 +60,12 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
60
60
  "stroke-width": "1.3",
61
61
  "stroke-linecap": "round"
62
62
  })
63
- ], -1)]], 42, qn), A(t, { state: G(i) }, null, 8, ["state"])], 64));
63
+ ], -1)]], 42, Yn), A(t, { state: G(i) }, null, 8, ["state"])], 64));
64
64
  }
65
- }), Jn = ["data-glim-title"], Yn = {
65
+ }), Xn = ["data-glim-title"], Zn = {
66
66
  key: 0,
67
67
  class: "glim-panel-heading"
68
- }, Xn = /* @__PURE__ */ j({
68
+ }, Qn = /* @__PURE__ */ j({
69
69
  __name: "Card",
70
70
  props: {
71
71
  title: {},
@@ -74,7 +74,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
74
74
  nested: { type: Boolean }
75
75
  },
76
76
  setup(t) {
77
- let n = t, r = C(() => n.hueIndex === void 0 ? void 0 : yt(n.hueIndex));
77
+ let n = t, r = C(() => n.hueIndex === void 0 ? void 0 : xt(n.hueIndex));
78
78
  return (n, i) => (R(), E("div", {
79
79
  "data-glim": "Card",
80
80
  "data-glim-title": t.title,
@@ -87,7 +87,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
87
87
  }
88
88
  ]),
89
89
  style: F(r.value)
90
- }, [t.title || t.hint || n.$slots.title ? (R(), E("h2", Yn, [A(e, {
90
+ }, [t.title || t.hint || n.$slots.title ? (R(), E("h2", Zn, [A(e, {
91
91
  tone: "heading",
92
92
  size: "heading",
93
93
  wrap: "",
@@ -99,20 +99,20 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
99
99
  "on-accent": ""
100
100
  }, null, 8, ["tip"])) : T("", !0)]),
101
101
  _: 3
102
- }, 8, ["hue-index"])])) : T("", !0), V(n.$slots, "default")], 14, Jn));
102
+ }, 8, ["hue-index"])])) : T("", !0), V(n.$slots, "default")], 14, Xn));
103
103
  }
104
- }), Zn = {
104
+ }), $n = {
105
105
  key: 0,
106
106
  class: "glim-readme-btn-art",
107
107
  "aria-hidden": "true"
108
- }, Qn = { class: "glim-readme-btn-text" }, $n = { class: "glim-readme-btn-name" }, er = {
108
+ }, er = { class: "glim-readme-btn-text" }, tr = { class: "glim-readme-btn-name" }, nr = {
109
109
  key: 0,
110
110
  class: "glim-readme-btn-sub"
111
- }, tr = {
111
+ }, rr = {
112
112
  key: 0,
113
113
  class: "glim-readme-btn-sheen",
114
114
  "aria-hidden": "true"
115
- }, nr = {
115
+ }, ir = {
116
116
  key: 1,
117
117
  class: "glim-readme-btn-hint"
118
118
  }, $ = /* @__PURE__ */ j({
@@ -130,11 +130,11 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
130
130
  },
131
131
  emits: ["linkClick"],
132
132
  setup(e, { emit: t }) {
133
- let n = e, r = t, i = C(() => an(n.parts)), a = U(null), o = C(() => n.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (i.value ? n.soonLabel : "")), s;
133
+ let n = e, r = t, i = C(() => sn(n.parts)), a = U(null), o = C(() => n.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (i.value ? n.soonLabel : "")), s;
134
134
  J([a, o], () => {
135
- s?.(), s = a.value ? Ct(a.value) : void 0;
135
+ s?.(), s = a.value ? Tt(a.value) : void 0;
136
136
  }, { flush: "post" }), Te(() => s?.());
137
- let c = (e) => i.value ? n.soonLabel : e.sub, l = (e) => rn(e, c(e)), u = (e) => i.value ? "span" : e.href ? "a" : "button", d = (e) => i.value ? { "aria-disabled": !0 } : e.href ? {
137
+ let c = (e) => i.value ? n.soonLabel : e.sub, l = (e) => on(e, c(e)), u = (e) => i.value ? "span" : e.href ? "a" : "button", d = (e) => i.value ? { "aria-disabled": !0 } : e.href ? {
138
138
  href: e.href,
139
139
  target: "_blank",
140
140
  rel: "noreferrer noopener",
@@ -147,24 +147,24 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
147
147
  ref_key: "root",
148
148
  ref: a,
149
149
  "data-glim": "ReadmeButton",
150
- class: P(G(on)(e.brand, e.parts.length, e.note, i.value))
150
+ class: P(G(cn)(e.brand, e.parts.length, e.note, i.value))
151
151
  }, [
152
152
  (R(!0), E(S, null, B(e.parts, (n, r) => (R(), w(H(u(n)), N({ key: r }, { ref_for: !0 }, d(n), {
153
153
  "aria-label": l(n),
154
- class: G(nn)(r, i.value)
154
+ class: G(an)(r, i.value)
155
155
  }), {
156
- default: Y(() => [r === 0 && t.$slots.art ? (R(), E("span", Zn, [V(t.$slots, "art")])) : (R(), E(S, { key: 1 }, [r === 0 && t.$slots.mark ? (R(), E("span", {
156
+ default: Y(() => [r === 0 && t.$slots.art ? (R(), E("span", $n, [V(t.$slots, "art")])) : (R(), E(S, { key: 1 }, [r === 0 && t.$slots.mark ? (R(), E("span", {
157
157
  key: 0,
158
158
  class: P(`glim-readme-btn-mark ${e.markClass ?? ""}`),
159
159
  "aria-hidden": "true"
160
- }, [V(t.$slots, "mark")], 2)) : T("", !0), D("span", Qn, [D("span", $n, W(n.name), 1), c(n) ? (R(), E("span", er, W(c(n)), 1)) : T("", !0)])], 64))]),
160
+ }, [V(t.$slots, "mark")], 2)) : T("", !0), D("span", er, [D("span", tr, W(n.name), 1), c(n) ? (R(), E("span", nr, W(c(n)), 1)) : T("", !0)])], 64))]),
161
161
  _: 2
162
162
  }, 1040, ["aria-label", "class"]))), 128)),
163
- i.value ? T("", !0) : (R(), E("span", tr)),
164
- e.hint ? (R(), E("span", nr, [A(Q, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0)
163
+ i.value ? T("", !0) : (R(), E("span", rr)),
164
+ e.hint ? (R(), E("span", ir, [A(Q, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0)
165
165
  ], 2));
166
166
  }
167
- }), rr = { class: "glim-info-text" }, ir = { class: "glim-info-text" }, ar = { class: "glim-readme-btn-rows glim-about-give" }, or = /* @__PURE__ */ j({
167
+ }), ar = { class: "glim-info-text" }, or = { class: "glim-info-text" }, sr = { class: "glim-readme-btn-rows glim-about-give" }, cr = /* @__PURE__ */ j({
168
168
  __name: "InfoAboutCard",
169
169
  props: {
170
170
  text: {},
@@ -177,15 +177,15 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
177
177
  hueIndex: {}
178
178
  },
179
179
  setup(e) {
180
- return (t, n) => (R(), w(Xn, {
180
+ return (t, n) => (R(), w(Qn, {
181
181
  "data-glim": "InfoAboutCard",
182
182
  title: e.text.title,
183
183
  "hue-index": e.hueIndex
184
184
  }, {
185
185
  default: Y(() => [
186
- D("p", rr, W(e.text.body), 1),
187
- D("p", ir, W(e.text.coffee), 1),
188
- D("div", ar, [
186
+ D("p", ar, W(e.text.body), 1),
187
+ D("p", or, W(e.text.coffee), 1),
188
+ D("div", sr, [
189
189
  A($, {
190
190
  brand: "coffee",
191
191
  parts: [{
@@ -227,7 +227,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
227
227
  _: 1
228
228
  }, 8, ["title", "hue-index"]));
229
229
  }
230
- }), sr = { class: "glim-info-text" }, cr = { class: "glim-readme-btn-rows" }, lr = /* @__PURE__ */ j({
230
+ }), lr = { class: "glim-info-text" }, ur = { class: "glim-readme-btn-rows" }, dr = /* @__PURE__ */ j({
231
231
  __name: "InfoHelpCard",
232
232
  props: {
233
233
  text: {},
@@ -241,19 +241,19 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
241
241
  bugGlyph: {},
242
242
  openUrl: {
243
243
  type: Function,
244
- default: Vt
244
+ default: Ut
245
245
  },
246
246
  hueIndex: {}
247
247
  },
248
248
  setup(e) {
249
- let t = e, n = C(() => Bt(t.text.report, t.mailAddress));
250
- return (t, r) => (R(), w(Xn, {
249
+ let t = e, n = C(() => Ht(t.text.report, t.mailAddress));
250
+ return (t, r) => (R(), w(Qn, {
251
251
  "data-glim": "InfoHelpCard",
252
252
  title: e.text.title,
253
253
  hint: e.text.hint,
254
254
  "hue-index": e.hueIndex
255
255
  }, {
256
- default: Y(() => [D("p", sr, W(e.text.report), 1), D("div", cr, [
256
+ default: Y(() => [D("p", lr, W(e.text.report), 1), D("div", ur, [
257
257
  A($, {
258
258
  brand: "github",
259
259
  parts: [{
@@ -271,7 +271,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
271
271
  brand: "house",
272
272
  parts: [{
273
273
  name: e.text.mailButton,
274
- onClick: () => e.openUrl(G(At)(e.mailAddress, e.text.mailSubject))
274
+ onClick: () => e.openUrl(G(Mt)(e.mailAddress, e.text.mailSubject))
275
275
  }],
276
276
  "mark-class": "glim-house-mark"
277
277
  }, O({ _: 2 }, [e.mailGlyph ? {
@@ -314,19 +314,19 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
314
314
  "hue-index"
315
315
  ]));
316
316
  }
317
- }), ur = { class: "glim-version-rows" }, dr = { class: "glim-version-name" }, fr = { class: "glim-version-part" }, pr = {
317
+ }), fr = { class: "glim-version-rows" }, pr = { class: "glim-version-name" }, mr = { class: "glim-version-part" }, hr = {
318
318
  key: 0,
319
319
  class: "glim-version-sub"
320
- }, mr = ["href", "onClick"], hr = {
320
+ }, gr = ["href", "onClick"], _r = {
321
321
  key: 1,
322
322
  class: "glim-num glim-version-number"
323
- }, gr = {
323
+ }, vr = {
324
324
  key: 0,
325
325
  class: "glim-version-actions"
326
- }, _r = {
326
+ }, yr = {
327
327
  role: "status",
328
328
  class: "glim-sr-only"
329
- }, vr = /* @__PURE__ */ j({
329
+ }, br = /* @__PURE__ */ j({
330
330
  __name: "InfoVersionCard",
331
331
  props: {
332
332
  text: {},
@@ -335,37 +335,37 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
335
335
  onReleaseNotes: {},
336
336
  openUrl: {
337
337
  type: Function,
338
- default: Vt
338
+ default: Ut
339
339
  },
340
340
  hueIndex: {}
341
341
  },
342
342
  setup(e) {
343
- let t = e, n = Me(), r = C(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = U({ kind: "idle" }), a = U(0), o = C(() => t.updateCheck && Bn(i.value, t.updateCheck.text));
343
+ let t = e, n = Me(), r = C(() => !n["whats-new"] && t.onReleaseNotes && t.text.releaseNotes), i = U({ kind: "idle" }), a = U(0), o = C(() => t.updateCheck && Hn(i.value, t.updateCheck.text));
344
344
  function s() {
345
- dn(t.updateCheck, i.value, (e) => {
345
+ pn(t.updateCheck, i.value, (e) => {
346
346
  i.value = e, e.kind === "failed" && a.value++;
347
347
  });
348
348
  }
349
349
  function c(e, n) {
350
350
  e.preventDefault(), t.openUrl(n);
351
351
  }
352
- return (t, n) => (R(), w(Xn, {
352
+ return (t, n) => (R(), w(Qn, {
353
353
  "data-glim": "InfoVersionCard",
354
354
  title: e.text.title,
355
355
  hint: e.text.hint,
356
356
  "hue-index": e.hueIndex
357
357
  }, {
358
- default: Y(() => [D("ul", ur, [(R(!0), E(S, null, B(e.rows, (t) => (R(), E("li", {
358
+ default: Y(() => [D("ul", fr, [(R(!0), E(S, null, B(e.rows, (t) => (R(), E("li", {
359
359
  key: t.name,
360
360
  class: "glim-version-row"
361
- }, [D("span", dr, [D("span", fr, W(t.name), 1), t.sub ? (R(), E("span", pr, W(t.sub), 1)) : T("", !0)]), G(Hn)(t).href ? (R(), E("a", {
361
+ }, [D("span", pr, [D("span", mr, W(t.name), 1), t.sub ? (R(), E("span", hr, W(t.sub), 1)) : T("", !0)]), G(Wn)(t).href ? (R(), E("a", {
362
362
  key: 0,
363
- href: G(Hn)(t).href,
363
+ href: G(Wn)(t).href,
364
364
  target: "_blank",
365
365
  rel: "noopener noreferrer",
366
366
  class: "glim-num glim-version-number",
367
- onClick: (e) => c(e, G(Hn)(t).href)
368
- }, W(G(Hn)(t).shown), 9, mr)) : (R(), E("span", hr, W(G(Hn)(t).released ? G(Hn)(t).shown : e.text.unreleased(G(Hn)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (R(), E("div", gr, [
367
+ onClick: (e) => c(e, G(Wn)(t).href)
368
+ }, W(G(Wn)(t).shown), 9, gr)) : (R(), E("span", _r, W(G(Wn)(t).released ? G(Wn)(t).shown : e.text.unreleased(G(Wn)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (R(), E("div", vr, [
369
369
  r.value ? (R(), w(f, {
370
370
  key: 0,
371
371
  label: e.text.releaseNotes,
@@ -378,7 +378,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
378
378
  label: o.value.label,
379
379
  "label-key": o.value.labelKey,
380
380
  tone: o.value.tone,
381
- stage: G(Vn)(e.updateCheck.text, o.value.label),
381
+ stage: G(Un)(e.updateCheck.text, o.value.label),
382
382
  busy: i.value.kind === "busy",
383
383
  class: P(a.value > 0 ? "glim-shake" : ""),
384
384
  onClick: s
@@ -389,7 +389,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
389
389
  "stage",
390
390
  "busy",
391
391
  "class"
392
- ])), D("span", _r, W(o.value.announced), 1)], 64)) : T("", !0)
392
+ ])), D("span", yr, W(o.value.announced), 1)], 64)) : T("", !0)
393
393
  ])) : T("", !0)]),
394
394
  _: 3
395
395
  }, 8, [
@@ -398,10 +398,10 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
398
398
  "hue-index"
399
399
  ]));
400
400
  }
401
- }), yr = {
401
+ }), xr = {
402
402
  "data-glim": "InfoTile",
403
403
  style: { display: "contents" }
404
- }, br = /* @__PURE__ */ j({
404
+ }, Sr = /* @__PURE__ */ j({
405
405
  __name: "InfoTile",
406
406
  props: {
407
407
  version: {},
@@ -411,17 +411,17 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
411
411
  },
412
412
  setup(e) {
413
413
  let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
414
- return (t, r) => (R(), E("div", yr, [
415
- A(vr, N(e.version, { "hue-index": n(0) }), O({ _: 2 }, [t.$slots["whats-new"] ? {
414
+ return (t, r) => (R(), E("div", xr, [
415
+ A(br, N(e.version, { "hue-index": n(0) }), O({ _: 2 }, [t.$slots["whats-new"] ? {
416
416
  name: "whats-new",
417
417
  fn: Y(() => [V(t.$slots, "whats-new")]),
418
418
  key: "0"
419
419
  } : void 0]), 1040, ["hue-index"]),
420
- A(lr, N(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
421
- A(or, N(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
420
+ A(dr, N(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
421
+ A(cr, N(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
422
422
  ]));
423
423
  }
424
- }), xr = /* @__PURE__ */ j({
424
+ }), Cr = /* @__PURE__ */ j({
425
425
  __name: "AboutCard",
426
426
  props: {
427
427
  text: {},
@@ -440,13 +440,13 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
440
440
  mailGlyph: {},
441
441
  openUrl: {
442
442
  type: Function,
443
- default: Vt
443
+ default: Ut
444
444
  },
445
445
  hueIndex: {}
446
446
  },
447
447
  setup(e) {
448
448
  let t = e;
449
- Un("AboutCard");
449
+ Gn("AboutCard");
450
450
  let n = C(() => [...t.version ? [{
451
451
  name: t.text.version,
452
452
  version: t.version,
@@ -456,7 +456,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
456
456
  version: t.glimstoneVersion,
457
457
  repoUrl: t.glimstoneRepoUrl
458
458
  }]);
459
- return (t, r) => (R(), w(br, {
459
+ return (t, r) => (R(), w(Sr, {
460
460
  "data-glim": "AboutCard",
461
461
  "hue-index": e.hueIndex,
462
462
  about: {
@@ -497,7 +497,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
497
497
  "help"
498
498
  ]));
499
499
  }
500
- }), Sr = ["innerHTML"], Cr = /* @__PURE__ */ j({
500
+ }), wr = ["innerHTML"], Tr = /* @__PURE__ */ j({
501
501
  __name: "BrandMark",
502
502
  props: { svg: {} },
503
503
  setup(e) {
@@ -506,16 +506,16 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
506
506
  class: "glim-brand-svg",
507
507
  "aria-hidden": "true",
508
508
  innerHTML: e.svg
509
- }, null, 8, Sr));
509
+ }, null, 8, wr));
510
510
  }
511
- }), wr = [
511
+ }), Er = [
512
512
  "aria-checked",
513
513
  "aria-label",
514
514
  "disabled"
515
- ], Tr = {
515
+ ], Dr = {
516
516
  class: "glim-checkbox-box",
517
517
  "aria-hidden": "true"
518
- }, Er = { key: 0 }, Dr = /* @__PURE__ */ j({
518
+ }, Or = { key: 0 }, kr = /* @__PURE__ */ j({
519
519
  __name: "Checkbox",
520
520
  props: /*@__PURE__*/ M({
521
521
  label: {},
@@ -551,12 +551,12 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
551
551
  class: P(["glim-checkbox", { "glim-checkbox--slim": e.slim }]),
552
552
  onClick: i[0] ||= (e) => r.value = !r.value,
553
553
  onKeydown: i[1] ||= Re(X(() => {}, ["prevent"]), ["enter"])
554
- }, [D("span", Tr, [A(G(y))]), n.value ? T("", !0) : (R(), E("span", Er, W(e.label), 1))], 42, wr));
554
+ }, [D("span", Dr, [A(G(y))]), n.value ? T("", !0) : (R(), E("span", Or, W(e.label), 1))], 42, Er));
555
555
  }
556
- }), Or = ["data-glim-title"], kr = { class: "glim-modal-head" }, Ar = {
556
+ }), Ar = ["data-glim-title"], jr = { class: "glim-modal-head" }, Mr = {
557
557
  id: "coffee-title",
558
558
  class: "glim-modal-title"
559
- }, jr = { class: "glim-give-body" }, Mr = { class: "glim-give-appeal" }, Nr = { class: "glim-give-intro" }, Pr = { class: "glim-give-frame" }, Fr = ["src", "title"], Ir = { class: "glim-give-foot" }, Lr = /* @__PURE__ */ j({
559
+ }, Nr = { class: "glim-give-body" }, Pr = { class: "glim-give-appeal" }, Fr = { class: "glim-give-intro" }, Ir = { class: "glim-give-frame" }, Lr = ["src", "title"], Rr = { class: "glim-give-foot" }, zr = /* @__PURE__ */ j({
560
560
  __name: "CoffeeDialog",
561
561
  props: {
562
562
  widgetUrl: {},
@@ -579,7 +579,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
579
579
  "aria-labelledby": "coffee-title",
580
580
  class: "glim-modal-card glim-modal-card--wide glim-modal-card--tall"
581
581
  }, [
582
- D("div", kr, [D("h2", Ar, [A(e, {
582
+ D("div", jr, [D("h2", Mr, [A(e, {
583
583
  tone: "heading",
584
584
  size: "heading",
585
585
  wrap: ""
@@ -587,28 +587,28 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
587
587
  default: Y(() => [k(W(t.text.title), 1)]),
588
588
  _: 1
589
589
  })])]),
590
- D("div", jr, [
591
- D("p", Mr, W(t.text.appeal), 1),
592
- D("p", Nr, W(t.text.intro), 1),
593
- D("div", Pr, [D("iframe", {
590
+ D("div", Nr, [
591
+ D("p", Pr, W(t.text.appeal), 1),
592
+ D("p", Fr, W(t.text.intro), 1),
593
+ D("div", Ir, [D("iframe", {
594
594
  src: t.widgetUrl,
595
595
  title: t.text.title,
596
596
  allow: "payment",
597
597
  class: "glim-give-iframe"
598
- }, null, 8, Fr)])
598
+ }, null, 8, Lr)])
599
599
  ]),
600
- D("div", Ir, [A(f, {
600
+ D("div", Rr, [A(f, {
601
601
  label: t.text.closeLabel,
602
602
  "label-key": "common.close",
603
603
  tone: "neutral",
604
604
  onClick: r[0] ||= (e) => i("close")
605
605
  }, null, 8, ["label"])])
606
- ], 8, Or)]));
606
+ ], 8, Ar)]));
607
607
  }
608
- }), Rr = { class: "glim-picker-foot" }, zr = {
608
+ }), Br = { class: "glim-picker-foot" }, Vr = {
609
609
  key: 0,
610
610
  class: "glim-picker-name"
611
- }, Br = ["value", "aria-label"], Vr = { class: "glim-picker-actions" }, Hr = /* @__PURE__ */ j({
611
+ }, Hr = ["value", "aria-label"], Ur = { class: "glim-picker-actions" }, Wr = /* @__PURE__ */ j({
612
612
  __name: "ColorPicker",
613
613
  props: /*@__PURE__*/ M({
614
614
  anchor: { default: null },
@@ -630,18 +630,18 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
630
630
  let n = e, r = q(e, "modelValue"), i = t, a = {
631
631
  ...Be,
632
632
  ...n.text
633
- }, o = U(null), s = U(null), c = z(zt(r.value) ?? "#000000"), l = z(c.value), u = C(() => n.names === !1 ? null : Lt(c.value, n.names)), d = et(c.value, (e) => {
633
+ }, o = U(null), s = U(null), c = z(Vt(r.value) ?? "#000000"), l = z(c.value), u = C(() => n.names === !1 ? null : zt(c.value, n.names)), d = nt(c.value, (e) => {
634
634
  c.value = e, l.value = e, i("input", e);
635
635
  }, { text: a }), p;
636
636
  L(() => {
637
- s.value.appendChild(d.el), n.anchor && o.value && (p = dt(o.value, n.anchor, () => i("close")), d.focus());
637
+ s.value.appendChild(d.el), n.anchor && o.value && (p = pt(o.value, n.anchor, () => i("close")), d.focus());
638
638
  }), I(() => p?.()), J(r, (e) => {
639
- let t = zt(e);
639
+ let t = Vt(e);
640
640
  t && (c.value = t, l.value = t, d.setValue(t));
641
641
  });
642
642
  function m(e) {
643
643
  l.value = e.target.value;
644
- let t = zt(l.value);
644
+ let t = Vt(l.value);
645
645
  t && (c.value = t, d.setValue(t), i("input", t));
646
646
  }
647
647
  function h() {
@@ -651,7 +651,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
651
651
  e.key === "Enter" && !(e.target instanceof HTMLButtonElement) && (e.preventDefault(), h());
652
652
  }
653
653
  return (t, n) => (R(), w(xe, {
654
- to: G(Zt)(),
654
+ to: G($t)(),
655
655
  disabled: !e.anchor
656
656
  }, [D("div", {
657
657
  "data-glim": "ColorPicker",
@@ -666,12 +666,12 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
666
666
  ref: s,
667
667
  style: { display: "contents" }
668
668
  }, null, 512),
669
- D("div", Rr, [
669
+ D("div", Br, [
670
670
  n[0] ||= D("span", {
671
671
  class: "glim-picker-swatch",
672
672
  "aria-hidden": "true"
673
673
  }, null, -1),
674
- u.value === null ? T("", !0) : (R(), E("span", zr, W(u.value), 1)),
674
+ u.value === null ? T("", !0) : (R(), E("span", Vr, W(u.value), 1)),
675
675
  D("input", {
676
676
  class: "glim-picker-hex",
677
677
  value: l.value,
@@ -679,9 +679,9 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
679
679
  spellcheck: "false",
680
680
  "aria-label": a.hex,
681
681
  onInput: m
682
- }, null, 40, Br)
682
+ }, null, 40, Hr)
683
683
  ]),
684
- D("div", Vr, [A(f, {
684
+ D("div", Ur, [A(f, {
685
685
  label: a.apply,
686
686
  "label-key": "apply",
687
687
  glyph: G(y),
@@ -690,16 +690,16 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
690
690
  }, null, 8, ["label", "glyph"])])
691
691
  ], 38)], 8, ["to", "disabled"]));
692
692
  }
693
- }), Ur = ["data-glim-title"], Wr = { class: "glim-modal-head" }, Gr = {
693
+ }), Gr = ["data-glim-title"], Kr = { class: "glim-modal-head" }, qr = {
694
694
  id: "confirmdialog-title",
695
695
  class: "glim-modal-title"
696
- }, Kr = { class: "glim-modal-body" }, qr = {
696
+ }, Jr = { class: "glim-modal-body" }, Yr = {
697
697
  id: "confirmdialog-message",
698
698
  class: "glim-modal-text"
699
- }, Jr = {
699
+ }, Xr = {
700
700
  key: 0,
701
701
  class: "glim-modal-extra"
702
- }, Yr = { class: "glim-modal-foot" }, Xr = /* @__PURE__ */ j({
702
+ }, Zr = { class: "glim-modal-foot" }, Qr = /* @__PURE__ */ j({
703
703
  __name: "ConfirmDialog",
704
704
  props: {
705
705
  title: {},
@@ -727,7 +727,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
727
727
  "aria-describedby": "confirmdialog-message",
728
728
  class: "glim-modal-card"
729
729
  }, [
730
- D("div", Wr, [D("h2", Gr, [A(e, {
730
+ D("div", Kr, [D("h2", qr, [A(e, {
731
731
  tone: "heading",
732
732
  size: "heading",
733
733
  wrap: ""
@@ -742,8 +742,8 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
742
742
  class: "glim-modal-close",
743
743
  onClick: r[0] ||= (e) => i("cancel")
744
744
  }, null, 8, ["label", "glyph"]))]),
745
- D("div", Kr, [D("p", qr, W(t.message), 1), n.$slots.extra ? (R(), E("div", Jr, [V(n.$slots, "extra")])) : T("", !0)]),
746
- D("div", Yr, [A(f, {
745
+ D("div", Jr, [D("p", Yr, W(t.message), 1), n.$slots.extra ? (R(), E("div", Xr, [V(n.$slots, "extra")])) : T("", !0)]),
746
+ D("div", Zr, [A(f, {
747
747
  ref_key: "cancel",
748
748
  ref: o,
749
749
  label: t.cancelLabel,
@@ -760,25 +760,25 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
760
760
  "label-key",
761
761
  "glyph"
762
762
  ])])
763
- ], 8, Ur)]));
763
+ ], 8, Gr)]));
764
764
  }
765
- }), Zr = {
765
+ }), $r = {
766
766
  "data-glim": "Kbd",
767
767
  class: "glim-kbd"
768
- }, Qr = /* @__PURE__ */ j({
768
+ }, ei = /* @__PURE__ */ j({
769
769
  __name: "Kbd",
770
770
  setup(e) {
771
- return (e, t) => (R(), E("kbd", Zr, [V(e.$slots, "default")]));
771
+ return (e, t) => (R(), E("kbd", $r, [V(e.$slots, "default")]));
772
772
  }
773
- }), $r = {
773
+ }), ti = {
774
774
  key: 0,
775
775
  class: "glim-menu-sep",
776
776
  role: "separator"
777
- }, ei = {
777
+ }, ni = {
778
778
  key: 1,
779
779
  class: "glim-menu-head",
780
780
  role: "presentation"
781
- }, ti = [
781
+ }, ri = [
782
782
  "role",
783
783
  "aria-checked",
784
784
  "aria-haspopup",
@@ -786,26 +786,26 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
786
786
  "disabled",
787
787
  "data-row",
788
788
  "onClick"
789
- ], ni = {
789
+ ], ii = {
790
790
  key: 0,
791
791
  class: "glim-checkbox-box",
792
792
  "aria-hidden": "true"
793
- }, ri = {
793
+ }, ai = {
794
794
  key: 2,
795
795
  class: "glim-menu-glyph",
796
796
  "aria-hidden": "true"
797
- }, ii = { class: "glim-menu-label" }, ai = {
797
+ }, oi = { class: "glim-menu-label" }, si = {
798
798
  key: 3,
799
799
  class: "glim-menu-end glim-menu-caret",
800
800
  "aria-hidden": "true"
801
- }, oi = {
801
+ }, ci = {
802
802
  key: 4,
803
803
  class: "glim-menu-end glim-menu-tick",
804
804
  "aria-hidden": "true"
805
- }, si = {
805
+ }, li = {
806
806
  key: 6,
807
807
  class: "glim-menu-end glim-menu-count glim-num"
808
- }, ci = /* @__PURE__ */ j({
808
+ }, ui = /* @__PURE__ */ j({
809
809
  __name: "MenuRows",
810
810
  props: {
811
811
  entries: {},
@@ -813,15 +813,15 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
813
813
  },
814
814
  emits: ["pick"],
815
815
  setup(e, { emit: t }) {
816
- let n = e, r = t, i = C(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : bt(e) ? {
816
+ let n = e, r = t, i = C(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : St(e) ? {
817
817
  kind: "head",
818
818
  head: e
819
819
  } : {
820
820
  kind: "item",
821
821
  item: e,
822
- view: Ft(e)
822
+ view: Lt(e)
823
823
  }));
824
- return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", $r)) : t.kind === "head" ? (R(), E("div", ei, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(he, {
824
+ return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", ti)) : t.kind === "head" ? (R(), E("div", ni, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(he, {
825
825
  key: 0,
826
826
  tip: t.head.edit.tip,
827
827
  role: "menuitem",
@@ -849,23 +849,23 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
849
849
  "data-row": n,
850
850
  onClick: (e) => r("pick", n)
851
851
  }, [
852
- t.view.lead === "box" ? (R(), E("span", ni, [A(G(y))])) : t.view.lead === "dot" ? (R(), E("span", {
852
+ t.view.lead === "box" ? (R(), E("span", ii, [A(G(y))])) : t.view.lead === "dot" ? (R(), E("span", {
853
853
  key: 1,
854
854
  class: "glim-menu-dot",
855
855
  style: F({ backgroundColor: t.item.color }),
856
856
  "aria-hidden": "true"
857
- }, null, 4)) : (R(), E("span", ri, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
858
- D("span", ii, W(t.item.label), 1),
859
- t.view.end === "submenu" ? (R(), E("span", ai, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", oi, [A(G(y))])) : t.view.end === "shortcut" ? (R(), w(Qr, {
857
+ }, null, 4)) : (R(), E("span", ai, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
858
+ D("span", oi, W(t.item.label), 1),
859
+ t.view.end === "submenu" ? (R(), E("span", si, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", ci, [A(G(y))])) : t.view.end === "shortcut" ? (R(), w(ei, {
860
860
  key: 5,
861
861
  class: "glim-menu-end"
862
862
  }, {
863
863
  default: Y(() => [k(W(t.item.shortcut), 1)]),
864
864
  _: 2
865
- }, 1024)) : t.view.end === "count" ? (R(), E("span", si, W(t.item.count), 1)) : T("", !0)
866
- ], 10, ti))], 64))), 128));
865
+ }, 1024)) : t.view.end === "count" ? (R(), E("span", li, W(t.item.count), 1)) : T("", !0)
866
+ ], 10, ri))], 64))), 128));
867
867
  }
868
- }), li = ["id", "aria-label"], ui = ["id", "aria-label"], di = /* @__PURE__ */ j({
868
+ }), di = ["id", "aria-label"], fi = ["id", "aria-label"], pi = /* @__PURE__ */ j({
869
869
  __name: "ContextMenu",
870
870
  props: {
871
871
  x: {},
@@ -885,22 +885,22 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
885
885
  },
886
886
  emits: ["close", "step"],
887
887
  setup(e, { emit: t }) {
888
- let n = e, r = t, i = U(null), a = U(null), o = vt(), s = z({
888
+ let n = e, r = t, i = U(null), a = U(null), o = bt(), s = z({
889
889
  left: n.x,
890
890
  top: n.y
891
- }), c = U(null), l = z(null), u = C(() => Pn(n.items)), d = C(() => {
891
+ }), c = U(null), l = z(null), u = C(() => In(n.items)), d = C(() => {
892
892
  let e = c.value ? u.value[c.value.at] : void 0;
893
- return e && e !== "-" && !bt(e) && e.sub ? e : null;
894
- }), f = C(() => d.value?.sub ? Pn(d.value.sub) : null), p = () => ({
893
+ return e && e !== "-" && !St(e) && e.sub ? e : null;
894
+ }), f = C(() => d.value?.sub ? In(d.value.sub) : null), p = () => ({
895
895
  width: innerWidth,
896
896
  height: innerHeight
897
897
  });
898
898
  function m(e) {
899
- r("close"), e && cn(n.opener ?? o);
899
+ r("close"), e && un(n.opener ?? o);
900
900
  }
901
901
  function h() {
902
902
  let e = i.value;
903
- e && (s.value = Yt(n.x, n.y, {
903
+ e && (s.value = Zt(n.x, n.y, {
904
904
  width: e.offsetWidth,
905
905
  height: e.offsetHeight
906
906
  }, p(), n.above));
@@ -912,11 +912,11 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
912
912
  ], h, { flush: "post" });
913
913
  let g, ee;
914
914
  L(() => {
915
- h(), g = Qe(m), ee = $e(() => [
915
+ h(), g = et(m), ee = tt(() => [
916
916
  i.value,
917
917
  a.value,
918
918
  n.opener
919
- ], () => m(!1)), i.value && n.fromEnd ? ht(i.value, "last") : i.value && mt(i.value);
919
+ ], () => m(!1)), i.value && n.fromEnd ? _t(i.value, "last") : i.value && gt(i.value);
920
920
  }), Ee(() => {
921
921
  g?.(), ee?.();
922
922
  }), J(c, (e) => {
@@ -924,34 +924,34 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
924
924
  let t = e && i.value?.querySelector(`[data-row="${e.at}"]`), n = a.value;
925
925
  if (!e || !t || !n) return;
926
926
  let r = getComputedStyle(i.value).direction === "rtl";
927
- l.value = Xt(t.getBoundingClientRect(), {
927
+ l.value = Qt(t.getBoundingClientRect(), {
928
928
  width: n.offsetWidth,
929
929
  height: n.offsetHeight
930
- }, p(), r), e.focus && mt(n);
930
+ }, p(), r), e.focus && gt(n);
931
931
  }, { flush: "post" });
932
932
  function _(e, t) {
933
933
  let n = e[t];
934
- n !== "-" && (bt(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
934
+ n !== "-" && (St(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
935
935
  at: t,
936
936
  focus: !0
937
- } : (Ft(n).staysOpen || m(!0), n.onSelect?.()));
937
+ } : (Lt(n).staysOpen || m(!0), n.onSelect?.()));
938
938
  }
939
939
  function te(e, t) {
940
940
  if (e.key === "Tab") return m(!1);
941
941
  let n = e.currentTarget;
942
- if (xt(e)) {
943
- gt(n, e.key) && e.preventDefault();
942
+ if (Ct(e)) {
943
+ vt(n, e.key) && e.preventDefault();
944
944
  return;
945
945
  }
946
- let a = Pt(e.key, getComputedStyle(n).direction === "rtl");
946
+ let a = It(e.key, getComputedStyle(n).direction === "rtl");
947
947
  if (!a) return;
948
- if (e.preventDefault(), a !== "in" && a !== "out") return ht(n, a);
948
+ if (e.preventDefault(), a !== "in" && a !== "out") return _t(n, a);
949
949
  if (t) {
950
950
  a === "out" && c.value && (i.value?.querySelector(`[data-row="${c.value.at}"]`)?.focus(), c.value = null);
951
951
  return;
952
952
  }
953
953
  let o = Number(document.activeElement?.dataset.row), s = u.value[o];
954
- a === "in" && s && s !== "-" && !bt(s) && s.sub && !s.disabled ? c.value = {
954
+ a === "in" && s && s !== "-" && !St(s) && s.sub && !s.disabled ? c.value = {
955
955
  at: o,
956
956
  focus: !0
957
957
  } : r("step", a === "in" ? 1 : -1);
@@ -959,13 +959,13 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
959
959
  function v(e) {
960
960
  let t = e.target.closest("[data-row]");
961
961
  if (!t) return;
962
- let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !bt(r) && !!r.sub && !r.disabled;
962
+ let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !St(r) && !!r.sub && !r.disabled;
963
963
  i && c.value?.at !== n ? c.value = {
964
964
  at: n,
965
965
  focus: !1
966
966
  } : !i && c.value && (c.value = null);
967
967
  }
968
- return (t, n) => (R(), w(xe, { to: G(Zt)() }, [D("div", {
968
+ return (t, n) => (R(), w(xe, { to: G($t)() }, [D("div", {
969
969
  id: e.id,
970
970
  ref_key: "menu",
971
971
  ref: i,
@@ -980,11 +980,11 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
980
980
  onKeydown: n[1] ||= (e) => te(e, !1),
981
981
  onMouseover: v,
982
982
  onContextmenu: n[2] ||= X(() => {}, ["prevent"])
983
- }, [A(ci, {
983
+ }, [A(ui, {
984
984
  entries: u.value,
985
985
  "open-at": c.value?.at,
986
986
  onPick: n[0] ||= (e) => _(u.value, e)
987
- }, null, 8, ["entries", "open-at"])], 44, li), f.value ? (R(), E("div", {
987
+ }, null, 8, ["entries", "open-at"])], 44, di), f.value ? (R(), E("div", {
988
988
  key: 0,
989
989
  id: d.value?.subId,
990
990
  ref_key: "subMenu",
@@ -998,15 +998,15 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
998
998
  }),
999
999
  onKeydown: n[4] ||= (e) => te(e, !0),
1000
1000
  onContextmenu: n[5] ||= X(() => {}, ["prevent"])
1001
- }, [A(ci, {
1001
+ }, [A(ui, {
1002
1002
  entries: f.value,
1003
1003
  onPick: n[3] ||= (e) => _(f.value, e)
1004
- }, null, 8, ["entries"])], 44, ui)) : T("", !0)], 8, ["to"]));
1004
+ }, null, 8, ["entries"])], 44, fi)) : T("", !0)], 8, ["to"]));
1005
1005
  }
1006
- }), fi = ["value", "aria-label"], pi = {
1006
+ }), mi = ["value", "aria-label"], hi = {
1007
1007
  role: "status",
1008
1008
  class: "glim-sr-only"
1009
- }, mi = /* @__PURE__ */ j({
1009
+ }, gi = /* @__PURE__ */ j({
1010
1010
  __name: "CopyField",
1011
1011
  props: {
1012
1012
  value: {},
@@ -1022,12 +1022,12 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1022
1022
  let n = e, r = t, i = x(() => n.label), a = z(!1), o = U(null), s;
1023
1023
  I(() => clearTimeout(s));
1024
1024
  async function c() {
1025
- let e = await rt(n.value);
1025
+ let e = await at(n.value);
1026
1026
  r("copy", e), e ? (a.value = !0, clearTimeout(s), s = window.setTimeout(() => a.value = !1, Ve)) : (o.value?.focus(), o.value?.select());
1027
1027
  }
1028
1028
  return (t, n) => (R(), E("span", {
1029
1029
  "data-glim": "CopyField",
1030
- class: P(["glim-copy", G(ut)(e.width)])
1030
+ class: P(["glim-copy", G(ft)(e.width)])
1031
1031
  }, [
1032
1032
  D("input", {
1033
1033
  ref_key: "field",
@@ -1037,7 +1037,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1037
1037
  "aria-label": G(i),
1038
1038
  spellcheck: "false",
1039
1039
  class: "glim-input glim-input--mono"
1040
- }, null, 8, fi),
1040
+ }, null, 8, mi),
1041
1041
  A(f, {
1042
1042
  label: a.value ? e.text.copied : e.text.copy,
1043
1043
  "label-key": a.value ? "copied" : "copy",
@@ -1049,27 +1049,27 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1049
1049
  "label-key",
1050
1050
  "glyph"
1051
1051
  ]),
1052
- D("span", pi, W(a.value ? e.text.copied : ""), 1)
1052
+ D("span", hi, W(a.value ? e.text.copied : ""), 1)
1053
1053
  ], 2));
1054
1054
  }
1055
- }), hi = ["data-glim-title"], gi = { class: "glim-modal-head" }, _i = {
1055
+ }), _i = ["data-glim-title"], vi = { class: "glim-modal-head" }, yi = {
1056
1056
  id: "cryptodonate-title",
1057
1057
  class: "glim-modal-title"
1058
- }, vi = { class: "glim-give-body glim-give-body--scroll" }, yi = { class: "glim-give-appeal" }, bi = { class: "glim-give-intro" }, xi = { class: "glim-give-well" }, Si = {
1058
+ }, bi = { class: "glim-give-body glim-give-body--scroll" }, xi = { class: "glim-give-appeal" }, Si = { class: "glim-give-intro" }, Ci = { class: "glim-give-well" }, wi = {
1059
1059
  dir: "ltr",
1060
1060
  class: "glim-give-address"
1061
- }, Ci = ["aria-label"], wi = ["aria-selected", "onClick"], Ti = {
1061
+ }, Ti = ["aria-label"], Ei = ["aria-selected", "onClick"], Di = {
1062
1062
  key: 0,
1063
1063
  class: "glim-give-note"
1064
- }, Ei = ["aria-label"], Di = [
1064
+ }, Oi = ["aria-label"], ki = [
1065
1065
  "aria-selected",
1066
1066
  "aria-label",
1067
1067
  "title",
1068
1068
  "onClick"
1069
- ], Oi = {
1069
+ ], Ai = {
1070
1070
  key: 1,
1071
1071
  class: "glim-give-ticker"
1072
- }, ki = { class: "glim-give-foot" }, Ai = /* @__PURE__ */ j({
1072
+ }, ji = { class: "glim-give-foot" }, Mi = /* @__PURE__ */ j({
1073
1073
  __name: "CryptoDonateDialog",
1074
1074
  props: {
1075
1075
  coins: {},
@@ -1088,7 +1088,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1088
1088
  function d(e, t) {
1089
1089
  let n = e.id !== i.coin.id && e.tile;
1090
1090
  return {
1091
- ...yt(t),
1091
+ ...xt(t),
1092
1092
  ...n ? {
1093
1093
  "--tile": e.tile.color,
1094
1094
  "--tile-ink": e.tile.ink
@@ -1113,7 +1113,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1113
1113
  "aria-labelledby": "cryptodonate-title",
1114
1114
  class: "glim-modal-card glim-modal-card--wide"
1115
1115
  }, [
1116
- D("div", gi, [D("h2", _i, [A(e, {
1116
+ D("div", vi, [D("h2", yi, [A(e, {
1117
1117
  tone: "heading",
1118
1118
  size: "heading",
1119
1119
  wrap: ""
@@ -1121,12 +1121,12 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1121
1121
  default: Y(() => [k(W(t.text.title), 1)]),
1122
1122
  _: 1
1123
1123
  })])]),
1124
- D("div", vi, [
1125
- D("p", yi, W(t.text.appeal), 1),
1126
- D("p", bi, W(t.text.intro), 1),
1127
- D("div", xi, [
1124
+ D("div", bi, [
1125
+ D("p", xi, W(t.text.appeal), 1),
1126
+ D("p", Si, W(t.text.intro), 1),
1127
+ D("div", Ci, [
1128
1128
  V(n.$slots, "qr", { value: t.network.address }),
1129
- D("p", Si, W(t.network.address), 1),
1129
+ D("p", wi, W(t.network.address), 1),
1130
1130
  D("div", {
1131
1131
  class: "glim-give-networks",
1132
1132
  role: "listbox",
@@ -1136,11 +1136,11 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1136
1136
  type: "button",
1137
1137
  role: "option",
1138
1138
  "aria-selected": e.id === t.network.id,
1139
- style: F(G(yt)(n)),
1139
+ style: F(G(xt)(n)),
1140
1140
  class: P(e.id === t.network.id ? "glim-give-network glim-hue glim-active" : "glim-give-network glim-hue"),
1141
1141
  onClick: (n) => a("pick", t.coin, e)
1142
- }, W(e.name), 15, wi))), 128))], 8, Ci),
1143
- t.network.note ? (R(), E("p", Ti, W(t.network.note), 1)) : T("", !0),
1142
+ }, W(e.name), 15, Ei))), 128))], 8, Ti),
1143
+ t.network.note ? (R(), E("p", Di, W(t.network.note), 1)) : T("", !0),
1144
1144
  A(f, {
1145
1145
  label: t.text.copyLabel,
1146
1146
  "label-key": "common.copy",
@@ -1163,17 +1163,17 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1163
1163
  style: F(d(e, r)),
1164
1164
  class: P(p(e)),
1165
1165
  onClick: (t) => a("pick", e, e.networks[0])
1166
- }, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", Oi, W(e.symbol), 1)) : T("", !0)], 14, Di))), 128))], 8, Ei)
1166
+ }, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", Ai, W(e.symbol), 1)) : T("", !0)], 14, ki))), 128))], 8, Oi)
1167
1167
  ]),
1168
- D("div", ki, [A(f, {
1168
+ D("div", ji, [A(f, {
1169
1169
  label: t.text.closeLabel,
1170
1170
  "label-key": "common.close",
1171
1171
  tone: "neutral",
1172
1172
  onClick: r[1] ||= (e) => a("close")
1173
1173
  }, null, 8, ["label"])])
1174
- ], 8, hi)]));
1174
+ ], 8, _i)]));
1175
1175
  }
1176
- }), ji = ["aria-multiselectable", "aria-label"], Mi = 4, Ni = /* @__PURE__ */ j({
1176
+ }), Ni = ["aria-multiselectable", "aria-label"], Pi = 4, Fi = /* @__PURE__ */ j({
1177
1177
  __name: "DropdownListbox",
1178
1178
  props: {
1179
1179
  open: { type: Boolean },
@@ -1184,7 +1184,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1184
1184
  emits: ["close"],
1185
1185
  setup(e, { emit: t }) {
1186
1186
  let n = e;
1187
- Un("DropdownListbox");
1187
+ Gn("DropdownListbox");
1188
1188
  let r = t, i = U(null), a = U(null), o = ve(() => n.open, Ae(n, "triggerRef")), s = !1;
1189
1189
  J(() => n.open, (e) => {
1190
1190
  e || (s = !!i.value?.contains(document.activeElement));
@@ -1198,10 +1198,10 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1198
1198
  let r = {
1199
1199
  width: document.documentElement.clientWidth || window.innerWidth,
1200
1200
  height: document.documentElement.clientHeight || window.innerHeight
1201
- }, { left: o, top: s } = nt(t, {
1201
+ }, { left: o, top: s } = it(t, {
1202
1202
  width: t.width,
1203
1203
  height: i.value.offsetHeight
1204
- }, r, Mi);
1204
+ }, r, Pi);
1205
1205
  a.value = {
1206
1206
  left: o,
1207
1207
  top: s,
@@ -1237,8 +1237,8 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1237
1237
  flush: "post"
1238
1238
  }), Te(() => m());
1239
1239
  function g(e) {
1240
- if (xt(e)) {
1241
- ft(c(), e.key) && e.preventDefault();
1240
+ if (Ct(e)) {
1241
+ mt(c(), e.key) && e.preventDefault();
1242
1242
  return;
1243
1243
  }
1244
1244
  if (![
@@ -1261,7 +1261,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1261
1261
  }
1262
1262
  return (t, n) => e.open ? (R(), w(xe, {
1263
1263
  key: 0,
1264
- to: G(Zt)()
1264
+ to: G($t)()
1265
1265
  }, [D("div", {
1266
1266
  ref_key: "panel",
1267
1267
  ref: i,
@@ -1282,16 +1282,16 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1282
1282
  ...G(o).style.value
1283
1283
  }),
1284
1284
  onKeydown: g
1285
- }, [V(t.$slots, "default")], 46, ji)], 8, ["to"])) : T("", !0);
1285
+ }, [V(t.$slots, "default")], 46, Ni)], 8, ["to"])) : T("", !0);
1286
1286
  }
1287
- }), Pi = ["data-glim-title"], Fi = {
1287
+ }), Ii = ["data-glim-title"], Li = {
1288
1288
  key: 0,
1289
1289
  class: "glim-empty-glyph",
1290
1290
  "aria-hidden": "true"
1291
- }, Ii = { class: "glim-empty-title" }, Li = {
1291
+ }, Ri = { class: "glim-empty-title" }, zi = {
1292
1292
  key: 1,
1293
1293
  class: "glim-empty-hint"
1294
- }, Ri = /* @__PURE__ */ j({
1294
+ }, Bi = /* @__PURE__ */ j({
1295
1295
  __name: "EmptyState",
1296
1296
  props: {
1297
1297
  glyph: {},
@@ -1308,13 +1308,13 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1308
1308
  "data-glim-title": e.title,
1309
1309
  class: P(e.nested ? "glim-empty" : "glim-card glim-empty")
1310
1310
  }, [
1311
- e.glyph ? (R(), E("span", Fi, [(R(), w(H(e.glyph)))])) : T("", !0),
1312
- D("p", Ii, W(e.title), 1),
1313
- e.hint ? (R(), E("p", Li, W(e.hint), 1)) : T("", !0),
1311
+ e.glyph ? (R(), E("span", Li, [(R(), w(H(e.glyph)))])) : T("", !0),
1312
+ D("p", Ri, W(e.title), 1),
1313
+ e.hint ? (R(), E("p", zi, W(e.hint), 1)) : T("", !0),
1314
1314
  V(t.$slots, "default")
1315
- ], 10, Pi));
1315
+ ], 10, Ii));
1316
1316
  }
1317
- }), zi = ["id"], Bi = /* @__PURE__ */ j({
1317
+ }), Vi = ["id"], Hi = /* @__PURE__ */ j({
1318
1318
  __name: "FieldError",
1319
1319
  props: { id: {} },
1320
1320
  setup(e) {
@@ -1322,22 +1322,22 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1322
1322
  "data-glim": "FieldError",
1323
1323
  id: e.id,
1324
1324
  class: "glim-field-error"
1325
- }, [A(G(b), { mark: G(Ge).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, zi));
1325
+ }, [A(G(b), { mark: G(qe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, Vi));
1326
1326
  }
1327
- }), Vi = /* @__PURE__ */ j({
1327
+ }), Ui = /* @__PURE__ */ j({
1328
1328
  __name: "Pill",
1329
1329
  props: { tone: { default: "neutral" } },
1330
1330
  setup(e) {
1331
- let t = e, n = C(() => Jt(t.tone));
1331
+ let t = e, n = C(() => Xt(t.tone));
1332
1332
  return (e, t) => (R(), E("span", {
1333
1333
  "data-glim": "Pill",
1334
1334
  class: P(n.value)
1335
1335
  }, [V(e.$slots, "default")], 2));
1336
1336
  }
1337
- }), Hi = { class: "glim-field-row-name" }, Ui = {
1337
+ }), Wi = { class: "glim-field-row-name" }, Gi = {
1338
1338
  key: 0,
1339
1339
  class: "glim-field-row-controls"
1340
- }, Wi = /* @__PURE__ */ j({
1340
+ }, Ki = /* @__PURE__ */ j({
1341
1341
  __name: "FieldRow",
1342
1342
  props: {
1343
1343
  label: {},
@@ -1355,20 +1355,20 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1355
1355
  ref: r,
1356
1356
  "data-glim": "FieldRow",
1357
1357
  class: P(["glim-field-row", { "glim-field-row--wide": e.wide }])
1358
- }, [D("span", Hi, [D("span", {
1358
+ }, [D("span", Wi, [D("span", {
1359
1359
  class: "glim-field-row-label",
1360
- onClick: i[0] ||= (e) => G($t)(r.value)
1360
+ onClick: i[0] ||= (e) => G(tn)(r.value)
1361
1361
  }, [V(t.$slots, "label", {}, () => [k(W(e.label), 1)])]), e.hint ? (R(), w(Q, {
1362
1362
  key: 0,
1363
1363
  tip: e.hint
1364
- }, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", Ui, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Vi, {
1364
+ }, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", Gi, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Ui, {
1365
1365
  key: 0,
1366
1366
  class: "glim-num",
1367
1367
  tone: e.tone
1368
1368
  }, {
1369
1369
  default: Y(() => [k(W(e.value), 1)]),
1370
1370
  _: 1
1371
- }, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Vi, {
1371
+ }, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Ui, {
1372
1372
  key: 0,
1373
1373
  class: "glim-num",
1374
1374
  tone: e.tone
@@ -1377,7 +1377,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1377
1377
  _: 1
1378
1378
  }, 8, ["tone"]))], void 0, 1)], 2));
1379
1379
  }
1380
- }), Gi = /* @__PURE__ */ j({
1380
+ }), qi = /* @__PURE__ */ j({
1381
1381
  __name: "FieldRowGroup",
1382
1382
  props: { columns: {} },
1383
1383
  setup(e) {
@@ -1387,13 +1387,13 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1387
1387
  style: F(e.columns ? { "--field-columns": e.columns } : void 0)
1388
1388
  }, [V(t.$slots, "default")], 4));
1389
1389
  }
1390
- }), Ki = {
1390
+ }), Ji = {
1391
1391
  key: 0,
1392
1392
  class: "glim-modal-foot"
1393
- }, qi = {
1393
+ }, Yi = {
1394
1394
  key: 0,
1395
1395
  class: "glim-window-start"
1396
- }, Ji = /* @__PURE__ */ j({
1396
+ }, Xi = /* @__PURE__ */ j({
1397
1397
  __name: "WindowFootRow",
1398
1398
  props: {
1399
1399
  actions: {},
@@ -1403,7 +1403,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1403
1403
  },
1404
1404
  emits: ["close"],
1405
1405
  setup(e, { emit: t }) {
1406
- let n = e, r = t, i = C(() => Kn(n.actions, n.hasStart, {
1406
+ let n = e, r = t, i = C(() => Jn(n.actions, n.hasStart, {
1407
1407
  cancel: {
1408
1408
  label: n.text.cancel,
1409
1409
  labelKey: "common.cancel",
@@ -1420,7 +1420,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1420
1420
  function a(e) {
1421
1421
  e.onClick?.() !== !1 && r("close");
1422
1422
  }
1423
- return (t, n) => i.value.length ? (R(), E("div", Ki, [e.hasStart ? (R(), E("span", qi, [V(t.$slots, "start", {}, () => [k(W(e.start), 1)])])) : T("", !0), (R(!0), E(S, null, B(i.value, (e, t) => (R(), w(f, N({ ref_for: !0 }, e.attrs, {
1423
+ return (t, n) => i.value.length ? (R(), E("div", Ji, [e.hasStart ? (R(), E("span", Yi, [V(t.$slots, "start", {}, () => [k(W(e.start), 1)])])) : T("", !0), (R(!0), E(S, null, B(i.value, (e, t) => (R(), w(f, N({ ref_for: !0 }, e.attrs, {
1424
1424
  key: t,
1425
1425
  label: e.label,
1426
1426
  "label-key": e.labelKey,
@@ -1437,11 +1437,11 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1437
1437
  "onClick"
1438
1438
  ]))), 128))])) : T("", !0);
1439
1439
  }
1440
- }), Yi = [
1440
+ }), Zi = [
1441
1441
  "data-glim-title",
1442
1442
  "aria-labelledby",
1443
1443
  "aria-label"
1444
- ], Xi = ["id"], Zi = { class: "glim-modal-body glim-window-body" }, Qi = /* @__PURE__ */ j({
1444
+ ], Qi = ["id"], $i = { class: "glim-modal-body glim-window-body" }, ea = /* @__PURE__ */ j({
1445
1445
  inheritAttrs: !1,
1446
1446
  __name: "Window",
1447
1447
  props: {
@@ -1453,19 +1453,19 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1453
1453
  },
1454
1454
  emits: ["close"],
1455
1455
  setup(t, { expose: n, emit: r }) {
1456
- let i = t, a = r, o = Me(), s = U(null), c = K(), l = vt(), u = C(() => i.start !== void 0 || !!o.start), d;
1456
+ let i = t, a = r, o = Me(), s = U(null), c = K(), l = bt(), u = C(() => i.start !== void 0 || !!o.start), d;
1457
1457
  function f() {
1458
1458
  d?.(), a("close");
1459
1459
  }
1460
1460
  L(() => {
1461
- d = En(() => s.value, f), s.value && Gn(s.value)?.focus();
1461
+ d = On(() => s.value, f), s.value && qn(s.value)?.focus();
1462
1462
  }), Ee(() => {
1463
- d?.(), cn(l);
1463
+ d?.(), un(l);
1464
1464
  }), n({ card: s });
1465
1465
  function p() {
1466
- Nt() || f();
1466
+ Ft() || f();
1467
1467
  }
1468
- return (n, r) => (R(), w(xe, { to: G(Zt)() }, [D("div", {
1468
+ return (n, r) => (R(), w(xe, { to: G($t)() }, [D("div", {
1469
1469
  class: "glim-modal-backdrop",
1470
1470
  onMousedown: X(p, ["self"])
1471
1471
  }, [D("div", N({
@@ -1495,9 +1495,9 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1495
1495
  }, {
1496
1496
  default: Y(() => [V(n.$slots, "title", {}, () => [k(W(t.title), 1)])]),
1497
1497
  _: 3
1498
- })], 8, Xi),
1499
- D("div", Zi, [V(n.$slots, "default")]),
1500
- A(Ji, {
1498
+ })], 8, Qi),
1499
+ D("div", $i, [V(n.$slots, "default")]),
1500
+ A(Xi, {
1501
1501
  actions: t.actions,
1502
1502
  start: t.start,
1503
1503
  "has-start": u.value,
@@ -1513,9 +1513,9 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1513
1513
  "has-start",
1514
1514
  "text"
1515
1515
  ])
1516
- ], 16, Yi)], 32)], 8, ["to"]));
1516
+ ], 16, Zi)], 32)], 8, ["to"]));
1517
1517
  }
1518
- }), $i = { class: "glim-fortress-text" }, ea = /* @__PURE__ */ j({
1518
+ }), ta = { class: "glim-fortress-text" }, na = /* @__PURE__ */ j({
1519
1519
  __name: "FortressDoubtWindow",
1520
1520
  props: {
1521
1521
  app: {},
@@ -1525,14 +1525,14 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1525
1525
  onClose: { type: Function }
1526
1526
  },
1527
1527
  setup(e) {
1528
- let t = e, n = C(() => ct(t.text, t.app, t.instance)), r = C(() => [{
1528
+ let t = e, n = C(() => ut(t.text, t.app, t.instance)), r = C(() => [{
1529
1529
  label: n.value.open,
1530
1530
  labelKey: "open",
1531
1531
  primary: !0,
1532
1532
  attrs: { "data-fortress": "open-anyway" },
1533
1533
  onClick: () => t.onOpen()
1534
1534
  }]);
1535
- return (t, i) => (R(), w(Qi, {
1535
+ return (t, i) => (R(), w(ea, {
1536
1536
  "data-glim": "FortressDoubtWindow",
1537
1537
  title: n.value.title,
1538
1538
  actions: r.value,
@@ -1542,7 +1542,7 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1542
1542
  },
1543
1543
  onClose: i[0] ||= (t) => e.onClose()
1544
1544
  }, {
1545
- default: Y(() => [D("div", $i, [D("p", null, W(n.value.body), 1)])]),
1545
+ default: Y(() => [D("div", ta, [D("p", null, W(n.value.body), 1)])]),
1546
1546
  _: 1
1547
1547
  }, 8, [
1548
1548
  "title",
@@ -1550,32 +1550,32 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1550
1550
  "text"
1551
1551
  ]));
1552
1552
  }
1553
- }), ta = ["data-glim-title"], na = { class: "glim-instance-top" }, ra = {
1553
+ }), ra = ["data-glim-title"], ia = { class: "glim-instance-top" }, aa = {
1554
1554
  key: 0,
1555
1555
  class: "glim-instance-mark",
1556
1556
  "aria-hidden": "true"
1557
- }, ia = ["src"], aa = { class: "glim-instance-main" }, oa = { class: "glim-instance-name" }, sa = { class: "glim-instance-title" }, ca = {
1557
+ }, oa = ["src"], sa = { class: "glim-instance-main" }, ca = { class: "glim-instance-name" }, la = { class: "glim-instance-title" }, ua = {
1558
1558
  key: 0,
1559
1559
  class: "glim-instance-badges"
1560
- }, la = {
1560
+ }, da = {
1561
1561
  key: 0,
1562
1562
  class: "glim-eyebrow"
1563
- }, ua = {
1563
+ }, fa = {
1564
1564
  key: 1,
1565
1565
  class: "glim-instance-facts glim-num"
1566
- }, da = {
1566
+ }, pa = {
1567
1567
  key: 2,
1568
1568
  class: "glim-instance-figures"
1569
- }, fa = { class: "glim-num" }, pa = {
1569
+ }, ma = { class: "glim-num" }, ha = {
1570
1570
  key: 3,
1571
1571
  class: "glim-instance-acts"
1572
- }, ma = {
1572
+ }, ga = {
1573
1573
  key: 0,
1574
1574
  class: "glim-instance-body"
1575
- }, ha = {
1575
+ }, _a = {
1576
1576
  key: 1,
1577
1577
  class: "glim-instance-acts"
1578
- }, ga = /* @__PURE__ */ j({
1578
+ }, va = /* @__PURE__ */ j({
1579
1579
  __name: "InstanceCard",
1580
1580
  props: {
1581
1581
  logo: {},
@@ -1586,34 +1586,34 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1586
1586
  hueIndex: {}
1587
1587
  },
1588
1588
  setup(e) {
1589
- let t = e, n = C(() => (t.facts ?? []).filter(Boolean).join(" · ")), r = C(() => t.hueIndex === void 0 ? void 0 : yt(t.hueIndex));
1589
+ let t = e, n = C(() => (t.facts ?? []).filter(Boolean).join(" · ")), r = C(() => t.hueIndex === void 0 ? void 0 : xt(t.hueIndex));
1590
1590
  return (t, i) => (R(), E("div", {
1591
1591
  "data-glim": "InstanceCard",
1592
1592
  "data-glim-title": e.name,
1593
1593
  class: P(["glim-card glim-instance", e.hueIndex !== void 0 && "glim-hue"]),
1594
1594
  style: F(r.value)
1595
1595
  }, [
1596
- D("div", na, [t.$slots.logo ? (R(), E("span", ra, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
1596
+ D("div", ia, [t.$slots.logo ? (R(), E("span", aa, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
1597
1597
  key: 1,
1598
1598
  class: "glim-instance-mark",
1599
1599
  src: e.logo,
1600
1600
  alt: "",
1601
1601
  draggable: "false"
1602
- }, null, 8, ia)) : T("", !0), D("div", aa, [
1603
- D("div", oa, [D("h3", sa, W(e.name), 1), t.$slots.badges ? (R(), E("span", ca, [V(t.$slots, "badges")])) : T("", !0)]),
1604
- e.eyebrow ? (R(), E("span", la, W(e.eyebrow), 1)) : T("", !0),
1605
- n.value ? (R(), E("p", ua, W(n.value), 1)) : T("", !0),
1606
- e.figures?.length ? (R(), E("dl", da, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", fa, W(e.value), 1)]))), 128))])) : T("", !0),
1607
- t.$slots.actions && !t.$slots.default ? (R(), E("div", pa, [V(t.$slots, "actions")])) : T("", !0)
1602
+ }, null, 8, oa)) : T("", !0), D("div", sa, [
1603
+ D("div", ca, [D("h3", la, W(e.name), 1), t.$slots.badges ? (R(), E("span", ua, [V(t.$slots, "badges")])) : T("", !0)]),
1604
+ e.eyebrow ? (R(), E("span", da, W(e.eyebrow), 1)) : T("", !0),
1605
+ n.value ? (R(), E("p", fa, W(n.value), 1)) : T("", !0),
1606
+ e.figures?.length ? (R(), E("dl", pa, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", ma, W(e.value), 1)]))), 128))])) : T("", !0),
1607
+ t.$slots.actions && !t.$slots.default ? (R(), E("div", ha, [V(t.$slots, "actions")])) : T("", !0)
1608
1608
  ])]),
1609
- t.$slots.default ? (R(), E("div", ma, [V(t.$slots, "default")])) : T("", !0),
1610
- t.$slots.actions && t.$slots.default ? (R(), E("div", ha, [V(t.$slots, "actions")])) : T("", !0)
1611
- ], 14, ta));
1609
+ t.$slots.default ? (R(), E("div", ga, [V(t.$slots, "default")])) : T("", !0),
1610
+ t.$slots.actions && t.$slots.default ? (R(), E("div", _a, [V(t.$slots, "actions")])) : T("", !0)
1611
+ ], 14, ra));
1612
1612
  }
1613
- }), _a = {
1613
+ }), ya = {
1614
1614
  "data-glim": "PresenceBadges",
1615
1615
  style: { display: "contents" }
1616
- }, va = /* @__PURE__ */ j({
1616
+ }, ba = /* @__PURE__ */ j({
1617
1617
  __name: "PresenceBadges",
1618
1618
  props: {
1619
1619
  instance: {},
@@ -1625,24 +1625,24 @@ var qn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1625
1625
  checking: n.text.checking,
1626
1626
  away: n.text.away
1627
1627
  })[n.instance.presence];
1628
- return (n, i) => (R(), E("span", _a, [t.instance.relay ? (R(), w(e, { key: 0 }, {
1628
+ return (n, i) => (R(), E("span", ya, [t.instance.relay ? (R(), w(e, { key: 0 }, {
1629
1629
  default: Y(() => [k(W(t.text.viaRelay), 1)]),
1630
1630
  _: 1
1631
- })) : T("", !0), A(e, { tone: G(Qt)(t.instance.presence) }, {
1631
+ })) : T("", !0), A(e, { tone: G(en)(t.instance.presence) }, {
1632
1632
  default: Y(() => [k(W(r()), 1)]),
1633
1633
  _: 1
1634
1634
  }, 8, ["tone"])]));
1635
1635
  }
1636
1636
  });
1637
1637
  // src/fortressParts.ts
1638
- function ya(e) {
1638
+ function xa(e) {
1639
1639
  return e ? m(`device${e.charAt(0).toUpperCase()}${e.slice(1)}`) : void 0;
1640
1640
  }
1641
1641
  // src/FortressAppCard.vue?vue&type=script&setup=true&lang.ts
1642
- var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1642
+ var Sa = { class: "glim-instance-rows" }, Ca = ["data-instance"], wa = {
1643
1643
  class: "glim-instance-device",
1644
1644
  "aria-hidden": "true"
1645
- }, Ca = { class: "glim-instance-row-text" }, wa = { class: "glim-instance-row-name" }, Ta = { class: "glim-instance-row-sub glim-num" }, Ea = { class: "glim-instance-row-end" }, Da = /* @__PURE__ */ j({
1645
+ }, Ta = { class: "glim-instance-row-text" }, Ea = { class: "glim-instance-row-name" }, Da = { class: "glim-instance-row-sub glim-num" }, Oa = { class: "glim-instance-row-end" }, ka = /* @__PURE__ */ j({
1646
1646
  inheritAttrs: !1,
1647
1647
  __name: "FortressAppCard",
1648
1648
  props: {
@@ -1655,15 +1655,15 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1655
1655
  removeKey: { default: "delete" }
1656
1656
  },
1657
1657
  setup(t) {
1658
- let n = t, r = C(() => Ye(n.app, n.text, n.lang)), i = C(() => r.value.rows.length === 0), a = (e) => ({
1658
+ let n = t, r = C(() => Ze(n.app, n.text, n.lang)), i = C(() => r.value.rows.length === 0), a = (e) => ({
1659
1659
  connected: n.text.connected,
1660
1660
  checking: n.text.checking,
1661
1661
  away: n.text.away
1662
- })[e.presence], o = (e) => ya(e.deviceKind), s = (e) => Mt(n.text, n.app, e), c = (e) => !!n.onRemove && !e.self, l = C(() => !!r.value.open || i.value && c(r.value.main)), u = U(null);
1662
+ })[e.presence], o = (e) => xa(e.deviceKind), s = (e) => Pt(n.text, n.app, e), c = (e) => !!n.onRemove && !e.self, l = C(() => !!r.value.open || i.value && c(r.value.main)), u = U(null);
1663
1663
  function d(e) {
1664
- e.doubt ? u.value = e : Ht(n.app, e, n.onOpen);
1664
+ e.doubt ? u.value = e : Wt(n.app, e, n.onOpen);
1665
1665
  }
1666
- return (n, p) => (R(), E(S, null, [A(ga, N(n.$attrs, {
1666
+ return (n, p) => (R(), E(S, null, [A(va, N(n.$attrs, {
1667
1667
  "data-glim": "FortressAppCard",
1668
1668
  "data-fortress-app": t.app.id,
1669
1669
  logo: t.app.logo,
@@ -1690,7 +1690,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1690
1690
  default: Y(() => [k(W(r.value.needs), 1)]),
1691
1691
  _: 1
1692
1692
  })) : T("", !0),
1693
- A(va, {
1693
+ A(ba, {
1694
1694
  instance: r.value.main,
1695
1695
  text: t.text
1696
1696
  }, null, 8, ["instance", "text"])
@@ -1698,15 +1698,15 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1698
1698
  _: 2
1699
1699
  }, [i.value ? void 0 : {
1700
1700
  name: "default",
1701
- fn: Y(() => [D("ul", ba, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
1701
+ fn: Y(() => [D("ul", Sa, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
1702
1702
  key: n.id,
1703
1703
  class: "glim-instance-row",
1704
1704
  "data-instance": n.id
1705
1705
  }, [
1706
- D("span", Sa, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1707
- D("span", Ca, [D("span", wa, W(n.device), 1), D("span", Ta, W(r), 1)]),
1708
- D("span", Ea, [
1709
- A(e, { tone: G(Qt)(n.presence) }, {
1706
+ D("span", wa, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1707
+ D("span", Ta, [D("span", Ea, W(n.device), 1), D("span", Da, W(r), 1)]),
1708
+ D("span", Oa, [
1709
+ A(e, { tone: G(en)(n.presence) }, {
1710
1710
  default: Y(() => [k(W(a(n)), 1)]),
1711
1711
  _: 2
1712
1712
  }, 1032, ["tone"]),
@@ -1742,7 +1742,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1742
1742
  "onClick"
1743
1743
  ])) : T("", !0)
1744
1744
  ])
1745
- ], 8, xa))), 128))])]),
1745
+ ], 8, Ca))), 128))])]),
1746
1746
  key: "0"
1747
1747
  }, l.value ? {
1748
1748
  name: "actions",
@@ -1773,12 +1773,12 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1773
1773
  "eyebrow",
1774
1774
  "facts",
1775
1775
  "hue-index"
1776
- ]), u.value ? (R(), w(ea, {
1776
+ ]), u.value ? (R(), w(na, {
1777
1777
  key: 0,
1778
1778
  app: t.app,
1779
1779
  instance: u.value,
1780
1780
  text: t.text,
1781
- "on-open": () => G(Ht)(t.app, u.value, t.onOpen),
1781
+ "on-open": () => G(Wt)(t.app, u.value, t.onOpen),
1782
1782
  "on-close": () => u.value = null
1783
1783
  }, null, 8, [
1784
1784
  "app",
@@ -1788,14 +1788,14 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1788
1788
  "on-close"
1789
1789
  ])) : T("", !0)], 64));
1790
1790
  }
1791
- }), Oa = [
1791
+ }), Aa = [
1792
1792
  "href",
1793
1793
  "data-sel-id",
1794
1794
  "aria-selected",
1795
1795
  "aria-current",
1796
1796
  "aria-describedby",
1797
1797
  "tabindex"
1798
- ], ka = [
1798
+ ], ja = [
1799
1799
  "data-sel-id",
1800
1800
  "id",
1801
1801
  "role",
@@ -1808,7 +1808,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1808
1808
  "aria-hidden",
1809
1809
  "disabled",
1810
1810
  "tabindex"
1811
- ], Aa = ["id"], ja = /* @__PURE__ */ j({
1811
+ ], Ma = ["id"], Na = /* @__PURE__ */ j({
1812
1812
  __name: "SelectorSegment",
1813
1813
  props: {
1814
1814
  item: {},
@@ -1832,7 +1832,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1832
1832
  },
1833
1833
  emits: ["select"],
1834
1834
  setup(e, { emit: i }) {
1835
- let a = e, o = i, s = C(() => fn({
1835
+ let a = e, o = i, s = C(() => mn({
1836
1836
  strip: a.strip,
1837
1837
  orientation: a.orientation,
1838
1838
  size: a.size,
@@ -1882,7 +1882,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1882
1882
  key: 1,
1883
1883
  "data-sel-label": "",
1884
1884
  class: P(s.value.labelClass)
1885
- }, W(e.item.label), 3))], 16, Oa)) : (R(), E(S, { key: 1 }, [A(G(r), N({
1885
+ }, W(e.item.label), 3))], 16, Aa)) : (R(), E(S, { key: 1 }, [A(G(r), N({
1886
1886
  on: u.value,
1887
1887
  show: G(c).show,
1888
1888
  hide: G(c).hide
@@ -1891,7 +1891,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1891
1891
  ref: m,
1892
1892
  type: "button",
1893
1893
  "data-sel-id": e.item.id,
1894
- id: e.panelId && f.value ? G(_n)(e.panelId, e.item.id) : void 0,
1894
+ id: e.panelId && f.value ? G(yn)(e.panelId, e.item.id) : void 0,
1895
1895
  role: e.strip.kind === "toggle" ? void 0 : e.strip.kind,
1896
1896
  "aria-selected": f.value ? e.on : void 0,
1897
1897
  "aria-controls": e.panelId && f.value && e.on ? e.panelId : void 0,
@@ -1913,7 +1913,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1913
1913
  key: 1,
1914
1914
  "data-sel-label": "",
1915
1915
  class: P(s.value.labelClass)
1916
- }, W(e.item.label), 3))], 16, ka)]),
1916
+ }, W(e.item.label), 3))], 16, ja)]),
1917
1917
  _: 1
1918
1918
  }, 16, [
1919
1919
  "on",
@@ -1923,16 +1923,16 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1923
1923
  key: 0,
1924
1924
  id: G(l),
1925
1925
  hidden: ""
1926
- }, W(s.value.tip), 9, Aa)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
1926
+ }, W(s.value.tip), 9, Ma)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
1927
1927
  }
1928
- }), Ma = [
1928
+ }), Pa = [
1929
1929
  "role",
1930
1930
  "aria-label",
1931
1931
  "aria-orientation"
1932
- ], Na = {
1932
+ ], Fa = {
1933
1933
  key: 0,
1934
1934
  class: "glim-sel-list"
1935
- }, Pa = /* @__PURE__ */ j({
1935
+ }, Ia = /* @__PURE__ */ j({
1936
1936
  __name: "Selector",
1937
1937
  props: {
1938
1938
  items: {},
@@ -1978,10 +1978,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
1978
1978
  setup(e, { emit: t }) {
1979
1979
  let n = e, r = t, i = C(() => n.modelValue);
1980
1980
  function a(e) {
1981
- let t = U(jt(e));
1982
- return Te(An(e, () => t.value = jt(e))), t;
1981
+ let t = U(Nt(e));
1982
+ return Te(Mn(e, () => t.value = Nt(e))), t;
1983
1983
  }
1984
- let o = x(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(mn(n.size, n.orientation)), u = a(Ke), d = C(() => vn({
1984
+ let o = x(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(gn(n.size, n.orientation)), u = a(Je), d = C(() => bn({
1985
1985
  mode: c.value,
1986
1986
  select: n.select === "many" ? "many" : "one",
1987
1987
  activation: n.activation,
@@ -2006,7 +2006,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2006
2006
  i && r(i);
2007
2007
  }, { flush: "post" });
2008
2008
  }
2009
- g(() => d.value.counted, (e) => d.value.counted ? it(e) : void 0), g(() => [
2009
+ g(() => d.value.counted, (e) => d.value.counted ? ot(e) : void 0), g(() => [
2010
2010
  n.orientation,
2011
2011
  d.value.pinWidth,
2012
2012
  n.fit,
@@ -2023,14 +2023,14 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2023
2023
  return;
2024
2024
  }
2025
2025
  let { pinWidth: t, canSqueeze: r, canList: i } = d.value;
2026
- return Wn(e, {
2026
+ return Kn(e, {
2027
2027
  pinWidth: t,
2028
2028
  fit: n.fit,
2029
2029
  canSqueeze: r,
2030
2030
  canList: i
2031
2031
  }, (e) => p.value = e);
2032
2032
  });
2033
- let ee = C(() => hn({
2033
+ let ee = C(() => _n({
2034
2034
  layout: p.value,
2035
2035
  inline: s.value,
2036
2036
  fit: n.fit
@@ -2039,10 +2039,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2039
2039
  label: e.label,
2040
2040
  glyph: e.glyph,
2041
2041
  disabled: y.value[t]
2042
- }))), v = C(() => i.value === null ? null : String(i.value)), ne = C(() => n.select === "many"), re = (e) => ne.value ? (i.value ?? []).includes(e) : i.value === e, y = C(() => n.items.map((e) => n.disabled || !!e.disabled)), ie = C(() => un(y.value, n.items.findIndex((e) => re(e.id))));
2042
+ }))), v = C(() => i.value === null ? null : String(i.value)), ne = C(() => n.select === "many"), re = (e) => ne.value ? (i.value ?? []).includes(e) : i.value === e, y = C(() => n.items.map((e) => n.disabled || !!e.disabled)), ie = C(() => fn(y.value, n.items.findIndex((e) => re(e.id))));
2043
2043
  function ae(e) {
2044
2044
  r("press", e);
2045
- let t = ne.value ? In(i.value ?? [], e, n.items.map((e) => e.id)) : e;
2045
+ let t = ne.value ? Rn(i.value ?? [], e, n.items.map((e) => e.id)) : e;
2046
2046
  t !== i.value && r("update:modelValue", t);
2047
2047
  }
2048
2048
  function oe(e) {
@@ -2056,7 +2056,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2056
2056
  e.preventDefault(), t.click();
2057
2057
  return;
2058
2058
  }
2059
- let r = ln(f.value, e.key, n.orientation);
2059
+ let r = dn(f.value, e.key, n.orientation);
2060
2060
  if (!r) return;
2061
2061
  e.preventDefault();
2062
2062
  let i = n.items.find((e) => String(e.id) === r.dataset.selId);
@@ -2072,7 +2072,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2072
2072
  class: P([d.value.className, { "glim-sel--listed": _.value }]),
2073
2073
  style: F(ee.value.track),
2074
2074
  onKeydown: se
2075
- }, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(ja, {
2075
+ }, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(Na, {
2076
2076
  key: t.id,
2077
2077
  item: t,
2078
2078
  index: n,
@@ -2113,7 +2113,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2113
2113
  "hue-offset",
2114
2114
  "panel-id",
2115
2115
  "onSelect"
2116
- ]))), 128)), _.value ? (R(), E("div", Na, [A(ye, {
2116
+ ]))), 128)), _.value ? (R(), E("div", Fa, [A(ye, {
2117
2117
  "model-value": v.value,
2118
2118
  label: G(o) ?? "",
2119
2119
  "hide-label": "",
@@ -2129,18 +2129,18 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2129
2129
  "size",
2130
2130
  "options",
2131
2131
  "disabled"
2132
- ])])) : T("", !0)], 46, Ma));
2132
+ ])])) : T("", !0)], 46, Pa));
2133
2133
  }
2134
- }), Fa = {
2134
+ }), La = {
2135
2135
  key: 0,
2136
2136
  class: "glim-toggle-label"
2137
- }, Ia = [
2137
+ }, Ra = [
2138
2138
  "aria-checked",
2139
2139
  "aria-label",
2140
2140
  "aria-disabled",
2141
2141
  "aria-describedby",
2142
2142
  "disabled"
2143
- ], La = ["id"], Ra = /* @__PURE__ */ j({
2143
+ ], za = ["id"], Ba = /* @__PURE__ */ j({
2144
2144
  inheritAttrs: !1,
2145
2145
  __name: "Toggle",
2146
2146
  props: /*@__PURE__*/ M({
@@ -2166,7 +2166,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2166
2166
  let r = e, i = q(e, "modelValue"), a = x(() => r.label), o = C(() => r.label !== void 0 && !r.hideLabel), s = n(() => r.refused), c = K(), l = U(null), u;
2167
2167
  Te(() => u?.());
2168
2168
  function d() {
2169
- r.refused ? (u?.(), u = yn(l.value)) : i.value = !i.value;
2169
+ r.refused ? (u?.(), u = xn(l.value)) : i.value = !i.value;
2170
2170
  }
2171
2171
  return (n, r) => (R(), E(S, null, [
2172
2172
  D("span", {
@@ -2175,7 +2175,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2175
2175
  "data-glim": "Toggle",
2176
2176
  class: P(["glim-toggle", n.$attrs.class]),
2177
2177
  style: F(n.$attrs.style)
2178
- }, [o.value ? (R(), E("span", Fa, W(e.label), 1)) : T("", !0), D("button", N({
2178
+ }, [o.value ? (R(), E("span", La, W(e.label), 1)) : T("", !0), D("button", N({
2179
2179
  ...n.$attrs,
2180
2180
  class: void 0,
2181
2181
  style: void 0
@@ -2194,25 +2194,25 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2194
2194
  onMouseleave: r[1] ||= (...e) => G(s).hide && G(s).hide(...e),
2195
2195
  onFocus: r[2] ||= (...e) => G(s).showOnFocus && G(s).showOnFocus(...e),
2196
2196
  onBlur: r[3] ||= (...e) => G(s).hide && G(s).hide(...e)
2197
- }), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Ia)], 6),
2197
+ }), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Ra)], 6),
2198
2198
  e.refused ? (R(), E("span", {
2199
2199
  key: 0,
2200
2200
  id: G(c),
2201
2201
  class: "glim-toggle-refusal"
2202
- }, W(e.refused), 9, La)) : T("", !0),
2202
+ }, W(e.refused), 9, za)) : T("", !0),
2203
2203
  A(t, { state: G(s) }, null, 8, ["state"])
2204
2204
  ], 64));
2205
2205
  }
2206
- }), za = {
2206
+ }), Va = {
2207
2207
  key: 0,
2208
2208
  class: "glim-fortress-sub"
2209
- }, Ba = { class: "glim-permissions" }, Va = ["data-permission"], Ha = {
2209
+ }, Ha = { class: "glim-permissions" }, Ua = ["data-permission"], Wa = {
2210
2210
  class: "glim-permission-pair",
2211
2211
  "aria-hidden": "true"
2212
- }, Ua = ["src"], Wa = { class: "glim-permission-to" }, Ga = ["src"], Ka = { class: "glim-permission-text" }, qa = { class: "glim-permission-title" }, Ja = {
2212
+ }, Ga = ["src"], Ka = { class: "glim-permission-to" }, qa = ["src"], Ja = { class: "glim-permission-text" }, Ya = { class: "glim-permission-title" }, Xa = {
2213
2213
  key: 0,
2214
2214
  class: "glim-fortress-sub"
2215
- }, Ya = /* @__PURE__ */ j({
2215
+ }, Za = /* @__PURE__ */ j({
2216
2216
  __name: "FortressPermissions",
2217
2217
  props: {
2218
2218
  text: {},
@@ -2224,7 +2224,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2224
2224
  hueIndex: {}
2225
2225
  },
2226
2226
  setup(e) {
2227
- let t = e, n = z("all"), r = C(() => Kt(t.permissions, t.app.id)), i = C(() => r.value.length < t.permissions.length), a = C(() => n.value === "all" || !i.value ? t.permissions : r.value), o = C(() => [{
2227
+ let t = e, n = z("all"), r = C(() => Jt(t.permissions, t.app.id)), i = C(() => r.value.length < t.permissions.length), a = C(() => n.value === "all" || !i.value ? t.permissions : r.value), o = C(() => [{
2228
2228
  id: "all",
2229
2229
  label: `${t.text.all} ${t.permissions.length}`
2230
2230
  }, {
@@ -2239,15 +2239,15 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2239
2239
  }
2240
2240
  t.notify?.(n.error ?? t.text.failed, "fail");
2241
2241
  let r = document.querySelector(`[data-permission="${CSS.escape(e.id)}"] .glim-toggle`);
2242
- r && yn(r);
2242
+ r && xn(r);
2243
2243
  }
2244
- return (t, r) => (R(), w(Xn, {
2244
+ return (t, r) => (R(), w(Qn, {
2245
2245
  "data-glim": "FortressPermissions",
2246
2246
  title: e.text.permissions,
2247
2247
  hint: e.text.permissionsAbout,
2248
2248
  "hue-index": e.hueIndex
2249
2249
  }, {
2250
- default: Y(() => [e.permissions.length === 0 ? (R(), E("p", za, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(Pa, {
2250
+ default: Y(() => [e.permissions.length === 0 ? (R(), E("p", Va, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(Ia, {
2251
2251
  key: 0,
2252
2252
  modelValue: n.value,
2253
2253
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
@@ -2259,35 +2259,35 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2259
2259
  "modelValue",
2260
2260
  "label",
2261
2261
  "items"
2262
- ])) : T("", !0), D("ul", Ba, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
2262
+ ])) : T("", !0), D("ul", Ha, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
2263
2263
  key: e.id,
2264
2264
  class: P(["glim-permission", e.on && "glim-permission--on"]),
2265
2265
  "data-permission": e.id
2266
2266
  }, [
2267
- D("span", Ha, [
2267
+ D("span", Wa, [
2268
2268
  s(e.from) ? (R(), E("img", {
2269
2269
  key: 0,
2270
2270
  src: s(e.from),
2271
2271
  alt: "",
2272
2272
  draggable: "false"
2273
- }, null, 8, Ua)) : T("", !0),
2273
+ }, null, 8, Ga)) : T("", !0),
2274
2274
  A(G(b), {
2275
- mark: G(Ue).expand,
2275
+ mark: G(Ge).expand,
2276
2276
  class: "glim-permission-arrow"
2277
2277
  }, null, 8, ["mark"]),
2278
- D("span", Wa, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
2278
+ D("span", Ka, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
2279
2279
  key: 0,
2280
2280
  src: s(e),
2281
2281
  alt: "",
2282
2282
  draggable: "false"
2283
- }, null, 8, Ga)) : T("", !0)], 64))), 128))])
2283
+ }, null, 8, qa)) : T("", !0)], 64))), 128))])
2284
2284
  ]),
2285
- D("span", Ka, [
2286
- D("span", qa, W(e.title), 1),
2287
- e.detail ? (R(), E("span", Ja, W(e.detail), 1)) : T("", !0),
2285
+ D("span", Ja, [
2286
+ D("span", Ya, W(e.title), 1),
2287
+ e.detail ? (R(), E("span", Xa, W(e.detail), 1)) : T("", !0),
2288
2288
  V(t.$slots, "extra", { permission: e })
2289
2289
  ]),
2290
- A(Ra, {
2290
+ A(Ba, {
2291
2291
  "model-value": e.on,
2292
2292
  label: e.title,
2293
2293
  "hide-label": "",
@@ -2297,7 +2297,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2297
2297
  "label",
2298
2298
  "onUpdate:modelValue"
2299
2299
  ])
2300
- ], 10, Va))), 128))])], 64))]),
2300
+ ], 10, Ua))), 128))])], 64))]),
2301
2301
  _: 3
2302
2302
  }, 8, [
2303
2303
  "title",
@@ -2305,13 +2305,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2305
2305
  "hue-index"
2306
2306
  ]));
2307
2307
  }
2308
- }), Xa = [
2308
+ }), Qa = [
2309
2309
  "aria-label",
2310
2310
  "aria-invalid",
2311
2311
  "aria-describedby",
2312
2312
  "disabled",
2313
2313
  "type"
2314
- ], Za = /* @__PURE__ */ j({
2314
+ ], $a = /* @__PURE__ */ j({
2315
2315
  inheritAttrs: !1,
2316
2316
  __name: "PasswordField",
2317
2317
  props: /*@__PURE__*/ M({
@@ -2332,7 +2332,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2332
2332
  }),
2333
2333
  emits: ["update:modelValue"],
2334
2334
  setup(e, { expose: t }) {
2335
- let n = e, r = q(e, "modelValue"), i = z(!1), a = je(), o = x(() => a["aria-label"]), s = C(() => ut(n.width)), c = K(), l = C(() => lt(n.error, a.id ?? c, a["aria-describedby"])), u = U(null);
2335
+ let n = e, r = q(e, "modelValue"), i = z(!1), a = je(), o = x(() => a["aria-label"]), s = C(() => ft(n.width)), c = K(), l = C(() => dt(n.error, a.id ?? c, a["aria-describedby"])), u = U(null);
2336
2336
  return t({ input: u }), (t, n) => (R(), E(S, null, [D("span", {
2337
2337
  "data-glim": "PasswordField",
2338
2338
  class: P([
@@ -2358,7 +2358,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2358
2358
  disabled: e.disabled,
2359
2359
  type: i.value ? "text" : "password",
2360
2360
  class: "glim-input"
2361
- }), null, 16, Xa), [[Ne, r.value]]), A(he, N(e.eyeAttrs, {
2361
+ }), null, 16, Qa), [[Ne, r.value]]), A(he, N(e.eyeAttrs, {
2362
2362
  tip: i.value ? e.text.hide : e.text.show,
2363
2363
  class: "glim-secret-eye",
2364
2364
  disabled: e.disabled,
@@ -2366,7 +2366,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2366
2366
  }), {
2367
2367
  default: Y(() => [(R(), w(H(i.value ? G(ie) : G(_))))]),
2368
2368
  _: 1
2369
- }, 16, ["tip", "disabled"])], 6), l.value.errorId ? (R(), w(Bi, {
2369
+ }, 16, ["tip", "disabled"])], 6), l.value.errorId ? (R(), w(Hi, {
2370
2370
  key: 0,
2371
2371
  id: l.value.errorId
2372
2372
  }, {
@@ -2374,67 +2374,67 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2374
2374
  _: 1
2375
2375
  }, 8, ["id"])) : T("", !0)], 64));
2376
2376
  }
2377
- }), Qa = { class: "glim-phrase-fields" }, $a = { class: "glim-phrase-number glim-num" }, eo = [
2377
+ }), eo = { class: "glim-phrase-fields" }, to = { class: "glim-phrase-number glim-num" }, no = [
2378
2378
  "data-word",
2379
2379
  "value",
2380
2380
  "aria-label",
2381
2381
  "onInput"
2382
- ], to = { class: "glim-fortress-sub" }, no = {
2382
+ ], ro = { class: "glim-fortress-sub" }, io = {
2383
2383
  key: 0,
2384
2384
  class: "glim-fortress-note",
2385
2385
  "data-fortress": "moves"
2386
- }, ro = {
2386
+ }, ao = {
2387
2387
  key: 1,
2388
2388
  class: "glim-fortress-error",
2389
2389
  role: "alert"
2390
- }, io = {
2390
+ }, oo = {
2391
2391
  key: 1,
2392
2392
  class: "glim-fortress-result"
2393
- }, ao = {
2393
+ }, so = {
2394
2394
  class: "glim-fortress-result-mark",
2395
2395
  "aria-hidden": "true"
2396
- }, oo = { class: "glim-fortress-text" }, so = { class: "glim-fortress-result-title" }, co = { class: "glim-fortress-sub" }, lo = {
2396
+ }, co = { class: "glim-fortress-text" }, lo = { class: "glim-fortress-result-title" }, uo = { class: "glim-fortress-sub" }, fo = {
2397
2397
  key: 2,
2398
2398
  class: "glim-fortress-text"
2399
- }, uo = { class: "glim-fortress-sub" }, fo = {
2399
+ }, po = { class: "glim-fortress-sub" }, mo = {
2400
2400
  key: 0,
2401
2401
  class: "glim-fortress-error",
2402
2402
  role: "alert"
2403
- }, po = {
2403
+ }, ho = {
2404
2404
  key: 3,
2405
2405
  class: "glim-fortress-text"
2406
- }, mo = { class: "glim-fortress-sub" }, ho = {
2406
+ }, go = { class: "glim-fortress-sub" }, _o = {
2407
2407
  key: 0,
2408
2408
  class: "glim-fortress-error",
2409
2409
  role: "alert"
2410
- }, go = {
2410
+ }, vo = {
2411
2411
  key: 4,
2412
2412
  class: "glim-fortress-text"
2413
- }, _o = {
2413
+ }, yo = {
2414
2414
  key: 0,
2415
2415
  class: "glim-fortress-error",
2416
2416
  role: "alert"
2417
- }, vo = {
2417
+ }, bo = {
2418
2418
  key: 0,
2419
2419
  class: "glim-fortress-error",
2420
2420
  role: "alert"
2421
- }, yo = {
2421
+ }, xo = {
2422
2422
  key: 6,
2423
2423
  class: "glim-fortress-text"
2424
- }, bo = { class: "glim-fortress-sub" }, xo = {
2424
+ }, So = { class: "glim-fortress-sub" }, Co = {
2425
2425
  key: 0,
2426
2426
  class: "glim-fortress-error",
2427
2427
  role: "alert"
2428
- }, So = {
2428
+ }, wo = {
2429
2429
  key: 7,
2430
2430
  class: "glim-fortress-text"
2431
- }, Co = { class: "glim-phrase-show" }, wo = {
2431
+ }, To = { class: "glim-phrase-show" }, Eo = {
2432
2432
  class: "glim-phrase-words",
2433
2433
  "data-fortress": "words"
2434
- }, To = { class: "glim-phrase-number glim-num" }, Eo = ["aria-label", "viewBox"], Do = ["width", "height"], Oo = ["d"], ko = { class: "glim-phrase-scan" }, Ao = {
2434
+ }, Do = { class: "glim-phrase-number glim-num" }, Oo = ["aria-label", "viewBox"], ko = ["width", "height"], Ao = ["d"], jo = { class: "glim-phrase-scan" }, Mo = {
2435
2435
  key: 0,
2436
2436
  class: "glim-fortress-sub"
2437
- }, jo = /* @__PURE__ */ j({
2437
+ }, No = /* @__PURE__ */ j({
2438
2438
  __name: "FortressWindow",
2439
2439
  props: {
2440
2440
  flow: {},
@@ -2450,19 +2450,19 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2450
2450
  setup(e) {
2451
2451
  let t = e, n = U(null), r = z(!1), i;
2452
2452
  Te(() => clearTimeout(i));
2453
- let a = C(() => t.state.window), o = C(() => t.pairedWith?.length ? Et(t.lang, t.pairedWith) : null), s = C(() => ({
2453
+ let a = C(() => t.state.window), o = C(() => t.pairedWith?.length ? Ot(t.lang, t.pairedWith) : null), s = C(() => ({
2454
2454
  cancel: t.text.cancel,
2455
2455
  close: t.text.close
2456
2456
  })), c = C(() => t.state.busy !== null), l;
2457
2457
  Te(() => l?.()), J(() => t.state.refusal, (e) => {
2458
2458
  let t = e && n.value?.card?.querySelector(`[data-fortress="${e.button}"]`);
2459
- t && (l = yn(t));
2459
+ t && (l = xn(t));
2460
2460
  }), J(() => a.value.kind === "join" ? a.value.focus : -1, async (e) => {
2461
2461
  await we(), e >= 0 && n.value?.card?.querySelector(`[data-word="${e}"]`)?.focus();
2462
2462
  }), J(() => a.value.kind, async () => {
2463
2463
  await we();
2464
2464
  let e = n.value?.card;
2465
- e && Gn(e)?.focus();
2465
+ e && qn(e)?.focus();
2466
2466
  });
2467
2467
  function u(e, t, n, r, i = !1) {
2468
2468
  return {
@@ -2479,7 +2479,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2479
2479
  label: t.text.copy,
2480
2480
  labelKey: t.keys.copy,
2481
2481
  attrs: { "data-fortress": "copy" },
2482
- onClick: () => (rt(e.join(" ")).then((e) => {
2482
+ onClick: () => (at(e.join(" ")).then((e) => {
2483
2483
  r.value = e, clearTimeout(i), i = setTimeout(() => r.value = !1, Ve);
2484
2484
  }), !1)
2485
2485
  };
@@ -2487,7 +2487,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2487
2487
  let f = C(() => {
2488
2488
  let e = a.value;
2489
2489
  if (e.kind !== "phrase" && e.kind !== "changed") return null;
2490
- let n = tn(t.phraseQr ? t.phraseQr(e.words) : e.words.join(" "));
2490
+ let n = rn(t.phraseQr ? t.phraseQr(e.words) : e.words.join(" "));
2491
2491
  return {
2492
2492
  ...n,
2493
2493
  side: n.size + 8
@@ -2503,7 +2503,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2503
2503
  case "join": return {
2504
2504
  title: e.joinTitle,
2505
2505
  size: "wide",
2506
- actions: [u("join", r.join, e.join, i.join, !qt(n.words))]
2506
+ actions: [u("join", r.join, e.join, i.join, !Yt(n.words))]
2507
2507
  };
2508
2508
  case "joined": return {
2509
2509
  title: e.joinTitle,
@@ -2549,7 +2549,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2549
2549
  actions: []
2550
2550
  };
2551
2551
  });
2552
- return (t, i) => (R(), w(Qi, {
2552
+ return (t, i) => (R(), w(ea, {
2553
2553
  ref_key: "win",
2554
2554
  ref: n,
2555
2555
  title: h.value.title,
@@ -2565,10 +2565,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2565
2565
  onSubmit: i[0] ||= X((t) => e.flow.join(), ["prevent"])
2566
2566
  }, [
2567
2567
  D("p", null, W(e.text.about), 1),
2568
- D("div", Qa, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
2568
+ D("div", eo, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
2569
2569
  key: n,
2570
2570
  class: "glim-phrase-field"
2571
- }, [D("span", $a, W(n + 1), 1), D("input", {
2571
+ }, [D("span", to, W(n + 1), 1), D("input", {
2572
2572
  class: "glim-input",
2573
2573
  "data-word": n,
2574
2574
  value: t,
@@ -2578,32 +2578,32 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2578
2578
  autocorrect: "off",
2579
2579
  spellcheck: "false",
2580
2580
  onInput: (t) => e.flow.enter(n, t.target.value)
2581
- }, null, 40, eo)]))), 128))]),
2581
+ }, null, 40, no)]))), 128))]),
2582
2582
  i[4] ||= D("button", {
2583
2583
  type: "submit",
2584
2584
  hidden: ""
2585
2585
  }, null, -1),
2586
- D("p", to, W(e.text.phraseWhere), 1),
2587
- o.value ? (R(), E("p", no, [G(m)("info") ? (R(), w(H(G(m)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
2586
+ D("p", ro, W(e.text.phraseWhere), 1),
2587
+ o.value ? (R(), E("p", io, [G(m)("info") ? (R(), w(H(G(m)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
2588
2588
  app: e.app.name,
2589
2589
  devices: o.value
2590
2590
  })), 1)])) : T("", !0),
2591
- e.state.error ? (R(), E("p", ro, W(e.state.error), 1)) : T("", !0)
2592
- ], 32)) : a.value.kind === "joined" ? (R(), E("div", io, [D("span", ao, [A(G(b), { mark: G(Ue).check }, null, 8, ["mark"])]), D("div", oo, [D("p", so, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", co, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", lo, [
2591
+ e.state.error ? (R(), E("p", ao, W(e.state.error), 1)) : T("", !0)
2592
+ ], 32)) : a.value.kind === "joined" ? (R(), E("div", oo, [D("span", so, [A(G(b), { mark: G(Ge).check }, null, 8, ["mark"])]), D("div", co, [D("p", lo, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", uo, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", fo, [
2593
2593
  D("p", null, W(G(Z)(e.text.leaveBody, { app: e.app.name })) + W(o.value ? ` ${G(Z)(e.text.leavePairing, { devices: o.value })}` : "") + W(e.leaveNote ? ` ${e.leaveNote}` : ""), 1),
2594
- D("p", uo, W(e.text.leaveBack), 1),
2595
- e.state.error ? (R(), E("p", fo, W(e.state.error), 1)) : T("", !0)
2596
- ])) : a.value.kind === "remove" ? (R(), E("div", po, [
2594
+ D("p", po, W(e.text.leaveBack), 1),
2595
+ e.state.error ? (R(), E("p", mo, W(e.state.error), 1)) : T("", !0)
2596
+ ])) : a.value.kind === "remove" ? (R(), E("div", ho, [
2597
2597
  D("p", null, W(G(Z)(e.text.removeBody, { device: a.value.device })), 1),
2598
- D("p", mo, W(e.text.removeBack), 1),
2599
- e.state.error ? (R(), E("p", ho, W(e.state.error), 1)) : T("", !0)
2600
- ])) : a.value.kind === "removed" ? (R(), E("div", go, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", _o, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
2598
+ D("p", go, W(e.text.removeBack), 1),
2599
+ e.state.error ? (R(), E("p", _o, W(e.state.error), 1)) : T("", !0)
2600
+ ])) : a.value.kind === "removed" ? (R(), E("div", vo, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", yo, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
2601
2601
  key: 5,
2602
2602
  class: "glim-fortress-text",
2603
2603
  onSubmit: i[2] ||= X((t) => e.flow.unlock(), ["prevent"])
2604
2604
  }, [
2605
2605
  D("p", null, W(G(Z)(e.text.phrasePassword, { app: e.app.name })), 1),
2606
- A(Za, {
2606
+ A($a, {
2607
2607
  "model-value": a.value.password,
2608
2608
  "aria-label": G(Z)(e.text.password, { app: e.app.name }),
2609
2609
  placeholder: G(Z)(e.text.password, { app: e.app.name }),
@@ -2618,15 +2618,15 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2618
2618
  "placeholder",
2619
2619
  "text"
2620
2620
  ]),
2621
- e.state.error ? (R(), E("p", vo, W(e.state.error), 1)) : T("", !0)
2622
- ], 32)) : a.value.kind === "change" ? (R(), E("div", yo, [
2621
+ e.state.error ? (R(), E("p", bo, W(e.state.error), 1)) : T("", !0)
2622
+ ], 32)) : a.value.kind === "change" ? (R(), E("div", xo, [
2623
2623
  D("p", null, W(e.text.changeBody), 1),
2624
- D("p", bo, W(e.text.changeAway), 1),
2625
- e.state.error ? (R(), E("p", xo, W(e.state.error), 1)) : T("", !0)
2626
- ])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", So, [
2624
+ D("p", So, W(e.text.changeAway), 1),
2625
+ e.state.error ? (R(), E("p", Co, W(e.state.error), 1)) : T("", !0)
2626
+ ])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", wo, [
2627
2627
  D("p", null, W(e.text.phraseBody), 1),
2628
- D("div", Co, [
2629
- D("ol", wo, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", To, W(t + 1), 1), k(W(e), 1)]))), 128))]),
2628
+ D("div", To, [
2629
+ D("ol", Eo, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", Do, W(t + 1), 1), k(W(e), 1)]))), 128))]),
2630
2630
  f.value ? (R(), E("svg", {
2631
2631
  key: 0,
2632
2632
  class: "glim-phrase-qr",
@@ -2641,13 +2641,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2641
2641
  width: f.value.side,
2642
2642
  height: f.value.side,
2643
2643
  fill: "#ffffff"
2644
- }, null, 8, Do), D("path", {
2644
+ }, null, 8, ko), D("path", {
2645
2645
  d: f.value.path,
2646
2646
  fill: "#161616"
2647
- }, null, 8, Oo)], 8, Eo)) : T("", !0),
2648
- D("p", ko, W(e.text.scanHint), 1)
2647
+ }, null, 8, Ao)], 8, Oo)) : T("", !0),
2648
+ D("p", jo, W(e.text.scanHint), 1)
2649
2649
  ]),
2650
- a.value.kind === "changed" && a.value.left.length ? (R(), E("p", Ao, W(G(Z)(e.text.changedLeft, { devices: G(Et)(e.lang, a.value.left) })), 1)) : T("", !0)
2650
+ a.value.kind === "changed" && a.value.left.length ? (R(), E("p", Mo, W(G(Z)(e.text.changedLeft, { devices: G(Ot)(e.lang, a.value.left) })), 1)) : T("", !0)
2651
2651
  ])) : T("", !0)]),
2652
2652
  _: 1
2653
2653
  }, 8, [
@@ -2658,25 +2658,25 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2658
2658
  "text"
2659
2659
  ]));
2660
2660
  }
2661
- }), Mo = {
2661
+ }), Po = {
2662
2662
  "data-glim": "Fortress",
2663
2663
  class: "glim-fortress"
2664
- }, No = { class: "glim-fortress-grid" }, Po = {
2664
+ }, Fo = { class: "glim-fortress-grid" }, Io = {
2665
2665
  key: 0,
2666
2666
  class: "glim-card glim-instance glim-instance--out",
2667
2667
  "data-fortress": "out"
2668
- }, Fo = { class: "glim-instance-title" }, Io = { class: "glim-instance-hint" }, Lo = {
2668
+ }, Lo = { class: "glim-instance-title" }, Ro = { class: "glim-instance-hint" }, zo = {
2669
2669
  key: 0,
2670
2670
  class: "glim-instance-found"
2671
- }, Ro = ["src"], zo = { class: "glim-fortress-switch-text" }, Bo = { class: "glim-fortress-switch-name" }, Vo = { class: "glim-fortress-sub" }, Ho = {
2671
+ }, Bo = ["src"], Vo = { class: "glim-fortress-switch-text" }, Ho = { class: "glim-fortress-switch-name" }, Uo = { class: "glim-fortress-sub" }, Wo = {
2672
2672
  key: 1,
2673
2673
  class: "glim-fortress-removed",
2674
2674
  "data-fortress": "removed",
2675
2675
  role: "status"
2676
- }, Uo = { class: "glim-fortress-grid" }, Wo = {
2676
+ }, Go = { class: "glim-fortress-grid" }, Ko = {
2677
2677
  key: 3,
2678
2678
  class: "glim-fortress-actions"
2679
- }, Go = /* @__PURE__ */ j({
2679
+ }, qo = /* @__PURE__ */ j({
2680
2680
  __name: "Fortress",
2681
2681
  props: {
2682
2682
  text: {},
@@ -2714,10 +2714,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2714
2714
  },
2715
2715
  emits: ["update:showOthers"],
2716
2716
  setup(e, { emit: t }) {
2717
- let n = e, r = t, i = at(() => ({
2717
+ let n = e, r = t, i = st(() => ({
2718
2718
  ...n,
2719
2719
  failed: n.text.failed,
2720
- joinRefusal: (e) => St(n.text, e)
2720
+ joinRefusal: (e) => wt(n.text, e)
2721
2721
  })), a = U(i.state()), o = i.subscribe(() => a.value = i.state());
2722
2722
  I(o);
2723
2723
  let s = C(() => ({
@@ -2730,20 +2730,20 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2730
2730
  unlock: "unlock",
2731
2731
  copy: "copy",
2732
2732
  ...n.labelKeys
2733
- })), c = z(kn()), l = C(() => n.showOthers ?? c.value);
2733
+ })), c = z(jn()), l = C(() => n.showOthers ?? c.value);
2734
2734
  function u(e) {
2735
- r("update:showOthers", e), n.showOthers === void 0 && (On(e), c.value = e);
2735
+ r("update:showOthers", e), n.showOthers === void 0 && (An(e), c.value = e);
2736
2736
  }
2737
- let d = C(() => Z(n.text.removedNote, { devices: Et(n.lang, n.removed) })), p = C(() => Gt(n.text, n.lang, n.apps));
2738
- return (t, n) => (R(), E("div", Mo, [
2739
- D("div", No, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", Po, [
2740
- D("h3", Fo, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
2741
- D("p", Io, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
2742
- e.found ? (R(), E("p", Lo, [e.found.logo ? (R(), E("img", {
2737
+ let d = C(() => Z(n.text.removedNote, { devices: Ot(n.lang, n.removed) })), p = C(() => qt(n.text, n.lang, n.apps));
2738
+ return (t, n) => (R(), E("div", Po, [
2739
+ D("div", Fo, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", Io, [
2740
+ D("h3", Lo, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
2741
+ D("p", Ro, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
2742
+ e.found ? (R(), E("p", zo, [e.found.logo ? (R(), E("img", {
2743
2743
  key: 0,
2744
2744
  src: e.found.logo,
2745
2745
  alt: ""
2746
- }, null, 8, Ro)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
2746
+ }, null, 8, Bo)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
2747
2747
  app: e.found.app,
2748
2748
  device: e.found.device
2749
2749
  })), 1)])) : T("", !0)
@@ -2751,15 +2751,15 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2751
2751
  e.joined && !e.hideSwitch ? (R(), E("div", {
2752
2752
  key: 0,
2753
2753
  class: "glim-card glim-fortress-switch glim-hue",
2754
- style: F(G(yt)(e.hueStart))
2755
- }, [D("span", zo, [D("span", Bo, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Vo, W(p.value), 1)]), A(Ra, {
2754
+ style: F(G(xt)(e.hueStart))
2755
+ }, [D("span", Vo, [D("span", Ho, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Uo, W(p.value), 1)]), A(Ba, {
2756
2756
  "model-value": l.value,
2757
2757
  label: e.text.showOthers,
2758
2758
  "hide-label": "",
2759
2759
  "data-fortress": "others",
2760
2760
  "onUpdate:modelValue": u
2761
2761
  }, null, 8, ["model-value", "label"])], 4)) : T("", !0),
2762
- e.joined && e.removed.length ? (R(), E("div", Ho, [
2762
+ e.joined && e.removed.length ? (R(), E("div", Wo, [
2763
2763
  G(m)("info") ? (R(), w(H(G(m)("info")), { key: 0 })) : T("", !0),
2764
2764
  D("span", null, W(d.value), 1),
2765
2765
  e.onChangePhrase ? (R(), w(f, {
@@ -2771,11 +2771,11 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2771
2771
  onClick: n[0] ||= (e) => G(i).openChange()
2772
2772
  }, null, 8, ["label", "label-key"])) : T("", !0)
2773
2773
  ])) : T("", !0),
2774
- e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", Uo, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
2774
+ e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", Go, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
2775
2775
  app: n,
2776
2776
  hueIndex: e.hueStart + 1 + r,
2777
2777
  remove: e.onRemove && G(i).openRemove
2778
- }, void 0, void 0, 0) : (R(), w(Da, {
2778
+ }, void 0, void 0, 0) : (R(), w(ka, {
2779
2779
  key: 1,
2780
2780
  app: n,
2781
2781
  text: e.text,
@@ -2792,7 +2792,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2792
2792
  "on-open",
2793
2793
  "on-remove",
2794
2794
  "remove-key"
2795
- ]))], 64))), 128))]), A(Ya, {
2795
+ ]))], 64))), 128))]), A(Za, {
2796
2796
  text: e.text,
2797
2797
  app: e.app,
2798
2798
  apps: [e.app, ...e.apps],
@@ -2812,7 +2812,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2812
2812
  "notify",
2813
2813
  "hue-index"
2814
2814
  ])], 64)) : T("", !0),
2815
- !e.joined || e.onShowPhrase ? (R(), E("div", Wo, [e.joined ? (R(), w(f, {
2815
+ !e.joined || e.onShowPhrase ? (R(), E("div", Ko, [e.joined ? (R(), w(f, {
2816
2816
  key: 0,
2817
2817
  label: e.text.showPhrase,
2818
2818
  "label-key": s.value.showPhrase,
@@ -2834,7 +2834,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2834
2834
  "data-fortress": "open-join",
2835
2835
  onClick: n[2] ||= (e) => G(i).openJoin()
2836
2836
  }, null, 8, ["label", "label-key"]))])) : T("", !0),
2837
- a.value.window ? (R(), w(jo, {
2837
+ a.value.window ? (R(), w(No, {
2838
2838
  key: 4,
2839
2839
  flow: G(i),
2840
2840
  state: a.value,
@@ -2856,7 +2856,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2856
2856
  ])) : T("", !0)
2857
2857
  ]));
2858
2858
  }
2859
- }), Ko = /* @__PURE__ */ j({
2859
+ }), Jo = /* @__PURE__ */ j({
2860
2860
  __name: "FortressPairing",
2861
2861
  props: {
2862
2862
  text: {},
@@ -2873,7 +2873,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2873
2873
  hueIndex: {}
2874
2874
  },
2875
2875
  setup(e) {
2876
- let t = e, n = at(() => ({
2876
+ let t = e, n = st(() => ({
2877
2877
  ...t,
2878
2878
  failed: t.text.failed
2879
2879
  })), r = U(n.state()), i = n.subscribe(() => r.value = n.state());
@@ -2889,14 +2889,14 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2889
2889
  copy: "copy",
2890
2890
  ...t.labelKeys
2891
2891
  }));
2892
- return (t, i) => (R(), w(Xn, {
2892
+ return (t, i) => (R(), w(Qn, {
2893
2893
  "data-glim": "FortressPairing",
2894
2894
  title: e.text.pairing,
2895
2895
  "hue-index": e.hueIndex
2896
2896
  }, {
2897
2897
  default: Y(() => [
2898
2898
  V(t.$slots, "default"),
2899
- e.onShowPhrase || e.onChangePhrase ? (R(), w(Wi, {
2899
+ e.onShowPhrase || e.onChangePhrase ? (R(), w(Ki, {
2900
2900
  key: 0,
2901
2901
  label: e.text.phraseTitle,
2902
2902
  hint: e.onChangePhrase ? e.text.changePhraseAbout : void 0
@@ -2921,7 +2921,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2921
2921
  }, null, 8, ["label", "label-key"])) : T("", !0)]),
2922
2922
  _: 1
2923
2923
  }, 8, ["label", "hint"])) : T("", !0),
2924
- A(Wi, {
2924
+ A(Ki, {
2925
2925
  label: e.text.leaveRow,
2926
2926
  hint: G(Z)(e.text.leaveAbout, { app: e.app.name })
2927
2927
  }, {
@@ -2934,7 +2934,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2934
2934
  _: 1
2935
2935
  }, 8, ["label", "hint"]),
2936
2936
  V(t.$slots, "after"),
2937
- r.value.window ? (R(), w(jo, {
2937
+ r.value.window ? (R(), w(No, {
2938
2938
  key: 1,
2939
2939
  flow: G(n),
2940
2940
  state: r.value,
@@ -2960,13 +2960,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2960
2960
  _: 3
2961
2961
  }, 8, ["title", "hue-index"]));
2962
2962
  }
2963
- }), qo = [
2963
+ }), Yo = [
2964
2964
  "aria-label",
2965
2965
  "aria-valuemin",
2966
2966
  "aria-valuemax",
2967
2967
  "aria-valuenow",
2968
2968
  "aria-valuetext"
2969
- ], Jo = /* @__PURE__ */ j({
2969
+ ], Xo = /* @__PURE__ */ j({
2970
2970
  __name: "ProgressBar",
2971
2971
  props: {
2972
2972
  value: { default: null },
@@ -2982,7 +2982,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2982
2982
  valueText: {}
2983
2983
  },
2984
2984
  setup(e) {
2985
- let t = e, n = C(() => en(t.value, {
2985
+ let t = e, n = C(() => nn(t.value, {
2986
2986
  paused: t.paused,
2987
2987
  failed: t.failed
2988
2988
  }));
@@ -2998,48 +2998,48 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
2998
2998
  }, [D("span", {
2999
2999
  class: "glim-progress-fill",
3000
3000
  style: F(n.value.width ? { width: n.value.width } : void 0)
3001
- }, null, 4)], 10, qo));
3001
+ }, null, 4)], 10, Yo));
3002
3002
  }
3003
- }), Yo = { class: "glim-status-title" }, Xo = ["src"], Zo = {
3003
+ }), Zo = { class: "glim-status-title" }, Qo = ["src"], $o = {
3004
3004
  class: "glim-fortress-text",
3005
3005
  "data-fortress": "status"
3006
- }, Qo = {
3006
+ }, es = {
3007
3007
  key: 0,
3008
3008
  class: "glim-fortress-note",
3009
3009
  "data-fortress": "loading"
3010
- }, $o = { role: "status" }, es = {
3010
+ }, ts = { role: "status" }, ns = {
3011
3011
  key: 1,
3012
3012
  class: "glim-fortress-note",
3013
3013
  role: "status",
3014
3014
  "data-fortress": "error"
3015
- }, ts = {
3015
+ }, rs = {
3016
3016
  key: 2,
3017
3017
  class: "glim-status-state",
3018
3018
  "data-fortress": "state"
3019
- }, ns = {
3019
+ }, is = {
3020
3020
  key: 0,
3021
3021
  class: "glim-fortress-sub"
3022
- }, rs = {
3022
+ }, as = {
3023
3023
  key: 3,
3024
3024
  class: "glim-status-section",
3025
3025
  "data-fortress": "needs"
3026
- }, is = { class: "glim-status-heading" }, as = { class: "glim-status-list" }, os = {
3026
+ }, os = { class: "glim-status-heading" }, ss = { class: "glim-status-list" }, cs = {
3027
3027
  key: 4,
3028
3028
  class: "glim-status-section",
3029
3029
  "data-fortress": "work"
3030
- }, ss = { class: "glim-status-heading" }, cs = { class: "glim-status-list" }, ls = {
3030
+ }, ls = { class: "glim-status-heading" }, us = { class: "glim-status-list" }, ds = {
3031
3031
  key: 5,
3032
3032
  class: "glim-status-section",
3033
3033
  "data-fortress": "next"
3034
- }, us = { class: "glim-status-heading" }, ds = { class: "glim-status-list" }, fs = { class: "glim-status-at glim-num" }, ps = {
3034
+ }, fs = { class: "glim-status-heading" }, ps = { class: "glim-status-list" }, ms = { class: "glim-status-at glim-num" }, hs = {
3035
3035
  key: 6,
3036
3036
  class: "glim-status-section",
3037
3037
  "data-fortress": "log"
3038
- }, ms = { class: "glim-status-heading" }, hs = { class: "glim-status-list" }, gs = { class: "glim-status-at glim-num" }, _s = {
3038
+ }, gs = { class: "glim-status-heading" }, _s = { class: "glim-status-list" }, vs = { class: "glim-status-at glim-num" }, ys = {
3039
3039
  key: 7,
3040
3040
  class: "glim-fortress-sub",
3041
3041
  "data-fortress": "where"
3042
- }, vs = /* @__PURE__ */ j({
3042
+ }, bs = /* @__PURE__ */ j({
3043
3043
  __name: "FortressStatusWindow",
3044
3044
  props: {
3045
3045
  app: {},
@@ -3053,7 +3053,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3053
3053
  onClose: { type: Function }
3054
3054
  },
3055
3055
  setup(t) {
3056
- let n = t, r = C(() => Dn({
3056
+ let n = t, r = C(() => kn({
3057
3057
  app: n.app,
3058
3058
  instance: n.instance,
3059
3059
  report: n.report,
@@ -3067,7 +3067,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3067
3067
  glyph: g,
3068
3068
  wayOut: !0
3069
3069
  }]), a = m("info");
3070
- return (n, o) => (R(), w(Qi, {
3070
+ return (n, o) => (R(), w(ea, {
3071
3071
  "data-glim": "FortressStatusWindow",
3072
3072
  lang: t.lang,
3073
3073
  title: r.value.title,
@@ -3078,22 +3078,22 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3078
3078
  },
3079
3079
  onClose: o[0] ||= (e) => t.onClose()
3080
3080
  }, {
3081
- title: Y(() => [D("span", Yo, [t.app.logo ? (R(), E("img", {
3081
+ title: Y(() => [D("span", Zo, [t.app.logo ? (R(), E("img", {
3082
3082
  key: 0,
3083
3083
  src: t.app.logo,
3084
3084
  alt: ""
3085
- }, null, 8, Xo)) : T("", !0), k(W(r.value.title), 1)])]),
3086
- default: Y(() => [D("div", Zo, [
3087
- r.value.loading ? (R(), E("p", Qo, [A(c, {
3085
+ }, null, 8, Qo)) : T("", !0), k(W(r.value.title), 1)])]),
3086
+ default: Y(() => [D("div", $o, [
3087
+ r.value.loading ? (R(), E("p", es, [A(c, {
3088
3088
  size: "small",
3089
3089
  delay: 0
3090
- }), D("span", $o, W(r.value.loading), 1)])) : T("", !0),
3091
- r.value.error === void 0 ? T("", !0) : (R(), E("p", es, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
3092
- r.value.state ? (R(), E("p", ts, [A(e, { tone: r.value.state.tone }, {
3090
+ }), D("span", ts, W(r.value.loading), 1)])) : T("", !0),
3091
+ r.value.error === void 0 ? T("", !0) : (R(), E("p", ns, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
3092
+ r.value.state ? (R(), E("p", rs, [A(e, { tone: r.value.state.tone }, {
3093
3093
  default: Y(() => [k(W(r.value.state.label), 1)]),
3094
3094
  _: 1
3095
- }, 8, ["tone"]), r.value.quiet ? (R(), E("span", ns, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
3096
- r.value.needsYou.length ? (R(), E("section", rs, [D("h3", is, W(t.text.statusNeedsYou), 1), D("ul", as, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
3095
+ }, 8, ["tone"]), r.value.quiet ? (R(), E("span", is, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
3096
+ r.value.needsYou.length ? (R(), E("section", as, [D("h3", os, W(t.text.statusNeedsYou), 1), D("ul", ss, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
3097
3097
  key: n,
3098
3098
  class: "glim-status-line"
3099
3099
  }, [
@@ -3107,26 +3107,26 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3107
3107
  o[1] ||= k(),
3108
3108
  D("span", null, W(t.text), 1)
3109
3109
  ]))), 128))])])) : T("", !0),
3110
- r.value.work.length ? (R(), E("section", os, [D("h3", ss, W(t.text.statusWork), 1), D("ul", cs, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
3110
+ r.value.work.length ? (R(), E("section", cs, [D("h3", ls, W(t.text.statusWork), 1), D("ul", us, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
3111
3111
  key: t,
3112
3112
  class: "glim-status-work"
3113
- }, [D("span", null, W(e.title), 1), A(Jo, {
3113
+ }, [D("span", null, W(e.title), 1), A(Xo, {
3114
3114
  value: e.progress,
3115
3115
  label: e.title
3116
3116
  }, null, 8, ["value", "label"])]))), 128))])])) : T("", !0),
3117
- r.value.next.length ? (R(), E("section", ls, [D("h3", us, W(t.text.statusNext), 1), D("ul", ds, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
3117
+ r.value.next.length ? (R(), E("section", ds, [D("h3", fs, W(t.text.statusNext), 1), D("ul", ps, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
3118
3118
  key: t,
3119
3119
  class: "glim-status-line"
3120
3120
  }, [
3121
3121
  D("span", null, W(e.title), 1),
3122
3122
  o[2] ||= k(),
3123
- D("span", fs, W(e.at), 1)
3123
+ D("span", ms, W(e.at), 1)
3124
3124
  ]))), 128))])])) : T("", !0),
3125
- r.value.log.length ? (R(), E("section", ps, [D("h3", ms, W(t.text.statusLog), 1), D("ul", hs, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
3125
+ r.value.log.length ? (R(), E("section", hs, [D("h3", gs, W(t.text.statusLog), 1), D("ul", _s, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
3126
3126
  key: n,
3127
3127
  class: "glim-status-line"
3128
3128
  }, [
3129
- D("span", gs, W(t.at), 1),
3129
+ D("span", vs, W(t.at), 1),
3130
3130
  o[3] ||= k(),
3131
3131
  t.level ? (R(), w(e, {
3132
3132
  key: 0,
@@ -3138,7 +3138,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3138
3138
  o[4] ||= k(),
3139
3139
  D("span", null, W(t.text), 1)
3140
3140
  ]))), 128))])])) : T("", !0),
3141
- r.value.where ? (R(), E("p", _s, W(r.value.where), 1)) : T("", !0)
3141
+ r.value.where ? (R(), E("p", ys, W(r.value.where), 1)) : T("", !0)
3142
3142
  ])]),
3143
3143
  _: 1
3144
3144
  }, 8, [
@@ -3148,10 +3148,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3148
3148
  "text"
3149
3149
  ]));
3150
3150
  }
3151
- }), ys = {
3151
+ }), xs = {
3152
3152
  class: "glim-glyph-field-glyph",
3153
3153
  "aria-hidden": "true"
3154
- }, bs = ["aria-label"], xs = /* @__PURE__ */ j({
3154
+ }, Ss = ["aria-label"], Cs = /* @__PURE__ */ j({
3155
3155
  inheritAttrs: !1,
3156
3156
  __name: "GlyphField",
3157
3157
  props: /*@__PURE__*/ M({
@@ -3165,7 +3165,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3165
3165
  }),
3166
3166
  emits: ["update:modelValue"],
3167
3167
  setup(e, { expose: t }) {
3168
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => ut(n.width)), o = U(null);
3168
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => ft(n.width)), o = U(null);
3169
3169
  return t({ input: o }), (t, n) => (R(), E("label", {
3170
3170
  "data-glim": "GlyphField",
3171
3171
  class: P([
@@ -3177,7 +3177,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3177
3177
  ]),
3178
3178
  style: F(t.$attrs.style)
3179
3179
  }, [
3180
- D("span", ys, [(R(), w(H(e.glyph)))]),
3180
+ D("span", xs, [(R(), w(H(e.glyph)))]),
3181
3181
  Le(D("input", N({
3182
3182
  ref_key: "input",
3183
3183
  ref: o,
@@ -3188,11 +3188,11 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3188
3188
  ...t.$attrs,
3189
3189
  class: void 0,
3190
3190
  style: void 0
3191
- }, { class: "glim-glyph-field-input" }), null, 16, bs), [[Pe, r.value]]),
3191
+ }, { class: "glim-glyph-field-input" }), null, 16, Ss), [[Pe, r.value]]),
3192
3192
  V(t.$slots, "after")
3193
3193
  ], 6));
3194
3194
  }
3195
- }), Ss = /* @__PURE__ */ j({
3195
+ }), ws = /* @__PURE__ */ j({
3196
3196
  __name: "GlyphTile",
3197
3197
  props: {
3198
3198
  glyph: {},
@@ -3211,17 +3211,17 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3211
3211
  "aria-hidden": "true"
3212
3212
  }, [(R(), w(H(e.glyph)))], 2));
3213
3213
  }
3214
- }), Cs = [
3214
+ }), Ts = [
3215
3215
  "aria-label",
3216
3216
  "tabindex",
3217
3217
  "onKeydown"
3218
- ], ws = {
3218
+ ], Es = {
3219
3219
  key: 0,
3220
3220
  class: "glim-list-row-tile"
3221
- }, Ts = { class: "glim-list-row-title" }, Es = {
3221
+ }, Ds = { class: "glim-list-row-title" }, Os = {
3222
3222
  key: 1,
3223
3223
  class: "glim-list-row-badges"
3224
- }, Ds = /* @__PURE__ */ j({
3224
+ }, ks = /* @__PURE__ */ j({
3225
3225
  __name: "ListRow",
3226
3226
  props: {
3227
3227
  name: {},
@@ -3241,21 +3241,21 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3241
3241
  class: P(["glim-list-row", { "glim-list-row--opens": r.value }]),
3242
3242
  onKeydown: [Re(X(a, ["self"]), ["enter"]), Re(X(a, ["self"]), ["space"])]
3243
3243
  }, [
3244
- t.$slots.tile ? (R(), E("span", ws, [V(t.$slots, "tile")])) : T("", !0),
3245
- D("span", { class: P(i.value) }, [D("span", Ts, W(e.name), 1), e.tip ? (R(), E("span", {
3244
+ t.$slots.tile ? (R(), E("span", Es, [V(t.$slots, "tile")])) : T("", !0),
3245
+ D("span", { class: P(i.value) }, [D("span", Ds, W(e.name), 1), e.tip ? (R(), E("span", {
3246
3246
  key: 0,
3247
3247
  class: "glim-list-row-tip",
3248
3248
  onClick: n[0] ||= X(() => {}, ["stop"])
3249
3249
  }, [A(Q, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2),
3250
- t.$slots.badges ? (R(), E("span", Es, [V(t.$slots, "badges")])) : T("", !0),
3250
+ t.$slots.badges ? (R(), E("span", Os, [V(t.$slots, "badges")])) : T("", !0),
3251
3251
  t.$slots.actions ? (R(), E("span", {
3252
3252
  key: 2,
3253
3253
  class: "glim-list-row-actions",
3254
3254
  onClick: n[1] ||= X(() => {}, ["stop"])
3255
3255
  }, [V(t.$slots, "actions")])) : T("", !0)
3256
- ], 42, Cs));
3256
+ ], 42, Ts));
3257
3257
  }
3258
- }), Os = ["aria-label"], ks = /* @__PURE__ */ j({
3258
+ }), As = ["aria-label"], js = /* @__PURE__ */ j({
3259
3259
  __name: "Popover",
3260
3260
  props: {
3261
3261
  open: { type: Boolean },
@@ -3264,13 +3264,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3264
3264
  },
3265
3265
  emits: ["close"],
3266
3266
  setup(e, { emit: t }) {
3267
- let n = e, r = t, i = z(null), a = qe(K() ?? "popover"), o;
3267
+ let n = e, r = t, i = z(null), a = Ye(K() ?? "popover"), o;
3268
3268
  return J([
3269
3269
  () => n.open,
3270
3270
  () => n.anchor,
3271
3271
  i
3272
3272
  ], ([e, t, n]) => {
3273
- o?.(), o = void 0, e && t && n && (o = Ut(n, t, a, () => r("close")));
3273
+ o?.(), o = void 0, e && t && n && (o = Gt(n, t, a, () => r("close")));
3274
3274
  }, { flush: "post" }), I(() => o?.()), (t, n) => e.open ? (R(), E("div", {
3275
3275
  key: 0,
3276
3276
  "data-glim": "Popover",
@@ -3280,24 +3280,24 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3280
3280
  role: "dialog",
3281
3281
  "aria-label": e.label,
3282
3282
  class: "glim-popover"
3283
- }, [V(t.$slots, "default")], 8, Os)) : T("", !0);
3283
+ }, [V(t.$slots, "default")], 8, As)) : T("", !0);
3284
3284
  }
3285
- }), As = {
3285
+ }), Ms = {
3286
3286
  "data-glim": "ListTable",
3287
3287
  class: "glim-list"
3288
- }, js = ["aria-label", "onKeydown"], Ms = ["aria-label", "aria-describedby"], Ns = ["aria-sort"], Ps = { class: "glim-list-th-box" }, Fs = ["onClick"], Is = [
3288
+ }, Ns = ["aria-label", "onKeydown"], Ps = ["aria-label", "aria-describedby"], Fs = ["aria-sort"], Is = { class: "glim-list-th-box" }, Ls = ["onClick"], Rs = [
3289
3289
  "aria-label",
3290
3290
  "aria-expanded",
3291
3291
  "aria-pressed",
3292
3292
  "onClick"
3293
- ], Ls = [
3293
+ ], zs = [
3294
3294
  "aria-selected",
3295
3295
  "onClick",
3296
3296
  "onDblclick"
3297
- ], Rs = ["tabindex"], zs = {
3297
+ ], Bs = ["tabindex"], Vs = {
3298
3298
  key: 1,
3299
3299
  class: "glim-list-empty"
3300
- }, Bs = ["id"], Vs = { class: "glim-list-filter-values" }, Hs = /* @__PURE__ */ j({
3300
+ }, Hs = ["id"], Us = { class: "glim-list-filter-values" }, Ws = /* @__PURE__ */ j({
3301
3301
  __name: "ListTable",
3302
3302
  props: {
3303
3303
  label: {},
@@ -3313,7 +3313,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3313
3313
  keys: [],
3314
3314
  anchor: null,
3315
3315
  focus: null
3316
- }), c = z(null), l = z(null), u = z(null), d = K(), f = C(() => Dt(n.rows, {
3316
+ }), c = z(null), l = z(null), u = z(null), d = K(), f = C(() => kt(n.rows, {
3317
3317
  sort: i.value,
3318
3318
  filters: a.value,
3319
3319
  query: o.value ?? "",
@@ -3338,14 +3338,14 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3338
3338
  }, r("select", e.selected.map((e) => f.value[e])), h();
3339
3339
  }
3340
3340
  function ee(e) {
3341
- let t = Tt(m.value, e.key, {
3341
+ let t = Dt(m.value, e.key, {
3342
3342
  toggle: e.ctrlKey || e.metaKey,
3343
3343
  range: e.shiftKey
3344
3344
  }, f.value.length);
3345
3345
  t && !e.altKey && (e.preventDefault(), "open" in t ? r("open", f.value[t.open]) : "search" in t ? (o.value = (o.value ?? "") + t.search, we(() => u.value?.focus())) : g(t.select));
3346
3346
  }
3347
3347
  function _(e, t) {
3348
- g(pn(m.value, t, {
3348
+ g(hn(m.value, t, {
3349
3349
  toggle: e.ctrlKey || e.metaKey,
3350
3350
  range: e.shiftKey
3351
3351
  }));
@@ -3368,7 +3368,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3368
3368
  };
3369
3369
  }
3370
3370
  let ie = (e, t) => String(e[t] ?? "");
3371
- return (t, n) => (R(), E("div", As, [
3371
+ return (t, n) => (R(), E("div", Ms, [
3372
3372
  o.value === null ? T("", !0) : Le((R(), E("input", {
3373
3373
  key: 0,
3374
3374
  ref_key: "searchField",
@@ -3378,7 +3378,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3378
3378
  type: "search",
3379
3379
  "aria-label": e.text.search,
3380
3380
  onKeydown: Re(X(te, ["prevent", "stop"]), ["esc"])
3381
- }, null, 40, js)), [[Pe, o.value]]),
3381
+ }, null, 40, Ns)), [[Pe, o.value]]),
3382
3382
  D("table", {
3383
3383
  ref_key: "grid",
3384
3384
  ref: l,
@@ -3390,17 +3390,17 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3390
3390
  }, [D("thead", null, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (t) => (R(), E("th", {
3391
3391
  key: t.key,
3392
3392
  scope: "col",
3393
- "aria-sort": G(Xe)(i.value, t.key),
3393
+ "aria-sort": G(Qe)(i.value, t.key),
3394
3394
  class: P(t.end ? "glim-list-th glim-table-end" : "glim-list-th")
3395
- }, [D("span", Ps, [D("button", {
3395
+ }, [D("span", Is, [D("button", {
3396
3396
  type: "button",
3397
3397
  class: "glim-list-sort",
3398
- onClick: (e) => i.value = G(Rt)(i.value, t.key)
3398
+ onClick: (e) => i.value = G(Bt)(i.value, t.key)
3399
3399
  }, [k(W(t.label) + " ", 1), i.value?.key === t.key ? (R(), w(G(b), {
3400
3400
  key: 0,
3401
- mark: G(Ue).expand,
3401
+ mark: G(Ge).expand,
3402
3402
  class: P(`glim-list-sort-mark glim-list-sort-mark--${i.value.dir}`)
3403
- }, null, 8, ["mark", "class"])) : T("", !0)], 8, Fs), t.filter ? (R(), E("button", {
3403
+ }, null, 8, ["mark", "class"])) : T("", !0)], 8, Ls), t.filter ? (R(), E("button", {
3404
3404
  key: 0,
3405
3405
  type: "button",
3406
3406
  "aria-label": e.text.filterOf(t.label),
@@ -3409,7 +3409,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3409
3409
  "aria-pressed": ne(t.key).length > 0,
3410
3410
  class: "glim-list-filter",
3411
3411
  onClick: (e) => y(t.key, e.currentTarget)
3412
- }, [A(G(b), { mark: G(Ue).expand }, null, 8, ["mark"])], 8, Is)) : T("", !0)])], 10, Ns))), 128))])]), D("tbody", { onKeydown: ee }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
3412
+ }, [A(G(b), { mark: G(Ge).expand }, null, 8, ["mark"])], 8, Rs)) : T("", !0)])], 10, Fs))), 128))])]), D("tbody", { onKeydown: ee }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
3413
3413
  key: p.value[i],
3414
3414
  "aria-selected": m.value.selected.includes(i),
3415
3415
  class: "glim-list-tr",
@@ -3418,24 +3418,24 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3418
3418
  }, [(R(!0), E(S, null, B(e.columns, (e, r) => (R(), E("td", {
3419
3419
  key: e.key,
3420
3420
  tabindex: r === 0 ? i === m.value.focus ? 0 : -1 : void 0,
3421
- class: P(G(Mn)(e) || void 0)
3421
+ class: P(G(Pn)(e) || void 0)
3422
3422
  }, [V(t.$slots, "cell", {
3423
3423
  row: n,
3424
3424
  column: e
3425
- }, () => [k(W(ie(n, e.key)), 1)])], 10, Rs))), 128))], 40, Ls))), 128))], 32)], 8, Ms),
3426
- f.value.length === 0 ? (R(), E("p", zs, W(e.text.noMatch), 1)) : T("", !0),
3425
+ }, () => [k(W(ie(n, e.key)), 1)])], 10, Bs))), 128))], 40, zs))), 128))], 32)], 8, Ps),
3426
+ f.value.length === 0 ? (R(), E("p", Vs, W(e.text.noMatch), 1)) : T("", !0),
3427
3427
  D("p", {
3428
3428
  id: G(d),
3429
3429
  class: "glim-list-hint"
3430
- }, W(e.text.hint), 9, Bs),
3431
- v.value ? (R(), w(ks, {
3430
+ }, W(e.text.hint), 9, Hs),
3431
+ v.value ? (R(), w(js, {
3432
3432
  key: 2,
3433
3433
  open: !0,
3434
3434
  anchor: c.value.at,
3435
3435
  label: e.text.filterOf(v.value.label),
3436
3436
  onClose: n[1] ||= (e) => c.value = null
3437
3437
  }, {
3438
- default: Y(() => [D("div", Vs, [(R(!0), E(S, null, B(G(tt)(e.rows, v.value.key), (e) => (R(), w(Dr, {
3438
+ default: Y(() => [D("div", Us, [(R(!0), E(S, null, B(G(rt)(e.rows, v.value.key), (e) => (R(), w(kr, {
3439
3439
  key: e,
3440
3440
  label: e,
3441
3441
  "model-value": ne(v.value.key).includes(e),
@@ -3449,14 +3449,14 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3449
3449
  }, 8, ["anchor", "label"])) : T("", !0)
3450
3450
  ]));
3451
3451
  }
3452
- }), Us = ["aria-label"], Ws = [
3452
+ }), Gs = ["aria-label"], Ks = [
3453
3453
  "aria-expanded",
3454
3454
  "tabindex",
3455
3455
  "onClick",
3456
3456
  "onMouseenter",
3457
3457
  "onKeydown",
3458
3458
  "onFocus"
3459
- ], Gs = /* @__PURE__ */ j({
3459
+ ], qs = /* @__PURE__ */ j({
3460
3460
  __name: "MenuBar",
3461
3461
  props: {
3462
3462
  label: {},
@@ -3510,7 +3510,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3510
3510
  onMouseenter: (e) => i.value && i.value.at !== t && o(t),
3511
3511
  onKeydown: (e) => l(e, t),
3512
3512
  onFocus: (e) => a.value = t
3513
- }, W(e.label), 41, Ws))), 128)), i.value && e.menus[i.value.at] ? (R(), w(di, {
3513
+ }, W(e.label), 41, Ks))), 128)), i.value && e.menus[i.value.at] ? (R(), w(pi, {
3514
3514
  key: i.value.at,
3515
3515
  x: i.value.x,
3516
3516
  y: i.value.y,
@@ -3529,9 +3529,9 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3529
3529
  "id",
3530
3530
  "opener",
3531
3531
  "from-end"
3532
- ])) : T("", !0)], 8, Us));
3532
+ ])) : T("", !0)], 8, Gs));
3533
3533
  }
3534
- }), Ks = [
3534
+ }), Js = [
3535
3535
  "role",
3536
3536
  "aria-label",
3537
3537
  "aria-valuemin",
@@ -3539,7 +3539,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3539
3539
  "aria-valuenow",
3540
3540
  "aria-valuetext",
3541
3541
  "aria-busy"
3542
- ], qs = /* @__PURE__ */ j({
3542
+ ], Ys = /* @__PURE__ */ j({
3543
3543
  inheritAttrs: !1,
3544
3544
  __name: "Meter",
3545
3545
  props: {
@@ -3554,7 +3554,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3554
3554
  valueText: {}
3555
3555
  },
3556
3556
  setup(e) {
3557
- let r = e, i = C(() => It(r.value, {
3557
+ let r = e, i = C(() => Rt(r.value, {
3558
3558
  size: r.size,
3559
3559
  threshold: r.threshold,
3560
3560
  quiet: r.quiet
@@ -3574,16 +3574,16 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3574
3574
  }), [D("span", {
3575
3575
  class: "glim-meter-fill",
3576
3576
  style: F(i.value.width ? { width: i.value.width } : void 0)
3577
- }, null, 4)], 16, Ks), A(t, { state: G(o) }, null, 8, ["state"])], 64));
3577
+ }, null, 4)], 16, Js), A(t, { state: G(o) }, null, 8, ["state"])], 64));
3578
3578
  }
3579
- }), Js = {
3579
+ }), Xs = {
3580
3580
  "data-glim": "NumberField",
3581
3581
  class: "glim-num-wrap"
3582
- }, Ys = [
3582
+ }, Zs = [
3583
3583
  "aria-label",
3584
3584
  "aria-invalid",
3585
3585
  "aria-describedby"
3586
- ], Xs = /* @__PURE__ */ j({
3586
+ ], Qs = /* @__PURE__ */ j({
3587
3587
  inheritAttrs: !1,
3588
3588
  __name: "NumberField",
3589
3589
  props: /*@__PURE__*/ M({ error: {} }, {
@@ -3592,9 +3592,9 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3592
3592
  }),
3593
3593
  emits: ["update:modelValue"],
3594
3594
  setup(e) {
3595
- let t = e, n = q(e, "modelValue"), r = je(), i = x(() => r["aria-label"]), a = K(), o = C(() => lt(t.error, r.id ?? a, r["aria-describedby"])), s = U(null), c;
3595
+ let t = e, n = q(e, "modelValue"), r = je(), i = x(() => r["aria-label"]), a = K(), o = C(() => dt(t.error, r.id ?? a, r["aria-describedby"])), s = U(null), c;
3596
3596
  L(() => {
3597
- l(n.value), c = Ze(s.value);
3597
+ l(n.value), c = $e(s.value);
3598
3598
  }), I(() => c?.());
3599
3599
  function l(e) {
3600
3600
  let t = s.value;
@@ -3608,13 +3608,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3608
3608
  () => r.disabled,
3609
3609
  () => r.readonly
3610
3610
  ], () => {
3611
- l(n.value), s.value && jn(s.value);
3611
+ l(n.value), s.value && Nn(s.value);
3612
3612
  }, { flush: "post" });
3613
3613
  function u(e) {
3614
3614
  let t = e.target;
3615
3615
  n.value = t.value === "" ? null : t.valueAsNumber;
3616
3616
  }
3617
- return (t, n) => (R(), E(S, null, [D("span", Js, [D("input", N(t.$attrs, {
3617
+ return (t, n) => (R(), E(S, null, [D("span", Xs, [D("input", N(t.$attrs, {
3618
3618
  ref_key: "input",
3619
3619
  ref: s,
3620
3620
  "aria-label": G(i),
@@ -3623,7 +3623,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3623
3623
  type: "number",
3624
3624
  class: "glim-num-input glim-num-field glim-num",
3625
3625
  onInput: u
3626
- }), null, 16, Ys)]), o.value.errorId ? (R(), w(Bi, {
3626
+ }), null, 16, Zs)]), o.value.errorId ? (R(), w(Hi, {
3627
3627
  key: 0,
3628
3628
  id: o.value.errorId
3629
3629
  }, {
@@ -3631,7 +3631,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3631
3631
  _: 1
3632
3632
  }, 8, ["id"])) : T("", !0)], 64));
3633
3633
  }
3634
- }), Zs = ["aria-label", "disabled"], Qs = /* @__PURE__ */ j({
3634
+ }), $s = ["aria-label", "disabled"], ec = /* @__PURE__ */ j({
3635
3635
  inheritAttrs: !1,
3636
3636
  __name: "PathField",
3637
3637
  props: /*@__PURE__*/ M({
@@ -3654,7 +3654,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3654
3654
  setup(e, { expose: t, emit: n }) {
3655
3655
  let r = e, i = q(e, "modelValue"), a = n, o = x(() => r.label), s = U(null);
3656
3656
  t({ input: s });
3657
- let c = U(null), l = z(!1), u = new ResizeObserver(([e]) => l.value = e.contentRect.width < We);
3657
+ let c = U(null), l = z(!1), u = new ResizeObserver(([e]) => l.value = e.contentRect.width < Ke);
3658
3658
  L(() => u.observe(c.value)), I(() => u.disconnect());
3659
3659
  async function d() {
3660
3660
  let e = await r.pick(i.value);
@@ -3666,7 +3666,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3666
3666
  "data-glim": "PathField",
3667
3667
  class: P([
3668
3668
  "glim-path",
3669
- G(ut)(e.width),
3669
+ G(ft)(e.width),
3670
3670
  t.$attrs.class
3671
3671
  ]),
3672
3672
  style: F(t.$attrs.style)
@@ -3685,7 +3685,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3685
3685
  }, {
3686
3686
  disabled: e.disabled,
3687
3687
  class: "glim-input glim-input--mono"
3688
- }), null, 16, Zs), [[Pe, i.value]]), A(f, N(e.buttonAttrs, {
3688
+ }), null, 16, $s), [[Pe, i.value]]), A(f, N(e.buttonAttrs, {
3689
3689
  variant: "icon",
3690
3690
  label: e.text.pick,
3691
3691
  "label-key": null,
@@ -3700,27 +3700,27 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3700
3700
  "disabled"
3701
3701
  ])], 6));
3702
3702
  }
3703
- }), $s = ["data-glim-title"], ec = { class: "glim-modal-head" }, tc = {
3703
+ }), tc = ["data-glim-title"], nc = { class: "glim-modal-head" }, rc = {
3704
3704
  id: "paypal-window-title",
3705
3705
  class: "glim-modal-title"
3706
- }, nc = { class: "glim-give-body glim-give-body--scroll" }, rc = { class: "glim-give-appeal" }, ic = { class: "glim-give-intro" }, ac = { class: "glim-give-group" }, oc = {
3706
+ }, ic = { class: "glim-give-body glim-give-body--scroll" }, ac = { class: "glim-give-appeal" }, oc = { class: "glim-give-intro" }, sc = { class: "glim-give-group" }, cc = {
3707
3707
  id: "paypal-frequency",
3708
3708
  class: "glim-eyebrow"
3709
- }, sc = { class: "glim-give-group" }, cc = {
3709
+ }, lc = { class: "glim-give-group" }, uc = {
3710
3710
  id: "paypal-amount",
3711
3711
  class: "glim-eyebrow"
3712
- }, lc = { class: "glim-give-amounts" }, uc = [
3712
+ }, dc = { class: "glim-give-amounts" }, fc = [
3713
3713
  "value",
3714
3714
  "placeholder",
3715
3715
  "aria-label",
3716
3716
  "aria-invalid"
3717
- ], dc = { class: "glim-give-loading" }, fc = {
3717
+ ], pc = { class: "glim-give-loading" }, mc = {
3718
3718
  key: 0,
3719
3719
  class: "glim-give-status glim-give-status--ok"
3720
- }, pc = {
3720
+ }, hc = {
3721
3721
  key: 1,
3722
3722
  class: "glim-give-status glim-give-status--fail"
3723
- }, mc = { class: "glim-give-foot" }, hc = /* @__PURE__ */ j({
3723
+ }, gc = { class: "glim-give-foot" }, _c = /* @__PURE__ */ j({
3724
3724
  __name: "PaypalDialog",
3725
3725
  props: {
3726
3726
  text: {},
@@ -3761,7 +3761,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3761
3761
  "aria-labelledby": "paypal-window-title",
3762
3762
  class: "glim-modal-card glim-modal-card--wide"
3763
3763
  }, [
3764
- D("div", ec, [D("h2", tc, [A(e, {
3764
+ D("div", nc, [D("h2", rc, [A(e, {
3765
3765
  tone: "heading",
3766
3766
  size: "heading",
3767
3767
  wrap: ""
@@ -3769,10 +3769,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3769
3769
  default: Y(() => [k(W(t.text.title), 1)]),
3770
3770
  _: 1
3771
3771
  })])]),
3772
- D("div", nc, [
3773
- D("p", rc, W(t.text.appeal), 1),
3774
- D("p", ic, W(t.text.intro), 1),
3775
- D("div", ac, [D("span", oc, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
3772
+ D("div", ic, [
3773
+ D("p", ac, W(t.text.appeal), 1),
3774
+ D("p", oc, W(t.text.intro), 1),
3775
+ D("div", sc, [D("span", cc, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
3776
3776
  labelledBy: "paypal-frequency",
3777
3777
  options: a.map((e) => ({
3778
3778
  value: e,
@@ -3781,7 +3781,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3781
3781
  value: t.frequency,
3782
3782
  onChange: s
3783
3783
  })]),
3784
- D("div", sc, [D("span", cc, W(t.text.amountLabel), 1), D("div", lc, [D("div", null, [V(n.$slots, "selector", {
3784
+ D("div", lc, [D("span", uc, W(t.text.amountLabel), 1), D("div", dc, [D("div", null, [V(n.$slots, "selector", {
3785
3785
  labelledBy: "paypal-amount",
3786
3786
  options: t.amounts.map((e) => ({
3787
3787
  value: e,
@@ -3798,23 +3798,23 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3798
3798
  "aria-invalid": t.typed !== "" && !t.typedValid,
3799
3799
  class: P(t.typedValid ? "glim-give-amount glim-give-amount--valid" : "glim-give-amount"),
3800
3800
  onInput: l
3801
- }, null, 42, uc)])]),
3801
+ }, null, 42, fc)])]),
3802
3802
  D("div", {
3803
3803
  ref: t.buttonsRef,
3804
3804
  class: "glim-give-wallet"
3805
- }, [D("p", dc, W(t.text.loading), 1)], 512),
3806
- t.status === "done" ? (R(), E("p", fc, W(t.text.thanks), 1)) : T("", !0),
3807
- t.status === "failed" ? (R(), E("p", pc, W(t.text.failed), 1)) : T("", !0)
3805
+ }, [D("p", pc, W(t.text.loading), 1)], 512),
3806
+ t.status === "done" ? (R(), E("p", mc, W(t.text.thanks), 1)) : T("", !0),
3807
+ t.status === "failed" ? (R(), E("p", hc, W(t.text.failed), 1)) : T("", !0)
3808
3808
  ]),
3809
- D("div", mc, [A(f, {
3809
+ D("div", gc, [A(f, {
3810
3810
  label: t.text.closeLabel,
3811
3811
  "label-key": "common.close",
3812
3812
  tone: "neutral",
3813
3813
  onClick: r[0] ||= (e) => i("close")
3814
3814
  }, null, 8, ["label"])])
3815
- ], 8, $s)]));
3815
+ ], 8, tc)]));
3816
3816
  }
3817
- }), gc = /* @__PURE__ */ j({
3817
+ }), vc = /* @__PURE__ */ j({
3818
3818
  __name: "RowMark",
3819
3819
  props: { on: { type: Boolean } },
3820
3820
  setup(e) {
@@ -3824,7 +3824,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3824
3824
  "aria-hidden": "true"
3825
3825
  }, [A(G(y))], 2));
3826
3826
  }
3827
- }), _c = { class: "glim-sr-only" }, vc = /* @__PURE__ */ j({
3827
+ }), yc = { class: "glim-sr-only" }, bc = /* @__PURE__ */ j({
3828
3828
  inheritAttrs: !1,
3829
3829
  __name: "SidebarRowLink",
3830
3830
  props: {
@@ -3859,7 +3859,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3859
3859
  e.view.countClass && e.count ? (R(), E(S, { key: 1 }, [D("span", {
3860
3860
  class: P(e.view.countClass),
3861
3861
  "aria-hidden": "true"
3862
- }, W(e.count.value), 3), D("span", _c, W(e.count.label), 1)], 64)) : T("", !0)
3862
+ }, W(e.count.value), 3), D("span", yc, W(e.count.label), 1)], 64)) : T("", !0)
3863
3863
  ]),
3864
3864
  _: 1
3865
3865
  }, 16, [
@@ -3874,13 +3874,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3874
3874
  "onBlur"
3875
3875
  ])), A(t, { state: G(i) }, null, 8, ["state"])], 64));
3876
3876
  }
3877
- }), yc = {
3877
+ }), xc = {
3878
3878
  key: 0,
3879
3879
  class: "glim-nav-row-slot"
3880
- }, bc = {
3880
+ }, Sc = {
3881
3881
  key: 1,
3882
3882
  class: "glim-nav-row-slot"
3883
- }, xc = /* @__PURE__ */ j({
3883
+ }, Cc = /* @__PURE__ */ j({
3884
3884
  inheritAttrs: !1,
3885
3885
  __name: "SidebarRow",
3886
3886
  props: {
@@ -3896,7 +3896,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3896
3896
  depth: {}
3897
3897
  },
3898
3898
  setup(e) {
3899
- let t = e, n = l("sidebar"), r = Me(), i = C(() => xn({
3899
+ let t = e, n = l("sidebar"), r = Me(), i = C(() => Cn({
3900
3900
  mode: n.value,
3901
3901
  label: t.label,
3902
3902
  hasGlyph: !!t.glyph,
@@ -3923,15 +3923,15 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3923
3923
  ]),
3924
3924
  style: F([i.value.style, e.$attrs.style])
3925
3925
  }, [
3926
- e.$slots.before ? (R(), E("span", yc, [V(e.$slots, "before")])) : T("", !0),
3927
- A(vc, N({
3926
+ e.$slots.before ? (R(), E("span", xc, [V(e.$slots, "before")])) : T("", !0),
3927
+ A(bc, N({
3928
3928
  ...e.$attrs,
3929
3929
  ...a.value,
3930
3930
  class: void 0,
3931
3931
  style: void 0
3932
3932
  }, { "class-name": "glim-nav-row-main" }), null, 16),
3933
- e.$slots.after ? (R(), E("span", bc, [V(e.$slots, "after")])) : T("", !0)
3934
- ], 6)) : (R(), w(vc, N({
3933
+ e.$slots.after ? (R(), E("span", Sc, [V(e.$slots, "after")])) : T("", !0)
3934
+ ], 6)) : (R(), w(bc, N({
3935
3935
  key: 1,
3936
3936
  "data-glim": "SidebarRow"
3937
3937
  }, {
@@ -3948,7 +3948,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3948
3948
  "style"
3949
3949
  ]));
3950
3950
  }
3951
- }), Sc = ["data-glim-title", "aria-labelledby"], Cc = { class: "glim-sheet-panel" }, wc = ["id"], Tc = { class: "glim-sheet-body" }, Ec = /* @__PURE__ */ j({
3951
+ }), wc = ["data-glim-title", "aria-labelledby"], Tc = { class: "glim-sheet-panel" }, Ec = ["id"], Dc = { class: "glim-sheet-body" }, Oc = /* @__PURE__ */ j({
3952
3952
  __name: "Sheet",
3953
3953
  props: {
3954
3954
  open: { type: Boolean },
@@ -3961,7 +3961,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3961
3961
  setup(t, { emit: n }) {
3962
3962
  let r = t, i = n, a = Me(), o = z(null), s = K(), c = C(() => r.start !== void 0 || !!a.start), l;
3963
3963
  return J([() => r.open, o], ([e, t]) => {
3964
- l?.(), l = void 0, e && t && (l = Wt(t, () => i("close")));
3964
+ l?.(), l = void 0, e && t && (l = Kt(t, () => i("close")));
3965
3965
  }, { flush: "post" }), I(() => l?.()), (n, r) => t.open ? (R(), E("dialog", {
3966
3966
  key: 0,
3967
3967
  "data-glim": "Sheet",
@@ -3970,7 +3970,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3970
3970
  ref: o,
3971
3971
  "aria-labelledby": G(s),
3972
3972
  class: "glim-sheet"
3973
- }, [D("div", Cc, [
3973
+ }, [D("div", Tc, [
3974
3974
  D("h2", {
3975
3975
  id: G(s),
3976
3976
  class: "glim-sheet-title"
@@ -3982,9 +3982,9 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
3982
3982
  }, {
3983
3983
  default: Y(() => [k(W(t.title), 1)]),
3984
3984
  _: 1
3985
- })], 8, wc),
3986
- D("div", Tc, [V(n.$slots, "default")]),
3987
- A(Ji, {
3985
+ })], 8, Ec),
3986
+ D("div", Dc, [V(n.$slots, "default")]),
3987
+ A(Xi, {
3988
3988
  actions: t.actions,
3989
3989
  start: t.start,
3990
3990
  "has-start": c.value,
@@ -4000,12 +4000,12 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4000
4000
  "has-start",
4001
4001
  "text"
4002
4002
  ])
4003
- ])], 8, Sc)) : T("", !0);
4003
+ ])], 8, wc)) : T("", !0);
4004
4004
  }
4005
- }), Dc = {
4005
+ }), kc = {
4006
4006
  "data-glim": "SignInField",
4007
4007
  class: "glim-signin-field"
4008
- }, Oc = ["for"], kc = /* @__PURE__ */ j({
4008
+ }, Ac = ["for"], jc = /* @__PURE__ */ j({
4009
4009
  __name: "SignInField",
4010
4010
  props: {
4011
4011
  label: {},
@@ -4014,21 +4014,21 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4014
4014
  },
4015
4015
  setup(e) {
4016
4016
  let t = e, n = z(!1), r = (e) => {
4017
- n.value = wt(document.getElementById(t.for), t.label, t.hint, e);
4017
+ n.value = Et(document.getElementById(t.for), t.label, t.hint, e);
4018
4018
  };
4019
- return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", Dc, [D("label", {
4019
+ return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", kc, [D("label", {
4020
4020
  for: t.$props.for,
4021
4021
  class: P(n.value ? "glim-sr-only" : "glim-signin-label")
4022
4022
  }, [k(W(e.label), 1), e.hint ? (R(), w(Q, {
4023
4023
  key: 0,
4024
4024
  tip: e.hint
4025
- }, null, 8, ["tip"])) : T("", !0)], 10, Oc), V(t.$slots, "default")]));
4025
+ }, null, 8, ["tip"])) : T("", !0)], 10, Ac), V(t.$slots, "default")]));
4026
4026
  }
4027
- }), Ac = [
4027
+ }), Mc = [
4028
4028
  "aria-label",
4029
4029
  "aria-invalid",
4030
4030
  "aria-describedby"
4031
- ], jc = /* @__PURE__ */ j({
4031
+ ], Nc = /* @__PURE__ */ j({
4032
4032
  inheritAttrs: !1,
4033
4033
  __name: "TextField",
4034
4034
  props: /*@__PURE__*/ M({
@@ -4042,10 +4042,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4042
4042
  }),
4043
4043
  emits: ["update:modelValue"],
4044
4044
  setup(e, { expose: t }) {
4045
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => Nn({
4045
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => Fn({
4046
4046
  width: n.width,
4047
4047
  mono: n.mono
4048
- })), o = je(), s = K(), c = C(() => lt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4048
+ })), o = je(), s = K(), c = C(() => dt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4049
4049
  return t({ input: l }), (t, n) => (R(), E(S, null, [Le(D("input", N({ "data-glim": "TextField" }, t.$attrs, {
4050
4050
  ref_key: "input",
4051
4051
  ref: l,
@@ -4055,7 +4055,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4055
4055
  "aria-invalid": c.value.invalid,
4056
4056
  "aria-describedby": c.value.describedBy,
4057
4057
  class: a.value
4058
- }), null, 16, Ac), [[Pe, r.value]]), c.value.errorId ? (R(), w(Bi, {
4058
+ }), null, 16, Mc), [[Pe, r.value]]), c.value.errorId ? (R(), w(Hi, {
4059
4059
  key: 0,
4060
4060
  id: c.value.errorId
4061
4061
  }, {
@@ -4063,26 +4063,26 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4063
4063
  _: 1
4064
4064
  }, 8, ["id"])) : T("", !0)], 64));
4065
4065
  }
4066
- }), Mc = {
4066
+ }), Pc = {
4067
4067
  "data-glim": "SignInCard",
4068
4068
  class: "glim-signin"
4069
- }, Nc = { class: "glim-signin-head" }, Pc = {
4069
+ }, Fc = { class: "glim-signin-head" }, Ic = {
4070
4070
  key: 0,
4071
4071
  class: "glim-signin-logo",
4072
4072
  "aria-hidden": "true"
4073
- }, Fc = ["src"], Ic = { class: "glim-signin-name" }, Lc = {
4073
+ }, Lc = ["src"], Rc = { class: "glim-signin-name" }, zc = {
4074
4074
  key: 0,
4075
4075
  class: "glim-signin-error",
4076
4076
  role: "alert"
4077
- }, Rc = {
4077
+ }, Bc = {
4078
4078
  key: 0,
4079
4079
  class: "glim-signin-note",
4080
4080
  role: "status"
4081
- }, zc = { class: "glim-signin-hint" }, Bc = {
4081
+ }, Vc = { class: "glim-signin-hint" }, Hc = {
4082
4082
  key: 3,
4083
4083
  class: "glim-signin-error",
4084
4084
  role: "alert"
4085
- }, Vc = /* @__PURE__ */ j({
4085
+ }, Uc = /* @__PURE__ */ j({
4086
4086
  __name: "SignInCard",
4087
4087
  props: {
4088
4088
  logo: {},
@@ -4110,7 +4110,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4110
4110
  onSetPassword: {}
4111
4111
  },
4112
4112
  setup(e) {
4113
- let t = e, n = Me(), r = ot(() => t), i = U(r.state()), a = r.subscribe(() => i.value = r.state());
4113
+ let t = e, n = Me(), r = ct(() => t), i = U(r.state()), a = r.subscribe(() => i.value = r.state());
4114
4114
  I(a);
4115
4115
  let o = K(), s = (e) => `${t.idPrefix ?? o}-${e}`, c = C(() => ({
4116
4116
  signIn: "signIn",
@@ -4124,32 +4124,32 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4124
4124
  hide: t.text.hide
4125
4125
  })), u = U(null), d = "";
4126
4126
  function p() {
4127
- let e = n.step ? "step" : Cn(i.value);
4128
- e !== d && ((d || t.autoFocus) && pt(u.value), d = e);
4127
+ let e = n.step ? "step" : Tn(i.value);
4128
+ e !== d && ((d || t.autoFocus) && ht(u.value), d = e);
4129
4129
  }
4130
4130
  return L(p), De(p), J(() => i.value.refusal?.count, (e, t, n) => {
4131
4131
  let r = i.value.refusal;
4132
- r && n(bn(u.value, r));
4133
- }, { flush: "post" }), (t, n) => (R(), E("div", Mc, [D("div", {
4132
+ r && n(Sn(u.value, r));
4133
+ }, { flush: "post" }), (t, n) => (R(), E("div", Pc, [D("div", {
4134
4134
  ref_key: "card",
4135
4135
  ref: u,
4136
4136
  class: "glim-card glim-signin-card"
4137
- }, [D("div", Nc, [e.logo || t.$slots.logo ? (R(), E("span", Pc, [V(t.$slots, "logo", {}, () => [D("img", {
4137
+ }, [D("div", Fc, [e.logo || t.$slots.logo ? (R(), E("span", Ic, [V(t.$slots, "logo", {}, () => [D("img", {
4138
4138
  src: e.logo,
4139
4139
  alt: "",
4140
4140
  draggable: "false"
4141
- }, null, 8, Fc)])])) : T("", !0), D("h1", Ic, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
4141
+ }, null, 8, Lc)])])) : T("", !0), D("h1", Rc, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
4142
4142
  key: 1,
4143
4143
  class: "glim-signin-form",
4144
4144
  novalidate: "",
4145
4145
  onSubmit: n[4] ||= X((e) => G(r).submit(), ["prevent"])
4146
4146
  }, [
4147
- A(kc, {
4147
+ A(jc, {
4148
4148
  label: e.text.resetCode,
4149
4149
  for: s("reset-code"),
4150
4150
  hint: e.text.resetCodeTip
4151
4151
  }, {
4152
- default: Y(() => [A(jc, {
4152
+ default: Y(() => [A(Nc, {
4153
4153
  id: s("reset-code"),
4154
4154
  "data-signin-field": "resetCode",
4155
4155
  class: "glim-signin-log-code",
@@ -4166,11 +4166,11 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4166
4166
  "for",
4167
4167
  "hint"
4168
4168
  ]),
4169
- A(kc, {
4169
+ A(jc, {
4170
4170
  label: e.text.newPassword,
4171
4171
  for: s("new")
4172
4172
  }, {
4173
- default: Y(() => [A(Za, {
4173
+ default: Y(() => [A($a, {
4174
4174
  id: s("new"),
4175
4175
  "data-signin-field": "newPassword",
4176
4176
  "model-value": i.value.newPassword,
@@ -4184,11 +4184,11 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4184
4184
  ])]),
4185
4185
  _: 1
4186
4186
  }, 8, ["label", "for"]),
4187
- A(kc, {
4187
+ A(jc, {
4188
4188
  label: e.text.confirmPassword,
4189
4189
  for: s("confirm")
4190
4190
  }, {
4191
- default: Y(() => [A(Za, {
4191
+ default: Y(() => [A($a, {
4192
4192
  id: s("confirm"),
4193
4193
  "data-signin-field": "confirm",
4194
4194
  "model-value": i.value.confirm,
@@ -4202,14 +4202,14 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4202
4202
  ])]),
4203
4203
  _: 1
4204
4204
  }, 8, ["label", "for"]),
4205
- i.value.error ? (R(), E("p", Lc, W(i.value.error), 1)) : T("", !0),
4205
+ i.value.error ? (R(), E("p", zc, W(i.value.error), 1)) : T("", !0),
4206
4206
  A(f, {
4207
4207
  label: e.text.setPassword,
4208
4208
  "label-key": c.value.setPassword,
4209
4209
  tone: "accent",
4210
4210
  type: "submit",
4211
4211
  "data-signin": "set-password",
4212
- disabled: G(sn)(i.value),
4212
+ disabled: G(ln)(i.value),
4213
4213
  busy: i.value.busy === "setPassword",
4214
4214
  title: i.value.busy === "setPassword" ? e.text.saving : void 0
4215
4215
  }, null, 8, [
@@ -4237,13 +4237,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4237
4237
  novalidate: "",
4238
4238
  onSubmit: n[10] ||= X((e) => G(r).submit(), ["prevent"])
4239
4239
  }, [
4240
- e.note ? (R(), E("p", Rc, W(e.note), 1)) : T("", !0),
4240
+ e.note ? (R(), E("p", Bc, W(e.note), 1)) : T("", !0),
4241
4241
  i.value.viaPasskey ? T("", !0) : V(t.$slots, "fields", {}, void 0, void 0, 1),
4242
- Le(A(kc, {
4242
+ Le(A(jc, {
4243
4243
  label: e.text.password,
4244
4244
  for: s("password")
4245
4245
  }, {
4246
- default: Y(() => [A(Za, {
4246
+ default: Y(() => [A($a, {
4247
4247
  id: s("password"),
4248
4248
  "data-signin-field": "password",
4249
4249
  "model-value": i.value.password,
@@ -4257,12 +4257,12 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4257
4257
  ])]),
4258
4258
  _: 1
4259
4259
  }, 8, ["label", "for"]), [[Fe, !i.value.viaPasskey]]),
4260
- i.value.needCode ? (R(), w(kc, {
4260
+ i.value.needCode ? (R(), w(jc, {
4261
4261
  key: 2,
4262
4262
  label: e.text.code,
4263
4263
  for: s("code")
4264
4264
  }, {
4265
- default: Y(() => [A(jc, {
4265
+ default: Y(() => [A(Nc, {
4266
4266
  id: s("code"),
4267
4267
  "data-signin-field": "code",
4268
4268
  class: "glim-signin-code",
@@ -4272,17 +4272,17 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4272
4272
  spellcheck: "false",
4273
4273
  placeholder: "000000",
4274
4274
  "onUpdate:modelValue": n[6] ||= (e) => G(r).set("code", e)
4275
- }, null, 8, ["id", "model-value"]), D("p", zc, W(e.text.codeHint), 1)]),
4275
+ }, null, 8, ["id", "model-value"]), D("p", Vc, W(e.text.codeHint), 1)]),
4276
4276
  _: 1
4277
4277
  }, 8, ["label", "for"])) : T("", !0),
4278
- i.value.error ? (R(), E("p", Bc, W(i.value.error), 1)) : T("", !0),
4278
+ i.value.error ? (R(), E("p", Hc, W(i.value.error), 1)) : T("", !0),
4279
4279
  A(f, {
4280
4280
  label: e.text.signIn,
4281
4281
  "label-key": c.value.signIn,
4282
4282
  tone: "accent",
4283
4283
  type: "submit",
4284
4284
  "data-signin": "submit",
4285
- disabled: G(Sn)(i.value),
4285
+ disabled: G(wn)(i.value),
4286
4286
  busy: i.value.busy === "signIn",
4287
4287
  title: i.value.busy === "signIn" ? e.text.signingIn : void 0
4288
4288
  }, null, 8, [
@@ -4336,13 +4336,13 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4336
4336
  ])) : T("", !0)
4337
4337
  ], 32))], 512)]));
4338
4338
  }
4339
- }), Hc = {
4339
+ }), Wc = {
4340
4340
  key: 0,
4341
4341
  class: "glim-skeleton-block glim-skeleton-tile"
4342
- }, Uc = {
4342
+ }, Gc = {
4343
4343
  key: 1,
4344
4344
  class: "glim-skeleton-block glim-skeleton-badge"
4345
- }, Wc = /* @__PURE__ */ j({
4345
+ }, Kc = /* @__PURE__ */ j({
4346
4346
  __name: "SkeletonRow",
4347
4347
  props: {
4348
4348
  delay: {},
@@ -4356,7 +4356,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4356
4356
  }
4357
4357
  },
4358
4358
  setup(e) {
4359
- let t = e, n = C(() => wn({
4359
+ let t = e, n = C(() => En({
4360
4360
  delay: t.delay,
4361
4361
  tile: t.tile,
4362
4362
  badge: t.badge
@@ -4367,18 +4367,18 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4367
4367
  class: P(n.value.className),
4368
4368
  style: F(n.value.style)
4369
4369
  }, [
4370
- n.value.tile ? (R(), E("span", Hc)) : T("", !0),
4370
+ n.value.tile ? (R(), E("span", Wc)) : T("", !0),
4371
4371
  t[0] ||= D("span", { class: "glim-skeleton-block glim-skeleton-name" }, null, -1),
4372
- n.value.badge ? (R(), E("span", Uc)) : T("", !0)
4372
+ n.value.badge ? (R(), E("span", Gc)) : T("", !0)
4373
4373
  ], 6));
4374
4374
  }
4375
- }), Gc = ["data-glim-title", "aria-labelledby"], Kc = {
4375
+ }), qc = ["data-glim-title", "aria-labelledby"], Jc = {
4376
4376
  key: 0,
4377
4377
  class: "glim-panel-heading"
4378
- }, qc = ["id"], Jc = {
4378
+ }, Yc = ["id"], Xc = {
4379
4379
  key: 1,
4380
4380
  class: "glim-subcard-end"
4381
- }, Yc = /* @__PURE__ */ j({
4381
+ }, Zc = /* @__PURE__ */ j({
4382
4382
  __name: "SubCard",
4383
4383
  props: {
4384
4384
  title: {},
@@ -4392,23 +4392,23 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4392
4392
  class: P(["glim-subcard", { "glim-subcard--titled": t.title }]),
4393
4393
  "aria-labelledby": t.title ? G(n) : void 0
4394
4394
  }, [
4395
- t.title ? (R(), E("h3", Kc, [A(e, {
4395
+ t.title ? (R(), E("h3", Jc, [A(e, {
4396
4396
  tone: "heading",
4397
4397
  size: "heading",
4398
4398
  wrap: ""
4399
4399
  }, {
4400
- default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, qc), t.hint ? (R(), w(Q, {
4400
+ default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, Yc), t.hint ? (R(), w(Q, {
4401
4401
  key: 0,
4402
4402
  tip: t.hint,
4403
4403
  "on-accent": ""
4404
4404
  }, null, 8, ["tip"])) : T("", !0)]),
4405
4405
  _: 1
4406
4406
  })])) : T("", !0),
4407
- r.$slots.end ? (R(), E("div", Jc, [V(r.$slots, "end")])) : T("", !0),
4407
+ r.$slots.end ? (R(), E("div", Xc, [V(r.$slots, "end")])) : T("", !0),
4408
4408
  V(r.$slots, "default")
4409
- ], 10, Gc));
4409
+ ], 10, qc));
4410
4410
  }
4411
- }), Xc = ["aria-label"], Zc = { key: 0 }, Qc = { key: 0 }, $c = ["colspan"], el = /* @__PURE__ */ j({
4411
+ }), Qc = ["aria-label"], $c = { key: 0 }, el = { key: 0 }, tl = ["colspan"], nl = /* @__PURE__ */ j({
4412
4412
  __name: "Table",
4413
4413
  props: {
4414
4414
  label: {},
@@ -4422,27 +4422,27 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4422
4422
  "data-glim": "Table",
4423
4423
  class: "glim-table",
4424
4424
  "aria-label": e.label
4425
- }, [n.value ? (R(), E("thead", Zc, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
4425
+ }, [n.value ? (R(), E("thead", $c, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
4426
4426
  key: e.key,
4427
4427
  scope: "col",
4428
4428
  class: P({ "glim-table-end": e.end })
4429
4429
  }, W(e.label), 3))), 128))])])) : T("", !0), D("tbody", null, [(R(!0), E(S, null, B(e.rows, (n, i) => (R(), E("tr", { key: i }, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("td", {
4430
4430
  key: e.key,
4431
- class: P(G(Mn)(e))
4431
+ class: P(G(Pn)(e))
4432
4432
  }, [V(t.$slots, "cell", {
4433
4433
  row: n,
4434
4434
  column: e,
4435
4435
  value: r(n, e)
4436
- }, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", Qc, [D("td", {
4436
+ }, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", el, [D("td", {
4437
4437
  colspan: e.columns.length,
4438
4438
  class: "glim-table-muted"
4439
- }, W(e.more), 9, $c)])) : T("", !0)])], 8, Xc));
4439
+ }, W(e.more), 9, tl)])) : T("", !0)])], 8, Qc));
4440
4440
  }
4441
- }), tl = [
4441
+ }), rl = [
4442
4442
  "aria-label",
4443
4443
  "aria-invalid",
4444
4444
  "aria-describedby"
4445
- ], nl = /* @__PURE__ */ j({
4445
+ ], il = /* @__PURE__ */ j({
4446
4446
  inheritAttrs: !1,
4447
4447
  __name: "TextArea",
4448
4448
  props: /*@__PURE__*/ M({
@@ -4456,11 +4456,11 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4456
4456
  }),
4457
4457
  emits: ["update:modelValue"],
4458
4458
  setup(e, { expose: t }) {
4459
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => Nn({
4459
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => Fn({
4460
4460
  width: n.width,
4461
4461
  mono: n.mono,
4462
4462
  area: !0
4463
- })), o = je(), s = K(), c = C(() => lt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4463
+ })), o = je(), s = K(), c = C(() => dt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
4464
4464
  return t({ input: l }), (t, n) => (R(), E(S, null, [Le(D("textarea", N({ "data-glim": "TextArea" }, t.$attrs, {
4465
4465
  ref_key: "input",
4466
4466
  ref: l,
@@ -4469,7 +4469,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4469
4469
  "aria-invalid": c.value.invalid,
4470
4470
  "aria-describedby": c.value.describedBy,
4471
4471
  class: a.value
4472
- }), null, 16, tl), [[Pe, r.value]]), c.value.errorId ? (R(), w(Bi, {
4472
+ }), null, 16, rl), [[Pe, r.value]]), c.value.errorId ? (R(), w(Hi, {
4473
4473
  key: 0,
4474
4474
  id: c.value.errorId
4475
4475
  }, {
@@ -4477,7 +4477,7 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4477
4477
  _: 1
4478
4478
  }, 8, ["id"])) : T("", !0)], 64));
4479
4479
  }
4480
- }), rl = { class: "glim-toast-body" }, il = { class: "glim-toast-message" }, al = { key: 0 }, ol = ["aria-label"], sl = /* @__PURE__ */ j({
4480
+ }), al = { class: "glim-toast-body" }, ol = { class: "glim-toast-message" }, sl = { key: 0 }, cl = ["aria-label"], ll = /* @__PURE__ */ j({
4481
4481
  __name: "ToastCard",
4482
4482
  props: {
4483
4483
  id: {},
@@ -4508,10 +4508,10 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4508
4508
  onKeydown: n[6] ||= Re(X((t) => r("dismiss", e.id), ["stop"]), ["esc"])
4509
4509
  }, [
4510
4510
  A(G(b), {
4511
- mark: G(Ge)[e.severity],
4511
+ mark: G(qe)[e.severity],
4512
4512
  class: P(`glim-toast-glyph glim-toast-glyph--${e.severity}`)
4513
4513
  }, null, 8, ["mark", "class"]),
4514
- D("div", rl, [D("p", il, [(R(!0), E(S, null, B(G(Tn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", al)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
4514
+ D("div", al, [D("p", ol, [(R(!0), E(S, null, B(G(Dn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", sl)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
4515
4515
  key: 0,
4516
4516
  class: "glim-toast-action",
4517
4517
  tone: "subtle",
@@ -4524,19 +4524,19 @@ var ba = { class: "glim-instance-rows" }, xa = ["data-instance"], Sa = {
4524
4524
  "aria-label": e.dismissLabel,
4525
4525
  class: "glim-btn-bare glim-toast-dismiss",
4526
4526
  onClick: n[1] ||= (t) => r("dismiss", e.id)
4527
- }, [A(G(b), { mark: G(Ue).dismiss }, null, 8, ["mark"])], 8, ol)
4527
+ }, [A(G(b), { mark: G(Ge).dismiss }, null, 8, ["mark"])], 8, cl)
4528
4528
  ], 32));
4529
4529
  }
4530
- }), cl = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
4531
- function ll(e, t, n, r) {
4532
- for (let i of Object.values(t)) typeof n[cl(i)] == "function" && r(`${e} ${i}`);
4530
+ }), ul = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
4531
+ function dl(e, t, n, r) {
4532
+ for (let i of Object.values(t)) typeof n[ul(i)] == "function" && r(`${e} ${i}`);
4533
4533
  return (e, ...r) => {
4534
- let i = t[e], a = i === void 0 ? void 0 : n[cl(i)];
4534
+ let i = t[e], a = i === void 0 ? void 0 : n[ul(i)];
4535
4535
  typeof a == "function" && a(...r);
4536
4536
  };
4537
4537
  }
4538
4538
  // src/ToastViewport.vue
4539
- var ul = /* @__PURE__ */ j({
4539
+ var fl = /* @__PURE__ */ j({
4540
4540
  inheritAttrs: !1,
4541
4541
  __name: "ToastViewport",
4542
4542
  props: {
@@ -4555,12 +4555,12 @@ var ul = /* @__PURE__ */ j({
4555
4555
  "blur"
4556
4556
  ],
4557
4557
  setup(e, { emit: t }) {
4558
- let n = e, r = t, i = ll("ToastViewport", {
4558
+ let n = e, r = t, i = dl("ToastViewport", {
4559
4559
  mouseEnter: "enter",
4560
4560
  mouseLeave: "leave",
4561
4561
  focus: "focusin",
4562
4562
  blur: "focusout"
4563
- }, n, Un);
4563
+ }, n, Gn);
4564
4564
  function a(e) {
4565
4565
  r("mouseEnter", e), i("mouseEnter", e);
4566
4566
  }
@@ -4577,18 +4577,18 @@ var ul = /* @__PURE__ */ j({
4577
4577
  return J(() => n.toasts, (e) => {
4578
4578
  let t = new Set(e.map((e) => e.id));
4579
4579
  for (let e of l) t.has(e) || l.delete(e);
4580
- for (let t of e) l.has(t.id) || (l.add(t.id), Je(t.message, Fn(t.severity)));
4580
+ for (let t of e) l.has(t.id) || (l.add(t.id), Xe(t.message, Ln(t.severity)));
4581
4581
  }, {
4582
4582
  immediate: !0,
4583
4583
  deep: 1,
4584
4584
  flush: "post"
4585
4585
  }), (t, n) => (R(), E(S, null, [
4586
- D("div", N({ class: "glim-sr-only" }, G(Ot)("polite")), null, 16),
4587
- D("div", N({ class: "glim-sr-only" }, G(Ot)("assertive")), null, 16),
4586
+ D("div", N({ class: "glim-sr-only" }, G(At)("polite")), null, 16),
4587
+ D("div", N({ class: "glim-sr-only" }, G(At)("assertive")), null, 16),
4588
4588
  D("div", N({
4589
4589
  "data-glim": "ToastViewport",
4590
4590
  class: "glim-toast-stack"
4591
- }, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(sl, {
4591
+ }, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(ll, {
4592
4592
  id: t.id,
4593
4593
  key: t.id,
4594
4594
  message: t.message,
@@ -4609,7 +4609,7 @@ var ul = /* @__PURE__ */ j({
4609
4609
  ]))), 128))], 16)
4610
4610
  ], 64));
4611
4611
  }
4612
- }), dl = ["aria-label"], fl = [
4612
+ }), pl = ["aria-label"], ml = [
4613
4613
  "aria-level",
4614
4614
  "aria-posinset",
4615
4615
  "aria-setsize",
@@ -4620,11 +4620,11 @@ var ul = /* @__PURE__ */ j({
4620
4620
  "onClick",
4621
4621
  "onDblclick",
4622
4622
  "onKeydown"
4623
- ], pl = ["onClick"], ml = {
4623
+ ], hl = ["onClick"], gl = {
4624
4624
  key: 0,
4625
4625
  class: "glim-tree-glyph",
4626
4626
  "aria-hidden": "true"
4627
- }, hl = { class: "glim-tree-label" }, gl = /* @__PURE__ */ j({
4627
+ }, _l = { class: "glim-tree-label" }, vl = /* @__PURE__ */ j({
4628
4628
  __name: "Tree",
4629
4629
  props: /*@__PURE__*/ M({
4630
4630
  label: {},
@@ -4642,7 +4642,7 @@ var ul = /* @__PURE__ */ j({
4642
4642
  s.has(e) || (s.add(e), Promise.resolve(n.load(e)).then((t) => o.set(e, t), () => s.delete(e)));
4643
4643
  }
4644
4644
  J(i, (e) => [null, ...e].forEach(l), { immediate: !0 });
4645
- let u = C(() => Rn(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
4645
+ let u = C(() => Bn(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
4646
4646
  function f(e) {
4647
4647
  i.value = i.value.includes(e) ? i.value.filter((t) => t !== e) : [...i.value, e];
4648
4648
  }
@@ -4653,8 +4653,8 @@ var ul = /* @__PURE__ */ j({
4653
4653
  e.preventDefault(), r.value = n, e.key === "Enter" && a("activate", n);
4654
4654
  return;
4655
4655
  }
4656
- let i = zn(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
4657
- i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, _t(c.value, i.focus)) : f("open" in i ? i.open : i.close));
4656
+ let i = Vn(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
4657
+ i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, yt(c.value, i.focus)) : f("open" in i ? i.open : i.close));
4658
4658
  }
4659
4659
  return (t, n) => (R(), E("div", {
4660
4660
  ref_key: "tree",
@@ -4684,15 +4684,15 @@ var ul = /* @__PURE__ */ j({
4684
4684
  "aria-hidden": "true",
4685
4685
  onClick: X((t) => e.node.hasChildren && f(e.node.id), ["stop"]),
4686
4686
  onDblclick: n[0] ||= X(() => {}, ["stop"])
4687
- }, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, pl),
4688
- e.node.glyph ? (R(), E("span", ml, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
4689
- D("span", hl, W(e.node.label), 1)
4690
- ], 16, fl))), 128))], 8, dl));
4687
+ }, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, hl),
4688
+ e.node.glyph ? (R(), E("span", gl, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
4689
+ D("span", _l, W(e.node.label), 1)
4690
+ ], 16, ml))), 128))], 8, pl));
4691
4691
  }
4692
- }), _l = ["data-glim-title"], vl = { class: "glim-notice-title" }, yl = { class: "glim-notice-reason" }, bl = {
4692
+ }), yl = ["data-glim-title"], bl = { class: "glim-notice-title" }, xl = { class: "glim-notice-reason" }, Sl = {
4693
4693
  key: 0,
4694
4694
  class: "glim-notice-action"
4695
- }, xl = /* @__PURE__ */ j({
4695
+ }, Cl = /* @__PURE__ */ j({
4696
4696
  __name: "UnavailableNotice",
4697
4697
  props: { title: {} },
4698
4698
  setup(e) {
@@ -4701,12 +4701,12 @@ var ul = /* @__PURE__ */ j({
4701
4701
  "data-glim-title": e.title,
4702
4702
  class: "glim-notice"
4703
4703
  }, [
4704
- D("p", vl, W(e.title), 1),
4705
- D("p", yl, [V(t.$slots, "default")]),
4706
- t.$slots.action ? (R(), E("div", bl, [V(t.$slots, "action")])) : T("", !0)
4707
- ], 8, _l));
4704
+ D("p", bl, W(e.title), 1),
4705
+ D("p", xl, [V(t.$slots, "default")]),
4706
+ t.$slots.action ? (R(), E("div", Sl, [V(t.$slots, "action")])) : T("", !0)
4707
+ ], 8, yl));
4708
4708
  }
4709
- }), Sl = ["aria-label"], Cl = { class: "glim-window-square" }, wl = { class: "glim-window-square" }, Tl = { class: "glim-window-square" }, El = /* @__PURE__ */ j({
4709
+ }), wl = ["aria-label"], Tl = { class: "glim-window-square" }, El = { class: "glim-window-square" }, Dl = { class: "glim-window-square" }, Ol = /* @__PURE__ */ j({
4710
4710
  __name: "WindowBar",
4711
4711
  props: {
4712
4712
  appName: {},
@@ -4747,7 +4747,7 @@ var ul = /* @__PURE__ */ j({
4747
4747
  class: "glim-window-button",
4748
4748
  onClick: r[0] ||= (e) => n("minimise")
4749
4749
  }, {
4750
- default: Y(() => [D("span", Cl, [A(G(me))])]),
4750
+ default: Y(() => [D("span", Tl, [A(G(me))])]),
4751
4751
  _: 1
4752
4752
  }, 8, ["tip"]),
4753
4753
  A(he, {
@@ -4755,7 +4755,7 @@ var ul = /* @__PURE__ */ j({
4755
4755
  class: "glim-window-button",
4756
4756
  onClick: r[1] ||= (e) => n("toggleMaximise")
4757
4757
  }, {
4758
- default: Y(() => [D("span", wl, [e.maximised ? (R(), w(G(ee), { key: 0 })) : (R(), w(G(pe), { key: 1 }))])]),
4758
+ default: Y(() => [D("span", El, [e.maximised ? (R(), w(G(ee), { key: 0 })) : (R(), w(G(pe), { key: 1 }))])]),
4759
4759
  _: 1
4760
4760
  }, 8, ["tip"]),
4761
4761
  A(he, {
@@ -4763,17 +4763,17 @@ var ul = /* @__PURE__ */ j({
4763
4763
  class: "glim-window-button",
4764
4764
  onClick: r[2] ||= (e) => n("close")
4765
4765
  }, {
4766
- default: Y(() => [D("span", Tl, [A(G(g))])]),
4766
+ default: Y(() => [D("span", Dl, [A(G(g))])]),
4767
4767
  _: 1
4768
4768
  }, 8, ["tip"])
4769
- ], 40, Sl));
4769
+ ], 40, wl));
4770
4770
  }
4771
4771
  });
4772
4772
  // src/confirm.ts
4773
- function Dl(e) {
4773
+ function kl(e) {
4774
4774
  let t = U(null), n = U(null), r = null, i = null;
4775
4775
  function a(e, n) {
4776
- return i = vt(), new Promise((i) => {
4776
+ return i = bt(), new Promise((i) => {
4777
4777
  r = i, t.value = {
4778
4778
  message: e,
4779
4779
  ...n
@@ -4781,15 +4781,15 @@ function Dl(e) {
4781
4781
  });
4782
4782
  }
4783
4783
  function o(e) {
4784
- r?.(e), r = null, t.value = null, cn(i), i = null;
4784
+ r?.(e), r = null, t.value = null, un(i), i = null;
4785
4785
  }
4786
4786
  let s = () => o(!1);
4787
- return Ol(() => t.value !== null, n, s), {
4787
+ return Al(() => t.value !== null, n, s), {
4788
4788
  confirm: a,
4789
4789
  dismiss: s,
4790
4790
  ConfirmHost: j(() => () => {
4791
4791
  let r = t.value;
4792
- return r ? Se(xe, { to: Zt() }, [Se(Xr, {
4792
+ return r ? Se(xe, { to: $t() }, [Se(Qr, {
4793
4793
  ref: (e) => n.value = e?.card ?? null,
4794
4794
  title: e.title,
4795
4795
  message: r.message,
@@ -4803,13 +4803,13 @@ function Dl(e) {
4803
4803
  })
4804
4804
  };
4805
4805
  }
4806
- function Ol(e, t, n) {
4806
+ function Al(e, t, n) {
4807
4807
  J(e, (e, r, i) => {
4808
- e && i(Ln(() => t.value, n));
4808
+ e && i(zn(() => t.value, n));
4809
4809
  }, { immediate: !0 });
4810
4810
  }
4811
4811
  // src/paypalButtons.ts
4812
- function kl(e) {
4812
+ function jl(e) {
4813
4813
  let t = U(null), n = () => {};
4814
4814
  return J([
4815
4815
  t,
@@ -4821,7 +4821,7 @@ function kl(e) {
4821
4821
  let o = null, s = !1;
4822
4822
  n = () => {
4823
4823
  s = !0, o?.close().catch(() => {});
4824
- }, kt(r, i !== "once").then((n) => {
4824
+ }, jt(r, i !== "once").then((n) => {
4825
4825
  if (s) return;
4826
4826
  let c = n.Buttons({
4827
4827
  style: {
@@ -4833,7 +4833,7 @@ function kl(e) {
4833
4833
  height: 40
4834
4834
  },
4835
4835
  onClick: (t, n) => e().amount ? n.resolve() : n.reject(),
4836
- ...st(r, i, () => e().amount ?? "0", a, () => e().onDone()),
4836
+ ...lt(r, i, () => e().amount ?? "0", a, () => e().onDone()),
4837
4837
  onError: () => e().onError()
4838
4838
  });
4839
4839
  o = c, t.replaceChildren(), c.render(t).catch(() => e().onError());
@@ -4843,8 +4843,8 @@ function kl(e) {
4843
4843
  }), Te(() => n()), (e) => t.value = e;
4844
4844
  }
4845
4845
  // src/dragArmed.ts
4846
- function Al(e, t) {
4846
+ function Ml(e, t) {
4847
4847
  let n = () => e.value?.classList.toggle("glim-drag-armed", t());
4848
4848
  Ie(n, { flush: "post" }), De(n);
4849
4849
  }
4850
- export { xr as AboutCard, e as Badge, Cr as BrandMark, c as BusyRing, f as Button, Xn as Card, Dr as Checkbox, Lr as CoffeeDialog, Hr as ColorPicker, Xr as ConfirmDialog, di as ContextMenu, mi as CopyField, Ai as CryptoDonateDialog, Ni as DropdownListbox, Ri as EmptyState, Bi as FieldError, Wi as FieldRow, Gi as FieldRowGroup, Go as Fortress, Da as FortressAppCard, ea as FortressDoubtWindow, Ko as FortressPairing, Ya as FortressPermissions, vs as FortressStatusWindow, He as GLIMSTONE_VERSION, xs as GlyphField, Ss as GlyphTile, de as IconBack, be as IconButton, oe as IconCalendar, le as IconCancel, y as IconCheck, g as IconClose, se as IconCopy, ue as IconExpand, _ as IconEye, ie as IconEyeOff, fe as IconFolderOpen, te as IconForward, v as IconPause, ce as IconPencil, ae as IconPlay, re as IconResetArrow, ne as IconStar, he as IconTipButton, h as IconUpload, pe as IconWindowMaximise, me as IconWindowMinimise, ee as IconWindowRestore, or as InfoAboutCard, Q as InfoBubble, lr as InfoHelpCard, br as InfoTile, vr as InfoVersionCard, ga as InstanceCard, Qr as Kbd, Ds as ListRow, Hs as ListTable, b as MarkSvg, Gs as MenuBar, qs as Meter, Xs as NumberField, Za as PasswordField, Qs as PathField, hc as PaypalDialog, Vi as Pill, ks as Popover, va as PresenceBadges, Jo as ProgressBar, $ as ReadmeButton, gc as RowMark, Pa as Selector, Ec as Sheet, xc as SidebarRow, Vc as SignInCard, kc as SignInField, Wc as SkeletonRow, Yc as SubCard, el as Table, nl as TextArea, jc as TextField, sl as ToastCard, ul as ToastViewport, Ra as Toggle, gl as Tree, xl as UnavailableNotice, Qi as Window, El as WindowBar, ya as deviceGlyph, m as glyphFor, gn as selectorTabId, p as setGlyphResolver, u as useAccent, Dl as useConfirm, o as useDensity, Ol as useDialogKeys, Al as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, kl as usePaypalButtons, ve as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };
4850
+ export { Cr as AboutCard, e as Badge, Tr as BrandMark, c as BusyRing, f as Button, Qn as Card, kr as Checkbox, zr as CoffeeDialog, Wr as ColorPicker, Qr as ConfirmDialog, pi as ContextMenu, gi as CopyField, Mi as CryptoDonateDialog, Fi as DropdownListbox, Bi as EmptyState, Hi as FieldError, Ki as FieldRow, qi as FieldRowGroup, qo as Fortress, ka as FortressAppCard, na as FortressDoubtWindow, Jo as FortressPairing, Za as FortressPermissions, bs as FortressStatusWindow, He as GLIMSTONE_RELEASE_URL, Ue as GLIMSTONE_REPO, We as GLIMSTONE_VERSION, Cs as GlyphField, ws as GlyphTile, de as IconBack, be as IconButton, oe as IconCalendar, le as IconCancel, y as IconCheck, g as IconClose, se as IconCopy, ue as IconExpand, _ as IconEye, ie as IconEyeOff, fe as IconFolderOpen, te as IconForward, v as IconPause, ce as IconPencil, ae as IconPlay, re as IconResetArrow, ne as IconStar, he as IconTipButton, h as IconUpload, pe as IconWindowMaximise, me as IconWindowMinimise, ee as IconWindowRestore, cr as InfoAboutCard, Q as InfoBubble, dr as InfoHelpCard, Sr as InfoTile, br as InfoVersionCard, va as InstanceCard, ei as Kbd, ks as ListRow, Ws as ListTable, b as MarkSvg, qs as MenuBar, Ys as Meter, Qs as NumberField, $a as PasswordField, ec as PathField, _c as PaypalDialog, Ui as Pill, js as Popover, ba as PresenceBadges, Xo as ProgressBar, $ as ReadmeButton, vc as RowMark, Ia as Selector, Oc as Sheet, Cc as SidebarRow, Uc as SignInCard, jc as SignInField, Kc as SkeletonRow, Zc as SubCard, nl as Table, il as TextArea, Nc as TextField, ll as ToastCard, fl as ToastViewport, Ba as Toggle, vl as Tree, Cl as UnavailableNotice, ea as Window, Ol as WindowBar, xa as deviceGlyph, m as glyphFor, vn as selectorTabId, p as setGlyphResolver, u as useAccent, kl as useConfirm, o as useDensity, Al as useDialogKeys, Ml as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, jl as usePaypalButtons, ve as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };