@gabattal/plugin-icon-js 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/dist/index.js +4200 -0
- package/package.json +57 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,4200 @@
|
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.lp-icon[data-v-dc2a33e6]{vertical-align:middle;flex:none;width:1em;height:1em;display:inline-block}.lp-icon--spin[data-v-dc2a33e6]{animation:1s linear infinite lp-icon-spin-dc2a33e6}@keyframes lp-icon-spin-dc2a33e6{0%{transform:rotate(0)}to{transform:rotate(360deg)}}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
2
|
+
import { createBlock as e, defineComponent as t, h as n, nextTick as r, normalizeClass as i, onMounted as a, onUnmounted as o, openBlock as s, ref as c, shallowRef as l, unref as u, watch as ee } from "vue";
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
|
+
var d = Object.defineProperty, te = (e, t) => {
|
|
5
|
+
let n = {};
|
|
6
|
+
for (var r in e) d(n, r, {
|
|
7
|
+
get: e[r],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
return t || d(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
11
|
+
}, f = /* @__PURE__ */ function(e) {
|
|
12
|
+
return e.exec = "exec", e.number = "number", e.string = "string", e.boolean = "boolean", e.object = "object", e.record = "record", e.array = "array", e.interface = "interface", e.type = "type", e.function = "function", e.union = "union", e.unknown = "unknown", e.undefined = "undefined", e.void = "void", e;
|
|
13
|
+
}({}), ne = {
|
|
14
|
+
array: (e, t = {}) => ({
|
|
15
|
+
...t,
|
|
16
|
+
items: e,
|
|
17
|
+
type: f.array
|
|
18
|
+
}),
|
|
19
|
+
boolean: (e = {}) => ({
|
|
20
|
+
...e,
|
|
21
|
+
type: f.boolean
|
|
22
|
+
}),
|
|
23
|
+
exec: (e = {}) => ({
|
|
24
|
+
...e,
|
|
25
|
+
type: f.exec
|
|
26
|
+
}),
|
|
27
|
+
function: (e = {
|
|
28
|
+
properties: {},
|
|
29
|
+
type: f.object
|
|
30
|
+
}, t = { type: f.void }, n = {}) => ({
|
|
31
|
+
...n,
|
|
32
|
+
inputs: e,
|
|
33
|
+
output: t,
|
|
34
|
+
type: f.function
|
|
35
|
+
}),
|
|
36
|
+
interface: (e, t = {}) => ({
|
|
37
|
+
...t,
|
|
38
|
+
className: typeof e == "string" ? e : e.name,
|
|
39
|
+
type: f.interface
|
|
40
|
+
}),
|
|
41
|
+
number: (e = {}) => ({
|
|
42
|
+
...e,
|
|
43
|
+
type: f.number
|
|
44
|
+
}),
|
|
45
|
+
object: (e = {}, t = {}) => ({
|
|
46
|
+
...t,
|
|
47
|
+
properties: e,
|
|
48
|
+
type: f.object
|
|
49
|
+
}),
|
|
50
|
+
record: (e, t, n = {}) => ({
|
|
51
|
+
...n,
|
|
52
|
+
key: e,
|
|
53
|
+
type: f.record,
|
|
54
|
+
value: t
|
|
55
|
+
}),
|
|
56
|
+
string: (e = {}) => ({
|
|
57
|
+
...e,
|
|
58
|
+
type: f.string
|
|
59
|
+
}),
|
|
60
|
+
type: (e, t = {}) => ({
|
|
61
|
+
...t,
|
|
62
|
+
target: e,
|
|
63
|
+
type: f.type
|
|
64
|
+
}),
|
|
65
|
+
undefined: (e = {}) => ({
|
|
66
|
+
...e,
|
|
67
|
+
type: f.undefined
|
|
68
|
+
}),
|
|
69
|
+
union: (e, t = {}) => ({
|
|
70
|
+
...t,
|
|
71
|
+
elements: e,
|
|
72
|
+
type: f.union
|
|
73
|
+
}),
|
|
74
|
+
unknown: (e = {}) => ({
|
|
75
|
+
...e,
|
|
76
|
+
type: f.unknown
|
|
77
|
+
}),
|
|
78
|
+
void: (e = {}) => ({
|
|
79
|
+
...e,
|
|
80
|
+
type: f.void
|
|
81
|
+
})
|
|
82
|
+
};
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
|
|
85
|
+
function re(e) {
|
|
86
|
+
return m(e) && !p(e) && !pe(e) && Symbol.asyncIterator in e;
|
|
87
|
+
}
|
|
88
|
+
function p(e) {
|
|
89
|
+
return Array.isArray(e);
|
|
90
|
+
}
|
|
91
|
+
function ie(e) {
|
|
92
|
+
return typeof e == "bigint";
|
|
93
|
+
}
|
|
94
|
+
function ae(e) {
|
|
95
|
+
return typeof e == "boolean";
|
|
96
|
+
}
|
|
97
|
+
function oe(e) {
|
|
98
|
+
return e instanceof globalThis.Date;
|
|
99
|
+
}
|
|
100
|
+
function se(e) {
|
|
101
|
+
return typeof e == "function";
|
|
102
|
+
}
|
|
103
|
+
function ce(e) {
|
|
104
|
+
return m(e) && !p(e) && !pe(e) && Symbol.iterator in e;
|
|
105
|
+
}
|
|
106
|
+
function le(e) {
|
|
107
|
+
return e === null;
|
|
108
|
+
}
|
|
109
|
+
function ue(e) {
|
|
110
|
+
return typeof e == "number";
|
|
111
|
+
}
|
|
112
|
+
function m(e) {
|
|
113
|
+
return typeof e == "object" && !!e;
|
|
114
|
+
}
|
|
115
|
+
function de(e) {
|
|
116
|
+
return e instanceof globalThis.RegExp;
|
|
117
|
+
}
|
|
118
|
+
function h(e) {
|
|
119
|
+
return typeof e == "string";
|
|
120
|
+
}
|
|
121
|
+
function fe(e) {
|
|
122
|
+
return typeof e == "symbol";
|
|
123
|
+
}
|
|
124
|
+
function pe(e) {
|
|
125
|
+
return e instanceof globalThis.Uint8Array;
|
|
126
|
+
}
|
|
127
|
+
function g(e) {
|
|
128
|
+
return e === void 0;
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs
|
|
132
|
+
function me(e) {
|
|
133
|
+
return e.map((e) => ye(e));
|
|
134
|
+
}
|
|
135
|
+
function he(e) {
|
|
136
|
+
return new Date(e.getTime());
|
|
137
|
+
}
|
|
138
|
+
function ge(e) {
|
|
139
|
+
return new Uint8Array(e);
|
|
140
|
+
}
|
|
141
|
+
function _e(e) {
|
|
142
|
+
return new RegExp(e.source, e.flags);
|
|
143
|
+
}
|
|
144
|
+
function ve(e) {
|
|
145
|
+
let t = {};
|
|
146
|
+
for (let n of Object.getOwnPropertyNames(e)) t[n] = ye(e[n]);
|
|
147
|
+
for (let n of Object.getOwnPropertySymbols(e)) t[n] = ye(e[n]);
|
|
148
|
+
return t;
|
|
149
|
+
}
|
|
150
|
+
function ye(e) {
|
|
151
|
+
return p(e) ? me(e) : oe(e) ? he(e) : pe(e) ? ge(e) : de(e) ? _e(e) : m(e) ? ve(e) : e;
|
|
152
|
+
}
|
|
153
|
+
function _(e) {
|
|
154
|
+
return ye(e);
|
|
155
|
+
}
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs
|
|
158
|
+
function be(e, t) {
|
|
159
|
+
return _(t === void 0 ? e : {
|
|
160
|
+
...t,
|
|
161
|
+
...e
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs
|
|
166
|
+
function xe(e) {
|
|
167
|
+
return typeof e == "object" && !!e;
|
|
168
|
+
}
|
|
169
|
+
function Se(e) {
|
|
170
|
+
return globalThis.Array.isArray(e) && !globalThis.ArrayBuffer.isView(e);
|
|
171
|
+
}
|
|
172
|
+
function Ce(e) {
|
|
173
|
+
return e === void 0;
|
|
174
|
+
}
|
|
175
|
+
function we(e) {
|
|
176
|
+
return typeof e == "number";
|
|
177
|
+
}
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/system/policy.mjs
|
|
180
|
+
var Te;
|
|
181
|
+
(function(e) {
|
|
182
|
+
e.InstanceMode = "default", e.ExactOptionalPropertyTypes = !1, e.AllowArrayObject = !1, e.AllowNaN = !1, e.AllowNullVoid = !1;
|
|
183
|
+
function t(t, n) {
|
|
184
|
+
return e.ExactOptionalPropertyTypes ? n in t : t[n] !== void 0;
|
|
185
|
+
}
|
|
186
|
+
e.IsExactOptionalProperty = t;
|
|
187
|
+
function n(t) {
|
|
188
|
+
let n = xe(t);
|
|
189
|
+
return e.AllowArrayObject ? n : n && !Se(t);
|
|
190
|
+
}
|
|
191
|
+
e.IsObjectLike = n;
|
|
192
|
+
function r(e) {
|
|
193
|
+
return n(e) && !(e instanceof Date) && !(e instanceof Uint8Array);
|
|
194
|
+
}
|
|
195
|
+
e.IsRecordLike = r;
|
|
196
|
+
function i(t) {
|
|
197
|
+
return e.AllowNaN ? we(t) : Number.isFinite(t);
|
|
198
|
+
}
|
|
199
|
+
e.IsNumberLike = i;
|
|
200
|
+
function a(t) {
|
|
201
|
+
let n = Ce(t);
|
|
202
|
+
return e.AllowNullVoid ? n || t === null : n;
|
|
203
|
+
}
|
|
204
|
+
e.IsVoidLike = a;
|
|
205
|
+
})(Te ||= {});
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs
|
|
208
|
+
function Ee(e) {
|
|
209
|
+
return globalThis.Object.freeze(e).map((e) => je(e));
|
|
210
|
+
}
|
|
211
|
+
function De(e) {
|
|
212
|
+
return e;
|
|
213
|
+
}
|
|
214
|
+
function Oe(e) {
|
|
215
|
+
return e;
|
|
216
|
+
}
|
|
217
|
+
function ke(e) {
|
|
218
|
+
return e;
|
|
219
|
+
}
|
|
220
|
+
function Ae(e) {
|
|
221
|
+
let t = {};
|
|
222
|
+
for (let n of Object.getOwnPropertyNames(e)) t[n] = je(e[n]);
|
|
223
|
+
for (let n of Object.getOwnPropertySymbols(e)) t[n] = je(e[n]);
|
|
224
|
+
return globalThis.Object.freeze(t);
|
|
225
|
+
}
|
|
226
|
+
function je(e) {
|
|
227
|
+
return p(e) ? Ee(e) : oe(e) ? De(e) : pe(e) ? Oe(e) : de(e) ? ke(e) : m(e) ? Ae(e) : e;
|
|
228
|
+
}
|
|
229
|
+
//#endregion
|
|
230
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs
|
|
231
|
+
function v(e, t) {
|
|
232
|
+
let n = t === void 0 ? e : {
|
|
233
|
+
...t,
|
|
234
|
+
...e
|
|
235
|
+
};
|
|
236
|
+
switch (Te.InstanceMode) {
|
|
237
|
+
case "freeze": return je(n);
|
|
238
|
+
case "clone": return _(n);
|
|
239
|
+
default: return n;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs
|
|
244
|
+
var Me = class extends Error {
|
|
245
|
+
constructor(e) {
|
|
246
|
+
super(e);
|
|
247
|
+
}
|
|
248
|
+
}, y = Symbol.for("TypeBox.Transform"), Ne = Symbol.for("TypeBox.Readonly"), Pe = Symbol.for("TypeBox.Optional"), Fe = Symbol.for("TypeBox.Hint"), b = Symbol.for("TypeBox.Kind");
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs
|
|
251
|
+
function Ie(e) {
|
|
252
|
+
return m(e) && e[Ne] === "Readonly";
|
|
253
|
+
}
|
|
254
|
+
function Le(e) {
|
|
255
|
+
return m(e) && e[Pe] === "Optional";
|
|
256
|
+
}
|
|
257
|
+
function Re(e) {
|
|
258
|
+
return S(e, "Any");
|
|
259
|
+
}
|
|
260
|
+
function ze(e) {
|
|
261
|
+
return S(e, "Argument");
|
|
262
|
+
}
|
|
263
|
+
function Be(e) {
|
|
264
|
+
return S(e, "Array");
|
|
265
|
+
}
|
|
266
|
+
function Ve(e) {
|
|
267
|
+
return S(e, "AsyncIterator");
|
|
268
|
+
}
|
|
269
|
+
function He(e) {
|
|
270
|
+
return S(e, "BigInt");
|
|
271
|
+
}
|
|
272
|
+
function Ue(e) {
|
|
273
|
+
return S(e, "Boolean");
|
|
274
|
+
}
|
|
275
|
+
function We(e) {
|
|
276
|
+
return S(e, "Computed");
|
|
277
|
+
}
|
|
278
|
+
function Ge(e) {
|
|
279
|
+
return S(e, "Constructor");
|
|
280
|
+
}
|
|
281
|
+
function Ke(e) {
|
|
282
|
+
return S(e, "Date");
|
|
283
|
+
}
|
|
284
|
+
function qe(e) {
|
|
285
|
+
return S(e, "Function");
|
|
286
|
+
}
|
|
287
|
+
function Je(e) {
|
|
288
|
+
return S(e, "Integer");
|
|
289
|
+
}
|
|
290
|
+
function x(e) {
|
|
291
|
+
return S(e, "Intersect");
|
|
292
|
+
}
|
|
293
|
+
function Ye(e) {
|
|
294
|
+
return S(e, "Iterator");
|
|
295
|
+
}
|
|
296
|
+
function S(e, t) {
|
|
297
|
+
return m(e) && b in e && e[b] === t;
|
|
298
|
+
}
|
|
299
|
+
function Xe(e) {
|
|
300
|
+
return ae(e) || ue(e) || h(e);
|
|
301
|
+
}
|
|
302
|
+
function Ze(e) {
|
|
303
|
+
return S(e, "Literal");
|
|
304
|
+
}
|
|
305
|
+
function Qe(e) {
|
|
306
|
+
return S(e, "MappedKey");
|
|
307
|
+
}
|
|
308
|
+
function C(e) {
|
|
309
|
+
return S(e, "MappedResult");
|
|
310
|
+
}
|
|
311
|
+
function $e(e) {
|
|
312
|
+
return S(e, "Never");
|
|
313
|
+
}
|
|
314
|
+
function et(e) {
|
|
315
|
+
return S(e, "Not");
|
|
316
|
+
}
|
|
317
|
+
function tt(e) {
|
|
318
|
+
return S(e, "Null");
|
|
319
|
+
}
|
|
320
|
+
function nt(e) {
|
|
321
|
+
return S(e, "Number");
|
|
322
|
+
}
|
|
323
|
+
function rt(e) {
|
|
324
|
+
return S(e, "Object");
|
|
325
|
+
}
|
|
326
|
+
function it(e) {
|
|
327
|
+
return S(e, "Promise");
|
|
328
|
+
}
|
|
329
|
+
function at(e) {
|
|
330
|
+
return S(e, "Record");
|
|
331
|
+
}
|
|
332
|
+
function w(e) {
|
|
333
|
+
return S(e, "Ref");
|
|
334
|
+
}
|
|
335
|
+
function ot(e) {
|
|
336
|
+
return S(e, "RegExp");
|
|
337
|
+
}
|
|
338
|
+
function st(e) {
|
|
339
|
+
return S(e, "String");
|
|
340
|
+
}
|
|
341
|
+
function ct(e) {
|
|
342
|
+
return S(e, "Symbol");
|
|
343
|
+
}
|
|
344
|
+
function lt(e) {
|
|
345
|
+
return S(e, "TemplateLiteral");
|
|
346
|
+
}
|
|
347
|
+
function ut(e) {
|
|
348
|
+
return S(e, "This");
|
|
349
|
+
}
|
|
350
|
+
function dt(e) {
|
|
351
|
+
return m(e) && y in e;
|
|
352
|
+
}
|
|
353
|
+
function ft(e) {
|
|
354
|
+
return S(e, "Tuple");
|
|
355
|
+
}
|
|
356
|
+
function pt(e) {
|
|
357
|
+
return S(e, "Undefined");
|
|
358
|
+
}
|
|
359
|
+
function T(e) {
|
|
360
|
+
return S(e, "Union");
|
|
361
|
+
}
|
|
362
|
+
function mt(e) {
|
|
363
|
+
return S(e, "Uint8Array");
|
|
364
|
+
}
|
|
365
|
+
function ht(e) {
|
|
366
|
+
return S(e, "Unknown");
|
|
367
|
+
}
|
|
368
|
+
function gt(e) {
|
|
369
|
+
return S(e, "Unsafe");
|
|
370
|
+
}
|
|
371
|
+
function _t(e) {
|
|
372
|
+
return S(e, "Void");
|
|
373
|
+
}
|
|
374
|
+
function vt(e) {
|
|
375
|
+
return m(e) && b in e && h(e[b]);
|
|
376
|
+
}
|
|
377
|
+
function yt(e) {
|
|
378
|
+
return Re(e) || ze(e) || Be(e) || Ue(e) || He(e) || Ve(e) || We(e) || Ge(e) || Ke(e) || qe(e) || Je(e) || x(e) || Ye(e) || Ze(e) || Qe(e) || C(e) || $e(e) || et(e) || tt(e) || nt(e) || rt(e) || it(e) || at(e) || w(e) || ot(e) || st(e) || ct(e) || lt(e) || ut(e) || ft(e) || pt(e) || T(e) || mt(e) || ht(e) || gt(e) || _t(e) || vt(e);
|
|
379
|
+
}
|
|
380
|
+
//#endregion
|
|
381
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs
|
|
382
|
+
var bt = /* @__PURE__ */ "Argument.Any.Array.AsyncIterator.BigInt.Boolean.Computed.Constructor.Date.Enum.Function.Integer.Intersect.Iterator.Literal.MappedKey.MappedResult.Not.Null.Number.Object.Promise.Record.Ref.RegExp.String.Symbol.TemplateLiteral.This.Tuple.Undefined.Union.Uint8Array.Unknown.Void".split(".");
|
|
383
|
+
function xt(e) {
|
|
384
|
+
try {
|
|
385
|
+
return new RegExp(e), !0;
|
|
386
|
+
} catch {
|
|
387
|
+
return !1;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
function St(e) {
|
|
391
|
+
if (!h(e)) return !1;
|
|
392
|
+
for (let t = 0; t < e.length; t++) {
|
|
393
|
+
let n = e.charCodeAt(t);
|
|
394
|
+
if (n >= 7 && n <= 13 || n === 27 || n === 127) return !1;
|
|
395
|
+
}
|
|
396
|
+
return !0;
|
|
397
|
+
}
|
|
398
|
+
function Ct(e) {
|
|
399
|
+
return Tt(e) || N(e);
|
|
400
|
+
}
|
|
401
|
+
function wt(e) {
|
|
402
|
+
return g(e) || ie(e);
|
|
403
|
+
}
|
|
404
|
+
function E(e) {
|
|
405
|
+
return g(e) || ue(e);
|
|
406
|
+
}
|
|
407
|
+
function Tt(e) {
|
|
408
|
+
return g(e) || ae(e);
|
|
409
|
+
}
|
|
410
|
+
function D(e) {
|
|
411
|
+
return g(e) || h(e);
|
|
412
|
+
}
|
|
413
|
+
function Et(e) {
|
|
414
|
+
return g(e) || h(e) && St(e) && xt(e);
|
|
415
|
+
}
|
|
416
|
+
function Dt(e) {
|
|
417
|
+
return g(e) || h(e) && St(e);
|
|
418
|
+
}
|
|
419
|
+
function Ot(e) {
|
|
420
|
+
return g(e) || N(e);
|
|
421
|
+
}
|
|
422
|
+
function kt(e) {
|
|
423
|
+
return m(e) && e[Pe] === "Optional";
|
|
424
|
+
}
|
|
425
|
+
function At(e) {
|
|
426
|
+
return O(e, "Any") && D(e.$id);
|
|
427
|
+
}
|
|
428
|
+
function jt(e) {
|
|
429
|
+
return O(e, "Argument") && ue(e.index);
|
|
430
|
+
}
|
|
431
|
+
function Mt(e) {
|
|
432
|
+
return O(e, "Array") && e.type === "array" && D(e.$id) && N(e.items) && E(e.minItems) && E(e.maxItems) && Tt(e.uniqueItems) && Ot(e.contains) && E(e.minContains) && E(e.maxContains);
|
|
433
|
+
}
|
|
434
|
+
function Nt(e) {
|
|
435
|
+
return O(e, "AsyncIterator") && e.type === "AsyncIterator" && D(e.$id) && N(e.items);
|
|
436
|
+
}
|
|
437
|
+
function Pt(e) {
|
|
438
|
+
return O(e, "BigInt") && e.type === "bigint" && D(e.$id) && wt(e.exclusiveMaximum) && wt(e.exclusiveMinimum) && wt(e.maximum) && wt(e.minimum) && wt(e.multipleOf);
|
|
439
|
+
}
|
|
440
|
+
function Ft(e) {
|
|
441
|
+
return O(e, "Boolean") && e.type === "boolean" && D(e.$id);
|
|
442
|
+
}
|
|
443
|
+
function It(e) {
|
|
444
|
+
return O(e, "Computed") && h(e.target) && p(e.parameters) && e.parameters.every((e) => N(e));
|
|
445
|
+
}
|
|
446
|
+
function Lt(e) {
|
|
447
|
+
return O(e, "Constructor") && e.type === "Constructor" && D(e.$id) && p(e.parameters) && e.parameters.every((e) => N(e)) && N(e.returns);
|
|
448
|
+
}
|
|
449
|
+
function Rt(e) {
|
|
450
|
+
return O(e, "Date") && e.type === "Date" && D(e.$id) && E(e.exclusiveMaximumTimestamp) && E(e.exclusiveMinimumTimestamp) && E(e.maximumTimestamp) && E(e.minimumTimestamp) && E(e.multipleOfTimestamp);
|
|
451
|
+
}
|
|
452
|
+
function zt(e) {
|
|
453
|
+
return O(e, "Function") && e.type === "Function" && D(e.$id) && p(e.parameters) && e.parameters.every((e) => N(e)) && N(e.returns);
|
|
454
|
+
}
|
|
455
|
+
function Bt(e) {
|
|
456
|
+
return O(e, "Integer") && e.type === "integer" && D(e.$id) && E(e.exclusiveMaximum) && E(e.exclusiveMinimum) && E(e.maximum) && E(e.minimum) && E(e.multipleOf);
|
|
457
|
+
}
|
|
458
|
+
function Vt(e) {
|
|
459
|
+
return m(e) && Object.entries(e).every(([e, t]) => St(e) && N(t));
|
|
460
|
+
}
|
|
461
|
+
function Ht(e) {
|
|
462
|
+
return O(e, "Intersect") && !(h(e.type) && e.type !== "object") && p(e.allOf) && e.allOf.every((e) => N(e) && !sn(e)) && D(e.type) && (Tt(e.unevaluatedProperties) || Ot(e.unevaluatedProperties)) && D(e.$id);
|
|
463
|
+
}
|
|
464
|
+
function Ut(e) {
|
|
465
|
+
return O(e, "Iterator") && e.type === "Iterator" && D(e.$id) && N(e.items);
|
|
466
|
+
}
|
|
467
|
+
function O(e, t) {
|
|
468
|
+
return m(e) && b in e && e[b] === t;
|
|
469
|
+
}
|
|
470
|
+
function Wt(e) {
|
|
471
|
+
return qt(e) && h(e.const);
|
|
472
|
+
}
|
|
473
|
+
function Gt(e) {
|
|
474
|
+
return qt(e) && ue(e.const);
|
|
475
|
+
}
|
|
476
|
+
function Kt(e) {
|
|
477
|
+
return qt(e) && ae(e.const);
|
|
478
|
+
}
|
|
479
|
+
function qt(e) {
|
|
480
|
+
return O(e, "Literal") && D(e.$id) && Jt(e.const);
|
|
481
|
+
}
|
|
482
|
+
function Jt(e) {
|
|
483
|
+
return ae(e) || ue(e) || h(e);
|
|
484
|
+
}
|
|
485
|
+
function Yt(e) {
|
|
486
|
+
return O(e, "MappedKey") && p(e.keys) && e.keys.every((e) => ue(e) || h(e));
|
|
487
|
+
}
|
|
488
|
+
function Xt(e) {
|
|
489
|
+
return O(e, "MappedResult") && Vt(e.properties);
|
|
490
|
+
}
|
|
491
|
+
function Zt(e) {
|
|
492
|
+
return O(e, "Never") && m(e.not) && Object.getOwnPropertyNames(e.not).length === 0;
|
|
493
|
+
}
|
|
494
|
+
function Qt(e) {
|
|
495
|
+
return O(e, "Not") && N(e.not);
|
|
496
|
+
}
|
|
497
|
+
function $t(e) {
|
|
498
|
+
return O(e, "Null") && e.type === "null" && D(e.$id);
|
|
499
|
+
}
|
|
500
|
+
function k(e) {
|
|
501
|
+
return O(e, "Number") && e.type === "number" && D(e.$id) && E(e.exclusiveMaximum) && E(e.exclusiveMinimum) && E(e.maximum) && E(e.minimum) && E(e.multipleOf);
|
|
502
|
+
}
|
|
503
|
+
function A(e) {
|
|
504
|
+
return O(e, "Object") && e.type === "object" && D(e.$id) && Vt(e.properties) && Ct(e.additionalProperties) && E(e.minProperties) && E(e.maxProperties);
|
|
505
|
+
}
|
|
506
|
+
function en(e) {
|
|
507
|
+
return O(e, "Promise") && e.type === "Promise" && D(e.$id) && N(e.item);
|
|
508
|
+
}
|
|
509
|
+
function j(e) {
|
|
510
|
+
return O(e, "Record") && e.type === "object" && D(e.$id) && Ct(e.additionalProperties) && m(e.patternProperties) && ((e) => {
|
|
511
|
+
let t = Object.getOwnPropertyNames(e.patternProperties);
|
|
512
|
+
return t.length === 1 && xt(t[0]) && m(e.patternProperties) && N(e.patternProperties[t[0]]);
|
|
513
|
+
})(e);
|
|
514
|
+
}
|
|
515
|
+
function tn(e) {
|
|
516
|
+
return O(e, "Ref") && D(e.$id) && h(e.$ref);
|
|
517
|
+
}
|
|
518
|
+
function nn(e) {
|
|
519
|
+
return O(e, "RegExp") && D(e.$id) && h(e.source) && h(e.flags) && E(e.maxLength) && E(e.minLength);
|
|
520
|
+
}
|
|
521
|
+
function M(e) {
|
|
522
|
+
return O(e, "String") && e.type === "string" && D(e.$id) && E(e.minLength) && E(e.maxLength) && Et(e.pattern) && Dt(e.format);
|
|
523
|
+
}
|
|
524
|
+
function rn(e) {
|
|
525
|
+
return O(e, "Symbol") && e.type === "symbol" && D(e.$id);
|
|
526
|
+
}
|
|
527
|
+
function an(e) {
|
|
528
|
+
return O(e, "TemplateLiteral") && e.type === "string" && h(e.pattern) && e.pattern[0] === "^" && e.pattern[e.pattern.length - 1] === "$";
|
|
529
|
+
}
|
|
530
|
+
function on(e) {
|
|
531
|
+
return O(e, "This") && D(e.$id) && h(e.$ref);
|
|
532
|
+
}
|
|
533
|
+
function sn(e) {
|
|
534
|
+
return m(e) && y in e;
|
|
535
|
+
}
|
|
536
|
+
function cn(e) {
|
|
537
|
+
return O(e, "Tuple") && e.type === "array" && D(e.$id) && ue(e.minItems) && ue(e.maxItems) && e.minItems === e.maxItems && (g(e.items) && g(e.additionalItems) && e.minItems === 0 || p(e.items) && e.items.every((e) => N(e)));
|
|
538
|
+
}
|
|
539
|
+
function ln(e) {
|
|
540
|
+
return O(e, "Undefined") && e.type === "undefined" && D(e.$id);
|
|
541
|
+
}
|
|
542
|
+
function un(e) {
|
|
543
|
+
return O(e, "Union") && D(e.$id) && m(e) && p(e.anyOf) && e.anyOf.every((e) => N(e));
|
|
544
|
+
}
|
|
545
|
+
function dn(e) {
|
|
546
|
+
return O(e, "Uint8Array") && e.type === "Uint8Array" && D(e.$id) && E(e.minByteLength) && E(e.maxByteLength);
|
|
547
|
+
}
|
|
548
|
+
function fn(e) {
|
|
549
|
+
return O(e, "Unknown") && D(e.$id);
|
|
550
|
+
}
|
|
551
|
+
function pn(e) {
|
|
552
|
+
return O(e, "Unsafe");
|
|
553
|
+
}
|
|
554
|
+
function mn(e) {
|
|
555
|
+
return O(e, "Void") && e.type === "void" && D(e.$id);
|
|
556
|
+
}
|
|
557
|
+
function hn(e) {
|
|
558
|
+
return m(e) && b in e && h(e[b]) && !bt.includes(e[b]);
|
|
559
|
+
}
|
|
560
|
+
function N(e) {
|
|
561
|
+
return m(e) && (At(e) || jt(e) || Mt(e) || Ft(e) || Pt(e) || Nt(e) || It(e) || Lt(e) || Rt(e) || zt(e) || Bt(e) || Ht(e) || Ut(e) || qt(e) || Yt(e) || Xt(e) || Zt(e) || Qt(e) || $t(e) || k(e) || A(e) || en(e) || j(e) || tn(e) || nn(e) || M(e) || rn(e) || an(e) || on(e) || cn(e) || ln(e) || un(e) || dn(e) || fn(e) || pn(e) || mn(e) || hn(e));
|
|
562
|
+
}
|
|
563
|
+
//#endregion
|
|
564
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs
|
|
565
|
+
var gn = "(true|false)", _n = "(0|[1-9][0-9]*)", vn = "(.*)", yn = "(?!.*)";
|
|
566
|
+
`${gn}`;
|
|
567
|
+
var bn = `^${_n}$`, xn = `^${vn}$`, Sn = `^${yn}$`;
|
|
568
|
+
//#endregion
|
|
569
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs
|
|
570
|
+
function Cn(e, t) {
|
|
571
|
+
return e.includes(t);
|
|
572
|
+
}
|
|
573
|
+
function wn(e) {
|
|
574
|
+
return [...new Set(e)];
|
|
575
|
+
}
|
|
576
|
+
function Tn(e, t) {
|
|
577
|
+
return e.filter((e) => t.includes(e));
|
|
578
|
+
}
|
|
579
|
+
function En(e, t) {
|
|
580
|
+
return e.reduce((e, t) => Tn(e, t), t);
|
|
581
|
+
}
|
|
582
|
+
function Dn(e) {
|
|
583
|
+
return e.length === 1 ? e[0] : e.length > 1 ? En(e.slice(1), e[0]) : [];
|
|
584
|
+
}
|
|
585
|
+
function On(e) {
|
|
586
|
+
let t = [];
|
|
587
|
+
for (let n of e) t.push(...n);
|
|
588
|
+
return t;
|
|
589
|
+
}
|
|
590
|
+
//#endregion
|
|
591
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs
|
|
592
|
+
function kn(e) {
|
|
593
|
+
return v({ [b]: "Any" }, e);
|
|
594
|
+
}
|
|
595
|
+
//#endregion
|
|
596
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs
|
|
597
|
+
function An(e, t) {
|
|
598
|
+
return v({
|
|
599
|
+
[b]: "Array",
|
|
600
|
+
type: "array",
|
|
601
|
+
items: e
|
|
602
|
+
}, t);
|
|
603
|
+
}
|
|
604
|
+
//#endregion
|
|
605
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs
|
|
606
|
+
function jn(e) {
|
|
607
|
+
return v({
|
|
608
|
+
[b]: "Argument",
|
|
609
|
+
index: e
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
//#endregion
|
|
613
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs
|
|
614
|
+
function Mn(e, t) {
|
|
615
|
+
return v({
|
|
616
|
+
[b]: "AsyncIterator",
|
|
617
|
+
type: "AsyncIterator",
|
|
618
|
+
items: e
|
|
619
|
+
}, t);
|
|
620
|
+
}
|
|
621
|
+
//#endregion
|
|
622
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs
|
|
623
|
+
function P(e, t, n) {
|
|
624
|
+
return v({
|
|
625
|
+
[b]: "Computed",
|
|
626
|
+
target: e,
|
|
627
|
+
parameters: t
|
|
628
|
+
}, n);
|
|
629
|
+
}
|
|
630
|
+
//#endregion
|
|
631
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs
|
|
632
|
+
function Nn(e, t) {
|
|
633
|
+
let { [t]: n, ...r } = e;
|
|
634
|
+
return r;
|
|
635
|
+
}
|
|
636
|
+
function F(e, t) {
|
|
637
|
+
return t.reduce((e, t) => Nn(e, t), e);
|
|
638
|
+
}
|
|
639
|
+
//#endregion
|
|
640
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs
|
|
641
|
+
function I(e) {
|
|
642
|
+
return v({
|
|
643
|
+
[b]: "Never",
|
|
644
|
+
not: {}
|
|
645
|
+
}, e);
|
|
646
|
+
}
|
|
647
|
+
//#endregion
|
|
648
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs
|
|
649
|
+
function L(e) {
|
|
650
|
+
return v({
|
|
651
|
+
[b]: "MappedResult",
|
|
652
|
+
properties: e
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
//#endregion
|
|
656
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs
|
|
657
|
+
function Pn(e, t, n) {
|
|
658
|
+
return v({
|
|
659
|
+
[b]: "Constructor",
|
|
660
|
+
type: "Constructor",
|
|
661
|
+
parameters: e,
|
|
662
|
+
returns: t
|
|
663
|
+
}, n);
|
|
664
|
+
}
|
|
665
|
+
//#endregion
|
|
666
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs
|
|
667
|
+
function Fn(e, t, n) {
|
|
668
|
+
return v({
|
|
669
|
+
[b]: "Function",
|
|
670
|
+
type: "Function",
|
|
671
|
+
parameters: e,
|
|
672
|
+
returns: t
|
|
673
|
+
}, n);
|
|
674
|
+
}
|
|
675
|
+
//#endregion
|
|
676
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs
|
|
677
|
+
function In(e, t) {
|
|
678
|
+
return v({
|
|
679
|
+
[b]: "Union",
|
|
680
|
+
anyOf: e
|
|
681
|
+
}, t);
|
|
682
|
+
}
|
|
683
|
+
//#endregion
|
|
684
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs
|
|
685
|
+
function Ln(e) {
|
|
686
|
+
return e.some((e) => Le(e));
|
|
687
|
+
}
|
|
688
|
+
function Rn(e) {
|
|
689
|
+
return e.map((e) => Le(e) ? zn(e) : e);
|
|
690
|
+
}
|
|
691
|
+
function zn(e) {
|
|
692
|
+
return F(e, [Pe]);
|
|
693
|
+
}
|
|
694
|
+
function Bn(e, t) {
|
|
695
|
+
return Ln(e) ? Si(In(Rn(e), t)) : In(Rn(e), t);
|
|
696
|
+
}
|
|
697
|
+
function Vn(e, t) {
|
|
698
|
+
return e.length === 1 ? v(e[0], t) : e.length === 0 ? I(t) : Bn(e, t);
|
|
699
|
+
}
|
|
700
|
+
//#endregion
|
|
701
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs
|
|
702
|
+
function R(e, t) {
|
|
703
|
+
return e.length === 0 ? I(t) : e.length === 1 ? v(e[0], t) : In(e, t);
|
|
704
|
+
}
|
|
705
|
+
//#endregion
|
|
706
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs
|
|
707
|
+
var Hn = class extends Me {};
|
|
708
|
+
function Un(e) {
|
|
709
|
+
return e.replace(/\\\$/g, "$").replace(/\\\*/g, "*").replace(/\\\^/g, "^").replace(/\\\|/g, "|").replace(/\\\(/g, "(").replace(/\\\)/g, ")");
|
|
710
|
+
}
|
|
711
|
+
function Wn(e, t, n) {
|
|
712
|
+
return e[t] === n && e.charCodeAt(t - 1) !== 92;
|
|
713
|
+
}
|
|
714
|
+
function Gn(e, t) {
|
|
715
|
+
return Wn(e, t, "(");
|
|
716
|
+
}
|
|
717
|
+
function Kn(e, t) {
|
|
718
|
+
return Wn(e, t, ")");
|
|
719
|
+
}
|
|
720
|
+
function qn(e, t) {
|
|
721
|
+
return Wn(e, t, "|");
|
|
722
|
+
}
|
|
723
|
+
function Jn(e) {
|
|
724
|
+
if (!(Gn(e, 0) && Kn(e, e.length - 1))) return !1;
|
|
725
|
+
let t = 0;
|
|
726
|
+
for (let n = 0; n < e.length; n++) if (Gn(e, n) && (t += 1), Kn(e, n) && --t, t === 0 && n !== e.length - 1) return !1;
|
|
727
|
+
return !0;
|
|
728
|
+
}
|
|
729
|
+
function Yn(e) {
|
|
730
|
+
return e.slice(1, e.length - 1);
|
|
731
|
+
}
|
|
732
|
+
function Xn(e) {
|
|
733
|
+
let t = 0;
|
|
734
|
+
for (let n = 0; n < e.length; n++) if (Gn(e, n) && (t += 1), Kn(e, n) && --t, qn(e, n) && t === 0) return !0;
|
|
735
|
+
return !1;
|
|
736
|
+
}
|
|
737
|
+
function Zn(e) {
|
|
738
|
+
for (let t = 0; t < e.length; t++) if (Gn(e, t)) return !0;
|
|
739
|
+
return !1;
|
|
740
|
+
}
|
|
741
|
+
function Qn(e) {
|
|
742
|
+
let [t, n] = [0, 0], r = [];
|
|
743
|
+
for (let i = 0; i < e.length; i++) if (Gn(e, i) && (t += 1), Kn(e, i) && --t, qn(e, i) && t === 0) {
|
|
744
|
+
let t = e.slice(n, i);
|
|
745
|
+
t.length > 0 && r.push(er(t)), n = i + 1;
|
|
746
|
+
}
|
|
747
|
+
let i = e.slice(n);
|
|
748
|
+
return i.length > 0 && r.push(er(i)), r.length === 0 ? {
|
|
749
|
+
type: "const",
|
|
750
|
+
const: ""
|
|
751
|
+
} : r.length === 1 ? r[0] : {
|
|
752
|
+
type: "or",
|
|
753
|
+
expr: r
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
function $n(e) {
|
|
757
|
+
function t(e, t) {
|
|
758
|
+
if (!Gn(e, t)) throw new Hn("TemplateLiteralParser: Index must point to open parens");
|
|
759
|
+
let n = 0;
|
|
760
|
+
for (let r = t; r < e.length; r++) if (Gn(e, r) && (n += 1), Kn(e, r) && --n, n === 0) return [t, r];
|
|
761
|
+
throw new Hn("TemplateLiteralParser: Unclosed group parens in expression");
|
|
762
|
+
}
|
|
763
|
+
function n(e, t) {
|
|
764
|
+
for (let n = t; n < e.length; n++) if (Gn(e, n)) return [t, n];
|
|
765
|
+
return [t, e.length];
|
|
766
|
+
}
|
|
767
|
+
let r = [];
|
|
768
|
+
for (let i = 0; i < e.length; i++) if (Gn(e, i)) {
|
|
769
|
+
let [n, a] = t(e, i), o = e.slice(n, a + 1);
|
|
770
|
+
r.push(er(o)), i = a;
|
|
771
|
+
} else {
|
|
772
|
+
let [t, a] = n(e, i), o = e.slice(t, a);
|
|
773
|
+
o.length > 0 && r.push(er(o)), i = a - 1;
|
|
774
|
+
}
|
|
775
|
+
return r.length === 0 ? {
|
|
776
|
+
type: "const",
|
|
777
|
+
const: ""
|
|
778
|
+
} : r.length === 1 ? r[0] : {
|
|
779
|
+
type: "and",
|
|
780
|
+
expr: r
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
function er(e) {
|
|
784
|
+
return Jn(e) ? er(Yn(e)) : Xn(e) ? Qn(e) : Zn(e) ? $n(e) : {
|
|
785
|
+
type: "const",
|
|
786
|
+
const: Un(e)
|
|
787
|
+
};
|
|
788
|
+
}
|
|
789
|
+
function tr(e) {
|
|
790
|
+
return er(e.slice(1, e.length - 1));
|
|
791
|
+
}
|
|
792
|
+
//#endregion
|
|
793
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs
|
|
794
|
+
var nr = class extends Me {};
|
|
795
|
+
function rr(e) {
|
|
796
|
+
return e.type === "or" && e.expr.length === 2 && e.expr[0].type === "const" && e.expr[0].const === "0" && e.expr[1].type === "const" && e.expr[1].const === "[1-9][0-9]*";
|
|
797
|
+
}
|
|
798
|
+
function ir(e) {
|
|
799
|
+
return e.type === "or" && e.expr.length === 2 && e.expr[0].type === "const" && e.expr[0].const === "true" && e.expr[1].type === "const" && e.expr[1].const === "false";
|
|
800
|
+
}
|
|
801
|
+
function ar(e) {
|
|
802
|
+
return e.type === "const" && e.const === ".*";
|
|
803
|
+
}
|
|
804
|
+
function or(e) {
|
|
805
|
+
return rr(e) || ar(e) ? !1 : ir(e) ? !0 : e.type === "and" || e.type === "or" ? e.expr.every((e) => or(e)) : e.type === "const" ? !0 : (() => {
|
|
806
|
+
throw new nr("Unknown expression type");
|
|
807
|
+
})();
|
|
808
|
+
}
|
|
809
|
+
function sr(e) {
|
|
810
|
+
return or(tr(e.pattern));
|
|
811
|
+
}
|
|
812
|
+
//#endregion
|
|
813
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs
|
|
814
|
+
var cr = class extends Me {};
|
|
815
|
+
function* lr(e) {
|
|
816
|
+
if (e.length === 1) return yield* e[0];
|
|
817
|
+
for (let t of e[0]) for (let n of lr(e.slice(1))) yield `${t}${n}`;
|
|
818
|
+
}
|
|
819
|
+
function* ur(e) {
|
|
820
|
+
return yield* lr(e.expr.map((e) => [...pr(e)]));
|
|
821
|
+
}
|
|
822
|
+
function* dr(e) {
|
|
823
|
+
for (let t of e.expr) yield* pr(t);
|
|
824
|
+
}
|
|
825
|
+
function* fr(e) {
|
|
826
|
+
return yield e.const;
|
|
827
|
+
}
|
|
828
|
+
function* pr(e) {
|
|
829
|
+
return e.type === "and" ? yield* ur(e) : e.type === "or" ? yield* dr(e) : e.type === "const" ? yield* fr(e) : (() => {
|
|
830
|
+
throw new cr("Unknown expression");
|
|
831
|
+
})();
|
|
832
|
+
}
|
|
833
|
+
function mr(e) {
|
|
834
|
+
let t = tr(e.pattern);
|
|
835
|
+
return or(t) ? [...pr(t)] : [];
|
|
836
|
+
}
|
|
837
|
+
//#endregion
|
|
838
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs
|
|
839
|
+
function z(e, t) {
|
|
840
|
+
return v({
|
|
841
|
+
[b]: "Literal",
|
|
842
|
+
const: e,
|
|
843
|
+
type: typeof e
|
|
844
|
+
}, t);
|
|
845
|
+
}
|
|
846
|
+
//#endregion
|
|
847
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs
|
|
848
|
+
function hr(e) {
|
|
849
|
+
return v({
|
|
850
|
+
[b]: "Boolean",
|
|
851
|
+
type: "boolean"
|
|
852
|
+
}, e);
|
|
853
|
+
}
|
|
854
|
+
//#endregion
|
|
855
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs
|
|
856
|
+
function gr(e) {
|
|
857
|
+
return v({
|
|
858
|
+
[b]: "BigInt",
|
|
859
|
+
type: "bigint"
|
|
860
|
+
}, e);
|
|
861
|
+
}
|
|
862
|
+
//#endregion
|
|
863
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs
|
|
864
|
+
function _r(e) {
|
|
865
|
+
return v({
|
|
866
|
+
[b]: "Number",
|
|
867
|
+
type: "number"
|
|
868
|
+
}, e);
|
|
869
|
+
}
|
|
870
|
+
//#endregion
|
|
871
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs
|
|
872
|
+
function vr(e) {
|
|
873
|
+
return v({
|
|
874
|
+
[b]: "String",
|
|
875
|
+
type: "string"
|
|
876
|
+
}, e);
|
|
877
|
+
}
|
|
878
|
+
//#endregion
|
|
879
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs
|
|
880
|
+
function* yr(e) {
|
|
881
|
+
let t = e.trim().replace(/"|'/g, "");
|
|
882
|
+
return t === "boolean" ? yield hr() : t === "number" ? yield _r() : t === "bigint" ? yield gr() : t === "string" ? yield vr() : yield (() => {
|
|
883
|
+
let e = t.split("|").map((e) => z(e.trim()));
|
|
884
|
+
return e.length === 0 ? I() : e.length === 1 ? e[0] : Vn(e);
|
|
885
|
+
})();
|
|
886
|
+
}
|
|
887
|
+
function* br(e) {
|
|
888
|
+
if (e[1] !== "{") return yield* [z("$"), ...xr(e.slice(1))];
|
|
889
|
+
for (let t = 2; t < e.length; t++) if (e[t] === "}") {
|
|
890
|
+
let n = yr(e.slice(2, t)), r = xr(e.slice(t + 1));
|
|
891
|
+
return yield* [...n, ...r];
|
|
892
|
+
}
|
|
893
|
+
yield z(e);
|
|
894
|
+
}
|
|
895
|
+
function* xr(e) {
|
|
896
|
+
for (let t = 0; t < e.length; t++) if (e[t] === "$") return yield* [z(e.slice(0, t)), ...br(e.slice(t))];
|
|
897
|
+
yield z(e);
|
|
898
|
+
}
|
|
899
|
+
function Sr(e) {
|
|
900
|
+
return [...xr(e)];
|
|
901
|
+
}
|
|
902
|
+
//#endregion
|
|
903
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs
|
|
904
|
+
var Cr = class extends Me {};
|
|
905
|
+
function wr(e) {
|
|
906
|
+
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
907
|
+
}
|
|
908
|
+
function Tr(e, t) {
|
|
909
|
+
return lt(e) ? e.pattern.slice(1, e.pattern.length - 1) : T(e) ? `(${e.anyOf.map((e) => Tr(e, t)).join("|")})` : nt(e) || Je(e) || He(e) ? `${t}${_n}` : st(e) ? `${t}${vn}` : Ze(e) ? `${t}${wr(e.const.toString())}` : Ue(e) ? `${t}${gn}` : (() => {
|
|
910
|
+
throw new Cr(`Unexpected Kind '${e[b]}'`);
|
|
911
|
+
})();
|
|
912
|
+
}
|
|
913
|
+
function Er(e) {
|
|
914
|
+
return `^${e.map((e) => Tr(e, "")).join("")}\$`;
|
|
915
|
+
}
|
|
916
|
+
//#endregion
|
|
917
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs
|
|
918
|
+
function Dr(e) {
|
|
919
|
+
return Vn(mr(e).map((e) => z(e)));
|
|
920
|
+
}
|
|
921
|
+
//#endregion
|
|
922
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs
|
|
923
|
+
function Or(e, t) {
|
|
924
|
+
let n = h(e) ? Er(Sr(e)) : Er(e);
|
|
925
|
+
return v({
|
|
926
|
+
[b]: "TemplateLiteral",
|
|
927
|
+
type: "string",
|
|
928
|
+
pattern: n
|
|
929
|
+
}, t);
|
|
930
|
+
}
|
|
931
|
+
//#endregion
|
|
932
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs
|
|
933
|
+
function kr(e) {
|
|
934
|
+
return mr(e).map((e) => e.toString());
|
|
935
|
+
}
|
|
936
|
+
function Ar(e) {
|
|
937
|
+
let t = [];
|
|
938
|
+
for (let n of e) t.push(...Mr(n));
|
|
939
|
+
return t;
|
|
940
|
+
}
|
|
941
|
+
function jr(e) {
|
|
942
|
+
return [e.toString()];
|
|
943
|
+
}
|
|
944
|
+
function Mr(e) {
|
|
945
|
+
return [...new Set(lt(e) ? kr(e) : T(e) ? Ar(e.anyOf) : Ze(e) ? jr(e.const) : nt(e) || Je(e) ? ["[number]"] : [])];
|
|
946
|
+
}
|
|
947
|
+
//#endregion
|
|
948
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs
|
|
949
|
+
function Nr(e, t, n) {
|
|
950
|
+
let r = {};
|
|
951
|
+
for (let i of Object.getOwnPropertyNames(t)) r[i] = qr(e, Mr(t[i]), n);
|
|
952
|
+
return r;
|
|
953
|
+
}
|
|
954
|
+
function Pr(e, t, n) {
|
|
955
|
+
return Nr(e, t.properties, n);
|
|
956
|
+
}
|
|
957
|
+
function Fr(e, t, n) {
|
|
958
|
+
return L(Pr(e, t, n));
|
|
959
|
+
}
|
|
960
|
+
//#endregion
|
|
961
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs
|
|
962
|
+
function Ir(e, t) {
|
|
963
|
+
return e.map((e) => Wr(e, t));
|
|
964
|
+
}
|
|
965
|
+
function Lr(e) {
|
|
966
|
+
return e.filter((e) => !$e(e));
|
|
967
|
+
}
|
|
968
|
+
function Rr(e, t) {
|
|
969
|
+
return ji(Lr(Ir(e, t)));
|
|
970
|
+
}
|
|
971
|
+
function zr(e) {
|
|
972
|
+
return e.some((e) => $e(e)) ? [] : e;
|
|
973
|
+
}
|
|
974
|
+
function Br(e, t) {
|
|
975
|
+
return Vn(zr(Ir(e, t)));
|
|
976
|
+
}
|
|
977
|
+
function Vr(e, t) {
|
|
978
|
+
return t in e ? e[t] : t === "[number]" ? Vn(e) : I();
|
|
979
|
+
}
|
|
980
|
+
function Hr(e, t) {
|
|
981
|
+
return t === "[number]" ? e : I();
|
|
982
|
+
}
|
|
983
|
+
function Ur(e, t) {
|
|
984
|
+
return t in e ? e[t] : I();
|
|
985
|
+
}
|
|
986
|
+
function Wr(e, t) {
|
|
987
|
+
return x(e) ? Rr(e.allOf, t) : T(e) ? Br(e.anyOf, t) : ft(e) ? Vr(e.items ?? [], t) : Be(e) ? Hr(e.items, t) : rt(e) ? Ur(e.properties, t) : I();
|
|
988
|
+
}
|
|
989
|
+
function Gr(e, t) {
|
|
990
|
+
return t.map((t) => Wr(e, t));
|
|
991
|
+
}
|
|
992
|
+
function Kr(e, t) {
|
|
993
|
+
return Vn(Gr(e, t));
|
|
994
|
+
}
|
|
995
|
+
function qr(e, t, n) {
|
|
996
|
+
if (w(e) || w(t)) {
|
|
997
|
+
if (!yt(e) || !yt(t)) throw new Me("Index types using Ref parameters require both Type and Key to be of TSchema");
|
|
998
|
+
return P("Index", [e, t]);
|
|
999
|
+
}
|
|
1000
|
+
return C(t) ? Fr(e, t, n) : Qe(t) ? Zr(e, t, n) : v(yt(t) ? Kr(e, Mr(t)) : Kr(e, t), n);
|
|
1001
|
+
}
|
|
1002
|
+
//#endregion
|
|
1003
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs
|
|
1004
|
+
function Jr(e, t, n) {
|
|
1005
|
+
return { [t]: qr(e, [t], _(n)) };
|
|
1006
|
+
}
|
|
1007
|
+
function Yr(e, t, n) {
|
|
1008
|
+
return t.reduce((t, r) => ({
|
|
1009
|
+
...t,
|
|
1010
|
+
...Jr(e, r, n)
|
|
1011
|
+
}), {});
|
|
1012
|
+
}
|
|
1013
|
+
function Xr(e, t, n) {
|
|
1014
|
+
return Yr(e, t.keys, n);
|
|
1015
|
+
}
|
|
1016
|
+
function Zr(e, t, n) {
|
|
1017
|
+
return L(Xr(e, t, n));
|
|
1018
|
+
}
|
|
1019
|
+
//#endregion
|
|
1020
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs
|
|
1021
|
+
function Qr(e, t) {
|
|
1022
|
+
return v({
|
|
1023
|
+
[b]: "Iterator",
|
|
1024
|
+
type: "Iterator",
|
|
1025
|
+
items: e
|
|
1026
|
+
}, t);
|
|
1027
|
+
}
|
|
1028
|
+
//#endregion
|
|
1029
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs
|
|
1030
|
+
function $r(e) {
|
|
1031
|
+
return globalThis.Object.keys(e).filter((t) => !Le(e[t]));
|
|
1032
|
+
}
|
|
1033
|
+
function ei(e, t) {
|
|
1034
|
+
let n = $r(e);
|
|
1035
|
+
return v(n.length > 0 ? {
|
|
1036
|
+
[b]: "Object",
|
|
1037
|
+
type: "object",
|
|
1038
|
+
required: n,
|
|
1039
|
+
properties: e
|
|
1040
|
+
} : {
|
|
1041
|
+
[b]: "Object",
|
|
1042
|
+
type: "object",
|
|
1043
|
+
properties: e
|
|
1044
|
+
}, t);
|
|
1045
|
+
}
|
|
1046
|
+
var B = ei;
|
|
1047
|
+
//#endregion
|
|
1048
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs
|
|
1049
|
+
function ti(e, t) {
|
|
1050
|
+
return v({
|
|
1051
|
+
[b]: "Promise",
|
|
1052
|
+
type: "Promise",
|
|
1053
|
+
item: e
|
|
1054
|
+
}, t);
|
|
1055
|
+
}
|
|
1056
|
+
//#endregion
|
|
1057
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs
|
|
1058
|
+
function ni(e) {
|
|
1059
|
+
return v(F(e, [Ne]));
|
|
1060
|
+
}
|
|
1061
|
+
function ri(e) {
|
|
1062
|
+
return v({
|
|
1063
|
+
...e,
|
|
1064
|
+
[Ne]: "Readonly"
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
function ii(e, t) {
|
|
1068
|
+
return t === !1 ? ni(e) : ri(e);
|
|
1069
|
+
}
|
|
1070
|
+
function ai(e, t) {
|
|
1071
|
+
let n = t ?? !0;
|
|
1072
|
+
return C(e) ? ci(e, n) : ii(e, n);
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs
|
|
1076
|
+
function oi(e, t) {
|
|
1077
|
+
let n = {};
|
|
1078
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = ai(e[r], t);
|
|
1079
|
+
return n;
|
|
1080
|
+
}
|
|
1081
|
+
function si(e, t) {
|
|
1082
|
+
return oi(e.properties, t);
|
|
1083
|
+
}
|
|
1084
|
+
function ci(e, t) {
|
|
1085
|
+
return L(si(e, t));
|
|
1086
|
+
}
|
|
1087
|
+
//#endregion
|
|
1088
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs
|
|
1089
|
+
function li(e, t) {
|
|
1090
|
+
return v(e.length > 0 ? {
|
|
1091
|
+
[b]: "Tuple",
|
|
1092
|
+
type: "array",
|
|
1093
|
+
items: e,
|
|
1094
|
+
additionalItems: !1,
|
|
1095
|
+
minItems: e.length,
|
|
1096
|
+
maxItems: e.length
|
|
1097
|
+
} : {
|
|
1098
|
+
[b]: "Tuple",
|
|
1099
|
+
type: "array",
|
|
1100
|
+
minItems: e.length,
|
|
1101
|
+
maxItems: e.length
|
|
1102
|
+
}, t);
|
|
1103
|
+
}
|
|
1104
|
+
//#endregion
|
|
1105
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs
|
|
1106
|
+
function ui(e, t) {
|
|
1107
|
+
return e in t ? V(e, t[e]) : L(t);
|
|
1108
|
+
}
|
|
1109
|
+
function di(e) {
|
|
1110
|
+
return { [e]: z(e) };
|
|
1111
|
+
}
|
|
1112
|
+
function fi(e) {
|
|
1113
|
+
let t = {};
|
|
1114
|
+
for (let n of e) t[n] = z(n);
|
|
1115
|
+
return t;
|
|
1116
|
+
}
|
|
1117
|
+
function pi(e, t) {
|
|
1118
|
+
return Cn(t, e) ? di(e) : fi(t);
|
|
1119
|
+
}
|
|
1120
|
+
function mi(e, t) {
|
|
1121
|
+
return ui(e, pi(e, t));
|
|
1122
|
+
}
|
|
1123
|
+
function hi(e, t) {
|
|
1124
|
+
return t.map((t) => V(e, t));
|
|
1125
|
+
}
|
|
1126
|
+
function gi(e, t) {
|
|
1127
|
+
let n = {};
|
|
1128
|
+
for (let r of globalThis.Object.getOwnPropertyNames(t)) n[r] = V(e, t[r]);
|
|
1129
|
+
return n;
|
|
1130
|
+
}
|
|
1131
|
+
function V(e, t) {
|
|
1132
|
+
let n = { ...t };
|
|
1133
|
+
return Le(t) ? Si(V(e, F(t, [Pe]))) : Ie(t) ? ai(V(e, F(t, [Ne]))) : C(t) ? ui(e, t.properties) : Qe(t) ? mi(e, t.keys) : Ge(t) ? Pn(hi(e, t.parameters), V(e, t.returns), n) : qe(t) ? Fn(hi(e, t.parameters), V(e, t.returns), n) : Ve(t) ? Mn(V(e, t.items), n) : Ye(t) ? Qr(V(e, t.items), n) : x(t) ? Mi(hi(e, t.allOf), n) : T(t) ? R(hi(e, t.anyOf), n) : ft(t) ? li(hi(e, t.items ?? []), n) : rt(t) ? B(gi(e, t.properties), n) : Be(t) ? An(V(e, t.items), n) : it(t) ? ti(V(e, t.item), n) : t;
|
|
1134
|
+
}
|
|
1135
|
+
function _i(e, t) {
|
|
1136
|
+
let n = {};
|
|
1137
|
+
for (let r of e) n[r] = V(r, t);
|
|
1138
|
+
return n;
|
|
1139
|
+
}
|
|
1140
|
+
function vi(e, t, n) {
|
|
1141
|
+
let r = yt(e) ? Mr(e) : e;
|
|
1142
|
+
return B(_i(r, t({
|
|
1143
|
+
[b]: "MappedKey",
|
|
1144
|
+
keys: r
|
|
1145
|
+
})), n);
|
|
1146
|
+
}
|
|
1147
|
+
//#endregion
|
|
1148
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs
|
|
1149
|
+
function yi(e) {
|
|
1150
|
+
return v(F(e, [Pe]));
|
|
1151
|
+
}
|
|
1152
|
+
function bi(e) {
|
|
1153
|
+
return v({
|
|
1154
|
+
...e,
|
|
1155
|
+
[Pe]: "Optional"
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
1158
|
+
function xi(e, t) {
|
|
1159
|
+
return t === !1 ? yi(e) : bi(e);
|
|
1160
|
+
}
|
|
1161
|
+
function Si(e, t) {
|
|
1162
|
+
let n = t ?? !0;
|
|
1163
|
+
return C(e) ? Ti(e, n) : xi(e, n);
|
|
1164
|
+
}
|
|
1165
|
+
//#endregion
|
|
1166
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs
|
|
1167
|
+
function Ci(e, t) {
|
|
1168
|
+
let n = {};
|
|
1169
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = Si(e[r], t);
|
|
1170
|
+
return n;
|
|
1171
|
+
}
|
|
1172
|
+
function wi(e, t) {
|
|
1173
|
+
return Ci(e.properties, t);
|
|
1174
|
+
}
|
|
1175
|
+
function Ti(e, t) {
|
|
1176
|
+
return L(wi(e, t));
|
|
1177
|
+
}
|
|
1178
|
+
//#endregion
|
|
1179
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs
|
|
1180
|
+
function Ei(e, t = {}) {
|
|
1181
|
+
let n = e.every((e) => rt(e)), r = yt(t.unevaluatedProperties) ? { unevaluatedProperties: t.unevaluatedProperties } : {};
|
|
1182
|
+
return v(t.unevaluatedProperties === !1 || yt(t.unevaluatedProperties) || n ? {
|
|
1183
|
+
...r,
|
|
1184
|
+
[b]: "Intersect",
|
|
1185
|
+
type: "object",
|
|
1186
|
+
allOf: e
|
|
1187
|
+
} : {
|
|
1188
|
+
...r,
|
|
1189
|
+
[b]: "Intersect",
|
|
1190
|
+
allOf: e
|
|
1191
|
+
}, t);
|
|
1192
|
+
}
|
|
1193
|
+
//#endregion
|
|
1194
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs
|
|
1195
|
+
function Di(e) {
|
|
1196
|
+
return e.every((e) => Le(e));
|
|
1197
|
+
}
|
|
1198
|
+
function Oi(e) {
|
|
1199
|
+
return F(e, [Pe]);
|
|
1200
|
+
}
|
|
1201
|
+
function ki(e) {
|
|
1202
|
+
return e.map((e) => Le(e) ? Oi(e) : e);
|
|
1203
|
+
}
|
|
1204
|
+
function Ai(e, t) {
|
|
1205
|
+
return Di(e) ? Si(Ei(ki(e), t)) : Ei(ki(e), t);
|
|
1206
|
+
}
|
|
1207
|
+
function ji(e, t = {}) {
|
|
1208
|
+
if (e.length === 1) return v(e[0], t);
|
|
1209
|
+
if (e.length === 0) return I(t);
|
|
1210
|
+
if (e.some((e) => dt(e))) throw Error("Cannot intersect transform types");
|
|
1211
|
+
return Ai(e, t);
|
|
1212
|
+
}
|
|
1213
|
+
//#endregion
|
|
1214
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs
|
|
1215
|
+
function Mi(e, t) {
|
|
1216
|
+
if (e.length === 1) return v(e[0], t);
|
|
1217
|
+
if (e.length === 0) return I(t);
|
|
1218
|
+
if (e.some((e) => dt(e))) throw Error("Cannot intersect transform types");
|
|
1219
|
+
return Ei(e, t);
|
|
1220
|
+
}
|
|
1221
|
+
//#endregion
|
|
1222
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs
|
|
1223
|
+
function Ni(...e) {
|
|
1224
|
+
let [t, n] = typeof e[0] == "string" ? [e[0], e[1]] : [e[0].$id, e[1]];
|
|
1225
|
+
if (typeof t != "string") throw new Me("Ref: $ref must be a string");
|
|
1226
|
+
return v({
|
|
1227
|
+
[b]: "Ref",
|
|
1228
|
+
$ref: t
|
|
1229
|
+
}, n);
|
|
1230
|
+
}
|
|
1231
|
+
//#endregion
|
|
1232
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs
|
|
1233
|
+
function Pi(e, t) {
|
|
1234
|
+
return P("Awaited", [P(e, t)]);
|
|
1235
|
+
}
|
|
1236
|
+
function Fi(e) {
|
|
1237
|
+
return P("Awaited", [Ni(e)]);
|
|
1238
|
+
}
|
|
1239
|
+
function Ii(e) {
|
|
1240
|
+
return Mi(zi(e));
|
|
1241
|
+
}
|
|
1242
|
+
function Li(e) {
|
|
1243
|
+
return R(zi(e));
|
|
1244
|
+
}
|
|
1245
|
+
function Ri(e) {
|
|
1246
|
+
return Bi(e);
|
|
1247
|
+
}
|
|
1248
|
+
function zi(e) {
|
|
1249
|
+
return e.map((e) => Bi(e));
|
|
1250
|
+
}
|
|
1251
|
+
function Bi(e, t) {
|
|
1252
|
+
return v(We(e) ? Pi(e.target, e.parameters) : x(e) ? Ii(e.allOf) : T(e) ? Li(e.anyOf) : it(e) ? Ri(e.item) : w(e) ? Fi(e.$ref) : e, t);
|
|
1253
|
+
}
|
|
1254
|
+
//#endregion
|
|
1255
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs
|
|
1256
|
+
function Vi(e) {
|
|
1257
|
+
let t = [];
|
|
1258
|
+
for (let n of e) t.push(Ji(n));
|
|
1259
|
+
return t;
|
|
1260
|
+
}
|
|
1261
|
+
function Hi(e) {
|
|
1262
|
+
return On(Vi(e));
|
|
1263
|
+
}
|
|
1264
|
+
function Ui(e) {
|
|
1265
|
+
return Dn(Vi(e));
|
|
1266
|
+
}
|
|
1267
|
+
function Wi(e) {
|
|
1268
|
+
return e.map((e, t) => t.toString());
|
|
1269
|
+
}
|
|
1270
|
+
function Gi(e) {
|
|
1271
|
+
return ["[number]"];
|
|
1272
|
+
}
|
|
1273
|
+
function Ki(e) {
|
|
1274
|
+
return globalThis.Object.getOwnPropertyNames(e);
|
|
1275
|
+
}
|
|
1276
|
+
function qi(e) {
|
|
1277
|
+
return Yi ? globalThis.Object.getOwnPropertyNames(e).map((e) => e[0] === "^" && e[e.length - 1] === "$" ? e.slice(1, e.length - 1) : e) : [];
|
|
1278
|
+
}
|
|
1279
|
+
function Ji(e) {
|
|
1280
|
+
return x(e) ? Hi(e.allOf) : T(e) ? Ui(e.anyOf) : ft(e) ? Wi(e.items ?? []) : Be(e) ? Gi(e.items) : rt(e) ? Ki(e.properties) : at(e) ? qi(e.patternProperties) : [];
|
|
1281
|
+
}
|
|
1282
|
+
var Yi = !1;
|
|
1283
|
+
//#endregion
|
|
1284
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs
|
|
1285
|
+
function Xi(e, t) {
|
|
1286
|
+
return P("KeyOf", [P(e, t)]);
|
|
1287
|
+
}
|
|
1288
|
+
function Zi(e) {
|
|
1289
|
+
return P("KeyOf", [Ni(e)]);
|
|
1290
|
+
}
|
|
1291
|
+
function Qi(e, t) {
|
|
1292
|
+
return v(Vn($i(Ji(e))), t);
|
|
1293
|
+
}
|
|
1294
|
+
function $i(e) {
|
|
1295
|
+
return e.map((e) => e === "[number]" ? _r() : z(e));
|
|
1296
|
+
}
|
|
1297
|
+
function ea(e, t) {
|
|
1298
|
+
return We(e) ? Xi(e.target, e.parameters) : w(e) ? Zi(e.$ref) : C(e) ? ra(e, t) : Qi(e, t);
|
|
1299
|
+
}
|
|
1300
|
+
//#endregion
|
|
1301
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs
|
|
1302
|
+
function ta(e, t) {
|
|
1303
|
+
let n = {};
|
|
1304
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = ea(e[r], _(t));
|
|
1305
|
+
return n;
|
|
1306
|
+
}
|
|
1307
|
+
function na(e, t) {
|
|
1308
|
+
return ta(e.properties, t);
|
|
1309
|
+
}
|
|
1310
|
+
function ra(e, t) {
|
|
1311
|
+
return L(na(e, t));
|
|
1312
|
+
}
|
|
1313
|
+
//#endregion
|
|
1314
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs
|
|
1315
|
+
function ia(e) {
|
|
1316
|
+
let t = [];
|
|
1317
|
+
for (let n of e) t.push(...Ji(n));
|
|
1318
|
+
return wn(t);
|
|
1319
|
+
}
|
|
1320
|
+
function aa(e) {
|
|
1321
|
+
return e.filter((e) => !$e(e));
|
|
1322
|
+
}
|
|
1323
|
+
function oa(e, t) {
|
|
1324
|
+
let n = [];
|
|
1325
|
+
for (let r of e) n.push(...Gr(r, [t]));
|
|
1326
|
+
return aa(n);
|
|
1327
|
+
}
|
|
1328
|
+
function sa(e, t) {
|
|
1329
|
+
let n = {};
|
|
1330
|
+
for (let r of t) n[r] = ji(oa(e, r));
|
|
1331
|
+
return n;
|
|
1332
|
+
}
|
|
1333
|
+
function ca(e, t) {
|
|
1334
|
+
return B(sa(e, ia(e)), t);
|
|
1335
|
+
}
|
|
1336
|
+
//#endregion
|
|
1337
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs
|
|
1338
|
+
function la(e) {
|
|
1339
|
+
return v({
|
|
1340
|
+
[b]: "Date",
|
|
1341
|
+
type: "Date"
|
|
1342
|
+
}, e);
|
|
1343
|
+
}
|
|
1344
|
+
//#endregion
|
|
1345
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs
|
|
1346
|
+
function ua(e) {
|
|
1347
|
+
return v({
|
|
1348
|
+
[b]: "Null",
|
|
1349
|
+
type: "null"
|
|
1350
|
+
}, e);
|
|
1351
|
+
}
|
|
1352
|
+
//#endregion
|
|
1353
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs
|
|
1354
|
+
function da(e) {
|
|
1355
|
+
return v({
|
|
1356
|
+
[b]: "Symbol",
|
|
1357
|
+
type: "symbol"
|
|
1358
|
+
}, e);
|
|
1359
|
+
}
|
|
1360
|
+
//#endregion
|
|
1361
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs
|
|
1362
|
+
function fa(e) {
|
|
1363
|
+
return v({
|
|
1364
|
+
[b]: "Undefined",
|
|
1365
|
+
type: "undefined"
|
|
1366
|
+
}, e);
|
|
1367
|
+
}
|
|
1368
|
+
//#endregion
|
|
1369
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs
|
|
1370
|
+
function pa(e) {
|
|
1371
|
+
return v({
|
|
1372
|
+
[b]: "Uint8Array",
|
|
1373
|
+
type: "Uint8Array"
|
|
1374
|
+
}, e);
|
|
1375
|
+
}
|
|
1376
|
+
//#endregion
|
|
1377
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs
|
|
1378
|
+
function ma(e) {
|
|
1379
|
+
return v({ [b]: "Unknown" }, e);
|
|
1380
|
+
}
|
|
1381
|
+
//#endregion
|
|
1382
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs
|
|
1383
|
+
function ha(e) {
|
|
1384
|
+
return e.map((e) => va(e, !1));
|
|
1385
|
+
}
|
|
1386
|
+
function ga(e) {
|
|
1387
|
+
let t = {};
|
|
1388
|
+
for (let n of globalThis.Object.getOwnPropertyNames(e)) t[n] = ai(va(e[n], !1));
|
|
1389
|
+
return t;
|
|
1390
|
+
}
|
|
1391
|
+
function _a(e, t) {
|
|
1392
|
+
return t === !0 ? e : ai(e);
|
|
1393
|
+
}
|
|
1394
|
+
function va(e, t) {
|
|
1395
|
+
return re(e) || ce(e) ? _a(kn(), t) : p(e) ? ai(li(ha(e))) : pe(e) ? pa() : oe(e) ? la() : m(e) ? _a(B(ga(e)), t) : se(e) ? _a(Fn([], ma()), t) : g(e) ? fa() : le(e) ? ua() : fe(e) ? da() : ie(e) ? gr() : ue(e) || ae(e) || h(e) ? z(e) : B({});
|
|
1396
|
+
}
|
|
1397
|
+
function ya(e, t) {
|
|
1398
|
+
return v(va(e, !0), t);
|
|
1399
|
+
}
|
|
1400
|
+
//#endregion
|
|
1401
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs
|
|
1402
|
+
function ba(e, t) {
|
|
1403
|
+
return Ge(e) ? li(e.parameters, t) : I(t);
|
|
1404
|
+
}
|
|
1405
|
+
//#endregion
|
|
1406
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs
|
|
1407
|
+
function xa(e, t) {
|
|
1408
|
+
if (g(e)) throw Error("Enum undefined or empty");
|
|
1409
|
+
let n = globalThis.Object.getOwnPropertyNames(e).filter((e) => isNaN(e)).map((t) => e[t]);
|
|
1410
|
+
return R([...new Set(n)].map((e) => z(e)), {
|
|
1411
|
+
...t,
|
|
1412
|
+
[Fe]: "Enum"
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
//#endregion
|
|
1416
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs
|
|
1417
|
+
var Sa = class extends Me {}, H;
|
|
1418
|
+
(function(e) {
|
|
1419
|
+
e[e.Union = 0] = "Union", e[e.True = 1] = "True", e[e.False = 2] = "False";
|
|
1420
|
+
})(H ||= {});
|
|
1421
|
+
function U(e) {
|
|
1422
|
+
return e === H.False ? e : H.True;
|
|
1423
|
+
}
|
|
1424
|
+
function Ca(e) {
|
|
1425
|
+
throw new Sa(e);
|
|
1426
|
+
}
|
|
1427
|
+
function W(e) {
|
|
1428
|
+
return Zt(e) || Ht(e) || un(e) || fn(e) || At(e);
|
|
1429
|
+
}
|
|
1430
|
+
function G(e, t) {
|
|
1431
|
+
return Zt(t) ? Va(e, t) : Ht(t) ? La(e, t) : un(t) ? So(e, t) : fn(t) ? wo(e, t) : At(t) ? wa(e, t) : Ca("StructuralRight");
|
|
1432
|
+
}
|
|
1433
|
+
function wa(e, t) {
|
|
1434
|
+
return H.True;
|
|
1435
|
+
}
|
|
1436
|
+
function Ta(e, t) {
|
|
1437
|
+
return Ht(t) ? La(e, t) : un(t) && t.anyOf.some((e) => At(e) || fn(e)) ? H.True : un(t) ? H.Union : fn(t) || At(t) ? H.True : H.Union;
|
|
1438
|
+
}
|
|
1439
|
+
function Ea(e, t) {
|
|
1440
|
+
return fn(e) ? H.False : At(e) ? H.Union : Zt(e) ? H.True : H.False;
|
|
1441
|
+
}
|
|
1442
|
+
function Da(e, t) {
|
|
1443
|
+
return A(t) && ro(t) ? H.True : W(t) ? G(e, t) : Mt(t) ? U(Y(e.items, t.items)) : H.False;
|
|
1444
|
+
}
|
|
1445
|
+
function Oa(e, t) {
|
|
1446
|
+
return W(t) ? G(e, t) : Nt(t) ? U(Y(e.items, t.items)) : H.False;
|
|
1447
|
+
}
|
|
1448
|
+
function ka(e, t) {
|
|
1449
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : Pt(t) ? H.True : H.False;
|
|
1450
|
+
}
|
|
1451
|
+
function Aa(e, t) {
|
|
1452
|
+
return Kt(e) || Ft(e) ? H.True : H.False;
|
|
1453
|
+
}
|
|
1454
|
+
function ja(e, t) {
|
|
1455
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : Ft(t) ? H.True : H.False;
|
|
1456
|
+
}
|
|
1457
|
+
function Ma(e, t) {
|
|
1458
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : Lt(t) ? e.parameters.length > t.parameters.length ? H.False : e.parameters.every((e, n) => U(Y(t.parameters[n], e)) === H.True) ? U(Y(e.returns, t.returns)) : H.False : H.False;
|
|
1459
|
+
}
|
|
1460
|
+
function Na(e, t) {
|
|
1461
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : Rt(t) ? H.True : H.False;
|
|
1462
|
+
}
|
|
1463
|
+
function Pa(e, t) {
|
|
1464
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : zt(t) ? e.parameters.length > t.parameters.length ? H.False : e.parameters.every((e, n) => U(Y(t.parameters[n], e)) === H.True) ? U(Y(e.returns, t.returns)) : H.False : H.False;
|
|
1465
|
+
}
|
|
1466
|
+
function Fa(e, t) {
|
|
1467
|
+
return qt(e) && ue(e.const) || k(e) || Bt(e) ? H.True : H.False;
|
|
1468
|
+
}
|
|
1469
|
+
function Ia(e, t) {
|
|
1470
|
+
return Bt(t) || k(t) ? H.True : W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : H.False;
|
|
1471
|
+
}
|
|
1472
|
+
function La(e, t) {
|
|
1473
|
+
return t.allOf.every((t) => Y(e, t) === H.True) ? H.True : H.False;
|
|
1474
|
+
}
|
|
1475
|
+
function Ra(e, t) {
|
|
1476
|
+
return e.allOf.some((e) => Y(e, t) === H.True) ? H.True : H.False;
|
|
1477
|
+
}
|
|
1478
|
+
function za(e, t) {
|
|
1479
|
+
return W(t) ? G(e, t) : Ut(t) ? U(Y(e.items, t.items)) : H.False;
|
|
1480
|
+
}
|
|
1481
|
+
function Ba(e, t) {
|
|
1482
|
+
return qt(t) && t.const === e.const ? H.True : W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : M(t) ? po(e, t) : k(t) ? Ka(e, t) : Bt(t) ? Fa(e, t) : Ft(t) ? Aa(e, t) : H.False;
|
|
1483
|
+
}
|
|
1484
|
+
function Va(e, t) {
|
|
1485
|
+
return H.False;
|
|
1486
|
+
}
|
|
1487
|
+
function Ha(e, t) {
|
|
1488
|
+
return H.True;
|
|
1489
|
+
}
|
|
1490
|
+
function Ua(e) {
|
|
1491
|
+
let [t, n] = [e, 0];
|
|
1492
|
+
for (; Qt(t);) t = t.not, n += 1;
|
|
1493
|
+
return n % 2 == 0 ? t : ma();
|
|
1494
|
+
}
|
|
1495
|
+
function Wa(e, t) {
|
|
1496
|
+
return Qt(e) ? Y(Ua(e), t) : Qt(t) ? Y(e, Ua(t)) : Ca("Invalid fallthrough for Not");
|
|
1497
|
+
}
|
|
1498
|
+
function Ga(e, t) {
|
|
1499
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : $t(t) ? H.True : H.False;
|
|
1500
|
+
}
|
|
1501
|
+
function Ka(e, t) {
|
|
1502
|
+
return Gt(e) || k(e) || Bt(e) ? H.True : H.False;
|
|
1503
|
+
}
|
|
1504
|
+
function qa(e, t) {
|
|
1505
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : Bt(t) || k(t) ? H.True : H.False;
|
|
1506
|
+
}
|
|
1507
|
+
function K(e, t) {
|
|
1508
|
+
return Object.getOwnPropertyNames(e.properties).length === t;
|
|
1509
|
+
}
|
|
1510
|
+
function Ja(e) {
|
|
1511
|
+
return ro(e);
|
|
1512
|
+
}
|
|
1513
|
+
function Ya(e) {
|
|
1514
|
+
return K(e, 0) || K(e, 1) && "description" in e.properties && un(e.properties.description) && e.properties.description.anyOf.length === 2 && (M(e.properties.description.anyOf[0]) && ln(e.properties.description.anyOf[1]) || M(e.properties.description.anyOf[1]) && ln(e.properties.description.anyOf[0]));
|
|
1515
|
+
}
|
|
1516
|
+
function Xa(e) {
|
|
1517
|
+
return K(e, 0);
|
|
1518
|
+
}
|
|
1519
|
+
function Za(e) {
|
|
1520
|
+
return K(e, 0);
|
|
1521
|
+
}
|
|
1522
|
+
function Qa(e) {
|
|
1523
|
+
return K(e, 0);
|
|
1524
|
+
}
|
|
1525
|
+
function $a(e) {
|
|
1526
|
+
return K(e, 0);
|
|
1527
|
+
}
|
|
1528
|
+
function eo(e) {
|
|
1529
|
+
return ro(e);
|
|
1530
|
+
}
|
|
1531
|
+
function to(e) {
|
|
1532
|
+
let t = _r();
|
|
1533
|
+
return K(e, 0) || K(e, 1) && "length" in e.properties && U(Y(e.properties.length, t)) === H.True;
|
|
1534
|
+
}
|
|
1535
|
+
function no(e) {
|
|
1536
|
+
return K(e, 0);
|
|
1537
|
+
}
|
|
1538
|
+
function ro(e) {
|
|
1539
|
+
let t = _r();
|
|
1540
|
+
return K(e, 0) || K(e, 1) && "length" in e.properties && U(Y(e.properties.length, t)) === H.True;
|
|
1541
|
+
}
|
|
1542
|
+
function io(e) {
|
|
1543
|
+
let t = Fn([kn()], kn());
|
|
1544
|
+
return K(e, 0) || K(e, 1) && "then" in e.properties && U(Y(e.properties.then, t)) === H.True;
|
|
1545
|
+
}
|
|
1546
|
+
function ao(e, t) {
|
|
1547
|
+
return Y(e, t) === H.False || kt(e) && !kt(t) ? H.False : H.True;
|
|
1548
|
+
}
|
|
1549
|
+
function q(e, t) {
|
|
1550
|
+
return fn(e) ? H.False : At(e) ? H.Union : Zt(e) || Wt(e) && Ja(t) || Gt(e) && Xa(t) || Kt(e) && Za(t) || rn(e) && Ya(t) || Pt(e) && Qa(t) || M(e) && Ja(t) || rn(e) && Ya(t) || k(e) && Xa(t) || Bt(e) && Xa(t) || Ft(e) && Za(t) || dn(e) && eo(t) || Rt(e) && $a(t) || Lt(e) && no(t) || zt(e) && to(t) ? H.True : j(e) && M(co(e)) ? t[Fe] === "Record" ? H.True : H.False : j(e) && k(co(e)) && K(t, 0) ? H.True : H.False;
|
|
1551
|
+
}
|
|
1552
|
+
function oo(e, t) {
|
|
1553
|
+
return W(t) ? G(e, t) : j(t) ? J(e, t) : A(t) ? (() => {
|
|
1554
|
+
for (let n of Object.getOwnPropertyNames(t.properties)) {
|
|
1555
|
+
if (!(n in e.properties) && !kt(t.properties[n])) return H.False;
|
|
1556
|
+
if (kt(t.properties[n])) return H.True;
|
|
1557
|
+
if (ao(e.properties[n], t.properties[n]) === H.False) return H.False;
|
|
1558
|
+
}
|
|
1559
|
+
return H.True;
|
|
1560
|
+
})() : H.False;
|
|
1561
|
+
}
|
|
1562
|
+
function so(e, t) {
|
|
1563
|
+
return W(t) ? G(e, t) : A(t) && io(t) ? H.True : en(t) ? U(Y(e.item, t.item)) : H.False;
|
|
1564
|
+
}
|
|
1565
|
+
function co(e) {
|
|
1566
|
+
return bn in e.patternProperties ? _r() : xn in e.patternProperties ? vr() : Ca("Unknown record key pattern");
|
|
1567
|
+
}
|
|
1568
|
+
function lo(e) {
|
|
1569
|
+
return bn in e.patternProperties ? e.patternProperties[bn] : xn in e.patternProperties ? e.patternProperties[xn] : Ca("Unable to get record value schema");
|
|
1570
|
+
}
|
|
1571
|
+
function J(e, t) {
|
|
1572
|
+
let [n, r] = [co(t), lo(t)];
|
|
1573
|
+
return Wt(e) && k(n) && U(Y(e, r)) === H.True ? H.True : dn(e) && k(n) || M(e) && k(n) || Mt(e) && k(n) ? Y(e, r) : A(e) ? (() => {
|
|
1574
|
+
for (let t of Object.getOwnPropertyNames(e.properties)) if (ao(r, e.properties[t]) === H.False) return H.False;
|
|
1575
|
+
return H.True;
|
|
1576
|
+
})() : H.False;
|
|
1577
|
+
}
|
|
1578
|
+
function uo(e, t) {
|
|
1579
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? Y(lo(e), lo(t)) : H.False;
|
|
1580
|
+
}
|
|
1581
|
+
function fo(e, t) {
|
|
1582
|
+
return Y(nn(e) ? vr() : e, nn(t) ? vr() : t);
|
|
1583
|
+
}
|
|
1584
|
+
function po(e, t) {
|
|
1585
|
+
return qt(e) && h(e.const) || M(e) ? H.True : H.False;
|
|
1586
|
+
}
|
|
1587
|
+
function mo(e, t) {
|
|
1588
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : M(t) ? H.True : H.False;
|
|
1589
|
+
}
|
|
1590
|
+
function ho(e, t) {
|
|
1591
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : rn(t) ? H.True : H.False;
|
|
1592
|
+
}
|
|
1593
|
+
function go(e, t) {
|
|
1594
|
+
return an(e) ? Y(Dr(e), t) : an(t) ? Y(e, Dr(t)) : Ca("Invalid fallthrough for TemplateLiteral");
|
|
1595
|
+
}
|
|
1596
|
+
function _o(e, t) {
|
|
1597
|
+
return Mt(t) && e.items !== void 0 && e.items.every((e) => Y(e, t.items) === H.True);
|
|
1598
|
+
}
|
|
1599
|
+
function vo(e, t) {
|
|
1600
|
+
return Zt(e) ? H.True : fn(e) ? H.False : At(e) ? H.Union : H.False;
|
|
1601
|
+
}
|
|
1602
|
+
function yo(e, t) {
|
|
1603
|
+
return W(t) ? G(e, t) : A(t) && ro(t) || Mt(t) && _o(e, t) ? H.True : cn(t) ? g(e.items) && !g(t.items) || !g(e.items) && g(t.items) ? H.False : g(e.items) && !g(t.items) || e.items.every((e, n) => Y(e, t.items[n]) === H.True) ? H.True : H.False : H.False;
|
|
1604
|
+
}
|
|
1605
|
+
function bo(e, t) {
|
|
1606
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : dn(t) ? H.True : H.False;
|
|
1607
|
+
}
|
|
1608
|
+
function xo(e, t) {
|
|
1609
|
+
return W(t) ? G(e, t) : A(t) ? q(e, t) : j(t) ? J(e, t) : mn(t) ? Eo(e, t) : ln(t) ? H.True : H.False;
|
|
1610
|
+
}
|
|
1611
|
+
function So(e, t) {
|
|
1612
|
+
return t.anyOf.some((t) => Y(e, t) === H.True) ? H.True : H.False;
|
|
1613
|
+
}
|
|
1614
|
+
function Co(e, t) {
|
|
1615
|
+
return e.anyOf.every((e) => Y(e, t) === H.True) ? H.True : H.False;
|
|
1616
|
+
}
|
|
1617
|
+
function wo(e, t) {
|
|
1618
|
+
return H.True;
|
|
1619
|
+
}
|
|
1620
|
+
function To(e, t) {
|
|
1621
|
+
return Zt(t) ? Va(e, t) : Ht(t) ? La(e, t) : un(t) ? So(e, t) : At(t) ? wa(e, t) : M(t) ? po(e, t) : k(t) ? Ka(e, t) : Bt(t) ? Fa(e, t) : Ft(t) ? Aa(e, t) : Mt(t) ? Ea(e, t) : cn(t) ? vo(e, t) : A(t) ? q(e, t) : fn(t) ? H.True : H.False;
|
|
1622
|
+
}
|
|
1623
|
+
function Eo(e, t) {
|
|
1624
|
+
return ln(e) || ln(e) ? H.True : H.False;
|
|
1625
|
+
}
|
|
1626
|
+
function Do(e, t) {
|
|
1627
|
+
return Ht(t) ? La(e, t) : un(t) ? So(e, t) : fn(t) ? wo(e, t) : At(t) ? wa(e, t) : A(t) ? q(e, t) : mn(t) ? H.True : H.False;
|
|
1628
|
+
}
|
|
1629
|
+
function Y(e, t) {
|
|
1630
|
+
return an(e) || an(t) ? go(e, t) : nn(e) || nn(t) ? fo(e, t) : Qt(e) || Qt(t) ? Wa(e, t) : At(e) ? Ta(e, t) : Mt(e) ? Da(e, t) : Pt(e) ? ka(e, t) : Ft(e) ? ja(e, t) : Nt(e) ? Oa(e, t) : Lt(e) ? Ma(e, t) : Rt(e) ? Na(e, t) : zt(e) ? Pa(e, t) : Bt(e) ? Ia(e, t) : Ht(e) ? Ra(e, t) : Ut(e) ? za(e, t) : qt(e) ? Ba(e, t) : Zt(e) ? Ha(e, t) : $t(e) ? Ga(e, t) : k(e) ? qa(e, t) : A(e) ? oo(e, t) : j(e) ? uo(e, t) : M(e) ? mo(e, t) : rn(e) ? ho(e, t) : cn(e) ? yo(e, t) : en(e) ? so(e, t) : dn(e) ? bo(e, t) : ln(e) ? xo(e, t) : un(e) ? Co(e, t) : fn(e) ? To(e, t) : mn(e) ? Do(e, t) : Ca(`Unknown left type operand '${e[b]}'`);
|
|
1631
|
+
}
|
|
1632
|
+
function Oo(e, t) {
|
|
1633
|
+
return Y(e, t);
|
|
1634
|
+
}
|
|
1635
|
+
//#endregion
|
|
1636
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs
|
|
1637
|
+
function ko(e, t, n, r, i) {
|
|
1638
|
+
let a = {};
|
|
1639
|
+
for (let o of globalThis.Object.getOwnPropertyNames(e)) a[o] = No(e[o], t, n, r, _(i));
|
|
1640
|
+
return a;
|
|
1641
|
+
}
|
|
1642
|
+
function Ao(e, t, n, r, i) {
|
|
1643
|
+
return ko(e.properties, t, n, r, i);
|
|
1644
|
+
}
|
|
1645
|
+
function jo(e, t, n, r, i) {
|
|
1646
|
+
return L(Ao(e, t, n, r, i));
|
|
1647
|
+
}
|
|
1648
|
+
//#endregion
|
|
1649
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs
|
|
1650
|
+
function Mo(e, t, n, r) {
|
|
1651
|
+
let i = Oo(e, t);
|
|
1652
|
+
return i === H.Union ? R([n, r]) : i === H.True ? n : r;
|
|
1653
|
+
}
|
|
1654
|
+
function No(e, t, n, r, i) {
|
|
1655
|
+
return C(e) ? jo(e, t, n, r, i) : Qe(e) ? v(Lo(e, t, n, r, i)) : v(Mo(e, t, n, r), i);
|
|
1656
|
+
}
|
|
1657
|
+
//#endregion
|
|
1658
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs
|
|
1659
|
+
function Po(e, t, n, r, i) {
|
|
1660
|
+
return { [e]: No(z(e), t, n, r, _(i)) };
|
|
1661
|
+
}
|
|
1662
|
+
function Fo(e, t, n, r, i) {
|
|
1663
|
+
return e.reduce((e, a) => ({
|
|
1664
|
+
...e,
|
|
1665
|
+
...Po(a, t, n, r, i)
|
|
1666
|
+
}), {});
|
|
1667
|
+
}
|
|
1668
|
+
function Io(e, t, n, r, i) {
|
|
1669
|
+
return Fo(e.keys, t, n, r, i);
|
|
1670
|
+
}
|
|
1671
|
+
function Lo(e, t, n, r, i) {
|
|
1672
|
+
return L(Io(e, t, n, r, i));
|
|
1673
|
+
}
|
|
1674
|
+
//#endregion
|
|
1675
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs
|
|
1676
|
+
function Ro(e, t) {
|
|
1677
|
+
return Bo(Dr(e), t);
|
|
1678
|
+
}
|
|
1679
|
+
//#endregion
|
|
1680
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs
|
|
1681
|
+
function zo(e, t) {
|
|
1682
|
+
let n = e.filter((e) => Oo(e, t) === H.False);
|
|
1683
|
+
return n.length === 1 ? n[0] : R(n);
|
|
1684
|
+
}
|
|
1685
|
+
function Bo(e, t, n = {}) {
|
|
1686
|
+
return lt(e) ? v(Ro(e, t), n) : C(e) ? v(Uo(e, t), n) : v(T(e) ? zo(e.anyOf, t) : Oo(e, t) === H.False ? e : I(), n);
|
|
1687
|
+
}
|
|
1688
|
+
//#endregion
|
|
1689
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs
|
|
1690
|
+
function Vo(e, t) {
|
|
1691
|
+
let n = {};
|
|
1692
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = Bo(e[r], t);
|
|
1693
|
+
return n;
|
|
1694
|
+
}
|
|
1695
|
+
function Ho(e, t) {
|
|
1696
|
+
return Vo(e.properties, t);
|
|
1697
|
+
}
|
|
1698
|
+
function Uo(e, t) {
|
|
1699
|
+
return L(Ho(e, t));
|
|
1700
|
+
}
|
|
1701
|
+
//#endregion
|
|
1702
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs
|
|
1703
|
+
function Wo(e, t) {
|
|
1704
|
+
return Ko(Dr(e), t);
|
|
1705
|
+
}
|
|
1706
|
+
//#endregion
|
|
1707
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs
|
|
1708
|
+
function Go(e, t) {
|
|
1709
|
+
let n = e.filter((e) => Oo(e, t) !== H.False);
|
|
1710
|
+
return n.length === 1 ? n[0] : R(n);
|
|
1711
|
+
}
|
|
1712
|
+
function Ko(e, t, n) {
|
|
1713
|
+
return lt(e) ? v(Wo(e, t), n) : C(e) ? v(Yo(e, t), n) : v(T(e) ? Go(e.anyOf, t) : Oo(e, t) === H.False ? I() : e, n);
|
|
1714
|
+
}
|
|
1715
|
+
//#endregion
|
|
1716
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs
|
|
1717
|
+
function qo(e, t) {
|
|
1718
|
+
let n = {};
|
|
1719
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = Ko(e[r], t);
|
|
1720
|
+
return n;
|
|
1721
|
+
}
|
|
1722
|
+
function Jo(e, t) {
|
|
1723
|
+
return qo(e.properties, t);
|
|
1724
|
+
}
|
|
1725
|
+
function Yo(e, t) {
|
|
1726
|
+
return L(Jo(e, t));
|
|
1727
|
+
}
|
|
1728
|
+
//#endregion
|
|
1729
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs
|
|
1730
|
+
function Xo(e, t) {
|
|
1731
|
+
return Ge(e) ? v(e.returns, t) : I(t);
|
|
1732
|
+
}
|
|
1733
|
+
//#endregion
|
|
1734
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs
|
|
1735
|
+
function Zo(e) {
|
|
1736
|
+
return ai(Si(e));
|
|
1737
|
+
}
|
|
1738
|
+
//#endregion
|
|
1739
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs
|
|
1740
|
+
function Qo(e, t, n) {
|
|
1741
|
+
return v({
|
|
1742
|
+
[b]: "Record",
|
|
1743
|
+
type: "object",
|
|
1744
|
+
patternProperties: { [e]: t }
|
|
1745
|
+
}, n);
|
|
1746
|
+
}
|
|
1747
|
+
function $o(e, t, n) {
|
|
1748
|
+
let r = {};
|
|
1749
|
+
for (let n of e) r[n] = t;
|
|
1750
|
+
return B(r, {
|
|
1751
|
+
...n,
|
|
1752
|
+
[Fe]: "Record"
|
|
1753
|
+
});
|
|
1754
|
+
}
|
|
1755
|
+
function es(e, t, n) {
|
|
1756
|
+
return sr(e) ? $o(Mr(e), t, n) : Qo(e.pattern, t, n);
|
|
1757
|
+
}
|
|
1758
|
+
function ts(e, t, n) {
|
|
1759
|
+
return $o(Mr(R(e)), t, n);
|
|
1760
|
+
}
|
|
1761
|
+
function ns(e, t, n) {
|
|
1762
|
+
return $o([e.toString()], t, n);
|
|
1763
|
+
}
|
|
1764
|
+
function rs(e, t, n) {
|
|
1765
|
+
return Qo(e.source, t, n);
|
|
1766
|
+
}
|
|
1767
|
+
function is(e, t, n) {
|
|
1768
|
+
return Qo(g(e.pattern) ? xn : e.pattern, t, n);
|
|
1769
|
+
}
|
|
1770
|
+
function as(e, t, n) {
|
|
1771
|
+
return Qo(xn, t, n);
|
|
1772
|
+
}
|
|
1773
|
+
function os(e, t, n) {
|
|
1774
|
+
return Qo(Sn, t, n);
|
|
1775
|
+
}
|
|
1776
|
+
function ss(e, t, n) {
|
|
1777
|
+
return B({
|
|
1778
|
+
true: t,
|
|
1779
|
+
false: t
|
|
1780
|
+
}, n);
|
|
1781
|
+
}
|
|
1782
|
+
function cs(e, t, n) {
|
|
1783
|
+
return Qo(bn, t, n);
|
|
1784
|
+
}
|
|
1785
|
+
function ls(e, t, n) {
|
|
1786
|
+
return Qo(bn, t, n);
|
|
1787
|
+
}
|
|
1788
|
+
function us(e, t, n = {}) {
|
|
1789
|
+
return T(e) ? ts(e.anyOf, t, n) : lt(e) ? es(e, t, n) : Ze(e) ? ns(e.const, t, n) : Ue(e) ? ss(e, t, n) : Je(e) ? cs(e, t, n) : nt(e) ? ls(e, t, n) : ot(e) ? rs(e, t, n) : st(e) ? is(e, t, n) : Re(e) ? as(e, t, n) : $e(e) ? os(e, t, n) : I(n);
|
|
1790
|
+
}
|
|
1791
|
+
function ds(e) {
|
|
1792
|
+
return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0];
|
|
1793
|
+
}
|
|
1794
|
+
function fs(e) {
|
|
1795
|
+
let t = ds(e);
|
|
1796
|
+
return t === xn ? vr() : t === bn ? _r() : vr({ pattern: t });
|
|
1797
|
+
}
|
|
1798
|
+
function ps(e) {
|
|
1799
|
+
return e.patternProperties[ds(e)];
|
|
1800
|
+
}
|
|
1801
|
+
//#endregion
|
|
1802
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs
|
|
1803
|
+
function ms(e, t) {
|
|
1804
|
+
return t.parameters = Os(e, t.parameters), t.returns = ks(e, t.returns), t;
|
|
1805
|
+
}
|
|
1806
|
+
function hs(e, t) {
|
|
1807
|
+
return t.parameters = Os(e, t.parameters), t.returns = ks(e, t.returns), t;
|
|
1808
|
+
}
|
|
1809
|
+
function gs(e, t) {
|
|
1810
|
+
return t.allOf = Os(e, t.allOf), t;
|
|
1811
|
+
}
|
|
1812
|
+
function _s(e, t) {
|
|
1813
|
+
return t.anyOf = Os(e, t.anyOf), t;
|
|
1814
|
+
}
|
|
1815
|
+
function vs(e, t) {
|
|
1816
|
+
return g(t.items) || (t.items = Os(e, t.items)), t;
|
|
1817
|
+
}
|
|
1818
|
+
function ys(e, t) {
|
|
1819
|
+
return t.items = ks(e, t.items), t;
|
|
1820
|
+
}
|
|
1821
|
+
function bs(e, t) {
|
|
1822
|
+
return t.items = ks(e, t.items), t;
|
|
1823
|
+
}
|
|
1824
|
+
function xs(e, t) {
|
|
1825
|
+
return t.items = ks(e, t.items), t;
|
|
1826
|
+
}
|
|
1827
|
+
function Ss(e, t) {
|
|
1828
|
+
return t.item = ks(e, t.item), t;
|
|
1829
|
+
}
|
|
1830
|
+
function Cs(e, t) {
|
|
1831
|
+
let n = Ds(e, t.properties);
|
|
1832
|
+
return {
|
|
1833
|
+
...t,
|
|
1834
|
+
...B(n)
|
|
1835
|
+
};
|
|
1836
|
+
}
|
|
1837
|
+
function ws(e, t) {
|
|
1838
|
+
let n = us(ks(e, fs(t)), ks(e, ps(t)));
|
|
1839
|
+
return {
|
|
1840
|
+
...t,
|
|
1841
|
+
...n
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
function Ts(e, t) {
|
|
1845
|
+
return t.index in e ? e[t.index] : ma();
|
|
1846
|
+
}
|
|
1847
|
+
function Es(e, t) {
|
|
1848
|
+
let n = Ie(t), r = Le(t), i = ks(e, t);
|
|
1849
|
+
return n && r ? Zo(i) : n && !r ? ai(i) : !n && r ? Si(i) : i;
|
|
1850
|
+
}
|
|
1851
|
+
function Ds(e, t) {
|
|
1852
|
+
return globalThis.Object.getOwnPropertyNames(t).reduce((n, r) => ({
|
|
1853
|
+
...n,
|
|
1854
|
+
[r]: Es(e, t[r])
|
|
1855
|
+
}), {});
|
|
1856
|
+
}
|
|
1857
|
+
function Os(e, t) {
|
|
1858
|
+
return t.map((t) => ks(e, t));
|
|
1859
|
+
}
|
|
1860
|
+
function ks(e, t) {
|
|
1861
|
+
return Ge(t) ? ms(e, t) : qe(t) ? hs(e, t) : x(t) ? gs(e, t) : T(t) ? _s(e, t) : ft(t) ? vs(e, t) : Be(t) ? ys(e, t) : Ve(t) ? bs(e, t) : Ye(t) ? xs(e, t) : it(t) ? Ss(e, t) : rt(t) ? Cs(e, t) : at(t) ? ws(e, t) : ze(t) ? Ts(e, t) : t;
|
|
1862
|
+
}
|
|
1863
|
+
function As(e, t) {
|
|
1864
|
+
return ks(t, be(e));
|
|
1865
|
+
}
|
|
1866
|
+
//#endregion
|
|
1867
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs
|
|
1868
|
+
function js(e) {
|
|
1869
|
+
return v({
|
|
1870
|
+
[b]: "Integer",
|
|
1871
|
+
type: "integer"
|
|
1872
|
+
}, e);
|
|
1873
|
+
}
|
|
1874
|
+
//#endregion
|
|
1875
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs
|
|
1876
|
+
function Ms(e, t, n) {
|
|
1877
|
+
return { [e]: Us(z(e), t, _(n)) };
|
|
1878
|
+
}
|
|
1879
|
+
function Ns(e, t, n) {
|
|
1880
|
+
return e.reduce((e, r) => ({
|
|
1881
|
+
...e,
|
|
1882
|
+
...Ms(r, t, n)
|
|
1883
|
+
}), {});
|
|
1884
|
+
}
|
|
1885
|
+
function Ps(e, t, n) {
|
|
1886
|
+
return Ns(e.keys, t, n);
|
|
1887
|
+
}
|
|
1888
|
+
function Fs(e, t, n) {
|
|
1889
|
+
return L(Ps(e, t, n));
|
|
1890
|
+
}
|
|
1891
|
+
//#endregion
|
|
1892
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs
|
|
1893
|
+
function Is(e) {
|
|
1894
|
+
let [t, n] = [e.slice(0, 1), e.slice(1)];
|
|
1895
|
+
return [t.toLowerCase(), n].join("");
|
|
1896
|
+
}
|
|
1897
|
+
function Ls(e) {
|
|
1898
|
+
let [t, n] = [e.slice(0, 1), e.slice(1)];
|
|
1899
|
+
return [t.toUpperCase(), n].join("");
|
|
1900
|
+
}
|
|
1901
|
+
function Rs(e) {
|
|
1902
|
+
return e.toUpperCase();
|
|
1903
|
+
}
|
|
1904
|
+
function zs(e) {
|
|
1905
|
+
return e.toLowerCase();
|
|
1906
|
+
}
|
|
1907
|
+
function Bs(e, t, n) {
|
|
1908
|
+
let r = tr(e.pattern);
|
|
1909
|
+
return or(r) ? Or([R(Hs([...pr(r)].map((e) => z(e)), t))], n) : {
|
|
1910
|
+
...e,
|
|
1911
|
+
pattern: Vs(e.pattern, t)
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
function Vs(e, t) {
|
|
1915
|
+
return typeof e == "string" ? t === "Uncapitalize" ? Is(e) : t === "Capitalize" ? Ls(e) : t === "Uppercase" ? Rs(e) : t === "Lowercase" ? zs(e) : e : e.toString();
|
|
1916
|
+
}
|
|
1917
|
+
function Hs(e, t) {
|
|
1918
|
+
return e.map((e) => Us(e, t));
|
|
1919
|
+
}
|
|
1920
|
+
function Us(e, t, n = {}) {
|
|
1921
|
+
return Qe(e) ? Fs(e, t, n) : lt(e) ? Bs(e, t, n) : T(e) ? R(Hs(e.anyOf, t), n) : Ze(e) ? z(Vs(e.const, t), n) : v(e, n);
|
|
1922
|
+
}
|
|
1923
|
+
//#endregion
|
|
1924
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs
|
|
1925
|
+
function Ws(e, t = {}) {
|
|
1926
|
+
return Us(e, "Capitalize", t);
|
|
1927
|
+
}
|
|
1928
|
+
//#endregion
|
|
1929
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs
|
|
1930
|
+
function Gs(e, t = {}) {
|
|
1931
|
+
return Us(e, "Lowercase", t);
|
|
1932
|
+
}
|
|
1933
|
+
//#endregion
|
|
1934
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs
|
|
1935
|
+
function Ks(e, t = {}) {
|
|
1936
|
+
return Us(e, "Uncapitalize", t);
|
|
1937
|
+
}
|
|
1938
|
+
//#endregion
|
|
1939
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs
|
|
1940
|
+
function qs(e, t = {}) {
|
|
1941
|
+
return Us(e, "Uppercase", t);
|
|
1942
|
+
}
|
|
1943
|
+
//#endregion
|
|
1944
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs
|
|
1945
|
+
function Js(e, t, n) {
|
|
1946
|
+
let r = {};
|
|
1947
|
+
for (let i of globalThis.Object.getOwnPropertyNames(e)) r[i] = ic(e[i], t, _(n));
|
|
1948
|
+
return r;
|
|
1949
|
+
}
|
|
1950
|
+
function Ys(e, t, n) {
|
|
1951
|
+
return Js(e.properties, t, n);
|
|
1952
|
+
}
|
|
1953
|
+
function Xs(e, t, n) {
|
|
1954
|
+
return L(Ys(e, t, n));
|
|
1955
|
+
}
|
|
1956
|
+
//#endregion
|
|
1957
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs
|
|
1958
|
+
function Zs(e, t) {
|
|
1959
|
+
return e.map((e) => rc(e, t));
|
|
1960
|
+
}
|
|
1961
|
+
function Qs(e, t) {
|
|
1962
|
+
return e.map((e) => rc(e, t));
|
|
1963
|
+
}
|
|
1964
|
+
function $s(e, t) {
|
|
1965
|
+
let { [t]: n, ...r } = e;
|
|
1966
|
+
return r;
|
|
1967
|
+
}
|
|
1968
|
+
function ec(e, t) {
|
|
1969
|
+
return t.reduce((e, t) => $s(e, t), e);
|
|
1970
|
+
}
|
|
1971
|
+
function tc(e, t, n) {
|
|
1972
|
+
let r = F(e, [
|
|
1973
|
+
y,
|
|
1974
|
+
"$id",
|
|
1975
|
+
"required",
|
|
1976
|
+
"properties"
|
|
1977
|
+
]);
|
|
1978
|
+
return B(ec(n, t), r);
|
|
1979
|
+
}
|
|
1980
|
+
function nc(e) {
|
|
1981
|
+
return R(e.reduce((e, t) => Xe(t) ? [...e, z(t)] : e, []));
|
|
1982
|
+
}
|
|
1983
|
+
function rc(e, t) {
|
|
1984
|
+
return x(e) ? Mi(Zs(e.allOf, t)) : T(e) ? R(Qs(e.anyOf, t)) : rt(e) ? tc(e, t, e.properties) : B({});
|
|
1985
|
+
}
|
|
1986
|
+
function ic(e, t, n) {
|
|
1987
|
+
let r = p(t) ? nc(t) : t, i = yt(t) ? Mr(t) : t, a = w(e), o = w(t);
|
|
1988
|
+
return C(e) ? Xs(e, i, n) : Qe(t) ? cc(e, t, n) : a && o || !a && o || a && !o ? P("Omit", [e, r], n) : v({
|
|
1989
|
+
...rc(e, i),
|
|
1990
|
+
...n
|
|
1991
|
+
});
|
|
1992
|
+
}
|
|
1993
|
+
//#endregion
|
|
1994
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs
|
|
1995
|
+
function ac(e, t, n) {
|
|
1996
|
+
return { [t]: ic(e, [t], _(n)) };
|
|
1997
|
+
}
|
|
1998
|
+
function oc(e, t, n) {
|
|
1999
|
+
return t.reduce((t, r) => ({
|
|
2000
|
+
...t,
|
|
2001
|
+
...ac(e, r, n)
|
|
2002
|
+
}), {});
|
|
2003
|
+
}
|
|
2004
|
+
function sc(e, t, n) {
|
|
2005
|
+
return oc(e, t.keys, n);
|
|
2006
|
+
}
|
|
2007
|
+
function cc(e, t, n) {
|
|
2008
|
+
return L(sc(e, t, n));
|
|
2009
|
+
}
|
|
2010
|
+
//#endregion
|
|
2011
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs
|
|
2012
|
+
function lc(e, t, n) {
|
|
2013
|
+
let r = {};
|
|
2014
|
+
for (let i of globalThis.Object.getOwnPropertyNames(e)) r[i] = vc(e[i], t, _(n));
|
|
2015
|
+
return r;
|
|
2016
|
+
}
|
|
2017
|
+
function uc(e, t, n) {
|
|
2018
|
+
return lc(e.properties, t, n);
|
|
2019
|
+
}
|
|
2020
|
+
function dc(e, t, n) {
|
|
2021
|
+
return L(uc(e, t, n));
|
|
2022
|
+
}
|
|
2023
|
+
//#endregion
|
|
2024
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs
|
|
2025
|
+
function fc(e, t) {
|
|
2026
|
+
return e.map((e) => _c(e, t));
|
|
2027
|
+
}
|
|
2028
|
+
function pc(e, t) {
|
|
2029
|
+
return e.map((e) => _c(e, t));
|
|
2030
|
+
}
|
|
2031
|
+
function mc(e, t) {
|
|
2032
|
+
let n = {};
|
|
2033
|
+
for (let r of t) r in e && (n[r] = e[r]);
|
|
2034
|
+
return n;
|
|
2035
|
+
}
|
|
2036
|
+
function hc(e, t, n) {
|
|
2037
|
+
let r = F(e, [
|
|
2038
|
+
y,
|
|
2039
|
+
"$id",
|
|
2040
|
+
"required",
|
|
2041
|
+
"properties"
|
|
2042
|
+
]);
|
|
2043
|
+
return B(mc(n, t), r);
|
|
2044
|
+
}
|
|
2045
|
+
function gc(e) {
|
|
2046
|
+
return R(e.reduce((e, t) => Xe(t) ? [...e, z(t)] : e, []));
|
|
2047
|
+
}
|
|
2048
|
+
function _c(e, t) {
|
|
2049
|
+
return x(e) ? Mi(fc(e.allOf, t)) : T(e) ? R(pc(e.anyOf, t)) : rt(e) ? hc(e, t, e.properties) : B({});
|
|
2050
|
+
}
|
|
2051
|
+
function vc(e, t, n) {
|
|
2052
|
+
let r = p(t) ? gc(t) : t, i = yt(t) ? Mr(t) : t, a = w(e), o = w(t);
|
|
2053
|
+
return C(e) ? dc(e, i, n) : Qe(t) ? Sc(e, t, n) : a && o || !a && o || a && !o ? P("Pick", [e, r], n) : v({
|
|
2054
|
+
..._c(e, i),
|
|
2055
|
+
...n
|
|
2056
|
+
});
|
|
2057
|
+
}
|
|
2058
|
+
//#endregion
|
|
2059
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs
|
|
2060
|
+
function yc(e, t, n) {
|
|
2061
|
+
return { [t]: vc(e, [t], _(n)) };
|
|
2062
|
+
}
|
|
2063
|
+
function bc(e, t, n) {
|
|
2064
|
+
return t.reduce((t, r) => ({
|
|
2065
|
+
...t,
|
|
2066
|
+
...yc(e, r, n)
|
|
2067
|
+
}), {});
|
|
2068
|
+
}
|
|
2069
|
+
function xc(e, t, n) {
|
|
2070
|
+
return bc(e, t.keys, n);
|
|
2071
|
+
}
|
|
2072
|
+
function Sc(e, t, n) {
|
|
2073
|
+
return L(xc(e, t, n));
|
|
2074
|
+
}
|
|
2075
|
+
//#endregion
|
|
2076
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs
|
|
2077
|
+
function Cc(e, t) {
|
|
2078
|
+
return P("Partial", [P(e, t)]);
|
|
2079
|
+
}
|
|
2080
|
+
function wc(e) {
|
|
2081
|
+
return P("Partial", [Ni(e)]);
|
|
2082
|
+
}
|
|
2083
|
+
function Tc(e) {
|
|
2084
|
+
let t = {};
|
|
2085
|
+
for (let n of globalThis.Object.getOwnPropertyNames(e)) t[n] = Si(e[n]);
|
|
2086
|
+
return t;
|
|
2087
|
+
}
|
|
2088
|
+
function Ec(e, t) {
|
|
2089
|
+
let n = F(e, [
|
|
2090
|
+
y,
|
|
2091
|
+
"$id",
|
|
2092
|
+
"required",
|
|
2093
|
+
"properties"
|
|
2094
|
+
]);
|
|
2095
|
+
return B(Tc(t), n);
|
|
2096
|
+
}
|
|
2097
|
+
function Dc(e) {
|
|
2098
|
+
return e.map((e) => Oc(e));
|
|
2099
|
+
}
|
|
2100
|
+
function Oc(e) {
|
|
2101
|
+
return We(e) ? Cc(e.target, e.parameters) : w(e) ? wc(e.$ref) : x(e) ? Mi(Dc(e.allOf)) : T(e) ? R(Dc(e.anyOf)) : rt(e) ? Ec(e, e.properties) : He(e) || Ue(e) || Je(e) || Ze(e) || tt(e) || nt(e) || st(e) || ct(e) || pt(e) ? e : B({});
|
|
2102
|
+
}
|
|
2103
|
+
function kc(e, t) {
|
|
2104
|
+
return C(e) ? Mc(e, t) : v({
|
|
2105
|
+
...Oc(e),
|
|
2106
|
+
...t
|
|
2107
|
+
});
|
|
2108
|
+
}
|
|
2109
|
+
//#endregion
|
|
2110
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs
|
|
2111
|
+
function Ac(e, t) {
|
|
2112
|
+
let n = {};
|
|
2113
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = kc(e[r], _(t));
|
|
2114
|
+
return n;
|
|
2115
|
+
}
|
|
2116
|
+
function jc(e, t) {
|
|
2117
|
+
return Ac(e.properties, t);
|
|
2118
|
+
}
|
|
2119
|
+
function Mc(e, t) {
|
|
2120
|
+
return L(jc(e, t));
|
|
2121
|
+
}
|
|
2122
|
+
//#endregion
|
|
2123
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs
|
|
2124
|
+
function Nc(e, t) {
|
|
2125
|
+
return P("Required", [P(e, t)]);
|
|
2126
|
+
}
|
|
2127
|
+
function Pc(e) {
|
|
2128
|
+
return P("Required", [Ni(e)]);
|
|
2129
|
+
}
|
|
2130
|
+
function Fc(e) {
|
|
2131
|
+
let t = {};
|
|
2132
|
+
for (let n of globalThis.Object.getOwnPropertyNames(e)) t[n] = F(e[n], [Pe]);
|
|
2133
|
+
return t;
|
|
2134
|
+
}
|
|
2135
|
+
function Ic(e, t) {
|
|
2136
|
+
let n = F(e, [
|
|
2137
|
+
y,
|
|
2138
|
+
"$id",
|
|
2139
|
+
"required",
|
|
2140
|
+
"properties"
|
|
2141
|
+
]);
|
|
2142
|
+
return B(Fc(t), n);
|
|
2143
|
+
}
|
|
2144
|
+
function Lc(e) {
|
|
2145
|
+
return e.map((e) => Rc(e));
|
|
2146
|
+
}
|
|
2147
|
+
function Rc(e) {
|
|
2148
|
+
return We(e) ? Nc(e.target, e.parameters) : w(e) ? Pc(e.$ref) : x(e) ? Mi(Lc(e.allOf)) : T(e) ? R(Lc(e.anyOf)) : rt(e) ? Ic(e, e.properties) : He(e) || Ue(e) || Je(e) || Ze(e) || tt(e) || nt(e) || st(e) || ct(e) || pt(e) ? e : B({});
|
|
2149
|
+
}
|
|
2150
|
+
function zc(e, t) {
|
|
2151
|
+
return C(e) ? Hc(e, t) : v({
|
|
2152
|
+
...Rc(e),
|
|
2153
|
+
...t
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
2156
|
+
//#endregion
|
|
2157
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs
|
|
2158
|
+
function Bc(e, t) {
|
|
2159
|
+
let n = {};
|
|
2160
|
+
for (let r of globalThis.Object.getOwnPropertyNames(e)) n[r] = zc(e[r], t);
|
|
2161
|
+
return n;
|
|
2162
|
+
}
|
|
2163
|
+
function Vc(e, t) {
|
|
2164
|
+
return Bc(e.properties, t);
|
|
2165
|
+
}
|
|
2166
|
+
function Hc(e, t) {
|
|
2167
|
+
return L(Vc(e, t));
|
|
2168
|
+
}
|
|
2169
|
+
//#endregion
|
|
2170
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs
|
|
2171
|
+
function Uc(e, t) {
|
|
2172
|
+
return t.map((t) => w(t) ? Wc(e, t.$ref) : X(e, t));
|
|
2173
|
+
}
|
|
2174
|
+
function Wc(e, t) {
|
|
2175
|
+
return t in e ? w(e[t]) ? Wc(e, e[t].$ref) : X(e, e[t]) : I();
|
|
2176
|
+
}
|
|
2177
|
+
function Gc(e) {
|
|
2178
|
+
return Bi(e[0]);
|
|
2179
|
+
}
|
|
2180
|
+
function Kc(e) {
|
|
2181
|
+
return qr(e[0], e[1]);
|
|
2182
|
+
}
|
|
2183
|
+
function qc(e) {
|
|
2184
|
+
return ea(e[0]);
|
|
2185
|
+
}
|
|
2186
|
+
function Jc(e) {
|
|
2187
|
+
return kc(e[0]);
|
|
2188
|
+
}
|
|
2189
|
+
function Yc(e) {
|
|
2190
|
+
return ic(e[0], e[1]);
|
|
2191
|
+
}
|
|
2192
|
+
function Xc(e) {
|
|
2193
|
+
return vc(e[0], e[1]);
|
|
2194
|
+
}
|
|
2195
|
+
function Zc(e) {
|
|
2196
|
+
return zc(e[0]);
|
|
2197
|
+
}
|
|
2198
|
+
function Qc(e, t, n) {
|
|
2199
|
+
let r = Uc(e, n);
|
|
2200
|
+
return t === "Awaited" ? Gc(r) : t === "Index" ? Kc(r) : t === "KeyOf" ? qc(r) : t === "Partial" ? Jc(r) : t === "Omit" ? Yc(r) : t === "Pick" ? Xc(r) : t === "Required" ? Zc(r) : I();
|
|
2201
|
+
}
|
|
2202
|
+
function $c(e, t) {
|
|
2203
|
+
return An(X(e, t));
|
|
2204
|
+
}
|
|
2205
|
+
function el(e, t) {
|
|
2206
|
+
return Mn(X(e, t));
|
|
2207
|
+
}
|
|
2208
|
+
function tl(e, t, n) {
|
|
2209
|
+
return Pn(ul(e, t), X(e, n));
|
|
2210
|
+
}
|
|
2211
|
+
function nl(e, t, n) {
|
|
2212
|
+
return Fn(ul(e, t), X(e, n));
|
|
2213
|
+
}
|
|
2214
|
+
function rl(e, t) {
|
|
2215
|
+
return Mi(ul(e, t));
|
|
2216
|
+
}
|
|
2217
|
+
function il(e, t) {
|
|
2218
|
+
return Qr(X(e, t));
|
|
2219
|
+
}
|
|
2220
|
+
function al(e, t) {
|
|
2221
|
+
return B(globalThis.Object.keys(t).reduce((n, r) => ({
|
|
2222
|
+
...n,
|
|
2223
|
+
[r]: X(e, t[r])
|
|
2224
|
+
}), {}));
|
|
2225
|
+
}
|
|
2226
|
+
function ol(e, t) {
|
|
2227
|
+
let [n, r] = [X(e, ps(t)), ds(t)], i = be(t);
|
|
2228
|
+
return i.patternProperties[r] = n, i;
|
|
2229
|
+
}
|
|
2230
|
+
function sl(e, t) {
|
|
2231
|
+
return w(t) ? {
|
|
2232
|
+
...Wc(e, t.$ref),
|
|
2233
|
+
[y]: t[y]
|
|
2234
|
+
} : t;
|
|
2235
|
+
}
|
|
2236
|
+
function cl(e, t) {
|
|
2237
|
+
return li(ul(e, t));
|
|
2238
|
+
}
|
|
2239
|
+
function ll(e, t) {
|
|
2240
|
+
return R(ul(e, t));
|
|
2241
|
+
}
|
|
2242
|
+
function ul(e, t) {
|
|
2243
|
+
return t.map((t) => X(e, t));
|
|
2244
|
+
}
|
|
2245
|
+
function X(e, t) {
|
|
2246
|
+
return Le(t) ? v(X(e, F(t, [Pe])), t) : Ie(t) ? v(X(e, F(t, [Ne])), t) : dt(t) ? v(sl(e, t), t) : Be(t) ? v($c(e, t.items), t) : Ve(t) ? v(el(e, t.items), t) : We(t) ? v(Qc(e, t.target, t.parameters)) : Ge(t) ? v(tl(e, t.parameters, t.returns), t) : qe(t) ? v(nl(e, t.parameters, t.returns), t) : x(t) ? v(rl(e, t.allOf), t) : Ye(t) ? v(il(e, t.items), t) : rt(t) ? v(al(e, t.properties), t) : at(t) ? v(ol(e, t)) : ft(t) ? v(cl(e, t.items || []), t) : T(t) ? v(ll(e, t.anyOf), t) : t;
|
|
2247
|
+
}
|
|
2248
|
+
function dl(e, t) {
|
|
2249
|
+
return t in e ? X(e, e[t]) : I();
|
|
2250
|
+
}
|
|
2251
|
+
function fl(e) {
|
|
2252
|
+
return globalThis.Object.getOwnPropertyNames(e).reduce((t, n) => ({
|
|
2253
|
+
...t,
|
|
2254
|
+
[n]: dl(e, n)
|
|
2255
|
+
}), {});
|
|
2256
|
+
}
|
|
2257
|
+
//#endregion
|
|
2258
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs
|
|
2259
|
+
var pl = class {
|
|
2260
|
+
constructor(e) {
|
|
2261
|
+
let t = fl(e), n = this.WithIdentifiers(t);
|
|
2262
|
+
this.$defs = n;
|
|
2263
|
+
}
|
|
2264
|
+
Import(e, t) {
|
|
2265
|
+
let n = {
|
|
2266
|
+
...this.$defs,
|
|
2267
|
+
[e]: v(this.$defs[e], t)
|
|
2268
|
+
};
|
|
2269
|
+
return v({
|
|
2270
|
+
[b]: "Import",
|
|
2271
|
+
$defs: n,
|
|
2272
|
+
$ref: e
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
WithIdentifiers(e) {
|
|
2276
|
+
return globalThis.Object.getOwnPropertyNames(e).reduce((t, n) => ({
|
|
2277
|
+
...t,
|
|
2278
|
+
[n]: {
|
|
2279
|
+
...e[n],
|
|
2280
|
+
$id: n
|
|
2281
|
+
}
|
|
2282
|
+
}), {});
|
|
2283
|
+
}
|
|
2284
|
+
};
|
|
2285
|
+
function ml(e) {
|
|
2286
|
+
return new pl(e);
|
|
2287
|
+
}
|
|
2288
|
+
//#endregion
|
|
2289
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs
|
|
2290
|
+
function hl(e, t) {
|
|
2291
|
+
return v({
|
|
2292
|
+
[b]: "Not",
|
|
2293
|
+
not: e
|
|
2294
|
+
}, t);
|
|
2295
|
+
}
|
|
2296
|
+
//#endregion
|
|
2297
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs
|
|
2298
|
+
function gl(e, t) {
|
|
2299
|
+
return qe(e) ? li(e.parameters, t) : I();
|
|
2300
|
+
}
|
|
2301
|
+
//#endregion
|
|
2302
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs
|
|
2303
|
+
var _l = 0;
|
|
2304
|
+
function vl(e, t = {}) {
|
|
2305
|
+
g(t.$id) && (t.$id = `T${_l++}`);
|
|
2306
|
+
let n = be(e({
|
|
2307
|
+
[b]: "This",
|
|
2308
|
+
$ref: `${t.$id}`
|
|
2309
|
+
}));
|
|
2310
|
+
return n.$id = t.$id, v({
|
|
2311
|
+
[Fe]: "Recursive",
|
|
2312
|
+
...n
|
|
2313
|
+
}, t);
|
|
2314
|
+
}
|
|
2315
|
+
//#endregion
|
|
2316
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs
|
|
2317
|
+
function yl(e, t) {
|
|
2318
|
+
let n = h(e) ? new globalThis.RegExp(e) : e;
|
|
2319
|
+
return v({
|
|
2320
|
+
[b]: "RegExp",
|
|
2321
|
+
type: "RegExp",
|
|
2322
|
+
source: n.source,
|
|
2323
|
+
flags: n.flags
|
|
2324
|
+
}, t);
|
|
2325
|
+
}
|
|
2326
|
+
//#endregion
|
|
2327
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs
|
|
2328
|
+
function bl(e) {
|
|
2329
|
+
return x(e) ? e.allOf : T(e) ? e.anyOf : ft(e) ? e.items ?? [] : [];
|
|
2330
|
+
}
|
|
2331
|
+
function xl(e) {
|
|
2332
|
+
return bl(e);
|
|
2333
|
+
}
|
|
2334
|
+
//#endregion
|
|
2335
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs
|
|
2336
|
+
function Sl(e, t) {
|
|
2337
|
+
return qe(e) ? v(e.returns, t) : I(t);
|
|
2338
|
+
}
|
|
2339
|
+
//#endregion
|
|
2340
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs
|
|
2341
|
+
var Cl = class {
|
|
2342
|
+
constructor(e) {
|
|
2343
|
+
this.schema = e;
|
|
2344
|
+
}
|
|
2345
|
+
Decode(e) {
|
|
2346
|
+
return new wl(this.schema, e);
|
|
2347
|
+
}
|
|
2348
|
+
}, wl = class {
|
|
2349
|
+
constructor(e, t) {
|
|
2350
|
+
this.schema = e, this.decode = t;
|
|
2351
|
+
}
|
|
2352
|
+
EncodeTransform(e, t) {
|
|
2353
|
+
let n = {
|
|
2354
|
+
Encode: (n) => t[y].Encode(e(n)),
|
|
2355
|
+
Decode: (e) => this.decode(t[y].Decode(e))
|
|
2356
|
+
};
|
|
2357
|
+
return {
|
|
2358
|
+
...t,
|
|
2359
|
+
[y]: n
|
|
2360
|
+
};
|
|
2361
|
+
}
|
|
2362
|
+
EncodeSchema(e, t) {
|
|
2363
|
+
let n = {
|
|
2364
|
+
Decode: this.decode,
|
|
2365
|
+
Encode: e
|
|
2366
|
+
};
|
|
2367
|
+
return {
|
|
2368
|
+
...t,
|
|
2369
|
+
[y]: n
|
|
2370
|
+
};
|
|
2371
|
+
}
|
|
2372
|
+
Encode(e) {
|
|
2373
|
+
return dt(this.schema) ? this.EncodeTransform(e, this.schema) : this.EncodeSchema(e, this.schema);
|
|
2374
|
+
}
|
|
2375
|
+
};
|
|
2376
|
+
function Tl(e) {
|
|
2377
|
+
return new Cl(e);
|
|
2378
|
+
}
|
|
2379
|
+
//#endregion
|
|
2380
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs
|
|
2381
|
+
function El(e = {}) {
|
|
2382
|
+
return v({ [b]: e[b] ?? "Unsafe" }, e);
|
|
2383
|
+
}
|
|
2384
|
+
//#endregion
|
|
2385
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs
|
|
2386
|
+
function Dl(e) {
|
|
2387
|
+
return v({
|
|
2388
|
+
[b]: "Void",
|
|
2389
|
+
type: "void"
|
|
2390
|
+
}, e);
|
|
2391
|
+
}
|
|
2392
|
+
//#endregion
|
|
2393
|
+
//#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
|
|
2394
|
+
var Z = /* @__PURE__ */ te({
|
|
2395
|
+
Any: () => kn,
|
|
2396
|
+
Argument: () => jn,
|
|
2397
|
+
Array: () => An,
|
|
2398
|
+
AsyncIterator: () => Mn,
|
|
2399
|
+
Awaited: () => Bi,
|
|
2400
|
+
BigInt: () => gr,
|
|
2401
|
+
Boolean: () => hr,
|
|
2402
|
+
Capitalize: () => Ws,
|
|
2403
|
+
Composite: () => ca,
|
|
2404
|
+
Const: () => ya,
|
|
2405
|
+
Constructor: () => Pn,
|
|
2406
|
+
ConstructorParameters: () => ba,
|
|
2407
|
+
Date: () => la,
|
|
2408
|
+
Enum: () => xa,
|
|
2409
|
+
Exclude: () => Bo,
|
|
2410
|
+
Extends: () => No,
|
|
2411
|
+
Extract: () => Ko,
|
|
2412
|
+
Function: () => Fn,
|
|
2413
|
+
Index: () => qr,
|
|
2414
|
+
InstanceType: () => Xo,
|
|
2415
|
+
Instantiate: () => As,
|
|
2416
|
+
Integer: () => js,
|
|
2417
|
+
Intersect: () => Mi,
|
|
2418
|
+
Iterator: () => Qr,
|
|
2419
|
+
KeyOf: () => ea,
|
|
2420
|
+
Literal: () => z,
|
|
2421
|
+
Lowercase: () => Gs,
|
|
2422
|
+
Mapped: () => vi,
|
|
2423
|
+
Module: () => ml,
|
|
2424
|
+
Never: () => I,
|
|
2425
|
+
Not: () => hl,
|
|
2426
|
+
Null: () => ua,
|
|
2427
|
+
Number: () => _r,
|
|
2428
|
+
Object: () => B,
|
|
2429
|
+
Omit: () => ic,
|
|
2430
|
+
Optional: () => Si,
|
|
2431
|
+
Parameters: () => gl,
|
|
2432
|
+
Partial: () => kc,
|
|
2433
|
+
Pick: () => vc,
|
|
2434
|
+
Promise: () => ti,
|
|
2435
|
+
Readonly: () => ai,
|
|
2436
|
+
ReadonlyOptional: () => Zo,
|
|
2437
|
+
Record: () => us,
|
|
2438
|
+
Recursive: () => vl,
|
|
2439
|
+
Ref: () => Ni,
|
|
2440
|
+
RegExp: () => yl,
|
|
2441
|
+
Required: () => zc,
|
|
2442
|
+
Rest: () => xl,
|
|
2443
|
+
ReturnType: () => Sl,
|
|
2444
|
+
String: () => vr,
|
|
2445
|
+
Symbol: () => da,
|
|
2446
|
+
TemplateLiteral: () => Or,
|
|
2447
|
+
Transform: () => Tl,
|
|
2448
|
+
Tuple: () => li,
|
|
2449
|
+
Uint8Array: () => pa,
|
|
2450
|
+
Uncapitalize: () => Ks,
|
|
2451
|
+
Undefined: () => fa,
|
|
2452
|
+
Union: () => R,
|
|
2453
|
+
Unknown: () => ma,
|
|
2454
|
+
Unsafe: () => El,
|
|
2455
|
+
Uppercase: () => qs,
|
|
2456
|
+
Void: () => Dl
|
|
2457
|
+
}), Ol = Object.defineProperty, Q = (e, t) => {
|
|
2458
|
+
let n = {};
|
|
2459
|
+
for (var r in e) Ol(n, r, {
|
|
2460
|
+
get: e[r],
|
|
2461
|
+
enumerable: !0
|
|
2462
|
+
});
|
|
2463
|
+
return t || Ol(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
2464
|
+
}, kl = {
|
|
2465
|
+
backendUrl: "https://luna-park.app",
|
|
2466
|
+
hostUrl: "https://host.luna-park.app",
|
|
2467
|
+
webSocketUrl: "wss://luna-park.app"
|
|
2468
|
+
}, Al = {
|
|
2469
|
+
credentials: "include",
|
|
2470
|
+
headers: {
|
|
2471
|
+
Accept: "application/json, text/plain",
|
|
2472
|
+
"Content-Type": "application/json"
|
|
2473
|
+
},
|
|
2474
|
+
mode: "cors"
|
|
2475
|
+
}, jl = {
|
|
2476
|
+
credentials: "include",
|
|
2477
|
+
headers: { Accept: "application/json, text/plain" },
|
|
2478
|
+
mode: "cors"
|
|
2479
|
+
}, Ml = {
|
|
2480
|
+
async delete(e, t) {
|
|
2481
|
+
let n = {
|
|
2482
|
+
...Al,
|
|
2483
|
+
method: "DELETE",
|
|
2484
|
+
...t
|
|
2485
|
+
};
|
|
2486
|
+
return n.body || (n.headers = { ...n.headers }, delete n.headers?.["Content-Type"]), fetch(e, n);
|
|
2487
|
+
},
|
|
2488
|
+
async get(e, t) {
|
|
2489
|
+
return await fetch(e, {
|
|
2490
|
+
...Al,
|
|
2491
|
+
method: "GET",
|
|
2492
|
+
...t
|
|
2493
|
+
});
|
|
2494
|
+
},
|
|
2495
|
+
getBaseUrl({ dev: e } = { dev: !1 }) {
|
|
2496
|
+
return `${kl.backendUrl}/${e ? "dev" : "api"}`;
|
|
2497
|
+
},
|
|
2498
|
+
async multipart(e, t, n) {
|
|
2499
|
+
return await fetch(e, {
|
|
2500
|
+
...jl,
|
|
2501
|
+
body: t,
|
|
2502
|
+
method: "POST",
|
|
2503
|
+
...n
|
|
2504
|
+
});
|
|
2505
|
+
},
|
|
2506
|
+
async post(e, t, n) {
|
|
2507
|
+
return await fetch(e, {
|
|
2508
|
+
...Al,
|
|
2509
|
+
body: JSON.stringify(t) || "{}",
|
|
2510
|
+
method: "POST",
|
|
2511
|
+
...n
|
|
2512
|
+
});
|
|
2513
|
+
},
|
|
2514
|
+
async put(e, t, n) {
|
|
2515
|
+
return await fetch(e, {
|
|
2516
|
+
...Al,
|
|
2517
|
+
body: JSON.stringify(t) || "{}",
|
|
2518
|
+
method: "PUT",
|
|
2519
|
+
...n
|
|
2520
|
+
});
|
|
2521
|
+
}
|
|
2522
|
+
}, $ = /* @__PURE__ */ function(e) {
|
|
2523
|
+
return e.Get = "get", e.Post = "post", e.Delete = "delete", e.Put = "put", e;
|
|
2524
|
+
}({}), Nl = Z.String({ format: "date-time" }), Pl = /* @__PURE__ */ Q({
|
|
2525
|
+
app: () => Fl,
|
|
2526
|
+
appEdits: () => Il
|
|
2527
|
+
}), Fl = Z.Object({
|
|
2528
|
+
name: Z.String(),
|
|
2529
|
+
config: Z.Record(Z.String(), Z.Unknown()),
|
|
2530
|
+
tree: Z.Unknown(),
|
|
2531
|
+
version: Z.Optional(Z.Number())
|
|
2532
|
+
}), Il = Z.Array(Z.Object({
|
|
2533
|
+
file: Z.Unknown(),
|
|
2534
|
+
path: Z.String()
|
|
2535
|
+
})), Ll = Z.Object({
|
|
2536
|
+
id: Z.Optional(Z.String()),
|
|
2537
|
+
domain: Z.String(),
|
|
2538
|
+
owner: Z.String(),
|
|
2539
|
+
private: Z.String(),
|
|
2540
|
+
public: Z.String()
|
|
2541
|
+
}), Rl = Z.Object({
|
|
2542
|
+
id: Z.String(),
|
|
2543
|
+
app: Z.Object({
|
|
2544
|
+
name: Z.String(),
|
|
2545
|
+
config: Z.Unknown()
|
|
2546
|
+
}),
|
|
2547
|
+
createdAt: Nl,
|
|
2548
|
+
icon: Z.String(),
|
|
2549
|
+
owner: Z.Unknown(),
|
|
2550
|
+
updatedAt: Nl,
|
|
2551
|
+
visibility: Z.Object({
|
|
2552
|
+
liked: Z.Boolean(),
|
|
2553
|
+
public: Z.Boolean(),
|
|
2554
|
+
shareKey: Z.Optional(Z.String()),
|
|
2555
|
+
starsCount: Z.Number()
|
|
2556
|
+
})
|
|
2557
|
+
}), zl = Z.Object({ ...Rl.properties }), Bl = Z.Object({
|
|
2558
|
+
...Rl.properties,
|
|
2559
|
+
app: Z.Unknown()
|
|
2560
|
+
}), Vl = /* @__PURE__ */ function(e) {
|
|
2561
|
+
return e.Free = "free", e.Edu = "edu", e.Pro = "pro", e.Org = "org", e;
|
|
2562
|
+
}({}), Hl = {
|
|
2563
|
+
free: {
|
|
2564
|
+
compilation: {
|
|
2565
|
+
desktop: !1,
|
|
2566
|
+
export: !0,
|
|
2567
|
+
mobile: !1,
|
|
2568
|
+
source: !1,
|
|
2569
|
+
web: !0
|
|
2570
|
+
},
|
|
2571
|
+
editor: {
|
|
2572
|
+
desktop: !1,
|
|
2573
|
+
web: !0
|
|
2574
|
+
},
|
|
2575
|
+
watermark: !0
|
|
2576
|
+
},
|
|
2577
|
+
pro: {
|
|
2578
|
+
compilation: {
|
|
2579
|
+
desktop: !0,
|
|
2580
|
+
export: !0,
|
|
2581
|
+
mobile: !0,
|
|
2582
|
+
source: !0,
|
|
2583
|
+
web: !0
|
|
2584
|
+
},
|
|
2585
|
+
editor: {
|
|
2586
|
+
desktop: !0,
|
|
2587
|
+
web: !0
|
|
2588
|
+
},
|
|
2589
|
+
watermark: !1
|
|
2590
|
+
}
|
|
2591
|
+
};
|
|
2592
|
+
Vl.Org, Hl.pro, Vl.Pro, Hl.pro, Vl.Edu, Hl.pro, Vl.Free, Hl.free;
|
|
2593
|
+
var Ul = Z.Object({
|
|
2594
|
+
id: Z.Optional(Z.String()),
|
|
2595
|
+
auth: Z.Optional(Z.Object({})),
|
|
2596
|
+
mail: Z.String(),
|
|
2597
|
+
plan: Z.Object({ name: Z.String({ enum: Object.values(Vl) }) }),
|
|
2598
|
+
profile: Z.Object({
|
|
2599
|
+
other: Z.Object({
|
|
2600
|
+
avatar: Z.String(),
|
|
2601
|
+
bio: Z.String(),
|
|
2602
|
+
referral: Z.String()
|
|
2603
|
+
}),
|
|
2604
|
+
public: Z.Object({
|
|
2605
|
+
company: Z.String(),
|
|
2606
|
+
location: Z.String(),
|
|
2607
|
+
url: Z.String(),
|
|
2608
|
+
username: Z.String()
|
|
2609
|
+
}),
|
|
2610
|
+
social: Z.Object({
|
|
2611
|
+
discord: Z.String(),
|
|
2612
|
+
github: Z.String(),
|
|
2613
|
+
linkedin: Z.String(),
|
|
2614
|
+
twitter: Z.String()
|
|
2615
|
+
})
|
|
2616
|
+
}),
|
|
2617
|
+
settings: Z.Object({ newsletter: Z.Boolean() })
|
|
2618
|
+
}), Wl = {
|
|
2619
|
+
...Pl,
|
|
2620
|
+
keyConfig: Ll,
|
|
2621
|
+
privateProject: Bl,
|
|
2622
|
+
project: Rl,
|
|
2623
|
+
publicProject: zl,
|
|
2624
|
+
user: Ul
|
|
2625
|
+
}, Gl = /* @__PURE__ */ Q({
|
|
2626
|
+
edit: () => ql,
|
|
2627
|
+
get: () => Kl
|
|
2628
|
+
}), Kl = {
|
|
2629
|
+
type: $.Get,
|
|
2630
|
+
params: Z.Object({ id: Z.String() }),
|
|
2631
|
+
response: { 200: Z.Object({
|
|
2632
|
+
app: Wl.app,
|
|
2633
|
+
readOnly: Z.Boolean()
|
|
2634
|
+
}) },
|
|
2635
|
+
url: "/app/:id"
|
|
2636
|
+
}, ql = {
|
|
2637
|
+
type: $.Post,
|
|
2638
|
+
body: Z.Object({
|
|
2639
|
+
app: Z.Optional(Wl.app),
|
|
2640
|
+
deletes: Z.Optional(Z.Array(Z.String())),
|
|
2641
|
+
edits: Z.Optional(Wl.appEdits)
|
|
2642
|
+
}),
|
|
2643
|
+
params: Z.Object({ id: Z.String() }),
|
|
2644
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2645
|
+
url: "/app/:id"
|
|
2646
|
+
}, Jl = /* @__PURE__ */ Q({
|
|
2647
|
+
authorize: () => Yl,
|
|
2648
|
+
client: () => Ql,
|
|
2649
|
+
me: () => Zl,
|
|
2650
|
+
token: () => Xl
|
|
2651
|
+
}), Yl = {
|
|
2652
|
+
type: $.Post,
|
|
2653
|
+
body: Z.Object({
|
|
2654
|
+
client_id: Z.String(),
|
|
2655
|
+
redirect_uri: Z.String(),
|
|
2656
|
+
response_type: Z.Literal("code"),
|
|
2657
|
+
scope: Z.Optional(Z.String())
|
|
2658
|
+
}),
|
|
2659
|
+
response: { 200: Z.Object({ authorization_code: Z.String() }) },
|
|
2660
|
+
url: "/auth/authorize"
|
|
2661
|
+
}, Xl = {
|
|
2662
|
+
type: $.Post,
|
|
2663
|
+
body: Z.Union([Z.Object({
|
|
2664
|
+
client_id: Z.String(),
|
|
2665
|
+
client_secret: Z.String(),
|
|
2666
|
+
code: Z.String(),
|
|
2667
|
+
grant_type: Z.Literal("authorization_code"),
|
|
2668
|
+
redirect_uri: Z.String()
|
|
2669
|
+
}), Z.Object({
|
|
2670
|
+
client_id: Z.String(),
|
|
2671
|
+
client_secret: Z.String(),
|
|
2672
|
+
grant_type: Z.Literal("refresh_token"),
|
|
2673
|
+
refresh_token: Z.String()
|
|
2674
|
+
})]),
|
|
2675
|
+
response: { 200: Z.Object({
|
|
2676
|
+
access_token: Z.String(),
|
|
2677
|
+
expires_in: Z.Number(),
|
|
2678
|
+
refresh_token: Z.String(),
|
|
2679
|
+
token_type: Z.Literal("Bearer")
|
|
2680
|
+
}) },
|
|
2681
|
+
url: "/auth/token"
|
|
2682
|
+
}, Zl = {
|
|
2683
|
+
type: $.Get,
|
|
2684
|
+
headers: Z.Object({ authorization: Z.String() }),
|
|
2685
|
+
response: { 200: Z.Object({
|
|
2686
|
+
id: Z.String(),
|
|
2687
|
+
mail: Z.String()
|
|
2688
|
+
}) },
|
|
2689
|
+
url: "/auth/me"
|
|
2690
|
+
}, Ql = {
|
|
2691
|
+
type: $.Get,
|
|
2692
|
+
querystring: Z.Object({
|
|
2693
|
+
client_id: Z.String(),
|
|
2694
|
+
redirect_uri: Z.String()
|
|
2695
|
+
}),
|
|
2696
|
+
response: { 200: Z.Object({ client_name: Z.String() }) },
|
|
2697
|
+
url: "/auth/client"
|
|
2698
|
+
}, $l = /* @__PURE__ */ Q({
|
|
2699
|
+
build: () => eu,
|
|
2700
|
+
compile: () => tu,
|
|
2701
|
+
download: () => nu
|
|
2702
|
+
}), eu = {
|
|
2703
|
+
type: $.Post,
|
|
2704
|
+
body: Z.Object({
|
|
2705
|
+
entry: Z.Optional(Z.String()),
|
|
2706
|
+
key: Z.String(),
|
|
2707
|
+
script: Z.Unknown()
|
|
2708
|
+
}),
|
|
2709
|
+
params: Z.Object({ type: Z.Union([Z.Literal("main"), Z.Literal("logic")]) }),
|
|
2710
|
+
response: { 200: Z.Object({
|
|
2711
|
+
code: Z.String(),
|
|
2712
|
+
message: Z.String()
|
|
2713
|
+
}) },
|
|
2714
|
+
url: "/compiler/build/:type"
|
|
2715
|
+
}, tu = {
|
|
2716
|
+
type: $.Post,
|
|
2717
|
+
body: Z.Object({
|
|
2718
|
+
platform: Z.Optional(Z.Union([
|
|
2719
|
+
Z.Literal("win32"),
|
|
2720
|
+
Z.Literal("darwin"),
|
|
2721
|
+
Z.Literal("linux")
|
|
2722
|
+
])),
|
|
2723
|
+
target: Z.Union([
|
|
2724
|
+
Z.Literal("source"),
|
|
2725
|
+
Z.Literal("export"),
|
|
2726
|
+
Z.Literal("web"),
|
|
2727
|
+
Z.Literal("desktop")
|
|
2728
|
+
])
|
|
2729
|
+
}),
|
|
2730
|
+
params: Z.Object({ id: Z.String() }),
|
|
2731
|
+
response: { 200: Z.Object({
|
|
2732
|
+
message: Z.String(),
|
|
2733
|
+
target: Z.String()
|
|
2734
|
+
}) },
|
|
2735
|
+
url: "/compiler/compile/:id"
|
|
2736
|
+
}, nu = {
|
|
2737
|
+
type: $.Get,
|
|
2738
|
+
params: Z.Object({
|
|
2739
|
+
id: Z.String(),
|
|
2740
|
+
platform: Z.Optional(Z.Union([
|
|
2741
|
+
Z.Literal("win32-installer"),
|
|
2742
|
+
Z.Literal("darwin-installer"),
|
|
2743
|
+
Z.Literal("linux-installer"),
|
|
2744
|
+
Z.Literal("win32-portable"),
|
|
2745
|
+
Z.Literal("darwin-portable"),
|
|
2746
|
+
Z.Literal("linux-portable")
|
|
2747
|
+
])),
|
|
2748
|
+
target: Z.Union([
|
|
2749
|
+
Z.Literal("source"),
|
|
2750
|
+
Z.Literal("export"),
|
|
2751
|
+
Z.Literal("desktop")
|
|
2752
|
+
])
|
|
2753
|
+
}),
|
|
2754
|
+
response: { 200: Z.Unknown() },
|
|
2755
|
+
url: "/compiler/download/:id/:target/:platform?"
|
|
2756
|
+
}, ru = /* @__PURE__ */ Q({ latest: () => iu }), iu = {
|
|
2757
|
+
type: $.Get,
|
|
2758
|
+
dev: !0,
|
|
2759
|
+
querystring: Z.Object({
|
|
2760
|
+
arch: Z.Union([
|
|
2761
|
+
Z.Literal("x86_64"),
|
|
2762
|
+
Z.Literal("i686"),
|
|
2763
|
+
Z.Literal("aarch64"),
|
|
2764
|
+
Z.Literal("armv7")
|
|
2765
|
+
]),
|
|
2766
|
+
target: Z.Union([
|
|
2767
|
+
Z.Literal("windows"),
|
|
2768
|
+
Z.Literal("linux"),
|
|
2769
|
+
Z.Literal("darwin")
|
|
2770
|
+
]),
|
|
2771
|
+
version: Z.Optional(Z.String())
|
|
2772
|
+
}),
|
|
2773
|
+
response: { 200: Z.Object({
|
|
2774
|
+
notes: Z.String(),
|
|
2775
|
+
pub_date: Z.String(),
|
|
2776
|
+
signature: Z.String(),
|
|
2777
|
+
url: Z.String(),
|
|
2778
|
+
version: Z.String()
|
|
2779
|
+
}) },
|
|
2780
|
+
url: "/desktop/release/latest"
|
|
2781
|
+
}, au = /* @__PURE__ */ Q({
|
|
2782
|
+
list: () => cu,
|
|
2783
|
+
remove: () => su,
|
|
2784
|
+
status: () => lu,
|
|
2785
|
+
upload: () => ou
|
|
2786
|
+
}), ou = {
|
|
2787
|
+
type: $.Post,
|
|
2788
|
+
body: Z.Object({
|
|
2789
|
+
file: Z.Object({
|
|
2790
|
+
filename: Z.String(),
|
|
2791
|
+
mimetype: Z.String()
|
|
2792
|
+
}),
|
|
2793
|
+
project: Z.Object({ value: Z.String() })
|
|
2794
|
+
}),
|
|
2795
|
+
multipart: !0,
|
|
2796
|
+
response: { 200: Z.Object({
|
|
2797
|
+
name: Z.String(),
|
|
2798
|
+
mimeType: Z.String(),
|
|
2799
|
+
target: Z.String()
|
|
2800
|
+
}) },
|
|
2801
|
+
url: "/file/upload"
|
|
2802
|
+
}, su = {
|
|
2803
|
+
type: $.Post,
|
|
2804
|
+
body: Z.Object({ target: Z.String() }),
|
|
2805
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2806
|
+
url: "/file/remove"
|
|
2807
|
+
}, cu = {
|
|
2808
|
+
type: $.Get,
|
|
2809
|
+
querystring: Z.Object({
|
|
2810
|
+
limit: Z.Optional(Z.String()),
|
|
2811
|
+
search: Z.Optional(Z.String()),
|
|
2812
|
+
skip: Z.Optional(Z.String())
|
|
2813
|
+
}),
|
|
2814
|
+
response: { 200: Z.Object({
|
|
2815
|
+
result: Z.Array(Z.Object({
|
|
2816
|
+
id: Z.String(),
|
|
2817
|
+
name: Z.String(),
|
|
2818
|
+
mimeType: Z.String(),
|
|
2819
|
+
project: Z.Object({
|
|
2820
|
+
id: Z.String(),
|
|
2821
|
+
name: Z.String(),
|
|
2822
|
+
icon: Z.String()
|
|
2823
|
+
}),
|
|
2824
|
+
size: Z.Number(),
|
|
2825
|
+
target: Z.String()
|
|
2826
|
+
})),
|
|
2827
|
+
total: Z.Number()
|
|
2828
|
+
}) },
|
|
2829
|
+
url: "/file/list"
|
|
2830
|
+
}, lu = {
|
|
2831
|
+
type: $.Get,
|
|
2832
|
+
response: { 200: Z.Object({
|
|
2833
|
+
limit: Z.Number(),
|
|
2834
|
+
total: Z.Number()
|
|
2835
|
+
}) },
|
|
2836
|
+
url: "/file/status"
|
|
2837
|
+
}, uu = /* @__PURE__ */ Q({ googleAuth: () => du }), du = {
|
|
2838
|
+
type: $.Get,
|
|
2839
|
+
querystring: Z.Object({
|
|
2840
|
+
code: Z.Optional(Z.String()),
|
|
2841
|
+
scope: Z.Optional(Z.String()),
|
|
2842
|
+
state: Z.Optional(Z.String())
|
|
2843
|
+
}),
|
|
2844
|
+
response: { 200: Z.Object({ token: Z.Optional(Z.String()) }) },
|
|
2845
|
+
url: "/integrations/google/auth"
|
|
2846
|
+
}, fu = /* @__PURE__ */ Q({
|
|
2847
|
+
check: () => gu,
|
|
2848
|
+
create: () => pu,
|
|
2849
|
+
list: () => mu,
|
|
2850
|
+
remove: () => hu
|
|
2851
|
+
}), pu = {
|
|
2852
|
+
type: $.Post,
|
|
2853
|
+
body: Z.Object({ domain: Z.String() }),
|
|
2854
|
+
response: { 200: Z.Object({
|
|
2855
|
+
key: Wl.keyConfig,
|
|
2856
|
+
message: Z.String()
|
|
2857
|
+
}) },
|
|
2858
|
+
url: "/key-config"
|
|
2859
|
+
}, mu = {
|
|
2860
|
+
type: $.Get,
|
|
2861
|
+
response: { 200: Z.Array(Wl.keyConfig) },
|
|
2862
|
+
url: "/key-config"
|
|
2863
|
+
}, hu = {
|
|
2864
|
+
type: $.Delete,
|
|
2865
|
+
params: Z.Object({ id: Z.String() }),
|
|
2866
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2867
|
+
url: "/key-config/:id"
|
|
2868
|
+
}, gu = {
|
|
2869
|
+
type: $.Post,
|
|
2870
|
+
body: Z.Object({
|
|
2871
|
+
domain: Z.String(),
|
|
2872
|
+
key: Z.String()
|
|
2873
|
+
}),
|
|
2874
|
+
dev: !0,
|
|
2875
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2876
|
+
url: "/key-config/check"
|
|
2877
|
+
}, _u = /* @__PURE__ */ Q({
|
|
2878
|
+
check: () => bu,
|
|
2879
|
+
link: () => yu,
|
|
2880
|
+
list: () => xu,
|
|
2881
|
+
reset: () => vu
|
|
2882
|
+
}), vu = {
|
|
2883
|
+
type: $.Post,
|
|
2884
|
+
body: Z.Object({ id: Z.String() }),
|
|
2885
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2886
|
+
url: "/license/reset"
|
|
2887
|
+
}, yu = {
|
|
2888
|
+
type: $.Post,
|
|
2889
|
+
body: Z.Object({
|
|
2890
|
+
name: Z.String(),
|
|
2891
|
+
fingerprint: Z.String(),
|
|
2892
|
+
key: Z.String()
|
|
2893
|
+
}),
|
|
2894
|
+
dev: !0,
|
|
2895
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2896
|
+
url: "/license/link"
|
|
2897
|
+
}, bu = {
|
|
2898
|
+
type: $.Post,
|
|
2899
|
+
body: Z.Object({
|
|
2900
|
+
fingerprint: Z.String(),
|
|
2901
|
+
key: Z.String()
|
|
2902
|
+
}),
|
|
2903
|
+
dev: !0,
|
|
2904
|
+
response: { 200: Z.Object({
|
|
2905
|
+
mail: Z.Optional(Z.String()),
|
|
2906
|
+
valid: Z.Boolean(),
|
|
2907
|
+
version: Z.Optional(Z.String())
|
|
2908
|
+
}) },
|
|
2909
|
+
url: "/license/check"
|
|
2910
|
+
}, xu = {
|
|
2911
|
+
type: $.Get,
|
|
2912
|
+
response: { 200: Z.Array(Z.Object({
|
|
2913
|
+
id: Z.String(),
|
|
2914
|
+
name: Z.String(),
|
|
2915
|
+
expirationDate: Nl,
|
|
2916
|
+
key: Z.String(),
|
|
2917
|
+
lastUsed: Nl,
|
|
2918
|
+
version: Z.String()
|
|
2919
|
+
})) },
|
|
2920
|
+
url: "/license/list"
|
|
2921
|
+
}, Su = /* @__PURE__ */ Q({
|
|
2922
|
+
activate: () => Cu,
|
|
2923
|
+
create: () => wu,
|
|
2924
|
+
signup: () => Tu
|
|
2925
|
+
}), Cu = {
|
|
2926
|
+
type: $.Get,
|
|
2927
|
+
params: Z.Object({
|
|
2928
|
+
id: Z.String(),
|
|
2929
|
+
token: Z.String()
|
|
2930
|
+
}),
|
|
2931
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
2932
|
+
url: "/magiclink/activate/:id/:token"
|
|
2933
|
+
}, wu = {
|
|
2934
|
+
type: $.Post,
|
|
2935
|
+
body: Z.Object({ mail: Z.String({ format: "email" }) }),
|
|
2936
|
+
response: { 200: Z.Object({
|
|
2937
|
+
expirationDate: Z.String(),
|
|
2938
|
+
message: Z.String()
|
|
2939
|
+
}) },
|
|
2940
|
+
url: "/magiclink/create"
|
|
2941
|
+
}, Tu = {
|
|
2942
|
+
type: $.Post,
|
|
2943
|
+
body: Z.Object({ mail: Z.String({ format: "email" }) }),
|
|
2944
|
+
response: { 200: Z.Object({
|
|
2945
|
+
expirationDate: Z.String(),
|
|
2946
|
+
message: Z.String()
|
|
2947
|
+
}) },
|
|
2948
|
+
url: "/magiclink/signup"
|
|
2949
|
+
}, Eu = /* @__PURE__ */ Q({
|
|
2950
|
+
checkout: () => Du,
|
|
2951
|
+
portal: () => Ou
|
|
2952
|
+
}), Du = {
|
|
2953
|
+
type: $.Post,
|
|
2954
|
+
body: Z.Object({ plan: Z.Union([Z.Literal(Vl.Pro), Z.Literal(Vl.Org)]) }),
|
|
2955
|
+
response: { 200: Z.Object({
|
|
2956
|
+
message: Z.String(),
|
|
2957
|
+
redirection: Z.String()
|
|
2958
|
+
}) },
|
|
2959
|
+
url: "/payment/checkout"
|
|
2960
|
+
}, Ou = {
|
|
2961
|
+
type: $.Post,
|
|
2962
|
+
response: { 200: Z.Object({
|
|
2963
|
+
message: Z.String(),
|
|
2964
|
+
redirection: Z.String()
|
|
2965
|
+
}) },
|
|
2966
|
+
url: "/payment/portal"
|
|
2967
|
+
}, ku = /* @__PURE__ */ Q({
|
|
2968
|
+
create: () => Au,
|
|
2969
|
+
edit: () => Nu,
|
|
2970
|
+
list: () => ju,
|
|
2971
|
+
proxy: () => Fu,
|
|
2972
|
+
remove: () => Mu,
|
|
2973
|
+
star: () => Pu
|
|
2974
|
+
}), Au = {
|
|
2975
|
+
type: $.Post,
|
|
2976
|
+
body: Z.Object({
|
|
2977
|
+
icon: Z.String(),
|
|
2978
|
+
template: Z.Union([
|
|
2979
|
+
Z.Literal("default"),
|
|
2980
|
+
Z.Literal("empty"),
|
|
2981
|
+
Z.Literal("frontend"),
|
|
2982
|
+
Z.Literal("backend"),
|
|
2983
|
+
Z.Literal("database"),
|
|
2984
|
+
Z.Literal("testing")
|
|
2985
|
+
]),
|
|
2986
|
+
title: Z.String()
|
|
2987
|
+
}),
|
|
2988
|
+
response: { 200: Z.Object({
|
|
2989
|
+
message: Z.String(),
|
|
2990
|
+
project: Wl.publicProject
|
|
2991
|
+
}) },
|
|
2992
|
+
url: "/project/create"
|
|
2993
|
+
}, ju = {
|
|
2994
|
+
type: $.Get,
|
|
2995
|
+
params: Z.Object({ type: Z.Union([
|
|
2996
|
+
Z.Literal("mine"),
|
|
2997
|
+
Z.Literal("popular"),
|
|
2998
|
+
Z.Literal("newest"),
|
|
2999
|
+
Z.Literal("random"),
|
|
3000
|
+
Z.Literal("search")
|
|
3001
|
+
]) }),
|
|
3002
|
+
querystring: Z.Object({
|
|
3003
|
+
limit: Z.Optional(Z.Number()),
|
|
3004
|
+
search: Z.Optional(Z.String()),
|
|
3005
|
+
skip: Z.Optional(Z.Number())
|
|
3006
|
+
}),
|
|
3007
|
+
response: { 200: Z.Object({ projects: Z.Array(Wl.publicProject) }) },
|
|
3008
|
+
url: "/project/list/:type"
|
|
3009
|
+
}, Mu = {
|
|
3010
|
+
type: $.Delete,
|
|
3011
|
+
params: Z.Object({ id: Z.String() }),
|
|
3012
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3013
|
+
url: "/project/remove/:id"
|
|
3014
|
+
}, Nu = {
|
|
3015
|
+
type: $.Post,
|
|
3016
|
+
body: Wl.privateProject,
|
|
3017
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3018
|
+
url: "/project/edit"
|
|
3019
|
+
}, Pu = {
|
|
3020
|
+
type: $.Post,
|
|
3021
|
+
body: Z.Object({
|
|
3022
|
+
id: Z.String(),
|
|
3023
|
+
like: Z.Boolean()
|
|
3024
|
+
}),
|
|
3025
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3026
|
+
url: "/project/star"
|
|
3027
|
+
}, Fu = {
|
|
3028
|
+
type: $.Post,
|
|
3029
|
+
body: Z.Object({
|
|
3030
|
+
body: Z.Optional(Z.Unknown()),
|
|
3031
|
+
headers: Z.Optional(Z.Record(Z.String(), Z.String())),
|
|
3032
|
+
method: Z.Optional(Z.Union([
|
|
3033
|
+
Z.Literal("GET"),
|
|
3034
|
+
Z.Literal("POST"),
|
|
3035
|
+
Z.Literal("PUT"),
|
|
3036
|
+
Z.Literal("DELETE")
|
|
3037
|
+
])),
|
|
3038
|
+
url: Z.String({ format: "uri" })
|
|
3039
|
+
}),
|
|
3040
|
+
response: { 200: Z.Unknown() },
|
|
3041
|
+
url: "/project/proxy"
|
|
3042
|
+
}, Iu = /* @__PURE__ */ Q({
|
|
3043
|
+
compile: () => Ru,
|
|
3044
|
+
get: () => Lu,
|
|
3045
|
+
update: () => zu
|
|
3046
|
+
}), Lu = {
|
|
3047
|
+
type: $.Get,
|
|
3048
|
+
params: Z.Object({
|
|
3049
|
+
id: Z.String(),
|
|
3050
|
+
script: Z.String()
|
|
3051
|
+
}),
|
|
3052
|
+
response: { 200: Z.String() },
|
|
3053
|
+
url: "/script/:id/:script"
|
|
3054
|
+
}, Ru = {
|
|
3055
|
+
type: $.Post,
|
|
3056
|
+
params: Z.Object({
|
|
3057
|
+
id: Z.String(),
|
|
3058
|
+
script: Z.String()
|
|
3059
|
+
}),
|
|
3060
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3061
|
+
url: "/script/:id/:script/compile"
|
|
3062
|
+
}, zu = {
|
|
3063
|
+
type: $.Post,
|
|
3064
|
+
body: Z.Object({ autoReload: Z.Optional(Z.Boolean()) }),
|
|
3065
|
+
params: Z.Object({
|
|
3066
|
+
id: Z.String(),
|
|
3067
|
+
script: Z.String()
|
|
3068
|
+
}),
|
|
3069
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3070
|
+
url: "/script/:id/:script/update"
|
|
3071
|
+
}, Bu = /* @__PURE__ */ Q({ tick: () => Vu }), Vu = {
|
|
3072
|
+
type: $.Post,
|
|
3073
|
+
body: Z.Object({
|
|
3074
|
+
data: Z.Optional(Z.Unknown()),
|
|
3075
|
+
scope: Z.String()
|
|
3076
|
+
}),
|
|
3077
|
+
response: { 200: Z.Object({}) },
|
|
3078
|
+
url: "/turnstile/tick"
|
|
3079
|
+
}, Hu = /* @__PURE__ */ Q({
|
|
3080
|
+
disconnect: () => Ku,
|
|
3081
|
+
get: () => Wu,
|
|
3082
|
+
ping: () => Uu,
|
|
3083
|
+
unsubscribe: () => Ju,
|
|
3084
|
+
update: () => Gu,
|
|
3085
|
+
waitlist: () => qu
|
|
3086
|
+
}), Uu = {
|
|
3087
|
+
type: $.Get,
|
|
3088
|
+
response: { 200: Z.Object({
|
|
3089
|
+
message: Z.String(),
|
|
3090
|
+
user: Z.Optional(Wl.user)
|
|
3091
|
+
}) },
|
|
3092
|
+
url: "/user/ping"
|
|
3093
|
+
}, Wu = {
|
|
3094
|
+
type: $.Get,
|
|
3095
|
+
response: { 200: Wl.user },
|
|
3096
|
+
url: "/user"
|
|
3097
|
+
}, Gu = {
|
|
3098
|
+
type: $.Post,
|
|
3099
|
+
body: Z.Partial(Wl.user),
|
|
3100
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3101
|
+
url: "/user"
|
|
3102
|
+
}, Ku = {
|
|
3103
|
+
type: $.Get,
|
|
3104
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3105
|
+
url: "/user/disconnect"
|
|
3106
|
+
}, qu = {
|
|
3107
|
+
type: $.Post,
|
|
3108
|
+
body: Z.Object({ mail: Z.String({ format: "email" }) }),
|
|
3109
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3110
|
+
url: "/user/waitlist"
|
|
3111
|
+
}, Ju = {
|
|
3112
|
+
type: $.Post,
|
|
3113
|
+
body: Z.Object({ id: Z.String() }),
|
|
3114
|
+
response: { 200: Z.Object({ message: Z.String() }) },
|
|
3115
|
+
url: "/user/unsubscribe"
|
|
3116
|
+
}, Yu = {
|
|
3117
|
+
app: Gl,
|
|
3118
|
+
auth: Jl,
|
|
3119
|
+
compiler: $l,
|
|
3120
|
+
desktop: ru,
|
|
3121
|
+
file: au,
|
|
3122
|
+
integrations: uu,
|
|
3123
|
+
keyConfig: fu,
|
|
3124
|
+
license: _u,
|
|
3125
|
+
magiclink: Su,
|
|
3126
|
+
payment: Eu,
|
|
3127
|
+
project: ku,
|
|
3128
|
+
script: Iu,
|
|
3129
|
+
turnstile: Bu,
|
|
3130
|
+
user: Hu
|
|
3131
|
+
}, Xu = {};
|
|
3132
|
+
for (let e of Object.keys(Yu)) {
|
|
3133
|
+
Xu[e] = {};
|
|
3134
|
+
for (let t of Object.keys(Yu[e])) {
|
|
3135
|
+
let n = Yu[e][t];
|
|
3136
|
+
Xu[e][t] = async (e = {}) => {
|
|
3137
|
+
let t = new URL(Ml.getBaseUrl({ dev: n.dev }) + n.url);
|
|
3138
|
+
if (n.params && e.params) for (let r of Object.keys(n.params.properties)) t.href = t.href.replace(`:${r}`, e.params[r]);
|
|
3139
|
+
if (e.querystring) for (let n of Object.keys(e.querystring)) e.querystring[n] && t.searchParams.append(n, e.querystring[n].toString());
|
|
3140
|
+
let r = Ml[n.type];
|
|
3141
|
+
n.multipart && (r = Ml.multipart);
|
|
3142
|
+
let i = await r(t.href, e.body), a = await Zu(i);
|
|
3143
|
+
if (i.status >= 400) throw Error(`Error ${i.status} (${i.statusText}): ${a.message || a}`);
|
|
3144
|
+
return a;
|
|
3145
|
+
};
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
function Zu(e) {
|
|
3149
|
+
return e.headers.get("Content-Type")?.startsWith("application/json") ? e.json() : e.text();
|
|
3150
|
+
}
|
|
3151
|
+
function Qu(e) {
|
|
3152
|
+
return e;
|
|
3153
|
+
}
|
|
3154
|
+
//#endregion
|
|
3155
|
+
//#region node_modules/.pnpm/@iconify+vue@5.0.1_vue@3.5.32_typescript@6.0.3_/node_modules/@iconify/vue/dist/iconify.mjs
|
|
3156
|
+
var $u = /^[a-z0-9]+(-[a-z0-9]+)*$/, ed = (e, t, n, r = "") => {
|
|
3157
|
+
let i = e.split(":");
|
|
3158
|
+
if (e.slice(0, 1) === "@") {
|
|
3159
|
+
if (i.length < 2 || i.length > 3) return null;
|
|
3160
|
+
r = i.shift().slice(1);
|
|
3161
|
+
}
|
|
3162
|
+
if (i.length > 3 || !i.length) return null;
|
|
3163
|
+
if (i.length > 1) {
|
|
3164
|
+
let e = i.pop(), n = i.pop(), a = {
|
|
3165
|
+
provider: i.length > 0 ? i[0] : r,
|
|
3166
|
+
prefix: n,
|
|
3167
|
+
name: e
|
|
3168
|
+
};
|
|
3169
|
+
return t && !td(a) ? null : a;
|
|
3170
|
+
}
|
|
3171
|
+
let a = i[0], o = a.split("-");
|
|
3172
|
+
if (o.length > 1) {
|
|
3173
|
+
let e = {
|
|
3174
|
+
provider: r,
|
|
3175
|
+
prefix: o.shift(),
|
|
3176
|
+
name: o.join("-")
|
|
3177
|
+
};
|
|
3178
|
+
return t && !td(e) ? null : e;
|
|
3179
|
+
}
|
|
3180
|
+
if (n && r === "") {
|
|
3181
|
+
let e = {
|
|
3182
|
+
provider: r,
|
|
3183
|
+
prefix: "",
|
|
3184
|
+
name: a
|
|
3185
|
+
};
|
|
3186
|
+
return t && !td(e, n) ? null : e;
|
|
3187
|
+
}
|
|
3188
|
+
return null;
|
|
3189
|
+
}, td = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1;
|
|
3190
|
+
function nd(e, t) {
|
|
3191
|
+
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
3192
|
+
function a(e) {
|
|
3193
|
+
if (n[e]) return i[e] = [];
|
|
3194
|
+
if (!(e in i)) {
|
|
3195
|
+
i[e] = null;
|
|
3196
|
+
let t = r[e] && r[e].parent, n = t && a(t);
|
|
3197
|
+
n && (i[e] = [t].concat(n));
|
|
3198
|
+
}
|
|
3199
|
+
return i[e];
|
|
3200
|
+
}
|
|
3201
|
+
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
3202
|
+
}
|
|
3203
|
+
var rd = Object.freeze({
|
|
3204
|
+
left: 0,
|
|
3205
|
+
top: 0,
|
|
3206
|
+
width: 16,
|
|
3207
|
+
height: 16
|
|
3208
|
+
}), id = Object.freeze({
|
|
3209
|
+
rotate: 0,
|
|
3210
|
+
vFlip: !1,
|
|
3211
|
+
hFlip: !1
|
|
3212
|
+
}), ad = Object.freeze({
|
|
3213
|
+
...rd,
|
|
3214
|
+
...id
|
|
3215
|
+
}), od = Object.freeze({
|
|
3216
|
+
...ad,
|
|
3217
|
+
body: "",
|
|
3218
|
+
hidden: !1
|
|
3219
|
+
});
|
|
3220
|
+
function sd(e, t) {
|
|
3221
|
+
let n = {};
|
|
3222
|
+
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
3223
|
+
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
3224
|
+
return r && (n.rotate = r), n;
|
|
3225
|
+
}
|
|
3226
|
+
function cd(e, t) {
|
|
3227
|
+
let n = sd(e, t);
|
|
3228
|
+
for (let r in od) r in id ? r in e && !(r in n) && (n[r] = id[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
3229
|
+
return n;
|
|
3230
|
+
}
|
|
3231
|
+
function ld(e, t, n) {
|
|
3232
|
+
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
3233
|
+
function o(e) {
|
|
3234
|
+
a = cd(r[e] || i[e], a);
|
|
3235
|
+
}
|
|
3236
|
+
return o(t), n.forEach(o), cd(e, a);
|
|
3237
|
+
}
|
|
3238
|
+
function ud(e, t) {
|
|
3239
|
+
let n = [];
|
|
3240
|
+
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
3241
|
+
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
3242
|
+
t(e, null), n.push(e);
|
|
3243
|
+
});
|
|
3244
|
+
let r = nd(e);
|
|
3245
|
+
for (let i in r) {
|
|
3246
|
+
let a = r[i];
|
|
3247
|
+
a && (t(i, ld(e, i, a)), n.push(i));
|
|
3248
|
+
}
|
|
3249
|
+
return n;
|
|
3250
|
+
}
|
|
3251
|
+
var dd = {
|
|
3252
|
+
provider: "",
|
|
3253
|
+
aliases: {},
|
|
3254
|
+
not_found: {},
|
|
3255
|
+
...rd
|
|
3256
|
+
};
|
|
3257
|
+
function fd(e, t) {
|
|
3258
|
+
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
3259
|
+
return !0;
|
|
3260
|
+
}
|
|
3261
|
+
function pd(e) {
|
|
3262
|
+
if (typeof e != "object" || !e) return null;
|
|
3263
|
+
let t = e;
|
|
3264
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !fd(e, dd)) return null;
|
|
3265
|
+
let n = t.icons;
|
|
3266
|
+
for (let e in n) {
|
|
3267
|
+
let t = n[e];
|
|
3268
|
+
if (!e || typeof t.body != "string" || !fd(t, od)) return null;
|
|
3269
|
+
}
|
|
3270
|
+
let r = t.aliases || Object.create(null);
|
|
3271
|
+
for (let e in r) {
|
|
3272
|
+
let t = r[e], i = t.parent;
|
|
3273
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !fd(t, od)) return null;
|
|
3274
|
+
}
|
|
3275
|
+
return t;
|
|
3276
|
+
}
|
|
3277
|
+
var md = Object.create(null);
|
|
3278
|
+
function hd(e, t) {
|
|
3279
|
+
return {
|
|
3280
|
+
provider: e,
|
|
3281
|
+
prefix: t,
|
|
3282
|
+
icons: Object.create(null),
|
|
3283
|
+
missing: /* @__PURE__ */ new Set()
|
|
3284
|
+
};
|
|
3285
|
+
}
|
|
3286
|
+
function gd(e, t) {
|
|
3287
|
+
let n = md[e] || (md[e] = Object.create(null));
|
|
3288
|
+
return n[t] || (n[t] = hd(e, t));
|
|
3289
|
+
}
|
|
3290
|
+
function _d(e, t) {
|
|
3291
|
+
return pd(t) ? ud(t, (t, n) => {
|
|
3292
|
+
n ? e.icons[t] = n : e.missing.add(t);
|
|
3293
|
+
}) : [];
|
|
3294
|
+
}
|
|
3295
|
+
function vd(e, t, n) {
|
|
3296
|
+
try {
|
|
3297
|
+
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
3298
|
+
} catch {}
|
|
3299
|
+
return !1;
|
|
3300
|
+
}
|
|
3301
|
+
var yd = !1;
|
|
3302
|
+
function bd(e) {
|
|
3303
|
+
return typeof e == "boolean" && (yd = e), yd;
|
|
3304
|
+
}
|
|
3305
|
+
function xd(e) {
|
|
3306
|
+
let t = typeof e == "string" ? ed(e, !0, yd) : e;
|
|
3307
|
+
if (t) {
|
|
3308
|
+
let e = gd(t.provider, t.prefix), n = t.name;
|
|
3309
|
+
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
3310
|
+
}
|
|
3311
|
+
}
|
|
3312
|
+
function Sd(e, t) {
|
|
3313
|
+
let n = ed(e, !0, yd);
|
|
3314
|
+
if (!n) return !1;
|
|
3315
|
+
let r = gd(n.provider, n.prefix);
|
|
3316
|
+
return t ? vd(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
3317
|
+
}
|
|
3318
|
+
function Cd(e, t) {
|
|
3319
|
+
if (typeof e != "object") return !1;
|
|
3320
|
+
if (typeof t != "string" && (t = e.provider || ""), yd && !t && !e.prefix) {
|
|
3321
|
+
let t = !1;
|
|
3322
|
+
return pd(e) && (e.prefix = "", ud(e, (e, n) => {
|
|
3323
|
+
Sd(e, n) && (t = !0);
|
|
3324
|
+
})), t;
|
|
3325
|
+
}
|
|
3326
|
+
let n = e.prefix;
|
|
3327
|
+
return td({
|
|
3328
|
+
prefix: n,
|
|
3329
|
+
name: "a"
|
|
3330
|
+
}) ? !!_d(gd(t, n), e) : !1;
|
|
3331
|
+
}
|
|
3332
|
+
var wd = Object.freeze({
|
|
3333
|
+
width: null,
|
|
3334
|
+
height: null
|
|
3335
|
+
}), Td = Object.freeze({
|
|
3336
|
+
...wd,
|
|
3337
|
+
...id
|
|
3338
|
+
}), Ed = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Dd = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
3339
|
+
function Od(e, t, n) {
|
|
3340
|
+
if (t === 1) return e;
|
|
3341
|
+
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
3342
|
+
if (typeof e != "string") return e;
|
|
3343
|
+
let r = e.split(Ed);
|
|
3344
|
+
if (r === null || !r.length) return e;
|
|
3345
|
+
let i = [], a = r.shift(), o = Dd.test(a);
|
|
3346
|
+
for (;;) {
|
|
3347
|
+
if (o) {
|
|
3348
|
+
let e = parseFloat(a);
|
|
3349
|
+
isNaN(e) ? i.push(a) : i.push(Math.ceil(e * t * n) / n);
|
|
3350
|
+
} else i.push(a);
|
|
3351
|
+
if (a = r.shift(), a === void 0) return i.join("");
|
|
3352
|
+
o = !o;
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
function kd(e, t = "defs") {
|
|
3356
|
+
let n = "", r = e.indexOf("<" + t);
|
|
3357
|
+
for (; r >= 0;) {
|
|
3358
|
+
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
3359
|
+
if (i === -1 || a === -1) break;
|
|
3360
|
+
let o = e.indexOf(">", a);
|
|
3361
|
+
if (o === -1) break;
|
|
3362
|
+
n += e.slice(i + 1, a).trim(), e = e.slice(0, r).trim() + e.slice(o + 1);
|
|
3363
|
+
}
|
|
3364
|
+
return {
|
|
3365
|
+
defs: n,
|
|
3366
|
+
content: e
|
|
3367
|
+
};
|
|
3368
|
+
}
|
|
3369
|
+
function Ad(e, t) {
|
|
3370
|
+
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
3371
|
+
}
|
|
3372
|
+
function jd(e, t, n) {
|
|
3373
|
+
let r = kd(e);
|
|
3374
|
+
return Ad(r.defs, t + r.content + n);
|
|
3375
|
+
}
|
|
3376
|
+
var Md = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
3377
|
+
function Nd(e, t) {
|
|
3378
|
+
let n = {
|
|
3379
|
+
...ad,
|
|
3380
|
+
...e
|
|
3381
|
+
}, r = {
|
|
3382
|
+
...Td,
|
|
3383
|
+
...t
|
|
3384
|
+
}, i = {
|
|
3385
|
+
left: n.left,
|
|
3386
|
+
top: n.top,
|
|
3387
|
+
width: n.width,
|
|
3388
|
+
height: n.height
|
|
3389
|
+
}, a = n.body;
|
|
3390
|
+
[n, r].forEach((e) => {
|
|
3391
|
+
let t = [], n = e.hFlip, r = e.vFlip, o = e.rotate;
|
|
3392
|
+
n ? r ? o += 2 : (t.push("translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"), t.push("scale(-1 1)"), i.top = i.left = 0) : r && (t.push("translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"), t.push("scale(1 -1)"), i.top = i.left = 0);
|
|
3393
|
+
let s;
|
|
3394
|
+
switch (o < 0 && (o -= Math.floor(o / 4) * 4), o %= 4, o) {
|
|
3395
|
+
case 1:
|
|
3396
|
+
s = i.height / 2 + i.top, t.unshift("rotate(90 " + s.toString() + " " + s.toString() + ")");
|
|
3397
|
+
break;
|
|
3398
|
+
case 2:
|
|
3399
|
+
t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
|
|
3400
|
+
break;
|
|
3401
|
+
case 3:
|
|
3402
|
+
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
3403
|
+
break;
|
|
3404
|
+
}
|
|
3405
|
+
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = jd(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
3406
|
+
});
|
|
3407
|
+
let o = r.width, s = r.height, c = i.width, l = i.height, u, ee;
|
|
3408
|
+
o === null ? (ee = s === null ? "1em" : s === "auto" ? l : s, u = Od(ee, c / l)) : (u = o === "auto" ? c : o, ee = s === null ? Od(u, l / c) : s === "auto" ? l : s);
|
|
3409
|
+
let d = {}, te = (e, t) => {
|
|
3410
|
+
Md(t) || (d[e] = t.toString());
|
|
3411
|
+
};
|
|
3412
|
+
te("width", u), te("height", ee);
|
|
3413
|
+
let f = [
|
|
3414
|
+
i.left,
|
|
3415
|
+
i.top,
|
|
3416
|
+
c,
|
|
3417
|
+
l
|
|
3418
|
+
];
|
|
3419
|
+
return d.viewBox = f.join(" "), {
|
|
3420
|
+
attributes: d,
|
|
3421
|
+
viewBox: f,
|
|
3422
|
+
body: a
|
|
3423
|
+
};
|
|
3424
|
+
}
|
|
3425
|
+
var Pd = /\sid="(\S+)"/g, Fd = /* @__PURE__ */ new Map();
|
|
3426
|
+
function Id(e) {
|
|
3427
|
+
e = e.replace(/[0-9]+$/, "") || "a";
|
|
3428
|
+
let t = Fd.get(e) || 0;
|
|
3429
|
+
return Fd.set(e, t + 1), t ? `${e}${t}` : e;
|
|
3430
|
+
}
|
|
3431
|
+
function Ld(e) {
|
|
3432
|
+
let t = [], n;
|
|
3433
|
+
for (; n = Pd.exec(e);) t.push(n[1]);
|
|
3434
|
+
if (!t.length) return e;
|
|
3435
|
+
let r = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
3436
|
+
return t.forEach((t) => {
|
|
3437
|
+
let n = Id(t), i = t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
3438
|
+
e = e.replace(RegExp("([#;\"])(" + i + ")([\")]|\\.[a-z])", "g"), "$1" + n + r + "$3");
|
|
3439
|
+
}), e = e.replace(new RegExp(r, "g"), ""), e;
|
|
3440
|
+
}
|
|
3441
|
+
var Rd = Object.create(null);
|
|
3442
|
+
function zd(e, t) {
|
|
3443
|
+
Rd[e] = t;
|
|
3444
|
+
}
|
|
3445
|
+
function Bd(e) {
|
|
3446
|
+
return Rd[e] || Rd[""];
|
|
3447
|
+
}
|
|
3448
|
+
function Vd(e) {
|
|
3449
|
+
let t;
|
|
3450
|
+
if (typeof e.resources == "string") t = [e.resources];
|
|
3451
|
+
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
3452
|
+
return {
|
|
3453
|
+
resources: t,
|
|
3454
|
+
path: e.path || "/",
|
|
3455
|
+
maxURL: e.maxURL || 500,
|
|
3456
|
+
rotate: e.rotate || 750,
|
|
3457
|
+
timeout: e.timeout || 5e3,
|
|
3458
|
+
random: e.random === !0,
|
|
3459
|
+
index: e.index || 0,
|
|
3460
|
+
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
3461
|
+
};
|
|
3462
|
+
}
|
|
3463
|
+
for (var Hd = Object.create(null), Ud = ["https://api.simplesvg.com", "https://api.unisvg.com"], Wd = []; Ud.length > 0;) Ud.length === 1 || Math.random() > .5 ? Wd.push(Ud.shift()) : Wd.push(Ud.pop());
|
|
3464
|
+
Hd[""] = Vd({ resources: ["https://api.iconify.design"].concat(Wd) });
|
|
3465
|
+
function Gd(e, t) {
|
|
3466
|
+
let n = Vd(t);
|
|
3467
|
+
return n === null ? !1 : (Hd[e] = n, !0);
|
|
3468
|
+
}
|
|
3469
|
+
function Kd(e) {
|
|
3470
|
+
return Hd[e];
|
|
3471
|
+
}
|
|
3472
|
+
var qd = (() => {
|
|
3473
|
+
let e;
|
|
3474
|
+
try {
|
|
3475
|
+
if (e = fetch, typeof e == "function") return e;
|
|
3476
|
+
} catch {}
|
|
3477
|
+
})();
|
|
3478
|
+
function Jd(e, t) {
|
|
3479
|
+
let n = Kd(e);
|
|
3480
|
+
if (!n) return 0;
|
|
3481
|
+
let r;
|
|
3482
|
+
if (!n.maxURL) r = 0;
|
|
3483
|
+
else {
|
|
3484
|
+
let e = 0;
|
|
3485
|
+
n.resources.forEach((t) => {
|
|
3486
|
+
e = Math.max(e, t.length);
|
|
3487
|
+
});
|
|
3488
|
+
let i = t + ".json?icons=";
|
|
3489
|
+
r = n.maxURL - e - n.path.length - i.length;
|
|
3490
|
+
}
|
|
3491
|
+
return r;
|
|
3492
|
+
}
|
|
3493
|
+
function Yd(e) {
|
|
3494
|
+
return e === 404;
|
|
3495
|
+
}
|
|
3496
|
+
var Xd = (e, t, n) => {
|
|
3497
|
+
let r = [], i = Jd(e, t), a = "icons", o = {
|
|
3498
|
+
type: a,
|
|
3499
|
+
provider: e,
|
|
3500
|
+
prefix: t,
|
|
3501
|
+
icons: []
|
|
3502
|
+
}, s = 0;
|
|
3503
|
+
return n.forEach((n, c) => {
|
|
3504
|
+
s += n.length + 1, s >= i && c > 0 && (r.push(o), o = {
|
|
3505
|
+
type: a,
|
|
3506
|
+
provider: e,
|
|
3507
|
+
prefix: t,
|
|
3508
|
+
icons: []
|
|
3509
|
+
}, s = n.length), o.icons.push(n);
|
|
3510
|
+
}), r.push(o), r;
|
|
3511
|
+
};
|
|
3512
|
+
function Zd(e) {
|
|
3513
|
+
if (typeof e == "string") {
|
|
3514
|
+
let t = Kd(e);
|
|
3515
|
+
if (t) return t.path;
|
|
3516
|
+
}
|
|
3517
|
+
return "/";
|
|
3518
|
+
}
|
|
3519
|
+
var Qd = {
|
|
3520
|
+
prepare: Xd,
|
|
3521
|
+
send: (e, t, n) => {
|
|
3522
|
+
if (!qd) {
|
|
3523
|
+
n("abort", 424);
|
|
3524
|
+
return;
|
|
3525
|
+
}
|
|
3526
|
+
let r = Zd(t.provider);
|
|
3527
|
+
switch (t.type) {
|
|
3528
|
+
case "icons": {
|
|
3529
|
+
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
3530
|
+
r += e + ".json?" + i.toString();
|
|
3531
|
+
break;
|
|
3532
|
+
}
|
|
3533
|
+
case "custom": {
|
|
3534
|
+
let e = t.uri;
|
|
3535
|
+
r += e.slice(0, 1) === "/" ? e.slice(1) : e;
|
|
3536
|
+
break;
|
|
3537
|
+
}
|
|
3538
|
+
default:
|
|
3539
|
+
n("abort", 400);
|
|
3540
|
+
return;
|
|
3541
|
+
}
|
|
3542
|
+
let i = 503;
|
|
3543
|
+
qd(e + r).then((e) => {
|
|
3544
|
+
let t = e.status;
|
|
3545
|
+
if (t !== 200) {
|
|
3546
|
+
setTimeout(() => {
|
|
3547
|
+
n(Yd(t) ? "abort" : "next", t);
|
|
3548
|
+
});
|
|
3549
|
+
return;
|
|
3550
|
+
}
|
|
3551
|
+
return i = 501, e.json();
|
|
3552
|
+
}).then((e) => {
|
|
3553
|
+
if (typeof e != "object" || !e) {
|
|
3554
|
+
setTimeout(() => {
|
|
3555
|
+
e === 404 ? n("abort", e) : n("next", i);
|
|
3556
|
+
});
|
|
3557
|
+
return;
|
|
3558
|
+
}
|
|
3559
|
+
setTimeout(() => {
|
|
3560
|
+
n("success", e);
|
|
3561
|
+
});
|
|
3562
|
+
}).catch(() => {
|
|
3563
|
+
n("next", i);
|
|
3564
|
+
});
|
|
3565
|
+
}
|
|
3566
|
+
};
|
|
3567
|
+
function $d(e, t) {
|
|
3568
|
+
e.forEach((e) => {
|
|
3569
|
+
let n = e.loaderCallbacks;
|
|
3570
|
+
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
3571
|
+
});
|
|
3572
|
+
}
|
|
3573
|
+
function ef(e) {
|
|
3574
|
+
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
3575
|
+
e.pendingCallbacksFlag = !1;
|
|
3576
|
+
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
3577
|
+
if (!t.length) return;
|
|
3578
|
+
let n = !1, r = e.provider, i = e.prefix;
|
|
3579
|
+
t.forEach((t) => {
|
|
3580
|
+
let a = t.icons, o = a.pending.length;
|
|
3581
|
+
a.pending = a.pending.filter((t) => {
|
|
3582
|
+
if (t.prefix !== i) return !0;
|
|
3583
|
+
let o = t.name;
|
|
3584
|
+
if (e.icons[o]) a.loaded.push({
|
|
3585
|
+
provider: r,
|
|
3586
|
+
prefix: i,
|
|
3587
|
+
name: o
|
|
3588
|
+
});
|
|
3589
|
+
else if (e.missing.has(o)) a.missing.push({
|
|
3590
|
+
provider: r,
|
|
3591
|
+
prefix: i,
|
|
3592
|
+
name: o
|
|
3593
|
+
});
|
|
3594
|
+
else return n = !0, !0;
|
|
3595
|
+
return !1;
|
|
3596
|
+
}), a.pending.length !== o && (n || $d([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
3597
|
+
});
|
|
3598
|
+
}));
|
|
3599
|
+
}
|
|
3600
|
+
var tf = 0;
|
|
3601
|
+
function nf(e, t, n) {
|
|
3602
|
+
let r = tf++, i = $d.bind(null, n, r);
|
|
3603
|
+
if (!t.pending.length) return i;
|
|
3604
|
+
let a = {
|
|
3605
|
+
id: r,
|
|
3606
|
+
icons: t,
|
|
3607
|
+
callback: e,
|
|
3608
|
+
abort: i
|
|
3609
|
+
};
|
|
3610
|
+
return n.forEach((e) => {
|
|
3611
|
+
(e.loaderCallbacks ||= []).push(a);
|
|
3612
|
+
}), i;
|
|
3613
|
+
}
|
|
3614
|
+
function rf(e) {
|
|
3615
|
+
let t = {
|
|
3616
|
+
loaded: [],
|
|
3617
|
+
missing: [],
|
|
3618
|
+
pending: []
|
|
3619
|
+
}, n = Object.create(null);
|
|
3620
|
+
e.sort((e, t) => e.provider === t.provider ? e.prefix === t.prefix ? e.name.localeCompare(t.name) : e.prefix.localeCompare(t.prefix) : e.provider.localeCompare(t.provider));
|
|
3621
|
+
let r = {
|
|
3622
|
+
provider: "",
|
|
3623
|
+
prefix: "",
|
|
3624
|
+
name: ""
|
|
3625
|
+
};
|
|
3626
|
+
return e.forEach((e) => {
|
|
3627
|
+
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
3628
|
+
r = e;
|
|
3629
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = gd(i, a)), l;
|
|
3630
|
+
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending;
|
|
3631
|
+
let u = {
|
|
3632
|
+
provider: i,
|
|
3633
|
+
prefix: a,
|
|
3634
|
+
name: o
|
|
3635
|
+
};
|
|
3636
|
+
l.push(u);
|
|
3637
|
+
}), t;
|
|
3638
|
+
}
|
|
3639
|
+
function af(e, t = !0, n = !1) {
|
|
3640
|
+
let r = [];
|
|
3641
|
+
return e.forEach((e) => {
|
|
3642
|
+
let i = typeof e == "string" ? ed(e, t, n) : e;
|
|
3643
|
+
i && r.push(i);
|
|
3644
|
+
}), r;
|
|
3645
|
+
}
|
|
3646
|
+
var of = {
|
|
3647
|
+
resources: [],
|
|
3648
|
+
index: 0,
|
|
3649
|
+
timeout: 2e3,
|
|
3650
|
+
rotate: 750,
|
|
3651
|
+
random: !1,
|
|
3652
|
+
dataAfterTimeout: !1
|
|
3653
|
+
};
|
|
3654
|
+
function sf(e, t, n, r) {
|
|
3655
|
+
let i = e.resources.length, a = e.random ? Math.floor(Math.random() * i) : e.index, o;
|
|
3656
|
+
if (e.random) {
|
|
3657
|
+
let t = e.resources.slice(0);
|
|
3658
|
+
for (o = []; t.length > 1;) {
|
|
3659
|
+
let e = Math.floor(Math.random() * t.length);
|
|
3660
|
+
o.push(t[e]), t = t.slice(0, e).concat(t.slice(e + 1));
|
|
3661
|
+
}
|
|
3662
|
+
o = o.concat(t);
|
|
3663
|
+
} else o = e.resources.slice(a).concat(e.resources.slice(0, a));
|
|
3664
|
+
let s = Date.now(), c = "pending", l = 0, u, ee = null, d = [], te = [];
|
|
3665
|
+
typeof r == "function" && te.push(r);
|
|
3666
|
+
function f() {
|
|
3667
|
+
ee &&= (clearTimeout(ee), null);
|
|
3668
|
+
}
|
|
3669
|
+
function ne() {
|
|
3670
|
+
c === "pending" && (c = "aborted"), f(), d.forEach((e) => {
|
|
3671
|
+
e.status === "pending" && (e.status = "aborted");
|
|
3672
|
+
}), d = [];
|
|
3673
|
+
}
|
|
3674
|
+
function re(e, t) {
|
|
3675
|
+
t && (te = []), typeof e == "function" && te.push(e);
|
|
3676
|
+
}
|
|
3677
|
+
function p() {
|
|
3678
|
+
return {
|
|
3679
|
+
startTime: s,
|
|
3680
|
+
payload: t,
|
|
3681
|
+
status: c,
|
|
3682
|
+
queriesSent: l,
|
|
3683
|
+
queriesPending: d.length,
|
|
3684
|
+
subscribe: re,
|
|
3685
|
+
abort: ne
|
|
3686
|
+
};
|
|
3687
|
+
}
|
|
3688
|
+
function ie() {
|
|
3689
|
+
c = "failed", te.forEach((e) => {
|
|
3690
|
+
e(void 0, u);
|
|
3691
|
+
});
|
|
3692
|
+
}
|
|
3693
|
+
function ae() {
|
|
3694
|
+
d.forEach((e) => {
|
|
3695
|
+
e.status === "pending" && (e.status = "aborted");
|
|
3696
|
+
}), d = [];
|
|
3697
|
+
}
|
|
3698
|
+
function oe(t, n, r) {
|
|
3699
|
+
let i = n !== "success";
|
|
3700
|
+
switch (d = d.filter((e) => e !== t), c) {
|
|
3701
|
+
case "pending": break;
|
|
3702
|
+
case "failed":
|
|
3703
|
+
if (i || !e.dataAfterTimeout) return;
|
|
3704
|
+
break;
|
|
3705
|
+
default: return;
|
|
3706
|
+
}
|
|
3707
|
+
if (n === "abort") {
|
|
3708
|
+
u = r, ie();
|
|
3709
|
+
return;
|
|
3710
|
+
}
|
|
3711
|
+
if (i) {
|
|
3712
|
+
u = r, d.length || (o.length ? se() : ie());
|
|
3713
|
+
return;
|
|
3714
|
+
}
|
|
3715
|
+
if (f(), ae(), !e.random) {
|
|
3716
|
+
let n = e.resources.indexOf(t.resource);
|
|
3717
|
+
n !== -1 && n !== e.index && (e.index = n);
|
|
3718
|
+
}
|
|
3719
|
+
c = "completed", te.forEach((e) => {
|
|
3720
|
+
e(r);
|
|
3721
|
+
});
|
|
3722
|
+
}
|
|
3723
|
+
function se() {
|
|
3724
|
+
if (c !== "pending") return;
|
|
3725
|
+
f();
|
|
3726
|
+
let r = o.shift();
|
|
3727
|
+
if (r === void 0) {
|
|
3728
|
+
if (d.length) {
|
|
3729
|
+
ee = setTimeout(() => {
|
|
3730
|
+
f(), c === "pending" && (ae(), ie());
|
|
3731
|
+
}, e.timeout);
|
|
3732
|
+
return;
|
|
3733
|
+
}
|
|
3734
|
+
ie();
|
|
3735
|
+
return;
|
|
3736
|
+
}
|
|
3737
|
+
let i = {
|
|
3738
|
+
status: "pending",
|
|
3739
|
+
resource: r,
|
|
3740
|
+
callback: (e, t) => {
|
|
3741
|
+
oe(i, e, t);
|
|
3742
|
+
}
|
|
3743
|
+
};
|
|
3744
|
+
d.push(i), l++, ee = setTimeout(se, e.rotate), n(r, t, i.callback);
|
|
3745
|
+
}
|
|
3746
|
+
return setTimeout(se), p;
|
|
3747
|
+
}
|
|
3748
|
+
function cf(e) {
|
|
3749
|
+
let t = {
|
|
3750
|
+
...of,
|
|
3751
|
+
...e
|
|
3752
|
+
}, n = [];
|
|
3753
|
+
function r() {
|
|
3754
|
+
n = n.filter((e) => e().status === "pending");
|
|
3755
|
+
}
|
|
3756
|
+
function i(e, i, a) {
|
|
3757
|
+
let o = sf(t, e, i, (e, t) => {
|
|
3758
|
+
r(), a && a(e, t);
|
|
3759
|
+
});
|
|
3760
|
+
return n.push(o), o;
|
|
3761
|
+
}
|
|
3762
|
+
function a(e) {
|
|
3763
|
+
return n.find((t) => e(t)) || null;
|
|
3764
|
+
}
|
|
3765
|
+
return {
|
|
3766
|
+
query: i,
|
|
3767
|
+
find: a,
|
|
3768
|
+
setIndex: (e) => {
|
|
3769
|
+
t.index = e;
|
|
3770
|
+
},
|
|
3771
|
+
getIndex: () => t.index,
|
|
3772
|
+
cleanup: r
|
|
3773
|
+
};
|
|
3774
|
+
}
|
|
3775
|
+
function lf() {}
|
|
3776
|
+
var uf = Object.create(null);
|
|
3777
|
+
function df(e) {
|
|
3778
|
+
if (!uf[e]) {
|
|
3779
|
+
let t = Kd(e);
|
|
3780
|
+
if (!t) return;
|
|
3781
|
+
uf[e] = {
|
|
3782
|
+
config: t,
|
|
3783
|
+
redundancy: cf(t)
|
|
3784
|
+
};
|
|
3785
|
+
}
|
|
3786
|
+
return uf[e];
|
|
3787
|
+
}
|
|
3788
|
+
function ff(e, t, n) {
|
|
3789
|
+
let r, i;
|
|
3790
|
+
if (typeof e == "string") {
|
|
3791
|
+
let t = Bd(e);
|
|
3792
|
+
if (!t) return n(void 0, 424), lf;
|
|
3793
|
+
i = t.send;
|
|
3794
|
+
let a = df(e);
|
|
3795
|
+
a && (r = a.redundancy);
|
|
3796
|
+
} else {
|
|
3797
|
+
let t = Vd(e);
|
|
3798
|
+
if (t) {
|
|
3799
|
+
r = cf(t);
|
|
3800
|
+
let n = Bd(e.resources ? e.resources[0] : "");
|
|
3801
|
+
n && (i = n.send);
|
|
3802
|
+
}
|
|
3803
|
+
}
|
|
3804
|
+
return !r || !i ? (n(void 0, 424), lf) : r.query(t, i, n)().abort;
|
|
3805
|
+
}
|
|
3806
|
+
function pf() {}
|
|
3807
|
+
function mf(e) {
|
|
3808
|
+
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
3809
|
+
e.iconsLoaderFlag = !1, ef(e);
|
|
3810
|
+
}));
|
|
3811
|
+
}
|
|
3812
|
+
function hf(e) {
|
|
3813
|
+
let t = [], n = [];
|
|
3814
|
+
return e.forEach((e) => {
|
|
3815
|
+
(e.match($u) ? t : n).push(e);
|
|
3816
|
+
}), {
|
|
3817
|
+
valid: t,
|
|
3818
|
+
invalid: n
|
|
3819
|
+
};
|
|
3820
|
+
}
|
|
3821
|
+
function gf(e, t, n) {
|
|
3822
|
+
function r() {
|
|
3823
|
+
let n = e.pendingIcons;
|
|
3824
|
+
t.forEach((t) => {
|
|
3825
|
+
n && n.delete(t), e.icons[t] || e.missing.add(t);
|
|
3826
|
+
});
|
|
3827
|
+
}
|
|
3828
|
+
if (n && typeof n == "object") try {
|
|
3829
|
+
if (!_d(e, n).length) {
|
|
3830
|
+
r();
|
|
3831
|
+
return;
|
|
3832
|
+
}
|
|
3833
|
+
} catch (e) {
|
|
3834
|
+
console.error(e);
|
|
3835
|
+
}
|
|
3836
|
+
r(), mf(e);
|
|
3837
|
+
}
|
|
3838
|
+
function _f(e, t) {
|
|
3839
|
+
e instanceof Promise ? e.then((e) => {
|
|
3840
|
+
t(e);
|
|
3841
|
+
}).catch(() => {
|
|
3842
|
+
t(null);
|
|
3843
|
+
}) : t(e);
|
|
3844
|
+
}
|
|
3845
|
+
function vf(e, t) {
|
|
3846
|
+
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
3847
|
+
e.iconsQueueFlag = !1;
|
|
3848
|
+
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
3849
|
+
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
3850
|
+
let i = e.loadIcon;
|
|
3851
|
+
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
3852
|
+
_f(e.loadIcons(r, n, t), (t) => {
|
|
3853
|
+
gf(e, r, t);
|
|
3854
|
+
});
|
|
3855
|
+
return;
|
|
3856
|
+
}
|
|
3857
|
+
if (i) {
|
|
3858
|
+
r.forEach((r) => {
|
|
3859
|
+
_f(i(r, n, t), (t) => {
|
|
3860
|
+
gf(e, [r], t ? {
|
|
3861
|
+
prefix: n,
|
|
3862
|
+
icons: { [r]: t }
|
|
3863
|
+
} : null);
|
|
3864
|
+
});
|
|
3865
|
+
});
|
|
3866
|
+
return;
|
|
3867
|
+
}
|
|
3868
|
+
let { valid: a, invalid: o } = hf(r);
|
|
3869
|
+
if (o.length && gf(e, o, null), !a.length) return;
|
|
3870
|
+
let s = n.match($u) ? Bd(t) : null;
|
|
3871
|
+
if (!s) {
|
|
3872
|
+
gf(e, a, null);
|
|
3873
|
+
return;
|
|
3874
|
+
}
|
|
3875
|
+
s.prepare(t, n, a).forEach((n) => {
|
|
3876
|
+
ff(t, n, (t) => {
|
|
3877
|
+
gf(e, n.icons, t);
|
|
3878
|
+
});
|
|
3879
|
+
});
|
|
3880
|
+
}));
|
|
3881
|
+
}
|
|
3882
|
+
var yf = (e, t) => {
|
|
3883
|
+
let n = rf(af(e, !0, bd()));
|
|
3884
|
+
if (!n.pending.length) {
|
|
3885
|
+
let e = !0;
|
|
3886
|
+
return t && setTimeout(() => {
|
|
3887
|
+
e && t(n.loaded, n.missing, n.pending, pf);
|
|
3888
|
+
}), () => {
|
|
3889
|
+
e = !1;
|
|
3890
|
+
};
|
|
3891
|
+
}
|
|
3892
|
+
let r = Object.create(null), i = [], a, o;
|
|
3893
|
+
return n.pending.forEach((e) => {
|
|
3894
|
+
let { provider: t, prefix: n } = e;
|
|
3895
|
+
if (n === o && t === a) return;
|
|
3896
|
+
a = t, o = n, i.push(gd(t, n));
|
|
3897
|
+
let s = r[t] || (r[t] = Object.create(null));
|
|
3898
|
+
s[n] || (s[n] = []);
|
|
3899
|
+
}), n.pending.forEach((e) => {
|
|
3900
|
+
let { provider: t, prefix: n, name: i } = e, a = gd(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
3901
|
+
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
3902
|
+
}), i.forEach((e) => {
|
|
3903
|
+
let t = r[e.provider][e.prefix];
|
|
3904
|
+
t.length && vf(e, t);
|
|
3905
|
+
}), t ? nf(t, n, i) : pf;
|
|
3906
|
+
};
|
|
3907
|
+
function bf(e, t) {
|
|
3908
|
+
let n = { ...e };
|
|
3909
|
+
for (let e in t) {
|
|
3910
|
+
let r = t[e], i = typeof r;
|
|
3911
|
+
e in wd ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
3912
|
+
}
|
|
3913
|
+
return n;
|
|
3914
|
+
}
|
|
3915
|
+
var xf = /[\s,]+/;
|
|
3916
|
+
function Sf(e, t) {
|
|
3917
|
+
t.split(xf).forEach((t) => {
|
|
3918
|
+
switch (t.trim()) {
|
|
3919
|
+
case "horizontal":
|
|
3920
|
+
e.hFlip = !0;
|
|
3921
|
+
break;
|
|
3922
|
+
case "vertical":
|
|
3923
|
+
e.vFlip = !0;
|
|
3924
|
+
break;
|
|
3925
|
+
}
|
|
3926
|
+
});
|
|
3927
|
+
}
|
|
3928
|
+
function Cf(e, t = 0) {
|
|
3929
|
+
let n = e.replace(/^-?[0-9.]*/, "");
|
|
3930
|
+
function r(e) {
|
|
3931
|
+
for (; e < 0;) e += 4;
|
|
3932
|
+
return e % 4;
|
|
3933
|
+
}
|
|
3934
|
+
if (n === "") {
|
|
3935
|
+
let t = parseInt(e);
|
|
3936
|
+
return isNaN(t) ? 0 : r(t);
|
|
3937
|
+
} else if (n !== e) {
|
|
3938
|
+
let t = 0;
|
|
3939
|
+
switch (n) {
|
|
3940
|
+
case "%":
|
|
3941
|
+
t = 25;
|
|
3942
|
+
break;
|
|
3943
|
+
case "deg": t = 90;
|
|
3944
|
+
}
|
|
3945
|
+
if (t) {
|
|
3946
|
+
let i = parseFloat(e.slice(0, e.length - n.length));
|
|
3947
|
+
return isNaN(i) ? 0 : (i /= t, i % 1 == 0 ? r(i) : 0);
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
return t;
|
|
3951
|
+
}
|
|
3952
|
+
function wf(e, t) {
|
|
3953
|
+
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
3954
|
+
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
3955
|
+
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
3956
|
+
}
|
|
3957
|
+
function Tf(e) {
|
|
3958
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3959
|
+
}
|
|
3960
|
+
function Ef(e) {
|
|
3961
|
+
return "data:image/svg+xml," + Tf(e);
|
|
3962
|
+
}
|
|
3963
|
+
function Df(e) {
|
|
3964
|
+
return "url(\"" + Ef(e) + "\")";
|
|
3965
|
+
}
|
|
3966
|
+
var Of = {
|
|
3967
|
+
...Td,
|
|
3968
|
+
inline: !1
|
|
3969
|
+
}, kf = {
|
|
3970
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3971
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3972
|
+
"aria-hidden": !0,
|
|
3973
|
+
role: "img"
|
|
3974
|
+
}, Af = { display: "inline-block" }, jf = { backgroundColor: "currentColor" }, Mf = { backgroundColor: "transparent" }, Nf = {
|
|
3975
|
+
Image: "var(--svg)",
|
|
3976
|
+
Repeat: "no-repeat",
|
|
3977
|
+
Size: "100% 100%"
|
|
3978
|
+
}, Pf = {
|
|
3979
|
+
webkitMask: jf,
|
|
3980
|
+
mask: jf,
|
|
3981
|
+
background: Mf
|
|
3982
|
+
};
|
|
3983
|
+
for (let e in Pf) {
|
|
3984
|
+
let t = Pf[e];
|
|
3985
|
+
for (let n in Nf) t[e + n] = Nf[n];
|
|
3986
|
+
}
|
|
3987
|
+
var Ff = {};
|
|
3988
|
+
["horizontal", "vertical"].forEach((e) => {
|
|
3989
|
+
let t = e.slice(0, 1) + "Flip";
|
|
3990
|
+
Ff[e + "-flip"] = t, Ff[e.slice(0, 1) + "-flip"] = t, Ff[e + "Flip"] = t;
|
|
3991
|
+
});
|
|
3992
|
+
function If(e) {
|
|
3993
|
+
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3994
|
+
}
|
|
3995
|
+
var Lf = (e, t) => {
|
|
3996
|
+
let r = bf(Of, t), i = { ...kf }, a = t.mode || "svg", o = {}, s = t.style, c = typeof s == "object" && !(s instanceof Array) ? s : {};
|
|
3997
|
+
for (let e in t) {
|
|
3998
|
+
let n = t[e];
|
|
3999
|
+
if (n !== void 0) switch (e) {
|
|
4000
|
+
case "icon":
|
|
4001
|
+
case "style":
|
|
4002
|
+
case "onLoad":
|
|
4003
|
+
case "mode":
|
|
4004
|
+
case "ssr":
|
|
4005
|
+
case "customise": break;
|
|
4006
|
+
case "inline":
|
|
4007
|
+
case "hFlip":
|
|
4008
|
+
case "vFlip":
|
|
4009
|
+
r[e] = n === !0 || n === "true" || n === 1;
|
|
4010
|
+
break;
|
|
4011
|
+
case "flip":
|
|
4012
|
+
typeof n == "string" && Sf(r, n);
|
|
4013
|
+
break;
|
|
4014
|
+
case "color":
|
|
4015
|
+
o.color = n;
|
|
4016
|
+
break;
|
|
4017
|
+
case "rotate":
|
|
4018
|
+
typeof n == "string" ? r[e] = Cf(n) : typeof n == "number" && (r[e] = n);
|
|
4019
|
+
break;
|
|
4020
|
+
case "ariaHidden":
|
|
4021
|
+
case "aria-hidden":
|
|
4022
|
+
n !== !0 && n !== "true" && delete i["aria-hidden"];
|
|
4023
|
+
break;
|
|
4024
|
+
default: {
|
|
4025
|
+
let t = Ff[e];
|
|
4026
|
+
t ? (n === !0 || n === "true" || n === 1) && (r[t] = !0) : Of[e] === void 0 && (i[e] = n);
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
let l = Nd(e, r), u = l.attributes;
|
|
4031
|
+
if (r.inline && (o.verticalAlign = "-0.125em"), a === "svg") return i.style = {
|
|
4032
|
+
...o,
|
|
4033
|
+
...c
|
|
4034
|
+
}, Object.assign(i, u), i.innerHTML = Ld(l.body), n("svg", i);
|
|
4035
|
+
let { body: ee, width: d, height: te } = e, f = a === "mask" || (a === "bg" ? !1 : ee.indexOf("currentColor") !== -1), ne = wf(ee, {
|
|
4036
|
+
...u,
|
|
4037
|
+
width: d + "",
|
|
4038
|
+
height: te + ""
|
|
4039
|
+
});
|
|
4040
|
+
return i.style = {
|
|
4041
|
+
...o,
|
|
4042
|
+
"--svg": Df(ne),
|
|
4043
|
+
width: If(u.width),
|
|
4044
|
+
height: If(u.height),
|
|
4045
|
+
...Af,
|
|
4046
|
+
...f ? jf : Mf,
|
|
4047
|
+
...c
|
|
4048
|
+
}, n("span", i);
|
|
4049
|
+
};
|
|
4050
|
+
if (bd(!0), zd("", Qd), typeof document < "u" && typeof window < "u") {
|
|
4051
|
+
let e = window;
|
|
4052
|
+
if (e.IconifyPreload !== void 0) {
|
|
4053
|
+
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
4054
|
+
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
4055
|
+
try {
|
|
4056
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Cd(e)) && console.error(n);
|
|
4057
|
+
} catch {
|
|
4058
|
+
console.error(n);
|
|
4059
|
+
}
|
|
4060
|
+
});
|
|
4061
|
+
}
|
|
4062
|
+
if (e.IconifyProviders !== void 0) {
|
|
4063
|
+
let t = e.IconifyProviders;
|
|
4064
|
+
if (typeof t == "object" && t) for (let e in t) {
|
|
4065
|
+
let n = "IconifyProviders[" + e + "] is invalid.";
|
|
4066
|
+
try {
|
|
4067
|
+
let r = t[e];
|
|
4068
|
+
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
4069
|
+
Gd(e, r) || console.error(n);
|
|
4070
|
+
} catch {
|
|
4071
|
+
console.error(n);
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
}
|
|
4076
|
+
var Rf = {
|
|
4077
|
+
...ad,
|
|
4078
|
+
body: ""
|
|
4079
|
+
}, zf = t((e, { emit: t }) => {
|
|
4080
|
+
let n = c(null);
|
|
4081
|
+
function i() {
|
|
4082
|
+
n.value &&= (n.value.abort?.(), null);
|
|
4083
|
+
}
|
|
4084
|
+
let s = c(!!e.ssr), u = c(""), d = l(null);
|
|
4085
|
+
function te() {
|
|
4086
|
+
let a = e.icon;
|
|
4087
|
+
if (typeof a == "object" && a && typeof a.body == "string") return u.value = "", { data: a };
|
|
4088
|
+
let o;
|
|
4089
|
+
if (typeof a != "string" || (o = ed(a, !1, !0)) === null) return null;
|
|
4090
|
+
let s = xd(o);
|
|
4091
|
+
if (!s) {
|
|
4092
|
+
let e = n.value;
|
|
4093
|
+
return (!e || e.name !== a) && (s === null ? n.value = { name: a } : n.value = {
|
|
4094
|
+
name: a,
|
|
4095
|
+
abort: yf([o], f)
|
|
4096
|
+
}), null;
|
|
4097
|
+
}
|
|
4098
|
+
i(), u.value !== a && (u.value = a, r(() => {
|
|
4099
|
+
t("load", a);
|
|
4100
|
+
}));
|
|
4101
|
+
let c = e.customise;
|
|
4102
|
+
if (c) {
|
|
4103
|
+
s = Object.assign({}, s);
|
|
4104
|
+
let e = c(s.body, o.name, o.prefix, o.provider);
|
|
4105
|
+
typeof e == "string" && (s.body = e);
|
|
4106
|
+
}
|
|
4107
|
+
let l = ["iconify"];
|
|
4108
|
+
return o.prefix !== "" && l.push("iconify--" + o.prefix), o.provider !== "" && l.push("iconify--" + o.provider), {
|
|
4109
|
+
data: s,
|
|
4110
|
+
classes: l
|
|
4111
|
+
};
|
|
4112
|
+
}
|
|
4113
|
+
function f() {
|
|
4114
|
+
let e = te();
|
|
4115
|
+
e ? e.data !== d.value?.data && (d.value = e) : d.value = null;
|
|
4116
|
+
}
|
|
4117
|
+
return s.value ? f() : a(() => {
|
|
4118
|
+
s.value = !0, f();
|
|
4119
|
+
}), ee(() => e.icon, f), o(i), () => {
|
|
4120
|
+
let t = d.value;
|
|
4121
|
+
if (!t) return Lf(Rf, e);
|
|
4122
|
+
let n = e;
|
|
4123
|
+
return t.classes && (n = {
|
|
4124
|
+
...e,
|
|
4125
|
+
class: t.classes.join(" ")
|
|
4126
|
+
}), Lf({
|
|
4127
|
+
...ad,
|
|
4128
|
+
...t.data
|
|
4129
|
+
}, n);
|
|
4130
|
+
};
|
|
4131
|
+
}, {
|
|
4132
|
+
props: [
|
|
4133
|
+
"icon",
|
|
4134
|
+
"mode",
|
|
4135
|
+
"ssr",
|
|
4136
|
+
"width",
|
|
4137
|
+
"height",
|
|
4138
|
+
"style",
|
|
4139
|
+
"color",
|
|
4140
|
+
"inline",
|
|
4141
|
+
"rotate",
|
|
4142
|
+
"hFlip",
|
|
4143
|
+
"horizontalFlip",
|
|
4144
|
+
"vFlip",
|
|
4145
|
+
"verticalFlip",
|
|
4146
|
+
"flip",
|
|
4147
|
+
"id",
|
|
4148
|
+
"ariaHidden",
|
|
4149
|
+
"customise",
|
|
4150
|
+
"title"
|
|
4151
|
+
],
|
|
4152
|
+
emits: ["load"]
|
|
4153
|
+
}), Bf = Qu({
|
|
4154
|
+
description: "Iconify icons for Luna Park components",
|
|
4155
|
+
editor: { components: [{
|
|
4156
|
+
component: /* @__PURE__ */ ((e, t) => {
|
|
4157
|
+
let n = e.__vccOpts || e;
|
|
4158
|
+
for (let [e, r] of t) n[e] = r;
|
|
4159
|
+
return n;
|
|
4160
|
+
})(/* @__PURE__ */ t({
|
|
4161
|
+
__name: "LIcon",
|
|
4162
|
+
props: {
|
|
4163
|
+
icon: { default: "lucide:star" },
|
|
4164
|
+
label: { default: "" },
|
|
4165
|
+
spin: {
|
|
4166
|
+
type: Boolean,
|
|
4167
|
+
default: !1
|
|
4168
|
+
}
|
|
4169
|
+
},
|
|
4170
|
+
setup(t) {
|
|
4171
|
+
let n = t;
|
|
4172
|
+
return (t, r) => (s(), e(u(zf), {
|
|
4173
|
+
class: i(["lp-icon", { "lp-icon--spin": n.spin }]),
|
|
4174
|
+
icon: n.icon,
|
|
4175
|
+
"aria-hidden": n.label ? void 0 : !0,
|
|
4176
|
+
"aria-label": n.label || void 0
|
|
4177
|
+
}, null, 8, [
|
|
4178
|
+
"class",
|
|
4179
|
+
"icon",
|
|
4180
|
+
"aria-hidden",
|
|
4181
|
+
"aria-label"
|
|
4182
|
+
]));
|
|
4183
|
+
}
|
|
4184
|
+
}), [["__scopeId", "data-v-dc2a33e6"]]),
|
|
4185
|
+
name: "Icon",
|
|
4186
|
+
properties: {
|
|
4187
|
+
icon: ne.string({ default: "lucide:star" }),
|
|
4188
|
+
label: ne.string({ default: "" }),
|
|
4189
|
+
spin: ne.boolean({ default: !1 })
|
|
4190
|
+
}
|
|
4191
|
+
}] },
|
|
4192
|
+
icon: "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20id='Calque_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20100%20100'%20style='enable-background:new%200%200%20100%20100;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%232E79F5;}%20%3c/style%3e%3cg%3e%3cpath%20class='st0'%20d='M89.9,47.2c0.1,1.9-2.1,2.9-3.4,1.6L68.9,31.1c-10.4-10.4-27.3-10.4-37.7,0L13.5,48.8%20c-1.3,1.3-3.5,0.3-3.4-1.6c0.7-10.1,5.2-20,13.6-27.3c15-13.1,37.7-13.1,52.7,0C84.7,27.2,89.2,37.1,89.9,47.2z'/%3e%3cpath%20class='st0'%20d='M30,56v25c0,1.6-1.8,2.6-3.2,1.6c-1.8-1.3-3.5-2.7-5.1-4.3c-2.9-2.9-5.3-6.2-7.2-9.7c-0.4-0.8-0.2-1.7,0.4-2.3%20l11.7-11.7C27.8,53.3,30,54.2,30,56z'/%3e%3cpath%20class='st0'%20d='M56.7,39.7v48c0,1-0.8,1.9-1.8,2c-3.2,0.4-6.5,0.4-9.7,0c-1-0.1-1.8-1-1.8-2v-48c0-0.8,0.5-1.5,1.2-1.8%20c3.5-1.6,7.5-1.6,10.9,0C56.2,38.2,56.7,38.9,56.7,39.7z'/%3e%3cpath%20class='st0'%20d='M85.1,66.2c0.6,0.6,0.8,1.5,0.4,2.3c-1.8,3.5-4.2,6.8-7.2,9.7c-1.6,1.6-3.3,3.1-5.1,4.3%20c-1.3,0.9-3.2,0-3.2-1.6V56c0-1.8,2.2-2.7,3.4-1.4L85.1,66.2z'/%3e%3c/g%3e%3c/svg%3e",
|
|
4193
|
+
id: "icon-js",
|
|
4194
|
+
lifecycle: { mount: () => {
|
|
4195
|
+
console.log("Iconify Icons plugin mounted!");
|
|
4196
|
+
} },
|
|
4197
|
+
name: "Iconify Icons"
|
|
4198
|
+
});
|
|
4199
|
+
//#endregion
|
|
4200
|
+
export { Bf as default };
|