@glimstone/vue 4.5.3 → 4.5.5

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_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, offersDiscord as Ht, offersMail as Ut, openInBrowser as Wt, openInstance as Gt, openPopover as Kt, openSheet as qt, othersLine as Jt, permissionsWith as Yt, phraseReady as Xt, pillClassName as Zt, placeMenu as Qt, placeSubmenu as $t, portalTarget as en, presenceTone as tn, pressRowControl as nn, progressView as rn, qrCode as an, readmePartClass as on, readmePartLabel as sn, readmeSoon as cn, readmeUnitClass as ln, resetBlocked as un, returnFocus as dn, roveSelector as fn, rovedIndex as pn, runUpdateCheck as mn, segmentView as hn, selectByClick as gn, selectorAxis as _n, selectorFlex as vn, selectorTabId as yn, selectorTabId as bn, selectorView as xn, shake as Sn, showRefusal as Cn, sidebarRowView as wn, signInBlocked as Tn, signInStage as En, skeletonRowView as Dn, softBreaks as On, stackWindow as kn, statusView as An, storeShowOthers as jn, storedShowOthers as Mn, subscribeMedia as Nn, syncNumberSteppers as Pn, tableCellClass as Fn, textFieldClass as In, tidyMenu as Ln, toastPoliteness as Rn, toggleSelection as zn, trapDialogKeys as Bn, treeRows as Vn, treeStep as Hn, updateFace as Un, updateStage as Wn, versionLink as Gn, warnDeprecated as Kn, watchSelectorFit as qn, windowFocusTarget as Jn, windowFoot as Yn } 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, holdPickHeight as xt, hueVars as St, isMenuHead as Ct, isTileMark as wt, isTypeahead as Tt, joinRefusalText as Et, keepReadmeFit as Dt, labelInside as Ot, listKey as kt, listOf as At, listView as jt, liveRegionAttrs as Mt, loadPaypal as Nt, mailHref as Pt, mediaMatches as Ft, memberName as It, menuIsOpen as Lt, menuMove as Rt, menuRowView as zt, meterView as Bt, nearestColorName as Vt, nextSort as Ht, normalizeHex as Ut, offersDiscord as Wt, offersMail as Gt, openInBrowser as Kt, openInstance as qt, openPopover as Jt, openSheet as Yt, othersLine as Xt, pageLocale as Zt, permissionsWith as Qt, phraseReady as $t, pickSearchKey as en, pickSections as tn, pickTileKey as nn, pickTileStyle as rn, pillClassName as an, placeMenu as on, placeSubmenu as sn, portalTarget as cn, presenceTone as ln, pressRowControl as un, progressView as dn, qrCode as fn, readmePartClass as pn, readmePartLabel as mn, readmeSoon as hn, readmeUnitClass as gn, resetBlocked as _n, returnFocus as vn, roveSelector as yn, rovedIndex as bn, runUpdateCheck as xn, segmentView as Sn, selectByClick as Cn, selectorAxis as wn, selectorFlex as Tn, selectorTabId as En, selectorTabId as Dn, selectorView as On, shake as kn, showRefusal as An, sidebarRowView as jn, signInBlocked as Mn, signInStage as Nn, skeletonRowView as Pn, softBreaks as Fn, stackWindow as In, statusView as Ln, storeShowOthers as Rn, storedShowOthers as zn, subscribeMedia as Bn, syncNumberSteppers as Vn, tableCellClass as Hn, textFieldClass as Un, tidyMenu as Wn, toastPoliteness as Gn, toggleSelection as Kn, trapDialogKeys as qn, treeRows as Jn, treeStep as Yn, updateFace as Xn, updateStage as Zn, versionLink as Qn, warnDeprecated as $n, watchSelectorFit as er, windowFocusTarget as tr, windowFoot as nr } from "@glimstone/core";
12
12
  // src/InfoBubble.vue?vue&type=script&setup=true&lang.ts
13
- var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
13
+ var rr = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
14
14
  __name: "InfoBubble",
15
15
  props: {
16
16
  tip: {},
@@ -60,12 +60,12 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
60
60
  "stroke-width": "1.3",
61
61
  "stroke-linecap": "round"
62
62
  })
63
- ], -1)]], 42, Xn), A(t, { state: G(i) }, null, 8, ["state"])], 64));
63
+ ], -1)]], 42, rr), A(t, { state: G(i) }, null, 8, ["state"])], 64));
64
64
  }
65
- }), Zn = ["data-glim-title"], Qn = {
65
+ }), ir = ["data-glim-title"], ar = {
66
66
  key: 0,
67
67
  class: "glim-panel-heading"
68
- }, $n = /* @__PURE__ */ j({
68
+ }, or = /* @__PURE__ */ j({
69
69
  __name: "Card",
70
70
  props: {
71
71
  title: {},
@@ -74,7 +74,7 @@ var Xn = ["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 : xt(n.hueIndex));
77
+ let n = t, r = C(() => n.hueIndex === void 0 ? void 0 : St(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 Xn = ["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", Qn, [A(e, {
90
+ }, [t.title || t.hint || n.$slots.title ? (R(), E("h2", ar, [A(e, {
91
91
  tone: "heading",
92
92
  size: "heading",
93
93
  wrap: "",
@@ -99,20 +99,20 @@ var Xn = ["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, Zn));
102
+ }, 8, ["hue-index"])])) : T("", !0), V(n.$slots, "default")], 14, ir));
103
103
  }
104
- }), er = {
104
+ }), sr = {
105
105
  key: 0,
106
106
  class: "glim-readme-btn-art",
107
107
  "aria-hidden": "true"
108
- }, tr = { class: "glim-readme-btn-text" }, nr = { class: "glim-readme-btn-name" }, rr = {
108
+ }, cr = { class: "glim-readme-btn-text" }, lr = { class: "glim-readme-btn-name" }, ur = {
109
109
  key: 0,
110
110
  class: "glim-readme-btn-sub"
111
- }, ir = {
111
+ }, dr = {
112
112
  key: 0,
113
113
  class: "glim-readme-btn-sheen",
114
114
  "aria-hidden": "true"
115
- }, ar = {
115
+ }, fr = {
116
116
  key: 1,
117
117
  class: "glim-readme-btn-hint"
118
118
  }, $ = /* @__PURE__ */ j({
@@ -130,11 +130,11 @@ var Xn = ["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(() => cn(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(() => hn(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 ? Tt(a.value) : void 0;
135
+ s?.(), s = a.value ? Dt(a.value) : void 0;
136
136
  }, { flush: "post" }), Te(() => s?.());
137
- let c = (e) => i.value ? n.soonLabel : e.sub, l = (e) => sn(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) => mn(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 Xn = ["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(ln)(e.brand, e.parts.length, e.note, i.value))
150
+ class: P(G(gn)(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(on)(r, i.value)
154
+ class: G(pn)(r, i.value)
155
155
  }), {
156
- default: Y(() => [r === 0 && t.$slots.art ? (R(), E("span", er, [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", sr, [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", tr, [D("span", nr, W(n.name), 1), c(n) ? (R(), E("span", rr, W(c(n)), 1)) : T("", !0)])], 64))]),
160
+ }, [V(t.$slots, "mark")], 2)) : T("", !0), D("span", cr, [D("span", lr, W(n.name), 1), c(n) ? (R(), E("span", ur, 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", ir)),
164
- e.hint ? (R(), E("span", ar, [A(Q, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0)
163
+ i.value ? T("", !0) : (R(), E("span", dr)),
164
+ e.hint ? (R(), E("span", fr, [A(Q, { tip: e.hint }, null, 8, ["tip"])])) : T("", !0)
165
165
  ], 2));
166
166
  }
167
- }), or = { class: "glim-info-text" }, sr = { class: "glim-info-text" }, cr = { class: "glim-readme-btn-rows glim-about-give" }, lr = /* @__PURE__ */ j({
167
+ }), pr = { class: "glim-info-text" }, mr = { class: "glim-info-text" }, hr = { class: "glim-readme-btn-rows glim-about-give" }, gr = /* @__PURE__ */ j({
168
168
  __name: "InfoAboutCard",
169
169
  props: {
170
170
  text: {},
@@ -177,15 +177,15 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
177
177
  hueIndex: {}
178
178
  },
179
179
  setup(e) {
180
- return (t, n) => (R(), w($n, {
180
+ return (t, n) => (R(), w(or, {
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", or, W(e.text.body), 1),
187
- D("p", sr, W(e.text.coffee), 1),
188
- D("div", cr, [
186
+ D("p", pr, W(e.text.body), 1),
187
+ D("p", mr, W(e.text.coffee), 1),
188
+ D("div", hr, [
189
189
  A($, {
190
190
  brand: "coffee",
191
191
  parts: [{
@@ -227,7 +227,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
227
227
  _: 1
228
228
  }, 8, ["title", "hue-index"]));
229
229
  }
230
- }), ur = { class: "glim-info-text" }, dr = { class: "glim-readme-btn-rows" }, fr = /* @__PURE__ */ j({
230
+ }), _r = { class: "glim-info-text" }, vr = { class: "glim-readme-btn-rows" }, yr = /* @__PURE__ */ j({
231
231
  __name: "InfoHelpCard",
232
232
  props: {
233
233
  text: {},
@@ -243,19 +243,19 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
243
243
  bugGlyph: {},
244
244
  openUrl: {
245
245
  type: Function,
246
- default: Wt
246
+ default: Kt
247
247
  },
248
248
  hueIndex: {}
249
249
  },
250
250
  setup(e) {
251
- let t = e, n = C(() => Ut(t.text.report, t.mailAddress)), r = C(() => Ht(t.text.report, t.discordUrl) && !!t.text.discordButton);
252
- return (t, i) => (R(), w($n, {
251
+ let t = e, n = C(() => Gt(t.text.report, t.mailAddress)), r = C(() => Wt(t.text.report, t.discordUrl) && !!t.text.discordButton);
252
+ return (t, i) => (R(), w(or, {
253
253
  "data-glim": "InfoHelpCard",
254
254
  title: e.text.title,
255
255
  hint: e.text.hint,
256
256
  "hue-index": e.hueIndex
257
257
  }, {
258
- default: Y(() => [D("p", ur, W(e.text.report), 1), D("div", dr, [
258
+ default: Y(() => [D("p", _r, W(e.text.report), 1), D("div", vr, [
259
259
  A($, {
260
260
  brand: "github",
261
261
  parts: [{
@@ -286,7 +286,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
286
286
  brand: "house",
287
287
  parts: [{
288
288
  name: e.text.mailButton,
289
- onClick: () => e.openUrl(G(Mt)(e.mailAddress, e.text.mailSubject))
289
+ onClick: () => e.openUrl(G(Pt)(e.mailAddress, e.text.mailSubject))
290
290
  }],
291
291
  "mark-class": "glim-house-mark"
292
292
  }, O({ _: 2 }, [e.mailGlyph ? {
@@ -329,19 +329,19 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
329
329
  "hue-index"
330
330
  ]));
331
331
  }
332
- }), pr = { class: "glim-version-rows" }, mr = { class: "glim-version-name" }, hr = { class: "glim-version-part" }, gr = {
332
+ }), br = { class: "glim-version-rows" }, xr = { class: "glim-version-name" }, Sr = { class: "glim-version-part" }, Cr = {
333
333
  key: 0,
334
334
  class: "glim-version-sub"
335
- }, _r = ["href", "onClick"], vr = {
335
+ }, wr = ["href", "onClick"], Tr = {
336
336
  key: 1,
337
337
  class: "glim-num glim-version-number"
338
- }, yr = {
338
+ }, Er = {
339
339
  key: 0,
340
340
  class: "glim-version-actions"
341
- }, br = {
341
+ }, Dr = {
342
342
  role: "status",
343
343
  class: "glim-sr-only"
344
- }, xr = /* @__PURE__ */ j({
344
+ }, Or = /* @__PURE__ */ j({
345
345
  __name: "InfoVersionCard",
346
346
  props: {
347
347
  text: {},
@@ -350,37 +350,37 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
350
350
  onReleaseNotes: {},
351
351
  openUrl: {
352
352
  type: Function,
353
- default: Wt
353
+ default: Kt
354
354
  },
355
355
  hueIndex: {}
356
356
  },
357
357
  setup(e) {
358
- 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 && Un(i.value, t.updateCheck.text));
358
+ 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 && Xn(i.value, t.updateCheck.text));
359
359
  function s() {
360
- mn(t.updateCheck, i.value, (e) => {
360
+ xn(t.updateCheck, i.value, (e) => {
361
361
  i.value = e, e.kind === "failed" && a.value++;
362
362
  });
363
363
  }
364
364
  function c(e, n) {
365
365
  e.preventDefault(), t.openUrl(n);
366
366
  }
367
- return (t, n) => (R(), w($n, {
367
+ return (t, n) => (R(), w(or, {
368
368
  "data-glim": "InfoVersionCard",
369
369
  title: e.text.title,
370
370
  hint: e.text.hint,
371
371
  "hue-index": e.hueIndex
372
372
  }, {
373
- default: Y(() => [D("ul", pr, [(R(!0), E(S, null, B(e.rows, (t) => (R(), E("li", {
373
+ default: Y(() => [D("ul", br, [(R(!0), E(S, null, B(e.rows, (t) => (R(), E("li", {
374
374
  key: t.name,
375
375
  class: "glim-version-row"
376
- }, [D("span", mr, [D("span", hr, W(t.name), 1), t.sub ? (R(), E("span", gr, W(t.sub), 1)) : T("", !0)]), G(Gn)(t).href ? (R(), E("a", {
376
+ }, [D("span", xr, [D("span", Sr, W(t.name), 1), t.sub ? (R(), E("span", Cr, W(t.sub), 1)) : T("", !0)]), G(Qn)(t).href ? (R(), E("a", {
377
377
  key: 0,
378
- href: G(Gn)(t).href,
378
+ href: G(Qn)(t).href,
379
379
  target: "_blank",
380
380
  rel: "noopener noreferrer",
381
381
  class: "glim-num glim-version-number",
382
- onClick: (e) => c(e, G(Gn)(t).href)
383
- }, W(G(Gn)(t).shown), 9, _r)) : (R(), E("span", vr, W(G(Gn)(t).released ? G(Gn)(t).shown : e.text.unreleased(G(Gn)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (R(), E("div", yr, [
382
+ onClick: (e) => c(e, G(Qn)(t).href)
383
+ }, W(G(Qn)(t).shown), 9, wr)) : (R(), E("span", Tr, W(G(Qn)(t).released ? G(Qn)(t).shown : e.text.unreleased(G(Qn)(t).shown)), 1))]))), 128))]), r.value || t.$slots["whats-new"] || e.updateCheck ? (R(), E("div", Er, [
384
384
  r.value ? (R(), w(f, {
385
385
  key: 0,
386
386
  label: e.text.releaseNotes,
@@ -393,7 +393,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
393
393
  label: o.value.label,
394
394
  "label-key": o.value.labelKey,
395
395
  tone: o.value.tone,
396
- stage: G(Wn)(e.updateCheck.text, o.value.label),
396
+ stage: G(Zn)(e.updateCheck.text, o.value.label),
397
397
  busy: i.value.kind === "busy",
398
398
  class: P(a.value > 0 ? "glim-shake" : ""),
399
399
  onClick: s
@@ -404,7 +404,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
404
404
  "stage",
405
405
  "busy",
406
406
  "class"
407
- ])), D("span", br, W(o.value.announced), 1)], 64)) : T("", !0)
407
+ ])), D("span", Dr, W(o.value.announced), 1)], 64)) : T("", !0)
408
408
  ])) : T("", !0)]),
409
409
  _: 3
410
410
  }, 8, [
@@ -413,10 +413,10 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
413
413
  "hue-index"
414
414
  ]));
415
415
  }
416
- }), Sr = {
416
+ }), kr = {
417
417
  "data-glim": "InfoTile",
418
418
  style: { display: "contents" }
419
- }, Cr = /* @__PURE__ */ j({
419
+ }, Ar = /* @__PURE__ */ j({
420
420
  __name: "InfoTile",
421
421
  props: {
422
422
  version: {},
@@ -426,17 +426,17 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
426
426
  },
427
427
  setup(e) {
428
428
  let t = e, n = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
429
- return (t, r) => (R(), E("div", Sr, [
430
- A(xr, N(e.version, { "hue-index": n(0) }), O({ _: 2 }, [t.$slots["whats-new"] ? {
429
+ return (t, r) => (R(), E("div", kr, [
430
+ A(Or, N(e.version, { "hue-index": n(0) }), O({ _: 2 }, [t.$slots["whats-new"] ? {
431
431
  name: "whats-new",
432
432
  fn: Y(() => [V(t.$slots, "whats-new")]),
433
433
  key: "0"
434
434
  } : void 0]), 1040, ["hue-index"]),
435
- A(fr, N(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
436
- A(lr, N(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
435
+ A(yr, N(e.help, { "hue-index": n(1) }), null, 16, ["hue-index"]),
436
+ A(gr, N(e.about, { "hue-index": n(2) }), null, 16, ["hue-index"])
437
437
  ]));
438
438
  }
439
- }), wr = /* @__PURE__ */ j({
439
+ }), jr = /* @__PURE__ */ j({
440
440
  __name: "AboutCard",
441
441
  props: {
442
442
  text: {},
@@ -457,13 +457,13 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
457
457
  mailGlyph: {},
458
458
  openUrl: {
459
459
  type: Function,
460
- default: Wt
460
+ default: Kt
461
461
  },
462
462
  hueIndex: {}
463
463
  },
464
464
  setup(e) {
465
465
  let t = e;
466
- Kn("AboutCard");
466
+ $n("AboutCard");
467
467
  let n = C(() => [...t.version ? [{
468
468
  name: t.text.version,
469
469
  version: t.version,
@@ -473,7 +473,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
473
473
  version: t.glimstoneVersion,
474
474
  repoUrl: t.glimstoneRepoUrl
475
475
  }]);
476
- return (t, r) => (R(), w(Cr, {
476
+ return (t, r) => (R(), w(Ar, {
477
477
  "data-glim": "AboutCard",
478
478
  "hue-index": e.hueIndex,
479
479
  about: {
@@ -517,7 +517,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
517
517
  "help"
518
518
  ]));
519
519
  }
520
- }), Tr = ["innerHTML"], Er = /* @__PURE__ */ j({
520
+ }), Mr = ["innerHTML"], Nr = /* @__PURE__ */ j({
521
521
  __name: "BrandMark",
522
522
  props: { svg: {} },
523
523
  setup(e) {
@@ -526,16 +526,16 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
526
526
  class: "glim-brand-svg",
527
527
  "aria-hidden": "true",
528
528
  innerHTML: e.svg
529
- }, null, 8, Tr));
529
+ }, null, 8, Mr));
530
530
  }
531
- }), Dr = [
531
+ }), Pr = [
532
532
  "aria-checked",
533
533
  "aria-label",
534
534
  "disabled"
535
- ], Or = {
535
+ ], Fr = {
536
536
  class: "glim-checkbox-box",
537
537
  "aria-hidden": "true"
538
- }, kr = { key: 0 }, Ar = /* @__PURE__ */ j({
538
+ }, Ir = { key: 0 }, Lr = /* @__PURE__ */ j({
539
539
  __name: "Checkbox",
540
540
  props: /*@__PURE__*/ M({
541
541
  label: {},
@@ -571,12 +571,12 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
571
571
  class: P(["glim-checkbox", { "glim-checkbox--slim": e.slim }]),
572
572
  onClick: i[0] ||= (e) => r.value = !r.value,
573
573
  onKeydown: i[1] ||= Re(X(() => {}, ["prevent"]), ["enter"])
574
- }, [D("span", Or, [A(G(y))]), n.value ? T("", !0) : (R(), E("span", kr, W(e.label), 1))], 42, Dr));
574
+ }, [D("span", Fr, [A(G(y))]), n.value ? T("", !0) : (R(), E("span", Ir, W(e.label), 1))], 42, Pr));
575
575
  }
576
- }), jr = ["data-glim-title"], Mr = { class: "glim-modal-head" }, Nr = {
576
+ }), Rr = ["data-glim-title"], zr = { class: "glim-modal-head" }, Br = {
577
577
  id: "coffee-title",
578
578
  class: "glim-modal-title"
579
- }, Pr = { class: "glim-give-body" }, Fr = { class: "glim-give-appeal" }, Ir = { class: "glim-give-intro" }, Lr = { class: "glim-give-frame" }, Rr = ["src", "title"], zr = { class: "glim-give-foot" }, Br = /* @__PURE__ */ j({
579
+ }, Vr = { class: "glim-give-body" }, Hr = { class: "glim-give-appeal" }, Ur = { class: "glim-give-intro" }, Wr = { class: "glim-give-frame" }, Gr = ["src", "title"], Kr = { class: "glim-give-foot" }, qr = /* @__PURE__ */ j({
580
580
  __name: "CoffeeDialog",
581
581
  props: {
582
582
  widgetUrl: {},
@@ -599,7 +599,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
599
599
  "aria-labelledby": "coffee-title",
600
600
  class: "glim-modal-card glim-modal-card--wide glim-modal-card--tall"
601
601
  }, [
602
- D("div", Mr, [D("h2", Nr, [A(e, {
602
+ D("div", zr, [D("h2", Br, [A(e, {
603
603
  tone: "heading",
604
604
  size: "heading",
605
605
  wrap: ""
@@ -607,28 +607,28 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
607
607
  default: Y(() => [k(W(t.text.title), 1)]),
608
608
  _: 1
609
609
  })])]),
610
- D("div", Pr, [
611
- D("p", Fr, W(t.text.appeal), 1),
612
- D("p", Ir, W(t.text.intro), 1),
613
- D("div", Lr, [D("iframe", {
610
+ D("div", Vr, [
611
+ D("p", Hr, W(t.text.appeal), 1),
612
+ D("p", Ur, W(t.text.intro), 1),
613
+ D("div", Wr, [D("iframe", {
614
614
  src: t.widgetUrl,
615
615
  title: t.text.title,
616
616
  allow: "payment",
617
617
  class: "glim-give-iframe"
618
- }, null, 8, Rr)])
618
+ }, null, 8, Gr)])
619
619
  ]),
620
- D("div", zr, [A(f, {
620
+ D("div", Kr, [A(f, {
621
621
  label: t.text.closeLabel,
622
622
  "label-key": "common.close",
623
623
  tone: "neutral",
624
624
  onClick: r[0] ||= (e) => i("close")
625
625
  }, null, 8, ["label"])])
626
- ], 8, jr)]));
626
+ ], 8, Rr)]));
627
627
  }
628
- }), Vr = { class: "glim-picker-foot" }, Hr = {
628
+ }), Jr = { class: "glim-picker-foot" }, Yr = {
629
629
  key: 0,
630
630
  class: "glim-picker-name"
631
- }, Ur = ["value", "aria-label"], Wr = { class: "glim-picker-actions" }, Gr = /* @__PURE__ */ j({
631
+ }, Xr = ["value", "aria-label"], Zr = { class: "glim-picker-actions" }, Qr = /* @__PURE__ */ j({
632
632
  __name: "ColorPicker",
633
633
  props: /*@__PURE__*/ M({
634
634
  anchor: { default: null },
@@ -650,18 +650,18 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
650
650
  let n = e, r = q(e, "modelValue"), i = t, a = {
651
651
  ...Be,
652
652
  ...n.text
653
- }, 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) => {
653
+ }, o = U(null), s = U(null), c = z(Ut(r.value) ?? "#000000"), l = z(c.value), u = C(() => n.names === !1 ? null : Vt(c.value, n.names)), d = nt(c.value, (e) => {
654
654
  c.value = e, l.value = e, i("input", e);
655
655
  }, { text: a }), p;
656
656
  L(() => {
657
657
  s.value.appendChild(d.el), n.anchor && o.value && (p = pt(o.value, n.anchor, () => i("close")), d.focus());
658
658
  }), I(() => p?.()), J(r, (e) => {
659
- let t = Vt(e);
659
+ let t = Ut(e);
660
660
  t && (c.value = t, l.value = t, d.setValue(t));
661
661
  });
662
662
  function m(e) {
663
663
  l.value = e.target.value;
664
- let t = Vt(l.value);
664
+ let t = Ut(l.value);
665
665
  t && (c.value = t, d.setValue(t), i("input", t));
666
666
  }
667
667
  function h() {
@@ -671,7 +671,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
671
671
  e.key === "Enter" && !(e.target instanceof HTMLButtonElement) && (e.preventDefault(), h());
672
672
  }
673
673
  return (t, n) => (R(), w(xe, {
674
- to: G(en)(),
674
+ to: G(cn)(),
675
675
  disabled: !e.anchor
676
676
  }, [D("div", {
677
677
  "data-glim": "ColorPicker",
@@ -686,12 +686,12 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
686
686
  ref: s,
687
687
  style: { display: "contents" }
688
688
  }, null, 512),
689
- D("div", Vr, [
689
+ D("div", Jr, [
690
690
  n[0] ||= D("span", {
691
691
  class: "glim-picker-swatch",
692
692
  "aria-hidden": "true"
693
693
  }, null, -1),
694
- u.value === null ? T("", !0) : (R(), E("span", Hr, W(u.value), 1)),
694
+ u.value === null ? T("", !0) : (R(), E("span", Yr, W(u.value), 1)),
695
695
  D("input", {
696
696
  class: "glim-picker-hex",
697
697
  value: l.value,
@@ -699,9 +699,9 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
699
699
  spellcheck: "false",
700
700
  "aria-label": a.hex,
701
701
  onInput: m
702
- }, null, 40, Ur)
702
+ }, null, 40, Xr)
703
703
  ]),
704
- D("div", Wr, [A(f, {
704
+ D("div", Zr, [A(f, {
705
705
  label: a.apply,
706
706
  "label-key": "apply",
707
707
  glyph: G(y),
@@ -710,16 +710,16 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
710
710
  }, null, 8, ["label", "glyph"])])
711
711
  ], 38)], 8, ["to", "disabled"]));
712
712
  }
713
- }), Kr = ["data-glim-title"], qr = { class: "glim-modal-head" }, Jr = {
713
+ }), $r = ["data-glim-title"], ei = { class: "glim-modal-head" }, ti = {
714
714
  id: "confirmdialog-title",
715
715
  class: "glim-modal-title"
716
- }, Yr = { class: "glim-modal-body" }, Xr = {
716
+ }, ni = { class: "glim-modal-body" }, ri = {
717
717
  id: "confirmdialog-message",
718
718
  class: "glim-modal-text"
719
- }, Zr = {
719
+ }, ii = {
720
720
  key: 0,
721
721
  class: "glim-modal-extra"
722
- }, Qr = { class: "glim-modal-foot" }, $r = /* @__PURE__ */ j({
722
+ }, ai = { class: "glim-modal-foot" }, oi = /* @__PURE__ */ j({
723
723
  __name: "ConfirmDialog",
724
724
  props: {
725
725
  title: {},
@@ -747,7 +747,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
747
747
  "aria-describedby": "confirmdialog-message",
748
748
  class: "glim-modal-card"
749
749
  }, [
750
- D("div", qr, [D("h2", Jr, [A(e, {
750
+ D("div", ei, [D("h2", ti, [A(e, {
751
751
  tone: "heading",
752
752
  size: "heading",
753
753
  wrap: ""
@@ -762,8 +762,8 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
762
762
  class: "glim-modal-close",
763
763
  onClick: r[0] ||= (e) => i("cancel")
764
764
  }, null, 8, ["label", "glyph"]))]),
765
- D("div", Yr, [D("p", Xr, W(t.message), 1), n.$slots.extra ? (R(), E("div", Zr, [V(n.$slots, "extra")])) : T("", !0)]),
766
- D("div", Qr, [A(f, {
765
+ D("div", ni, [D("p", ri, W(t.message), 1), n.$slots.extra ? (R(), E("div", ii, [V(n.$slots, "extra")])) : T("", !0)]),
766
+ D("div", ai, [A(f, {
767
767
  ref_key: "cancel",
768
768
  ref: o,
769
769
  label: t.cancelLabel,
@@ -780,25 +780,25 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
780
780
  "label-key",
781
781
  "glyph"
782
782
  ])])
783
- ], 8, Kr)]));
783
+ ], 8, $r)]));
784
784
  }
785
- }), ei = {
785
+ }), si = {
786
786
  "data-glim": "Kbd",
787
787
  class: "glim-kbd"
788
- }, ti = /* @__PURE__ */ j({
788
+ }, ci = /* @__PURE__ */ j({
789
789
  __name: "Kbd",
790
790
  setup(e) {
791
- return (e, t) => (R(), E("kbd", ei, [V(e.$slots, "default")]));
791
+ return (e, t) => (R(), E("kbd", si, [V(e.$slots, "default")]));
792
792
  }
793
- }), ni = {
793
+ }), li = {
794
794
  key: 0,
795
795
  class: "glim-menu-sep",
796
796
  role: "separator"
797
- }, ri = {
797
+ }, ui = {
798
798
  key: 1,
799
799
  class: "glim-menu-head",
800
800
  role: "presentation"
801
- }, ii = [
801
+ }, di = [
802
802
  "role",
803
803
  "aria-checked",
804
804
  "aria-haspopup",
@@ -806,26 +806,26 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
806
806
  "disabled",
807
807
  "data-row",
808
808
  "onClick"
809
- ], ai = {
809
+ ], fi = {
810
810
  key: 0,
811
811
  class: "glim-checkbox-box",
812
812
  "aria-hidden": "true"
813
- }, oi = {
813
+ }, pi = {
814
814
  key: 2,
815
815
  class: "glim-menu-glyph",
816
816
  "aria-hidden": "true"
817
- }, si = { class: "glim-menu-label" }, ci = {
817
+ }, mi = { class: "glim-menu-label" }, hi = {
818
818
  key: 3,
819
819
  class: "glim-menu-end glim-menu-caret",
820
820
  "aria-hidden": "true"
821
- }, li = {
821
+ }, gi = {
822
822
  key: 4,
823
823
  class: "glim-menu-end glim-menu-tick",
824
824
  "aria-hidden": "true"
825
- }, ui = {
825
+ }, _i = {
826
826
  key: 6,
827
827
  class: "glim-menu-end glim-menu-count glim-num"
828
- }, di = /* @__PURE__ */ j({
828
+ }, vi = /* @__PURE__ */ j({
829
829
  __name: "MenuRows",
830
830
  props: {
831
831
  entries: {},
@@ -833,15 +833,15 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
833
833
  },
834
834
  emits: ["pick"],
835
835
  setup(e, { emit: t }) {
836
- let n = e, r = t, i = C(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : St(e) ? {
836
+ let n = e, r = t, i = C(() => n.entries.map((e) => e === "-" ? { kind: "sep" } : Ct(e) ? {
837
837
  kind: "head",
838
838
  head: e
839
839
  } : {
840
840
  kind: "item",
841
841
  item: e,
842
- view: Lt(e)
842
+ view: zt(e)
843
843
  }));
844
- return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", ni)) : t.kind === "head" ? (R(), E("div", ri, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(he, {
844
+ return (t, n) => (R(!0), E(S, null, B(i.value, (t, n) => (R(), E(S, { key: n }, [t.kind === "sep" ? (R(), E("div", li)) : t.kind === "head" ? (R(), E("div", ui, [D("span", null, W(t.head.head), 1), t.head.edit ? (R(), w(he, {
845
845
  key: 0,
846
846
  tip: t.head.edit.tip,
847
847
  role: "menuitem",
@@ -869,23 +869,23 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
869
869
  "data-row": n,
870
870
  onClick: (e) => r("pick", n)
871
871
  }, [
872
- t.view.lead === "box" ? (R(), E("span", ai, [A(G(y))])) : t.view.lead === "dot" ? (R(), E("span", {
872
+ t.view.lead === "box" ? (R(), E("span", fi, [A(G(y))])) : t.view.lead === "dot" ? (R(), E("span", {
873
873
  key: 1,
874
874
  class: "glim-menu-dot",
875
875
  style: F({ backgroundColor: t.item.color }),
876
876
  "aria-hidden": "true"
877
- }, null, 4)) : (R(), E("span", oi, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
878
- D("span", si, W(t.item.label), 1),
879
- t.view.end === "submenu" ? (R(), E("span", ci, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", li, [A(G(y))])) : t.view.end === "shortcut" ? (R(), w(ti, {
877
+ }, null, 4)) : (R(), E("span", pi, [t.view.lead === "glyph" ? (R(), w(H(t.item.glyph), { key: 0 })) : T("", !0)])),
878
+ D("span", mi, W(t.item.label), 1),
879
+ t.view.end === "submenu" ? (R(), E("span", hi, [A(G(ue))])) : t.view.end === "tick" ? (R(), E("span", gi, [A(G(y))])) : t.view.end === "shortcut" ? (R(), w(ci, {
880
880
  key: 5,
881
881
  class: "glim-menu-end"
882
882
  }, {
883
883
  default: Y(() => [k(W(t.item.shortcut), 1)]),
884
884
  _: 2
885
- }, 1024)) : t.view.end === "count" ? (R(), E("span", ui, W(t.item.count), 1)) : T("", !0)
886
- ], 10, ii))], 64))), 128));
885
+ }, 1024)) : t.view.end === "count" ? (R(), E("span", _i, W(t.item.count), 1)) : T("", !0)
886
+ ], 10, di))], 64))), 128));
887
887
  }
888
- }), fi = ["id", "aria-label"], pi = ["id", "aria-label"], mi = /* @__PURE__ */ j({
888
+ }), yi = ["id", "aria-label"], bi = ["id", "aria-label"], xi = /* @__PURE__ */ j({
889
889
  __name: "ContextMenu",
890
890
  props: {
891
891
  x: {},
@@ -908,19 +908,19 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
908
908
  let n = e, r = t, i = U(null), a = U(null), o = bt(), s = z({
909
909
  left: n.x,
910
910
  top: n.y
911
- }), c = U(null), l = z(null), u = C(() => Ln(n.items)), d = C(() => {
911
+ }), c = U(null), l = z(null), u = C(() => Wn(n.items)), d = C(() => {
912
912
  let e = c.value ? u.value[c.value.at] : void 0;
913
- return e && e !== "-" && !St(e) && e.sub ? e : null;
914
- }), f = C(() => d.value?.sub ? Ln(d.value.sub) : null), p = () => ({
913
+ return e && e !== "-" && !Ct(e) && e.sub ? e : null;
914
+ }), f = C(() => d.value?.sub ? Wn(d.value.sub) : null), p = () => ({
915
915
  width: innerWidth,
916
916
  height: innerHeight
917
917
  });
918
918
  function m(e) {
919
- r("close"), e && dn(n.opener ?? o);
919
+ r("close"), e && vn(n.opener ?? o);
920
920
  }
921
921
  function h() {
922
922
  let e = i.value;
923
- e && (s.value = Qt(n.x, n.y, {
923
+ e && (s.value = on(n.x, n.y, {
924
924
  width: e.offsetWidth,
925
925
  height: e.offsetHeight
926
926
  }, p(), n.above));
@@ -944,26 +944,26 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
944
944
  let t = e && i.value?.querySelector(`[data-row="${e.at}"]`), n = a.value;
945
945
  if (!e || !t || !n) return;
946
946
  let r = getComputedStyle(i.value).direction === "rtl";
947
- l.value = $t(t.getBoundingClientRect(), {
947
+ l.value = sn(t.getBoundingClientRect(), {
948
948
  width: n.offsetWidth,
949
949
  height: n.offsetHeight
950
950
  }, p(), r), e.focus && gt(n);
951
951
  }, { flush: "post" });
952
952
  function _(e, t) {
953
953
  let n = e[t];
954
- n !== "-" && (St(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
954
+ n !== "-" && (Ct(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === u.value ? c.value = {
955
955
  at: t,
956
956
  focus: !0
957
- } : (Lt(n).staysOpen || m(!0), n.onSelect?.()));
957
+ } : (zt(n).staysOpen || m(!0), n.onSelect?.()));
958
958
  }
959
959
  function te(e, t) {
960
960
  if (e.key === "Tab") return m(!1);
961
961
  let n = e.currentTarget;
962
- if (Ct(e)) {
962
+ if (Tt(e)) {
963
963
  vt(n, e.key) && e.preventDefault();
964
964
  return;
965
965
  }
966
- let a = It(e.key, getComputedStyle(n).direction === "rtl");
966
+ let a = Rt(e.key, getComputedStyle(n).direction === "rtl");
967
967
  if (!a) return;
968
968
  if (e.preventDefault(), a !== "in" && a !== "out") return _t(n, a);
969
969
  if (t) {
@@ -971,7 +971,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
971
971
  return;
972
972
  }
973
973
  let o = Number(document.activeElement?.dataset.row), s = u.value[o];
974
- a === "in" && s && s !== "-" && !St(s) && s.sub && !s.disabled ? c.value = {
974
+ a === "in" && s && s !== "-" && !Ct(s) && s.sub && !s.disabled ? c.value = {
975
975
  at: o,
976
976
  focus: !0
977
977
  } : r("step", a === "in" ? 1 : -1);
@@ -979,13 +979,13 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
979
979
  function v(e) {
980
980
  let t = e.target.closest("[data-row]");
981
981
  if (!t) return;
982
- let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !St(r) && !!r.sub && !r.disabled;
982
+ let n = Number(t.dataset.row), r = u.value[n], i = r !== "-" && !Ct(r) && !!r.sub && !r.disabled;
983
983
  i && c.value?.at !== n ? c.value = {
984
984
  at: n,
985
985
  focus: !1
986
986
  } : !i && c.value && (c.value = null);
987
987
  }
988
- return (t, n) => (R(), w(xe, { to: G(en)() }, [D("div", {
988
+ return (t, n) => (R(), w(xe, { to: G(cn)() }, [D("div", {
989
989
  id: e.id,
990
990
  ref_key: "menu",
991
991
  ref: i,
@@ -1000,11 +1000,11 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1000
1000
  onKeydown: n[1] ||= (e) => te(e, !1),
1001
1001
  onMouseover: v,
1002
1002
  onContextmenu: n[2] ||= X(() => {}, ["prevent"])
1003
- }, [A(di, {
1003
+ }, [A(vi, {
1004
1004
  entries: u.value,
1005
1005
  "open-at": c.value?.at,
1006
1006
  onPick: n[0] ||= (e) => _(u.value, e)
1007
- }, null, 8, ["entries", "open-at"])], 44, fi), f.value ? (R(), E("div", {
1007
+ }, null, 8, ["entries", "open-at"])], 44, yi), f.value ? (R(), E("div", {
1008
1008
  key: 0,
1009
1009
  id: d.value?.subId,
1010
1010
  ref_key: "subMenu",
@@ -1018,15 +1018,15 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1018
1018
  }),
1019
1019
  onKeydown: n[4] ||= (e) => te(e, !0),
1020
1020
  onContextmenu: n[5] ||= X(() => {}, ["prevent"])
1021
- }, [A(di, {
1021
+ }, [A(vi, {
1022
1022
  entries: f.value,
1023
1023
  onPick: n[3] ||= (e) => _(f.value, e)
1024
- }, null, 8, ["entries"])], 44, pi)) : T("", !0)], 8, ["to"]));
1024
+ }, null, 8, ["entries"])], 44, bi)) : T("", !0)], 8, ["to"]));
1025
1025
  }
1026
- }), hi = ["value", "aria-label"], gi = {
1026
+ }), Si = ["value", "aria-label"], Ci = {
1027
1027
  role: "status",
1028
1028
  class: "glim-sr-only"
1029
- }, _i = /* @__PURE__ */ j({
1029
+ }, wi = /* @__PURE__ */ j({
1030
1030
  __name: "CopyField",
1031
1031
  props: {
1032
1032
  value: {},
@@ -1057,7 +1057,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1057
1057
  "aria-label": G(i),
1058
1058
  spellcheck: "false",
1059
1059
  class: "glim-input glim-input--mono"
1060
- }, null, 8, hi),
1060
+ }, null, 8, Si),
1061
1061
  A(f, {
1062
1062
  label: a.value ? e.text.copied : e.text.copy,
1063
1063
  "label-key": a.value ? "copied" : "copy",
@@ -1069,27 +1069,27 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1069
1069
  "label-key",
1070
1070
  "glyph"
1071
1071
  ]),
1072
- D("span", gi, W(a.value ? e.text.copied : ""), 1)
1072
+ D("span", Ci, W(a.value ? e.text.copied : ""), 1)
1073
1073
  ], 2));
1074
1074
  }
1075
- }), vi = ["data-glim-title"], yi = { class: "glim-modal-head" }, bi = {
1075
+ }), Ti = ["data-glim-title"], Ei = { class: "glim-modal-head" }, Di = {
1076
1076
  id: "cryptodonate-title",
1077
1077
  class: "glim-modal-title"
1078
- }, xi = { class: "glim-give-body glim-give-body--scroll" }, Si = { class: "glim-give-appeal" }, Ci = { class: "glim-give-intro" }, wi = { class: "glim-give-well" }, Ti = {
1078
+ }, Oi = { class: "glim-give-body glim-give-body--scroll" }, ki = { class: "glim-give-appeal" }, Ai = { class: "glim-give-intro" }, ji = { class: "glim-give-well" }, Mi = {
1079
1079
  dir: "ltr",
1080
1080
  class: "glim-give-address"
1081
- }, Ei = ["aria-label"], Di = ["aria-selected", "onClick"], Oi = {
1081
+ }, Ni = ["aria-label"], Pi = ["aria-selected", "onClick"], Fi = {
1082
1082
  key: 0,
1083
1083
  class: "glim-give-note"
1084
- }, ki = ["aria-label"], Ai = [
1084
+ }, Ii = ["aria-label"], Li = [
1085
1085
  "aria-selected",
1086
1086
  "aria-label",
1087
1087
  "title",
1088
1088
  "onClick"
1089
- ], ji = {
1089
+ ], Ri = {
1090
1090
  key: 1,
1091
1091
  class: "glim-give-ticker"
1092
- }, Mi = { class: "glim-give-foot" }, Ni = /* @__PURE__ */ j({
1092
+ }, zi = { class: "glim-give-foot" }, Bi = /* @__PURE__ */ j({
1093
1093
  __name: "CryptoDonateDialog",
1094
1094
  props: {
1095
1095
  coins: {},
@@ -1108,7 +1108,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1108
1108
  function d(e, t) {
1109
1109
  let n = e.id !== i.coin.id && e.tile;
1110
1110
  return {
1111
- ...xt(t),
1111
+ ...St(t),
1112
1112
  ...n ? {
1113
1113
  "--tile": e.tile.color,
1114
1114
  "--tile-ink": e.tile.ink
@@ -1133,7 +1133,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1133
1133
  "aria-labelledby": "cryptodonate-title",
1134
1134
  class: "glim-modal-card glim-modal-card--wide"
1135
1135
  }, [
1136
- D("div", yi, [D("h2", bi, [A(e, {
1136
+ D("div", Ei, [D("h2", Di, [A(e, {
1137
1137
  tone: "heading",
1138
1138
  size: "heading",
1139
1139
  wrap: ""
@@ -1141,12 +1141,12 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1141
1141
  default: Y(() => [k(W(t.text.title), 1)]),
1142
1142
  _: 1
1143
1143
  })])]),
1144
- D("div", xi, [
1145
- D("p", Si, W(t.text.appeal), 1),
1146
- D("p", Ci, W(t.text.intro), 1),
1147
- D("div", wi, [
1144
+ D("div", Oi, [
1145
+ D("p", ki, W(t.text.appeal), 1),
1146
+ D("p", Ai, W(t.text.intro), 1),
1147
+ D("div", ji, [
1148
1148
  V(n.$slots, "qr", { value: t.network.address }),
1149
- D("p", Ti, W(t.network.address), 1),
1149
+ D("p", Mi, W(t.network.address), 1),
1150
1150
  D("div", {
1151
1151
  class: "glim-give-networks",
1152
1152
  role: "listbox",
@@ -1156,11 +1156,11 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1156
1156
  type: "button",
1157
1157
  role: "option",
1158
1158
  "aria-selected": e.id === t.network.id,
1159
- style: F(G(xt)(n)),
1159
+ style: F(G(St)(n)),
1160
1160
  class: P(e.id === t.network.id ? "glim-give-network glim-hue glim-active" : "glim-give-network glim-hue"),
1161
1161
  onClick: (n) => a("pick", t.coin, e)
1162
- }, W(e.name), 15, Di))), 128))], 8, Ei),
1163
- t.network.note ? (R(), E("p", Oi, W(t.network.note), 1)) : T("", !0),
1162
+ }, W(e.name), 15, Pi))), 128))], 8, Ni),
1163
+ t.network.note ? (R(), E("p", Fi, W(t.network.note), 1)) : T("", !0),
1164
1164
  A(f, {
1165
1165
  label: t.text.copyLabel,
1166
1166
  "label-key": "common.copy",
@@ -1183,17 +1183,17 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1183
1183
  style: F(d(e, r)),
1184
1184
  class: P(p(e)),
1185
1185
  onClick: (t) => a("pick", e, e.networks[0])
1186
- }, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", ji, W(e.symbol), 1)) : T("", !0)], 14, Ai))), 128))], 8, ki)
1186
+ }, [s.value ? V(n.$slots, "mark", { coin: e }, void 0, void 0, 0) : T("", !0), c.value ? (R(), E("span", Ri, W(e.symbol), 1)) : T("", !0)], 14, Li))), 128))], 8, Ii)
1187
1187
  ]),
1188
- D("div", Mi, [A(f, {
1188
+ D("div", zi, [A(f, {
1189
1189
  label: t.text.closeLabel,
1190
1190
  "label-key": "common.close",
1191
1191
  tone: "neutral",
1192
1192
  onClick: r[1] ||= (e) => a("close")
1193
1193
  }, null, 8, ["label"])])
1194
- ], 8, vi)]));
1194
+ ], 8, Ti)]));
1195
1195
  }
1196
- }), Pi = ["aria-multiselectable", "aria-label"], Fi = 4, Ii = /* @__PURE__ */ j({
1196
+ }), Vi = ["aria-multiselectable", "aria-label"], Hi = 4, Ui = /* @__PURE__ */ j({
1197
1197
  __name: "DropdownListbox",
1198
1198
  props: {
1199
1199
  open: { type: Boolean },
@@ -1204,7 +1204,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1204
1204
  emits: ["close"],
1205
1205
  setup(e, { emit: t }) {
1206
1206
  let n = e;
1207
- Kn("DropdownListbox");
1207
+ $n("DropdownListbox");
1208
1208
  let r = t, i = U(null), a = U(null), o = ve(() => n.open, Ae(n, "triggerRef")), s = !1;
1209
1209
  J(() => n.open, (e) => {
1210
1210
  e || (s = !!i.value?.contains(document.activeElement));
@@ -1221,7 +1221,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1221
1221
  }, { left: o, top: s } = it(t, {
1222
1222
  width: t.width,
1223
1223
  height: i.value.offsetHeight
1224
- }, r, Fi);
1224
+ }, r, Hi);
1225
1225
  a.value = {
1226
1226
  left: o,
1227
1227
  top: s,
@@ -1257,7 +1257,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1257
1257
  flush: "post"
1258
1258
  }), Te(() => m());
1259
1259
  function g(e) {
1260
- if (Ct(e)) {
1260
+ if (Tt(e)) {
1261
1261
  mt(c(), e.key) && e.preventDefault();
1262
1262
  return;
1263
1263
  }
@@ -1281,7 +1281,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1281
1281
  }
1282
1282
  return (t, n) => e.open ? (R(), w(xe, {
1283
1283
  key: 0,
1284
- to: G(en)()
1284
+ to: G(cn)()
1285
1285
  }, [D("div", {
1286
1286
  ref_key: "panel",
1287
1287
  ref: i,
@@ -1302,16 +1302,16 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1302
1302
  ...G(o).style.value
1303
1303
  }),
1304
1304
  onKeydown: g
1305
- }, [V(t.$slots, "default")], 46, Pi)], 8, ["to"])) : T("", !0);
1305
+ }, [V(t.$slots, "default")], 46, Vi)], 8, ["to"])) : T("", !0);
1306
1306
  }
1307
- }), Li = ["data-glim-title"], Ri = {
1307
+ }), Wi = ["data-glim-title"], Gi = {
1308
1308
  key: 0,
1309
1309
  class: "glim-empty-glyph",
1310
1310
  "aria-hidden": "true"
1311
- }, zi = { class: "glim-empty-title" }, Bi = {
1311
+ }, Ki = { class: "glim-empty-title" }, qi = {
1312
1312
  key: 1,
1313
1313
  class: "glim-empty-hint"
1314
- }, Vi = /* @__PURE__ */ j({
1314
+ }, Ji = /* @__PURE__ */ j({
1315
1315
  __name: "EmptyState",
1316
1316
  props: {
1317
1317
  glyph: {},
@@ -1328,13 +1328,13 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1328
1328
  "data-glim-title": e.title,
1329
1329
  class: P(e.nested ? "glim-empty" : "glim-card glim-empty")
1330
1330
  }, [
1331
- e.glyph ? (R(), E("span", Ri, [(R(), w(H(e.glyph)))])) : T("", !0),
1332
- D("p", zi, W(e.title), 1),
1333
- e.hint ? (R(), E("p", Bi, W(e.hint), 1)) : T("", !0),
1331
+ e.glyph ? (R(), E("span", Gi, [(R(), w(H(e.glyph)))])) : T("", !0),
1332
+ D("p", Ki, W(e.title), 1),
1333
+ e.hint ? (R(), E("p", qi, W(e.hint), 1)) : T("", !0),
1334
1334
  V(t.$slots, "default")
1335
- ], 10, Li));
1335
+ ], 10, Wi));
1336
1336
  }
1337
- }), Hi = ["id"], Ui = /* @__PURE__ */ j({
1337
+ }), Yi = ["id"], Xi = /* @__PURE__ */ j({
1338
1338
  __name: "FieldError",
1339
1339
  props: { id: {} },
1340
1340
  setup(e) {
@@ -1342,22 +1342,22 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1342
1342
  "data-glim": "FieldError",
1343
1343
  id: e.id,
1344
1344
  class: "glim-field-error"
1345
- }, [A(G(b), { mark: G(qe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, Hi));
1345
+ }, [A(G(b), { mark: G(qe).fail }, null, 8, ["mark"]), V(t.$slots, "default")], 8, Yi));
1346
1346
  }
1347
- }), Wi = /* @__PURE__ */ j({
1347
+ }), Zi = /* @__PURE__ */ j({
1348
1348
  __name: "Pill",
1349
1349
  props: { tone: { default: "neutral" } },
1350
1350
  setup(e) {
1351
- let t = e, n = C(() => Zt(t.tone));
1351
+ let t = e, n = C(() => an(t.tone));
1352
1352
  return (e, t) => (R(), E("span", {
1353
1353
  "data-glim": "Pill",
1354
1354
  class: P(n.value)
1355
1355
  }, [V(e.$slots, "default")], 2));
1356
1356
  }
1357
- }), Gi = { class: "glim-field-row-name" }, Ki = {
1357
+ }), Qi = { class: "glim-field-row-name" }, $i = {
1358
1358
  key: 0,
1359
1359
  class: "glim-field-row-controls"
1360
- }, qi = /* @__PURE__ */ j({
1360
+ }, ea = /* @__PURE__ */ j({
1361
1361
  __name: "FieldRow",
1362
1362
  props: {
1363
1363
  label: {},
@@ -1375,20 +1375,20 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1375
1375
  ref: r,
1376
1376
  "data-glim": "FieldRow",
1377
1377
  class: P(["glim-field-row", { "glim-field-row--wide": e.wide }])
1378
- }, [D("span", Gi, [D("span", {
1378
+ }, [D("span", Qi, [D("span", {
1379
1379
  class: "glim-field-row-label",
1380
- onClick: i[0] ||= (e) => G(nn)(r.value)
1380
+ onClick: i[0] ||= (e) => G(un)(r.value)
1381
1381
  }, [V(t.$slots, "label", {}, () => [k(W(e.label), 1)])]), e.hint ? (R(), w(Q, {
1382
1382
  key: 0,
1383
1383
  tip: e.hint
1384
- }, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", Ki, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Wi, {
1384
+ }, null, 8, ["tip"])) : T("", !0)]), G(n) ? (R(), E("span", $i, [V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Zi, {
1385
1385
  key: 0,
1386
1386
  class: "glim-num",
1387
1387
  tone: e.tone
1388
1388
  }, {
1389
1389
  default: Y(() => [k(W(e.value), 1)]),
1390
1390
  _: 1
1391
- }, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Wi, {
1391
+ }, 8, ["tone"]))])])) : V(t.$slots, "default", {}, () => [e.value === void 0 ? T("", !0) : (R(), w(Zi, {
1392
1392
  key: 0,
1393
1393
  class: "glim-num",
1394
1394
  tone: e.tone
@@ -1397,7 +1397,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1397
1397
  _: 1
1398
1398
  }, 8, ["tone"]))], void 0, 1)], 2));
1399
1399
  }
1400
- }), Ji = /* @__PURE__ */ j({
1400
+ }), ta = /* @__PURE__ */ j({
1401
1401
  __name: "FieldRowGroup",
1402
1402
  props: { columns: {} },
1403
1403
  setup(e) {
@@ -1407,13 +1407,13 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1407
1407
  style: F(e.columns ? { "--field-columns": e.columns } : void 0)
1408
1408
  }, [V(t.$slots, "default")], 4));
1409
1409
  }
1410
- }), Yi = {
1410
+ }), na = {
1411
1411
  key: 0,
1412
1412
  class: "glim-modal-foot"
1413
- }, Xi = {
1413
+ }, ra = {
1414
1414
  key: 0,
1415
1415
  class: "glim-window-start"
1416
- }, Zi = /* @__PURE__ */ j({
1416
+ }, ia = /* @__PURE__ */ j({
1417
1417
  __name: "WindowFootRow",
1418
1418
  props: {
1419
1419
  actions: {},
@@ -1423,7 +1423,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1423
1423
  },
1424
1424
  emits: ["close"],
1425
1425
  setup(e, { emit: t }) {
1426
- let n = e, r = t, i = C(() => Yn(n.actions, n.hasStart, {
1426
+ let n = e, r = t, i = C(() => nr(n.actions, n.hasStart, {
1427
1427
  cancel: {
1428
1428
  label: n.text.cancel,
1429
1429
  labelKey: "common.cancel",
@@ -1440,7 +1440,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1440
1440
  function a(e) {
1441
1441
  e.onClick?.() !== !1 && r("close");
1442
1442
  }
1443
- return (t, n) => i.value.length ? (R(), E("div", Yi, [e.hasStart ? (R(), E("span", Xi, [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, {
1443
+ return (t, n) => i.value.length ? (R(), E("div", na, [e.hasStart ? (R(), E("span", ra, [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, {
1444
1444
  key: t,
1445
1445
  label: e.label,
1446
1446
  "label-key": e.labelKey,
@@ -1457,11 +1457,11 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1457
1457
  "onClick"
1458
1458
  ]))), 128))])) : T("", !0);
1459
1459
  }
1460
- }), Qi = [
1460
+ }), aa = [
1461
1461
  "data-glim-title",
1462
1462
  "aria-labelledby",
1463
1463
  "aria-label"
1464
- ], $i = ["id"], ea = { class: "glim-modal-body glim-window-body" }, ta = /* @__PURE__ */ j({
1464
+ ], oa = ["id"], sa = { class: "glim-modal-body glim-window-body" }, ca = /* @__PURE__ */ j({
1465
1465
  inheritAttrs: !1,
1466
1466
  __name: "Window",
1467
1467
  props: {
@@ -1478,14 +1478,14 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1478
1478
  d?.(), a("close");
1479
1479
  }
1480
1480
  L(() => {
1481
- d = kn(() => s.value, f), s.value && Jn(s.value)?.focus();
1481
+ d = In(() => s.value, f), s.value && tr(s.value)?.focus();
1482
1482
  }), Ee(() => {
1483
- d?.(), dn(l);
1483
+ d?.(), vn(l);
1484
1484
  }), n({ card: s });
1485
1485
  function p() {
1486
- Ft() || f();
1486
+ Lt() || f();
1487
1487
  }
1488
- return (n, r) => (R(), w(xe, { to: G(en)() }, [D("div", {
1488
+ return (n, r) => (R(), w(xe, { to: G(cn)() }, [D("div", {
1489
1489
  class: "glim-modal-backdrop",
1490
1490
  onMousedown: X(p, ["self"])
1491
1491
  }, [D("div", N({
@@ -1515,9 +1515,9 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1515
1515
  }, {
1516
1516
  default: Y(() => [V(n.$slots, "title", {}, () => [k(W(t.title), 1)])]),
1517
1517
  _: 3
1518
- })], 8, $i),
1519
- D("div", ea, [V(n.$slots, "default")]),
1520
- A(Zi, {
1518
+ })], 8, oa),
1519
+ D("div", sa, [V(n.$slots, "default")]),
1520
+ A(ia, {
1521
1521
  actions: t.actions,
1522
1522
  start: t.start,
1523
1523
  "has-start": u.value,
@@ -1533,9 +1533,9 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1533
1533
  "has-start",
1534
1534
  "text"
1535
1535
  ])
1536
- ], 16, Qi)], 32)], 8, ["to"]));
1536
+ ], 16, aa)], 32)], 8, ["to"]));
1537
1537
  }
1538
- }), na = { class: "glim-fortress-text" }, ra = /* @__PURE__ */ j({
1538
+ }), la = { class: "glim-fortress-text" }, ua = /* @__PURE__ */ j({
1539
1539
  __name: "FortressDoubtWindow",
1540
1540
  props: {
1541
1541
  app: {},
@@ -1552,7 +1552,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1552
1552
  attrs: { "data-fortress": "open-anyway" },
1553
1553
  onClick: () => t.onOpen()
1554
1554
  }]);
1555
- return (t, i) => (R(), w(ta, {
1555
+ return (t, i) => (R(), w(ca, {
1556
1556
  "data-glim": "FortressDoubtWindow",
1557
1557
  title: n.value.title,
1558
1558
  actions: r.value,
@@ -1562,7 +1562,7 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1562
1562
  },
1563
1563
  onClose: i[0] ||= (t) => e.onClose()
1564
1564
  }, {
1565
- default: Y(() => [D("div", na, [D("p", null, W(n.value.body), 1)])]),
1565
+ default: Y(() => [D("div", la, [D("p", null, W(n.value.body), 1)])]),
1566
1566
  _: 1
1567
1567
  }, 8, [
1568
1568
  "title",
@@ -1570,32 +1570,32 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1570
1570
  "text"
1571
1571
  ]));
1572
1572
  }
1573
- }), ia = ["data-glim-title"], aa = { class: "glim-instance-top" }, oa = {
1573
+ }), da = ["data-glim-title"], fa = { class: "glim-instance-top" }, pa = {
1574
1574
  key: 0,
1575
1575
  class: "glim-instance-mark",
1576
1576
  "aria-hidden": "true"
1577
- }, sa = ["src"], ca = { class: "glim-instance-main" }, la = { class: "glim-instance-name" }, ua = { class: "glim-instance-title" }, da = {
1577
+ }, ma = ["src"], ha = { class: "glim-instance-main" }, ga = { class: "glim-instance-name" }, _a = { class: "glim-instance-title" }, va = {
1578
1578
  key: 0,
1579
1579
  class: "glim-instance-badges"
1580
- }, fa = {
1580
+ }, ya = {
1581
1581
  key: 0,
1582
1582
  class: "glim-eyebrow"
1583
- }, pa = {
1583
+ }, ba = {
1584
1584
  key: 1,
1585
1585
  class: "glim-instance-facts glim-num"
1586
- }, ma = {
1586
+ }, xa = {
1587
1587
  key: 2,
1588
1588
  class: "glim-instance-figures"
1589
- }, ha = { class: "glim-num" }, ga = {
1589
+ }, Sa = { class: "glim-num" }, Ca = {
1590
1590
  key: 3,
1591
1591
  class: "glim-instance-acts"
1592
- }, _a = {
1592
+ }, wa = {
1593
1593
  key: 0,
1594
1594
  class: "glim-instance-body"
1595
- }, va = {
1595
+ }, Ta = {
1596
1596
  key: 1,
1597
1597
  class: "glim-instance-acts"
1598
- }, ya = /* @__PURE__ */ j({
1598
+ }, Ea = /* @__PURE__ */ j({
1599
1599
  __name: "InstanceCard",
1600
1600
  props: {
1601
1601
  logo: {},
@@ -1606,34 +1606,34 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1606
1606
  hueIndex: {}
1607
1607
  },
1608
1608
  setup(e) {
1609
- let t = e, n = C(() => (t.facts ?? []).filter(Boolean).join(" · ")), r = C(() => t.hueIndex === void 0 ? void 0 : xt(t.hueIndex));
1609
+ let t = e, n = C(() => (t.facts ?? []).filter(Boolean).join(" · ")), r = C(() => t.hueIndex === void 0 ? void 0 : St(t.hueIndex));
1610
1610
  return (t, i) => (R(), E("div", {
1611
1611
  "data-glim": "InstanceCard",
1612
1612
  "data-glim-title": e.name,
1613
1613
  class: P(["glim-card glim-instance", e.hueIndex !== void 0 && "glim-hue"]),
1614
1614
  style: F(r.value)
1615
1615
  }, [
1616
- D("div", aa, [t.$slots.logo ? (R(), E("span", oa, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
1616
+ D("div", fa, [t.$slots.logo ? (R(), E("span", pa, [V(t.$slots, "logo")])) : e.logo ? (R(), E("img", {
1617
1617
  key: 1,
1618
1618
  class: "glim-instance-mark",
1619
1619
  src: e.logo,
1620
1620
  alt: "",
1621
1621
  draggable: "false"
1622
- }, null, 8, sa)) : T("", !0), D("div", ca, [
1623
- D("div", la, [D("h3", ua, W(e.name), 1), t.$slots.badges ? (R(), E("span", da, [V(t.$slots, "badges")])) : T("", !0)]),
1624
- e.eyebrow ? (R(), E("span", fa, W(e.eyebrow), 1)) : T("", !0),
1625
- n.value ? (R(), E("p", pa, W(n.value), 1)) : T("", !0),
1626
- e.figures?.length ? (R(), E("dl", ma, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", ha, W(e.value), 1)]))), 128))])) : T("", !0),
1627
- t.$slots.actions && !t.$slots.default ? (R(), E("div", ga, [V(t.$slots, "actions")])) : T("", !0)
1622
+ }, null, 8, ma)) : T("", !0), D("div", ha, [
1623
+ D("div", ga, [D("h3", _a, W(e.name), 1), t.$slots.badges ? (R(), E("span", va, [V(t.$slots, "badges")])) : T("", !0)]),
1624
+ e.eyebrow ? (R(), E("span", ya, W(e.eyebrow), 1)) : T("", !0),
1625
+ n.value ? (R(), E("p", ba, W(n.value), 1)) : T("", !0),
1626
+ e.figures?.length ? (R(), E("dl", xa, [(R(!0), E(S, null, B(e.figures, (e) => (R(), E("div", { key: e.label }, [D("dt", null, W(e.label), 1), D("dd", Sa, W(e.value), 1)]))), 128))])) : T("", !0),
1627
+ t.$slots.actions && !t.$slots.default ? (R(), E("div", Ca, [V(t.$slots, "actions")])) : T("", !0)
1628
1628
  ])]),
1629
- t.$slots.default ? (R(), E("div", _a, [V(t.$slots, "default")])) : T("", !0),
1630
- t.$slots.actions && t.$slots.default ? (R(), E("div", va, [V(t.$slots, "actions")])) : T("", !0)
1631
- ], 14, ia));
1629
+ t.$slots.default ? (R(), E("div", wa, [V(t.$slots, "default")])) : T("", !0),
1630
+ t.$slots.actions && t.$slots.default ? (R(), E("div", Ta, [V(t.$slots, "actions")])) : T("", !0)
1631
+ ], 14, da));
1632
1632
  }
1633
- }), ba = {
1633
+ }), Da = {
1634
1634
  "data-glim": "PresenceBadges",
1635
1635
  style: { display: "contents" }
1636
- }, xa = /* @__PURE__ */ j({
1636
+ }, Oa = /* @__PURE__ */ j({
1637
1637
  __name: "PresenceBadges",
1638
1638
  props: {
1639
1639
  instance: {},
@@ -1645,24 +1645,24 @@ var Xn = ["aria-label", "aria-describedby"], Q = /* @__PURE__ */ j({
1645
1645
  checking: n.text.checking,
1646
1646
  away: n.text.away
1647
1647
  })[n.instance.presence];
1648
- return (n, i) => (R(), E("span", ba, [t.instance.relay ? (R(), w(e, { key: 0 }, {
1648
+ return (n, i) => (R(), E("span", Da, [t.instance.relay ? (R(), w(e, { key: 0 }, {
1649
1649
  default: Y(() => [k(W(t.text.viaRelay), 1)]),
1650
1650
  _: 1
1651
- })) : T("", !0), A(e, { tone: G(tn)(t.instance.presence) }, {
1651
+ })) : T("", !0), A(e, { tone: G(ln)(t.instance.presence) }, {
1652
1652
  default: Y(() => [k(W(r()), 1)]),
1653
1653
  _: 1
1654
1654
  }, 8, ["tone"])]));
1655
1655
  }
1656
1656
  });
1657
1657
  // src/fortressParts.ts
1658
- function Sa(e) {
1658
+ function ka(e) {
1659
1659
  return e ? m(`device${e.charAt(0).toUpperCase()}${e.slice(1)}`) : void 0;
1660
1660
  }
1661
1661
  // src/FortressAppCard.vue?vue&type=script&setup=true&lang.ts
1662
- var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1662
+ var Aa = { class: "glim-instance-rows" }, ja = ["data-instance"], Ma = {
1663
1663
  class: "glim-instance-device",
1664
1664
  "aria-hidden": "true"
1665
- }, Ea = { class: "glim-instance-row-text" }, Da = { class: "glim-instance-row-name" }, Oa = { class: "glim-instance-row-sub glim-num" }, ka = { class: "glim-instance-row-end" }, Aa = /* @__PURE__ */ j({
1665
+ }, Na = { class: "glim-instance-row-text" }, Pa = { class: "glim-instance-row-name" }, Fa = { class: "glim-instance-row-sub glim-num" }, Ia = { class: "glim-instance-row-end" }, La = /* @__PURE__ */ j({
1666
1666
  inheritAttrs: !1,
1667
1667
  __name: "FortressAppCard",
1668
1668
  props: {
@@ -1679,11 +1679,11 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1679
1679
  connected: n.text.connected,
1680
1680
  checking: n.text.checking,
1681
1681
  away: n.text.away
1682
- })[e.presence], o = (e) => Sa(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);
1682
+ })[e.presence], o = (e) => ka(e.deviceKind), s = (e) => It(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);
1683
1683
  function d(e) {
1684
- e.doubt ? u.value = e : Gt(n.app, e, n.onOpen);
1684
+ e.doubt ? u.value = e : qt(n.app, e, n.onOpen);
1685
1685
  }
1686
- return (n, p) => (R(), E(S, null, [A(ya, N(n.$attrs, {
1686
+ return (n, p) => (R(), E(S, null, [A(Ea, N(n.$attrs, {
1687
1687
  "data-glim": "FortressAppCard",
1688
1688
  "data-fortress-app": t.app.id,
1689
1689
  logo: t.app.logo,
@@ -1710,7 +1710,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1710
1710
  default: Y(() => [k(W(r.value.needs), 1)]),
1711
1711
  _: 1
1712
1712
  })) : T("", !0),
1713
- A(xa, {
1713
+ A(Oa, {
1714
1714
  instance: r.value.main,
1715
1715
  text: t.text
1716
1716
  }, null, 8, ["instance", "text"])
@@ -1718,15 +1718,15 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1718
1718
  _: 2
1719
1719
  }, [i.value ? void 0 : {
1720
1720
  name: "default",
1721
- fn: Y(() => [D("ul", Ca, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
1721
+ fn: Y(() => [D("ul", Aa, [(R(!0), E(S, null, B(r.value.rows, ({ instance: n, sub: r, open: i }) => (R(), E("li", {
1722
1722
  key: n.id,
1723
1723
  class: "glim-instance-row",
1724
1724
  "data-instance": n.id
1725
1725
  }, [
1726
- D("span", Ta, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1727
- D("span", Ea, [D("span", Da, W(n.device), 1), D("span", Oa, W(r), 1)]),
1728
- D("span", ka, [
1729
- A(e, { tone: G(tn)(n.presence) }, {
1726
+ D("span", Ma, [o(n) ? (R(), w(H(o(n)), { key: 0 })) : T("", !0)]),
1727
+ D("span", Na, [D("span", Pa, W(n.device), 1), D("span", Fa, W(r), 1)]),
1728
+ D("span", Ia, [
1729
+ A(e, { tone: G(ln)(n.presence) }, {
1730
1730
  default: Y(() => [k(W(a(n)), 1)]),
1731
1731
  _: 2
1732
1732
  }, 1032, ["tone"]),
@@ -1762,7 +1762,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1762
1762
  "onClick"
1763
1763
  ])) : T("", !0)
1764
1764
  ])
1765
- ], 8, wa))), 128))])]),
1765
+ ], 8, ja))), 128))])]),
1766
1766
  key: "0"
1767
1767
  }, l.value ? {
1768
1768
  name: "actions",
@@ -1793,12 +1793,12 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1793
1793
  "eyebrow",
1794
1794
  "facts",
1795
1795
  "hue-index"
1796
- ]), u.value ? (R(), w(ra, {
1796
+ ]), u.value ? (R(), w(ua, {
1797
1797
  key: 0,
1798
1798
  app: t.app,
1799
1799
  instance: u.value,
1800
1800
  text: t.text,
1801
- "on-open": () => G(Gt)(t.app, u.value, t.onOpen),
1801
+ "on-open": () => G(qt)(t.app, u.value, t.onOpen),
1802
1802
  "on-close": () => u.value = null
1803
1803
  }, null, 8, [
1804
1804
  "app",
@@ -1808,14 +1808,14 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1808
1808
  "on-close"
1809
1809
  ])) : T("", !0)], 64));
1810
1810
  }
1811
- }), ja = [
1811
+ }), Ra = [
1812
1812
  "href",
1813
1813
  "data-sel-id",
1814
1814
  "aria-selected",
1815
1815
  "aria-current",
1816
1816
  "aria-describedby",
1817
1817
  "tabindex"
1818
- ], Ma = [
1818
+ ], za = [
1819
1819
  "data-sel-id",
1820
1820
  "id",
1821
1821
  "role",
@@ -1828,7 +1828,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1828
1828
  "aria-hidden",
1829
1829
  "disabled",
1830
1830
  "tabindex"
1831
- ], Na = ["id"], Pa = /* @__PURE__ */ j({
1831
+ ], Ba = ["id"], Va = /* @__PURE__ */ j({
1832
1832
  __name: "SelectorSegment",
1833
1833
  props: {
1834
1834
  item: {},
@@ -1852,7 +1852,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1852
1852
  },
1853
1853
  emits: ["select"],
1854
1854
  setup(e, { emit: i }) {
1855
- let a = e, o = i, s = C(() => hn({
1855
+ let a = e, o = i, s = C(() => Sn({
1856
1856
  strip: a.strip,
1857
1857
  orientation: a.orientation,
1858
1858
  size: a.size,
@@ -1902,7 +1902,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1902
1902
  key: 1,
1903
1903
  "data-sel-label": "",
1904
1904
  class: P(s.value.labelClass)
1905
- }, W(e.item.label), 3))], 16, ja)) : (R(), E(S, { key: 1 }, [A(G(r), N({
1905
+ }, W(e.item.label), 3))], 16, Ra)) : (R(), E(S, { key: 1 }, [A(G(r), N({
1906
1906
  on: u.value,
1907
1907
  show: G(c).show,
1908
1908
  hide: G(c).hide
@@ -1911,7 +1911,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1911
1911
  ref: m,
1912
1912
  type: "button",
1913
1913
  "data-sel-id": e.item.id,
1914
- id: e.panelId && f.value ? G(bn)(e.panelId, e.item.id) : void 0,
1914
+ id: e.panelId && f.value ? G(Dn)(e.panelId, e.item.id) : void 0,
1915
1915
  role: e.strip.kind === "toggle" ? void 0 : e.strip.kind,
1916
1916
  "aria-selected": f.value ? e.on : void 0,
1917
1917
  "aria-controls": e.panelId && f.value && e.on ? e.panelId : void 0,
@@ -1933,7 +1933,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1933
1933
  key: 1,
1934
1934
  "data-sel-label": "",
1935
1935
  class: P(s.value.labelClass)
1936
- }, W(e.item.label), 3))], 16, Ma)]),
1936
+ }, W(e.item.label), 3))], 16, za)]),
1937
1937
  _: 1
1938
1938
  }, 16, [
1939
1939
  "on",
@@ -1943,16 +1943,16 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1943
1943
  key: 0,
1944
1944
  id: G(l),
1945
1945
  hidden: ""
1946
- }, W(s.value.tip), 9, Na)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
1946
+ }, W(s.value.tip), 9, Ba)) : T("", !0)], 64)), A(t, { state: G(c) }, null, 8, ["state"])], 64));
1947
1947
  }
1948
- }), Fa = [
1948
+ }), Ha = [
1949
1949
  "role",
1950
1950
  "aria-label",
1951
1951
  "aria-orientation"
1952
- ], Ia = {
1952
+ ], Ua = {
1953
1953
  key: 0,
1954
1954
  class: "glim-sel-list"
1955
- }, La = /* @__PURE__ */ j({
1955
+ }, Wa = /* @__PURE__ */ j({
1956
1956
  __name: "Selector",
1957
1957
  props: {
1958
1958
  items: {},
@@ -1998,10 +1998,10 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
1998
1998
  setup(e, { emit: t }) {
1999
1999
  let n = e, r = t, i = C(() => n.modelValue);
2000
2000
  function a(e) {
2001
- let t = U(Nt(e));
2002
- return Te(Nn(e, () => t.value = Nt(e))), t;
2001
+ let t = U(Ft(e));
2002
+ return Te(Bn(e, () => t.value = Ft(e))), t;
2003
2003
  }
2004
- let o = x(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(_n(n.size, n.orientation)), u = a(Je), d = C(() => xn({
2004
+ let o = x(() => n.label), s = C(() => n.inline || n.label === void 0 && o.value !== void 0), c = l(wn(n.size, n.orientation)), u = a(Je), d = C(() => On({
2005
2005
  mode: c.value,
2006
2006
  select: n.select === "many" ? "many" : "one",
2007
2007
  activation: n.activation,
@@ -2043,14 +2043,14 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2043
2043
  return;
2044
2044
  }
2045
2045
  let { pinWidth: t, canSqueeze: r, canList: i } = d.value;
2046
- return qn(e, {
2046
+ return er(e, {
2047
2047
  pinWidth: t,
2048
2048
  fit: n.fit,
2049
2049
  canSqueeze: r,
2050
2050
  canList: i
2051
2051
  }, (e) => p.value = e);
2052
2052
  });
2053
- let ee = C(() => vn({
2053
+ let ee = C(() => Tn({
2054
2054
  layout: p.value,
2055
2055
  inline: s.value,
2056
2056
  fit: n.fit
@@ -2059,10 +2059,10 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2059
2059
  label: e.label,
2060
2060
  glyph: e.glyph,
2061
2061
  disabled: y.value[t]
2062
- }))), 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(() => pn(y.value, n.items.findIndex((e) => re(e.id))));
2062
+ }))), 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(() => bn(y.value, n.items.findIndex((e) => re(e.id))));
2063
2063
  function ae(e) {
2064
2064
  r("press", e);
2065
- let t = ne.value ? zn(i.value ?? [], e, n.items.map((e) => e.id)) : e;
2065
+ let t = ne.value ? Kn(i.value ?? [], e, n.items.map((e) => e.id)) : e;
2066
2066
  t !== i.value && r("update:modelValue", t);
2067
2067
  }
2068
2068
  function oe(e) {
@@ -2076,7 +2076,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2076
2076
  e.preventDefault(), t.click();
2077
2077
  return;
2078
2078
  }
2079
- let r = fn(f.value, e.key, n.orientation);
2079
+ let r = yn(f.value, e.key, n.orientation);
2080
2080
  if (!r) return;
2081
2081
  e.preventDefault();
2082
2082
  let i = n.items.find((e) => String(e.id) === r.dataset.selId);
@@ -2092,7 +2092,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2092
2092
  class: P([d.value.className, { "glim-sel--listed": _.value }]),
2093
2093
  style: F(ee.value.track),
2094
2094
  onKeydown: se
2095
- }, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(Pa, {
2095
+ }, [(R(!0), E(S, null, B(e.items, (t, n) => (R(), w(Va, {
2096
2096
  key: t.id,
2097
2097
  item: t,
2098
2098
  index: n,
@@ -2133,7 +2133,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2133
2133
  "hue-offset",
2134
2134
  "panel-id",
2135
2135
  "onSelect"
2136
- ]))), 128)), _.value ? (R(), E("div", Ia, [A(ye, {
2136
+ ]))), 128)), _.value ? (R(), E("div", Ua, [A(ye, {
2137
2137
  "model-value": v.value,
2138
2138
  label: G(o) ?? "",
2139
2139
  "hide-label": "",
@@ -2149,18 +2149,18 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2149
2149
  "size",
2150
2150
  "options",
2151
2151
  "disabled"
2152
- ])])) : T("", !0)], 46, Fa));
2152
+ ])])) : T("", !0)], 46, Ha));
2153
2153
  }
2154
- }), Ra = {
2154
+ }), Ga = {
2155
2155
  key: 0,
2156
2156
  class: "glim-toggle-label"
2157
- }, za = [
2157
+ }, Ka = [
2158
2158
  "aria-checked",
2159
2159
  "aria-label",
2160
2160
  "aria-disabled",
2161
2161
  "aria-describedby",
2162
2162
  "disabled"
2163
- ], Ba = ["id"], Va = /* @__PURE__ */ j({
2163
+ ], qa = ["id"], Ja = /* @__PURE__ */ j({
2164
2164
  inheritAttrs: !1,
2165
2165
  __name: "Toggle",
2166
2166
  props: /*@__PURE__*/ M({
@@ -2186,7 +2186,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2186
2186
  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;
2187
2187
  Te(() => u?.());
2188
2188
  function d() {
2189
- r.refused ? (u?.(), u = Sn(l.value)) : i.value = !i.value;
2189
+ r.refused ? (u?.(), u = kn(l.value)) : i.value = !i.value;
2190
2190
  }
2191
2191
  return (n, r) => (R(), E(S, null, [
2192
2192
  D("span", {
@@ -2195,7 +2195,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2195
2195
  "data-glim": "Toggle",
2196
2196
  class: P(["glim-toggle", n.$attrs.class]),
2197
2197
  style: F(n.$attrs.style)
2198
- }, [o.value ? (R(), E("span", Ra, W(e.label), 1)) : T("", !0), D("button", N({
2198
+ }, [o.value ? (R(), E("span", Ga, W(e.label), 1)) : T("", !0), D("button", N({
2199
2199
  ...n.$attrs,
2200
2200
  class: void 0,
2201
2201
  style: void 0
@@ -2214,25 +2214,25 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2214
2214
  onMouseleave: r[1] ||= (...e) => G(s).hide && G(s).hide(...e),
2215
2215
  onFocus: r[2] ||= (...e) => G(s).showOnFocus && G(s).showOnFocus(...e),
2216
2216
  onBlur: r[3] ||= (...e) => G(s).hide && G(s).hide(...e)
2217
- }), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, za)], 6),
2217
+ }), [...r[4] ||= [D("span", { class: "glim-toggle-thumb" }, null, -1)]], 16, Ka)], 6),
2218
2218
  e.refused ? (R(), E("span", {
2219
2219
  key: 0,
2220
2220
  id: G(c),
2221
2221
  class: "glim-toggle-refusal"
2222
- }, W(e.refused), 9, Ba)) : T("", !0),
2222
+ }, W(e.refused), 9, qa)) : T("", !0),
2223
2223
  A(t, { state: G(s) }, null, 8, ["state"])
2224
2224
  ], 64));
2225
2225
  }
2226
- }), Ha = {
2226
+ }), Ya = {
2227
2227
  key: 0,
2228
2228
  class: "glim-fortress-sub"
2229
- }, Ua = { class: "glim-permissions" }, Wa = ["data-permission"], Ga = {
2229
+ }, Xa = { class: "glim-permissions" }, Za = ["data-permission"], Qa = {
2230
2230
  class: "glim-permission-pair",
2231
2231
  "aria-hidden": "true"
2232
- }, Ka = ["src"], qa = { class: "glim-permission-to" }, Ja = ["src"], Ya = { class: "glim-permission-text" }, Xa = { class: "glim-permission-title" }, Za = {
2232
+ }, $a = ["src"], eo = { class: "glim-permission-to" }, to = ["src"], no = { class: "glim-permission-text" }, ro = { class: "glim-permission-title" }, io = {
2233
2233
  key: 0,
2234
2234
  class: "glim-fortress-sub"
2235
- }, Qa = /* @__PURE__ */ j({
2235
+ }, ao = /* @__PURE__ */ j({
2236
2236
  __name: "FortressPermissions",
2237
2237
  props: {
2238
2238
  text: {},
@@ -2244,7 +2244,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2244
2244
  hueIndex: {}
2245
2245
  },
2246
2246
  setup(e) {
2247
- let t = e, n = z("all"), r = C(() => Yt(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(() => [{
2247
+ let t = e, n = z("all"), r = C(() => Qt(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(() => [{
2248
2248
  id: "all",
2249
2249
  label: `${t.text.all} ${t.permissions.length}`
2250
2250
  }, {
@@ -2259,15 +2259,15 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2259
2259
  }
2260
2260
  t.notify?.(n.error ?? t.text.failed, "fail");
2261
2261
  let r = document.querySelector(`[data-permission="${CSS.escape(e.id)}"] .glim-toggle`);
2262
- r && Sn(r);
2262
+ r && kn(r);
2263
2263
  }
2264
- return (t, r) => (R(), w($n, {
2264
+ return (t, r) => (R(), w(or, {
2265
2265
  "data-glim": "FortressPermissions",
2266
2266
  title: e.text.permissions,
2267
2267
  hint: e.text.permissionsAbout,
2268
2268
  "hue-index": e.hueIndex
2269
2269
  }, {
2270
- default: Y(() => [e.permissions.length === 0 ? (R(), E("p", Ha, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(La, {
2270
+ default: Y(() => [e.permissions.length === 0 ? (R(), E("p", Ya, W(e.text.noPermissions), 1)) : (R(), E(S, { key: 1 }, [i.value ? (R(), w(Wa, {
2271
2271
  key: 0,
2272
2272
  modelValue: n.value,
2273
2273
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
@@ -2279,35 +2279,35 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2279
2279
  "modelValue",
2280
2280
  "label",
2281
2281
  "items"
2282
- ])) : T("", !0), D("ul", Ua, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
2282
+ ])) : T("", !0), D("ul", Xa, [(R(!0), E(S, null, B(a.value, (e) => (R(), E("li", {
2283
2283
  key: e.id,
2284
2284
  class: P(["glim-permission", e.on && "glim-permission--on"]),
2285
2285
  "data-permission": e.id
2286
2286
  }, [
2287
- D("span", Ga, [
2287
+ D("span", Qa, [
2288
2288
  s(e.from) ? (R(), E("img", {
2289
2289
  key: 0,
2290
2290
  src: s(e.from),
2291
2291
  alt: "",
2292
2292
  draggable: "false"
2293
- }, null, 8, Ka)) : T("", !0),
2293
+ }, null, 8, $a)) : T("", !0),
2294
2294
  A(G(b), {
2295
2295
  mark: G(Ge).expand,
2296
2296
  class: "glim-permission-arrow"
2297
2297
  }, null, 8, ["mark"]),
2298
- D("span", qa, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
2298
+ D("span", eo, [(R(!0), E(S, null, B(e.to, (e) => (R(), E(S, { key: e }, [s(e) ? (R(), E("img", {
2299
2299
  key: 0,
2300
2300
  src: s(e),
2301
2301
  alt: "",
2302
2302
  draggable: "false"
2303
- }, null, 8, Ja)) : T("", !0)], 64))), 128))])
2303
+ }, null, 8, to)) : T("", !0)], 64))), 128))])
2304
2304
  ]),
2305
- D("span", Ya, [
2306
- D("span", Xa, W(e.title), 1),
2307
- e.detail ? (R(), E("span", Za, W(e.detail), 1)) : T("", !0),
2305
+ D("span", no, [
2306
+ D("span", ro, W(e.title), 1),
2307
+ e.detail ? (R(), E("span", io, W(e.detail), 1)) : T("", !0),
2308
2308
  V(t.$slots, "extra", { permission: e })
2309
2309
  ]),
2310
- A(Va, {
2310
+ A(Ja, {
2311
2311
  "model-value": e.on,
2312
2312
  label: e.title,
2313
2313
  "hide-label": "",
@@ -2317,7 +2317,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2317
2317
  "label",
2318
2318
  "onUpdate:modelValue"
2319
2319
  ])
2320
- ], 10, Wa))), 128))])], 64))]),
2320
+ ], 10, Za))), 128))])], 64))]),
2321
2321
  _: 3
2322
2322
  }, 8, [
2323
2323
  "title",
@@ -2325,13 +2325,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2325
2325
  "hue-index"
2326
2326
  ]));
2327
2327
  }
2328
- }), $a = [
2328
+ }), oo = [
2329
2329
  "aria-label",
2330
2330
  "aria-invalid",
2331
2331
  "aria-describedby",
2332
2332
  "disabled",
2333
2333
  "type"
2334
- ], eo = /* @__PURE__ */ j({
2334
+ ], so = /* @__PURE__ */ j({
2335
2335
  inheritAttrs: !1,
2336
2336
  __name: "PasswordField",
2337
2337
  props: /*@__PURE__*/ M({
@@ -2378,7 +2378,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2378
2378
  disabled: e.disabled,
2379
2379
  type: i.value ? "text" : "password",
2380
2380
  class: "glim-input"
2381
- }), null, 16, $a), [[Ne, r.value]]), A(he, N(e.eyeAttrs, {
2381
+ }), null, 16, oo), [[Ne, r.value]]), A(he, N(e.eyeAttrs, {
2382
2382
  tip: i.value ? e.text.hide : e.text.show,
2383
2383
  class: "glim-secret-eye",
2384
2384
  disabled: e.disabled,
@@ -2386,7 +2386,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2386
2386
  }), {
2387
2387
  default: Y(() => [(R(), w(H(i.value ? G(ie) : G(_))))]),
2388
2388
  _: 1
2389
- }, 16, ["tip", "disabled"])], 6), l.value.errorId ? (R(), w(Ui, {
2389
+ }, 16, ["tip", "disabled"])], 6), l.value.errorId ? (R(), w(Xi, {
2390
2390
  key: 0,
2391
2391
  id: l.value.errorId
2392
2392
  }, {
@@ -2394,67 +2394,67 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2394
2394
  _: 1
2395
2395
  }, 8, ["id"])) : T("", !0)], 64));
2396
2396
  }
2397
- }), to = { class: "glim-phrase-fields" }, no = { class: "glim-phrase-number glim-num" }, ro = [
2397
+ }), co = { class: "glim-phrase-fields" }, lo = { class: "glim-phrase-number glim-num" }, uo = [
2398
2398
  "data-word",
2399
2399
  "value",
2400
2400
  "aria-label",
2401
2401
  "onInput"
2402
- ], io = { class: "glim-fortress-sub" }, ao = {
2402
+ ], fo = { class: "glim-fortress-sub" }, po = {
2403
2403
  key: 0,
2404
2404
  class: "glim-fortress-note",
2405
2405
  "data-fortress": "moves"
2406
- }, oo = {
2406
+ }, mo = {
2407
2407
  key: 1,
2408
2408
  class: "glim-fortress-error",
2409
2409
  role: "alert"
2410
- }, so = {
2410
+ }, ho = {
2411
2411
  key: 1,
2412
2412
  class: "glim-fortress-result"
2413
- }, co = {
2413
+ }, go = {
2414
2414
  class: "glim-fortress-result-mark",
2415
2415
  "aria-hidden": "true"
2416
- }, lo = { class: "glim-fortress-text" }, uo = { class: "glim-fortress-result-title" }, fo = { class: "glim-fortress-sub" }, po = {
2416
+ }, _o = { class: "glim-fortress-text" }, vo = { class: "glim-fortress-result-title" }, yo = { class: "glim-fortress-sub" }, bo = {
2417
2417
  key: 2,
2418
2418
  class: "glim-fortress-text"
2419
- }, mo = { class: "glim-fortress-sub" }, ho = {
2419
+ }, xo = { class: "glim-fortress-sub" }, So = {
2420
2420
  key: 0,
2421
2421
  class: "glim-fortress-error",
2422
2422
  role: "alert"
2423
- }, go = {
2423
+ }, Co = {
2424
2424
  key: 3,
2425
2425
  class: "glim-fortress-text"
2426
- }, _o = { class: "glim-fortress-sub" }, vo = {
2426
+ }, wo = { class: "glim-fortress-sub" }, To = {
2427
2427
  key: 0,
2428
2428
  class: "glim-fortress-error",
2429
2429
  role: "alert"
2430
- }, yo = {
2430
+ }, Eo = {
2431
2431
  key: 4,
2432
2432
  class: "glim-fortress-text"
2433
- }, bo = {
2433
+ }, Do = {
2434
2434
  key: 0,
2435
2435
  class: "glim-fortress-error",
2436
2436
  role: "alert"
2437
- }, xo = {
2437
+ }, Oo = {
2438
2438
  key: 0,
2439
2439
  class: "glim-fortress-error",
2440
2440
  role: "alert"
2441
- }, So = {
2441
+ }, ko = {
2442
2442
  key: 6,
2443
2443
  class: "glim-fortress-text"
2444
- }, Co = { class: "glim-fortress-sub" }, wo = {
2444
+ }, Ao = { class: "glim-fortress-sub" }, jo = {
2445
2445
  key: 0,
2446
2446
  class: "glim-fortress-error",
2447
2447
  role: "alert"
2448
- }, To = {
2448
+ }, Mo = {
2449
2449
  key: 7,
2450
2450
  class: "glim-fortress-text"
2451
- }, Eo = { class: "glim-phrase-show" }, Do = {
2451
+ }, No = { class: "glim-phrase-show" }, Po = {
2452
2452
  class: "glim-phrase-words",
2453
2453
  "data-fortress": "words"
2454
- }, Oo = { class: "glim-phrase-number glim-num" }, ko = ["aria-label", "viewBox"], Ao = ["width", "height"], jo = ["d"], Mo = { class: "glim-phrase-scan" }, No = {
2454
+ }, Fo = { class: "glim-phrase-number glim-num" }, Io = ["aria-label", "viewBox"], Lo = ["width", "height"], Ro = ["d"], zo = { class: "glim-phrase-scan" }, Bo = {
2455
2455
  key: 0,
2456
2456
  class: "glim-fortress-sub"
2457
- }, Po = /* @__PURE__ */ j({
2457
+ }, Vo = /* @__PURE__ */ j({
2458
2458
  __name: "FortressWindow",
2459
2459
  props: {
2460
2460
  flow: {},
@@ -2470,19 +2470,19 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2470
2470
  setup(e) {
2471
2471
  let t = e, n = U(null), r = z(!1), i;
2472
2472
  Te(() => clearTimeout(i));
2473
- let a = C(() => t.state.window), o = C(() => t.pairedWith?.length ? Ot(t.lang, t.pairedWith) : null), s = C(() => ({
2473
+ let a = C(() => t.state.window), o = C(() => t.pairedWith?.length ? At(t.lang, t.pairedWith) : null), s = C(() => ({
2474
2474
  cancel: t.text.cancel,
2475
2475
  close: t.text.close
2476
2476
  })), c = C(() => t.state.busy !== null), l;
2477
2477
  Te(() => l?.()), J(() => t.state.refusal, (e) => {
2478
2478
  let t = e && n.value?.card?.querySelector(`[data-fortress="${e.button}"]`);
2479
- t && (l = Sn(t));
2479
+ t && (l = kn(t));
2480
2480
  }), J(() => a.value.kind === "join" ? a.value.focus : -1, async (e) => {
2481
2481
  await we(), e >= 0 && n.value?.card?.querySelector(`[data-word="${e}"]`)?.focus();
2482
2482
  }), J(() => a.value.kind, async () => {
2483
2483
  await we();
2484
2484
  let e = n.value?.card;
2485
- e && Jn(e)?.focus();
2485
+ e && tr(e)?.focus();
2486
2486
  });
2487
2487
  function u(e, t, n, r, i = !1) {
2488
2488
  return {
@@ -2507,7 +2507,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2507
2507
  let f = C(() => {
2508
2508
  let e = a.value;
2509
2509
  if (e.kind !== "phrase" && e.kind !== "changed") return null;
2510
- let n = an(t.phraseQr ? t.phraseQr(e.words) : e.words.join(" "));
2510
+ let n = fn(t.phraseQr ? t.phraseQr(e.words) : e.words.join(" "));
2511
2511
  return {
2512
2512
  ...n,
2513
2513
  side: n.size + 8
@@ -2523,7 +2523,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2523
2523
  case "join": return {
2524
2524
  title: e.joinTitle,
2525
2525
  size: "wide",
2526
- actions: [u("join", r.join, e.join, i.join, !Xt(n.words))]
2526
+ actions: [u("join", r.join, e.join, i.join, !$t(n.words))]
2527
2527
  };
2528
2528
  case "joined": return {
2529
2529
  title: e.joinTitle,
@@ -2569,7 +2569,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2569
2569
  actions: []
2570
2570
  };
2571
2571
  });
2572
- return (t, i) => (R(), w(ta, {
2572
+ return (t, i) => (R(), w(ca, {
2573
2573
  ref_key: "win",
2574
2574
  ref: n,
2575
2575
  title: h.value.title,
@@ -2585,10 +2585,10 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2585
2585
  onSubmit: i[0] ||= X((t) => e.flow.join(), ["prevent"])
2586
2586
  }, [
2587
2587
  D("p", null, W(e.text.about), 1),
2588
- D("div", to, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
2588
+ D("div", co, [(R(!0), E(S, null, B(a.value.words, (t, n) => (R(), E("label", {
2589
2589
  key: n,
2590
2590
  class: "glim-phrase-field"
2591
- }, [D("span", no, W(n + 1), 1), D("input", {
2591
+ }, [D("span", lo, W(n + 1), 1), D("input", {
2592
2592
  class: "glim-input",
2593
2593
  "data-word": n,
2594
2594
  value: t,
@@ -2598,32 +2598,32 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2598
2598
  autocorrect: "off",
2599
2599
  spellcheck: "false",
2600
2600
  onInput: (t) => e.flow.enter(n, t.target.value)
2601
- }, null, 40, ro)]))), 128))]),
2601
+ }, null, 40, uo)]))), 128))]),
2602
2602
  i[4] ||= D("button", {
2603
2603
  type: "submit",
2604
2604
  hidden: ""
2605
2605
  }, null, -1),
2606
- D("p", io, W(e.text.phraseWhere), 1),
2607
- o.value ? (R(), E("p", ao, [G(m)("info") ? (R(), w(H(G(m)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
2606
+ D("p", fo, W(e.text.phraseWhere), 1),
2607
+ o.value ? (R(), E("p", po, [G(m)("info") ? (R(), w(H(G(m)("info")), { key: 0 })) : T("", !0), D("span", null, W(G(Z)(e.text.moves, {
2608
2608
  app: e.app.name,
2609
2609
  devices: o.value
2610
2610
  })), 1)])) : T("", !0),
2611
- e.state.error ? (R(), E("p", oo, W(e.state.error), 1)) : T("", !0)
2612
- ], 32)) : a.value.kind === "joined" ? (R(), E("div", so, [D("span", co, [A(G(b), { mark: G(Ge).check }, null, 8, ["mark"])]), D("div", lo, [D("p", uo, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", fo, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", po, [
2611
+ e.state.error ? (R(), E("p", mo, W(e.state.error), 1)) : T("", !0)
2612
+ ], 32)) : a.value.kind === "joined" ? (R(), E("div", ho, [D("span", go, [A(G(b), { mark: G(Ge).check }, null, 8, ["mark"])]), D("div", _o, [D("p", vo, W(G(Z)(e.text.joinedTitle, { app: e.app.name })), 1), D("p", yo, W(o.value ? `${G(Z)(e.text.joinedMoved, { devices: o.value })} ` : "") + W(e.text.joinedNext), 1)])])) : a.value.kind === "leave" ? (R(), E("div", bo, [
2613
2613
  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),
2614
- D("p", mo, W(e.text.leaveBack), 1),
2615
- e.state.error ? (R(), E("p", ho, W(e.state.error), 1)) : T("", !0)
2616
- ])) : a.value.kind === "remove" ? (R(), E("div", go, [
2614
+ D("p", xo, W(e.text.leaveBack), 1),
2615
+ e.state.error ? (R(), E("p", So, W(e.state.error), 1)) : T("", !0)
2616
+ ])) : a.value.kind === "remove" ? (R(), E("div", Co, [
2617
2617
  D("p", null, W(G(Z)(e.text.removeBody, { device: a.value.device })), 1),
2618
- D("p", _o, W(e.text.removeBack), 1),
2619
- e.state.error ? (R(), E("p", vo, W(e.state.error), 1)) : T("", !0)
2620
- ])) : a.value.kind === "removed" ? (R(), E("div", yo, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", bo, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
2618
+ D("p", wo, W(e.text.removeBack), 1),
2619
+ e.state.error ? (R(), E("p", To, W(e.state.error), 1)) : T("", !0)
2620
+ ])) : a.value.kind === "removed" ? (R(), E("div", Eo, [D("p", null, W(G(Z)(e.text.removedBody, { device: a.value.device })), 1), e.state.error ? (R(), E("p", Do, W(e.state.error), 1)) : T("", !0)])) : a.value.kind === "phrase" && a.value.step === "password" ? (R(), E("form", {
2621
2621
  key: 5,
2622
2622
  class: "glim-fortress-text",
2623
2623
  onSubmit: i[2] ||= X((t) => e.flow.unlock(), ["prevent"])
2624
2624
  }, [
2625
2625
  D("p", null, W(G(Z)(e.text.phrasePassword, { app: e.app.name })), 1),
2626
- A(eo, {
2626
+ A(so, {
2627
2627
  "model-value": a.value.password,
2628
2628
  "aria-label": G(Z)(e.text.password, { app: e.app.name }),
2629
2629
  placeholder: G(Z)(e.text.password, { app: e.app.name }),
@@ -2638,15 +2638,15 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2638
2638
  "placeholder",
2639
2639
  "text"
2640
2640
  ]),
2641
- e.state.error ? (R(), E("p", xo, W(e.state.error), 1)) : T("", !0)
2642
- ], 32)) : a.value.kind === "change" ? (R(), E("div", So, [
2641
+ e.state.error ? (R(), E("p", Oo, W(e.state.error), 1)) : T("", !0)
2642
+ ], 32)) : a.value.kind === "change" ? (R(), E("div", ko, [
2643
2643
  D("p", null, W(e.text.changeBody), 1),
2644
- D("p", Co, W(e.text.changeAway), 1),
2645
- e.state.error ? (R(), E("p", wo, W(e.state.error), 1)) : T("", !0)
2646
- ])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", To, [
2644
+ D("p", Ao, W(e.text.changeAway), 1),
2645
+ e.state.error ? (R(), E("p", jo, W(e.state.error), 1)) : T("", !0)
2646
+ ])) : a.value.kind === "phrase" || a.value.kind === "changed" ? (R(), E("div", Mo, [
2647
2647
  D("p", null, W(e.text.phraseBody), 1),
2648
- D("div", Eo, [
2649
- D("ol", Do, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", Oo, W(t + 1), 1), k(W(e), 1)]))), 128))]),
2648
+ D("div", No, [
2649
+ D("ol", Po, [(R(!0), E(S, null, B(a.value.words, (e, t) => (R(), E("li", { key: t }, [D("span", Fo, W(t + 1), 1), k(W(e), 1)]))), 128))]),
2650
2650
  f.value ? (R(), E("svg", {
2651
2651
  key: 0,
2652
2652
  class: "glim-phrase-qr",
@@ -2661,13 +2661,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2661
2661
  width: f.value.side,
2662
2662
  height: f.value.side,
2663
2663
  fill: "#ffffff"
2664
- }, null, 8, Ao), D("path", {
2664
+ }, null, 8, Lo), D("path", {
2665
2665
  d: f.value.path,
2666
2666
  fill: "#161616"
2667
- }, null, 8, jo)], 8, ko)) : T("", !0),
2668
- D("p", Mo, W(e.text.scanHint), 1)
2667
+ }, null, 8, Ro)], 8, Io)) : T("", !0),
2668
+ D("p", zo, W(e.text.scanHint), 1)
2669
2669
  ]),
2670
- a.value.kind === "changed" && a.value.left.length ? (R(), E("p", No, W(G(Z)(e.text.changedLeft, { devices: G(Ot)(e.lang, a.value.left) })), 1)) : T("", !0)
2670
+ a.value.kind === "changed" && a.value.left.length ? (R(), E("p", Bo, W(G(Z)(e.text.changedLeft, { devices: G(At)(e.lang, a.value.left) })), 1)) : T("", !0)
2671
2671
  ])) : T("", !0)]),
2672
2672
  _: 1
2673
2673
  }, 8, [
@@ -2678,25 +2678,25 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2678
2678
  "text"
2679
2679
  ]));
2680
2680
  }
2681
- }), Fo = {
2681
+ }), Ho = {
2682
2682
  "data-glim": "Fortress",
2683
2683
  class: "glim-fortress"
2684
- }, Io = { class: "glim-fortress-grid" }, Lo = {
2684
+ }, Uo = { class: "glim-fortress-grid" }, Wo = {
2685
2685
  key: 0,
2686
2686
  class: "glim-card glim-instance glim-instance--out",
2687
2687
  "data-fortress": "out"
2688
- }, Ro = { class: "glim-instance-title" }, zo = { class: "glim-instance-hint" }, Bo = {
2688
+ }, Go = { class: "glim-instance-title" }, Ko = { class: "glim-instance-hint" }, qo = {
2689
2689
  key: 0,
2690
2690
  class: "glim-instance-found"
2691
- }, Vo = ["src"], Ho = { class: "glim-fortress-switch-text" }, Uo = { class: "glim-fortress-switch-name" }, Wo = { class: "glim-fortress-sub" }, Go = {
2691
+ }, Jo = ["src"], Yo = { class: "glim-fortress-switch-text" }, Xo = { class: "glim-fortress-switch-name" }, Zo = { class: "glim-fortress-sub" }, Qo = {
2692
2692
  key: 1,
2693
2693
  class: "glim-fortress-removed",
2694
2694
  "data-fortress": "removed",
2695
2695
  role: "status"
2696
- }, Ko = { class: "glim-fortress-grid" }, qo = {
2696
+ }, $o = { class: "glim-fortress-grid" }, es = {
2697
2697
  key: 3,
2698
2698
  class: "glim-fortress-actions"
2699
- }, Jo = /* @__PURE__ */ j({
2699
+ }, ts = /* @__PURE__ */ j({
2700
2700
  __name: "Fortress",
2701
2701
  props: {
2702
2702
  text: {},
@@ -2737,7 +2737,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2737
2737
  let n = e, r = t, i = st(() => ({
2738
2738
  ...n,
2739
2739
  failed: n.text.failed,
2740
- joinRefusal: (e) => wt(n.text, e)
2740
+ joinRefusal: (e) => Et(n.text, e)
2741
2741
  })), a = U(i.state()), o = i.subscribe(() => a.value = i.state());
2742
2742
  I(o);
2743
2743
  let s = C(() => ({
@@ -2750,20 +2750,20 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2750
2750
  unlock: "unlock",
2751
2751
  copy: "copy",
2752
2752
  ...n.labelKeys
2753
- })), c = z(Mn()), l = C(() => n.showOthers ?? c.value);
2753
+ })), c = z(zn()), l = C(() => n.showOthers ?? c.value);
2754
2754
  function u(e) {
2755
- r("update:showOthers", e), n.showOthers === void 0 && (jn(e), c.value = e);
2755
+ r("update:showOthers", e), n.showOthers === void 0 && (Rn(e), c.value = e);
2756
2756
  }
2757
- let d = C(() => Z(n.text.removedNote, { devices: Ot(n.lang, n.removed) })), p = C(() => Jt(n.text, n.lang, n.apps));
2758
- return (t, n) => (R(), E("div", Fo, [
2759
- D("div", Io, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", Lo, [
2760
- D("h3", Ro, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
2761
- D("p", zo, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
2762
- e.found ? (R(), E("p", Bo, [e.found.logo ? (R(), E("img", {
2757
+ let d = C(() => Z(n.text.removedNote, { devices: At(n.lang, n.removed) })), p = C(() => Xt(n.text, n.lang, n.apps));
2758
+ return (t, n) => (R(), E("div", Ho, [
2759
+ D("div", Uo, [V(t.$slots, "default", { remove: G(i).openRemove }), e.joined ? T("", !0) : (R(), E("div", Wo, [
2760
+ D("h3", Go, W(e.removedHere ? e.text.removedHereTitle : e.text.outTitle), 1),
2761
+ D("p", Ko, W(G(Z)(e.removedHere ? e.text.removedHereHint : e.text.outHint, { app: e.app.name })), 1),
2762
+ e.found ? (R(), E("p", qo, [e.found.logo ? (R(), E("img", {
2763
2763
  key: 0,
2764
2764
  src: e.found.logo,
2765
2765
  alt: ""
2766
- }, null, 8, Vo)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
2766
+ }, null, 8, Jo)) : T("", !0), D("span", null, W(G(Z)(e.text.found, {
2767
2767
  app: e.found.app,
2768
2768
  device: e.found.device
2769
2769
  })), 1)])) : T("", !0)
@@ -2771,15 +2771,15 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2771
2771
  e.joined && !e.hideSwitch ? (R(), E("div", {
2772
2772
  key: 0,
2773
2773
  class: "glim-card glim-fortress-switch glim-hue",
2774
- style: F(G(xt)(e.hueStart))
2775
- }, [D("span", Ho, [D("span", Uo, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Wo, W(p.value), 1)]), A(Va, {
2774
+ style: F(G(St)(e.hueStart))
2775
+ }, [D("span", Yo, [D("span", Xo, [k(W(e.text.showOthers), 1), A(Q, { tip: e.text.about }, null, 8, ["tip"])]), D("span", Zo, W(p.value), 1)]), A(Ja, {
2776
2776
  "model-value": l.value,
2777
2777
  label: e.text.showOthers,
2778
2778
  "hide-label": "",
2779
2779
  "data-fortress": "others",
2780
2780
  "onUpdate:modelValue": u
2781
2781
  }, null, 8, ["model-value", "label"])], 4)) : T("", !0),
2782
- e.joined && e.removed.length ? (R(), E("div", Go, [
2782
+ e.joined && e.removed.length ? (R(), E("div", Qo, [
2783
2783
  G(m)("info") ? (R(), w(H(G(m)("info")), { key: 0 })) : T("", !0),
2784
2784
  D("span", null, W(d.value), 1),
2785
2785
  e.onChangePhrase ? (R(), w(f, {
@@ -2791,11 +2791,11 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2791
2791
  onClick: n[0] ||= (e) => G(i).openChange()
2792
2792
  }, null, 8, ["label", "label-key"])) : T("", !0)
2793
2793
  ])) : T("", !0),
2794
- e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", Ko, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
2794
+ e.joined && l.value ? (R(), E(S, { key: 2 }, [D("div", $o, [(R(!0), E(S, null, B(e.apps, (n, r) => (R(), E(S, { key: n.id }, [t.$slots.app ? V(t.$slots, "app", {
2795
2795
  app: n,
2796
2796
  hueIndex: e.hueStart + 1 + r,
2797
2797
  remove: e.onRemove && G(i).openRemove
2798
- }, void 0, void 0, 0) : (R(), w(Aa, {
2798
+ }, void 0, void 0, 0) : (R(), w(La, {
2799
2799
  key: 1,
2800
2800
  app: n,
2801
2801
  text: e.text,
@@ -2812,7 +2812,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2812
2812
  "on-open",
2813
2813
  "on-remove",
2814
2814
  "remove-key"
2815
- ]))], 64))), 128))]), A(Qa, {
2815
+ ]))], 64))), 128))]), A(ao, {
2816
2816
  text: e.text,
2817
2817
  app: e.app,
2818
2818
  apps: [e.app, ...e.apps],
@@ -2832,7 +2832,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2832
2832
  "notify",
2833
2833
  "hue-index"
2834
2834
  ])], 64)) : T("", !0),
2835
- !e.joined || e.onShowPhrase ? (R(), E("div", qo, [e.joined ? (R(), w(f, {
2835
+ !e.joined || e.onShowPhrase ? (R(), E("div", es, [e.joined ? (R(), w(f, {
2836
2836
  key: 0,
2837
2837
  label: e.text.showPhrase,
2838
2838
  "label-key": s.value.showPhrase,
@@ -2854,7 +2854,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2854
2854
  "data-fortress": "open-join",
2855
2855
  onClick: n[2] ||= (e) => G(i).openJoin()
2856
2856
  }, null, 8, ["label", "label-key"]))])) : T("", !0),
2857
- a.value.window ? (R(), w(Po, {
2857
+ a.value.window ? (R(), w(Vo, {
2858
2858
  key: 4,
2859
2859
  flow: G(i),
2860
2860
  state: a.value,
@@ -2876,7 +2876,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2876
2876
  ])) : T("", !0)
2877
2877
  ]));
2878
2878
  }
2879
- }), Yo = /* @__PURE__ */ j({
2879
+ }), ns = /* @__PURE__ */ j({
2880
2880
  __name: "FortressPairing",
2881
2881
  props: {
2882
2882
  text: {},
@@ -2909,14 +2909,14 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2909
2909
  copy: "copy",
2910
2910
  ...t.labelKeys
2911
2911
  }));
2912
- return (t, i) => (R(), w($n, {
2912
+ return (t, i) => (R(), w(or, {
2913
2913
  "data-glim": "FortressPairing",
2914
2914
  title: e.text.pairing,
2915
2915
  "hue-index": e.hueIndex
2916
2916
  }, {
2917
2917
  default: Y(() => [
2918
2918
  V(t.$slots, "default"),
2919
- e.onShowPhrase || e.onChangePhrase ? (R(), w(qi, {
2919
+ e.onShowPhrase || e.onChangePhrase ? (R(), w(ea, {
2920
2920
  key: 0,
2921
2921
  label: e.text.phraseTitle,
2922
2922
  hint: e.onChangePhrase ? e.text.changePhraseAbout : void 0
@@ -2941,7 +2941,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2941
2941
  }, null, 8, ["label", "label-key"])) : T("", !0)]),
2942
2942
  _: 1
2943
2943
  }, 8, ["label", "hint"])) : T("", !0),
2944
- A(qi, {
2944
+ A(ea, {
2945
2945
  label: e.text.leaveRow,
2946
2946
  hint: G(Z)(e.text.leaveAbout, { app: e.app.name })
2947
2947
  }, {
@@ -2954,7 +2954,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2954
2954
  _: 1
2955
2955
  }, 8, ["label", "hint"]),
2956
2956
  V(t.$slots, "after"),
2957
- r.value.window ? (R(), w(Po, {
2957
+ r.value.window ? (R(), w(Vo, {
2958
2958
  key: 1,
2959
2959
  flow: G(n),
2960
2960
  state: r.value,
@@ -2980,13 +2980,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
2980
2980
  _: 3
2981
2981
  }, 8, ["title", "hue-index"]));
2982
2982
  }
2983
- }), Xo = [
2983
+ }), rs = [
2984
2984
  "aria-label",
2985
2985
  "aria-valuemin",
2986
2986
  "aria-valuemax",
2987
2987
  "aria-valuenow",
2988
2988
  "aria-valuetext"
2989
- ], Zo = /* @__PURE__ */ j({
2989
+ ], is = /* @__PURE__ */ j({
2990
2990
  __name: "ProgressBar",
2991
2991
  props: {
2992
2992
  value: { default: null },
@@ -3002,7 +3002,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3002
3002
  valueText: {}
3003
3003
  },
3004
3004
  setup(e) {
3005
- let t = e, n = C(() => rn(t.value, {
3005
+ let t = e, n = C(() => dn(t.value, {
3006
3006
  paused: t.paused,
3007
3007
  failed: t.failed
3008
3008
  }));
@@ -3018,48 +3018,48 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3018
3018
  }, [D("span", {
3019
3019
  class: "glim-progress-fill",
3020
3020
  style: F(n.value.width ? { width: n.value.width } : void 0)
3021
- }, null, 4)], 10, Xo));
3021
+ }, null, 4)], 10, rs));
3022
3022
  }
3023
- }), Qo = { class: "glim-status-title" }, $o = ["src"], es = {
3023
+ }), as = { class: "glim-status-title" }, os = ["src"], ss = {
3024
3024
  class: "glim-fortress-text",
3025
3025
  "data-fortress": "status"
3026
- }, ts = {
3026
+ }, cs = {
3027
3027
  key: 0,
3028
3028
  class: "glim-fortress-note",
3029
3029
  "data-fortress": "loading"
3030
- }, ns = { role: "status" }, rs = {
3030
+ }, ls = { role: "status" }, us = {
3031
3031
  key: 1,
3032
3032
  class: "glim-fortress-note",
3033
3033
  role: "status",
3034
3034
  "data-fortress": "error"
3035
- }, is = {
3035
+ }, ds = {
3036
3036
  key: 2,
3037
3037
  class: "glim-status-state",
3038
3038
  "data-fortress": "state"
3039
- }, as = {
3039
+ }, fs = {
3040
3040
  key: 0,
3041
3041
  class: "glim-fortress-sub"
3042
- }, os = {
3042
+ }, ps = {
3043
3043
  key: 3,
3044
3044
  class: "glim-status-section",
3045
3045
  "data-fortress": "needs"
3046
- }, ss = { class: "glim-status-heading" }, cs = { class: "glim-status-list" }, ls = {
3046
+ }, ms = { class: "glim-status-heading" }, hs = { class: "glim-status-list" }, gs = {
3047
3047
  key: 4,
3048
3048
  class: "glim-status-section",
3049
3049
  "data-fortress": "work"
3050
- }, us = { class: "glim-status-heading" }, ds = { class: "glim-status-list" }, fs = {
3050
+ }, _s = { class: "glim-status-heading" }, vs = { class: "glim-status-list" }, ys = {
3051
3051
  key: 5,
3052
3052
  class: "glim-status-section",
3053
3053
  "data-fortress": "next"
3054
- }, ps = { class: "glim-status-heading" }, ms = { class: "glim-status-list" }, hs = { class: "glim-status-at glim-num" }, gs = {
3054
+ }, bs = { class: "glim-status-heading" }, xs = { class: "glim-status-list" }, Ss = { class: "glim-status-at glim-num" }, Cs = {
3055
3055
  key: 6,
3056
3056
  class: "glim-status-section",
3057
3057
  "data-fortress": "log"
3058
- }, _s = { class: "glim-status-heading" }, vs = { class: "glim-status-list" }, ys = { class: "glim-status-at glim-num" }, bs = {
3058
+ }, ws = { class: "glim-status-heading" }, Ts = { class: "glim-status-list" }, Es = { class: "glim-status-at glim-num" }, Ds = {
3059
3059
  key: 7,
3060
3060
  class: "glim-fortress-sub",
3061
3061
  "data-fortress": "where"
3062
- }, xs = /* @__PURE__ */ j({
3062
+ }, Os = /* @__PURE__ */ j({
3063
3063
  __name: "FortressStatusWindow",
3064
3064
  props: {
3065
3065
  app: {},
@@ -3073,7 +3073,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3073
3073
  onClose: { type: Function }
3074
3074
  },
3075
3075
  setup(t) {
3076
- let n = t, r = C(() => An({
3076
+ let n = t, r = C(() => Ln({
3077
3077
  app: n.app,
3078
3078
  instance: n.instance,
3079
3079
  report: n.report,
@@ -3087,7 +3087,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3087
3087
  glyph: g,
3088
3088
  wayOut: !0
3089
3089
  }]), a = m("info");
3090
- return (n, o) => (R(), w(ta, {
3090
+ return (n, o) => (R(), w(ca, {
3091
3091
  "data-glim": "FortressStatusWindow",
3092
3092
  lang: t.lang,
3093
3093
  title: r.value.title,
@@ -3098,22 +3098,22 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3098
3098
  },
3099
3099
  onClose: o[0] ||= (e) => t.onClose()
3100
3100
  }, {
3101
- title: Y(() => [D("span", Qo, [t.app.logo ? (R(), E("img", {
3101
+ title: Y(() => [D("span", as, [t.app.logo ? (R(), E("img", {
3102
3102
  key: 0,
3103
3103
  src: t.app.logo,
3104
3104
  alt: ""
3105
- }, null, 8, $o)) : T("", !0), k(W(r.value.title), 1)])]),
3106
- default: Y(() => [D("div", es, [
3107
- r.value.loading ? (R(), E("p", ts, [A(c, {
3105
+ }, null, 8, os)) : T("", !0), k(W(r.value.title), 1)])]),
3106
+ default: Y(() => [D("div", ss, [
3107
+ r.value.loading ? (R(), E("p", cs, [A(c, {
3108
3108
  size: "small",
3109
3109
  delay: 0
3110
- }), D("span", ns, W(r.value.loading), 1)])) : T("", !0),
3111
- r.value.error === void 0 ? T("", !0) : (R(), E("p", rs, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
3112
- r.value.state ? (R(), E("p", is, [A(e, { tone: r.value.state.tone }, {
3110
+ }), D("span", ls, W(r.value.loading), 1)])) : T("", !0),
3111
+ r.value.error === void 0 ? T("", !0) : (R(), E("p", us, [G(a) ? (R(), w(H(G(a)), { key: 0 })) : T("", !0), D("span", null, W(r.value.error), 1)])),
3112
+ r.value.state ? (R(), E("p", ds, [A(e, { tone: r.value.state.tone }, {
3113
3113
  default: Y(() => [k(W(r.value.state.label), 1)]),
3114
3114
  _: 1
3115
- }, 8, ["tone"]), r.value.quiet ? (R(), E("span", as, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
3116
- r.value.needsYou.length ? (R(), E("section", os, [D("h3", ss, W(t.text.statusNeedsYou), 1), D("ul", cs, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
3115
+ }, 8, ["tone"]), r.value.quiet ? (R(), E("span", fs, W(r.value.quiet), 1)) : T("", !0)])) : T("", !0),
3116
+ r.value.needsYou.length ? (R(), E("section", ps, [D("h3", ms, W(t.text.statusNeedsYou), 1), D("ul", hs, [(R(!0), E(S, null, B(r.value.needsYou, (t, n) => (R(), E("li", {
3117
3117
  key: n,
3118
3118
  class: "glim-status-line"
3119
3119
  }, [
@@ -3127,26 +3127,26 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3127
3127
  o[1] ||= k(),
3128
3128
  D("span", null, W(t.text), 1)
3129
3129
  ]))), 128))])])) : T("", !0),
3130
- r.value.work.length ? (R(), E("section", ls, [D("h3", us, W(t.text.statusWork), 1), D("ul", ds, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
3130
+ r.value.work.length ? (R(), E("section", gs, [D("h3", _s, W(t.text.statusWork), 1), D("ul", vs, [(R(!0), E(S, null, B(r.value.work, (e, t) => (R(), E("li", {
3131
3131
  key: t,
3132
3132
  class: "glim-status-work"
3133
- }, [D("span", null, W(e.title), 1), A(Zo, {
3133
+ }, [D("span", null, W(e.title), 1), A(is, {
3134
3134
  value: e.progress,
3135
3135
  label: e.title
3136
3136
  }, null, 8, ["value", "label"])]))), 128))])])) : T("", !0),
3137
- r.value.next.length ? (R(), E("section", fs, [D("h3", ps, W(t.text.statusNext), 1), D("ul", ms, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
3137
+ r.value.next.length ? (R(), E("section", ys, [D("h3", bs, W(t.text.statusNext), 1), D("ul", xs, [(R(!0), E(S, null, B(r.value.next, (e, t) => (R(), E("li", {
3138
3138
  key: t,
3139
3139
  class: "glim-status-line"
3140
3140
  }, [
3141
3141
  D("span", null, W(e.title), 1),
3142
3142
  o[2] ||= k(),
3143
- D("span", hs, W(e.at), 1)
3143
+ D("span", Ss, W(e.at), 1)
3144
3144
  ]))), 128))])])) : T("", !0),
3145
- r.value.log.length ? (R(), E("section", gs, [D("h3", _s, W(t.text.statusLog), 1), D("ul", vs, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
3145
+ r.value.log.length ? (R(), E("section", Cs, [D("h3", ws, W(t.text.statusLog), 1), D("ul", Ts, [(R(!0), E(S, null, B(r.value.log, (t, n) => (R(), E("li", {
3146
3146
  key: n,
3147
3147
  class: "glim-status-line"
3148
3148
  }, [
3149
- D("span", ys, W(t.at), 1),
3149
+ D("span", Es, W(t.at), 1),
3150
3150
  o[3] ||= k(),
3151
3151
  t.level ? (R(), w(e, {
3152
3152
  key: 0,
@@ -3158,7 +3158,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3158
3158
  o[4] ||= k(),
3159
3159
  D("span", null, W(t.text), 1)
3160
3160
  ]))), 128))])])) : T("", !0),
3161
- r.value.where ? (R(), E("p", bs, W(r.value.where), 1)) : T("", !0)
3161
+ r.value.where ? (R(), E("p", Ds, W(r.value.where), 1)) : T("", !0)
3162
3162
  ])]),
3163
3163
  _: 1
3164
3164
  }, 8, [
@@ -3168,10 +3168,10 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3168
3168
  "text"
3169
3169
  ]));
3170
3170
  }
3171
- }), Ss = {
3171
+ }), ks = {
3172
3172
  class: "glim-glyph-field-glyph",
3173
3173
  "aria-hidden": "true"
3174
- }, Cs = ["aria-label"], ws = /* @__PURE__ */ j({
3174
+ }, As = ["aria-label"], js = /* @__PURE__ */ j({
3175
3175
  inheritAttrs: !1,
3176
3176
  __name: "GlyphField",
3177
3177
  props: /*@__PURE__*/ M({
@@ -3197,7 +3197,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3197
3197
  ]),
3198
3198
  style: F(t.$attrs.style)
3199
3199
  }, [
3200
- D("span", Ss, [(R(), w(H(e.glyph)))]),
3200
+ D("span", ks, [(R(), w(H(e.glyph)))]),
3201
3201
  Le(D("input", N({
3202
3202
  ref_key: "input",
3203
3203
  ref: o,
@@ -3208,11 +3208,11 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3208
3208
  ...t.$attrs,
3209
3209
  class: void 0,
3210
3210
  style: void 0
3211
- }, { class: "glim-glyph-field-input" }), null, 16, Cs), [[Pe, r.value]]),
3211
+ }, { class: "glim-glyph-field-input" }), null, 16, As), [[Pe, r.value]]),
3212
3212
  V(t.$slots, "after")
3213
3213
  ], 6));
3214
3214
  }
3215
- }), Ts = /* @__PURE__ */ j({
3215
+ }), Ms = /* @__PURE__ */ j({
3216
3216
  __name: "GlyphTile",
3217
3217
  props: {
3218
3218
  glyph: {},
@@ -3231,17 +3231,17 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3231
3231
  "aria-hidden": "true"
3232
3232
  }, [(R(), w(H(e.glyph)))], 2));
3233
3233
  }
3234
- }), Es = [
3234
+ }), Ns = [
3235
3235
  "aria-label",
3236
3236
  "tabindex",
3237
3237
  "onKeydown"
3238
- ], Ds = {
3238
+ ], Ps = {
3239
3239
  key: 0,
3240
3240
  class: "glim-list-row-tile"
3241
- }, Os = { class: "glim-list-row-title" }, ks = {
3241
+ }, Fs = { class: "glim-list-row-title" }, Is = {
3242
3242
  key: 1,
3243
3243
  class: "glim-list-row-badges"
3244
- }, As = /* @__PURE__ */ j({
3244
+ }, Ls = /* @__PURE__ */ j({
3245
3245
  __name: "ListRow",
3246
3246
  props: {
3247
3247
  name: {},
@@ -3261,21 +3261,21 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3261
3261
  class: P(["glim-list-row", { "glim-list-row--opens": r.value }]),
3262
3262
  onKeydown: [Re(X(a, ["self"]), ["enter"]), Re(X(a, ["self"]), ["space"])]
3263
3263
  }, [
3264
- t.$slots.tile ? (R(), E("span", Ds, [V(t.$slots, "tile")])) : T("", !0),
3265
- D("span", { class: P(i.value) }, [D("span", Os, W(e.name), 1), e.tip ? (R(), E("span", {
3264
+ t.$slots.tile ? (R(), E("span", Ps, [V(t.$slots, "tile")])) : T("", !0),
3265
+ D("span", { class: P(i.value) }, [D("span", Fs, W(e.name), 1), e.tip ? (R(), E("span", {
3266
3266
  key: 0,
3267
3267
  class: "glim-list-row-tip",
3268
3268
  onClick: n[0] ||= X(() => {}, ["stop"])
3269
3269
  }, [A(Q, { tip: e.tip }, null, 8, ["tip"])])) : T("", !0)], 2),
3270
- t.$slots.badges ? (R(), E("span", ks, [V(t.$slots, "badges")])) : T("", !0),
3270
+ t.$slots.badges ? (R(), E("span", Is, [V(t.$slots, "badges")])) : T("", !0),
3271
3271
  t.$slots.actions ? (R(), E("span", {
3272
3272
  key: 2,
3273
3273
  class: "glim-list-row-actions",
3274
3274
  onClick: n[1] ||= X(() => {}, ["stop"])
3275
3275
  }, [V(t.$slots, "actions")])) : T("", !0)
3276
- ], 42, Es));
3276
+ ], 42, Ns));
3277
3277
  }
3278
- }), js = ["aria-label"], Ms = /* @__PURE__ */ j({
3278
+ }), Rs = ["aria-label"], zs = /* @__PURE__ */ j({
3279
3279
  __name: "Popover",
3280
3280
  props: {
3281
3281
  open: { type: Boolean },
@@ -3290,7 +3290,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3290
3290
  () => n.anchor,
3291
3291
  i
3292
3292
  ], ([e, t, n]) => {
3293
- o?.(), o = void 0, e && t && n && (o = Kt(n, t, a, () => r("close")));
3293
+ o?.(), o = void 0, e && t && n && (o = Jt(n, t, a, () => r("close")));
3294
3294
  }, { flush: "post" }), I(() => o?.()), (t, n) => e.open ? (R(), E("div", {
3295
3295
  key: 0,
3296
3296
  "data-glim": "Popover",
@@ -3300,24 +3300,24 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3300
3300
  role: "dialog",
3301
3301
  "aria-label": e.label,
3302
3302
  class: "glim-popover"
3303
- }, [V(t.$slots, "default")], 8, js)) : T("", !0);
3303
+ }, [V(t.$slots, "default")], 8, Rs)) : T("", !0);
3304
3304
  }
3305
- }), Ns = {
3305
+ }), Bs = {
3306
3306
  "data-glim": "ListTable",
3307
3307
  class: "glim-list"
3308
- }, Ps = ["aria-label", "onKeydown"], Fs = ["aria-label", "aria-describedby"], Is = ["aria-sort"], Ls = { class: "glim-list-th-box" }, Rs = ["onClick"], zs = [
3308
+ }, Vs = ["aria-label", "onKeydown"], Hs = ["aria-label", "aria-describedby"], Us = ["aria-sort"], Ws = { class: "glim-list-th-box" }, Gs = ["onClick"], Ks = [
3309
3309
  "aria-label",
3310
3310
  "aria-expanded",
3311
3311
  "aria-pressed",
3312
3312
  "onClick"
3313
- ], Bs = [
3313
+ ], qs = [
3314
3314
  "aria-selected",
3315
3315
  "onClick",
3316
3316
  "onDblclick"
3317
- ], Vs = ["tabindex"], Hs = {
3317
+ ], Js = ["tabindex"], Ys = {
3318
3318
  key: 1,
3319
3319
  class: "glim-list-empty"
3320
- }, Us = ["id"], Ws = { class: "glim-list-filter-values" }, Gs = /* @__PURE__ */ j({
3320
+ }, Xs = ["id"], Zs = { class: "glim-list-filter-values" }, Qs = /* @__PURE__ */ j({
3321
3321
  __name: "ListTable",
3322
3322
  props: {
3323
3323
  label: {},
@@ -3333,7 +3333,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3333
3333
  keys: [],
3334
3334
  anchor: null,
3335
3335
  focus: null
3336
- }), c = z(null), l = z(null), u = z(null), d = K(), f = C(() => kt(n.rows, {
3336
+ }), c = z(null), l = z(null), u = z(null), d = K(), f = C(() => jt(n.rows, {
3337
3337
  sort: i.value,
3338
3338
  filters: a.value,
3339
3339
  query: o.value ?? "",
@@ -3358,14 +3358,14 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3358
3358
  }, r("select", e.selected.map((e) => f.value[e])), h();
3359
3359
  }
3360
3360
  function ee(e) {
3361
- let t = Dt(m.value, e.key, {
3361
+ let t = kt(m.value, e.key, {
3362
3362
  toggle: e.ctrlKey || e.metaKey,
3363
3363
  range: e.shiftKey
3364
3364
  }, f.value.length);
3365
3365
  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));
3366
3366
  }
3367
3367
  function _(e, t) {
3368
- g(gn(m.value, t, {
3368
+ g(Cn(m.value, t, {
3369
3369
  toggle: e.ctrlKey || e.metaKey,
3370
3370
  range: e.shiftKey
3371
3371
  }));
@@ -3388,7 +3388,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3388
3388
  };
3389
3389
  }
3390
3390
  let ie = (e, t) => String(e[t] ?? "");
3391
- return (t, n) => (R(), E("div", Ns, [
3391
+ return (t, n) => (R(), E("div", Bs, [
3392
3392
  o.value === null ? T("", !0) : Le((R(), E("input", {
3393
3393
  key: 0,
3394
3394
  ref_key: "searchField",
@@ -3398,7 +3398,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3398
3398
  type: "search",
3399
3399
  "aria-label": e.text.search,
3400
3400
  onKeydown: Re(X(te, ["prevent", "stop"]), ["esc"])
3401
- }, null, 40, Ps)), [[Pe, o.value]]),
3401
+ }, null, 40, Vs)), [[Pe, o.value]]),
3402
3402
  D("table", {
3403
3403
  ref_key: "grid",
3404
3404
  ref: l,
@@ -3412,15 +3412,15 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3412
3412
  scope: "col",
3413
3413
  "aria-sort": G(Qe)(i.value, t.key),
3414
3414
  class: P(t.end ? "glim-list-th glim-table-end" : "glim-list-th")
3415
- }, [D("span", Ls, [D("button", {
3415
+ }, [D("span", Ws, [D("button", {
3416
3416
  type: "button",
3417
3417
  class: "glim-list-sort",
3418
- onClick: (e) => i.value = G(Bt)(i.value, t.key)
3418
+ onClick: (e) => i.value = G(Ht)(i.value, t.key)
3419
3419
  }, [k(W(t.label) + " ", 1), i.value?.key === t.key ? (R(), w(G(b), {
3420
3420
  key: 0,
3421
3421
  mark: G(Ge).expand,
3422
3422
  class: P(`glim-list-sort-mark glim-list-sort-mark--${i.value.dir}`)
3423
- }, null, 8, ["mark", "class"])) : T("", !0)], 8, Rs), t.filter ? (R(), E("button", {
3423
+ }, null, 8, ["mark", "class"])) : T("", !0)], 8, Gs), t.filter ? (R(), E("button", {
3424
3424
  key: 0,
3425
3425
  type: "button",
3426
3426
  "aria-label": e.text.filterOf(t.label),
@@ -3429,7 +3429,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3429
3429
  "aria-pressed": ne(t.key).length > 0,
3430
3430
  class: "glim-list-filter",
3431
3431
  onClick: (e) => y(t.key, e.currentTarget)
3432
- }, [A(G(b), { mark: G(Ge).expand }, null, 8, ["mark"])], 8, zs)) : T("", !0)])], 10, Is))), 128))])]), D("tbody", { onKeydown: ee }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
3432
+ }, [A(G(b), { mark: G(Ge).expand }, null, 8, ["mark"])], 8, Ks)) : T("", !0)])], 10, Us))), 128))])]), D("tbody", { onKeydown: ee }, [(R(!0), E(S, null, B(f.value, (n, i) => (R(), E("tr", {
3433
3433
  key: p.value[i],
3434
3434
  "aria-selected": m.value.selected.includes(i),
3435
3435
  class: "glim-list-tr",
@@ -3438,24 +3438,24 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3438
3438
  }, [(R(!0), E(S, null, B(e.columns, (e, r) => (R(), E("td", {
3439
3439
  key: e.key,
3440
3440
  tabindex: r === 0 ? i === m.value.focus ? 0 : -1 : void 0,
3441
- class: P(G(Fn)(e) || void 0)
3441
+ class: P(G(Hn)(e) || void 0)
3442
3442
  }, [V(t.$slots, "cell", {
3443
3443
  row: n,
3444
3444
  column: e
3445
- }, () => [k(W(ie(n, e.key)), 1)])], 10, Vs))), 128))], 40, Bs))), 128))], 32)], 8, Fs),
3446
- f.value.length === 0 ? (R(), E("p", Hs, W(e.text.noMatch), 1)) : T("", !0),
3445
+ }, () => [k(W(ie(n, e.key)), 1)])], 10, Js))), 128))], 40, qs))), 128))], 32)], 8, Hs),
3446
+ f.value.length === 0 ? (R(), E("p", Ys, W(e.text.noMatch), 1)) : T("", !0),
3447
3447
  D("p", {
3448
3448
  id: G(d),
3449
3449
  class: "glim-list-hint"
3450
- }, W(e.text.hint), 9, Us),
3451
- v.value ? (R(), w(Ms, {
3450
+ }, W(e.text.hint), 9, Xs),
3451
+ v.value ? (R(), w(zs, {
3452
3452
  key: 2,
3453
3453
  open: !0,
3454
3454
  anchor: c.value.at,
3455
3455
  label: e.text.filterOf(v.value.label),
3456
3456
  onClose: n[1] ||= (e) => c.value = null
3457
3457
  }, {
3458
- default: Y(() => [D("div", Ws, [(R(!0), E(S, null, B(G(rt)(e.rows, v.value.key), (e) => (R(), w(Ar, {
3458
+ default: Y(() => [D("div", Zs, [(R(!0), E(S, null, B(G(rt)(e.rows, v.value.key), (e) => (R(), w(Lr, {
3459
3459
  key: e,
3460
3460
  label: e,
3461
3461
  "model-value": ne(v.value.key).includes(e),
@@ -3469,14 +3469,14 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3469
3469
  }, 8, ["anchor", "label"])) : T("", !0)
3470
3470
  ]));
3471
3471
  }
3472
- }), Ks = ["aria-label"], qs = [
3472
+ }), $s = ["aria-label"], ec = [
3473
3473
  "aria-expanded",
3474
3474
  "tabindex",
3475
3475
  "onClick",
3476
3476
  "onMouseenter",
3477
3477
  "onKeydown",
3478
3478
  "onFocus"
3479
- ], Js = /* @__PURE__ */ j({
3479
+ ], tc = /* @__PURE__ */ j({
3480
3480
  __name: "MenuBar",
3481
3481
  props: {
3482
3482
  label: {},
@@ -3530,7 +3530,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3530
3530
  onMouseenter: (e) => i.value && i.value.at !== t && o(t),
3531
3531
  onKeydown: (e) => l(e, t),
3532
3532
  onFocus: (e) => a.value = t
3533
- }, W(e.label), 41, qs))), 128)), i.value && e.menus[i.value.at] ? (R(), w(mi, {
3533
+ }, W(e.label), 41, ec))), 128)), i.value && e.menus[i.value.at] ? (R(), w(xi, {
3534
3534
  key: i.value.at,
3535
3535
  x: i.value.x,
3536
3536
  y: i.value.y,
@@ -3549,9 +3549,9 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3549
3549
  "id",
3550
3550
  "opener",
3551
3551
  "from-end"
3552
- ])) : T("", !0)], 8, Ks));
3552
+ ])) : T("", !0)], 8, $s));
3553
3553
  }
3554
- }), Ys = [
3554
+ }), nc = [
3555
3555
  "role",
3556
3556
  "aria-label",
3557
3557
  "aria-valuemin",
@@ -3559,7 +3559,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3559
3559
  "aria-valuenow",
3560
3560
  "aria-valuetext",
3561
3561
  "aria-busy"
3562
- ], Xs = /* @__PURE__ */ j({
3562
+ ], rc = /* @__PURE__ */ j({
3563
3563
  inheritAttrs: !1,
3564
3564
  __name: "Meter",
3565
3565
  props: {
@@ -3574,7 +3574,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3574
3574
  valueText: {}
3575
3575
  },
3576
3576
  setup(e) {
3577
- let r = e, i = C(() => Rt(r.value, {
3577
+ let r = e, i = C(() => Bt(r.value, {
3578
3578
  size: r.size,
3579
3579
  threshold: r.threshold,
3580
3580
  quiet: r.quiet
@@ -3594,16 +3594,16 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3594
3594
  }), [D("span", {
3595
3595
  class: "glim-meter-fill",
3596
3596
  style: F(i.value.width ? { width: i.value.width } : void 0)
3597
- }, null, 4)], 16, Ys), A(t, { state: G(o) }, null, 8, ["state"])], 64));
3597
+ }, null, 4)], 16, nc), A(t, { state: G(o) }, null, 8, ["state"])], 64));
3598
3598
  }
3599
- }), Zs = {
3599
+ }), ic = {
3600
3600
  "data-glim": "NumberField",
3601
3601
  class: "glim-num-wrap"
3602
- }, Qs = [
3602
+ }, ac = [
3603
3603
  "aria-label",
3604
3604
  "aria-invalid",
3605
3605
  "aria-describedby"
3606
- ], $s = /* @__PURE__ */ j({
3606
+ ], oc = /* @__PURE__ */ j({
3607
3607
  inheritAttrs: !1,
3608
3608
  __name: "NumberField",
3609
3609
  props: /*@__PURE__*/ M({ error: {} }, {
@@ -3628,13 +3628,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3628
3628
  () => r.disabled,
3629
3629
  () => r.readonly
3630
3630
  ], () => {
3631
- l(n.value), s.value && Pn(s.value);
3631
+ l(n.value), s.value && Vn(s.value);
3632
3632
  }, { flush: "post" });
3633
3633
  function u(e) {
3634
3634
  let t = e.target;
3635
3635
  n.value = t.value === "" ? null : t.valueAsNumber;
3636
3636
  }
3637
- return (t, n) => (R(), E(S, null, [D("span", Zs, [D("input", N(t.$attrs, {
3637
+ return (t, n) => (R(), E(S, null, [D("span", ic, [D("input", N(t.$attrs, {
3638
3638
  ref_key: "input",
3639
3639
  ref: s,
3640
3640
  "aria-label": G(i),
@@ -3643,7 +3643,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3643
3643
  type: "number",
3644
3644
  class: "glim-num-input glim-num-field glim-num",
3645
3645
  onInput: u
3646
- }), null, 16, Qs)]), o.value.errorId ? (R(), w(Ui, {
3646
+ }), null, 16, ac)]), o.value.errorId ? (R(), w(Xi, {
3647
3647
  key: 0,
3648
3648
  id: o.value.errorId
3649
3649
  }, {
@@ -3651,7 +3651,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3651
3651
  _: 1
3652
3652
  }, 8, ["id"])) : T("", !0)], 64));
3653
3653
  }
3654
- }), ec = ["aria-label", "disabled"], tc = /* @__PURE__ */ j({
3654
+ }), sc = ["aria-label", "disabled"], cc = /* @__PURE__ */ j({
3655
3655
  inheritAttrs: !1,
3656
3656
  __name: "PathField",
3657
3657
  props: /*@__PURE__*/ M({
@@ -3705,7 +3705,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3705
3705
  }, {
3706
3706
  disabled: e.disabled,
3707
3707
  class: "glim-input glim-input--mono"
3708
- }), null, 16, ec), [[Pe, i.value]]), A(f, N(e.buttonAttrs, {
3708
+ }), null, 16, sc), [[Pe, i.value]]), A(f, N(e.buttonAttrs, {
3709
3709
  variant: "icon",
3710
3710
  label: e.text.pick,
3711
3711
  "label-key": null,
@@ -3720,27 +3720,27 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3720
3720
  "disabled"
3721
3721
  ])], 6));
3722
3722
  }
3723
- }), nc = ["data-glim-title"], rc = { class: "glim-modal-head" }, ic = {
3723
+ }), lc = ["data-glim-title"], uc = { class: "glim-modal-head" }, dc = {
3724
3724
  id: "paypal-window-title",
3725
3725
  class: "glim-modal-title"
3726
- }, ac = { class: "glim-give-body glim-give-body--scroll" }, oc = { class: "glim-give-appeal" }, sc = { class: "glim-give-intro" }, cc = { class: "glim-give-group" }, lc = {
3726
+ }, fc = { class: "glim-give-body glim-give-body--scroll" }, pc = { class: "glim-give-appeal" }, mc = { class: "glim-give-intro" }, hc = { class: "glim-give-group" }, gc = {
3727
3727
  id: "paypal-frequency",
3728
3728
  class: "glim-eyebrow"
3729
- }, uc = { class: "glim-give-group" }, dc = {
3729
+ }, _c = { class: "glim-give-group" }, vc = {
3730
3730
  id: "paypal-amount",
3731
3731
  class: "glim-eyebrow"
3732
- }, fc = { class: "glim-give-amounts" }, pc = [
3732
+ }, yc = { class: "glim-give-amounts" }, bc = [
3733
3733
  "value",
3734
3734
  "placeholder",
3735
3735
  "aria-label",
3736
3736
  "aria-invalid"
3737
- ], mc = { class: "glim-give-loading" }, hc = {
3737
+ ], xc = { class: "glim-give-loading" }, Sc = {
3738
3738
  key: 0,
3739
3739
  class: "glim-give-status glim-give-status--ok"
3740
- }, gc = {
3740
+ }, Cc = {
3741
3741
  key: 1,
3742
3742
  class: "glim-give-status glim-give-status--fail"
3743
- }, _c = { class: "glim-give-foot" }, vc = /* @__PURE__ */ j({
3743
+ }, wc = { class: "glim-give-foot" }, Tc = /* @__PURE__ */ j({
3744
3744
  __name: "PaypalDialog",
3745
3745
  props: {
3746
3746
  text: {},
@@ -3781,7 +3781,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3781
3781
  "aria-labelledby": "paypal-window-title",
3782
3782
  class: "glim-modal-card glim-modal-card--wide"
3783
3783
  }, [
3784
- D("div", rc, [D("h2", ic, [A(e, {
3784
+ D("div", uc, [D("h2", dc, [A(e, {
3785
3785
  tone: "heading",
3786
3786
  size: "heading",
3787
3787
  wrap: ""
@@ -3789,10 +3789,10 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3789
3789
  default: Y(() => [k(W(t.text.title), 1)]),
3790
3790
  _: 1
3791
3791
  })])]),
3792
- D("div", ac, [
3793
- D("p", oc, W(t.text.appeal), 1),
3794
- D("p", sc, W(t.text.intro), 1),
3795
- D("div", cc, [D("span", lc, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
3792
+ D("div", fc, [
3793
+ D("p", pc, W(t.text.appeal), 1),
3794
+ D("p", mc, W(t.text.intro), 1),
3795
+ D("div", hc, [D("span", gc, W(t.text.frequencyLabel), 1), V(n.$slots, "selector", {
3796
3796
  labelledBy: "paypal-frequency",
3797
3797
  options: a.map((e) => ({
3798
3798
  value: e,
@@ -3801,7 +3801,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3801
3801
  value: t.frequency,
3802
3802
  onChange: s
3803
3803
  })]),
3804
- D("div", uc, [D("span", dc, W(t.text.amountLabel), 1), D("div", fc, [D("div", null, [V(n.$slots, "selector", {
3804
+ D("div", _c, [D("span", vc, W(t.text.amountLabel), 1), D("div", yc, [D("div", null, [V(n.$slots, "selector", {
3805
3805
  labelledBy: "paypal-amount",
3806
3806
  options: t.amounts.map((e) => ({
3807
3807
  value: e,
@@ -3818,23 +3818,135 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3818
3818
  "aria-invalid": t.typed !== "" && !t.typedValid,
3819
3819
  class: P(t.typedValid ? "glim-give-amount glim-give-amount--valid" : "glim-give-amount"),
3820
3820
  onInput: l
3821
- }, null, 42, pc)])]),
3821
+ }, null, 42, bc)])]),
3822
3822
  D("div", {
3823
3823
  ref: t.buttonsRef,
3824
3824
  class: "glim-give-wallet"
3825
- }, [D("p", mc, W(t.text.loading), 1)], 512),
3826
- t.status === "done" ? (R(), E("p", hc, W(t.text.thanks), 1)) : T("", !0),
3827
- t.status === "failed" ? (R(), E("p", gc, W(t.text.failed), 1)) : T("", !0)
3825
+ }, [D("p", xc, W(t.text.loading), 1)], 512),
3826
+ t.status === "done" ? (R(), E("p", Sc, W(t.text.thanks), 1)) : T("", !0),
3827
+ t.status === "failed" ? (R(), E("p", Cc, W(t.text.failed), 1)) : T("", !0)
3828
3828
  ]),
3829
- D("div", _c, [A(f, {
3829
+ D("div", wc, [A(f, {
3830
3830
  label: t.text.closeLabel,
3831
3831
  "label-key": "common.close",
3832
3832
  tone: "neutral",
3833
3833
  onClick: r[0] ||= (e) => i("close")
3834
3834
  }, null, 8, ["label"])])
3835
- ], 8, nc)]));
3835
+ ], 8, lc)]));
3836
+ }
3837
+ }), Ec = ["aria-label", "placeholder"], Dc = {
3838
+ key: 0,
3839
+ class: "glim-pick-none"
3840
+ }, Oc = {
3841
+ key: 0,
3842
+ class: "glim-eyebrow"
3843
+ }, kc = { class: "glim-provider-pick" }, Ac = /* @__PURE__ */ j({
3844
+ __name: "PickerWindow",
3845
+ props: {
3846
+ title: {},
3847
+ hint: {},
3848
+ items: {},
3849
+ groups: { default: () => [] },
3850
+ text: {},
3851
+ actions: { default: () => [] }
3852
+ },
3853
+ emits: [
3854
+ "pick",
3855
+ "back",
3856
+ "close"
3857
+ ],
3858
+ setup(e, { emit: t }) {
3859
+ let n = e, r = t, i = Me(), a = z(""), o = U(null), s = U(null), c = U(null), l = () => !!i.default, u = !1;
3860
+ L(() => {
3861
+ u = l(), c.value && xt(c.value);
3862
+ }), De(() => {
3863
+ l() !== u && (u = l(), c.value && xt(c.value), o.value?.card && tr(o.value.card)?.focus());
3864
+ });
3865
+ let d = C(() => ({
3866
+ label: n.text.back,
3867
+ labelKey: "common.back",
3868
+ glyph: de,
3869
+ onClick: () => (r("back"), !1)
3870
+ })), f = () => l() ? [d.value, ...n.actions] : [{
3871
+ label: n.text.close,
3872
+ labelKey: "common.close",
3873
+ glyph: g,
3874
+ wayOut: !0
3875
+ }], p = C(() => tn(n.items, n.groups, a.value, Zt())), m = (e, t) => {
3876
+ t && (e.preventDefault(), e.stopPropagation());
3877
+ }, h = (e) => m(e, en(e.key, a.value, c.value, () => a.value = "")), ee = (e) => {
3878
+ e.target !== e.currentTarget && m(e, nn(e.key, e.target, e.currentTarget, s.value));
3879
+ };
3880
+ return (t, n) => (R(), w(ca, {
3881
+ ref_key: "win",
3882
+ ref: o,
3883
+ "data-glim": "PickerWindow",
3884
+ title: e.title,
3885
+ class: "glim-pick-window",
3886
+ text: {
3887
+ cancel: e.text.cancel,
3888
+ close: e.text.close
3889
+ },
3890
+ actions: f(),
3891
+ onClose: n[1] ||= (e) => r("close")
3892
+ }, O({
3893
+ default: Y(() => [l() ? V(t.$slots, "default", {}, void 0, void 0, 0) : (R(), E(S, { key: 1 }, [Le(D("input", {
3894
+ ref_key: "search",
3895
+ ref: s,
3896
+ "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
3897
+ class: "glim-input glim-pick-search",
3898
+ type: "search",
3899
+ "aria-label": e.text.search,
3900
+ placeholder: e.text.search,
3901
+ spellcheck: "false",
3902
+ autocomplete: "off",
3903
+ onKeydown: h
3904
+ }, null, 40, Ec), [[Pe, a.value]]), D("div", {
3905
+ ref_key: "scroll",
3906
+ ref: c,
3907
+ class: "glim-pick-scroll",
3908
+ onKeydown: ee
3909
+ }, [p.value.length === 0 ? (R(), E("p", Dc, W(G(Z)(e.text.none, { query: a.value.trim() })), 1)) : (R(!0), E(S, { key: 1 }, B(p.value, (e) => (R(), E("section", {
3910
+ key: e.id,
3911
+ class: "glim-pick-section"
3912
+ }, [e.title ? (R(), E("h3", Oc, W(e.title), 1)) : T("", !0), D("ul", kc, [(R(!0), E(S, null, B(e.items, (e) => (R(), E("li", {
3913
+ key: e.id,
3914
+ style: F(G(rn)(e.mark))
3915
+ }, [A($, {
3916
+ brand: "house",
3917
+ parts: [{
3918
+ name: e.label,
3919
+ onClick: () => r("pick", e.id)
3920
+ }],
3921
+ "mark-class": G(wt)(e.mark) ? void 0 : "glim-house-mark",
3922
+ hint: e.hint
3923
+ }, O({ _: 2 }, [e.mark ? {
3924
+ name: "mark",
3925
+ fn: Y(() => [G(wt)(e.mark) ? (R(), w(Nr, {
3926
+ key: 0,
3927
+ svg: e.mark.svg
3928
+ }, null, 8, ["svg"])) : (R(), w(H(e.mark), { key: 1 }))]),
3929
+ key: "0"
3930
+ } : void 0]), 1032, [
3931
+ "parts",
3932
+ "mark-class",
3933
+ "hint"
3934
+ ])], 4))), 128))])]))), 128))], 544)], 64))]),
3935
+ _: 2
3936
+ }, [e.hint ? {
3937
+ name: "title",
3938
+ fn: Y(() => [k(W(e.title), 1), A(Q, {
3939
+ tip: e.hint,
3940
+ "on-accent": ""
3941
+ }, null, 8, ["tip"])]),
3942
+ key: "0"
3943
+ } : void 0]), 1032, [
3944
+ "title",
3945
+ "text",
3946
+ "actions"
3947
+ ]));
3836
3948
  }
3837
- }), yc = /* @__PURE__ */ j({
3949
+ }), jc = /* @__PURE__ */ j({
3838
3950
  __name: "RowMark",
3839
3951
  props: { on: { type: Boolean } },
3840
3952
  setup(e) {
@@ -3844,7 +3956,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3844
3956
  "aria-hidden": "true"
3845
3957
  }, [A(G(y))], 2));
3846
3958
  }
3847
- }), bc = { class: "glim-sr-only" }, xc = /* @__PURE__ */ j({
3959
+ }), Mc = { class: "glim-sr-only" }, Nc = /* @__PURE__ */ j({
3848
3960
  inheritAttrs: !1,
3849
3961
  __name: "SidebarRowLink",
3850
3962
  props: {
@@ -3879,7 +3991,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3879
3991
  e.view.countClass && e.count ? (R(), E(S, { key: 1 }, [D("span", {
3880
3992
  class: P(e.view.countClass),
3881
3993
  "aria-hidden": "true"
3882
- }, W(e.count.value), 3), D("span", bc, W(e.count.label), 1)], 64)) : T("", !0)
3994
+ }, W(e.count.value), 3), D("span", Mc, W(e.count.label), 1)], 64)) : T("", !0)
3883
3995
  ]),
3884
3996
  _: 1
3885
3997
  }, 16, [
@@ -3894,13 +4006,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3894
4006
  "onBlur"
3895
4007
  ])), A(t, { state: G(i) }, null, 8, ["state"])], 64));
3896
4008
  }
3897
- }), Sc = {
4009
+ }), Pc = {
3898
4010
  key: 0,
3899
4011
  class: "glim-nav-row-slot"
3900
- }, Cc = {
4012
+ }, Fc = {
3901
4013
  key: 1,
3902
4014
  class: "glim-nav-row-slot"
3903
- }, wc = /* @__PURE__ */ j({
4015
+ }, Ic = /* @__PURE__ */ j({
3904
4016
  inheritAttrs: !1,
3905
4017
  __name: "SidebarRow",
3906
4018
  props: {
@@ -3916,7 +4028,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3916
4028
  depth: {}
3917
4029
  },
3918
4030
  setup(e) {
3919
- let t = e, n = l("sidebar"), r = Me(), i = C(() => wn({
4031
+ let t = e, n = l("sidebar"), r = Me(), i = C(() => jn({
3920
4032
  mode: n.value,
3921
4033
  label: t.label,
3922
4034
  hasGlyph: !!t.glyph,
@@ -3943,15 +4055,15 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3943
4055
  ]),
3944
4056
  style: F([i.value.style, e.$attrs.style])
3945
4057
  }, [
3946
- e.$slots.before ? (R(), E("span", Sc, [V(e.$slots, "before")])) : T("", !0),
3947
- A(xc, N({
4058
+ e.$slots.before ? (R(), E("span", Pc, [V(e.$slots, "before")])) : T("", !0),
4059
+ A(Nc, N({
3948
4060
  ...e.$attrs,
3949
4061
  ...a.value,
3950
4062
  class: void 0,
3951
4063
  style: void 0
3952
4064
  }, { "class-name": "glim-nav-row-main" }), null, 16),
3953
- e.$slots.after ? (R(), E("span", Cc, [V(e.$slots, "after")])) : T("", !0)
3954
- ], 6)) : (R(), w(xc, N({
4065
+ e.$slots.after ? (R(), E("span", Fc, [V(e.$slots, "after")])) : T("", !0)
4066
+ ], 6)) : (R(), w(Nc, N({
3955
4067
  key: 1,
3956
4068
  "data-glim": "SidebarRow"
3957
4069
  }, {
@@ -3968,7 +4080,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3968
4080
  "style"
3969
4081
  ]));
3970
4082
  }
3971
- }), Tc = ["data-glim-title", "aria-labelledby"], Ec = { class: "glim-sheet-panel" }, Dc = ["id"], Oc = { class: "glim-sheet-body" }, kc = /* @__PURE__ */ j({
4083
+ }), Lc = ["data-glim-title", "aria-labelledby"], Rc = { class: "glim-sheet-panel" }, zc = ["id"], Bc = { class: "glim-sheet-body" }, Vc = /* @__PURE__ */ j({
3972
4084
  __name: "Sheet",
3973
4085
  props: {
3974
4086
  open: { type: Boolean },
@@ -3981,7 +4093,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3981
4093
  setup(t, { emit: n }) {
3982
4094
  let r = t, i = n, a = Me(), o = z(null), s = K(), c = C(() => r.start !== void 0 || !!a.start), l;
3983
4095
  return J([() => r.open, o], ([e, t]) => {
3984
- l?.(), l = void 0, e && t && (l = qt(t, () => i("close")));
4096
+ l?.(), l = void 0, e && t && (l = Yt(t, () => i("close")));
3985
4097
  }, { flush: "post" }), I(() => l?.()), (n, r) => t.open ? (R(), E("dialog", {
3986
4098
  key: 0,
3987
4099
  "data-glim": "Sheet",
@@ -3990,7 +4102,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
3990
4102
  ref: o,
3991
4103
  "aria-labelledby": G(s),
3992
4104
  class: "glim-sheet"
3993
- }, [D("div", Ec, [
4105
+ }, [D("div", Rc, [
3994
4106
  D("h2", {
3995
4107
  id: G(s),
3996
4108
  class: "glim-sheet-title"
@@ -4002,9 +4114,9 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4002
4114
  }, {
4003
4115
  default: Y(() => [k(W(t.title), 1)]),
4004
4116
  _: 1
4005
- })], 8, Dc),
4006
- D("div", Oc, [V(n.$slots, "default")]),
4007
- A(Zi, {
4117
+ })], 8, zc),
4118
+ D("div", Bc, [V(n.$slots, "default")]),
4119
+ A(ia, {
4008
4120
  actions: t.actions,
4009
4121
  start: t.start,
4010
4122
  "has-start": c.value,
@@ -4020,12 +4132,12 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4020
4132
  "has-start",
4021
4133
  "text"
4022
4134
  ])
4023
- ])], 8, Tc)) : T("", !0);
4135
+ ])], 8, Lc)) : T("", !0);
4024
4136
  }
4025
- }), Ac = {
4137
+ }), Hc = {
4026
4138
  "data-glim": "SignInField",
4027
4139
  class: "glim-signin-field"
4028
- }, jc = ["for"], Mc = /* @__PURE__ */ j({
4140
+ }, Uc = ["for"], Wc = /* @__PURE__ */ j({
4029
4141
  __name: "SignInField",
4030
4142
  props: {
4031
4143
  label: {},
@@ -4034,21 +4146,21 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4034
4146
  },
4035
4147
  setup(e) {
4036
4148
  let t = e, n = z(!1), r = (e) => {
4037
- n.value = Et(document.getElementById(t.for), t.label, t.hint, e);
4149
+ n.value = Ot(document.getElementById(t.for), t.label, t.hint, e);
4038
4150
  };
4039
- return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", Ac, [D("label", {
4151
+ return L(() => r()), J(() => [t.label, t.hint], (e, [t]) => r(t)), (t, r) => (R(), E("div", Hc, [D("label", {
4040
4152
  for: t.$props.for,
4041
4153
  class: P(n.value ? "glim-sr-only" : "glim-signin-label")
4042
4154
  }, [k(W(e.label), 1), e.hint ? (R(), w(Q, {
4043
4155
  key: 0,
4044
4156
  tip: e.hint
4045
- }, null, 8, ["tip"])) : T("", !0)], 10, jc), V(t.$slots, "default")]));
4157
+ }, null, 8, ["tip"])) : T("", !0)], 10, Uc), V(t.$slots, "default")]));
4046
4158
  }
4047
- }), Nc = [
4159
+ }), Gc = [
4048
4160
  "aria-label",
4049
4161
  "aria-invalid",
4050
4162
  "aria-describedby"
4051
- ], Pc = /* @__PURE__ */ j({
4163
+ ], Kc = /* @__PURE__ */ j({
4052
4164
  inheritAttrs: !1,
4053
4165
  __name: "TextField",
4054
4166
  props: /*@__PURE__*/ M({
@@ -4062,7 +4174,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4062
4174
  }),
4063
4175
  emits: ["update:modelValue"],
4064
4176
  setup(e, { expose: t }) {
4065
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => In({
4177
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => Un({
4066
4178
  width: n.width,
4067
4179
  mono: n.mono
4068
4180
  })), o = je(), s = K(), c = C(() => dt(n.error, o.id ?? s, o["aria-describedby"])), l = U(null);
@@ -4075,7 +4187,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4075
4187
  "aria-invalid": c.value.invalid,
4076
4188
  "aria-describedby": c.value.describedBy,
4077
4189
  class: a.value
4078
- }), null, 16, Nc), [[Pe, r.value]]), c.value.errorId ? (R(), w(Ui, {
4190
+ }), null, 16, Gc), [[Pe, r.value]]), c.value.errorId ? (R(), w(Xi, {
4079
4191
  key: 0,
4080
4192
  id: c.value.errorId
4081
4193
  }, {
@@ -4083,26 +4195,26 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4083
4195
  _: 1
4084
4196
  }, 8, ["id"])) : T("", !0)], 64));
4085
4197
  }
4086
- }), Fc = {
4198
+ }), qc = {
4087
4199
  "data-glim": "SignInCard",
4088
4200
  class: "glim-signin"
4089
- }, Ic = { class: "glim-signin-head" }, Lc = {
4201
+ }, Jc = { class: "glim-signin-head" }, Yc = {
4090
4202
  key: 0,
4091
4203
  class: "glim-signin-logo",
4092
4204
  "aria-hidden": "true"
4093
- }, Rc = ["src"], zc = { class: "glim-signin-name" }, Bc = {
4205
+ }, Xc = ["src"], Zc = { class: "glim-signin-name" }, Qc = {
4094
4206
  key: 0,
4095
4207
  class: "glim-signin-error",
4096
4208
  role: "alert"
4097
- }, Vc = {
4209
+ }, $c = {
4098
4210
  key: 0,
4099
4211
  class: "glim-signin-note",
4100
4212
  role: "status"
4101
- }, Hc = { class: "glim-signin-hint" }, Uc = {
4213
+ }, el = { class: "glim-signin-hint" }, tl = {
4102
4214
  key: 3,
4103
4215
  class: "glim-signin-error",
4104
4216
  role: "alert"
4105
- }, Wc = /* @__PURE__ */ j({
4217
+ }, nl = /* @__PURE__ */ j({
4106
4218
  __name: "SignInCard",
4107
4219
  props: {
4108
4220
  logo: {},
@@ -4144,32 +4256,32 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4144
4256
  hide: t.text.hide
4145
4257
  })), u = U(null), d = "";
4146
4258
  function p() {
4147
- let e = n.step ? "step" : En(i.value);
4259
+ let e = n.step ? "step" : Nn(i.value);
4148
4260
  e !== d && ((d || t.autoFocus) && ht(u.value), d = e);
4149
4261
  }
4150
4262
  return L(p), De(p), J(() => i.value.refusal?.count, (e, t, n) => {
4151
4263
  let r = i.value.refusal;
4152
- r && n(Cn(u.value, r));
4153
- }, { flush: "post" }), (t, n) => (R(), E("div", Fc, [D("div", {
4264
+ r && n(An(u.value, r));
4265
+ }, { flush: "post" }), (t, n) => (R(), E("div", qc, [D("div", {
4154
4266
  ref_key: "card",
4155
4267
  ref: u,
4156
4268
  class: "glim-card glim-signin-card"
4157
- }, [D("div", Ic, [e.logo || t.$slots.logo ? (R(), E("span", Lc, [V(t.$slots, "logo", {}, () => [D("img", {
4269
+ }, [D("div", Jc, [e.logo || t.$slots.logo ? (R(), E("span", Yc, [V(t.$slots, "logo", {}, () => [D("img", {
4158
4270
  src: e.logo,
4159
4271
  alt: "",
4160
4272
  draggable: "false"
4161
- }, null, 8, Rc)])])) : T("", !0), D("h1", zc, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
4273
+ }, null, 8, Xc)])])) : T("", !0), D("h1", Zc, W(e.appName), 1)]), t.$slots.step ? V(t.$slots, "step", {}, void 0, void 0, 0) : i.value.view === "reset" ? (R(), E("form", {
4162
4274
  key: 1,
4163
4275
  class: "glim-signin-form",
4164
4276
  novalidate: "",
4165
4277
  onSubmit: n[4] ||= X((e) => G(r).submit(), ["prevent"])
4166
4278
  }, [
4167
- A(Mc, {
4279
+ A(Wc, {
4168
4280
  label: e.text.resetCode,
4169
4281
  for: s("reset-code"),
4170
4282
  hint: e.text.resetCodeTip
4171
4283
  }, {
4172
- default: Y(() => [A(Pc, {
4284
+ default: Y(() => [A(Kc, {
4173
4285
  id: s("reset-code"),
4174
4286
  "data-signin-field": "resetCode",
4175
4287
  class: "glim-signin-log-code",
@@ -4186,11 +4298,11 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4186
4298
  "for",
4187
4299
  "hint"
4188
4300
  ]),
4189
- A(Mc, {
4301
+ A(Wc, {
4190
4302
  label: e.text.newPassword,
4191
4303
  for: s("new")
4192
4304
  }, {
4193
- default: Y(() => [A(eo, {
4305
+ default: Y(() => [A(so, {
4194
4306
  id: s("new"),
4195
4307
  "data-signin-field": "newPassword",
4196
4308
  "model-value": i.value.newPassword,
@@ -4204,11 +4316,11 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4204
4316
  ])]),
4205
4317
  _: 1
4206
4318
  }, 8, ["label", "for"]),
4207
- A(Mc, {
4319
+ A(Wc, {
4208
4320
  label: e.text.confirmPassword,
4209
4321
  for: s("confirm")
4210
4322
  }, {
4211
- default: Y(() => [A(eo, {
4323
+ default: Y(() => [A(so, {
4212
4324
  id: s("confirm"),
4213
4325
  "data-signin-field": "confirm",
4214
4326
  "model-value": i.value.confirm,
@@ -4222,14 +4334,14 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4222
4334
  ])]),
4223
4335
  _: 1
4224
4336
  }, 8, ["label", "for"]),
4225
- i.value.error ? (R(), E("p", Bc, W(i.value.error), 1)) : T("", !0),
4337
+ i.value.error ? (R(), E("p", Qc, W(i.value.error), 1)) : T("", !0),
4226
4338
  A(f, {
4227
4339
  label: e.text.setPassword,
4228
4340
  "label-key": c.value.setPassword,
4229
4341
  tone: "accent",
4230
4342
  type: "submit",
4231
4343
  "data-signin": "set-password",
4232
- disabled: G(un)(i.value),
4344
+ disabled: G(_n)(i.value),
4233
4345
  busy: i.value.busy === "setPassword",
4234
4346
  title: i.value.busy === "setPassword" ? e.text.saving : void 0
4235
4347
  }, null, 8, [
@@ -4257,13 +4369,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4257
4369
  novalidate: "",
4258
4370
  onSubmit: n[10] ||= X((e) => G(r).submit(), ["prevent"])
4259
4371
  }, [
4260
- e.note ? (R(), E("p", Vc, W(e.note), 1)) : T("", !0),
4372
+ e.note ? (R(), E("p", $c, W(e.note), 1)) : T("", !0),
4261
4373
  i.value.viaPasskey ? T("", !0) : V(t.$slots, "fields", {}, void 0, void 0, 1),
4262
- Le(A(Mc, {
4374
+ Le(A(Wc, {
4263
4375
  label: e.text.password,
4264
4376
  for: s("password")
4265
4377
  }, {
4266
- default: Y(() => [A(eo, {
4378
+ default: Y(() => [A(so, {
4267
4379
  id: s("password"),
4268
4380
  "data-signin-field": "password",
4269
4381
  "model-value": i.value.password,
@@ -4277,12 +4389,12 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4277
4389
  ])]),
4278
4390
  _: 1
4279
4391
  }, 8, ["label", "for"]), [[Fe, !i.value.viaPasskey]]),
4280
- i.value.needCode ? (R(), w(Mc, {
4392
+ i.value.needCode ? (R(), w(Wc, {
4281
4393
  key: 2,
4282
4394
  label: e.text.code,
4283
4395
  for: s("code")
4284
4396
  }, {
4285
- default: Y(() => [A(Pc, {
4397
+ default: Y(() => [A(Kc, {
4286
4398
  id: s("code"),
4287
4399
  "data-signin-field": "code",
4288
4400
  class: "glim-signin-code",
@@ -4292,17 +4404,17 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4292
4404
  spellcheck: "false",
4293
4405
  placeholder: "000000",
4294
4406
  "onUpdate:modelValue": n[6] ||= (e) => G(r).set("code", e)
4295
- }, null, 8, ["id", "model-value"]), D("p", Hc, W(e.text.codeHint), 1)]),
4407
+ }, null, 8, ["id", "model-value"]), D("p", el, W(e.text.codeHint), 1)]),
4296
4408
  _: 1
4297
4409
  }, 8, ["label", "for"])) : T("", !0),
4298
- i.value.error ? (R(), E("p", Uc, W(i.value.error), 1)) : T("", !0),
4410
+ i.value.error ? (R(), E("p", tl, W(i.value.error), 1)) : T("", !0),
4299
4411
  A(f, {
4300
4412
  label: e.text.signIn,
4301
4413
  "label-key": c.value.signIn,
4302
4414
  tone: "accent",
4303
4415
  type: "submit",
4304
4416
  "data-signin": "submit",
4305
- disabled: G(Tn)(i.value),
4417
+ disabled: G(Mn)(i.value),
4306
4418
  busy: i.value.busy === "signIn",
4307
4419
  title: i.value.busy === "signIn" ? e.text.signingIn : void 0
4308
4420
  }, null, 8, [
@@ -4356,13 +4468,13 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4356
4468
  ])) : T("", !0)
4357
4469
  ], 32))], 512)]));
4358
4470
  }
4359
- }), Gc = {
4471
+ }), rl = {
4360
4472
  key: 0,
4361
4473
  class: "glim-skeleton-block glim-skeleton-tile"
4362
- }, Kc = {
4474
+ }, il = {
4363
4475
  key: 1,
4364
4476
  class: "glim-skeleton-block glim-skeleton-badge"
4365
- }, qc = /* @__PURE__ */ j({
4477
+ }, al = /* @__PURE__ */ j({
4366
4478
  __name: "SkeletonRow",
4367
4479
  props: {
4368
4480
  delay: {},
@@ -4376,7 +4488,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4376
4488
  }
4377
4489
  },
4378
4490
  setup(e) {
4379
- let t = e, n = C(() => Dn({
4491
+ let t = e, n = C(() => Pn({
4380
4492
  delay: t.delay,
4381
4493
  tile: t.tile,
4382
4494
  badge: t.badge
@@ -4387,18 +4499,18 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4387
4499
  class: P(n.value.className),
4388
4500
  style: F(n.value.style)
4389
4501
  }, [
4390
- n.value.tile ? (R(), E("span", Gc)) : T("", !0),
4502
+ n.value.tile ? (R(), E("span", rl)) : T("", !0),
4391
4503
  t[0] ||= D("span", { class: "glim-skeleton-block glim-skeleton-name" }, null, -1),
4392
- n.value.badge ? (R(), E("span", Kc)) : T("", !0)
4504
+ n.value.badge ? (R(), E("span", il)) : T("", !0)
4393
4505
  ], 6));
4394
4506
  }
4395
- }), Jc = ["data-glim-title", "aria-labelledby"], Yc = {
4507
+ }), ol = ["data-glim-title", "aria-labelledby"], sl = {
4396
4508
  key: 0,
4397
4509
  class: "glim-panel-heading"
4398
- }, Xc = ["id"], Zc = {
4510
+ }, cl = ["id"], ll = {
4399
4511
  key: 1,
4400
4512
  class: "glim-subcard-end"
4401
- }, Qc = /* @__PURE__ */ j({
4513
+ }, ul = /* @__PURE__ */ j({
4402
4514
  __name: "SubCard",
4403
4515
  props: {
4404
4516
  title: {},
@@ -4412,23 +4524,23 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4412
4524
  class: P(["glim-subcard", { "glim-subcard--titled": t.title }]),
4413
4525
  "aria-labelledby": t.title ? G(n) : void 0
4414
4526
  }, [
4415
- t.title ? (R(), E("h3", Yc, [A(e, {
4527
+ t.title ? (R(), E("h3", sl, [A(e, {
4416
4528
  tone: "heading",
4417
4529
  size: "heading",
4418
4530
  wrap: ""
4419
4531
  }, {
4420
- default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, Xc), t.hint ? (R(), w(Q, {
4532
+ default: Y(() => [D("span", { id: G(n) }, W(t.title), 9, cl), t.hint ? (R(), w(Q, {
4421
4533
  key: 0,
4422
4534
  tip: t.hint,
4423
4535
  "on-accent": ""
4424
4536
  }, null, 8, ["tip"])) : T("", !0)]),
4425
4537
  _: 1
4426
4538
  })])) : T("", !0),
4427
- r.$slots.end ? (R(), E("div", Zc, [V(r.$slots, "end")])) : T("", !0),
4539
+ r.$slots.end ? (R(), E("div", ll, [V(r.$slots, "end")])) : T("", !0),
4428
4540
  V(r.$slots, "default")
4429
- ], 10, Jc));
4541
+ ], 10, ol));
4430
4542
  }
4431
- }), $c = ["aria-label"], el = { key: 0 }, tl = { key: 0 }, nl = ["colspan"], rl = /* @__PURE__ */ j({
4543
+ }), dl = ["aria-label"], fl = { key: 0 }, pl = { key: 0 }, ml = ["colspan"], hl = /* @__PURE__ */ j({
4432
4544
  __name: "Table",
4433
4545
  props: {
4434
4546
  label: {},
@@ -4442,27 +4554,27 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4442
4554
  "data-glim": "Table",
4443
4555
  class: "glim-table",
4444
4556
  "aria-label": e.label
4445
- }, [n.value ? (R(), E("thead", el, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
4557
+ }, [n.value ? (R(), E("thead", fl, [D("tr", null, [(R(!0), E(S, null, B(e.columns, (e) => (R(), E("th", {
4446
4558
  key: e.key,
4447
4559
  scope: "col",
4448
4560
  class: P({ "glim-table-end": e.end })
4449
4561
  }, 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", {
4450
4562
  key: e.key,
4451
- class: P(G(Fn)(e))
4563
+ class: P(G(Hn)(e))
4452
4564
  }, [V(t.$slots, "cell", {
4453
4565
  row: n,
4454
4566
  column: e,
4455
4567
  value: r(n, e)
4456
- }, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", tl, [D("td", {
4568
+ }, () => [k(W(r(n, e)), 1)])], 2))), 128))]))), 128)), e.more ? (R(), E("tr", pl, [D("td", {
4457
4569
  colspan: e.columns.length,
4458
4570
  class: "glim-table-muted"
4459
- }, W(e.more), 9, nl)])) : T("", !0)])], 8, $c));
4571
+ }, W(e.more), 9, ml)])) : T("", !0)])], 8, dl));
4460
4572
  }
4461
- }), il = [
4573
+ }), gl = [
4462
4574
  "aria-label",
4463
4575
  "aria-invalid",
4464
4576
  "aria-describedby"
4465
- ], al = /* @__PURE__ */ j({
4577
+ ], _l = /* @__PURE__ */ j({
4466
4578
  inheritAttrs: !1,
4467
4579
  __name: "TextArea",
4468
4580
  props: /*@__PURE__*/ M({
@@ -4476,7 +4588,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4476
4588
  }),
4477
4589
  emits: ["update:modelValue"],
4478
4590
  setup(e, { expose: t }) {
4479
- let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => In({
4591
+ let n = e, r = q(e, "modelValue"), i = x(() => n.label), a = C(() => Un({
4480
4592
  width: n.width,
4481
4593
  mono: n.mono,
4482
4594
  area: !0
@@ -4489,7 +4601,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4489
4601
  "aria-invalid": c.value.invalid,
4490
4602
  "aria-describedby": c.value.describedBy,
4491
4603
  class: a.value
4492
- }), null, 16, il), [[Pe, r.value]]), c.value.errorId ? (R(), w(Ui, {
4604
+ }), null, 16, gl), [[Pe, r.value]]), c.value.errorId ? (R(), w(Xi, {
4493
4605
  key: 0,
4494
4606
  id: c.value.errorId
4495
4607
  }, {
@@ -4497,7 +4609,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4497
4609
  _: 1
4498
4610
  }, 8, ["id"])) : T("", !0)], 64));
4499
4611
  }
4500
- }), ol = { class: "glim-toast-body" }, sl = { class: "glim-toast-message" }, cl = { key: 0 }, ll = ["aria-label"], ul = /* @__PURE__ */ j({
4612
+ }), vl = { class: "glim-toast-body" }, yl = { class: "glim-toast-message" }, bl = { key: 0 }, xl = ["aria-label"], Sl = /* @__PURE__ */ j({
4501
4613
  __name: "ToastCard",
4502
4614
  props: {
4503
4615
  id: {},
@@ -4531,7 +4643,7 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4531
4643
  mark: G(qe)[e.severity],
4532
4644
  class: P(`glim-toast-glyph glim-toast-glyph--${e.severity}`)
4533
4645
  }, null, 8, ["mark", "class"]),
4534
- D("div", ol, [D("p", sl, [(R(!0), E(S, null, B(G(On)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", cl)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
4646
+ D("div", vl, [D("p", yl, [(R(!0), E(S, null, B(G(Fn)(e.message), (e, t) => (R(), E(S, { key: t }, [t > 0 ? (R(), E("wbr", bl)) : T("", !0), k(W(e), 1)], 64))), 128))]), e.action ? (R(), w(f, {
4535
4647
  key: 0,
4536
4648
  class: "glim-toast-action",
4537
4649
  tone: "subtle",
@@ -4544,19 +4656,19 @@ var Ca = { class: "glim-instance-rows" }, wa = ["data-instance"], Ta = {
4544
4656
  "aria-label": e.dismissLabel,
4545
4657
  class: "glim-btn-bare glim-toast-dismiss",
4546
4658
  onClick: n[1] ||= (t) => r("dismiss", e.id)
4547
- }, [A(G(b), { mark: G(Ge).dismiss }, null, 8, ["mark"])], 8, ll)
4659
+ }, [A(G(b), { mark: G(Ge).dismiss }, null, 8, ["mark"])], 8, xl)
4548
4660
  ], 32));
4549
4661
  }
4550
- }), dl = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
4551
- function fl(e, t, n, r) {
4552
- for (let i of Object.values(t)) typeof n[dl(i)] == "function" && r(`${e} ${i}`);
4662
+ }), Cl = (e) => `on${e.charAt(0).toUpperCase()}${e.slice(1)}`;
4663
+ function wl(e, t, n, r) {
4664
+ for (let i of Object.values(t)) typeof n[Cl(i)] == "function" && r(`${e} ${i}`);
4553
4665
  return (e, ...r) => {
4554
- let i = t[e], a = i === void 0 ? void 0 : n[dl(i)];
4666
+ let i = t[e], a = i === void 0 ? void 0 : n[Cl(i)];
4555
4667
  typeof a == "function" && a(...r);
4556
4668
  };
4557
4669
  }
4558
4670
  // src/ToastViewport.vue
4559
- var pl = /* @__PURE__ */ j({
4671
+ var Tl = /* @__PURE__ */ j({
4560
4672
  inheritAttrs: !1,
4561
4673
  __name: "ToastViewport",
4562
4674
  props: {
@@ -4575,12 +4687,12 @@ var pl = /* @__PURE__ */ j({
4575
4687
  "blur"
4576
4688
  ],
4577
4689
  setup(e, { emit: t }) {
4578
- let n = e, r = t, i = fl("ToastViewport", {
4690
+ let n = e, r = t, i = wl("ToastViewport", {
4579
4691
  mouseEnter: "enter",
4580
4692
  mouseLeave: "leave",
4581
4693
  focus: "focusin",
4582
4694
  blur: "focusout"
4583
- }, n, Kn);
4695
+ }, n, $n);
4584
4696
  function a(e) {
4585
4697
  r("mouseEnter", e), i("mouseEnter", e);
4586
4698
  }
@@ -4597,18 +4709,18 @@ var pl = /* @__PURE__ */ j({
4597
4709
  return J(() => n.toasts, (e) => {
4598
4710
  let t = new Set(e.map((e) => e.id));
4599
4711
  for (let e of l) t.has(e) || l.delete(e);
4600
- for (let t of e) l.has(t.id) || (l.add(t.id), Xe(t.message, Rn(t.severity)));
4712
+ for (let t of e) l.has(t.id) || (l.add(t.id), Xe(t.message, Gn(t.severity)));
4601
4713
  }, {
4602
4714
  immediate: !0,
4603
4715
  deep: 1,
4604
4716
  flush: "post"
4605
4717
  }), (t, n) => (R(), E(S, null, [
4606
- D("div", N({ class: "glim-sr-only" }, G(At)("polite")), null, 16),
4607
- D("div", N({ class: "glim-sr-only" }, G(At)("assertive")), null, 16),
4718
+ D("div", N({ class: "glim-sr-only" }, G(Mt)("polite")), null, 16),
4719
+ D("div", N({ class: "glim-sr-only" }, G(Mt)("assertive")), null, 16),
4608
4720
  D("div", N({
4609
4721
  "data-glim": "ToastViewport",
4610
4722
  class: "glim-toast-stack"
4611
- }, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(ul, {
4723
+ }, t.$attrs), [(R(!0), E(S, null, B(e.toasts, (t) => (R(), w(Sl, {
4612
4724
  id: t.id,
4613
4725
  key: t.id,
4614
4726
  message: t.message,
@@ -4629,7 +4741,7 @@ var pl = /* @__PURE__ */ j({
4629
4741
  ]))), 128))], 16)
4630
4742
  ], 64));
4631
4743
  }
4632
- }), ml = ["aria-label"], hl = [
4744
+ }), El = ["aria-label"], Dl = [
4633
4745
  "aria-level",
4634
4746
  "aria-posinset",
4635
4747
  "aria-setsize",
@@ -4640,11 +4752,11 @@ var pl = /* @__PURE__ */ j({
4640
4752
  "onClick",
4641
4753
  "onDblclick",
4642
4754
  "onKeydown"
4643
- ], gl = ["onClick"], _l = {
4755
+ ], Ol = ["onClick"], kl = {
4644
4756
  key: 0,
4645
4757
  class: "glim-tree-glyph",
4646
4758
  "aria-hidden": "true"
4647
- }, vl = { class: "glim-tree-label" }, yl = /* @__PURE__ */ j({
4759
+ }, Al = { class: "glim-tree-label" }, jl = /* @__PURE__ */ j({
4648
4760
  __name: "Tree",
4649
4761
  props: /*@__PURE__*/ M({
4650
4762
  label: {},
@@ -4662,7 +4774,7 @@ var pl = /* @__PURE__ */ j({
4662
4774
  s.has(e) || (s.add(e), Promise.resolve(n.load(e)).then((t) => o.set(e, t), () => s.delete(e)));
4663
4775
  }
4664
4776
  J(i, (e) => [null, ...e].forEach(l), { immediate: !0 });
4665
- let u = C(() => Vn(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
4777
+ let u = C(() => Jn(o, i.value)), d = C(() => Math.max(u.value.findIndex((e) => e.node.id === r.value), 0));
4666
4778
  function f(e) {
4667
4779
  i.value = i.value.includes(e) ? i.value.filter((t) => t !== e) : [...i.value, e];
4668
4780
  }
@@ -4673,7 +4785,7 @@ var pl = /* @__PURE__ */ j({
4673
4785
  e.preventDefault(), r.value = n, e.key === "Enter" && a("activate", n);
4674
4786
  return;
4675
4787
  }
4676
- let i = Hn(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
4788
+ let i = Yn(u.value, t, e.key, getComputedStyle(c.value).direction === "rtl");
4677
4789
  i && (e.preventDefault(), "focus" in i ? (r.value = i.focus, yt(c.value, i.focus)) : f("open" in i ? i.open : i.close));
4678
4790
  }
4679
4791
  return (t, n) => (R(), E("div", {
@@ -4704,15 +4816,15 @@ var pl = /* @__PURE__ */ j({
4704
4816
  "aria-hidden": "true",
4705
4817
  onClick: X((t) => e.node.hasChildren && f(e.node.id), ["stop"]),
4706
4818
  onDblclick: n[0] ||= X(() => {}, ["stop"])
4707
- }, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, gl),
4708
- e.node.glyph ? (R(), E("span", _l, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
4709
- D("span", vl, W(e.node.label), 1)
4710
- ], 16, hl))), 128))], 8, ml));
4819
+ }, [e.node.hasChildren ? (R(), w(G(ue), { key: 0 })) : T("", !0)], 40, Ol),
4820
+ e.node.glyph ? (R(), E("span", kl, [(R(), w(H(e.open && e.node.openGlyph || e.node.glyph)))])) : T("", !0),
4821
+ D("span", Al, W(e.node.label), 1)
4822
+ ], 16, Dl))), 128))], 8, El));
4711
4823
  }
4712
- }), bl = ["data-glim-title"], xl = { class: "glim-notice-title" }, Sl = { class: "glim-notice-reason" }, Cl = {
4824
+ }), Ml = ["data-glim-title"], Nl = { class: "glim-notice-title" }, Pl = { class: "glim-notice-reason" }, Fl = {
4713
4825
  key: 0,
4714
4826
  class: "glim-notice-action"
4715
- }, wl = /* @__PURE__ */ j({
4827
+ }, Il = /* @__PURE__ */ j({
4716
4828
  __name: "UnavailableNotice",
4717
4829
  props: { title: {} },
4718
4830
  setup(e) {
@@ -4721,12 +4833,12 @@ var pl = /* @__PURE__ */ j({
4721
4833
  "data-glim-title": e.title,
4722
4834
  class: "glim-notice"
4723
4835
  }, [
4724
- D("p", xl, W(e.title), 1),
4725
- D("p", Sl, [V(t.$slots, "default")]),
4726
- t.$slots.action ? (R(), E("div", Cl, [V(t.$slots, "action")])) : T("", !0)
4727
- ], 8, bl));
4836
+ D("p", Nl, W(e.title), 1),
4837
+ D("p", Pl, [V(t.$slots, "default")]),
4838
+ t.$slots.action ? (R(), E("div", Fl, [V(t.$slots, "action")])) : T("", !0)
4839
+ ], 8, Ml));
4728
4840
  }
4729
- }), Tl = ["aria-label"], El = { class: "glim-window-square" }, Dl = { class: "glim-window-square" }, Ol = { class: "glim-window-square" }, kl = /* @__PURE__ */ j({
4841
+ }), Ll = ["aria-label"], Rl = { class: "glim-window-square" }, zl = { class: "glim-window-square" }, Bl = { class: "glim-window-square" }, Vl = /* @__PURE__ */ j({
4730
4842
  __name: "WindowBar",
4731
4843
  props: {
4732
4844
  appName: {},
@@ -4767,7 +4879,7 @@ var pl = /* @__PURE__ */ j({
4767
4879
  class: "glim-window-button",
4768
4880
  onClick: r[0] ||= (e) => n("minimise")
4769
4881
  }, {
4770
- default: Y(() => [D("span", El, [A(G(me))])]),
4882
+ default: Y(() => [D("span", Rl, [A(G(me))])]),
4771
4883
  _: 1
4772
4884
  }, 8, ["tip"]),
4773
4885
  A(he, {
@@ -4775,7 +4887,7 @@ var pl = /* @__PURE__ */ j({
4775
4887
  class: "glim-window-button",
4776
4888
  onClick: r[1] ||= (e) => n("toggleMaximise")
4777
4889
  }, {
4778
- default: Y(() => [D("span", Dl, [e.maximised ? (R(), w(G(ee), { key: 0 })) : (R(), w(G(pe), { key: 1 }))])]),
4890
+ default: Y(() => [D("span", zl, [e.maximised ? (R(), w(G(ee), { key: 0 })) : (R(), w(G(pe), { key: 1 }))])]),
4779
4891
  _: 1
4780
4892
  }, 8, ["tip"]),
4781
4893
  A(he, {
@@ -4783,14 +4895,14 @@ var pl = /* @__PURE__ */ j({
4783
4895
  class: "glim-window-button",
4784
4896
  onClick: r[2] ||= (e) => n("close")
4785
4897
  }, {
4786
- default: Y(() => [D("span", Ol, [A(G(g))])]),
4898
+ default: Y(() => [D("span", Bl, [A(G(g))])]),
4787
4899
  _: 1
4788
4900
  }, 8, ["tip"])
4789
- ], 40, Tl));
4901
+ ], 40, Ll));
4790
4902
  }
4791
4903
  });
4792
4904
  // src/confirm.ts
4793
- function Al(e) {
4905
+ function Hl(e) {
4794
4906
  let t = U(null), n = U(null), r = null, i = null;
4795
4907
  function a(e, n) {
4796
4908
  return i = bt(), new Promise((i) => {
@@ -4801,15 +4913,15 @@ function Al(e) {
4801
4913
  });
4802
4914
  }
4803
4915
  function o(e) {
4804
- r?.(e), r = null, t.value = null, dn(i), i = null;
4916
+ r?.(e), r = null, t.value = null, vn(i), i = null;
4805
4917
  }
4806
4918
  let s = () => o(!1);
4807
- return jl(() => t.value !== null, n, s), {
4919
+ return Ul(() => t.value !== null, n, s), {
4808
4920
  confirm: a,
4809
4921
  dismiss: s,
4810
4922
  ConfirmHost: j(() => () => {
4811
4923
  let r = t.value;
4812
- return r ? Se(xe, { to: en() }, [Se($r, {
4924
+ return r ? Se(xe, { to: cn() }, [Se(oi, {
4813
4925
  ref: (e) => n.value = e?.card ?? null,
4814
4926
  title: e.title,
4815
4927
  message: r.message,
@@ -4823,13 +4935,13 @@ function Al(e) {
4823
4935
  })
4824
4936
  };
4825
4937
  }
4826
- function jl(e, t, n) {
4938
+ function Ul(e, t, n) {
4827
4939
  J(e, (e, r, i) => {
4828
- e && i(Bn(() => t.value, n));
4940
+ e && i(qn(() => t.value, n));
4829
4941
  }, { immediate: !0 });
4830
4942
  }
4831
4943
  // src/paypalButtons.ts
4832
- function Ml(e) {
4944
+ function Wl(e) {
4833
4945
  let t = U(null), n = () => {};
4834
4946
  return J([
4835
4947
  t,
@@ -4841,7 +4953,7 @@ function Ml(e) {
4841
4953
  let o = null, s = !1;
4842
4954
  n = () => {
4843
4955
  s = !0, o?.close().catch(() => {});
4844
- }, jt(r, i !== "once").then((n) => {
4956
+ }, Nt(r, i !== "once").then((n) => {
4845
4957
  if (s) return;
4846
4958
  let c = n.Buttons({
4847
4959
  style: {
@@ -4863,8 +4975,8 @@ function Ml(e) {
4863
4975
  }), Te(() => n()), (e) => t.value = e;
4864
4976
  }
4865
4977
  // src/dragArmed.ts
4866
- function Nl(e, t) {
4978
+ function Gl(e, t) {
4867
4979
  let n = () => e.value?.classList.toggle("glim-drag-armed", t());
4868
4980
  Ie(n, { flush: "post" }), De(n);
4869
4981
  }
4870
- export { wr as AboutCard, e as Badge, Er as BrandMark, c as BusyRing, f as Button, $n as Card, Ar as Checkbox, Br as CoffeeDialog, Gr as ColorPicker, $r as ConfirmDialog, mi as ContextMenu, _i as CopyField, Ni as CryptoDonateDialog, Ii as DropdownListbox, Vi as EmptyState, Ui as FieldError, qi as FieldRow, Ji as FieldRowGroup, Jo as Fortress, Aa as FortressAppCard, ra as FortressDoubtWindow, Yo as FortressPairing, Qa as FortressPermissions, xs as FortressStatusWindow, He as GLIMSTONE_RELEASE_URL, Ue as GLIMSTONE_REPO, We as GLIMSTONE_VERSION, ws as GlyphField, Ts 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, lr as InfoAboutCard, Q as InfoBubble, fr as InfoHelpCard, Cr as InfoTile, xr as InfoVersionCard, ya as InstanceCard, ti as Kbd, As as ListRow, Gs as ListTable, b as MarkSvg, Js as MenuBar, Xs as Meter, $s as NumberField, eo as PasswordField, tc as PathField, vc as PaypalDialog, Wi as Pill, Ms as Popover, xa as PresenceBadges, Zo as ProgressBar, $ as ReadmeButton, yc as RowMark, La as Selector, kc as Sheet, wc as SidebarRow, Wc as SignInCard, Mc as SignInField, qc as SkeletonRow, Qc as SubCard, rl as Table, al as TextArea, Pc as TextField, ul as ToastCard, pl as ToastViewport, Va as Toggle, yl as Tree, wl as UnavailableNotice, ta as Window, kl as WindowBar, Sa as deviceGlyph, m as glyphFor, yn as selectorTabId, p as setGlyphResolver, u as useAccent, Al as useConfirm, o as useDensity, jl as useDialogKeys, Nl as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, Ml as usePaypalButtons, ve as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };
4982
+ export { jr as AboutCard, e as Badge, Nr as BrandMark, c as BusyRing, f as Button, or as Card, Lr as Checkbox, qr as CoffeeDialog, Qr as ColorPicker, oi as ConfirmDialog, xi as ContextMenu, wi as CopyField, Bi as CryptoDonateDialog, Ui as DropdownListbox, Ji as EmptyState, Xi as FieldError, ea as FieldRow, ta as FieldRowGroup, ts as Fortress, La as FortressAppCard, ua as FortressDoubtWindow, ns as FortressPairing, ao as FortressPermissions, Os as FortressStatusWindow, He as GLIMSTONE_RELEASE_URL, Ue as GLIMSTONE_REPO, We as GLIMSTONE_VERSION, js as GlyphField, Ms 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, gr as InfoAboutCard, Q as InfoBubble, yr as InfoHelpCard, Ar as InfoTile, Or as InfoVersionCard, Ea as InstanceCard, ci as Kbd, Ls as ListRow, Qs as ListTable, b as MarkSvg, tc as MenuBar, rc as Meter, oc as NumberField, so as PasswordField, cc as PathField, Tc as PaypalDialog, Ac as PickerWindow, Zi as Pill, zs as Popover, Oa as PresenceBadges, is as ProgressBar, $ as ReadmeButton, jc as RowMark, Wa as Selector, Vc as Sheet, Ic as SidebarRow, nl as SignInCard, Wc as SignInField, al as SkeletonRow, ul as SubCard, hl as Table, _l as TextArea, Kc as TextField, Sl as ToastCard, Tl as ToastViewport, Ja as Toggle, jl as Tree, Il as UnavailableNotice, ca as Window, Vl as WindowBar, ka as deviceGlyph, m as glyphFor, En as selectorTabId, p as setGlyphResolver, u as useAccent, Hl as useConfirm, o as useDensity, Ul as useDialogKeys, Gl as useDragArmed, x as useFieldName, i as useHue, l as useLabelMode, d as useMotion, Wl as usePaypalButtons, ve as usePortalHue, a as useRainbow, s as useShape, n as useTipBubble };