@glimstone/solid 4.5.0 → 4.5.2
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/AboutCard.d.ts +11 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +580 -558
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11,13 +11,13 @@ import { t as he } from "./IconTipButton-BojUYQWU.js";
|
|
|
11
11
|
import { t as ge } from "./IconButton-Lzbq5Cst.js";
|
|
12
12
|
import { Dynamic as _e, addEventListener as ve, className as E, createComponent as D, delegateEvents as O, effect as k, insert as A, memo as j, mergeProps as M, setAttribute as N, setStyleProperty as ye, spread as P, style as F, template as I, use as L } from "solid-js/web";
|
|
13
13
|
import { For as R, Index as be, Match as z, Show as B, Switch as xe, children as V, createEffect as H, createMemo as U, createSignal as W, createUniqueId as G, mergeProps as K, on as q, onCleanup as J, onMount as Y, splitProps as X, untrack as Se, useContext as Ce } from "solid-js";
|
|
14
|
-
import { COLOR_NAMES_DE as we, COLOR_PICKER_TEXT as Te, COPIED_MS as Ee,
|
|
14
|
+
import { COLOR_NAMES_DE as we, COLOR_PICKER_TEXT as Te, COPIED_MS as Ee, GLIMSTONE_RELEASE_URL as De, GLIMSTONE_REPO as Oe, GLIMSTONE_VERSION as ke, MARKS as Ae, PATH_ROOM_PX as je, TOAST_MARKS as Me, WIDE_QUERY as Ne, anchorName as Pe, announce as Fe, appCardView as Ie, ariaSort as Le, attachNumberSteppers as Re, claimMenu as ze, closeMenuOutside as Be, colorPicker as Ve, columnValues as He, computeBubblePosition as Ue, copyText as We, countSelector as Ge, createFortressFlow as Ke, createSignInFlow as qe, donationHandlers as Je, doubtView as Ye, fieldErrorView as Xe, fieldWidthClass as Ze, fill as Z, floatColorPicker as Qe, focusByLetter as $e, focusFirstField as et, focusFirstMenuRow as tt, focusMenuRow as nt, focusMenuRowByLetter as rt, focusTreeRow as it, focusedAsker as at, hueVars as ot, isMenuHead as st, isTypeahead as ct, joinRefusalText as lt, keepReadmeFit as ut, labelInside as dt, listKey as ft, listOf as pt, listView as mt, liveRegionAttrs as ht, loadPaypal as gt, mailHref as _t, mediaMatches as vt, memberName as yt, menuIsOpen as bt, menuMove as xt, menuRowView as St, meterView as Ct, nearestColorName as wt, nextSort as Tt, normalizeHex as Et, offersDiscord as Dt, offersMail as Ot, openInBrowser as kt, openInstance as At, openPopover as jt, openSheet as Mt, othersLine as Nt, permissionsWith as Pt, phraseReady as Ft, pillClassName as It, placeMenu as Lt, placeSubmenu as Rt, presenceTone as zt, pressRowControl as Bt, progressView as Vt, qrCode as Ht, readmePartClass as Ut, readmePartLabel as Wt, readmeSoon as Gt, readmeUnitClass as Kt, resetBlocked as qt, returnFocus as Jt, roveSelector as Yt, rovedIndex as Xt, runUpdateCheck as Zt, segmentView as Qt, selectByClick as $t, selectorAxis as en, selectorFlex as tn, selectorTabId as nn, selectorTabId as rn, selectorView as an, shake as on, showRefusal as sn, sidebarRowView as cn, signInBlocked as ln, signInStage as un, skeletonRowView as dn, softBreaks as fn, stackWindow as pn, statusView as mn, storeShowOthers as hn, storedShowOthers as gn, subscribeMedia as _n, syncNumberSteppers as vn, tableCellClass as yn, textFieldClass as bn, tidyMenu as xn, toastPoliteness as Sn, toggleSelection as Cn, trapDialogKeys as wn, treeRows as Tn, treeStep as En, updateFace as Dn, updateStage as On, versionLink as kn, warnDeprecated as An, watchSelectorFit as jn, windowFocusTarget as Mn, windowFoot as Nn } from "@glimstone/core";
|
|
15
15
|
// src/InfoBubble.tsx
|
|
16
|
-
var
|
|
16
|
+
var Pn = /*#__PURE__*/ I("<span data-glim=InfoBubble role=img tabindex=0><svg viewBox=\"0 0 16 16\"width=15 height=15 fill=none aria-hidden=true><circle cx=8 cy=8 r=7 stroke=currentColor stroke-width=1.3></circle><circle cx=8 cy=4.6 r=0.9 fill=currentColor></circle><path d=\"M8 7v4.4\"stroke=currentColor stroke-width=1.3 stroke-linecap=round>");
|
|
17
17
|
function Q(e) {
|
|
18
18
|
let t = K({ onAccent: !1 }, e), n = u(() => t.tip);
|
|
19
19
|
return [(() => {
|
|
20
|
-
var e =
|
|
20
|
+
var e = Pn(), r = n.ref;
|
|
21
21
|
return typeof r == "function" ? L(r, e) : n.ref = e, P(e, M({
|
|
22
22
|
get "aria-label"() {
|
|
23
23
|
return t.tip;
|
|
@@ -34,8 +34,8 @@ function Q(e) {
|
|
|
34
34
|
})(), j(() => n.bubble)];
|
|
35
35
|
}
|
|
36
36
|
// src/Card.tsx
|
|
37
|
-
var
|
|
38
|
-
function
|
|
37
|
+
var Fn = /*#__PURE__*/ I("<h2 class=glim-panel-heading>"), In = /*#__PURE__*/ I("<div data-glim=Card>");
|
|
38
|
+
function Ln(e) {
|
|
39
39
|
let [t, n] = X(e, [
|
|
40
40
|
"title",
|
|
41
41
|
"drawn",
|
|
@@ -45,7 +45,7 @@ function Pn(e) {
|
|
|
45
45
|
"nested"
|
|
46
46
|
]), r = V(() => t.drawn);
|
|
47
47
|
return (() => {
|
|
48
|
-
var e =
|
|
48
|
+
var e = In();
|
|
49
49
|
return P(e, M({ get "data-glim-title"() {
|
|
50
50
|
return t.title;
|
|
51
51
|
} }, n, {
|
|
@@ -53,14 +53,14 @@ function Pn(e) {
|
|
|
53
53
|
return `glim-panel glim-notch-card${t.nested ? " glim-panel--nested" : ""}${t.hueIndex === void 0 ? "" : " glim-hue"}`;
|
|
54
54
|
},
|
|
55
55
|
get style() {
|
|
56
|
-
return j(() => t.hueIndex !== void 0)() ? d(
|
|
56
|
+
return j(() => t.hueIndex !== void 0)() ? d(ot(t.hueIndex)) : void 0;
|
|
57
57
|
}
|
|
58
58
|
}), !1, !0), A(e, D(B, {
|
|
59
59
|
get when() {
|
|
60
60
|
return t.title || r() || t.hint;
|
|
61
61
|
},
|
|
62
62
|
get children() {
|
|
63
|
-
var e =
|
|
63
|
+
var e = Fn();
|
|
64
64
|
return A(e, D(l, {
|
|
65
65
|
tone: "heading",
|
|
66
66
|
size: "heading",
|
|
@@ -87,19 +87,19 @@ function Pn(e) {
|
|
|
87
87
|
})();
|
|
88
88
|
}
|
|
89
89
|
// src/ReadmeButton.tsx
|
|
90
|
-
var
|
|
90
|
+
var Rn = /*#__PURE__*/ I("<span class=glim-readme-btn-sheen aria-hidden=true>"), zn = /*#__PURE__*/ I("<div data-glim=ReadmeButton>"), Bn = /*#__PURE__*/ I("<span class=glim-readme-btn-art aria-hidden=true>"), Vn = /*#__PURE__*/ I("<span aria-hidden=true>"), Hn = /*#__PURE__*/ I("<span class=glim-readme-btn-sub>"), Un = /*#__PURE__*/ I("<span class=glim-readme-btn-text><span class=glim-readme-btn-name>"), Wn = /*#__PURE__*/ I("<span aria-disabled=true>"), Gn = /*#__PURE__*/ I("<a target=_blank rel=\"noreferrer noopener\">"), Kn = /*#__PURE__*/ I("<button type=button>"), qn = /*#__PURE__*/ I("<span class=glim-readme-btn-hint>"), Jn = /*#__PURE__*/ I("<span data-glim=BrandMark class=glim-brand-svg aria-hidden=true>");
|
|
91
91
|
function $(e) {
|
|
92
|
-
let t, n = U(() =>
|
|
93
|
-
H(q(() => e.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (n() ? e.soonLabel : ""), () => J(
|
|
92
|
+
let t, n = U(() => Gt(e.parts));
|
|
93
|
+
H(q(() => e.parts.map((e) => `${e.name}\n${e.sub ?? ""}`).join("\n") + (n() ? e.soonLabel : ""), () => J(ut(t))));
|
|
94
94
|
let r = V(() => e.mark), i = V(() => e.art);
|
|
95
95
|
return (() => {
|
|
96
|
-
var a =
|
|
96
|
+
var a = zn(), o = t;
|
|
97
97
|
return typeof o == "function" ? L(o, a) : t = a, A(a, D(be, {
|
|
98
98
|
get each() {
|
|
99
99
|
return e.parts;
|
|
100
100
|
},
|
|
101
101
|
children: (t, a) => {
|
|
102
|
-
let o = () => n() ? e.soonLabel : t().sub, s = () =>
|
|
102
|
+
let o = () => n() ? e.soonLabel : t().sub, s = () => Wt(t(), o()), c = () => Ut(a, n()), l = () => D(B, {
|
|
103
103
|
get when() {
|
|
104
104
|
return a === 0 && i();
|
|
105
105
|
},
|
|
@@ -109,31 +109,31 @@ function $(e) {
|
|
|
109
109
|
return a === 0 && r();
|
|
110
110
|
},
|
|
111
111
|
get children() {
|
|
112
|
-
var t =
|
|
112
|
+
var t = Vn();
|
|
113
113
|
return A(t, r), k(() => E(t, `glim-readme-btn-mark ${e.markClass ?? ""}`)), t;
|
|
114
114
|
}
|
|
115
115
|
}), (() => {
|
|
116
|
-
var e =
|
|
116
|
+
var e = Un(), n = e.firstChild;
|
|
117
117
|
return A(n, () => t().name), A(e, D(B, {
|
|
118
118
|
get when() {
|
|
119
119
|
return o();
|
|
120
120
|
},
|
|
121
121
|
get children() {
|
|
122
|
-
var e =
|
|
122
|
+
var e = Hn();
|
|
123
123
|
return A(e, o), e;
|
|
124
124
|
}
|
|
125
125
|
}), null), e;
|
|
126
126
|
})()];
|
|
127
127
|
},
|
|
128
128
|
get children() {
|
|
129
|
-
var e =
|
|
129
|
+
var e = Bn();
|
|
130
130
|
return A(e, i), e;
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
return D(xe, {
|
|
134
134
|
get fallback() {
|
|
135
135
|
return (() => {
|
|
136
|
-
var e =
|
|
136
|
+
var e = Kn();
|
|
137
137
|
return e.$$click = () => t().onClick?.(), A(e, l), k((t) => {
|
|
138
138
|
var n = s(), r = c();
|
|
139
139
|
return n !== t.e && N(e, "aria-label", t.e = n), r !== t.t && E(e, t.t = r), t;
|
|
@@ -149,7 +149,7 @@ function $(e) {
|
|
|
149
149
|
return n();
|
|
150
150
|
},
|
|
151
151
|
get children() {
|
|
152
|
-
var e =
|
|
152
|
+
var e = Wn();
|
|
153
153
|
return A(e, l), k((t) => {
|
|
154
154
|
var n = c(), r = s();
|
|
155
155
|
return n !== t.e && E(e, t.e = n), r !== t.t && N(e, "aria-label", t.t = r), t;
|
|
@@ -163,7 +163,7 @@ function $(e) {
|
|
|
163
163
|
return t().href;
|
|
164
164
|
},
|
|
165
165
|
get children() {
|
|
166
|
-
var n =
|
|
166
|
+
var n = Gn();
|
|
167
167
|
return n.$$click = (t) => e.onLinkClick?.(t), A(n, l), k((e) => {
|
|
168
168
|
var r = t().href, i = s(), a = c();
|
|
169
169
|
return r !== e.e && N(n, "href", e.e = r), i !== e.t && N(n, "aria-label", e.t = i), a !== e.a && E(n, e.a = a), e;
|
|
@@ -182,32 +182,32 @@ function $(e) {
|
|
|
182
182
|
return !n();
|
|
183
183
|
},
|
|
184
184
|
get children() {
|
|
185
|
-
return
|
|
185
|
+
return Rn();
|
|
186
186
|
}
|
|
187
187
|
}), null), A(a, D(B, {
|
|
188
188
|
get when() {
|
|
189
189
|
return e.hint;
|
|
190
190
|
},
|
|
191
191
|
children: (e) => (() => {
|
|
192
|
-
var t =
|
|
192
|
+
var t = qn();
|
|
193
193
|
return A(t, D(Q, { get tip() {
|
|
194
194
|
return e();
|
|
195
195
|
} })), t;
|
|
196
196
|
})()
|
|
197
|
-
}), null), k(() => E(a,
|
|
197
|
+
}), null), k(() => E(a, Kt(e.brand, e.parts.length, !!e.note, n()))), a;
|
|
198
198
|
})();
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Yn(e) {
|
|
201
201
|
return (() => {
|
|
202
|
-
var t =
|
|
202
|
+
var t = Jn();
|
|
203
203
|
return k(() => t.innerHTML = e.svg), t;
|
|
204
204
|
})();
|
|
205
205
|
}
|
|
206
206
|
O(["click"]);
|
|
207
207
|
// src/AboutCard.tsx
|
|
208
|
-
var
|
|
209
|
-
function
|
|
210
|
-
return D(
|
|
208
|
+
var Xn = /*#__PURE__*/ I("<p class=glim-info-text>"), Zn = /*#__PURE__*/ I("<div class=\"glim-readme-btn-rows glim-about-give\">"), Qn = /*#__PURE__*/ I("<ul class=glim-version-rows>"), $n = /*#__PURE__*/ I("<div class=glim-version-actions>"), er = /*#__PURE__*/ I("<span class=glim-version-sub>"), tr = /*#__PURE__*/ I("<li class=glim-version-row><span class=glim-version-name><span class=glim-version-part>"), nr = /*#__PURE__*/ I("<span role=status class=glim-sr-only>"), rr = /*#__PURE__*/ I("<span class=\"glim-num glim-version-number\">"), ir = /*#__PURE__*/ I("<a target=_blank rel=\"noopener noreferrer\"class=\"glim-num glim-version-number\">"), ar = /*#__PURE__*/ I("<div class=glim-readme-btn-rows>"), or = /*#__PURE__*/ I("<div data-glim=InfoTile>");
|
|
209
|
+
function sr(e) {
|
|
210
|
+
return D(Ln, {
|
|
211
211
|
"data-glim": "InfoAboutCard",
|
|
212
212
|
get title() {
|
|
213
213
|
return e.text.title;
|
|
@@ -218,15 +218,15 @@ function ir(e) {
|
|
|
218
218
|
get children() {
|
|
219
219
|
return [
|
|
220
220
|
(() => {
|
|
221
|
-
var t =
|
|
221
|
+
var t = Xn();
|
|
222
222
|
return A(t, () => e.text.body), t;
|
|
223
223
|
})(),
|
|
224
224
|
(() => {
|
|
225
|
-
var t =
|
|
225
|
+
var t = Xn();
|
|
226
226
|
return A(t, () => e.text.coffee), t;
|
|
227
227
|
})(),
|
|
228
228
|
(() => {
|
|
229
|
-
var t =
|
|
229
|
+
var t = Zn();
|
|
230
230
|
return A(t, D($, {
|
|
231
231
|
brand: "coffee",
|
|
232
232
|
get parts() {
|
|
@@ -278,9 +278,9 @@ function ir(e) {
|
|
|
278
278
|
}
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
let t = K({ openUrl:
|
|
283
|
-
return D(
|
|
281
|
+
function cr(e) {
|
|
282
|
+
let t = K({ openUrl: kt }, e), n = V(() => t.whatsNew), r = () => !n() && t.onReleaseNotes && t.text.releaseNotes;
|
|
283
|
+
return D(Ln, {
|
|
284
284
|
"data-glim": "InfoVersionCard",
|
|
285
285
|
get title() {
|
|
286
286
|
return t.text.title;
|
|
@@ -293,22 +293,22 @@ function ar(e) {
|
|
|
293
293
|
},
|
|
294
294
|
get children() {
|
|
295
295
|
return [(() => {
|
|
296
|
-
var e =
|
|
296
|
+
var e = Qn();
|
|
297
297
|
return A(e, D(R, {
|
|
298
298
|
get each() {
|
|
299
299
|
return t.rows;
|
|
300
300
|
},
|
|
301
301
|
children: (e) => (() => {
|
|
302
|
-
var n =
|
|
302
|
+
var n = tr(), r = n.firstChild, i = r.firstChild;
|
|
303
303
|
return A(i, () => e.name), A(r, D(B, {
|
|
304
304
|
get when() {
|
|
305
305
|
return e.sub;
|
|
306
306
|
},
|
|
307
307
|
get children() {
|
|
308
|
-
var t =
|
|
308
|
+
var t = er();
|
|
309
309
|
return A(t, () => e.sub), t;
|
|
310
310
|
}
|
|
311
|
-
}), null), A(n, D(
|
|
311
|
+
}), null), A(n, D(ur, {
|
|
312
312
|
row: e,
|
|
313
313
|
get unreleased() {
|
|
314
314
|
return t.text.unreleased;
|
|
@@ -324,7 +324,7 @@ function ar(e) {
|
|
|
324
324
|
return r() || n() || t.updateCheck;
|
|
325
325
|
},
|
|
326
326
|
get children() {
|
|
327
|
-
var e =
|
|
327
|
+
var e = $n();
|
|
328
328
|
return A(e, D(B, {
|
|
329
329
|
get when() {
|
|
330
330
|
return r();
|
|
@@ -340,15 +340,15 @@ function ar(e) {
|
|
|
340
340
|
get when() {
|
|
341
341
|
return t.updateCheck;
|
|
342
342
|
},
|
|
343
|
-
children: (e) => D(
|
|
343
|
+
children: (e) => D(lr, M(e))
|
|
344
344
|
}), null), e;
|
|
345
345
|
}
|
|
346
346
|
})];
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
let [t, n] = W({ kind: "idle" }), [r, i] = W(0), a = U(() =>
|
|
350
|
+
function lr(e) {
|
|
351
|
+
let [t, n] = W({ kind: "idle" }), [r, i] = W(0), a = U(() => Dn(t(), e.text));
|
|
352
352
|
return [D(B, {
|
|
353
353
|
get when() {
|
|
354
354
|
return r() + 1;
|
|
@@ -366,12 +366,12 @@ function or(e) {
|
|
|
366
366
|
return a().tone;
|
|
367
367
|
},
|
|
368
368
|
get stage() {
|
|
369
|
-
return
|
|
369
|
+
return On(e.text, a().label);
|
|
370
370
|
},
|
|
371
371
|
get busy() {
|
|
372
372
|
return t().kind === "busy";
|
|
373
373
|
},
|
|
374
|
-
onClick: () => void
|
|
374
|
+
onClick: () => void Zt(e, t(), (e) => {
|
|
375
375
|
n(e), e.kind === "failed" && i((e) => e + 1);
|
|
376
376
|
}),
|
|
377
377
|
get class() {
|
|
@@ -380,19 +380,19 @@ function or(e) {
|
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
382
|
}), (() => {
|
|
383
|
-
var e =
|
|
383
|
+
var e = nr();
|
|
384
384
|
return A(e, () => a().announced), e;
|
|
385
385
|
})()];
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
let t = U(() =>
|
|
387
|
+
function ur(e) {
|
|
388
|
+
let t = U(() => kn(e.row));
|
|
389
389
|
return D(B, {
|
|
390
390
|
get when() {
|
|
391
391
|
return t().href;
|
|
392
392
|
},
|
|
393
393
|
get fallback() {
|
|
394
394
|
return (() => {
|
|
395
|
-
var n =
|
|
395
|
+
var n = rr();
|
|
396
396
|
return A(n, (() => {
|
|
397
397
|
var n = j(() => !!t().released);
|
|
398
398
|
return () => n() ? t().shown : e.unreleased(t().shown);
|
|
@@ -400,16 +400,16 @@ function sr(e) {
|
|
|
400
400
|
})();
|
|
401
401
|
},
|
|
402
402
|
children: (n) => (() => {
|
|
403
|
-
var r =
|
|
403
|
+
var r = ir();
|
|
404
404
|
return r.$$click = (t) => {
|
|
405
405
|
t.preventDefault(), e.openUrl(n());
|
|
406
406
|
}, A(r, () => t().shown), k(() => N(r, "href", n())), r;
|
|
407
407
|
})()
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
|
-
function
|
|
411
|
-
let t = K({ openUrl:
|
|
412
|
-
return D(
|
|
410
|
+
function dr(e) {
|
|
411
|
+
let t = K({ openUrl: kt }, e), n = () => Ot(t.text.report, t.mailAddress), r = () => Dt(t.text.report, t.discordUrl) && !!t.text.discordButton;
|
|
412
|
+
return D(Ln, {
|
|
413
413
|
"data-glim": "InfoHelpCard",
|
|
414
414
|
get title() {
|
|
415
415
|
return t.text.title;
|
|
@@ -422,10 +422,10 @@ function cr(e) {
|
|
|
422
422
|
},
|
|
423
423
|
get children() {
|
|
424
424
|
return [(() => {
|
|
425
|
-
var e =
|
|
425
|
+
var e = Xn();
|
|
426
426
|
return A(e, () => t.text.report), e;
|
|
427
427
|
})(), (() => {
|
|
428
|
-
var e =
|
|
428
|
+
var e = ar();
|
|
429
429
|
return A(e, D($, {
|
|
430
430
|
brand: "github",
|
|
431
431
|
get parts() {
|
|
@@ -438,6 +438,25 @@ function cr(e) {
|
|
|
438
438
|
return t.repoGlyph;
|
|
439
439
|
},
|
|
440
440
|
markClass: "glim-github-mark"
|
|
441
|
+
}), null), A(e, D(B, {
|
|
442
|
+
get when() {
|
|
443
|
+
return r();
|
|
444
|
+
},
|
|
445
|
+
get children() {
|
|
446
|
+
return D($, {
|
|
447
|
+
brand: "discord",
|
|
448
|
+
get parts() {
|
|
449
|
+
return [{
|
|
450
|
+
name: t.text.discordButton,
|
|
451
|
+
onClick: () => t.openUrl(t.discordUrl)
|
|
452
|
+
}];
|
|
453
|
+
},
|
|
454
|
+
get mark() {
|
|
455
|
+
return t.discordGlyph;
|
|
456
|
+
},
|
|
457
|
+
markClass: "glim-discord-mark"
|
|
458
|
+
});
|
|
459
|
+
}
|
|
441
460
|
}), null), A(e, D(B, {
|
|
442
461
|
get when() {
|
|
443
462
|
return n();
|
|
@@ -448,7 +467,7 @@ function cr(e) {
|
|
|
448
467
|
get parts() {
|
|
449
468
|
return [{
|
|
450
469
|
name: t.text.mailButton,
|
|
451
|
-
onClick: () => t.openUrl(
|
|
470
|
+
onClick: () => t.openUrl(_t(t.mailAddress, t.text.mailSubject))
|
|
452
471
|
}];
|
|
453
472
|
},
|
|
454
473
|
get mark() {
|
|
@@ -497,7 +516,7 @@ function cr(e) {
|
|
|
497
516
|
}
|
|
498
517
|
});
|
|
499
518
|
}
|
|
500
|
-
function
|
|
519
|
+
function fr(e) {
|
|
501
520
|
let [t, n] = X(e, [
|
|
502
521
|
"version",
|
|
503
522
|
"help",
|
|
@@ -505,19 +524,19 @@ function lr(e) {
|
|
|
505
524
|
"hueIndex"
|
|
506
525
|
]), r = (e) => t.hueIndex === void 0 ? void 0 : t.hueIndex + e;
|
|
507
526
|
return (() => {
|
|
508
|
-
var e =
|
|
509
|
-
return P(e, M(n, { style: { display: "contents" } }), !1, !0), A(e, D(
|
|
527
|
+
var e = or();
|
|
528
|
+
return P(e, M(n, { style: { display: "contents" } }), !1, !0), A(e, D(cr, M(() => t.version, { get hueIndex() {
|
|
510
529
|
return r(0);
|
|
511
|
-
} })), null), A(e, D(
|
|
530
|
+
} })), null), A(e, D(dr, M(() => t.help, { get hueIndex() {
|
|
512
531
|
return r(1);
|
|
513
|
-
} })), null), A(e, D(
|
|
532
|
+
} })), null), A(e, D(sr, M(() => t.about, { get hueIndex() {
|
|
514
533
|
return r(2);
|
|
515
534
|
} })), null), e;
|
|
516
535
|
})();
|
|
517
536
|
}
|
|
518
|
-
function
|
|
519
|
-
|
|
520
|
-
let t = K({ openUrl:
|
|
537
|
+
function pr(e) {
|
|
538
|
+
An("AboutCard");
|
|
539
|
+
let t = K({ openUrl: kt }, e), n = () => [...t.version ? [{
|
|
521
540
|
name: t.text.version,
|
|
522
541
|
version: t.version,
|
|
523
542
|
repoUrl: t.repoUrl
|
|
@@ -526,7 +545,7 @@ function ur(e) {
|
|
|
526
545
|
version: t.glimstoneVersion,
|
|
527
546
|
repoUrl: t.glimstoneRepoUrl
|
|
528
547
|
}];
|
|
529
|
-
return D(
|
|
548
|
+
return D(fr, {
|
|
530
549
|
"data-glim": "AboutCard",
|
|
531
550
|
get hueIndex() {
|
|
532
551
|
return t.hueIndex;
|
|
@@ -558,11 +577,14 @@ function ur(e) {
|
|
|
558
577
|
title: t.text.helpTitle,
|
|
559
578
|
report: t.text.report,
|
|
560
579
|
repoButton: t.text.repoButton,
|
|
580
|
+
discordButton: t.text.discordButton,
|
|
561
581
|
mailButton: t.text.mailButton,
|
|
562
582
|
mailSubject: t.text.mailSubject
|
|
563
583
|
},
|
|
564
584
|
repoUrl: t.repoUrl,
|
|
565
585
|
repoGlyph: t.repoGlyph,
|
|
586
|
+
discordUrl: t.discordUrl,
|
|
587
|
+
discordGlyph: t.discordGlyph,
|
|
566
588
|
mailAddress: t.mailAddress,
|
|
567
589
|
mailGlyph: t.mailGlyph,
|
|
568
590
|
openUrl: t.openUrl
|
|
@@ -572,20 +594,20 @@ function ur(e) {
|
|
|
572
594
|
}
|
|
573
595
|
O(["click"]);
|
|
574
596
|
// src/Checkbox.tsx
|
|
575
|
-
var
|
|
576
|
-
function
|
|
597
|
+
var mr = /*#__PURE__*/ I("<span>"), hr = /*#__PURE__*/ I("<button data-glim=Checkbox type=button role=checkbox><span class=glim-checkbox-box aria-hidden=true>");
|
|
598
|
+
function gr(e) {
|
|
577
599
|
let t = K({
|
|
578
600
|
hideLabel: !1,
|
|
579
601
|
slim: !1
|
|
580
602
|
}, e), n = () => t.hideLabel || t.slim;
|
|
581
603
|
return (() => {
|
|
582
|
-
var e =
|
|
604
|
+
var e = hr(), r = e.firstChild;
|
|
583
605
|
return e.$$keydown = (e) => e.key === "Enter" && e.preventDefault(), e.$$click = () => t.onChange(!t.checked), A(r, D(S, {})), A(e, D(B, {
|
|
584
606
|
get when() {
|
|
585
607
|
return !n();
|
|
586
608
|
},
|
|
587
609
|
get children() {
|
|
588
|
-
var e =
|
|
610
|
+
var e = mr();
|
|
589
611
|
return A(e, () => t.label), e;
|
|
590
612
|
}
|
|
591
613
|
}), null), k((r) => {
|
|
@@ -605,10 +627,10 @@ function pr(e) {
|
|
|
605
627
|
}
|
|
606
628
|
O(["click", "keydown"]);
|
|
607
629
|
// src/CoffeeDialog.tsx
|
|
608
|
-
var
|
|
609
|
-
function
|
|
630
|
+
var _r = /*#__PURE__*/ I("<div class=glim-modal-backdrop><div data-glim=CoffeeDialog tabindex=-1 role=dialog aria-modal=true aria-labelledby=coffee-title class=\"glim-modal-card glim-modal-card--wide glim-modal-card--tall\"><div class=glim-modal-head><h2 id=coffee-title class=glim-modal-title></h2></div><div class=glim-give-body><p class=glim-give-appeal></p><p class=glim-give-intro></p><div class=glim-give-frame><iframe allow=payment class=glim-give-iframe></iframe></div></div><div class=glim-give-foot>");
|
|
631
|
+
function vr(e) {
|
|
610
632
|
return (() => {
|
|
611
|
-
var t =
|
|
633
|
+
var t = _r(), n = t.firstChild, r = n.firstChild, i = r.firstChild, a = r.nextSibling, o = a.firstChild, s = o.nextSibling, u = s.nextSibling.firstChild, d = a.nextSibling;
|
|
612
634
|
t.$$click = (t) => {
|
|
613
635
|
t.target === t.currentTarget && e.onClose();
|
|
614
636
|
};
|
|
@@ -639,24 +661,24 @@ function hr(e) {
|
|
|
639
661
|
}
|
|
640
662
|
O(["click"]);
|
|
641
663
|
// src/ColorPicker.tsx
|
|
642
|
-
var
|
|
643
|
-
function
|
|
664
|
+
var yr = /*#__PURE__*/ I("<span class=glim-picker-name>"), br = /*#__PURE__*/ I("<div data-glim=ColorPicker><div style=display:contents></div><div class=glim-picker-foot><span class=glim-picker-swatch aria-hidden=true></span><input class=glim-picker-hex maxlength=7></div><div class=glim-picker-actions>");
|
|
665
|
+
function xr(e) {
|
|
644
666
|
let t = K({ names: we }, e), n = {
|
|
645
667
|
...Te,
|
|
646
668
|
...t.text
|
|
647
|
-
}, [r, i] = W(
|
|
669
|
+
}, [r, i] = W(Et(t.value) ?? "#000000"), [a, o] = W(r()), s = Ve(r(), (e) => {
|
|
648
670
|
i(e), o(e), t.onInput?.(e);
|
|
649
671
|
}, { text: n }), l, u;
|
|
650
672
|
Y(() => {
|
|
651
673
|
u.appendChild(s.el), J(() => s.el.remove());
|
|
652
674
|
}), H(q(() => t.value, (e) => {
|
|
653
|
-
let t =
|
|
675
|
+
let t = Et(e);
|
|
654
676
|
t && (i(t), o(t), s.setValue(t));
|
|
655
677
|
})), H(() => {
|
|
656
678
|
let e = t.anchor;
|
|
657
|
-
e && (J(
|
|
679
|
+
e && (J(Qe(l, e, () => t.onClose?.())), s.focus());
|
|
658
680
|
});
|
|
659
|
-
let d = () => t.names === !1 ? null :
|
|
681
|
+
let d = () => t.names === !1 ? null : wt(r(), t.names);
|
|
660
682
|
function f() {
|
|
661
683
|
t.onApply(r(), d()), t.anchor && (t.anchor.focus(), t.onClose?.());
|
|
662
684
|
}
|
|
@@ -665,11 +687,11 @@ function vr(e) {
|
|
|
665
687
|
}
|
|
666
688
|
function m(e) {
|
|
667
689
|
o(e.currentTarget.value);
|
|
668
|
-
let n =
|
|
690
|
+
let n = Et(e.currentTarget.value);
|
|
669
691
|
n && (i(n), s.setValue(n), t.onInput?.(n));
|
|
670
692
|
}
|
|
671
693
|
let h = (() => {
|
|
672
|
-
var e =
|
|
694
|
+
var e = br(), i = e.firstChild, o = i.nextSibling, s = o.firstChild.nextSibling, h = o.nextSibling;
|
|
673
695
|
e.$$keydown = p;
|
|
674
696
|
var g = l;
|
|
675
697
|
typeof g == "function" ? L(g, e) : l = e;
|
|
@@ -679,7 +701,7 @@ function vr(e) {
|
|
|
679
701
|
return d() !== null;
|
|
680
702
|
},
|
|
681
703
|
get children() {
|
|
682
|
-
var e =
|
|
704
|
+
var e = yr();
|
|
683
705
|
return A(e, d), e;
|
|
684
706
|
}
|
|
685
707
|
}), s), s.$$input = m, N(s, "spellcheck", !1), A(h, D(c, {
|
|
@@ -717,11 +739,11 @@ function vr(e) {
|
|
|
717
739
|
}
|
|
718
740
|
O(["keydown", "input"]);
|
|
719
741
|
// src/ConfirmDialog.tsx
|
|
720
|
-
var
|
|
721
|
-
function
|
|
742
|
+
var Sr = /*#__PURE__*/ I("<div class=glim-modal-extra>"), Cr = /*#__PURE__*/ I("<div class=glim-modal-backdrop><div data-glim=ConfirmDialog role=dialog aria-modal=true aria-labelledby=confirmdialog-title aria-describedby=confirmdialog-message class=glim-modal-card><div class=glim-modal-head><h2 id=confirmdialog-title class=glim-modal-title></h2></div><div class=glim-modal-body><p id=confirmdialog-message class=glim-modal-text></p></div><div class=glim-modal-foot>");
|
|
743
|
+
function wr(e) {
|
|
722
744
|
let t = V(() => e.extra), n;
|
|
723
745
|
return Y(() => n?.focus()), (() => {
|
|
724
|
-
var r =
|
|
746
|
+
var r = Cr(), i = r.firstChild, a = i.firstChild, o = a.firstChild, s = a.nextSibling, u = s.firstChild, d = s.nextSibling;
|
|
725
747
|
r.$$click = (t) => {
|
|
726
748
|
t.target === t.currentTarget && e.onCancel();
|
|
727
749
|
};
|
|
@@ -756,7 +778,7 @@ function xr(e) {
|
|
|
756
778
|
return t() !== void 0;
|
|
757
779
|
},
|
|
758
780
|
get children() {
|
|
759
|
-
var e =
|
|
781
|
+
var e = Sr();
|
|
760
782
|
return A(e, t), e;
|
|
761
783
|
}
|
|
762
784
|
}), null), A(d, D(c, {
|
|
@@ -787,25 +809,25 @@ function xr(e) {
|
|
|
787
809
|
}
|
|
788
810
|
O(["click"]);
|
|
789
811
|
// src/Kbd.tsx
|
|
790
|
-
var
|
|
791
|
-
function
|
|
812
|
+
var Tr = /*#__PURE__*/ I("<kbd data-glim=Kbd>");
|
|
813
|
+
function Er(e) {
|
|
792
814
|
return (() => {
|
|
793
|
-
var t =
|
|
815
|
+
var t = Tr();
|
|
794
816
|
return A(t, () => e.children), k(() => E(t, e.class ? `glim-kbd ${e.class}` : "glim-kbd")), t;
|
|
795
817
|
})();
|
|
796
818
|
}
|
|
797
819
|
// src/ContextMenu.tsx
|
|
798
|
-
var
|
|
820
|
+
var Dr = /*#__PURE__*/ I("<button type=button role=menuitem tabindex=-1 class=glim-menu-head-edit>"), Or = /*#__PURE__*/ I("<span class=glim-checkbox-box aria-hidden=true>"), kr = /*#__PURE__*/ I("<span class=glim-menu-dot aria-hidden=true>"), Ar = /*#__PURE__*/ I("<span class=\"glim-menu-end glim-menu-caret\"aria-hidden=true>"), jr = /*#__PURE__*/ I("<span class=\"glim-menu-end glim-menu-tick\"aria-hidden=true>"), Mr = /*#__PURE__*/ I("<span class=\"glim-menu-end glim-menu-count glim-num\">"), Nr = /*#__PURE__*/ I("<button type=button tabindex=-1><span class=glim-menu-label>"), Pr = /*#__PURE__*/ I("<span class=glim-menu-glyph aria-hidden=true>"), Fr = /*#__PURE__*/ I("<div class=glim-menu-sep role=separator>"), Ir = /*#__PURE__*/ I("<div class=glim-menu-head role=presentation><span>"), Lr = /*#__PURE__*/ I("<div data-glim=ContextMenu role=menu class=glim-menu>"), Rr = /*#__PURE__*/ I("<div role=menu class=glim-menu>"), zr = () => ({
|
|
799
821
|
width: innerWidth,
|
|
800
822
|
height: innerHeight
|
|
801
|
-
}),
|
|
823
|
+
}), Br = (e) => ({
|
|
802
824
|
left: `${e.left}px`,
|
|
803
825
|
top: `${e.top}px`
|
|
804
|
-
}),
|
|
805
|
-
function
|
|
826
|
+
}), Vr = (e) => !!e && e !== "-" && !st(e) && !!e.sub;
|
|
827
|
+
function Hr(e) {
|
|
806
828
|
let t = u(() => e.tip);
|
|
807
829
|
return [(() => {
|
|
808
|
-
var n =
|
|
830
|
+
var n = Dr();
|
|
809
831
|
n.$$click = () => e.onPress(), ve(n, "blur", t.handlers.onBlur), ve(n, "focus", t.handlers.onFocus), ve(n, "mouseleave", t.handlers.onMouseLeave), ve(n, "mouseenter", t.handlers.onMouseEnter);
|
|
810
832
|
var r = t.ref;
|
|
811
833
|
return typeof r == "function" ? L(r, n) : t.ref = n, A(n, () => e.glyph ?? D(ie, {})), k((r) => {
|
|
@@ -818,14 +840,14 @@ function zr(e) {
|
|
|
818
840
|
}), n;
|
|
819
841
|
})(), j(() => t.bubble)];
|
|
820
842
|
}
|
|
821
|
-
function
|
|
822
|
-
let t = U(() =>
|
|
843
|
+
function Ur(e) {
|
|
844
|
+
let t = U(() => St(e.entry));
|
|
823
845
|
return (() => {
|
|
824
|
-
var n =
|
|
846
|
+
var n = Nr(), r = n.firstChild;
|
|
825
847
|
return n.$$click = () => e.onPick(), A(n, D(xe, {
|
|
826
848
|
get fallback() {
|
|
827
849
|
return (() => {
|
|
828
|
-
var n =
|
|
850
|
+
var n = Pr();
|
|
829
851
|
return A(n, (() => {
|
|
830
852
|
var n = j(() => t().lead === "glyph");
|
|
831
853
|
return () => n() && e.entry.glyph;
|
|
@@ -838,7 +860,7 @@ function Br(e) {
|
|
|
838
860
|
return t().lead === "box";
|
|
839
861
|
},
|
|
840
862
|
get children() {
|
|
841
|
-
var e =
|
|
863
|
+
var e = Or();
|
|
842
864
|
return A(e, D(S, {})), e;
|
|
843
865
|
}
|
|
844
866
|
}), D(z, {
|
|
@@ -846,7 +868,7 @@ function Br(e) {
|
|
|
846
868
|
return t().lead === "dot";
|
|
847
869
|
},
|
|
848
870
|
get children() {
|
|
849
|
-
var t =
|
|
871
|
+
var t = kr();
|
|
850
872
|
return k((n) => ye(t, "background-color", e.entry.color)), t;
|
|
851
873
|
}
|
|
852
874
|
})];
|
|
@@ -856,7 +878,7 @@ function Br(e) {
|
|
|
856
878
|
return t().end === "submenu";
|
|
857
879
|
},
|
|
858
880
|
get children() {
|
|
859
|
-
var e =
|
|
881
|
+
var e = Ar();
|
|
860
882
|
return A(e, D(oe, {})), e;
|
|
861
883
|
}
|
|
862
884
|
}), null), A(n, D(B, {
|
|
@@ -864,7 +886,7 @@ function Br(e) {
|
|
|
864
886
|
return t().end === "tick";
|
|
865
887
|
},
|
|
866
888
|
get children() {
|
|
867
|
-
var e =
|
|
889
|
+
var e = jr();
|
|
868
890
|
return A(e, D(S, {})), e;
|
|
869
891
|
}
|
|
870
892
|
}), null), A(n, D(B, {
|
|
@@ -872,7 +894,7 @@ function Br(e) {
|
|
|
872
894
|
return t().end === "shortcut";
|
|
873
895
|
},
|
|
874
896
|
get children() {
|
|
875
|
-
return D(
|
|
897
|
+
return D(Er, {
|
|
876
898
|
class: "glim-menu-end",
|
|
877
899
|
get children() {
|
|
878
900
|
return e.entry.shortcut;
|
|
@@ -884,7 +906,7 @@ function Br(e) {
|
|
|
884
906
|
return t().end === "count";
|
|
885
907
|
},
|
|
886
908
|
get children() {
|
|
887
|
-
var t =
|
|
909
|
+
var t = Mr();
|
|
888
910
|
return A(t, () => e.entry.count), t;
|
|
889
911
|
}
|
|
890
912
|
}), null), k((r) => {
|
|
@@ -901,7 +923,7 @@ function Br(e) {
|
|
|
901
923
|
}), n;
|
|
902
924
|
})();
|
|
903
925
|
}
|
|
904
|
-
function
|
|
926
|
+
function Wr(e) {
|
|
905
927
|
return D(be, {
|
|
906
928
|
get each() {
|
|
907
929
|
return e.entries;
|
|
@@ -909,14 +931,14 @@ function Vr(e) {
|
|
|
909
931
|
children: (t, n) => {
|
|
910
932
|
let r = () => {
|
|
911
933
|
let e = t();
|
|
912
|
-
return e !== "-" &&
|
|
934
|
+
return e !== "-" && st(e) ? e : void 0;
|
|
913
935
|
}, i = () => {
|
|
914
936
|
let e = t();
|
|
915
|
-
return e !== "-" && !
|
|
937
|
+
return e !== "-" && !st(e) ? e : void 0;
|
|
916
938
|
};
|
|
917
939
|
return D(xe, {
|
|
918
940
|
get fallback() {
|
|
919
|
-
return
|
|
941
|
+
return Fr();
|
|
920
942
|
},
|
|
921
943
|
get children() {
|
|
922
944
|
return [D(z, {
|
|
@@ -924,12 +946,12 @@ function Vr(e) {
|
|
|
924
946
|
return r();
|
|
925
947
|
},
|
|
926
948
|
children: (t) => (() => {
|
|
927
|
-
var r =
|
|
949
|
+
var r = Ir(), i = r.firstChild;
|
|
928
950
|
return A(i, () => t().head), A(r, D(B, {
|
|
929
951
|
get when() {
|
|
930
952
|
return t().edit;
|
|
931
953
|
},
|
|
932
|
-
children: (t) => D(
|
|
954
|
+
children: (t) => D(Hr, {
|
|
933
955
|
get tip() {
|
|
934
956
|
return t().tip;
|
|
935
957
|
},
|
|
@@ -945,7 +967,7 @@ function Vr(e) {
|
|
|
945
967
|
get when() {
|
|
946
968
|
return i();
|
|
947
969
|
},
|
|
948
|
-
children: (t) => D(
|
|
970
|
+
children: (t) => D(Ur, {
|
|
949
971
|
get entry() {
|
|
950
972
|
return t();
|
|
951
973
|
},
|
|
@@ -961,35 +983,35 @@ function Vr(e) {
|
|
|
961
983
|
}
|
|
962
984
|
});
|
|
963
985
|
}
|
|
964
|
-
function
|
|
986
|
+
function Gr(e) {
|
|
965
987
|
let t = K({
|
|
966
988
|
above: !1,
|
|
967
989
|
fromEnd: !1
|
|
968
|
-
}, e), n, r, i =
|
|
990
|
+
}, e), n, r, i = at(), [a, o] = W({
|
|
969
991
|
left: t.x,
|
|
970
992
|
top: t.y
|
|
971
|
-
}), [s, c] = W(null), [l, u] = W(null), d = U(() =>
|
|
993
|
+
}), [s, c] = W(null), [l, u] = W(null), d = U(() => xn(t.items)), f = U(() => {
|
|
972
994
|
let e = s(), t = e ? d()[e.at] : void 0;
|
|
973
|
-
return
|
|
995
|
+
return Vr(t) ? t : void 0;
|
|
974
996
|
}), p = U(() => {
|
|
975
997
|
let e = f()?.sub;
|
|
976
|
-
return e ?
|
|
998
|
+
return e ? xn(e) : null;
|
|
977
999
|
}), m = (e) => {
|
|
978
1000
|
let n = t.opener ?? i;
|
|
979
|
-
t.onClose(), e &&
|
|
1001
|
+
t.onClose(), e && Jt(n);
|
|
980
1002
|
};
|
|
981
1003
|
H(() => {
|
|
982
|
-
o(
|
|
1004
|
+
o(Lt(t.x, t.y, {
|
|
983
1005
|
width: n.offsetWidth,
|
|
984
1006
|
height: n.offsetHeight
|
|
985
|
-
},
|
|
1007
|
+
}, zr(), t.above));
|
|
986
1008
|
}), Y(() => {
|
|
987
|
-
let e =
|
|
1009
|
+
let e = ze(m), i = Be(() => [
|
|
988
1010
|
n,
|
|
989
1011
|
r,
|
|
990
1012
|
t.opener
|
|
991
1013
|
], () => m(!1));
|
|
992
|
-
t.fromEnd ?
|
|
1014
|
+
t.fromEnd ? nt(n, "last") : tt(n), J(() => {
|
|
993
1015
|
e(), i();
|
|
994
1016
|
});
|
|
995
1017
|
}), H(() => {
|
|
@@ -999,34 +1021,34 @@ function Hr(e) {
|
|
|
999
1021
|
return;
|
|
1000
1022
|
}
|
|
1001
1023
|
let i = getComputedStyle(n).direction === "rtl";
|
|
1002
|
-
u(
|
|
1024
|
+
u(Rt(t.getBoundingClientRect(), {
|
|
1003
1025
|
width: r.offsetWidth,
|
|
1004
1026
|
height: r.offsetHeight
|
|
1005
|
-
},
|
|
1027
|
+
}, zr(), i)), e.focus && tt(r);
|
|
1006
1028
|
});
|
|
1007
1029
|
function h(e, t) {
|
|
1008
1030
|
let n = e[t];
|
|
1009
|
-
n !== "-" && (
|
|
1031
|
+
n !== "-" && (st(n) ? (m(!0), n.edit?.onSelect()) : n.sub && e === d() ? c({
|
|
1010
1032
|
at: t,
|
|
1011
1033
|
focus: !0
|
|
1012
|
-
}) : (
|
|
1034
|
+
}) : (St(n).staysOpen || m(!0), n.onSelect?.()));
|
|
1013
1035
|
}
|
|
1014
1036
|
function g(e, r) {
|
|
1015
1037
|
if (e.key === "Tab") return m(!1);
|
|
1016
|
-
if (
|
|
1017
|
-
|
|
1038
|
+
if (ct(e)) {
|
|
1039
|
+
rt(e.currentTarget, e.key) && e.preventDefault();
|
|
1018
1040
|
return;
|
|
1019
1041
|
}
|
|
1020
|
-
let i =
|
|
1042
|
+
let i = xt(e.key, getComputedStyle(e.currentTarget).direction === "rtl");
|
|
1021
1043
|
if (!i) return;
|
|
1022
|
-
if (e.preventDefault(), i !== "in" && i !== "out") return
|
|
1044
|
+
if (e.preventDefault(), i !== "in" && i !== "out") return nt(e.currentTarget, i);
|
|
1023
1045
|
if (r) {
|
|
1024
1046
|
let e = s();
|
|
1025
1047
|
i === "out" && e && (n.querySelector(`[data-row="${e.at}"]`)?.focus(), c(null));
|
|
1026
1048
|
return;
|
|
1027
1049
|
}
|
|
1028
1050
|
let a = Number(document.activeElement?.dataset.row), o = d()[a];
|
|
1029
|
-
i === "in" &&
|
|
1051
|
+
i === "in" && Vr(o) && !o.disabled ? c({
|
|
1030
1052
|
at: a,
|
|
1031
1053
|
focus: !0
|
|
1032
1054
|
}) : t.onStep?.(i === "in" ? 1 : -1);
|
|
@@ -1034,17 +1056,17 @@ function Hr(e) {
|
|
|
1034
1056
|
function _(e) {
|
|
1035
1057
|
let t = e.target.closest("[data-row]");
|
|
1036
1058
|
if (!t) return;
|
|
1037
|
-
let n = Number(t.dataset.row), r = d()[n], i =
|
|
1059
|
+
let n = Number(t.dataset.row), r = d()[n], i = Vr(r) && !r.disabled;
|
|
1038
1060
|
i && s()?.at !== n ? c({
|
|
1039
1061
|
at: n,
|
|
1040
1062
|
focus: !1
|
|
1041
1063
|
}) : !i && s() && c(null);
|
|
1042
1064
|
}
|
|
1043
1065
|
return [D(w, { get children() {
|
|
1044
|
-
var e =
|
|
1066
|
+
var e = Lr();
|
|
1045
1067
|
e.$$contextmenu = (e) => e.preventDefault(), e.$$mouseover = _, e.$$keydown = (e) => g(e, !1);
|
|
1046
1068
|
var r = n;
|
|
1047
|
-
return typeof r == "function" ? L(r, e) : n = e, A(e, D(
|
|
1069
|
+
return typeof r == "function" ? L(r, e) : n = e, A(e, D(Wr, {
|
|
1048
1070
|
get entries() {
|
|
1049
1071
|
return d();
|
|
1050
1072
|
},
|
|
@@ -1053,7 +1075,7 @@ function Hr(e) {
|
|
|
1053
1075
|
},
|
|
1054
1076
|
onPick: (e) => h(d(), e)
|
|
1055
1077
|
})), k((n) => {
|
|
1056
|
-
var r = t.id, i = t.label, o =
|
|
1078
|
+
var r = t.id, i = t.label, o = Br(a());
|
|
1057
1079
|
return r !== n.e && N(e, "id", n.e = r), i !== n.t && N(e, "aria-label", n.t = i), n.a = F(e, o, n.a), n;
|
|
1058
1080
|
}, {
|
|
1059
1081
|
e: void 0,
|
|
@@ -1065,16 +1087,16 @@ function Hr(e) {
|
|
|
1065
1087
|
return p();
|
|
1066
1088
|
},
|
|
1067
1089
|
children: (e) => D(w, { get children() {
|
|
1068
|
-
var t =
|
|
1090
|
+
var t = Rr();
|
|
1069
1091
|
t.$$contextmenu = (e) => e.preventDefault(), t.$$keydown = (e) => g(e, !0);
|
|
1070
1092
|
var n = r;
|
|
1071
|
-
return typeof n == "function" ? L(n, t) : r = t, A(t, D(
|
|
1093
|
+
return typeof n == "function" ? L(n, t) : r = t, A(t, D(Wr, {
|
|
1072
1094
|
get entries() {
|
|
1073
1095
|
return e();
|
|
1074
1096
|
},
|
|
1075
1097
|
onPick: (t) => h(e(), t)
|
|
1076
1098
|
})), k((e) => {
|
|
1077
|
-
var n = f()?.subId, r = f()?.label, i =
|
|
1099
|
+
var n = f()?.subId, r = f()?.label, i = Br(l() ?? {
|
|
1078
1100
|
left: 0,
|
|
1079
1101
|
top: 0
|
|
1080
1102
|
});
|
|
@@ -1094,19 +1116,19 @@ O([
|
|
|
1094
1116
|
"contextmenu"
|
|
1095
1117
|
]);
|
|
1096
1118
|
// src/CopyField.tsx
|
|
1097
|
-
var
|
|
1098
|
-
function
|
|
1119
|
+
var Kr = /*#__PURE__*/ I("<span data-glim=CopyField><input readonly class=\"glim-input glim-input--mono\"><span role=status class=glim-sr-only>");
|
|
1120
|
+
function qr(e) {
|
|
1099
1121
|
let t = K({ text: {
|
|
1100
1122
|
copy: "Copy",
|
|
1101
1123
|
copied: "Copied"
|
|
1102
1124
|
} }, e), n = T(() => t.label), [r, i] = W(!1), a, o;
|
|
1103
1125
|
J(() => clearTimeout(o));
|
|
1104
1126
|
async function s() {
|
|
1105
|
-
let e = await
|
|
1127
|
+
let e = await We(t.value);
|
|
1106
1128
|
t.onCopy?.(e), e ? (i(!0), clearTimeout(o), o = window.setTimeout(() => i(!1), Ee)) : (a.focus(), a.select());
|
|
1107
1129
|
}
|
|
1108
1130
|
return (() => {
|
|
1109
|
-
var e =
|
|
1131
|
+
var e = Kr(), i = e.firstChild, o = i.nextSibling, l = a;
|
|
1110
1132
|
return typeof l == "function" ? L(l, i) : a = i, N(i, "spellcheck", !1), A(e, D(c, {
|
|
1111
1133
|
get label() {
|
|
1112
1134
|
return j(() => !!r())() ? t.text.copied : t.text.copy;
|
|
@@ -1125,7 +1147,7 @@ function Wr(e) {
|
|
|
1125
1147
|
})()), k((r) => {
|
|
1126
1148
|
var a = [
|
|
1127
1149
|
"glim-copy",
|
|
1128
|
-
|
|
1150
|
+
Ze(t.width),
|
|
1129
1151
|
t.class
|
|
1130
1152
|
].filter(Boolean).join(" "), o = n();
|
|
1131
1153
|
return a !== r.e && E(e, r.e = a), o !== r.t && N(i, "aria-label", r.t = o), r;
|
|
@@ -1136,11 +1158,11 @@ function Wr(e) {
|
|
|
1136
1158
|
})();
|
|
1137
1159
|
}
|
|
1138
1160
|
// src/CryptoDonateDialog.tsx
|
|
1139
|
-
var
|
|
1140
|
-
function
|
|
1161
|
+
var Jr = /*#__PURE__*/ I("<p class=glim-give-note>"), Yr = /*#__PURE__*/ I("<div class=glim-modal-backdrop><div data-glim=CryptoDonateDialog tabindex=-1 role=dialog aria-modal=true aria-labelledby=cryptodonate-title class=\"glim-modal-card glim-modal-card--wide\"><div class=glim-modal-head><h2 id=cryptodonate-title class=glim-modal-title></h2></div><div class=\"glim-give-body glim-give-body--scroll\"><p class=glim-give-appeal></p><p class=glim-give-intro></p><div class=glim-give-well><p dir=ltr class=glim-give-address></p><div class=glim-give-networks role=listbox></div></div><div class=glim-give-coins role=listbox></div></div><div class=glim-give-foot>"), Xr = /*#__PURE__*/ I("<button type=button role=option>"), Zr = /*#__PURE__*/ I("<span class=glim-give-ticker>");
|
|
1162
|
+
function Qr(e) {
|
|
1141
1163
|
let t = a("buttons"), n = () => t() !== "text", r = () => t() !== "glyph";
|
|
1142
1164
|
return (() => {
|
|
1143
|
-
var t =
|
|
1165
|
+
var t = Yr(), i = t.firstChild, a = i.firstChild, o = a.firstChild, s = a.nextSibling, u = s.firstChild, f = u.nextSibling, p = f.nextSibling, m = p.firstChild, h = m.nextSibling, g = p.nextSibling, _ = s.nextSibling;
|
|
1144
1166
|
t.$$click = (t) => {
|
|
1145
1167
|
t.target === t.currentTarget && e.onClose();
|
|
1146
1168
|
};
|
|
@@ -1157,9 +1179,9 @@ function Yr(e) {
|
|
|
1157
1179
|
return e.coin.networks;
|
|
1158
1180
|
},
|
|
1159
1181
|
children: (t, n) => (() => {
|
|
1160
|
-
var r =
|
|
1182
|
+
var r = Xr();
|
|
1161
1183
|
return r.$$click = () => e.onPick(e.coin, t), A(r, () => t.name), k((i) => {
|
|
1162
|
-
var a = t.id === e.network.id, o = d(
|
|
1184
|
+
var a = t.id === e.network.id, o = d(ot(n())), s = `glim-give-network glim-hue${t.id === e.network.id ? " glim-active" : ""}`;
|
|
1163
1185
|
return a !== i.e && N(r, "aria-selected", i.e = a), i.t = F(r, o, i.t), s !== i.a && E(r, i.a = s), i;
|
|
1164
1186
|
}, {
|
|
1165
1187
|
e: void 0,
|
|
@@ -1172,7 +1194,7 @@ function Yr(e) {
|
|
|
1172
1194
|
return e.network.note;
|
|
1173
1195
|
},
|
|
1174
1196
|
get children() {
|
|
1175
|
-
var t =
|
|
1197
|
+
var t = Jr();
|
|
1176
1198
|
return A(t, () => e.network.note), t;
|
|
1177
1199
|
}
|
|
1178
1200
|
}), null), A(p, D(c, {
|
|
@@ -1192,7 +1214,7 @@ function Yr(e) {
|
|
|
1192
1214
|
children: (t, i) => {
|
|
1193
1215
|
let a = () => t.id === e.coin.id, o = () => !a() && t.tile;
|
|
1194
1216
|
return (() => {
|
|
1195
|
-
var s =
|
|
1217
|
+
var s = Xr();
|
|
1196
1218
|
return s.$$click = () => e.onPick(t, t.networks[0]), A(s, D(B, {
|
|
1197
1219
|
get when() {
|
|
1198
1220
|
return n();
|
|
@@ -1205,12 +1227,12 @@ function Yr(e) {
|
|
|
1205
1227
|
return r();
|
|
1206
1228
|
},
|
|
1207
1229
|
get children() {
|
|
1208
|
-
var e =
|
|
1230
|
+
var e = Zr();
|
|
1209
1231
|
return A(e, () => t.symbol), e;
|
|
1210
1232
|
}
|
|
1211
1233
|
}), null), k((e) => {
|
|
1212
1234
|
var n = a(), c = `${t.name} (${t.symbol})`, l = t.name, u = d({
|
|
1213
|
-
...
|
|
1235
|
+
...ot(i()),
|
|
1214
1236
|
...o() && {
|
|
1215
1237
|
"--tile": t.tile.color,
|
|
1216
1238
|
"--tile-ink": t.tile.ink
|
|
@@ -1245,9 +1267,9 @@ function Yr(e) {
|
|
|
1245
1267
|
}
|
|
1246
1268
|
O(["click"]);
|
|
1247
1269
|
// src/DropdownListbox.tsx
|
|
1248
|
-
var
|
|
1249
|
-
function
|
|
1250
|
-
|
|
1270
|
+
var $r = /*#__PURE__*/ I("<div data-glim=DropdownListbox role=listbox style=transform:translateX(-50%)>"), ei = 4;
|
|
1271
|
+
function ti(e) {
|
|
1272
|
+
An("DropdownListbox");
|
|
1251
1273
|
let t = pe(() => e.open, () => e.triggerRef), n = !1;
|
|
1252
1274
|
return H(q(() => e.open, (t) => {
|
|
1253
1275
|
t || (n && e.triggerRef?.focus(), n = !1);
|
|
@@ -1256,14 +1278,14 @@ function Qr(e) {
|
|
|
1256
1278
|
return e.open;
|
|
1257
1279
|
},
|
|
1258
1280
|
get children() {
|
|
1259
|
-
return D(
|
|
1281
|
+
return D(ni, M(e, {
|
|
1260
1282
|
hue: t,
|
|
1261
1283
|
leaving: (e) => n = e
|
|
1262
1284
|
}));
|
|
1263
1285
|
}
|
|
1264
1286
|
});
|
|
1265
1287
|
}
|
|
1266
|
-
function
|
|
1288
|
+
function ni(e) {
|
|
1267
1289
|
let t, [n, r] = W(null), i = V(() => e.children), a = !1, o = () => Array.from(t.querySelectorAll("[role=\"option\"]"));
|
|
1268
1290
|
H(() => {
|
|
1269
1291
|
i();
|
|
@@ -1274,10 +1296,10 @@ function $r(e) {
|
|
|
1274
1296
|
let s = {
|
|
1275
1297
|
width: document.documentElement.clientWidth || window.innerWidth,
|
|
1276
1298
|
height: document.documentElement.clientHeight || window.innerHeight
|
|
1277
|
-
}, { left: c, top: l } =
|
|
1299
|
+
}, { left: c, top: l } = Ue(o, {
|
|
1278
1300
|
width: o.width,
|
|
1279
1301
|
height: t.offsetHeight
|
|
1280
|
-
}, s,
|
|
1302
|
+
}, s, ei), u = n();
|
|
1281
1303
|
u && u.left === c && u.top === l && u.width === o.width || r({
|
|
1282
1304
|
left: c,
|
|
1283
1305
|
top: l,
|
|
@@ -1303,8 +1325,8 @@ function $r(e) {
|
|
|
1303
1325
|
});
|
|
1304
1326
|
});
|
|
1305
1327
|
let s = (e) => {
|
|
1306
|
-
if (
|
|
1307
|
-
|
|
1328
|
+
if (ct(e)) {
|
|
1329
|
+
$e(o(), e.key) && e.preventDefault();
|
|
1308
1330
|
return;
|
|
1309
1331
|
}
|
|
1310
1332
|
if (e.key !== "ArrowDown" && e.key !== "ArrowUp" && e.key !== "Home" && e.key !== "End") return;
|
|
@@ -1324,7 +1346,7 @@ function $r(e) {
|
|
|
1324
1346
|
return D(w, {
|
|
1325
1347
|
onLeave: () => e.leaving(t.contains(document.activeElement)),
|
|
1326
1348
|
get children() {
|
|
1327
|
-
var r =
|
|
1349
|
+
var r = $r();
|
|
1328
1350
|
r.$$keydown = s;
|
|
1329
1351
|
var a = t;
|
|
1330
1352
|
return typeof a == "function" ? L(a, r) : t = r, A(r, i), k((t) => {
|
|
@@ -1346,17 +1368,17 @@ function $r(e) {
|
|
|
1346
1368
|
}
|
|
1347
1369
|
O(["keydown"]);
|
|
1348
1370
|
// src/EmptyState.tsx
|
|
1349
|
-
var
|
|
1350
|
-
function
|
|
1371
|
+
var ri = /*#__PURE__*/ I("<span class=glim-empty-glyph aria-hidden=true>"), ii = /*#__PURE__*/ I("<p class=glim-empty-hint>"), ai = /*#__PURE__*/ I("<div data-glim=EmptyState><p class=glim-empty-title>");
|
|
1372
|
+
function oi(e) {
|
|
1351
1373
|
let t = K({ nested: !1 }, e), n = V(() => t.glyph);
|
|
1352
1374
|
return (() => {
|
|
1353
|
-
var e =
|
|
1375
|
+
var e = ai(), r = e.firstChild;
|
|
1354
1376
|
return A(e, D(B, {
|
|
1355
1377
|
get when() {
|
|
1356
1378
|
return n();
|
|
1357
1379
|
},
|
|
1358
1380
|
get children() {
|
|
1359
|
-
var e =
|
|
1381
|
+
var e = ri();
|
|
1360
1382
|
return A(e, n), e;
|
|
1361
1383
|
}
|
|
1362
1384
|
}), r), A(r, () => t.title), A(e, D(B, {
|
|
@@ -1364,7 +1386,7 @@ function ri(e) {
|
|
|
1364
1386
|
return t.hint;
|
|
1365
1387
|
},
|
|
1366
1388
|
get children() {
|
|
1367
|
-
var e =
|
|
1389
|
+
var e = ii();
|
|
1368
1390
|
return A(e, () => t.hint), e;
|
|
1369
1391
|
}
|
|
1370
1392
|
}), null), A(e, () => t.action, null), k((n) => {
|
|
@@ -1377,27 +1399,27 @@ function ri(e) {
|
|
|
1377
1399
|
})();
|
|
1378
1400
|
}
|
|
1379
1401
|
// src/FieldError.tsx
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1402
|
+
var si = /*#__PURE__*/ I("<span data-glim=FieldError class=glim-field-error>");
|
|
1403
|
+
function ci(e) {
|
|
1382
1404
|
return (() => {
|
|
1383
|
-
var t =
|
|
1405
|
+
var t = si();
|
|
1384
1406
|
return A(t, D(C, { get mark() {
|
|
1385
|
-
return
|
|
1407
|
+
return Me.fail;
|
|
1386
1408
|
} }), null), A(t, () => e.children, null), k(() => N(t, "id", e.id)), t;
|
|
1387
1409
|
})();
|
|
1388
1410
|
}
|
|
1389
1411
|
// src/Pill.tsx
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1412
|
+
var li = /*#__PURE__*/ I("<span data-glim=Pill>");
|
|
1413
|
+
function ui(e) {
|
|
1392
1414
|
let t = K({ tone: "neutral" }, e);
|
|
1393
1415
|
return (() => {
|
|
1394
|
-
var e =
|
|
1395
|
-
return A(e, () => t.children), k(() => E(e, t.class ? `${
|
|
1416
|
+
var e = li();
|
|
1417
|
+
return A(e, () => t.children), k(() => E(e, t.class ? `${It(t.tone)} ${t.class}` : It(t.tone))), e;
|
|
1396
1418
|
})();
|
|
1397
1419
|
}
|
|
1398
1420
|
// src/FieldRow.tsx
|
|
1399
|
-
var
|
|
1400
|
-
function
|
|
1421
|
+
var di = /*#__PURE__*/ I("<div data-glim=FieldRow><span class=glim-field-row-name><span class=glim-field-row-label>"), fi = /*#__PURE__*/ I("<span class=glim-field-row-controls>");
|
|
1422
|
+
function pi(e) {
|
|
1401
1423
|
let [t, n] = X(e, [
|
|
1402
1424
|
"label",
|
|
1403
1425
|
"drawn",
|
|
@@ -1417,7 +1439,7 @@ function ui(e) {
|
|
|
1417
1439
|
return t.value !== void 0;
|
|
1418
1440
|
},
|
|
1419
1441
|
get children() {
|
|
1420
|
-
return D(
|
|
1442
|
+
return D(ui, {
|
|
1421
1443
|
class: "glim-num",
|
|
1422
1444
|
get tone() {
|
|
1423
1445
|
return t.tone;
|
|
@@ -1429,14 +1451,14 @@ function ui(e) {
|
|
|
1429
1451
|
}
|
|
1430
1452
|
});
|
|
1431
1453
|
return (() => {
|
|
1432
|
-
var e =
|
|
1454
|
+
var e = di(), o = e.firstChild, s = o.firstChild, c = i;
|
|
1433
1455
|
return typeof c == "function" ? L(c, e) : i = e, P(e, M(n, { get class() {
|
|
1434
1456
|
return [
|
|
1435
1457
|
"glim-field-row",
|
|
1436
1458
|
t.wide && "glim-field-row--wide",
|
|
1437
1459
|
t.class
|
|
1438
1460
|
].filter(Boolean).join(" ");
|
|
1439
|
-
} }), !1, !0), s.$$click = () =>
|
|
1461
|
+
} }), !1, !0), s.$$click = () => Bt(i), A(s, () => t.drawn ?? t.label), A(o, D(B, {
|
|
1440
1462
|
get when() {
|
|
1441
1463
|
return t.hint;
|
|
1442
1464
|
},
|
|
@@ -1444,7 +1466,7 @@ function ui(e) {
|
|
|
1444
1466
|
return e();
|
|
1445
1467
|
} })
|
|
1446
1468
|
}), null), A(e, () => r ? (() => {
|
|
1447
|
-
var e =
|
|
1469
|
+
var e = fi();
|
|
1448
1470
|
return A(e, a), e;
|
|
1449
1471
|
})() : a(), null), e;
|
|
1450
1472
|
})();
|
|
@@ -1454,8 +1476,8 @@ function ui(e) {
|
|
|
1454
1476
|
}
|
|
1455
1477
|
O(["click"]);
|
|
1456
1478
|
// src/FieldRowGroup.tsx
|
|
1457
|
-
var
|
|
1458
|
-
function
|
|
1479
|
+
var mi = /*#__PURE__*/ I("<div data-glim=FieldRowGroup>");
|
|
1480
|
+
function hi(e) {
|
|
1459
1481
|
let [t, n] = X(e, [
|
|
1460
1482
|
"children",
|
|
1461
1483
|
"columns",
|
|
@@ -1465,7 +1487,7 @@ function fi(e) {
|
|
|
1465
1487
|
return D(de.Provider, {
|
|
1466
1488
|
value: !0,
|
|
1467
1489
|
get children() {
|
|
1468
|
-
var e =
|
|
1490
|
+
var e = mi();
|
|
1469
1491
|
return P(e, M(n, {
|
|
1470
1492
|
get style() {
|
|
1471
1493
|
return j(() => !!t.columns)() ? {
|
|
@@ -1481,8 +1503,8 @@ function fi(e) {
|
|
|
1481
1503
|
});
|
|
1482
1504
|
}
|
|
1483
1505
|
// src/InstanceCard.tsx
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1506
|
+
var gi = /*#__PURE__*/ I("<div class=glim-instance-acts>"), _i = /*#__PURE__*/ I("<img class=glim-instance-mark alt draggable=false>"), vi = /*#__PURE__*/ I("<span class=glim-instance-badges>"), yi = /*#__PURE__*/ I("<span class=glim-eyebrow>"), bi = /*#__PURE__*/ I("<p class=\"glim-instance-facts glim-num\">"), xi = /*#__PURE__*/ I("<dl class=glim-instance-figures>"), Si = /*#__PURE__*/ I("<div class=glim-instance-body>"), Ci = /*#__PURE__*/ I("<div data-glim=InstanceCard><div class=glim-instance-top><div class=glim-instance-main><div class=glim-instance-name><h3 class=glim-instance-title>"), wi = /*#__PURE__*/ I("<span class=glim-instance-mark aria-hidden=true>"), Ti = /*#__PURE__*/ I("<div><dt></dt><dd class=glim-num>");
|
|
1507
|
+
function Ei(e) {
|
|
1486
1508
|
let [t, n] = X(e, [
|
|
1487
1509
|
"logo",
|
|
1488
1510
|
"name",
|
|
@@ -1496,11 +1518,11 @@ function Ci(e) {
|
|
|
1496
1518
|
"class",
|
|
1497
1519
|
"style"
|
|
1498
1520
|
]), r = () => t.facts?.filter(Boolean) ?? [], i = V(() => t.logo), a = V(() => t.badges), o = V(() => t.children), s = V(() => t.actions), c = () => s() ? (() => {
|
|
1499
|
-
var e =
|
|
1521
|
+
var e = gi();
|
|
1500
1522
|
return A(e, s), e;
|
|
1501
1523
|
})() : void 0;
|
|
1502
1524
|
return (() => {
|
|
1503
|
-
var e =
|
|
1525
|
+
var e = Ci(), s = e.firstChild, l = s.firstChild, u = l.firstChild, f = u.firstChild;
|
|
1504
1526
|
return P(e, M({ get "data-glim-title"() {
|
|
1505
1527
|
return t.name;
|
|
1506
1528
|
} }, n, {
|
|
@@ -1513,7 +1535,7 @@ function Ci(e) {
|
|
|
1513
1535
|
},
|
|
1514
1536
|
get style() {
|
|
1515
1537
|
return j(() => t.hueIndex !== void 0)() ? {
|
|
1516
|
-
...d(
|
|
1538
|
+
...d(ot(t.hueIndex)),
|
|
1517
1539
|
...t.style
|
|
1518
1540
|
} : t.style;
|
|
1519
1541
|
}
|
|
@@ -1527,13 +1549,13 @@ function Ci(e) {
|
|
|
1527
1549
|
return i();
|
|
1528
1550
|
},
|
|
1529
1551
|
get children() {
|
|
1530
|
-
var e =
|
|
1552
|
+
var e = wi();
|
|
1531
1553
|
return A(e, i), e;
|
|
1532
1554
|
}
|
|
1533
1555
|
});
|
|
1534
1556
|
},
|
|
1535
1557
|
get children() {
|
|
1536
|
-
var e =
|
|
1558
|
+
var e = _i();
|
|
1537
1559
|
return k(() => N(e, "src", t.logo)), e;
|
|
1538
1560
|
}
|
|
1539
1561
|
}), l), A(f, () => t.name), A(u, D(B, {
|
|
@@ -1541,7 +1563,7 @@ function Ci(e) {
|
|
|
1541
1563
|
return a();
|
|
1542
1564
|
},
|
|
1543
1565
|
get children() {
|
|
1544
|
-
var e =
|
|
1566
|
+
var e = vi();
|
|
1545
1567
|
return A(e, a), e;
|
|
1546
1568
|
}
|
|
1547
1569
|
}), null), A(l, D(B, {
|
|
@@ -1549,7 +1571,7 @@ function Ci(e) {
|
|
|
1549
1571
|
return t.eyebrow;
|
|
1550
1572
|
},
|
|
1551
1573
|
get children() {
|
|
1552
|
-
var e =
|
|
1574
|
+
var e = yi();
|
|
1553
1575
|
return A(e, () => t.eyebrow), e;
|
|
1554
1576
|
}
|
|
1555
1577
|
}), null), A(l, D(B, {
|
|
@@ -1557,7 +1579,7 @@ function Ci(e) {
|
|
|
1557
1579
|
return r().length > 0;
|
|
1558
1580
|
},
|
|
1559
1581
|
get children() {
|
|
1560
|
-
var e =
|
|
1582
|
+
var e = bi();
|
|
1561
1583
|
return A(e, () => r().join(" · ")), e;
|
|
1562
1584
|
}
|
|
1563
1585
|
}), null), A(l, D(B, {
|
|
@@ -1565,13 +1587,13 @@ function Ci(e) {
|
|
|
1565
1587
|
return j(() => !!t.figures)() && t.figures.length > 0;
|
|
1566
1588
|
},
|
|
1567
1589
|
get children() {
|
|
1568
|
-
var e =
|
|
1590
|
+
var e = xi();
|
|
1569
1591
|
return A(e, D(R, {
|
|
1570
1592
|
get each() {
|
|
1571
1593
|
return t.figures;
|
|
1572
1594
|
},
|
|
1573
1595
|
children: (e) => (() => {
|
|
1574
|
-
var t =
|
|
1596
|
+
var t = Ti(), n = t.firstChild, r = n.nextSibling;
|
|
1575
1597
|
return A(n, () => e.label), A(r, () => e.value), t;
|
|
1576
1598
|
})()
|
|
1577
1599
|
})), e;
|
|
@@ -1589,7 +1611,7 @@ function Ci(e) {
|
|
|
1589
1611
|
},
|
|
1590
1612
|
get children() {
|
|
1591
1613
|
return [(() => {
|
|
1592
|
-
var e =
|
|
1614
|
+
var e = Si();
|
|
1593
1615
|
return A(e, o), e;
|
|
1594
1616
|
})(), j(() => c())];
|
|
1595
1617
|
}
|
|
@@ -1597,9 +1619,9 @@ function Ci(e) {
|
|
|
1597
1619
|
})();
|
|
1598
1620
|
}
|
|
1599
1621
|
// src/WindowFootRow.tsx
|
|
1600
|
-
var
|
|
1601
|
-
function
|
|
1602
|
-
let t = V(() => e.start), n = U(() =>
|
|
1622
|
+
var Di = /*#__PURE__*/ I("<span class=glim-window-start>"), Oi = /*#__PURE__*/ I("<div class=glim-modal-foot>");
|
|
1623
|
+
function ki(e) {
|
|
1624
|
+
let t = V(() => e.start), n = U(() => Nn(e.actions, t() !== void 0, {
|
|
1603
1625
|
cancel: {
|
|
1604
1626
|
label: e.text.cancel,
|
|
1605
1627
|
labelKey: "common.cancel",
|
|
@@ -1618,13 +1640,13 @@ function Ei(e) {
|
|
|
1618
1640
|
return n().length > 0;
|
|
1619
1641
|
},
|
|
1620
1642
|
get children() {
|
|
1621
|
-
var r =
|
|
1643
|
+
var r = Oi();
|
|
1622
1644
|
return A(r, D(B, {
|
|
1623
1645
|
get when() {
|
|
1624
1646
|
return t() !== void 0;
|
|
1625
1647
|
},
|
|
1626
1648
|
get children() {
|
|
1627
|
-
var e =
|
|
1649
|
+
var e = Di();
|
|
1628
1650
|
return A(e, t), e;
|
|
1629
1651
|
}
|
|
1630
1652
|
}), null), A(r, D(R, {
|
|
@@ -1656,8 +1678,8 @@ function Ei(e) {
|
|
|
1656
1678
|
});
|
|
1657
1679
|
}
|
|
1658
1680
|
// src/Window.tsx
|
|
1659
|
-
var
|
|
1660
|
-
function
|
|
1681
|
+
var Ai = /*#__PURE__*/ I("<div class=glim-modal-backdrop><div data-glim=Window><h2 class=glim-window-title></h2><div class=\"glim-modal-body glim-window-body\">");
|
|
1682
|
+
function ji(e) {
|
|
1661
1683
|
let t = K({
|
|
1662
1684
|
actions: [],
|
|
1663
1685
|
size: "normal"
|
|
@@ -1672,17 +1694,17 @@ function Oi(e) {
|
|
|
1672
1694
|
"onClose",
|
|
1673
1695
|
"class",
|
|
1674
1696
|
"ref"
|
|
1675
|
-
]), i = V(() => n.drawn), a, o = G(), s =
|
|
1697
|
+
]), i = V(() => n.drawn), a, o = G(), s = at(), c, u = () => {
|
|
1676
1698
|
c?.(), n.onClose();
|
|
1677
1699
|
};
|
|
1678
1700
|
return Y(() => {
|
|
1679
|
-
c =
|
|
1701
|
+
c = pn(() => a ?? null, u), a && Mn(a)?.focus();
|
|
1680
1702
|
}), J(() => {
|
|
1681
|
-
c?.(),
|
|
1703
|
+
c?.(), Jt(s);
|
|
1682
1704
|
}), D(w, { get children() {
|
|
1683
|
-
var e =
|
|
1705
|
+
var e = Ai(), t = e.firstChild, s = t.firstChild, c = s.nextSibling;
|
|
1684
1706
|
return e.$$mousedown = (e) => {
|
|
1685
|
-
e.target === e.currentTarget && !
|
|
1707
|
+
e.target === e.currentTarget && !bt() && u();
|
|
1686
1708
|
}, L((e) => {
|
|
1687
1709
|
a = e, typeof n.ref == "function" && n.ref(e);
|
|
1688
1710
|
}, t), P(t, M({ get "data-glim-title"() {
|
|
@@ -1712,7 +1734,7 @@ function Oi(e) {
|
|
|
1712
1734
|
get children() {
|
|
1713
1735
|
return i() ?? n.title;
|
|
1714
1736
|
}
|
|
1715
|
-
})), A(c, () => n.children), A(t, D(
|
|
1737
|
+
})), A(c, () => n.children), A(t, D(ki, {
|
|
1716
1738
|
get actions() {
|
|
1717
1739
|
return n.actions;
|
|
1718
1740
|
},
|
|
@@ -1728,14 +1750,14 @@ function Oi(e) {
|
|
|
1728
1750
|
}
|
|
1729
1751
|
O(["mousedown"]);
|
|
1730
1752
|
// src/FortressAppCard.tsx
|
|
1731
|
-
var
|
|
1753
|
+
var Mi = /*#__PURE__*/ I("<span data-glim=PresenceBadges style=display:contents>"), Ni = /*#__PURE__*/ I("<div class=glim-fortress-text><p>"), Pi = /*#__PURE__*/ I("<ul class=glim-instance-rows>"), Fi = /*#__PURE__*/ I("<li class=glim-instance-row><span class=glim-instance-device aria-hidden=true></span><span class=glim-instance-row-text><span class=glim-instance-row-name></span><span class=\"glim-instance-row-sub glim-num\"></span></span><span class=glim-instance-row-end>"), Ii = (e, t) => ({
|
|
1732
1754
|
connected: e.connected,
|
|
1733
1755
|
checking: e.checking,
|
|
1734
1756
|
away: e.away
|
|
1735
1757
|
})[t.presence];
|
|
1736
|
-
function
|
|
1758
|
+
function Li(e) {
|
|
1737
1759
|
return (() => {
|
|
1738
|
-
var t =
|
|
1760
|
+
var t = Mi();
|
|
1739
1761
|
return A(t, D(B, {
|
|
1740
1762
|
get when() {
|
|
1741
1763
|
return e.instance.relay;
|
|
@@ -1747,20 +1769,20 @@ function Pi(e) {
|
|
|
1747
1769
|
}
|
|
1748
1770
|
}), null), A(t, D(l, {
|
|
1749
1771
|
get tone() {
|
|
1750
|
-
return
|
|
1772
|
+
return zt(e.instance.presence);
|
|
1751
1773
|
},
|
|
1752
1774
|
get children() {
|
|
1753
|
-
return
|
|
1775
|
+
return Ii(e.text, e.instance);
|
|
1754
1776
|
}
|
|
1755
1777
|
}), null), t;
|
|
1756
1778
|
})();
|
|
1757
1779
|
}
|
|
1758
|
-
function
|
|
1780
|
+
function Ri(e) {
|
|
1759
1781
|
return e ? p(`device${e.charAt(0).toUpperCase()}${e.slice(1)}`) : void 0;
|
|
1760
1782
|
}
|
|
1761
|
-
function
|
|
1762
|
-
let t = U(() =>
|
|
1763
|
-
return D(
|
|
1783
|
+
function zi(e) {
|
|
1784
|
+
let t = U(() => Ye(e.text, e.app, e.instance));
|
|
1785
|
+
return D(ji, {
|
|
1764
1786
|
"data-glim": "FortressDoubtWindow",
|
|
1765
1787
|
get title() {
|
|
1766
1788
|
return t().title;
|
|
@@ -1784,13 +1806,13 @@ function Ii(e) {
|
|
|
1784
1806
|
}];
|
|
1785
1807
|
},
|
|
1786
1808
|
get children() {
|
|
1787
|
-
var e =
|
|
1809
|
+
var e = Ni(), n = e.firstChild;
|
|
1788
1810
|
return A(n, () => t().body), e;
|
|
1789
1811
|
}
|
|
1790
1812
|
});
|
|
1791
1813
|
}
|
|
1792
|
-
function
|
|
1793
|
-
let t = K({ removeKey: "delete" }, e), n = U(() =>
|
|
1814
|
+
function Bi(e) {
|
|
1815
|
+
let t = K({ removeKey: "delete" }, e), n = U(() => Ie(t.app, t.text, t.lang)), [r, i] = W(null), a = (e) => e.doubt ? i(e) : At(t.app, e, t.onOpen), o = (e) => yt(t.text, t.app, e), s = (e, n) => D(B, {
|
|
1794
1816
|
get when() {
|
|
1795
1817
|
return j(() => !!t.onRemove)() && !e.self;
|
|
1796
1818
|
},
|
|
@@ -1813,7 +1835,7 @@ function Li(e) {
|
|
|
1813
1835
|
});
|
|
1814
1836
|
}
|
|
1815
1837
|
}), u = () => n().rows.length === 0, d = () => u() && t.onRemove && !n().main.self;
|
|
1816
|
-
return [D(
|
|
1838
|
+
return [D(Ei, {
|
|
1817
1839
|
"data-glim": "FortressAppCard",
|
|
1818
1840
|
get "data-fortress-app"() {
|
|
1819
1841
|
return t.app.id;
|
|
@@ -1861,7 +1883,7 @@ function Li(e) {
|
|
|
1861
1883
|
});
|
|
1862
1884
|
}
|
|
1863
1885
|
}),
|
|
1864
|
-
D(
|
|
1886
|
+
D(Li, {
|
|
1865
1887
|
get instance() {
|
|
1866
1888
|
return n().main;
|
|
1867
1889
|
},
|
|
@@ -1902,19 +1924,19 @@ function Li(e) {
|
|
|
1902
1924
|
return !u();
|
|
1903
1925
|
},
|
|
1904
1926
|
get children() {
|
|
1905
|
-
var e =
|
|
1927
|
+
var e = Pi();
|
|
1906
1928
|
return A(e, D(R, {
|
|
1907
1929
|
get each() {
|
|
1908
1930
|
return n().rows;
|
|
1909
1931
|
},
|
|
1910
1932
|
children: ({ instance: e, sub: n, open: r }) => (() => {
|
|
1911
|
-
var i =
|
|
1912
|
-
return A(u, () =>
|
|
1933
|
+
var i = Fi(), u = i.firstChild, d = u.nextSibling, f = d.firstChild, p = f.nextSibling, m = d.nextSibling;
|
|
1934
|
+
return A(u, () => Ri(e.deviceKind)), A(f, () => e.device), A(p, n), A(m, D(l, {
|
|
1913
1935
|
get tone() {
|
|
1914
|
-
return
|
|
1936
|
+
return zt(e.presence);
|
|
1915
1937
|
},
|
|
1916
1938
|
get children() {
|
|
1917
|
-
return
|
|
1939
|
+
return Ii(t.text, e);
|
|
1918
1940
|
}
|
|
1919
1941
|
}), null), A(m, D(B, {
|
|
1920
1942
|
when: r,
|
|
@@ -1944,7 +1966,7 @@ function Li(e) {
|
|
|
1944
1966
|
get when() {
|
|
1945
1967
|
return r();
|
|
1946
1968
|
},
|
|
1947
|
-
children: (e) => D(
|
|
1969
|
+
children: (e) => D(zi, {
|
|
1948
1970
|
get app() {
|
|
1949
1971
|
return t.app;
|
|
1950
1972
|
},
|
|
@@ -1954,18 +1976,18 @@ function Li(e) {
|
|
|
1954
1976
|
get text() {
|
|
1955
1977
|
return t.text;
|
|
1956
1978
|
},
|
|
1957
|
-
onOpen: () =>
|
|
1979
|
+
onOpen: () => At(t.app, e(), t.onOpen),
|
|
1958
1980
|
onClose: () => i(null)
|
|
1959
1981
|
})
|
|
1960
1982
|
})];
|
|
1961
1983
|
}
|
|
1962
1984
|
// src/Selector.tsx
|
|
1963
|
-
var
|
|
1964
|
-
function
|
|
1965
|
-
let [t, n] = W(
|
|
1966
|
-
return J(
|
|
1985
|
+
var Vi = /*#__PURE__*/ I("<div class=glim-sel-list>"), Hi = /*#__PURE__*/ I("<div data-glim=Selector>"), Ui = /*#__PURE__*/ I("<span data-sel-label>"), Wi = /*#__PURE__*/ I("<button>"), Gi = /*#__PURE__*/ I("<a>"), Ki = /*#__PURE__*/ I("<span class=glim-tip-wrap>"), qi = /*#__PURE__*/ I("<span hidden>");
|
|
1986
|
+
function Ji(e) {
|
|
1987
|
+
let [t, n] = W(vt(e));
|
|
1988
|
+
return J(_n(e, () => n(vt(e)))), t;
|
|
1967
1989
|
}
|
|
1968
|
-
function
|
|
1990
|
+
function Yi(e) {
|
|
1969
1991
|
let t = K({
|
|
1970
1992
|
orientation: "horizontal",
|
|
1971
1993
|
size: "md",
|
|
@@ -1978,7 +2000,7 @@ function Ki(e) {
|
|
|
1978
2000
|
hue: !0,
|
|
1979
2001
|
disabled: !1,
|
|
1980
2002
|
class: ""
|
|
1981
|
-
}, e), n = T(() => t.label), r = () => t.inline || t.label === void 0 && n() !== void 0, i = () => t.orientation === "vertical", o = () => t.select === "many", s = a(
|
|
2003
|
+
}, e), n = T(() => t.label), r = () => t.inline || t.label === void 0 && n() !== void 0, i = () => t.orientation === "vertical", o = () => t.select === "many", s = a(en(t.size, t.orientation)), c = Ji(Ne), l = U(() => an({
|
|
1982
2004
|
mode: s(),
|
|
1983
2005
|
select: o() ? "many" : "one",
|
|
1984
2006
|
activation: t.activation,
|
|
@@ -1997,7 +2019,7 @@ function Ki(e) {
|
|
|
1997
2019
|
}))
|
|
1998
2020
|
})), u;
|
|
1999
2021
|
H(() => {
|
|
2000
|
-
l().counted && J(
|
|
2022
|
+
l().counted && J(Ge(u));
|
|
2001
2023
|
});
|
|
2002
2024
|
let [f, p] = W(null), m = U(() => [
|
|
2003
2025
|
i(),
|
|
@@ -2014,25 +2036,25 @@ function Ki(e) {
|
|
|
2014
2036
|
H(q(m, () => {
|
|
2015
2037
|
if (i()) return p(null);
|
|
2016
2038
|
let { pinWidth: e, canSqueeze: n, canList: r } = l();
|
|
2017
|
-
J(
|
|
2039
|
+
J(jn(u, {
|
|
2018
2040
|
pinWidth: e,
|
|
2019
2041
|
fit: t.fit,
|
|
2020
2042
|
canSqueeze: n,
|
|
2021
2043
|
canList: r
|
|
2022
2044
|
}, p));
|
|
2023
2045
|
}));
|
|
2024
|
-
let h = U(() =>
|
|
2046
|
+
let h = U(() => tn({
|
|
2025
2047
|
layout: f(),
|
|
2026
2048
|
inline: r(),
|
|
2027
2049
|
fit: t.fit
|
|
2028
2050
|
})), g = () => f()?.fit === "list", _ = () => o() ? t.value : null, v = (e) => {
|
|
2029
2051
|
let n = _();
|
|
2030
2052
|
return n ? n.includes(e) : t.value === e;
|
|
2031
|
-
}, y = U(() => t.items.map((e) => t.disabled || !!e.disabled)), b = U(() =>
|
|
2053
|
+
}, y = U(() => t.items.map((e) => t.disabled || !!e.disabled)), b = U(() => Xt(y(), t.items.findIndex((e) => v(e.id))));
|
|
2032
2054
|
function x(e) {
|
|
2033
2055
|
t.onPress?.(e);
|
|
2034
2056
|
let n = t.onChange, r = _();
|
|
2035
|
-
n(r ?
|
|
2057
|
+
n(r ? Cn(r, e, t.items.map((e) => e.id)) : e);
|
|
2036
2058
|
}
|
|
2037
2059
|
function S(e) {
|
|
2038
2060
|
if (g()) return;
|
|
@@ -2041,21 +2063,21 @@ function Ki(e) {
|
|
|
2041
2063
|
e.preventDefault(), n.click();
|
|
2042
2064
|
return;
|
|
2043
2065
|
}
|
|
2044
|
-
let r =
|
|
2066
|
+
let r = Yt(u, e.key, t.orientation);
|
|
2045
2067
|
if (!r) return;
|
|
2046
2068
|
e.preventDefault();
|
|
2047
2069
|
let a = t.items.find((e) => String(e.id) === r.dataset.selId);
|
|
2048
2070
|
l().autoSelect && a && x(a.id);
|
|
2049
2071
|
}
|
|
2050
2072
|
return (() => {
|
|
2051
|
-
var e =
|
|
2073
|
+
var e = Hi();
|
|
2052
2074
|
e.$$keydown = S;
|
|
2053
2075
|
var r = u;
|
|
2054
2076
|
return typeof r == "function" ? L(r, e) : u = e, A(e, D(R, {
|
|
2055
2077
|
get each() {
|
|
2056
2078
|
return t.items;
|
|
2057
2079
|
},
|
|
2058
|
-
children: (e, n) => D(
|
|
2080
|
+
children: (e, n) => D(Xi, {
|
|
2059
2081
|
item: e,
|
|
2060
2082
|
get index() {
|
|
2061
2083
|
return n();
|
|
@@ -2115,7 +2137,7 @@ function Ki(e) {
|
|
|
2115
2137
|
return g();
|
|
2116
2138
|
},
|
|
2117
2139
|
get children() {
|
|
2118
|
-
var e =
|
|
2140
|
+
var e = Vi();
|
|
2119
2141
|
return A(e, D(me, {
|
|
2120
2142
|
get label() {
|
|
2121
2143
|
return n() ?? "";
|
|
@@ -2158,8 +2180,8 @@ function Ki(e) {
|
|
|
2158
2180
|
}), e;
|
|
2159
2181
|
})();
|
|
2160
2182
|
}
|
|
2161
|
-
function
|
|
2162
|
-
let t = U(() =>
|
|
2183
|
+
function Xi(e) {
|
|
2184
|
+
let t = U(() => Qt({
|
|
2163
2185
|
strip: e.strip,
|
|
2164
2186
|
orientation: e.orientation,
|
|
2165
2187
|
size: e.size,
|
|
@@ -2194,20 +2216,20 @@ function qi(e) {
|
|
|
2194
2216
|
return t().labelClass !== null;
|
|
2195
2217
|
},
|
|
2196
2218
|
get children() {
|
|
2197
|
-
var n =
|
|
2219
|
+
var n = Ui();
|
|
2198
2220
|
return A(n, () => e.item.label), k(() => E(n, t().labelClass)), n;
|
|
2199
2221
|
}
|
|
2200
2222
|
})], l = (t) => {
|
|
2201
2223
|
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || t.button !== 0 || (t.preventDefault(), e.onSelect());
|
|
2202
2224
|
}, f = () => (() => {
|
|
2203
|
-
var r =
|
|
2225
|
+
var r = Wi(), i = n.ref;
|
|
2204
2226
|
return typeof i == "function" ? L(i, r) : n.ref = r, P(r, M(() => e.item.attrs, {
|
|
2205
2227
|
type: "button",
|
|
2206
2228
|
get "data-sel-id"() {
|
|
2207
2229
|
return e.item.id;
|
|
2208
2230
|
},
|
|
2209
2231
|
get id() {
|
|
2210
|
-
return j(() => !!(e.panelId && o()))() ?
|
|
2232
|
+
return j(() => !!(e.panelId && o()))() ? rn(e.panelId, e.item.id) : void 0;
|
|
2211
2233
|
},
|
|
2212
2234
|
get role() {
|
|
2213
2235
|
return j(() => e.strip.kind === "toggle")() ? void 0 : e.strip.kind;
|
|
@@ -2261,7 +2283,7 @@ function qi(e) {
|
|
|
2261
2283
|
return f();
|
|
2262
2284
|
},
|
|
2263
2285
|
get children() {
|
|
2264
|
-
var t =
|
|
2286
|
+
var t = Ki();
|
|
2265
2287
|
return ve(t, "mouseleave", n.hide), ve(t, "mouseenter", n.show), A(t, f), k((n) => F(t, d(e.share), n)), t;
|
|
2266
2288
|
}
|
|
2267
2289
|
}), D(B, {
|
|
@@ -2269,13 +2291,13 @@ function qi(e) {
|
|
|
2269
2291
|
return i();
|
|
2270
2292
|
},
|
|
2271
2293
|
get children() {
|
|
2272
|
-
var e =
|
|
2294
|
+
var e = qi();
|
|
2273
2295
|
return N(e, "id", r), A(e, () => t().tip), e;
|
|
2274
2296
|
}
|
|
2275
2297
|
})];
|
|
2276
2298
|
},
|
|
2277
2299
|
get children() {
|
|
2278
|
-
var r =
|
|
2300
|
+
var r = Gi(), i = n.ref;
|
|
2279
2301
|
return typeof i == "function" ? L(i, r) : n.ref = r, P(r, M(() => e.item.attrs, {
|
|
2280
2302
|
get href() {
|
|
2281
2303
|
return e.item.href;
|
|
@@ -2309,8 +2331,8 @@ function qi(e) {
|
|
|
2309
2331
|
}
|
|
2310
2332
|
O(["keydown"]);
|
|
2311
2333
|
// src/Toggle.tsx
|
|
2312
|
-
var
|
|
2313
|
-
function
|
|
2334
|
+
var Zi = /*#__PURE__*/ I("<span class=glim-toggle-label>"), Qi = /*#__PURE__*/ I("<span data-glim=Toggle><button><span class=glim-toggle-thumb>"), $i = /*#__PURE__*/ I("<span class=glim-toggle-refusal>");
|
|
2335
|
+
function ea(e) {
|
|
2314
2336
|
let t = K({ hideLabel: !1 }, e), [n, r] = X(t, [
|
|
2315
2337
|
"checked",
|
|
2316
2338
|
"onChange",
|
|
@@ -2325,17 +2347,17 @@ function Zi(e) {
|
|
|
2325
2347
|
J(() => c?.());
|
|
2326
2348
|
let l = (e) => {
|
|
2327
2349
|
if (typeof n.onClick == "function" && n.onClick(e), !n.refused) return n.onChange(!n.checked);
|
|
2328
|
-
c?.(), c =
|
|
2350
|
+
c?.(), c = on(s);
|
|
2329
2351
|
};
|
|
2330
2352
|
return [
|
|
2331
2353
|
(() => {
|
|
2332
|
-
var e =
|
|
2354
|
+
var e = Qi(), t = e.firstChild, c = s;
|
|
2333
2355
|
typeof c == "function" ? L(c, e) : s = e, A(e, D(B, {
|
|
2334
2356
|
get when() {
|
|
2335
2357
|
return j(() => n.label !== void 0)() && !n.hideLabel;
|
|
2336
2358
|
},
|
|
2337
2359
|
get children() {
|
|
2338
|
-
var e =
|
|
2360
|
+
var e = Zi();
|
|
2339
2361
|
return A(e, () => n.label), e;
|
|
2340
2362
|
}
|
|
2341
2363
|
}), t);
|
|
@@ -2381,7 +2403,7 @@ function Zi(e) {
|
|
|
2381
2403
|
return n.refused;
|
|
2382
2404
|
},
|
|
2383
2405
|
get children() {
|
|
2384
|
-
var e =
|
|
2406
|
+
var e = $i();
|
|
2385
2407
|
return N(e, "id", o), A(e, () => n.refused), e;
|
|
2386
2408
|
}
|
|
2387
2409
|
}),
|
|
@@ -2389,12 +2411,12 @@ function Zi(e) {
|
|
|
2389
2411
|
];
|
|
2390
2412
|
}
|
|
2391
2413
|
// src/FortressPermissions.tsx
|
|
2392
|
-
var
|
|
2393
|
-
function
|
|
2394
|
-
let [t, n] = W("all"), r = () =>
|
|
2414
|
+
var ta = /*#__PURE__*/ I("<img alt>"), na = /*#__PURE__*/ I("<ul class=glim-permissions>"), ra = /*#__PURE__*/ I("<p class=glim-fortress-sub>"), ia = /*#__PURE__*/ I("<span class=glim-fortress-sub>"), aa = /*#__PURE__*/ I("<li><span class=glim-permission-pair aria-hidden=true><span class=glim-permission-to></span></span><span class=glim-permission-text><span class=glim-permission-title>");
|
|
2415
|
+
function oa(e) {
|
|
2416
|
+
let [t, n] = W("all"), r = () => Pt(e.permissions, e.app.id), i = () => r().length < e.permissions.length, a = () => t() === "all" || !i() ? e.permissions : r(), o = () => a().map((e) => e.id), s = (t) => {
|
|
2395
2417
|
let n = e.apps.find((e) => e.id === t);
|
|
2396
2418
|
return n?.logo ? (() => {
|
|
2397
|
-
var e =
|
|
2419
|
+
var e = ta();
|
|
2398
2420
|
return N(e, "draggable", !1), k(() => N(e, "src", n.logo)), e;
|
|
2399
2421
|
})() : null;
|
|
2400
2422
|
};
|
|
@@ -2406,9 +2428,9 @@ function ra(e) {
|
|
|
2406
2428
|
}
|
|
2407
2429
|
e.notify?.(n.error ?? e.text.failed, "fail");
|
|
2408
2430
|
let r = document.querySelector(`[data-permission="${CSS.escape(t.id)}"] .glim-toggle`);
|
|
2409
|
-
r &&
|
|
2431
|
+
r && on(r);
|
|
2410
2432
|
}
|
|
2411
|
-
return D(
|
|
2433
|
+
return D(Ln, {
|
|
2412
2434
|
"data-glim": "FortressPermissions",
|
|
2413
2435
|
get title() {
|
|
2414
2436
|
return e.text.permissions;
|
|
@@ -2426,7 +2448,7 @@ function ra(e) {
|
|
|
2426
2448
|
},
|
|
2427
2449
|
get fallback() {
|
|
2428
2450
|
return (() => {
|
|
2429
|
-
var t =
|
|
2451
|
+
var t = ra();
|
|
2430
2452
|
return A(t, () => e.text.noPermissions), t;
|
|
2431
2453
|
})();
|
|
2432
2454
|
},
|
|
@@ -2436,7 +2458,7 @@ function ra(e) {
|
|
|
2436
2458
|
return i();
|
|
2437
2459
|
},
|
|
2438
2460
|
get children() {
|
|
2439
|
-
return D(
|
|
2461
|
+
return D(Yi, {
|
|
2440
2462
|
get label() {
|
|
2441
2463
|
return e.text.permissions;
|
|
2442
2464
|
},
|
|
@@ -2458,7 +2480,7 @@ function ra(e) {
|
|
|
2458
2480
|
});
|
|
2459
2481
|
}
|
|
2460
2482
|
}), (() => {
|
|
2461
|
-
var t =
|
|
2483
|
+
var t = na();
|
|
2462
2484
|
return A(t, D(R, {
|
|
2463
2485
|
get each() {
|
|
2464
2486
|
return o();
|
|
@@ -2466,10 +2488,10 @@ function ra(e) {
|
|
|
2466
2488
|
children: (t) => {
|
|
2467
2489
|
let n = () => a().find((e) => e.id === t);
|
|
2468
2490
|
return (() => {
|
|
2469
|
-
var r =
|
|
2491
|
+
var r = aa(), i = r.firstChild, a = i.firstChild, o = i.nextSibling, l = o.firstChild;
|
|
2470
2492
|
return N(r, "data-permission", t), A(i, () => s(n().from), a), A(i, D(C, {
|
|
2471
2493
|
get mark() {
|
|
2472
|
-
return
|
|
2494
|
+
return Ae.expand;
|
|
2473
2495
|
},
|
|
2474
2496
|
class: "glim-permission-arrow"
|
|
2475
2497
|
}), a), A(a, () => n().to.map(s)), A(l, () => n().title), A(o, D(B, {
|
|
@@ -2477,10 +2499,10 @@ function ra(e) {
|
|
|
2477
2499
|
return n().detail;
|
|
2478
2500
|
},
|
|
2479
2501
|
get children() {
|
|
2480
|
-
var e =
|
|
2502
|
+
var e = ia();
|
|
2481
2503
|
return A(e, () => n().detail), e;
|
|
2482
2504
|
}
|
|
2483
|
-
}), null), A(o, () => e.extra?.(n()), null), A(r, D(
|
|
2505
|
+
}), null), A(o, () => e.extra?.(n()), null), A(r, D(ea, {
|
|
2484
2506
|
get label() {
|
|
2485
2507
|
return n().title;
|
|
2486
2508
|
},
|
|
@@ -2500,8 +2522,8 @@ function ra(e) {
|
|
|
2500
2522
|
});
|
|
2501
2523
|
}
|
|
2502
2524
|
// src/PasswordField.tsx
|
|
2503
|
-
var
|
|
2504
|
-
function
|
|
2525
|
+
var sa = /*#__PURE__*/ I("<span data-glim=PasswordField><input autocomplete=current-password>");
|
|
2526
|
+
function ca(e) {
|
|
2505
2527
|
let t = K({ text: {
|
|
2506
2528
|
show: "Show",
|
|
2507
2529
|
hide: "Hide"
|
|
@@ -2515,9 +2537,9 @@ function aa(e) {
|
|
|
2515
2537
|
"disabled",
|
|
2516
2538
|
"aria-label",
|
|
2517
2539
|
"aria-describedby"
|
|
2518
|
-
]), [i, a] = W(!1), o = T(() => n["aria-label"]), s = G(), c = () =>
|
|
2540
|
+
]), [i, a] = W(!1), o = T(() => n["aria-label"]), s = G(), c = () => Xe(n.error, r.id ?? s, n["aria-describedby"]);
|
|
2519
2541
|
return [(() => {
|
|
2520
|
-
var e =
|
|
2542
|
+
var e = sa(), t = e.firstChild, s = n.ref;
|
|
2521
2543
|
return typeof s == "function" ? L(s, t) : n.ref = t, N(t, "spellcheck", !1), P(t, M(r, {
|
|
2522
2544
|
get "aria-label"() {
|
|
2523
2545
|
return o();
|
|
@@ -2559,14 +2581,14 @@ function aa(e) {
|
|
|
2559
2581
|
}
|
|
2560
2582
|
})), null), k(() => E(e, [
|
|
2561
2583
|
"glim-secret",
|
|
2562
|
-
|
|
2584
|
+
Ze(n.width),
|
|
2563
2585
|
n.class
|
|
2564
2586
|
].filter(Boolean).join(" "))), e;
|
|
2565
2587
|
})(), D(B, {
|
|
2566
2588
|
get when() {
|
|
2567
2589
|
return c().errorId;
|
|
2568
2590
|
},
|
|
2569
|
-
children: (e) => D(
|
|
2591
|
+
children: (e) => D(ci, {
|
|
2570
2592
|
get id() {
|
|
2571
2593
|
return e();
|
|
2572
2594
|
},
|
|
@@ -2577,7 +2599,7 @@ function aa(e) {
|
|
|
2577
2599
|
})];
|
|
2578
2600
|
}
|
|
2579
2601
|
// src/Fortress.tsx
|
|
2580
|
-
var
|
|
2602
|
+
var la = /*#__PURE__*/ I("<div class=\"glim-card glim-instance glim-instance--out\"data-fortress=out><h3 class=glim-instance-title></h3><p class=glim-instance-hint>"), ua = /*#__PURE__*/ I("<div class=\"glim-card glim-fortress-switch glim-hue\"><span class=glim-fortress-switch-text><span class=glim-fortress-switch-name></span><span class=glim-fortress-sub>"), da = /*#__PURE__*/ I("<div class=glim-fortress-removed data-fortress=removed role=status><span>"), fa = /*#__PURE__*/ I("<div class=glim-fortress-grid>"), pa = /*#__PURE__*/ I("<div class=glim-fortress-actions>"), ma = /*#__PURE__*/ I("<div data-glim=Fortress class=glim-fortress><div class=glim-fortress-grid>"), ha = /*#__PURE__*/ I("<img alt>"), ga = /*#__PURE__*/ I("<p class=glim-instance-found><span>"), _a = /*#__PURE__*/ I("<svg class=glim-phrase-qr data-fortress=qr role=img shape-rendering=crispEdges><rect x=-4 y=-4 fill=#ffffff></rect><path fill=#161616>"), va = /*#__PURE__*/ I("<p class=glim-fortress-error role=alert>"), ya = /*#__PURE__*/ I("<div class=glim-phrase-show><ol class=glim-phrase-words data-fortress=words></ol><p class=glim-phrase-scan>"), ba = /*#__PURE__*/ I("<li><span class=\"glim-phrase-number glim-num\">"), xa = /*#__PURE__*/ I("<div class=glim-fortress-result><span class=glim-fortress-result-mark aria-hidden=true></span><div class=glim-fortress-text><p class=glim-fortress-result-title></p><p class=glim-fortress-sub>"), Sa = /*#__PURE__*/ I("<div class=glim-fortress-text><p></p><p class=glim-fortress-sub>"), Ca = /*#__PURE__*/ I("<form class=glim-fortress-text><p></p><div class=glim-phrase-fields></div><button type=submit hidden></button><p class=glim-fortress-sub>"), wa = /*#__PURE__*/ I("<label class=glim-phrase-field><span class=\"glim-phrase-number glim-num\"></span><input class=glim-input autocomplete=off autocapitalize=none autocorrect=off>"), Ta = /*#__PURE__*/ I("<p class=glim-fortress-note data-fortress=moves><span>"), Ea = /*#__PURE__*/ I("<div class=glim-fortress-text><p>"), Da = /*#__PURE__*/ I("<form class=glim-fortress-text><p>"), Oa = /*#__PURE__*/ I("<p class=glim-fortress-sub>"), ka = {
|
|
2581
2603
|
join: "fortressJoin",
|
|
2582
2604
|
leave: "fortressLeave",
|
|
2583
2605
|
showPhrase: "fortressShowPhrase",
|
|
@@ -2587,39 +2609,39 @@ var oa = /*#__PURE__*/ I("<div class=\"glim-card glim-instance glim-instance--ou
|
|
|
2587
2609
|
unlock: "unlock",
|
|
2588
2610
|
copy: "copy"
|
|
2589
2611
|
};
|
|
2590
|
-
function
|
|
2612
|
+
function Aa(e) {
|
|
2591
2613
|
let [t, n] = W(e.state());
|
|
2592
2614
|
return J(e.subscribe(() => n(e.state()))), t;
|
|
2593
2615
|
}
|
|
2594
|
-
function
|
|
2616
|
+
function ja(e) {
|
|
2595
2617
|
let t = K({
|
|
2596
2618
|
removed: [],
|
|
2597
2619
|
hueStart: 0
|
|
2598
|
-
}, e), n =
|
|
2620
|
+
}, e), n = Ke(() => ({
|
|
2599
2621
|
onJoin: e.onJoin,
|
|
2600
2622
|
onRemove: e.onRemove,
|
|
2601
2623
|
onShowPhrase: e.onShowPhrase,
|
|
2602
2624
|
onChangePhrase: e.onChangePhrase,
|
|
2603
2625
|
phrasePassword: e.phrasePassword,
|
|
2604
2626
|
failed: e.text.failed,
|
|
2605
|
-
joinRefusal: (t) =>
|
|
2606
|
-
})), r =
|
|
2607
|
-
...
|
|
2627
|
+
joinRefusal: (t) => lt(e.text, t)
|
|
2628
|
+
})), r = Aa(n), i = () => ({
|
|
2629
|
+
...ka,
|
|
2608
2630
|
...e.labelKeys
|
|
2609
|
-
}), [a, o] = W(
|
|
2610
|
-
e.onShowOthers ? e.onShowOthers(t) : (
|
|
2631
|
+
}), [a, o] = W(gn()), s = () => e.showOthers ?? a(), l = (t) => {
|
|
2632
|
+
e.onShowOthers ? e.onShowOthers(t) : (hn(t), o(t));
|
|
2611
2633
|
}, u = () => {
|
|
2612
2634
|
let t = e.children;
|
|
2613
2635
|
return typeof t == "function" ? t(n.openRemove) : t;
|
|
2614
2636
|
}, f = () => e.onRemove && n.openRemove, m = () => !e.joined || e.onShowPhrase;
|
|
2615
2637
|
return (() => {
|
|
2616
|
-
var a =
|
|
2638
|
+
var a = ma(), o = a.firstChild;
|
|
2617
2639
|
return A(o, u, null), A(o, D(B, {
|
|
2618
2640
|
get when() {
|
|
2619
2641
|
return !e.joined;
|
|
2620
2642
|
},
|
|
2621
2643
|
get children() {
|
|
2622
|
-
var t =
|
|
2644
|
+
var t = la(), n = t.firstChild, r = n.nextSibling;
|
|
2623
2645
|
return A(n, (() => {
|
|
2624
2646
|
var t = j(() => !!e.removedHere);
|
|
2625
2647
|
return () => t() ? e.text.removedHereTitle : e.text.outTitle;
|
|
@@ -2628,13 +2650,13 @@ function Oa(e) {
|
|
|
2628
2650
|
return e.found;
|
|
2629
2651
|
},
|
|
2630
2652
|
children: (t) => (() => {
|
|
2631
|
-
var n =
|
|
2653
|
+
var n = ga(), r = n.firstChild;
|
|
2632
2654
|
return A(n, D(B, {
|
|
2633
2655
|
get when() {
|
|
2634
2656
|
return t().logo;
|
|
2635
2657
|
},
|
|
2636
2658
|
get children() {
|
|
2637
|
-
var e =
|
|
2659
|
+
var e = ha();
|
|
2638
2660
|
return k(() => N(e, "src", t().logo)), e;
|
|
2639
2661
|
}
|
|
2640
2662
|
}), r), A(r, () => Z(e.text.found, {
|
|
@@ -2649,10 +2671,10 @@ function Oa(e) {
|
|
|
2649
2671
|
return j(() => !!e.joined)() && !e.hideSwitch;
|
|
2650
2672
|
},
|
|
2651
2673
|
get children() {
|
|
2652
|
-
var n =
|
|
2674
|
+
var n = ua(), r = n.firstChild.firstChild, i = r.nextSibling;
|
|
2653
2675
|
return A(r, () => e.text.showOthers, null), A(r, D(Q, { get tip() {
|
|
2654
2676
|
return e.text.about;
|
|
2655
|
-
} }), null), A(i, () =>
|
|
2677
|
+
} }), null), A(i, () => Nt(e.text, e.lang, e.apps)), A(n, D(ea, {
|
|
2656
2678
|
get label() {
|
|
2657
2679
|
return e.text.showOthers;
|
|
2658
2680
|
},
|
|
@@ -2662,15 +2684,15 @@ function Oa(e) {
|
|
|
2662
2684
|
},
|
|
2663
2685
|
onChange: l,
|
|
2664
2686
|
"data-fortress": "others"
|
|
2665
|
-
}), null), k((e) => F(n, d(
|
|
2687
|
+
}), null), k((e) => F(n, d(ot(t.hueStart)), e)), n;
|
|
2666
2688
|
}
|
|
2667
2689
|
}), null), A(a, D(B, {
|
|
2668
2690
|
get when() {
|
|
2669
2691
|
return j(() => !!e.joined)() && t.removed.length > 0;
|
|
2670
2692
|
},
|
|
2671
2693
|
get children() {
|
|
2672
|
-
var r =
|
|
2673
|
-
return A(r, () => p("info"), a), A(a, () => Z(e.text.removedNote, { devices:
|
|
2694
|
+
var r = da(), a = r.firstChild;
|
|
2695
|
+
return A(r, () => p("info"), a), A(a, () => Z(e.text.removedNote, { devices: pt(e.lang, t.removed) })), A(r, D(B, {
|
|
2674
2696
|
get when() {
|
|
2675
2697
|
return e.onChangePhrase;
|
|
2676
2698
|
},
|
|
@@ -2697,12 +2719,12 @@ function Oa(e) {
|
|
|
2697
2719
|
},
|
|
2698
2720
|
get children() {
|
|
2699
2721
|
return [(() => {
|
|
2700
|
-
var n =
|
|
2722
|
+
var n = fa();
|
|
2701
2723
|
return A(n, D(R, {
|
|
2702
2724
|
get each() {
|
|
2703
2725
|
return e.apps;
|
|
2704
2726
|
},
|
|
2705
|
-
children: (n, r) => e.renderApp ? e.renderApp(n, t.hueStart + 1 + r(), f()) : D(
|
|
2727
|
+
children: (n, r) => e.renderApp ? e.renderApp(n, t.hueStart + 1 + r(), f()) : D(Bi, {
|
|
2706
2728
|
app: n,
|
|
2707
2729
|
get text() {
|
|
2708
2730
|
return e.text;
|
|
@@ -2724,7 +2746,7 @@ function Oa(e) {
|
|
|
2724
2746
|
}
|
|
2725
2747
|
})
|
|
2726
2748
|
})), n;
|
|
2727
|
-
})(), D(
|
|
2749
|
+
})(), D(oa, {
|
|
2728
2750
|
get text() {
|
|
2729
2751
|
return e.text;
|
|
2730
2752
|
},
|
|
@@ -2756,7 +2778,7 @@ function Oa(e) {
|
|
|
2756
2778
|
return m();
|
|
2757
2779
|
},
|
|
2758
2780
|
get children() {
|
|
2759
|
-
var t =
|
|
2781
|
+
var t = pa();
|
|
2760
2782
|
return A(t, D(B, {
|
|
2761
2783
|
get when() {
|
|
2762
2784
|
return e.joined;
|
|
@@ -2801,7 +2823,7 @@ function Oa(e) {
|
|
|
2801
2823
|
return r().window;
|
|
2802
2824
|
},
|
|
2803
2825
|
get children() {
|
|
2804
|
-
return D(
|
|
2826
|
+
return D(Na, {
|
|
2805
2827
|
flow: n,
|
|
2806
2828
|
get state() {
|
|
2807
2829
|
return r();
|
|
@@ -2815,10 +2837,10 @@ function Oa(e) {
|
|
|
2815
2837
|
}), null), a;
|
|
2816
2838
|
})();
|
|
2817
2839
|
}
|
|
2818
|
-
function
|
|
2819
|
-
let t = U(() =>
|
|
2840
|
+
function Ma(e) {
|
|
2841
|
+
let t = U(() => Ht(e.content)), n = () => t().size + 8;
|
|
2820
2842
|
return (() => {
|
|
2821
|
-
var r =
|
|
2843
|
+
var r = _a(), i = r.firstChild, a = i.nextSibling;
|
|
2822
2844
|
return k((o) => {
|
|
2823
2845
|
var s = e.name, c = `-4 -4 ${n()} ${n()}`, l = n(), u = n(), d = t().path;
|
|
2824
2846
|
return s !== o.e && N(r, "aria-label", o.e = s), c !== o.t && N(r, "viewBox", o.t = c), l !== o.a && N(i, "width", o.a = l), u !== o.o && N(i, "height", o.o = u), d !== o.i && N(a, "d", o.i = d), o;
|
|
@@ -2831,13 +2853,13 @@ function ka(e) {
|
|
|
2831
2853
|
}), r;
|
|
2832
2854
|
})();
|
|
2833
2855
|
}
|
|
2834
|
-
function
|
|
2835
|
-
let t = () => e.context.text, n = () => e.context.app, r = () => e.state.window, i = (e) => r().kind === e ? r() : void 0, a = U(() => r().kind), o = U(() => i("phrase")?.step ?? a()), s = U(() => i("join")?.focus ?? -1), c = U(() => e.state.refusal), l, [u, d] = W(!1), f = () => e.context.pairedWith?.length ?
|
|
2856
|
+
function Na(e) {
|
|
2857
|
+
let t = () => e.context.text, n = () => e.context.app, r = () => e.state.window, i = (e) => r().kind === e ? r() : void 0, a = U(() => r().kind), o = U(() => i("phrase")?.step ?? a()), s = U(() => i("join")?.focus ?? -1), c = U(() => e.state.refusal), l, [u, d] = W(!1), f = () => e.context.pairedWith?.length ? pt(e.context.lang, e.context.pairedWith) : null, m = () => e.state.busy !== null, g = () => D(B, {
|
|
2836
2858
|
get when() {
|
|
2837
2859
|
return e.state.error;
|
|
2838
2860
|
},
|
|
2839
2861
|
get children() {
|
|
2840
|
-
var t =
|
|
2862
|
+
var t = va();
|
|
2841
2863
|
return A(t, () => e.state.error), t;
|
|
2842
2864
|
}
|
|
2843
2865
|
}), _ = (e, t, n, r, i = () => !1) => ({
|
|
@@ -2855,21 +2877,21 @@ function Aa(e) {
|
|
|
2855
2877
|
attrs: { "data-fortress": "copy" },
|
|
2856
2878
|
onClick: () => {
|
|
2857
2879
|
let e = r();
|
|
2858
|
-
return (e.kind === "phrase" || e.kind === "changed") &&
|
|
2880
|
+
return (e.kind === "phrase" || e.kind === "changed") && We(e.words.join(" ")).then(d), !1;
|
|
2859
2881
|
}
|
|
2860
2882
|
}), y = (t, n) => {
|
|
2861
2883
|
e.flow.enter(t, n.value);
|
|
2862
2884
|
let r = i("join")?.words[t];
|
|
2863
2885
|
r !== void 0 && n.value !== r && (n.value = r);
|
|
2864
2886
|
}, b = (n) => (() => {
|
|
2865
|
-
var r =
|
|
2887
|
+
var r = ya(), i = r.firstChild, a = i.nextSibling;
|
|
2866
2888
|
return A(i, D(be, {
|
|
2867
2889
|
each: n,
|
|
2868
2890
|
children: (e, t) => (() => {
|
|
2869
|
-
var n =
|
|
2891
|
+
var n = ba(), r = n.firstChild;
|
|
2870
2892
|
return A(r, t + 1), A(n, e, null), n;
|
|
2871
2893
|
})()
|
|
2872
|
-
})), A(r, D(
|
|
2894
|
+
})), A(r, D(Ma, {
|
|
2873
2895
|
get content() {
|
|
2874
2896
|
return j(() => !!e.context.phraseQr)() ? e.context.phraseQr(n) : n.join(" ");
|
|
2875
2897
|
},
|
|
@@ -2888,7 +2910,7 @@ function Aa(e) {
|
|
|
2888
2910
|
case "join": return {
|
|
2889
2911
|
title: n.joinTitle,
|
|
2890
2912
|
size: "wide",
|
|
2891
|
-
actions: [_("join", a.join, n.join, r.join, () => !
|
|
2913
|
+
actions: [_("join", a.join, n.join, r.join, () => !Ft(i("join")?.words ?? []))]
|
|
2892
2914
|
};
|
|
2893
2915
|
case "joined": return {
|
|
2894
2916
|
title: n.joinTitle,
|
|
@@ -2930,7 +2952,7 @@ function Aa(e) {
|
|
|
2930
2952
|
actions: [v()]
|
|
2931
2953
|
};
|
|
2932
2954
|
}
|
|
2933
|
-
}), S = D(
|
|
2955
|
+
}), S = D(ji, {
|
|
2934
2956
|
ref: (e) => l = e,
|
|
2935
2957
|
get title() {
|
|
2936
2958
|
return x().title;
|
|
@@ -2961,7 +2983,7 @@ function Aa(e) {
|
|
|
2961
2983
|
return i("join");
|
|
2962
2984
|
},
|
|
2963
2985
|
children: (r) => (() => {
|
|
2964
|
-
var i =
|
|
2986
|
+
var i = Ca(), a = i.firstChild, o = a.nextSibling, s = o.nextSibling.nextSibling;
|
|
2965
2987
|
return i.addEventListener("submit", (t) => {
|
|
2966
2988
|
t.preventDefault(), e.flow.join();
|
|
2967
2989
|
}), A(a, () => t().about), A(o, D(be, {
|
|
@@ -2969,7 +2991,7 @@ function Aa(e) {
|
|
|
2969
2991
|
return r().words;
|
|
2970
2992
|
},
|
|
2971
2993
|
children: (e, n) => (() => {
|
|
2972
|
-
var r =
|
|
2994
|
+
var r = wa(), i = r.firstChild, a = i.nextSibling;
|
|
2973
2995
|
return A(i, n + 1), a.$$input = (e) => y(n, e.currentTarget), N(a, "data-word", n), N(a, "spellcheck", !1), k(() => N(a, "aria-label", Z(t().word, { n: n + 1 }))), k(() => a.value = e()), r;
|
|
2974
2996
|
})()
|
|
2975
2997
|
})), A(s, () => t().phraseWhere), A(i, D(B, {
|
|
@@ -2977,7 +2999,7 @@ function Aa(e) {
|
|
|
2977
2999
|
return f();
|
|
2978
3000
|
},
|
|
2979
3001
|
children: (e) => (() => {
|
|
2980
|
-
var r =
|
|
3002
|
+
var r = Ta(), i = r.firstChild;
|
|
2981
3003
|
return A(r, () => p("info"), i), A(i, () => Z(t().moves, {
|
|
2982
3004
|
app: n().name,
|
|
2983
3005
|
devices: e()
|
|
@@ -2991,9 +3013,9 @@ function Aa(e) {
|
|
|
2991
3013
|
return a() === "joined";
|
|
2992
3014
|
},
|
|
2993
3015
|
get children() {
|
|
2994
|
-
var e =
|
|
3016
|
+
var e = xa(), r = e.firstChild, i = r.nextSibling.firstChild, a = i.nextSibling;
|
|
2995
3017
|
return A(r, D(C, { get mark() {
|
|
2996
|
-
return
|
|
3018
|
+
return Ae.check;
|
|
2997
3019
|
} })), A(i, () => Z(t().joinedTitle, { app: n().name })), A(a, (() => {
|
|
2998
3020
|
var e = j(() => !!f());
|
|
2999
3021
|
return () => e() ? `${Z(t().joinedMoved, { devices: f() })} ` : "";
|
|
@@ -3005,7 +3027,7 @@ function Aa(e) {
|
|
|
3005
3027
|
return a() === "leave";
|
|
3006
3028
|
},
|
|
3007
3029
|
get children() {
|
|
3008
|
-
var r =
|
|
3030
|
+
var r = Sa(), i = r.firstChild, a = i.nextSibling;
|
|
3009
3031
|
return A(i, () => Z(t().leaveBody, { app: n().name }), null), A(i, (() => {
|
|
3010
3032
|
var e = j(() => !!f());
|
|
3011
3033
|
return () => e() && ` ${Z(t().leavePairing, { devices: f() })}`;
|
|
@@ -3020,7 +3042,7 @@ function Aa(e) {
|
|
|
3020
3042
|
return i("remove");
|
|
3021
3043
|
},
|
|
3022
3044
|
children: (e) => (() => {
|
|
3023
|
-
var n =
|
|
3045
|
+
var n = Sa(), r = n.firstChild, i = r.nextSibling;
|
|
3024
3046
|
return A(r, () => Z(t().removeBody, { device: e().device })), A(i, () => t().removeBack), A(n, g, null), n;
|
|
3025
3047
|
})()
|
|
3026
3048
|
}),
|
|
@@ -3029,7 +3051,7 @@ function Aa(e) {
|
|
|
3029
3051
|
return i("removed");
|
|
3030
3052
|
},
|
|
3031
3053
|
children: (e) => (() => {
|
|
3032
|
-
var n =
|
|
3054
|
+
var n = Ea(), r = n.firstChild;
|
|
3033
3055
|
return A(r, () => Z(t().removedBody, { device: e().device })), A(n, g, null), n;
|
|
3034
3056
|
})()
|
|
3035
3057
|
}),
|
|
@@ -3038,10 +3060,10 @@ function Aa(e) {
|
|
|
3038
3060
|
return j(() => i("phrase")?.step === "password")() && i("phrase");
|
|
3039
3061
|
},
|
|
3040
3062
|
children: (r) => (() => {
|
|
3041
|
-
var i =
|
|
3063
|
+
var i = Da(), a = i.firstChild;
|
|
3042
3064
|
return i.addEventListener("submit", (t) => {
|
|
3043
3065
|
t.preventDefault(), e.flow.unlock();
|
|
3044
|
-
}), A(a, () => Z(t().phrasePassword, { app: n().name })), A(i, D(
|
|
3066
|
+
}), A(a, () => Z(t().phrasePassword, { app: n().name })), A(i, D(ca, {
|
|
3045
3067
|
get "aria-label"() {
|
|
3046
3068
|
return Z(t().password, { app: n().name });
|
|
3047
3069
|
},
|
|
@@ -3066,7 +3088,7 @@ function Aa(e) {
|
|
|
3066
3088
|
return i("phrase");
|
|
3067
3089
|
},
|
|
3068
3090
|
children: (e) => (() => {
|
|
3069
|
-
var n =
|
|
3091
|
+
var n = Ea(), r = n.firstChild;
|
|
3070
3092
|
return A(r, () => t().phraseBody), A(n, () => b(e().words), null), n;
|
|
3071
3093
|
})()
|
|
3072
3094
|
}),
|
|
@@ -3075,7 +3097,7 @@ function Aa(e) {
|
|
|
3075
3097
|
return a() === "change";
|
|
3076
3098
|
},
|
|
3077
3099
|
get children() {
|
|
3078
|
-
var e =
|
|
3100
|
+
var e = Sa(), n = e.firstChild, r = n.nextSibling;
|
|
3079
3101
|
return A(n, () => t().changeBody), A(r, () => t().changeAway), A(e, g, null), e;
|
|
3080
3102
|
}
|
|
3081
3103
|
}),
|
|
@@ -3084,14 +3106,14 @@ function Aa(e) {
|
|
|
3084
3106
|
return i("changed");
|
|
3085
3107
|
},
|
|
3086
3108
|
children: (n) => (() => {
|
|
3087
|
-
var r =
|
|
3109
|
+
var r = Ea(), i = r.firstChild;
|
|
3088
3110
|
return A(i, () => t().phraseBody), A(r, () => b(n().words), null), A(r, D(B, {
|
|
3089
3111
|
get when() {
|
|
3090
3112
|
return n().left.length > 0;
|
|
3091
3113
|
},
|
|
3092
3114
|
get children() {
|
|
3093
|
-
var r =
|
|
3094
|
-
return A(r, () => Z(t().changedLeft, { devices:
|
|
3115
|
+
var r = Oa();
|
|
3116
|
+
return A(r, () => Z(t().changedLeft, { devices: pt(e.context.lang, n().left) })), r;
|
|
3095
3117
|
}
|
|
3096
3118
|
}), null), r;
|
|
3097
3119
|
})()
|
|
@@ -3102,29 +3124,29 @@ function Aa(e) {
|
|
|
3102
3124
|
});
|
|
3103
3125
|
return H(q(c, (e) => {
|
|
3104
3126
|
let t = e && l?.querySelector(`[data-fortress="${e.button}"]`);
|
|
3105
|
-
t && J(
|
|
3127
|
+
t && J(on(t));
|
|
3106
3128
|
})), H(() => {
|
|
3107
3129
|
s() >= 0 && l?.querySelector(`[data-word="${s()}"]`)?.focus();
|
|
3108
3130
|
}), H(q(a, () => {
|
|
3109
|
-
l &&
|
|
3131
|
+
l && Mn(l)?.focus();
|
|
3110
3132
|
}, { defer: !0 })), H(() => {
|
|
3111
3133
|
if (!u()) return;
|
|
3112
3134
|
let e = setTimeout(() => d(!1), Ee);
|
|
3113
3135
|
J(() => clearTimeout(e));
|
|
3114
3136
|
}), S;
|
|
3115
3137
|
}
|
|
3116
|
-
function
|
|
3117
|
-
let t =
|
|
3138
|
+
function Pa(e) {
|
|
3139
|
+
let t = Ke(() => ({
|
|
3118
3140
|
onLeave: e.onLeave,
|
|
3119
3141
|
onShowPhrase: e.onShowPhrase,
|
|
3120
3142
|
onChangePhrase: e.onChangePhrase,
|
|
3121
3143
|
phrasePassword: e.phrasePassword,
|
|
3122
3144
|
failed: e.text.failed
|
|
3123
|
-
})), n =
|
|
3124
|
-
...
|
|
3145
|
+
})), n = Aa(t), r = () => ({
|
|
3146
|
+
...ka,
|
|
3125
3147
|
...e.labelKeys
|
|
3126
3148
|
});
|
|
3127
|
-
return D(
|
|
3149
|
+
return D(Ln, {
|
|
3128
3150
|
"data-glim": "FortressPairing",
|
|
3129
3151
|
get title() {
|
|
3130
3152
|
return e.text.pairing;
|
|
@@ -3140,7 +3162,7 @@ function ja(e) {
|
|
|
3140
3162
|
return e.onShowPhrase || e.onChangePhrase;
|
|
3141
3163
|
},
|
|
3142
3164
|
get children() {
|
|
3143
|
-
return D(
|
|
3165
|
+
return D(pi, {
|
|
3144
3166
|
get label() {
|
|
3145
3167
|
return e.text.phraseTitle;
|
|
3146
3168
|
},
|
|
@@ -3190,7 +3212,7 @@ function ja(e) {
|
|
|
3190
3212
|
});
|
|
3191
3213
|
}
|
|
3192
3214
|
}),
|
|
3193
|
-
D(
|
|
3215
|
+
D(pi, {
|
|
3194
3216
|
get label() {
|
|
3195
3217
|
return e.text.leaveRow;
|
|
3196
3218
|
},
|
|
@@ -3218,7 +3240,7 @@ function ja(e) {
|
|
|
3218
3240
|
return n().window;
|
|
3219
3241
|
},
|
|
3220
3242
|
get children() {
|
|
3221
|
-
return D(
|
|
3243
|
+
return D(Na, {
|
|
3222
3244
|
flow: t,
|
|
3223
3245
|
get state() {
|
|
3224
3246
|
return n();
|
|
@@ -3236,14 +3258,14 @@ function ja(e) {
|
|
|
3236
3258
|
}
|
|
3237
3259
|
O(["input"]);
|
|
3238
3260
|
// src/ProgressBar.tsx
|
|
3239
|
-
var
|
|
3240
|
-
function
|
|
3241
|
-
let t = () =>
|
|
3261
|
+
var Fa = /*#__PURE__*/ I("<span data-glim=ProgressBar role=progressbar><span class=glim-progress-fill>");
|
|
3262
|
+
function Ia(e) {
|
|
3263
|
+
let t = () => Vt(e.value, {
|
|
3242
3264
|
paused: e.paused,
|
|
3243
3265
|
failed: e.failed
|
|
3244
3266
|
});
|
|
3245
3267
|
return (() => {
|
|
3246
|
-
var n =
|
|
3268
|
+
var n = Fa(), r = n.firstChild;
|
|
3247
3269
|
return k((i) => {
|
|
3248
3270
|
var a = e.label, o = t().percent === null ? void 0 : 0, s = t().percent === null ? void 0 : 100, c = t().percent ?? void 0, l = e.valueText, u = e.class ? `${t().className} ${e.class}` : t().className, d = t().width ? { width: t().width } : void 0;
|
|
3249
3271
|
return a !== i.e && N(n, "aria-label", i.e = a), o !== i.t && N(n, "aria-valuemin", i.t = o), s !== i.a && N(n, "aria-valuemax", i.a = s), c !== i.o && N(n, "aria-valuenow", i.o = c), l !== i.i && N(n, "aria-valuetext", i.i = l), u !== i.n && E(n, i.n = u), i.s = F(r, d, i.s), i;
|
|
@@ -3259,14 +3281,14 @@ function Na(e) {
|
|
|
3259
3281
|
})();
|
|
3260
3282
|
}
|
|
3261
3283
|
// src/FortressStatusWindow.tsx
|
|
3262
|
-
var
|
|
3263
|
-
function
|
|
3284
|
+
var La = /*#__PURE__*/ I("<section class=glim-status-section><h3 class=glim-status-heading></h3><ul class=glim-status-list>"), Ra = /*#__PURE__*/ I("<p class=glim-fortress-note data-fortress=loading><span role=status>"), za = /*#__PURE__*/ I("<p class=glim-fortress-note role=status data-fortress=error><span>"), Ba = /*#__PURE__*/ I("<p class=glim-fortress-sub data-fortress=where>"), Va = /*#__PURE__*/ I("<div class=glim-fortress-text data-fortress=status>"), Ha = /*#__PURE__*/ I("<img alt>"), Ua = /*#__PURE__*/ I("<span class=glim-status-title>"), Wa = /*#__PURE__*/ I("<span class=glim-fortress-sub>"), Ga = /*#__PURE__*/ I("<p class=glim-status-state data-fortress=state>"), Ka = /*#__PURE__*/ I("<li class=glim-status-line> <span>"), qa = /*#__PURE__*/ I("<li class=glim-status-work><span>"), Ja = /*#__PURE__*/ I("<li class=glim-status-line><span></span> <span class=\"glim-status-at glim-num\">"), Ya = /*#__PURE__*/ I("<li class=glim-status-line><span class=\"glim-status-at glim-num\"></span> <!> <span>");
|
|
3285
|
+
function Xa(e) {
|
|
3264
3286
|
return D(B, {
|
|
3265
3287
|
get when() {
|
|
3266
3288
|
return e.items.length > 0;
|
|
3267
3289
|
},
|
|
3268
3290
|
get children() {
|
|
3269
|
-
var t =
|
|
3291
|
+
var t = La(), n = t.firstChild, r = n.nextSibling;
|
|
3270
3292
|
return A(n, () => e.title), A(r, D(R, {
|
|
3271
3293
|
get each() {
|
|
3272
3294
|
return e.items;
|
|
@@ -3278,8 +3300,8 @@ function qa(e) {
|
|
|
3278
3300
|
}
|
|
3279
3301
|
});
|
|
3280
3302
|
}
|
|
3281
|
-
function
|
|
3282
|
-
let t = U(() =>
|
|
3303
|
+
function Za(e) {
|
|
3304
|
+
let t = U(() => mn({
|
|
3283
3305
|
app: e.app,
|
|
3284
3306
|
instance: e.instance,
|
|
3285
3307
|
report: e.report,
|
|
@@ -3288,7 +3310,7 @@ function Ja(e) {
|
|
|
3288
3310
|
error: e.error,
|
|
3289
3311
|
text: e.text
|
|
3290
3312
|
}));
|
|
3291
|
-
return D(
|
|
3313
|
+
return D(ji, {
|
|
3292
3314
|
"data-glim": "FortressStatusWindow",
|
|
3293
3315
|
get lang() {
|
|
3294
3316
|
return e.lang;
|
|
@@ -3298,13 +3320,13 @@ function Ja(e) {
|
|
|
3298
3320
|
},
|
|
3299
3321
|
get drawn() {
|
|
3300
3322
|
return (() => {
|
|
3301
|
-
var n =
|
|
3323
|
+
var n = Ua();
|
|
3302
3324
|
return A(n, D(B, {
|
|
3303
3325
|
get when() {
|
|
3304
3326
|
return e.app.logo;
|
|
3305
3327
|
},
|
|
3306
3328
|
get children() {
|
|
3307
|
-
var t =
|
|
3329
|
+
var t = Ha();
|
|
3308
3330
|
return k(() => N(t, "src", e.app.logo)), t;
|
|
3309
3331
|
}
|
|
3310
3332
|
}), null), A(n, () => t().title, null), n;
|
|
@@ -3328,13 +3350,13 @@ function Ja(e) {
|
|
|
3328
3350
|
}];
|
|
3329
3351
|
},
|
|
3330
3352
|
get children() {
|
|
3331
|
-
var n =
|
|
3353
|
+
var n = Va();
|
|
3332
3354
|
return A(n, D(B, {
|
|
3333
3355
|
get when() {
|
|
3334
3356
|
return t().loading;
|
|
3335
3357
|
},
|
|
3336
3358
|
get children() {
|
|
3337
|
-
var e =
|
|
3359
|
+
var e = Ra(), n = e.firstChild;
|
|
3338
3360
|
return A(e, D(i, {
|
|
3339
3361
|
size: "small",
|
|
3340
3362
|
delay: 0
|
|
@@ -3345,7 +3367,7 @@ function Ja(e) {
|
|
|
3345
3367
|
return t().error !== void 0;
|
|
3346
3368
|
},
|
|
3347
3369
|
get children() {
|
|
3348
|
-
var e =
|
|
3370
|
+
var e = za(), n = e.firstChild;
|
|
3349
3371
|
return A(e, () => p("info"), n), A(n, () => t().error), e;
|
|
3350
3372
|
}
|
|
3351
3373
|
}), null), A(n, D(B, {
|
|
@@ -3353,7 +3375,7 @@ function Ja(e) {
|
|
|
3353
3375
|
return t().state;
|
|
3354
3376
|
},
|
|
3355
3377
|
children: (e) => (() => {
|
|
3356
|
-
var n =
|
|
3378
|
+
var n = Ga();
|
|
3357
3379
|
return A(n, D(l, {
|
|
3358
3380
|
get tone() {
|
|
3359
3381
|
return e().tone;
|
|
@@ -3366,12 +3388,12 @@ function Ja(e) {
|
|
|
3366
3388
|
return t().quiet;
|
|
3367
3389
|
},
|
|
3368
3390
|
get children() {
|
|
3369
|
-
var e =
|
|
3391
|
+
var e = Wa();
|
|
3370
3392
|
return A(e, () => t().quiet), e;
|
|
3371
3393
|
}
|
|
3372
3394
|
}), null), n;
|
|
3373
3395
|
})()
|
|
3374
|
-
}), null), A(n, D(
|
|
3396
|
+
}), null), A(n, D(Xa, {
|
|
3375
3397
|
name: "needs",
|
|
3376
3398
|
get title() {
|
|
3377
3399
|
return e.text.statusNeedsYou;
|
|
@@ -3380,7 +3402,7 @@ function Ja(e) {
|
|
|
3380
3402
|
return t().needsYou;
|
|
3381
3403
|
},
|
|
3382
3404
|
children: (e) => (() => {
|
|
3383
|
-
var t =
|
|
3405
|
+
var t = Ka(), n = t.firstChild, r = n.nextSibling;
|
|
3384
3406
|
return A(t, D(B, {
|
|
3385
3407
|
get when() {
|
|
3386
3408
|
return e.level;
|
|
@@ -3395,7 +3417,7 @@ function Ja(e) {
|
|
|
3395
3417
|
})
|
|
3396
3418
|
}), n), A(r, () => e.text), t;
|
|
3397
3419
|
})()
|
|
3398
|
-
}), null), A(n, D(
|
|
3420
|
+
}), null), A(n, D(Xa, {
|
|
3399
3421
|
name: "work",
|
|
3400
3422
|
get title() {
|
|
3401
3423
|
return e.text.statusWork;
|
|
@@ -3404,8 +3426,8 @@ function Ja(e) {
|
|
|
3404
3426
|
return t().work;
|
|
3405
3427
|
},
|
|
3406
3428
|
children: (e) => (() => {
|
|
3407
|
-
var t =
|
|
3408
|
-
return A(n, () => e.title), A(t, D(
|
|
3429
|
+
var t = qa(), n = t.firstChild;
|
|
3430
|
+
return A(n, () => e.title), A(t, D(Ia, {
|
|
3409
3431
|
get value() {
|
|
3410
3432
|
return e.progress;
|
|
3411
3433
|
},
|
|
@@ -3414,7 +3436,7 @@ function Ja(e) {
|
|
|
3414
3436
|
}
|
|
3415
3437
|
}), null), t;
|
|
3416
3438
|
})()
|
|
3417
|
-
}), null), A(n, D(
|
|
3439
|
+
}), null), A(n, D(Xa, {
|
|
3418
3440
|
name: "next",
|
|
3419
3441
|
get title() {
|
|
3420
3442
|
return e.text.statusNext;
|
|
@@ -3423,10 +3445,10 @@ function Ja(e) {
|
|
|
3423
3445
|
return t().next;
|
|
3424
3446
|
},
|
|
3425
3447
|
children: (e) => (() => {
|
|
3426
|
-
var t =
|
|
3448
|
+
var t = Ja(), n = t.firstChild, r = n.nextSibling.nextSibling;
|
|
3427
3449
|
return A(n, () => e.title), A(r, () => e.at), t;
|
|
3428
3450
|
})()
|
|
3429
|
-
}), null), A(n, D(
|
|
3451
|
+
}), null), A(n, D(Xa, {
|
|
3430
3452
|
name: "log",
|
|
3431
3453
|
get title() {
|
|
3432
3454
|
return e.text.statusLog;
|
|
@@ -3435,7 +3457,7 @@ function Ja(e) {
|
|
|
3435
3457
|
return t().log;
|
|
3436
3458
|
},
|
|
3437
3459
|
children: (e) => (() => {
|
|
3438
|
-
var t =
|
|
3460
|
+
var t = Ya(), n = t.firstChild, r = n.nextSibling.nextSibling, i = r.nextSibling.nextSibling;
|
|
3439
3461
|
return A(n, () => e.at), A(t, D(B, {
|
|
3440
3462
|
get when() {
|
|
3441
3463
|
return e.level;
|
|
@@ -3455,7 +3477,7 @@ function Ja(e) {
|
|
|
3455
3477
|
return t().where;
|
|
3456
3478
|
},
|
|
3457
3479
|
get children() {
|
|
3458
|
-
var e =
|
|
3480
|
+
var e = Ba();
|
|
3459
3481
|
return A(e, () => t().where), e;
|
|
3460
3482
|
}
|
|
3461
3483
|
}), null), n;
|
|
@@ -3463,8 +3485,8 @@ function Ja(e) {
|
|
|
3463
3485
|
});
|
|
3464
3486
|
}
|
|
3465
3487
|
// src/GlyphField.tsx
|
|
3466
|
-
var
|
|
3467
|
-
function
|
|
3488
|
+
var Qa = /*#__PURE__*/ I("<label data-glim=GlyphField><span class=glim-glyph-field-glyph aria-hidden=true></span><input>");
|
|
3489
|
+
function $a(e) {
|
|
3468
3490
|
let t = K({ type: "text" }, e), [n, r] = X(t, [
|
|
3469
3491
|
"glyph",
|
|
3470
3492
|
"label",
|
|
@@ -3477,12 +3499,12 @@ function Xa(e) {
|
|
|
3477
3499
|
]), i = T(() => n.label), a = () => [
|
|
3478
3500
|
"glim-input",
|
|
3479
3501
|
"glim-glyph-field",
|
|
3480
|
-
|
|
3502
|
+
Ze(n.width),
|
|
3481
3503
|
n.mono && "glim-input--mono",
|
|
3482
3504
|
n.class
|
|
3483
3505
|
].filter(Boolean).join(" ");
|
|
3484
3506
|
return (() => {
|
|
3485
|
-
var e =
|
|
3507
|
+
var e = Qa(), t = e.firstChild, o = t.nextSibling;
|
|
3486
3508
|
return A(t, () => n.glyph), P(o, M({ get "aria-label"() {
|
|
3487
3509
|
return i();
|
|
3488
3510
|
} }, r, {
|
|
@@ -3500,8 +3522,8 @@ function Xa(e) {
|
|
|
3500
3522
|
})();
|
|
3501
3523
|
}
|
|
3502
3524
|
// src/GlyphTile.tsx
|
|
3503
|
-
var
|
|
3504
|
-
function
|
|
3525
|
+
var eo = /*#__PURE__*/ I("<span data-glim=GlyphTile aria-hidden=true>");
|
|
3526
|
+
function to(e) {
|
|
3505
3527
|
let t = () => [
|
|
3506
3528
|
"glim-tile",
|
|
3507
3529
|
e.quiet && "glim-tile--quiet",
|
|
@@ -3510,13 +3532,13 @@ function Qa(e) {
|
|
|
3510
3532
|
e.class
|
|
3511
3533
|
].filter(Boolean).join(" ");
|
|
3512
3534
|
return (() => {
|
|
3513
|
-
var n =
|
|
3535
|
+
var n = eo();
|
|
3514
3536
|
return A(n, () => e.glyph), k(() => E(n, t())), n;
|
|
3515
3537
|
})();
|
|
3516
3538
|
}
|
|
3517
3539
|
// src/ListRow.tsx
|
|
3518
|
-
var
|
|
3519
|
-
function
|
|
3540
|
+
var no = /*#__PURE__*/ I("<span class=glim-list-row-tile>"), ro = /*#__PURE__*/ I("<span class=glim-list-row-badges>"), io = /*#__PURE__*/ I("<span class=glim-list-row-actions>"), ao = /*#__PURE__*/ I("<div data-glim=ListRow role=group><span><span class=glim-list-row-title>"), oo = /*#__PURE__*/ I("<span class=glim-list-row-tip>"), so = (e) => e.stopPropagation();
|
|
3541
|
+
function co(e) {
|
|
3520
3542
|
let [t, n] = X(e, [
|
|
3521
3543
|
"name",
|
|
3522
3544
|
"tip",
|
|
@@ -3535,7 +3557,7 @@ function ao(e) {
|
|
|
3535
3557
|
t.class
|
|
3536
3558
|
].filter(Boolean).join(" ");
|
|
3537
3559
|
return (() => {
|
|
3538
|
-
var e =
|
|
3560
|
+
var e = ao(), c = e.firstChild, l = c.firstChild;
|
|
3539
3561
|
return P(e, M({
|
|
3540
3562
|
get "aria-label"() {
|
|
3541
3563
|
return t.name;
|
|
@@ -3556,7 +3578,7 @@ function ao(e) {
|
|
|
3556
3578
|
return i();
|
|
3557
3579
|
},
|
|
3558
3580
|
get children() {
|
|
3559
|
-
var e =
|
|
3581
|
+
var e = no();
|
|
3560
3582
|
return A(e, i), e;
|
|
3561
3583
|
}
|
|
3562
3584
|
}), c), A(l, () => t.name), A(c, D(B, {
|
|
@@ -3564,8 +3586,8 @@ function ao(e) {
|
|
|
3564
3586
|
return t.tip;
|
|
3565
3587
|
},
|
|
3566
3588
|
children: (e) => (() => {
|
|
3567
|
-
var t =
|
|
3568
|
-
return t.$$click =
|
|
3589
|
+
var t = oo();
|
|
3590
|
+
return t.$$click = so, A(t, D(Q, { get tip() {
|
|
3569
3591
|
return e();
|
|
3570
3592
|
} })), t;
|
|
3571
3593
|
})()
|
|
@@ -3574,7 +3596,7 @@ function ao(e) {
|
|
|
3574
3596
|
return a();
|
|
3575
3597
|
},
|
|
3576
3598
|
get children() {
|
|
3577
|
-
var e =
|
|
3599
|
+
var e = ro();
|
|
3578
3600
|
return A(e, a), e;
|
|
3579
3601
|
}
|
|
3580
3602
|
}), null), A(e, D(B, {
|
|
@@ -3582,26 +3604,26 @@ function ao(e) {
|
|
|
3582
3604
|
return o();
|
|
3583
3605
|
},
|
|
3584
3606
|
get children() {
|
|
3585
|
-
var e =
|
|
3586
|
-
return e.$$click =
|
|
3607
|
+
var e = io();
|
|
3608
|
+
return e.$$click = so, A(e, o), e;
|
|
3587
3609
|
}
|
|
3588
3610
|
}), null), k(() => E(c, t.mono ? "glim-list-row-name glim-list-row-name--mono" : "glim-list-row-name")), e;
|
|
3589
3611
|
})();
|
|
3590
3612
|
}
|
|
3591
3613
|
O(["click"]);
|
|
3592
3614
|
// src/Popover.tsx
|
|
3593
|
-
var
|
|
3594
|
-
function
|
|
3615
|
+
var lo = /*#__PURE__*/ I("<div data-glim=Popover popover=auto role=dialog>");
|
|
3616
|
+
function uo(e) {
|
|
3595
3617
|
let [t, n] = W(), r = G();
|
|
3596
3618
|
return H(() => {
|
|
3597
3619
|
let n = t();
|
|
3598
|
-
e.open && e.anchor && n && J(
|
|
3620
|
+
e.open && e.anchor && n && J(jt(n, e.anchor, Pe(r), () => e.onClose()));
|
|
3599
3621
|
}), D(B, {
|
|
3600
3622
|
get when() {
|
|
3601
3623
|
return e.open;
|
|
3602
3624
|
},
|
|
3603
3625
|
get children() {
|
|
3604
|
-
var t =
|
|
3626
|
+
var t = lo();
|
|
3605
3627
|
return L(n, t), A(t, () => e.children), k((n) => {
|
|
3606
3628
|
var r = e.label, i = e.class ? `glim-popover ${e.class}` : "glim-popover";
|
|
3607
3629
|
return r !== n.e && N(t, "aria-label", n.e = r), i !== n.t && E(t, n.t = i), n;
|
|
@@ -3613,13 +3635,13 @@ function so(e) {
|
|
|
3613
3635
|
});
|
|
3614
3636
|
}
|
|
3615
3637
|
// src/ListTable.tsx
|
|
3616
|
-
var
|
|
3617
|
-
function
|
|
3638
|
+
var fo = /*#__PURE__*/ I("<input class=\"glim-input glim-list-search\"type=search>"), po = /*#__PURE__*/ I("<p class=glim-list-empty>"), mo = /*#__PURE__*/ I("<div data-glim=ListTable class=glim-list><table role=grid aria-multiselectable=true class=glim-list-table><thead><tr></tr></thead><tbody></tbody></table><p class=glim-list-hint>"), ho = /*#__PURE__*/ I("<button type=button aria-haspopup=dialog class=glim-list-filter>"), go = /*#__PURE__*/ I("<th scope=col><span class=glim-list-th-box><button type=button class=glim-list-sort>"), _o = /*#__PURE__*/ I("<tr class=glim-list-tr>"), vo = /*#__PURE__*/ I("<td>"), yo = /*#__PURE__*/ I("<div class=glim-list-filter-values>");
|
|
3639
|
+
function bo(e) {
|
|
3618
3640
|
let [t, n] = W(null), [r, i] = W({}), [a, o] = W(null), [s, c] = W({
|
|
3619
3641
|
keys: [],
|
|
3620
3642
|
anchor: null,
|
|
3621
3643
|
focus: null
|
|
3622
|
-
}), [l, u] = W(null), [d, f] = W(0), p, m, h = G(), g = U(() =>
|
|
3644
|
+
}), [l, u] = W(null), [d, f] = W(0), p, m, h = G(), g = U(() => mt(e.rows, {
|
|
3623
3645
|
sort: t(),
|
|
3624
3646
|
filters: r(),
|
|
3625
3647
|
query: a() ?? "",
|
|
@@ -3642,14 +3664,14 @@ function _o(e) {
|
|
|
3642
3664
|
}
|
|
3643
3665
|
H(q(d, () => p.querySelector(`tbody tr:nth-child(${v().focus + 1}) > td`)?.focus(), { defer: !0 })), H(q(() => a() !== null, (e) => e && m?.focus()));
|
|
3644
3666
|
function b(t) {
|
|
3645
|
-
let n =
|
|
3667
|
+
let n = ft(v(), t.key, {
|
|
3646
3668
|
toggle: t.ctrlKey || t.metaKey,
|
|
3647
3669
|
range: t.shiftKey
|
|
3648
3670
|
}, g().length);
|
|
3649
3671
|
n && !t.altKey && (t.preventDefault(), "open" in n ? e.onOpen?.(g()[n.open]) : "search" in n ? o((e) => (e ?? "") + n.search) : y(n.select));
|
|
3650
3672
|
}
|
|
3651
3673
|
function x(e, t) {
|
|
3652
|
-
y(
|
|
3674
|
+
y($t(v(), t, {
|
|
3653
3675
|
toggle: e.ctrlKey || e.metaKey,
|
|
3654
3676
|
range: e.shiftKey
|
|
3655
3677
|
}));
|
|
@@ -3668,13 +3690,13 @@ function _o(e) {
|
|
|
3668
3690
|
};
|
|
3669
3691
|
});
|
|
3670
3692
|
return (() => {
|
|
3671
|
-
var r =
|
|
3693
|
+
var r = mo(), i = r.firstChild, s = i.firstChild, c = s.firstChild, d = s.nextSibling, f = i.nextSibling;
|
|
3672
3694
|
A(r, D(B, {
|
|
3673
3695
|
get when() {
|
|
3674
3696
|
return a() !== null;
|
|
3675
3697
|
},
|
|
3676
3698
|
get children() {
|
|
3677
|
-
var t =
|
|
3699
|
+
var t = fo();
|
|
3678
3700
|
t.$$keydown = (e) => {
|
|
3679
3701
|
e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), S());
|
|
3680
3702
|
}, t.$$input = (e) => o(e.currentTarget.value);
|
|
@@ -3688,15 +3710,15 @@ function _o(e) {
|
|
|
3688
3710
|
return e.columns;
|
|
3689
3711
|
},
|
|
3690
3712
|
children: (r) => (() => {
|
|
3691
|
-
var i =
|
|
3692
|
-
return o.$$click = () => n((e) =>
|
|
3713
|
+
var i = go(), a = i.firstChild, o = a.firstChild;
|
|
3714
|
+
return o.$$click = () => n((e) => Tt(e, r.key)), A(o, () => r.label, null), A(o, D(B, {
|
|
3693
3715
|
get when() {
|
|
3694
3716
|
return t()?.key === r.key;
|
|
3695
3717
|
},
|
|
3696
3718
|
get children() {
|
|
3697
3719
|
return D(C, {
|
|
3698
3720
|
get mark() {
|
|
3699
|
-
return
|
|
3721
|
+
return Ae.expand;
|
|
3700
3722
|
},
|
|
3701
3723
|
get class() {
|
|
3702
3724
|
return `glim-list-sort-mark glim-list-sort-mark--${t().dir}`;
|
|
@@ -3708,12 +3730,12 @@ function _o(e) {
|
|
|
3708
3730
|
return r.filter;
|
|
3709
3731
|
},
|
|
3710
3732
|
get children() {
|
|
3711
|
-
var t =
|
|
3733
|
+
var t = ho();
|
|
3712
3734
|
return t.$$click = (e) => u(l()?.key === r.key ? null : {
|
|
3713
3735
|
key: r.key,
|
|
3714
3736
|
at: e.currentTarget
|
|
3715
3737
|
}), A(t, D(C, { get mark() {
|
|
3716
|
-
return
|
|
3738
|
+
return Ae.expand;
|
|
3717
3739
|
} })), k((n) => {
|
|
3718
3740
|
var i = e.text.filterOf(r.label), a = l()?.key === r.key, o = te(r.key).length > 0;
|
|
3719
3741
|
return i !== n.e && N(t, "aria-label", n.e = i), a !== n.t && N(t, "aria-expanded", n.t = a), o !== n.a && N(t, "aria-pressed", n.a = o), n;
|
|
@@ -3724,7 +3746,7 @@ function _o(e) {
|
|
|
3724
3746
|
}), t;
|
|
3725
3747
|
}
|
|
3726
3748
|
}), null), k((e) => {
|
|
3727
|
-
var n =
|
|
3749
|
+
var n = Le(t(), r.key), a = r.end ? "glim-list-th glim-table-end" : "glim-list-th";
|
|
3728
3750
|
return n !== e.e && N(i, "aria-sort", e.e = n), a !== e.t && E(i, e.t = a), e;
|
|
3729
3751
|
}, {
|
|
3730
3752
|
e: void 0,
|
|
@@ -3736,15 +3758,15 @@ function _o(e) {
|
|
|
3736
3758
|
return g();
|
|
3737
3759
|
},
|
|
3738
3760
|
children: (t, n) => (() => {
|
|
3739
|
-
var r =
|
|
3761
|
+
var r = _o();
|
|
3740
3762
|
return r.$$dblclick = () => e.onOpen?.(t), r.$$click = (e) => x(e, n()), A(r, D(R, {
|
|
3741
3763
|
get each() {
|
|
3742
3764
|
return e.columns;
|
|
3743
3765
|
},
|
|
3744
3766
|
children: (r, i) => (() => {
|
|
3745
|
-
var a =
|
|
3767
|
+
var a = vo();
|
|
3746
3768
|
return A(a, () => e.cell?.(t, r) ?? String(t[r.key] ?? "")), k((e) => {
|
|
3747
|
-
var t = i() === 0 ? n() === v().focus ? 0 : -1 : void 0, o =
|
|
3769
|
+
var t = i() === 0 ? n() === v().focus ? 0 : -1 : void 0, o = yn(r) || void 0;
|
|
3748
3770
|
return t !== e.e && N(a, "tabindex", e.e = t), o !== e.t && E(a, e.t = o), e;
|
|
3749
3771
|
}, {
|
|
3750
3772
|
e: void 0,
|
|
@@ -3758,14 +3780,14 @@ function _o(e) {
|
|
|
3758
3780
|
return g().length === 0;
|
|
3759
3781
|
},
|
|
3760
3782
|
get children() {
|
|
3761
|
-
var t =
|
|
3783
|
+
var t = po();
|
|
3762
3784
|
return A(t, () => e.text.noMatch), t;
|
|
3763
3785
|
}
|
|
3764
3786
|
}), f), N(f, "id", h), A(f, () => e.text.hint), A(r, D(B, {
|
|
3765
3787
|
get when() {
|
|
3766
3788
|
return ee();
|
|
3767
3789
|
},
|
|
3768
|
-
children: (t) => D(
|
|
3790
|
+
children: (t) => D(uo, {
|
|
3769
3791
|
open: !0,
|
|
3770
3792
|
get anchor() {
|
|
3771
3793
|
return l().at;
|
|
@@ -3775,12 +3797,12 @@ function _o(e) {
|
|
|
3775
3797
|
},
|
|
3776
3798
|
onClose: () => u(null),
|
|
3777
3799
|
get children() {
|
|
3778
|
-
var n =
|
|
3800
|
+
var n = yo();
|
|
3779
3801
|
return A(n, D(R, {
|
|
3780
3802
|
get each() {
|
|
3781
|
-
return
|
|
3803
|
+
return He(e.rows, t().key);
|
|
3782
3804
|
},
|
|
3783
|
-
children: (e) => D(
|
|
3805
|
+
children: (e) => D(gr, {
|
|
3784
3806
|
label: e,
|
|
3785
3807
|
get checked() {
|
|
3786
3808
|
return te(t().key).includes(e);
|
|
@@ -3800,8 +3822,8 @@ O([
|
|
|
3800
3822
|
"dblclick"
|
|
3801
3823
|
]);
|
|
3802
3824
|
// src/MenuBar.tsx
|
|
3803
|
-
var
|
|
3804
|
-
function
|
|
3825
|
+
var xo = /*#__PURE__*/ I("<div data-glim=MenuBar role=menubar>"), So = /*#__PURE__*/ I("<button type=button role=menuitem aria-haspopup=menu class=glim-menubar-item>");
|
|
3826
|
+
function Co(e) {
|
|
3805
3827
|
let t = [], [n, r] = W(null), [i, a] = W(0), o = () => e.menus.length;
|
|
3806
3828
|
function s(e, n = !1) {
|
|
3807
3829
|
let i = t[e];
|
|
@@ -3827,13 +3849,13 @@ function bo(e) {
|
|
|
3827
3849
|
c === void 0 ? (e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), s(n, e.key === "ArrowUp")) : (e.preventDefault(), a(c), t[c]?.focus());
|
|
3828
3850
|
}
|
|
3829
3851
|
return (() => {
|
|
3830
|
-
var l =
|
|
3852
|
+
var l = xo();
|
|
3831
3853
|
return A(l, D(be, {
|
|
3832
3854
|
get each() {
|
|
3833
3855
|
return e.menus;
|
|
3834
3856
|
},
|
|
3835
3857
|
children: (e, o) => (() => {
|
|
3836
|
-
var l =
|
|
3858
|
+
var l = So();
|
|
3837
3859
|
return l.addEventListener("focus", () => a(o)), l.$$keydown = (e) => c(e, o), l.addEventListener("mouseenter", () => n() && n().at !== o && s(o)), l.$$click = () => n()?.at === o ? r(null) : s(o), L((e) => t[o] = e, l), A(l, () => e().label), k((e) => {
|
|
3838
3860
|
var t = n()?.at === o, r = o === i() ? 0 : -1;
|
|
3839
3861
|
return t !== e.e && N(l, "aria-expanded", e.e = t), r !== e.t && N(l, "tabindex", e.t = r), e;
|
|
@@ -3846,7 +3868,7 @@ function bo(e) {
|
|
|
3846
3868
|
get each() {
|
|
3847
3869
|
return j(() => !!(n() && e.menus[n().at]))() ? [n().at] : [];
|
|
3848
3870
|
},
|
|
3849
|
-
children: (i) => D(
|
|
3871
|
+
children: (i) => D(Gr, {
|
|
3850
3872
|
get x() {
|
|
3851
3873
|
return n().x;
|
|
3852
3874
|
},
|
|
@@ -3882,18 +3904,18 @@ function bo(e) {
|
|
|
3882
3904
|
}
|
|
3883
3905
|
O(["click", "keydown"]);
|
|
3884
3906
|
// src/Meter.tsx
|
|
3885
|
-
var
|
|
3886
|
-
function
|
|
3907
|
+
var wo = /*#__PURE__*/ I("<span data-glim=Meter><span class=glim-meter-fill>");
|
|
3908
|
+
function To(e) {
|
|
3887
3909
|
let t = K({
|
|
3888
3910
|
size: "medium",
|
|
3889
3911
|
threshold: .9
|
|
3890
|
-
}, e), n = () =>
|
|
3912
|
+
}, e), n = () => Ct(t.value, {
|
|
3891
3913
|
size: t.size,
|
|
3892
3914
|
threshold: t.threshold,
|
|
3893
3915
|
quiet: t.quiet
|
|
3894
3916
|
}), r = u(() => t.valueText), i = () => n().percent === null;
|
|
3895
3917
|
return [(() => {
|
|
3896
|
-
var e =
|
|
3918
|
+
var e = wo(), a = e.firstChild, o = r.ref;
|
|
3897
3919
|
return typeof o == "function" ? L(o, e) : r.ref = e, P(e, M(() => r.handlers, {
|
|
3898
3920
|
get role() {
|
|
3899
3921
|
return i() ? "progressbar" : "meter";
|
|
@@ -3923,8 +3945,8 @@ function So(e) {
|
|
|
3923
3945
|
})(), j(() => r.bubble)];
|
|
3924
3946
|
}
|
|
3925
3947
|
// src/NumberField.tsx
|
|
3926
|
-
var
|
|
3927
|
-
function
|
|
3948
|
+
var Eo = /*#__PURE__*/ I("<span data-glim=NumberField class=glim-num-wrap><input>");
|
|
3949
|
+
function Do(e) {
|
|
3928
3950
|
let t = K({ class: "" }, e), [n, r] = X(t, [
|
|
3929
3951
|
"class",
|
|
3930
3952
|
"ref",
|
|
@@ -3932,16 +3954,16 @@ function wo(e) {
|
|
|
3932
3954
|
"onChange",
|
|
3933
3955
|
"aria-label",
|
|
3934
3956
|
"aria-describedby"
|
|
3935
|
-
]), i = T(() => n["aria-label"]), a = G(), o = () =>
|
|
3936
|
-
return Y(() => J(
|
|
3957
|
+
]), i = T(() => n["aria-label"]), a = G(), o = () => Xe(n.error, r.id ?? a, n["aria-describedby"]), s;
|
|
3958
|
+
return Y(() => J(Re(s))), H(q(() => [
|
|
3937
3959
|
r.value,
|
|
3938
3960
|
r.min,
|
|
3939
3961
|
r.max,
|
|
3940
3962
|
r.step,
|
|
3941
3963
|
r.disabled,
|
|
3942
3964
|
r.readonly
|
|
3943
|
-
], () =>
|
|
3944
|
-
var e =
|
|
3965
|
+
], () => vn(s))), [(() => {
|
|
3966
|
+
var e = Eo(), t = e.firstChild;
|
|
3945
3967
|
return L((e) => {
|
|
3946
3968
|
s = e, typeof n.ref == "function" && n.ref(e);
|
|
3947
3969
|
}, t), P(t, M(r, {
|
|
@@ -3964,7 +3986,7 @@ function wo(e) {
|
|
|
3964
3986
|
get when() {
|
|
3965
3987
|
return o().errorId;
|
|
3966
3988
|
},
|
|
3967
|
-
children: (e) => D(
|
|
3989
|
+
children: (e) => D(ci, {
|
|
3968
3990
|
get id() {
|
|
3969
3991
|
return e();
|
|
3970
3992
|
},
|
|
@@ -3975,8 +3997,8 @@ function wo(e) {
|
|
|
3975
3997
|
})];
|
|
3976
3998
|
}
|
|
3977
3999
|
// src/PathField.tsx
|
|
3978
|
-
var
|
|
3979
|
-
function
|
|
4000
|
+
var Oo = /*#__PURE__*/ I("<span data-glim=PathField><input autocomplete=off>");
|
|
4001
|
+
function ko(e) {
|
|
3980
4002
|
let t = K({
|
|
3981
4003
|
text: { pick: "Choose" },
|
|
3982
4004
|
compact: !1
|
|
@@ -3997,7 +4019,7 @@ function Eo(e) {
|
|
|
3997
4019
|
"ref"
|
|
3998
4020
|
]), i = T(() => n.label), [a, o] = W(!1), s, l;
|
|
3999
4021
|
Y(() => {
|
|
4000
|
-
let e = new ResizeObserver(([e]) => o(e.contentRect.width <
|
|
4022
|
+
let e = new ResizeObserver(([e]) => o(e.contentRect.width < je));
|
|
4001
4023
|
e.observe(l), J(() => e.disconnect());
|
|
4002
4024
|
});
|
|
4003
4025
|
async function u() {
|
|
@@ -4005,7 +4027,7 @@ function Eo(e) {
|
|
|
4005
4027
|
s.focus(), e && (n.onChange(e), n.onPicked?.(e));
|
|
4006
4028
|
}
|
|
4007
4029
|
return (() => {
|
|
4008
|
-
var e =
|
|
4030
|
+
var e = Oo(), t = e.firstChild, o = l;
|
|
4009
4031
|
return typeof o == "function" ? L(o, e) : l = e, L((e) => {
|
|
4010
4032
|
s = e, typeof n.ref == "function" && n.ref(e);
|
|
4011
4033
|
}, t), N(t, "spellcheck", !1), P(t, M({ get "aria-label"() {
|
|
@@ -4039,7 +4061,7 @@ function Eo(e) {
|
|
|
4039
4061
|
})), null), k((t) => {
|
|
4040
4062
|
var r = [
|
|
4041
4063
|
"glim-path",
|
|
4042
|
-
|
|
4064
|
+
Ze(n.width),
|
|
4043
4065
|
n.class
|
|
4044
4066
|
].filter(Boolean).join(" "), i = n.style;
|
|
4045
4067
|
return r !== t.e && E(e, t.e = r), t.t = F(e, i, t.t), t;
|
|
@@ -4050,14 +4072,14 @@ function Eo(e) {
|
|
|
4050
4072
|
})();
|
|
4051
4073
|
}
|
|
4052
4074
|
// src/PaypalDialog.tsx
|
|
4053
|
-
var
|
|
4075
|
+
var Ao = /*#__PURE__*/ I("<p class=\"glim-give-status glim-give-status--ok\">"), jo = /*#__PURE__*/ I("<p class=\"glim-give-status glim-give-status--fail\">"), Mo = /*#__PURE__*/ I("<div class=glim-modal-backdrop><div data-glim=PaypalDialog tabindex=-1 role=dialog aria-modal=true aria-labelledby=paypal-window-title class=\"glim-modal-card glim-modal-card--wide\"><div class=glim-modal-head><h2 id=paypal-window-title class=glim-modal-title></h2></div><div class=\"glim-give-body glim-give-body--scroll\"><p class=glim-give-appeal></p><p class=glim-give-intro></p><div class=glim-give-group><span id=paypal-frequency class=glim-eyebrow></span></div><div class=glim-give-group><span id=paypal-amount class=glim-eyebrow></span><div class=glim-give-amounts><div></div><input type=text inputmode=decimal></div></div><div class=glim-give-wallet><p class=glim-give-loading></p></div></div><div class=glim-give-foot>"), No = [
|
|
4054
4076
|
"once",
|
|
4055
4077
|
"month",
|
|
4056
4078
|
"year"
|
|
4057
4079
|
];
|
|
4058
|
-
function
|
|
4080
|
+
function Po(e) {
|
|
4059
4081
|
return (() => {
|
|
4060
|
-
var t =
|
|
4082
|
+
var t = Mo(), n = t.firstChild, r = n.firstChild, i = r.firstChild, a = r.nextSibling, o = a.firstChild, s = o.nextSibling, u = s.nextSibling, d = u.firstChild, f = u.nextSibling, p = f.firstChild, m = p.nextSibling.firstChild, h = m.nextSibling, g = f.nextSibling, _ = g.firstChild, v = a.nextSibling;
|
|
4061
4083
|
t.$$click = (t) => {
|
|
4062
4084
|
t.target === t.currentTarget && e.onClose();
|
|
4063
4085
|
};
|
|
@@ -4072,7 +4094,7 @@ function jo(e) {
|
|
|
4072
4094
|
})), A(o, () => e.text.appeal), A(s, () => e.text.intro), A(d, () => e.text.frequencyLabel), A(u, () => e.renderSelector({
|
|
4073
4095
|
labelledBy: "paypal-frequency",
|
|
4074
4096
|
get options() {
|
|
4075
|
-
return
|
|
4097
|
+
return No.map((t) => ({
|
|
4076
4098
|
value: t,
|
|
4077
4099
|
label: e.text.frequencies[t]
|
|
4078
4100
|
}));
|
|
@@ -4100,7 +4122,7 @@ function jo(e) {
|
|
|
4100
4122
|
return e.status === "done";
|
|
4101
4123
|
},
|
|
4102
4124
|
get children() {
|
|
4103
|
-
var t =
|
|
4125
|
+
var t = Ao();
|
|
4104
4126
|
return A(t, () => e.text.thanks), t;
|
|
4105
4127
|
}
|
|
4106
4128
|
}), null), A(a, D(B, {
|
|
@@ -4108,7 +4130,7 @@ function jo(e) {
|
|
|
4108
4130
|
return e.status === "failed";
|
|
4109
4131
|
},
|
|
4110
4132
|
get children() {
|
|
4111
|
-
var t =
|
|
4133
|
+
var t = jo();
|
|
4112
4134
|
return A(t, () => e.text.failed), t;
|
|
4113
4135
|
}
|
|
4114
4136
|
}), null), A(v, D(c, {
|
|
@@ -4132,31 +4154,31 @@ function jo(e) {
|
|
|
4132
4154
|
}
|
|
4133
4155
|
O(["click", "input"]);
|
|
4134
4156
|
// src/RowMark.tsx
|
|
4135
|
-
var
|
|
4136
|
-
function
|
|
4157
|
+
var Fo = /*#__PURE__*/ I("<span data-glim=RowMark aria-hidden=true>");
|
|
4158
|
+
function Io(e) {
|
|
4137
4159
|
let t = () => [
|
|
4138
4160
|
"glim-rowmark",
|
|
4139
4161
|
e.on && "glim-rowmark--on",
|
|
4140
4162
|
e.class
|
|
4141
4163
|
].filter(Boolean).join(" ");
|
|
4142
4164
|
return (() => {
|
|
4143
|
-
var e =
|
|
4165
|
+
var e = Fo();
|
|
4144
4166
|
return A(e, D(S, {})), k(() => E(e, t())), e;
|
|
4145
4167
|
})();
|
|
4146
4168
|
}
|
|
4147
4169
|
// src/Sheet.tsx
|
|
4148
|
-
var
|
|
4149
|
-
function
|
|
4170
|
+
var Lo = /*#__PURE__*/ I("<dialog data-glim=Sheet><div class=glim-sheet-panel><h2 class=glim-sheet-title></h2><div class=glim-sheet-body>");
|
|
4171
|
+
function Ro(e) {
|
|
4150
4172
|
let t = K({ actions: [] }, e), [n, r] = W(), i = G();
|
|
4151
4173
|
return H(() => {
|
|
4152
4174
|
let e = n();
|
|
4153
|
-
t.open && e && J(
|
|
4175
|
+
t.open && e && J(Mt(e, () => t.onClose()));
|
|
4154
4176
|
}), D(B, {
|
|
4155
4177
|
get when() {
|
|
4156
4178
|
return t.open;
|
|
4157
4179
|
},
|
|
4158
4180
|
get children() {
|
|
4159
|
-
var e =
|
|
4181
|
+
var e = Lo(), n = e.firstChild, a = n.firstChild, o = a.nextSibling;
|
|
4160
4182
|
return L(r, e), N(e, "aria-labelledby", i), N(a, "id", i), A(a, D(l, {
|
|
4161
4183
|
tone: "heading",
|
|
4162
4184
|
size: "heading",
|
|
@@ -4165,7 +4187,7 @@ function Fo(e) {
|
|
|
4165
4187
|
get children() {
|
|
4166
4188
|
return t.title;
|
|
4167
4189
|
}
|
|
4168
|
-
})), A(o, () => t.children), A(n, D(
|
|
4190
|
+
})), A(o, () => t.children), A(n, D(ki, {
|
|
4169
4191
|
get actions() {
|
|
4170
4192
|
return t.actions;
|
|
4171
4193
|
},
|
|
@@ -4187,8 +4209,8 @@ function Fo(e) {
|
|
|
4187
4209
|
});
|
|
4188
4210
|
}
|
|
4189
4211
|
// src/SidebarRow.tsx
|
|
4190
|
-
var
|
|
4191
|
-
function
|
|
4212
|
+
var zo = /*#__PURE__*/ I("<span>"), Bo = /*#__PURE__*/ I("<span aria-hidden=true>"), Vo = /*#__PURE__*/ I("<span class=glim-sr-only>"), Ho = /*#__PURE__*/ I("<span class=glim-nav-row-slot>"), Uo = /*#__PURE__*/ I("<div data-glim=SidebarRow>");
|
|
4213
|
+
function Wo(e) {
|
|
4192
4214
|
let t = K({
|
|
4193
4215
|
active: !1,
|
|
4194
4216
|
class: ""
|
|
@@ -4204,7 +4226,7 @@ function Vo(e) {
|
|
|
4204
4226
|
"after",
|
|
4205
4227
|
"class",
|
|
4206
4228
|
"style"
|
|
4207
|
-
]), i = a("sidebar"), o = V(() => n.glyph), s = V(() => n.before), c = V(() => n.after), l = () => !!(s() || c()), f = U(() =>
|
|
4229
|
+
]), i = a("sidebar"), o = V(() => n.glyph), s = V(() => n.before), c = V(() => n.after), l = () => !!(s() || c()), f = U(() => cn({
|
|
4208
4230
|
mode: i(),
|
|
4209
4231
|
label: n.label,
|
|
4210
4232
|
hasGlyph: !!o(),
|
|
@@ -4258,7 +4280,7 @@ function Vo(e) {
|
|
|
4258
4280
|
}
|
|
4259
4281
|
}),
|
|
4260
4282
|
(() => {
|
|
4261
|
-
var e =
|
|
4283
|
+
var e = zo();
|
|
4262
4284
|
return A(e, () => n.label), k(() => E(e, f().labelClass)), e;
|
|
4263
4285
|
})(),
|
|
4264
4286
|
D(B, {
|
|
@@ -4267,10 +4289,10 @@ function Vo(e) {
|
|
|
4267
4289
|
},
|
|
4268
4290
|
get children() {
|
|
4269
4291
|
return [(() => {
|
|
4270
|
-
var e =
|
|
4292
|
+
var e = Bo();
|
|
4271
4293
|
return A(e, () => n.count.value), k(() => E(e, f().countClass)), e;
|
|
4272
4294
|
})(), (() => {
|
|
4273
|
-
var e =
|
|
4295
|
+
var e = Vo();
|
|
4274
4296
|
return A(e, () => n.count.label), e;
|
|
4275
4297
|
})()];
|
|
4276
4298
|
}
|
|
@@ -4284,13 +4306,13 @@ function Vo(e) {
|
|
|
4284
4306
|
},
|
|
4285
4307
|
fallback: h,
|
|
4286
4308
|
get children() {
|
|
4287
|
-
var e =
|
|
4309
|
+
var e = Uo();
|
|
4288
4310
|
return A(e, D(B, {
|
|
4289
4311
|
get when() {
|
|
4290
4312
|
return s();
|
|
4291
4313
|
},
|
|
4292
4314
|
get children() {
|
|
4293
|
-
var e =
|
|
4315
|
+
var e = Ho();
|
|
4294
4316
|
return A(e, s), e;
|
|
4295
4317
|
}
|
|
4296
4318
|
}), null), A(e, h, null), A(e, D(B, {
|
|
@@ -4298,7 +4320,7 @@ function Vo(e) {
|
|
|
4298
4320
|
return c();
|
|
4299
4321
|
},
|
|
4300
4322
|
get children() {
|
|
4301
|
-
var e =
|
|
4323
|
+
var e = Ho();
|
|
4302
4324
|
return A(e, c), e;
|
|
4303
4325
|
}
|
|
4304
4326
|
}), null), k((t) => {
|
|
@@ -4312,8 +4334,8 @@ function Vo(e) {
|
|
|
4312
4334
|
}), j(() => p.bubble)];
|
|
4313
4335
|
}
|
|
4314
4336
|
// src/TextField.tsx
|
|
4315
|
-
var
|
|
4316
|
-
function
|
|
4337
|
+
var Go = /*#__PURE__*/ I("<input data-glim=TextField>"), Ko = /*#__PURE__*/ I("<textarea data-glim=TextArea>");
|
|
4338
|
+
function qo(e) {
|
|
4317
4339
|
let t = K({ type: "text" }, e), [n, r] = X(t, [
|
|
4318
4340
|
"label",
|
|
4319
4341
|
"mono",
|
|
@@ -4323,9 +4345,9 @@ function Wo(e) {
|
|
|
4323
4345
|
"type",
|
|
4324
4346
|
"id",
|
|
4325
4347
|
"aria-describedby"
|
|
4326
|
-
]), i = T(() => n.label), a = G(), o = () =>
|
|
4348
|
+
]), i = T(() => n.label), a = G(), o = () => Xe(n.error, n.id ?? a, n["aria-describedby"]);
|
|
4327
4349
|
return [(() => {
|
|
4328
|
-
var e =
|
|
4350
|
+
var e = Go();
|
|
4329
4351
|
return P(e, M({ get "aria-label"() {
|
|
4330
4352
|
return i();
|
|
4331
4353
|
} }, r, {
|
|
@@ -4342,7 +4364,7 @@ function Wo(e) {
|
|
|
4342
4364
|
return n.type;
|
|
4343
4365
|
},
|
|
4344
4366
|
get class() {
|
|
4345
|
-
return `${
|
|
4367
|
+
return `${bn({
|
|
4346
4368
|
width: n.width,
|
|
4347
4369
|
mono: n.mono
|
|
4348
4370
|
})} ${n.class ?? ""}`.trim();
|
|
@@ -4352,7 +4374,7 @@ function Wo(e) {
|
|
|
4352
4374
|
get when() {
|
|
4353
4375
|
return o().errorId;
|
|
4354
4376
|
},
|
|
4355
|
-
children: (e) => D(
|
|
4377
|
+
children: (e) => D(ci, {
|
|
4356
4378
|
get id() {
|
|
4357
4379
|
return e();
|
|
4358
4380
|
},
|
|
@@ -4362,7 +4384,7 @@ function Wo(e) {
|
|
|
4362
4384
|
})
|
|
4363
4385
|
})];
|
|
4364
4386
|
}
|
|
4365
|
-
function
|
|
4387
|
+
function Jo(e) {
|
|
4366
4388
|
let [t, n] = X(e, [
|
|
4367
4389
|
"label",
|
|
4368
4390
|
"mono",
|
|
@@ -4371,9 +4393,9 @@ function Go(e) {
|
|
|
4371
4393
|
"class",
|
|
4372
4394
|
"id",
|
|
4373
4395
|
"aria-describedby"
|
|
4374
|
-
]), r = T(() => t.label), i = G(), a = () =>
|
|
4396
|
+
]), r = T(() => t.label), i = G(), a = () => Xe(t.error, t.id ?? i, t["aria-describedby"]);
|
|
4375
4397
|
return [(() => {
|
|
4376
|
-
var e =
|
|
4398
|
+
var e = Ko();
|
|
4377
4399
|
return P(e, M({ get "aria-label"() {
|
|
4378
4400
|
return r();
|
|
4379
4401
|
} }, n, {
|
|
@@ -4387,7 +4409,7 @@ function Go(e) {
|
|
|
4387
4409
|
return a().describedBy;
|
|
4388
4410
|
},
|
|
4389
4411
|
get class() {
|
|
4390
|
-
return `${
|
|
4412
|
+
return `${bn({
|
|
4391
4413
|
width: t.width,
|
|
4392
4414
|
mono: t.mono,
|
|
4393
4415
|
area: !0
|
|
@@ -4398,7 +4420,7 @@ function Go(e) {
|
|
|
4398
4420
|
get when() {
|
|
4399
4421
|
return a().errorId;
|
|
4400
4422
|
},
|
|
4401
|
-
children: (e) => D(
|
|
4423
|
+
children: (e) => D(ci, {
|
|
4402
4424
|
get id() {
|
|
4403
4425
|
return e();
|
|
4404
4426
|
},
|
|
@@ -4409,19 +4431,19 @@ function Go(e) {
|
|
|
4409
4431
|
})];
|
|
4410
4432
|
}
|
|
4411
4433
|
// src/SignInCard.tsx
|
|
4412
|
-
var
|
|
4434
|
+
var Yo = /*#__PURE__*/ I("<div data-glim=SignInField class=glim-signin-field><label>"), Xo = /*#__PURE__*/ I("<p class=glim-signin-error role=alert>"), Zo = /*#__PURE__*/ I("<span class=glim-signin-logo aria-hidden=true>"), Qo = /*#__PURE__*/ I("<div data-glim=SignInCard><div class=\"glim-card glim-signin-card\"><div class=glim-signin-head><h1 class=glim-signin-name>"), $o = /*#__PURE__*/ I("<img alt draggable=false>"), es = /*#__PURE__*/ I("<form class=glim-signin-form novalidate>"), ts = /*#__PURE__*/ I("<p class=glim-signin-note role=status>"), ns = /*#__PURE__*/ I("<div class=glim-signin-field><label class=glim-signin-label></label><p class=glim-signin-hint>"), rs = {
|
|
4413
4435
|
signIn: "signIn",
|
|
4414
4436
|
passkey: "signInWithPasskey",
|
|
4415
4437
|
forgot: "forgotPassword",
|
|
4416
4438
|
back: "back",
|
|
4417
4439
|
setPassword: "setPassword"
|
|
4418
4440
|
};
|
|
4419
|
-
function
|
|
4441
|
+
function is(e) {
|
|
4420
4442
|
let [t, n] = W(!1), r;
|
|
4421
4443
|
return H(() => {
|
|
4422
|
-
n(
|
|
4444
|
+
n(dt(document.getElementById(e.htmlFor), e.label, e.hint, r)), r = e.label;
|
|
4423
4445
|
}), (() => {
|
|
4424
|
-
var n =
|
|
4446
|
+
var n = Yo(), r = n.firstChild;
|
|
4425
4447
|
return A(r, () => e.label, null), A(r, D(B, {
|
|
4426
4448
|
get when() {
|
|
4427
4449
|
return e.hint;
|
|
@@ -4439,28 +4461,28 @@ function ts(e) {
|
|
|
4439
4461
|
}), n;
|
|
4440
4462
|
})();
|
|
4441
4463
|
}
|
|
4442
|
-
function
|
|
4464
|
+
function as(e) {
|
|
4443
4465
|
let t = K({
|
|
4444
4466
|
passkey: !1,
|
|
4445
4467
|
reset: !1,
|
|
4446
4468
|
minPassword: 12,
|
|
4447
4469
|
autoFocus: !0
|
|
4448
|
-
}, e), n =
|
|
4470
|
+
}, e), n = qe(() => t), [r, i] = W(n.state());
|
|
4449
4471
|
J(n.subscribe(() => i(n.state())));
|
|
4450
4472
|
let a = G(), o = (e) => `${t.idPrefix ?? a}-${e}`, s = () => ({
|
|
4451
|
-
...
|
|
4473
|
+
...rs,
|
|
4452
4474
|
...t.labelKeys
|
|
4453
4475
|
}), l = () => ({
|
|
4454
4476
|
show: t.text.show,
|
|
4455
4477
|
hide: t.text.hide
|
|
4456
|
-
}), u, d = V(() => t.step), f = U(() => d() ? "step" :
|
|
4478
|
+
}), u, d = V(() => t.step), f = U(() => d() ? "step" : un(r())), p = !1;
|
|
4457
4479
|
H(q(f, () => {
|
|
4458
|
-
(p || t.autoFocus) &&
|
|
4480
|
+
(p || t.autoFocus) && et(u), p = !0;
|
|
4459
4481
|
}));
|
|
4460
4482
|
let m = U(() => r().refusal?.count);
|
|
4461
4483
|
H(q(m, () => {
|
|
4462
4484
|
let e = r().refusal;
|
|
4463
|
-
e && J(
|
|
4485
|
+
e && J(sn(u, e));
|
|
4464
4486
|
}));
|
|
4465
4487
|
let h = (e) => {
|
|
4466
4488
|
e.preventDefault(), n.submit();
|
|
@@ -4469,7 +4491,7 @@ function ns(e) {
|
|
|
4469
4491
|
return r().error;
|
|
4470
4492
|
},
|
|
4471
4493
|
get children() {
|
|
4472
|
-
var e =
|
|
4494
|
+
var e = Xo();
|
|
4473
4495
|
return A(e, () => r().error), e;
|
|
4474
4496
|
}
|
|
4475
4497
|
}), _ = () => D(c, {
|
|
@@ -4489,17 +4511,17 @@ function ns(e) {
|
|
|
4489
4511
|
}
|
|
4490
4512
|
});
|
|
4491
4513
|
return (() => {
|
|
4492
|
-
var e =
|
|
4514
|
+
var e = Qo(), i = e.firstChild, a = i.firstChild, f = a.firstChild, p = u;
|
|
4493
4515
|
return typeof p == "function" ? L(p, i) : u = i, A(a, D(B, {
|
|
4494
4516
|
get when() {
|
|
4495
4517
|
return t.logo;
|
|
4496
4518
|
},
|
|
4497
4519
|
get children() {
|
|
4498
|
-
var e =
|
|
4520
|
+
var e = Zo();
|
|
4499
4521
|
return A(e, (() => {
|
|
4500
4522
|
var e = j(() => typeof t.logo == "string");
|
|
4501
4523
|
return () => e() ? (() => {
|
|
4502
|
-
var e =
|
|
4524
|
+
var e = $o();
|
|
4503
4525
|
return k(() => N(e, "src", t.logo)), e;
|
|
4504
4526
|
})() : t.logo;
|
|
4505
4527
|
})()), e;
|
|
@@ -4515,13 +4537,13 @@ function ns(e) {
|
|
|
4515
4537
|
},
|
|
4516
4538
|
get fallback() {
|
|
4517
4539
|
return (() => {
|
|
4518
|
-
var e =
|
|
4540
|
+
var e = es();
|
|
4519
4541
|
return e.addEventListener("submit", h), A(e, D(B, {
|
|
4520
4542
|
get when() {
|
|
4521
4543
|
return t.note;
|
|
4522
4544
|
},
|
|
4523
4545
|
get children() {
|
|
4524
|
-
var e =
|
|
4546
|
+
var e = ts();
|
|
4525
4547
|
return A(e, () => t.note), e;
|
|
4526
4548
|
}
|
|
4527
4549
|
}), null), A(e, D(B, {
|
|
@@ -4531,7 +4553,7 @@ function ns(e) {
|
|
|
4531
4553
|
get children() {
|
|
4532
4554
|
return t.fields;
|
|
4533
4555
|
}
|
|
4534
|
-
}), null), A(e, D(
|
|
4556
|
+
}), null), A(e, D(is, {
|
|
4535
4557
|
get label() {
|
|
4536
4558
|
return t.text.password;
|
|
4537
4559
|
},
|
|
@@ -4542,7 +4564,7 @@ function ns(e) {
|
|
|
4542
4564
|
return r().viaPasskey;
|
|
4543
4565
|
},
|
|
4544
4566
|
get children() {
|
|
4545
|
-
return D(
|
|
4567
|
+
return D(ca, {
|
|
4546
4568
|
get id() {
|
|
4547
4569
|
return o("password");
|
|
4548
4570
|
},
|
|
@@ -4562,8 +4584,8 @@ function ns(e) {
|
|
|
4562
4584
|
return r().needCode;
|
|
4563
4585
|
},
|
|
4564
4586
|
get children() {
|
|
4565
|
-
var e =
|
|
4566
|
-
return A(i, () => t.text.code), A(e, D(
|
|
4587
|
+
var e = ns(), i = e.firstChild, a = i.nextSibling;
|
|
4588
|
+
return A(i, () => t.text.code), A(e, D(qo, {
|
|
4567
4589
|
get id() {
|
|
4568
4590
|
return o("code");
|
|
4569
4591
|
},
|
|
@@ -4590,7 +4612,7 @@ function ns(e) {
|
|
|
4590
4612
|
type: "submit",
|
|
4591
4613
|
"data-signin": "submit",
|
|
4592
4614
|
get disabled() {
|
|
4593
|
-
return
|
|
4615
|
+
return ln(r());
|
|
4594
4616
|
},
|
|
4595
4617
|
get busy() {
|
|
4596
4618
|
return r().busy === "signIn";
|
|
@@ -4664,8 +4686,8 @@ function ns(e) {
|
|
|
4664
4686
|
})();
|
|
4665
4687
|
},
|
|
4666
4688
|
get children() {
|
|
4667
|
-
var e =
|
|
4668
|
-
return e.addEventListener("submit", h), A(e, D(
|
|
4689
|
+
var e = es();
|
|
4690
|
+
return e.addEventListener("submit", h), A(e, D(is, {
|
|
4669
4691
|
get label() {
|
|
4670
4692
|
return t.text.resetCode;
|
|
4671
4693
|
},
|
|
@@ -4676,7 +4698,7 @@ function ns(e) {
|
|
|
4676
4698
|
return t.text.resetCodeTip;
|
|
4677
4699
|
},
|
|
4678
4700
|
get children() {
|
|
4679
|
-
return D(
|
|
4701
|
+
return D(qo, {
|
|
4680
4702
|
get id() {
|
|
4681
4703
|
return o("reset-code");
|
|
4682
4704
|
},
|
|
@@ -4692,7 +4714,7 @@ function ns(e) {
|
|
|
4692
4714
|
placeholder: "XXXX-XXXX-XXXX"
|
|
4693
4715
|
});
|
|
4694
4716
|
}
|
|
4695
|
-
}), null), A(e, D(
|
|
4717
|
+
}), null), A(e, D(is, {
|
|
4696
4718
|
get label() {
|
|
4697
4719
|
return t.text.newPassword;
|
|
4698
4720
|
},
|
|
@@ -4700,7 +4722,7 @@ function ns(e) {
|
|
|
4700
4722
|
return o("new");
|
|
4701
4723
|
},
|
|
4702
4724
|
get children() {
|
|
4703
|
-
return D(
|
|
4725
|
+
return D(ca, {
|
|
4704
4726
|
get id() {
|
|
4705
4727
|
return o("new");
|
|
4706
4728
|
},
|
|
@@ -4715,7 +4737,7 @@ function ns(e) {
|
|
|
4715
4737
|
}
|
|
4716
4738
|
});
|
|
4717
4739
|
}
|
|
4718
|
-
}), null), A(e, D(
|
|
4740
|
+
}), null), A(e, D(is, {
|
|
4719
4741
|
get label() {
|
|
4720
4742
|
return t.text.confirmPassword;
|
|
4721
4743
|
},
|
|
@@ -4723,7 +4745,7 @@ function ns(e) {
|
|
|
4723
4745
|
return o("confirm");
|
|
4724
4746
|
},
|
|
4725
4747
|
get children() {
|
|
4726
|
-
return D(
|
|
4748
|
+
return D(ca, {
|
|
4727
4749
|
get id() {
|
|
4728
4750
|
return o("confirm");
|
|
4729
4751
|
},
|
|
@@ -4749,7 +4771,7 @@ function ns(e) {
|
|
|
4749
4771
|
type: "submit",
|
|
4750
4772
|
"data-signin": "set-password",
|
|
4751
4773
|
get disabled() {
|
|
4752
|
-
return
|
|
4774
|
+
return qt(r());
|
|
4753
4775
|
},
|
|
4754
4776
|
get busy() {
|
|
4755
4777
|
return r().busy === "setPassword";
|
|
@@ -4768,31 +4790,31 @@ function ns(e) {
|
|
|
4768
4790
|
})();
|
|
4769
4791
|
}
|
|
4770
4792
|
// src/SkeletonRow.tsx
|
|
4771
|
-
var
|
|
4772
|
-
function
|
|
4793
|
+
var os = /*#__PURE__*/ I("<span class=\"glim-skeleton-block glim-skeleton-tile\">"), ss = /*#__PURE__*/ I("<span class=\"glim-skeleton-block glim-skeleton-badge\">"), cs = /*#__PURE__*/ I("<div data-glim=SkeletonRow aria-hidden=true><span class=\"glim-skeleton-block glim-skeleton-name\">");
|
|
4794
|
+
function ls(e) {
|
|
4773
4795
|
let t = K({
|
|
4774
4796
|
tile: !0,
|
|
4775
4797
|
badge: !0
|
|
4776
|
-
}, e), n = () =>
|
|
4798
|
+
}, e), n = () => dn({
|
|
4777
4799
|
delay: t.delay,
|
|
4778
4800
|
tile: t.tile,
|
|
4779
4801
|
badge: t.badge
|
|
4780
4802
|
});
|
|
4781
4803
|
return (() => {
|
|
4782
|
-
var e =
|
|
4804
|
+
var e = cs(), r = e.firstChild;
|
|
4783
4805
|
return A(e, D(B, {
|
|
4784
4806
|
get when() {
|
|
4785
4807
|
return n().tile;
|
|
4786
4808
|
},
|
|
4787
4809
|
get children() {
|
|
4788
|
-
return
|
|
4810
|
+
return os();
|
|
4789
4811
|
}
|
|
4790
4812
|
}), r), A(e, D(B, {
|
|
4791
4813
|
get when() {
|
|
4792
4814
|
return n().badge;
|
|
4793
4815
|
},
|
|
4794
4816
|
get children() {
|
|
4795
|
-
return
|
|
4817
|
+
return ss();
|
|
4796
4818
|
}
|
|
4797
4819
|
}), null), k((r) => {
|
|
4798
4820
|
var i = t.class ? `${n().className} ${t.class}` : n().className, a = d(n().style);
|
|
@@ -4804,24 +4826,24 @@ function os(e) {
|
|
|
4804
4826
|
})();
|
|
4805
4827
|
}
|
|
4806
4828
|
// src/SubCard.tsx
|
|
4807
|
-
var
|
|
4808
|
-
function
|
|
4829
|
+
var us = /*#__PURE__*/ I("<span>"), ds = /*#__PURE__*/ I("<h3 class=glim-panel-heading>"), fs = /*#__PURE__*/ I("<div class=glim-subcard-end>"), ps = /*#__PURE__*/ I("<section data-glim=SubCard>");
|
|
4830
|
+
function ms(e) {
|
|
4809
4831
|
let t = G(), n = V(() => e.end);
|
|
4810
4832
|
return (() => {
|
|
4811
|
-
var r =
|
|
4833
|
+
var r = ps();
|
|
4812
4834
|
return A(r, D(B, {
|
|
4813
4835
|
get when() {
|
|
4814
4836
|
return e.title;
|
|
4815
4837
|
},
|
|
4816
4838
|
get children() {
|
|
4817
|
-
var n =
|
|
4839
|
+
var n = ds();
|
|
4818
4840
|
return A(n, D(l, {
|
|
4819
4841
|
tone: "heading",
|
|
4820
4842
|
size: "heading",
|
|
4821
4843
|
wrap: !0,
|
|
4822
4844
|
get children() {
|
|
4823
4845
|
return [(() => {
|
|
4824
|
-
var n =
|
|
4846
|
+
var n = us();
|
|
4825
4847
|
return N(n, "id", t), A(n, () => e.title), n;
|
|
4826
4848
|
})(), D(B, {
|
|
4827
4849
|
get when() {
|
|
@@ -4842,7 +4864,7 @@ function ds(e) {
|
|
|
4842
4864
|
return n();
|
|
4843
4865
|
},
|
|
4844
4866
|
get children() {
|
|
4845
|
-
var e =
|
|
4867
|
+
var e = fs();
|
|
4846
4868
|
return A(e, n), e;
|
|
4847
4869
|
}
|
|
4848
4870
|
}), null), A(r, () => e.children, null), k((n) => {
|
|
@@ -4856,23 +4878,23 @@ function ds(e) {
|
|
|
4856
4878
|
})();
|
|
4857
4879
|
}
|
|
4858
4880
|
// src/Table.tsx
|
|
4859
|
-
var
|
|
4860
|
-
function
|
|
4881
|
+
var hs = /*#__PURE__*/ I("<thead><tr>"), gs = /*#__PURE__*/ I("<tr><td class=glim-table-muted>"), _s = /*#__PURE__*/ I("<table data-glim=Table class=glim-table><tbody>"), vs = /*#__PURE__*/ I("<th scope=col>"), ys = /*#__PURE__*/ I("<tr>"), bs = /*#__PURE__*/ I("<td>");
|
|
4882
|
+
function xs(e) {
|
|
4861
4883
|
let t = (e, t) => e[t.key];
|
|
4862
4884
|
return (() => {
|
|
4863
|
-
var n =
|
|
4885
|
+
var n = _s(), r = n.firstChild;
|
|
4864
4886
|
return A(n, D(B, {
|
|
4865
4887
|
get when() {
|
|
4866
4888
|
return e.columns.some((e) => e.label);
|
|
4867
4889
|
},
|
|
4868
4890
|
get children() {
|
|
4869
|
-
var t =
|
|
4891
|
+
var t = hs(), n = t.firstChild;
|
|
4870
4892
|
return A(n, D(R, {
|
|
4871
4893
|
get each() {
|
|
4872
4894
|
return e.columns;
|
|
4873
4895
|
},
|
|
4874
4896
|
children: (e) => (() => {
|
|
4875
|
-
var t =
|
|
4897
|
+
var t = vs();
|
|
4876
4898
|
return A(t, () => e.label), k(() => E(t, e.end ? "glim-table-end" : void 0)), t;
|
|
4877
4899
|
})()
|
|
4878
4900
|
})), t;
|
|
@@ -4882,14 +4904,14 @@ function vs(e) {
|
|
|
4882
4904
|
return e.rows;
|
|
4883
4905
|
},
|
|
4884
4906
|
children: (n) => (() => {
|
|
4885
|
-
var r =
|
|
4907
|
+
var r = ys();
|
|
4886
4908
|
return A(r, D(R, {
|
|
4887
4909
|
get each() {
|
|
4888
4910
|
return e.columns;
|
|
4889
4911
|
},
|
|
4890
4912
|
children: (r) => (() => {
|
|
4891
|
-
var i =
|
|
4892
|
-
return A(i, () => e.cell?.(n, r) ?? t(n, r)), k(() => E(i,
|
|
4913
|
+
var i = bs();
|
|
4914
|
+
return A(i, () => e.cell?.(n, r) ?? t(n, r)), k(() => E(i, yn(r) || void 0)), i;
|
|
4893
4915
|
})()
|
|
4894
4916
|
})), r;
|
|
4895
4917
|
})()
|
|
@@ -4898,31 +4920,31 @@ function vs(e) {
|
|
|
4898
4920
|
return e.more;
|
|
4899
4921
|
},
|
|
4900
4922
|
get children() {
|
|
4901
|
-
var t =
|
|
4923
|
+
var t = gs(), n = t.firstChild;
|
|
4902
4924
|
return A(n, () => e.more), k(() => N(n, "colspan", e.columns.length)), t;
|
|
4903
4925
|
}
|
|
4904
4926
|
}), null), k(() => N(n, "aria-label", e.label)), n;
|
|
4905
4927
|
})();
|
|
4906
4928
|
}
|
|
4907
4929
|
// src/Toast.tsx
|
|
4908
|
-
var
|
|
4909
|
-
function
|
|
4930
|
+
var Ss = /*#__PURE__*/ I("<div data-glim=ToastCard class=\"glim-toast glim-toast-card\"><div class=glim-toast-body><p class=glim-toast-message></p></div><button type=button class=\"glim-btn-bare glim-toast-dismiss\">"), Cs = /*#__PURE__*/ I("<wbr>"), ws = /*#__PURE__*/ I("<div class=glim-sr-only>"), Ts = /*#__PURE__*/ I("<div data-glim=ToastViewport class=glim-toast-stack>");
|
|
4931
|
+
function Es(e) {
|
|
4910
4932
|
return (() => {
|
|
4911
|
-
var t =
|
|
4933
|
+
var t = Ss(), n = t.firstChild, r = n.firstChild, i = n.nextSibling;
|
|
4912
4934
|
return t.$$keydown = (t) => {
|
|
4913
4935
|
t.key === "Escape" && (t.stopPropagation(), e.onDismiss(e.id));
|
|
4914
4936
|
}, t.$$focusout = () => e.onBlur(e.id), t.$$focusin = () => e.onFocus(e.id), t.addEventListener("mouseleave", () => e.onMouseLeave(e.id)), t.addEventListener("mouseenter", () => e.onMouseEnter(e.id)), A(t, D(C, {
|
|
4915
4937
|
get mark() {
|
|
4916
|
-
return
|
|
4938
|
+
return Me[e.severity];
|
|
4917
4939
|
},
|
|
4918
4940
|
get class() {
|
|
4919
4941
|
return `glim-toast-glyph glim-toast-glyph--${e.severity}`;
|
|
4920
4942
|
}
|
|
4921
4943
|
}), n), A(r, D(be, {
|
|
4922
4944
|
get each() {
|
|
4923
|
-
return
|
|
4945
|
+
return fn(e.message);
|
|
4924
4946
|
},
|
|
4925
|
-
children: (e, t) => [t > 0 &&
|
|
4947
|
+
children: (e, t) => [t > 0 && Cs(), j(e)]
|
|
4926
4948
|
})), A(n, D(B, {
|
|
4927
4949
|
get when() {
|
|
4928
4950
|
return e.action;
|
|
@@ -4939,34 +4961,34 @@ function Cs(e) {
|
|
|
4939
4961
|
}
|
|
4940
4962
|
})
|
|
4941
4963
|
}), null), i.$$click = () => e.onDismiss(e.id), A(i, D(C, { get mark() {
|
|
4942
|
-
return
|
|
4964
|
+
return Ae.dismiss;
|
|
4943
4965
|
} })), k(() => N(i, "aria-label", e.dismissLabel)), t;
|
|
4944
4966
|
})();
|
|
4945
4967
|
}
|
|
4946
|
-
function
|
|
4968
|
+
function Ds(e) {
|
|
4947
4969
|
let t = /* @__PURE__ */ new Set();
|
|
4948
4970
|
H(() => {
|
|
4949
4971
|
let n = new Set(e.toasts.map((e) => e.id));
|
|
4950
4972
|
for (let e of t) n.has(e) || t.delete(e);
|
|
4951
|
-
for (let n of e.toasts) t.has(n.id) || (t.add(n.id),
|
|
4973
|
+
for (let n of e.toasts) t.has(n.id) || (t.add(n.id), Fe(n.message, Sn(n.severity)));
|
|
4952
4974
|
});
|
|
4953
4975
|
let n = U(() => e.toasts.map((e) => e.id)), r = (t) => e.toasts.find((e) => e.id === t);
|
|
4954
4976
|
return [
|
|
4955
4977
|
(() => {
|
|
4956
|
-
var e =
|
|
4957
|
-
return P(e, M(() =>
|
|
4978
|
+
var e = ws();
|
|
4979
|
+
return P(e, M(() => ht("polite")), !1, !1), e;
|
|
4958
4980
|
})(),
|
|
4959
4981
|
(() => {
|
|
4960
|
-
var e =
|
|
4961
|
-
return P(e, M(() =>
|
|
4982
|
+
var e = ws();
|
|
4983
|
+
return P(e, M(() => ht("assertive")), !1, !1), e;
|
|
4962
4984
|
})(),
|
|
4963
4985
|
(() => {
|
|
4964
|
-
var t =
|
|
4986
|
+
var t = Ts();
|
|
4965
4987
|
return A(t, D(R, {
|
|
4966
4988
|
get each() {
|
|
4967
4989
|
return n();
|
|
4968
4990
|
},
|
|
4969
|
-
children: (t) => D(
|
|
4991
|
+
children: (t) => D(Es, {
|
|
4970
4992
|
id: t,
|
|
4971
4993
|
get message() {
|
|
4972
4994
|
return r(t).message;
|
|
@@ -4997,13 +5019,13 @@ O([
|
|
|
4997
5019
|
"click"
|
|
4998
5020
|
]);
|
|
4999
5021
|
// src/Tree.tsx
|
|
5000
|
-
var
|
|
5001
|
-
function
|
|
5022
|
+
var Os = /*#__PURE__*/ I("<div data-glim=Tree role=tree class=glim-tree>"), ks = /*#__PURE__*/ I("<span class=glim-tree-glyph aria-hidden=true>"), As = /*#__PURE__*/ I("<div><span class=glim-tree-toggle aria-hidden=true></span><span class=glim-tree-label>");
|
|
5023
|
+
function js(e) {
|
|
5002
5024
|
let t = K({ defaultOpen: [] }, e), [n, r] = W(t.defaultOpen), i = () => t.open ?? n(), [a, o] = W(/* @__PURE__ */ new Map()), s = /* @__PURE__ */ new Set(), c;
|
|
5003
5025
|
H(() => {
|
|
5004
5026
|
for (let e of [null, ...i()]) s.has(e) || (s.add(e), Promise.resolve(t.load(e)).then((t) => o((n) => new Map(n).set(e, t)), () => s.delete(e)));
|
|
5005
5027
|
});
|
|
5006
|
-
let l = U(() =>
|
|
5028
|
+
let l = U(() => Tn(a(), i())), u = () => Math.max(l().findIndex((e) => e.node.id === t.value), 0);
|
|
5007
5029
|
function d(e) {
|
|
5008
5030
|
let n = i(), a = n.includes(e) ? n.filter((t) => t !== e) : [...n, e];
|
|
5009
5031
|
r(a), t.onOpenChange?.(a);
|
|
@@ -5015,11 +5037,11 @@ function Os(e) {
|
|
|
5015
5037
|
e.preventDefault(), t.onChange(r), e.key === "Enter" && t.onActivate?.(r);
|
|
5016
5038
|
return;
|
|
5017
5039
|
}
|
|
5018
|
-
let i =
|
|
5019
|
-
i && (e.preventDefault(), "focus" in i ? (t.onChange(i.focus),
|
|
5040
|
+
let i = En(l(), n, e.key, getComputedStyle(c).direction === "rtl");
|
|
5041
|
+
i && (e.preventDefault(), "focus" in i ? (t.onChange(i.focus), it(c, i.focus)) : d("open" in i ? i.open : i.close));
|
|
5020
5042
|
}
|
|
5021
5043
|
return (() => {
|
|
5022
|
-
var e =
|
|
5044
|
+
var e = Os(), n = c;
|
|
5023
5045
|
return typeof n == "function" ? L(n, e) : c = e, A(e, D(R, {
|
|
5024
5046
|
get each() {
|
|
5025
5047
|
return l().map((e) => e.node);
|
|
@@ -5027,7 +5049,7 @@ function Os(e) {
|
|
|
5027
5049
|
children: (e, n) => {
|
|
5028
5050
|
let r = () => l()[n()];
|
|
5029
5051
|
return (() => {
|
|
5030
|
-
var i =
|
|
5052
|
+
var i = As(), a = i.firstChild, o = a.nextSibling;
|
|
5031
5053
|
return P(i, M(() => e.attrs, {
|
|
5032
5054
|
role: "treeitem",
|
|
5033
5055
|
get "aria-level"() {
|
|
@@ -5072,7 +5094,7 @@ function Os(e) {
|
|
|
5072
5094
|
return e.glyph;
|
|
5073
5095
|
},
|
|
5074
5096
|
get children() {
|
|
5075
|
-
var t =
|
|
5097
|
+
var t = ks();
|
|
5076
5098
|
return A(t, (() => {
|
|
5077
5099
|
var t = j(() => !!r().open);
|
|
5078
5100
|
return () => t() && e.openGlyph || e.glyph;
|
|
@@ -5086,40 +5108,40 @@ function Os(e) {
|
|
|
5086
5108
|
}
|
|
5087
5109
|
O(["click", "dblclick"]);
|
|
5088
5110
|
// src/UnavailableNotice.tsx
|
|
5089
|
-
var
|
|
5090
|
-
function
|
|
5111
|
+
var Ms = /*#__PURE__*/ I("<div class=glim-notice-action>"), Ns = /*#__PURE__*/ I("<div data-glim=UnavailableNotice class=glim-notice><p class=glim-notice-title></p><p class=glim-notice-reason>");
|
|
5112
|
+
function Ps(e) {
|
|
5091
5113
|
let t = V(() => e.action);
|
|
5092
5114
|
return (() => {
|
|
5093
|
-
var n =
|
|
5115
|
+
var n = Ns(), r = n.firstChild, i = r.nextSibling;
|
|
5094
5116
|
return A(r, () => e.title), A(i, () => e.reason), A(n, D(B, {
|
|
5095
5117
|
get when() {
|
|
5096
5118
|
return t();
|
|
5097
5119
|
},
|
|
5098
5120
|
get children() {
|
|
5099
|
-
var e =
|
|
5121
|
+
var e = Ms();
|
|
5100
5122
|
return A(e, t), e;
|
|
5101
5123
|
}
|
|
5102
5124
|
}), null), k(() => N(n, "data-glim-title", e.title)), n;
|
|
5103
5125
|
})();
|
|
5104
5126
|
}
|
|
5105
5127
|
// src/useConfirm.tsx
|
|
5106
|
-
function
|
|
5107
|
-
let [t, n] = W(null), r = null, i, a = null, o = (e, t) => (a =
|
|
5128
|
+
function Fs(e) {
|
|
5129
|
+
let [t, n] = W(null), r = null, i, a = null, o = (e, t) => (a = at(), new Promise((i) => {
|
|
5108
5130
|
r = i, n({
|
|
5109
5131
|
message: e,
|
|
5110
5132
|
...t
|
|
5111
5133
|
});
|
|
5112
5134
|
})), s = (e) => {
|
|
5113
|
-
r?.(e), r = null, n(null),
|
|
5135
|
+
r?.(e), r = null, n(null), Jt(a), a = null;
|
|
5114
5136
|
}, c = () => s(!1);
|
|
5115
|
-
return
|
|
5137
|
+
return Is(() => t() !== null, () => i ?? null, c), {
|
|
5116
5138
|
confirm: o,
|
|
5117
5139
|
confirmDialog: D(B, {
|
|
5118
5140
|
get when() {
|
|
5119
5141
|
return t();
|
|
5120
5142
|
},
|
|
5121
5143
|
children: (t) => D(w, { get children() {
|
|
5122
|
-
return D(
|
|
5144
|
+
return D(wr, {
|
|
5123
5145
|
ref(e) {
|
|
5124
5146
|
var t = i;
|
|
5125
5147
|
typeof t == "function" ? t(e) : i = e;
|
|
@@ -5153,13 +5175,13 @@ function Ms(e) {
|
|
|
5153
5175
|
dismiss: c
|
|
5154
5176
|
};
|
|
5155
5177
|
}
|
|
5156
|
-
function
|
|
5178
|
+
function Is(e, t, n) {
|
|
5157
5179
|
H(() => {
|
|
5158
|
-
e() && J(
|
|
5180
|
+
e() && J(wn(t, n));
|
|
5159
5181
|
});
|
|
5160
5182
|
}
|
|
5161
5183
|
// src/useDragArmed.ts
|
|
5162
|
-
function
|
|
5184
|
+
function Ls(e, t) {
|
|
5163
5185
|
H(() => {
|
|
5164
5186
|
let n = e();
|
|
5165
5187
|
if (!n) return;
|
|
@@ -5175,7 +5197,7 @@ function Ps(e, t) {
|
|
|
5175
5197
|
});
|
|
5176
5198
|
}
|
|
5177
5199
|
// src/usePaypalButtons.ts
|
|
5178
|
-
function
|
|
5200
|
+
function Rs(e) {
|
|
5179
5201
|
let [t, n] = W(), r = U(() => e().config), i = U(() => e().frequency), a = U(() => e().description);
|
|
5180
5202
|
return H(q([
|
|
5181
5203
|
t,
|
|
@@ -5185,7 +5207,7 @@ function Fs(e) {
|
|
|
5185
5207
|
], ([t, n, r, i]) => {
|
|
5186
5208
|
if (!t) return;
|
|
5187
5209
|
let a = null, o = !1;
|
|
5188
|
-
|
|
5210
|
+
gt(n, r !== "once").then((s) => {
|
|
5189
5211
|
if (o) return;
|
|
5190
5212
|
let c = s.Buttons({
|
|
5191
5213
|
style: {
|
|
@@ -5197,7 +5219,7 @@ function Fs(e) {
|
|
|
5197
5219
|
height: 40
|
|
5198
5220
|
},
|
|
5199
5221
|
onClick: (t, n) => e().amount ? n.resolve() : n.reject(),
|
|
5200
|
-
...
|
|
5222
|
+
...Je(n, r, () => e().amount ?? "0", i, () => e().onDone()),
|
|
5201
5223
|
onError: () => e().onError()
|
|
5202
5224
|
});
|
|
5203
5225
|
a = c, t.replaceChildren(), c.render(t).catch(() => e().onError());
|
|
@@ -5209,18 +5231,18 @@ function Fs(e) {
|
|
|
5209
5231
|
})), (e) => void n(e);
|
|
5210
5232
|
}
|
|
5211
5233
|
// src/WindowBar.tsx
|
|
5212
|
-
var
|
|
5213
|
-
function
|
|
5234
|
+
var zs = /*#__PURE__*/ I("<header data-glim=WindowBar class=glim-window-bar>"), Bs = /*#__PURE__*/ I("<span class=glim-window-square>"), Vs = (e) => e.target.closest("button") !== null;
|
|
5235
|
+
function Hs(e) {
|
|
5214
5236
|
let t = !1, n = (e) => {
|
|
5215
|
-
t = e.button === 0 && !e.defaultPrevented && !
|
|
5237
|
+
t = e.button === 0 && !e.defaultPrevented && !Vs(e);
|
|
5216
5238
|
}, r = (n) => {
|
|
5217
5239
|
t && (t = !1, n.buttons === 1 && e.onDragStart());
|
|
5218
5240
|
}, i = (t) => {
|
|
5219
|
-
|
|
5241
|
+
Vs(t) || e.onToggleMaximise();
|
|
5220
5242
|
};
|
|
5221
5243
|
return (() => {
|
|
5222
|
-
var a =
|
|
5223
|
-
return a.$$dblclick = i, a.$$mouseup = () => t = !1, a.$$mousemove = r, a.$$mousedown = n, A(a, D(
|
|
5244
|
+
var a = zs();
|
|
5245
|
+
return a.$$dblclick = i, a.$$mouseup = () => t = !1, a.$$mousemove = r, a.$$mousedown = n, A(a, D(Us, {
|
|
5224
5246
|
get label() {
|
|
5225
5247
|
return e.text.minimise;
|
|
5226
5248
|
},
|
|
@@ -5228,7 +5250,7 @@ function zs(e) {
|
|
|
5228
5250
|
get children() {
|
|
5229
5251
|
return D(ue, {});
|
|
5230
5252
|
}
|
|
5231
|
-
}), null), A(a, D(
|
|
5253
|
+
}), null), A(a, D(Us, {
|
|
5232
5254
|
get label() {
|
|
5233
5255
|
return j(() => !!e.maximised)() ? e.text.restore : e.text.maximise;
|
|
5234
5256
|
},
|
|
@@ -5246,7 +5268,7 @@ function zs(e) {
|
|
|
5246
5268
|
}
|
|
5247
5269
|
});
|
|
5248
5270
|
}
|
|
5249
|
-
}), null), A(a, D(
|
|
5271
|
+
}), null), A(a, D(Us, {
|
|
5250
5272
|
get label() {
|
|
5251
5273
|
return e.text.close;
|
|
5252
5274
|
},
|
|
@@ -5257,7 +5279,7 @@ function zs(e) {
|
|
|
5257
5279
|
}), null), k(() => N(a, "aria-label", e.appName)), a;
|
|
5258
5280
|
})();
|
|
5259
5281
|
}
|
|
5260
|
-
function
|
|
5282
|
+
function Us(e) {
|
|
5261
5283
|
return D(he, {
|
|
5262
5284
|
get tip() {
|
|
5263
5285
|
return e.label;
|
|
@@ -5265,7 +5287,7 @@ function Bs(e) {
|
|
|
5265
5287
|
onClick: () => e.onPress(),
|
|
5266
5288
|
class: "glim-window-button",
|
|
5267
5289
|
get children() {
|
|
5268
|
-
var t =
|
|
5290
|
+
var t = Bs();
|
|
5269
5291
|
return A(t, () => e.children), t;
|
|
5270
5292
|
}
|
|
5271
5293
|
});
|
|
@@ -5276,4 +5298,4 @@ O([
|
|
|
5276
5298
|
"mouseup",
|
|
5277
5299
|
"dblclick"
|
|
5278
5300
|
]);
|
|
5279
|
-
export {
|
|
5301
|
+
export { pr as AboutCard, l as Badge, Yn as BrandMark, i as BusyRing, c as Button, Ln as Card, gr as Checkbox, vr as CoffeeDialog, xr as ColorPicker, wr as ConfirmDialog, Gr as ContextMenu, qr as CopyField, Qr as CryptoDonateDialog, ti as DropdownListbox, oi as EmptyState, ci as FieldError, pi as FieldRow, hi as FieldRowGroup, ja as Fortress, Bi as FortressAppCard, zi as FortressDoubtWindow, Pa as FortressPairing, oa as FortressPermissions, Za as FortressStatusWindow, De as GLIMSTONE_RELEASE_URL, Oe as GLIMSTONE_REPO, ke as GLIMSTONE_VERSION, $a as GlyphField, to as GlyphTile, se as IconBack, ge as IconButton, ne as IconCalendar, ae as IconCancel, S as IconCheck, h as IconClose, re as IconCopy, oe as IconExpand, _ as IconEye, ee as IconEyeOff, ce as IconFolderOpen, v as IconForward, y as IconPause, ie as IconPencil, te as IconPlay, x as IconResetArrow, b as IconStar, he as IconTipButton, m as IconUpload, le as IconWindowMaximise, ue as IconWindowMinimise, g as IconWindowRestore, sr as InfoAboutCard, Q as InfoBubble, dr as InfoHelpCard, fr as InfoTile, cr as InfoVersionCard, Ei as InstanceCard, Er as Kbd, co as ListRow, bo as ListTable, C as MarkSvg, Co as MenuBar, To as Meter, Do as NumberField, ca as PasswordField, ko as PathField, Po as PaypalDialog, ui as Pill, uo as Popover, Li as PresenceBadges, Ia as ProgressBar, $ as ReadmeButton, Io as RowMark, Yi as Selector, Ro as Sheet, Wo as SidebarRow, as as SignInCard, is as SignInField, ls as SkeletonRow, ms as SubCard, xs as Table, Jo as TextArea, qo as TextField, Es as ToastCard, Ds as ToastViewport, ea as Toggle, js as Tree, Ps as UnavailableNotice, ji as Window, Hs as WindowBar, Ri as deviceGlyph, p as glyphFor, nn as selectorTabId, f as setGlyphResolver, o as useAccent, Fs as useConfirm, n as useDensity, Is as useDialogKeys, Ls as useDragArmed, T as useFieldName, e as useHue, a as useLabelMode, s as useMotion, Rs as usePaypalButtons, pe as usePortalHue, t as useRainbow, r as useShape, u as useTipBubble };
|