@verdnatura/vn-front-lib 0.0.7 → 0.0.8

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.
@@ -0,0 +1,2392 @@
1
+ import { t as e } from "./useRequired-CTxBp3qy.js";
2
+ import { Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, inject as p, markRaw as m, mergeModels as h, mergeProps as g, nextTick as _, normalizeStyle as v, onActivated as y, onBeforeUnmount as b, onBeforeUpdate as x, onDeactivated as S, onMounted as C, onUnmounted as w, openBlock as T, reactive as E, ref as D, renderSlot as O, toDisplayString as k, unref as A, useAttrs as j, useModel as M, watch as N, withCtx as P, withDirectives as F } from "vue";
3
+ import { useI18n as I } from "vue-i18n";
4
+ //#region \0rolldown/runtime.js
5
+ var L = Object.defineProperty, R = (e, t) => {
6
+ let n = {};
7
+ for (var r in e) L(n, r, {
8
+ get: e[r],
9
+ enumerable: !0
10
+ });
11
+ return t || L(n, Symbol.toStringTag, { value: "Module" }), n;
12
+ };
13
+ //#endregion
14
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js
15
+ function z(e, t, n, r) {
16
+ return Object.defineProperty(e, t, {
17
+ get: n,
18
+ set: r,
19
+ enumerable: !0
20
+ }), e;
21
+ }
22
+ //#endregion
23
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/plugins/platform/Platform.js
24
+ var B = D(!1), V;
25
+ function H(e, t) {
26
+ let n = /(edg|edge|edga|edgios)\/([\w.]+)/.exec(e) || /(opr)[\/]([\w.]+)/.exec(e) || /(vivaldi)[\/]([\w.]+)/.exec(e) || /(chrome|crios)[\/]([\w.]+)/.exec(e) || /(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e) || /(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e) || /(firefox|fxios)[\/]([\w.]+)/.exec(e) || /(webkit)[\/]([\w.]+)/.exec(e) || /(opera)(?:.*version|)[\/]([\w.]+)/.exec(e) || [];
27
+ return {
28
+ browser: n[5] || n[3] || n[1] || "",
29
+ version: n[4] || n[2] || "0",
30
+ platform: t[0] || ""
31
+ };
32
+ }
33
+ function ee(e) {
34
+ return /(ipad)/.exec(e) || /(ipod)/.exec(e) || /(windows phone)/.exec(e) || /(iphone)/.exec(e) || /(kindle)/.exec(e) || /(silk)/.exec(e) || /(android)/.exec(e) || /(win)/.exec(e) || /(mac)/.exec(e) || /(linux)/.exec(e) || /(cros)/.exec(e) || /(playbook)/.exec(e) || /(bb)/.exec(e) || /(blackberry)/.exec(e) || [];
35
+ }
36
+ var te = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
37
+ function ne(e) {
38
+ let t = e.toLowerCase(), n = H(t, ee(t)), r = {
39
+ mobile: !1,
40
+ desktop: !1,
41
+ cordova: !1,
42
+ capacitor: !1,
43
+ nativeMobile: !1,
44
+ electron: !1,
45
+ bex: !1,
46
+ linux: !1,
47
+ mac: !1,
48
+ win: !1,
49
+ cros: !1,
50
+ chrome: !1,
51
+ firefox: !1,
52
+ opera: !1,
53
+ safari: !1,
54
+ vivaldi: !1,
55
+ edge: !1,
56
+ edgeChromium: !1,
57
+ ie: !1,
58
+ webkit: !1,
59
+ android: !1,
60
+ ios: !1,
61
+ ipad: !1,
62
+ iphone: !1,
63
+ ipod: !1,
64
+ kindle: !1,
65
+ winphone: !1,
66
+ blackberry: !1,
67
+ playbook: !1,
68
+ silk: !1
69
+ };
70
+ n.browser && (r[n.browser] = !0, r.version = n.version, r.versionNumber = parseInt(n.version, 10)), n.platform && (r[n.platform] = !0);
71
+ let i = r.android || r.ios || r.bb || r.blackberry || r.ipad || r.iphone || r.ipod || r.kindle || r.playbook || r.silk || r["windows phone"];
72
+ if (i === !0 || t.indexOf("mobile") !== -1 ? r.mobile = !0 : r.desktop = !0, r["windows phone"] && (r.winphone = !0, delete r["windows phone"]), r.edga || r.edgios || r.edg ? (r.edge = !0, n.browser = "edge") : r.crios ? (r.chrome = !0, n.browser = "chrome") : r.fxios && (r.firefox = !0, n.browser = "firefox"), (r.ipod || r.ipad || r.iphone) && (r.ios = !0), r.vivaldi &&= (n.browser = "vivaldi", !0), (r.chrome || r.opr || r.safari || r.vivaldi || r.mobile === !0 && r.ios !== !0 && i !== !0) && (r.webkit = !0), r.opr && (n.browser = "opera", r.opera = !0), r.safari && (r.blackberry || r.bb ? (n.browser = "blackberry", r.blackberry = !0) : r.playbook ? (n.browser = "playbook", r.playbook = !0) : r.android ? (n.browser = "android", r.android = !0) : r.kindle ? (n.browser = "kindle", r.kindle = !0) : r.silk &&= (n.browser = "silk", !0)), r.name = n.browser, r.platform = n.platform, t.indexOf("electron") !== -1) r.electron = !0;
73
+ else if (document.location.href.indexOf("-extension://") !== -1) r.bex = !0;
74
+ else {
75
+ if (window.Capacitor === void 0 ? (window._cordovaNative !== void 0 || window.cordova !== void 0) && (r.cordova = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "cordova") : (r.capacitor = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "capacitor"), B.value === !0 && (V = { is: { ...r } }), te === !0 && r.mac === !0 && (r.desktop === !0 && r.safari === !0 || r.nativeMobile === !0 && r.android !== !0 && r.ios !== !0 && r.ipad !== !0)) {
76
+ delete r.mac, delete r.desktop;
77
+ let e = Math.min(window.innerHeight, window.innerWidth) > 414 ? "ipad" : "iphone";
78
+ Object.assign(r, {
79
+ mobile: !0,
80
+ ios: !0,
81
+ platform: e,
82
+ [e]: !0
83
+ });
84
+ }
85
+ r.mobile !== !0 && window.navigator.userAgentData && window.navigator.userAgentData.mobile && (delete r.desktop, r.mobile = !0);
86
+ }
87
+ return r;
88
+ }
89
+ var re = navigator.userAgent || navigator.vendor || window.opera, ie = {
90
+ has: {
91
+ touch: !1,
92
+ webStorage: !1
93
+ },
94
+ within: { iframe: !1 }
95
+ }, U = {
96
+ userAgent: re,
97
+ is: ne(re),
98
+ has: { touch: te },
99
+ within: { iframe: window.self !== window.top }
100
+ }, ae = { install(e) {
101
+ let { $q: t } = e;
102
+ B.value === !0 ? (e.onSSRHydrated.push(() => {
103
+ Object.assign(t.platform, U), B.value = !1;
104
+ }), t.platform = E(this)) : t.platform = this;
105
+ } };
106
+ {
107
+ let e;
108
+ z(U.has, "webStorage", () => {
109
+ if (e !== void 0) return e;
110
+ try {
111
+ if (window.localStorage) return e = !0, !0;
112
+ } catch {}
113
+ return e = !1, !1;
114
+ }), Object.assign(ae, U), B.value === !0 && (Object.assign(ae, V, ie), V = null);
115
+ }
116
+ //#endregion
117
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.selection/selection.js
118
+ function oe() {
119
+ if (window.getSelection !== void 0) {
120
+ let e = window.getSelection();
121
+ e.empty === void 0 ? e.removeAllRanges !== void 0 && (e.removeAllRanges(), ae.is.mobile !== !0 && e.addRange(document.createRange())) : e.empty();
122
+ } else document.selection !== void 0 && document.selection.empty();
123
+ }
124
+ //#endregion
125
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/event/event.js
126
+ var W = {
127
+ hasPassive: !1,
128
+ passiveCapture: !0,
129
+ notPassiveCapture: !0
130
+ };
131
+ try {
132
+ let e = Object.defineProperty({}, "passive", { get() {
133
+ Object.assign(W, {
134
+ hasPassive: !0,
135
+ passive: { passive: !0 },
136
+ notPassive: { passive: !1 },
137
+ passiveCapture: {
138
+ passive: !0,
139
+ capture: !0
140
+ },
141
+ notPassiveCapture: {
142
+ passive: !1,
143
+ capture: !0
144
+ }
145
+ });
146
+ } });
147
+ window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
148
+ } catch {}
149
+ function se() {}
150
+ function ce(e) {
151
+ return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
152
+ top: e.clientY,
153
+ left: e.clientX
154
+ };
155
+ }
156
+ function le(e) {
157
+ if (e.path) return e.path;
158
+ if (e.composedPath) return e.composedPath();
159
+ let t = [], n = e.target;
160
+ for (; n;) {
161
+ if (t.push(n), n.tagName === "HTML") return t.push(document), t.push(window), t;
162
+ n = n.parentElement;
163
+ }
164
+ }
165
+ function ue(e) {
166
+ e.stopPropagation();
167
+ }
168
+ function G(e) {
169
+ e.cancelable !== !1 && e.preventDefault();
170
+ }
171
+ function de(e) {
172
+ e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
173
+ }
174
+ function fe(e, t, n) {
175
+ let r = `__q_${t}_evt`;
176
+ e[r] = e[r] === void 0 ? n : e[r].concat(n), n.forEach((t) => {
177
+ t[0].addEventListener(t[1], e[t[2]], W[t[3]]);
178
+ });
179
+ }
180
+ function pe(e, t) {
181
+ let n = `__q_${t}_evt`;
182
+ e[n] !== void 0 && (e[n].forEach((t) => {
183
+ t[0].removeEventListener(t[1], e[t[2]], W[t[3]]);
184
+ }), e[n] = void 0);
185
+ }
186
+ //#endregion
187
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.keyboard/key-composition.js
188
+ var me = !1;
189
+ function he(e) {
190
+ return me === !0 || e !== Object(e) || e.isComposing === !0 || e.qKeyEvent === !0;
191
+ }
192
+ function ge(e, t) {
193
+ return he(e) !== !0 && [].concat(t).includes(e.keyCode);
194
+ }
195
+ //#endregion
196
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js
197
+ var _e = {
198
+ target: {
199
+ type: [
200
+ Boolean,
201
+ String,
202
+ Element
203
+ ],
204
+ default: !0
205
+ },
206
+ noParentEvent: Boolean
207
+ }, ve = {
208
+ ..._e,
209
+ contextMenu: Boolean
210
+ };
211
+ function ye({ showing: e, avoidEmit: t, configureAnchorEl: n }) {
212
+ let { props: r, proxy: i, emit: a } = d(), o = D(null), s = null;
213
+ function c(e) {
214
+ return o.value === null ? !1 : e === void 0 || e.touches === void 0 || e.touches.length <= 1;
215
+ }
216
+ let l = {};
217
+ n === void 0 && (Object.assign(l, {
218
+ hide(e) {
219
+ i.hide(e);
220
+ },
221
+ toggle(e) {
222
+ i.toggle(e), e.qAnchorHandled = !0;
223
+ },
224
+ toggleKey(e) {
225
+ ge(e, 13) === !0 && l.toggle(e);
226
+ },
227
+ contextClick(e) {
228
+ i.hide(e), G(e), _(() => {
229
+ i.show(e), e.qAnchorHandled = !0;
230
+ });
231
+ },
232
+ prevent: G,
233
+ mobileTouch(e) {
234
+ if (l.mobileCleanup(e), c(e) !== !0) return;
235
+ i.hide(e), o.value.classList.add("non-selectable");
236
+ let t = e.target;
237
+ fe(l, "anchor", [
238
+ [
239
+ t,
240
+ "touchmove",
241
+ "mobileCleanup",
242
+ "passive"
243
+ ],
244
+ [
245
+ t,
246
+ "touchend",
247
+ "mobileCleanup",
248
+ "passive"
249
+ ],
250
+ [
251
+ t,
252
+ "touchcancel",
253
+ "mobileCleanup",
254
+ "passive"
255
+ ],
256
+ [
257
+ o.value,
258
+ "contextmenu",
259
+ "prevent",
260
+ "notPassive"
261
+ ]
262
+ ]), s = setTimeout(() => {
263
+ s = null, i.show(e), e.qAnchorHandled = !0;
264
+ }, 300);
265
+ },
266
+ mobileCleanup(t) {
267
+ o.value.classList.remove("non-selectable"), s !== null && (clearTimeout(s), s = null), e.value === !0 && t !== void 0 && oe();
268
+ }
269
+ }), n = function(e = r.contextMenu) {
270
+ if (r.noParentEvent === !0 || o.value === null) return;
271
+ let t;
272
+ t = e === !0 ? i.$q.platform.is.mobile === !0 ? [[
273
+ o.value,
274
+ "touchstart",
275
+ "mobileTouch",
276
+ "passive"
277
+ ]] : [[
278
+ o.value,
279
+ "mousedown",
280
+ "hide",
281
+ "passive"
282
+ ], [
283
+ o.value,
284
+ "contextmenu",
285
+ "contextClick",
286
+ "notPassive"
287
+ ]] : [[
288
+ o.value,
289
+ "click",
290
+ "toggle",
291
+ "passive"
292
+ ], [
293
+ o.value,
294
+ "keyup",
295
+ "toggleKey",
296
+ "passive"
297
+ ]], fe(l, "anchor", t);
298
+ });
299
+ function u() {
300
+ pe(l, "anchor");
301
+ }
302
+ function f(e) {
303
+ for (o.value = e; o.value.classList.contains("q-anchor--skip");) o.value = o.value.parentNode;
304
+ n();
305
+ }
306
+ function p() {
307
+ if (r.target === !1 || r.target === "" || i.$el.parentNode === null) o.value = null;
308
+ else if (r.target === !0) f(i.$el.parentNode);
309
+ else {
310
+ let e = r.target;
311
+ if (typeof r.target == "string") try {
312
+ e = document.querySelector(r.target);
313
+ } catch {
314
+ e = void 0;
315
+ }
316
+ e == null ? (o.value = null, console.error(`Anchor: target "${r.target}" not found`)) : (o.value = e.$el || e, n());
317
+ }
318
+ }
319
+ return N(() => r.contextMenu, (e) => {
320
+ o.value !== null && (u(), n(e));
321
+ }), N(() => r.target, () => {
322
+ o.value !== null && u(), p();
323
+ }), N(() => r.noParentEvent, (e) => {
324
+ o.value !== null && (e === !0 ? u() : n());
325
+ }), C(() => {
326
+ p(), t !== !0 && r.modelValue === !0 && o.value === null && a("update:modelValue", !1);
327
+ }), b(() => {
328
+ s !== null && clearTimeout(s), u();
329
+ }), {
330
+ anchorEl: o,
331
+ canShow: c,
332
+ anchorEvents: l
333
+ };
334
+ }
335
+ //#endregion
336
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js
337
+ function be(e, t) {
338
+ let n = D(null), r;
339
+ function i(e, t) {
340
+ let n = `${t === void 0 ? "remove" : "add"}EventListener`, i = t === void 0 ? r : t;
341
+ e !== window && e[n]("scroll", i, W.passive), window[n]("scroll", i, W.passive), r = t;
342
+ }
343
+ function a() {
344
+ n.value !== null && (i(n.value), n.value = null);
345
+ }
346
+ let o = N(() => e.noParentEvent, () => {
347
+ n.value !== null && (a(), t());
348
+ });
349
+ return b(o), {
350
+ localScrollTarget: n,
351
+ unconfigureScrollTarget: a,
352
+ changeScrollEvent: i
353
+ };
354
+ }
355
+ //#endregion
356
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.vm/vm.js
357
+ function xe(e) {
358
+ if (Object(e.$parent) === e.$parent) return e.$parent;
359
+ let { parent: t } = e.$;
360
+ for (; Object(t) === t;) {
361
+ if (Object(t.proxy) === t.proxy) return t.proxy;
362
+ t = t.parent;
363
+ }
364
+ }
365
+ function Se(e) {
366
+ return e.appContext.config.globalProperties.$router !== void 0;
367
+ }
368
+ function Ce(e) {
369
+ return e.isUnmounted === !0 || e.isDeactivated === !0;
370
+ }
371
+ //#endregion
372
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js
373
+ var we = {
374
+ modelValue: {
375
+ type: Boolean,
376
+ default: null
377
+ },
378
+ "onUpdate:modelValue": [Function, Array]
379
+ }, Te = [
380
+ "beforeShow",
381
+ "show",
382
+ "beforeHide",
383
+ "hide"
384
+ ];
385
+ function Ee({ showing: e, canShow: t, hideOnRouteChange: n, handleShow: r, handleHide: i, processOnMount: a }) {
386
+ let o = d(), { props: s, emit: c, proxy: l } = o, u;
387
+ function f(t) {
388
+ e.value === !0 ? h(t) : p(t);
389
+ }
390
+ function p(e) {
391
+ if (s.disable === !0 || e?.qAnchorHandled === !0 || t !== void 0 && t(e) !== !0) return;
392
+ let n = s["onUpdate:modelValue"] !== void 0;
393
+ n === !0 && (c("update:modelValue", !0), u = e, _(() => {
394
+ u === e && (u = void 0);
395
+ })), (s.modelValue === null || n === !1) && m(e);
396
+ }
397
+ function m(t) {
398
+ e.value !== !0 && (e.value = !0, c("beforeShow", t), r === void 0 ? c("show", t) : r(t));
399
+ }
400
+ function h(e) {
401
+ if (s.disable === !0) return;
402
+ let t = s["onUpdate:modelValue"] !== void 0;
403
+ t === !0 && (c("update:modelValue", !1), u = e, _(() => {
404
+ u === e && (u = void 0);
405
+ })), (s.modelValue === null || t === !1) && g(e);
406
+ }
407
+ function g(t) {
408
+ e.value !== !1 && (e.value = !1, c("beforeHide", t), i === void 0 ? c("hide", t) : i(t));
409
+ }
410
+ function v(t) {
411
+ s.disable === !0 && t === !0 ? s["onUpdate:modelValue"] !== void 0 && c("update:modelValue", !1) : t === !0 !== e.value && (t === !0 ? m : g)(u);
412
+ }
413
+ N(() => s.modelValue, v), n !== void 0 && Se(o) === !0 && N(() => l.$route.fullPath, () => {
414
+ n.value === !0 && e.value === !0 && h();
415
+ }), a === !0 && C(() => {
416
+ v(s.modelValue);
417
+ });
418
+ let y = {
419
+ show: p,
420
+ hide: h,
421
+ toggle: f
422
+ };
423
+ return Object.assign(l, y), y;
424
+ }
425
+ //#endregion
426
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.create/create.js
427
+ function K(e) {
428
+ return m(u(e));
429
+ }
430
+ function De(e) {
431
+ return m(e);
432
+ }
433
+ //#endregion
434
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.focus/focus-manager.js
435
+ var q = [], Oe = [];
436
+ function ke(e) {
437
+ Oe = Oe.filter((t) => t !== e);
438
+ }
439
+ function Ae(e) {
440
+ ke(e), Oe.push(e);
441
+ }
442
+ function je(e) {
443
+ ke(e), Oe.length === 0 && q.length !== 0 && (q[q.length - 1](), q = []);
444
+ }
445
+ function Me(e) {
446
+ Oe.length === 0 ? e() : q.push(e);
447
+ }
448
+ function Ne(e) {
449
+ q = q.filter((t) => t !== e);
450
+ }
451
+ //#endregion
452
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.config/instance-config.js
453
+ var Pe = {}, Fe = [], Ie = [], Le = 1, Re = document.body;
454
+ function ze(e, t) {
455
+ let n = document.createElement("div");
456
+ if (n.id = t === void 0 ? e : `q-portal--${t}--${Le++}`, Pe.globalNodes !== void 0) {
457
+ let e = Pe.globalNodes.class;
458
+ e !== void 0 && (n.className = e);
459
+ }
460
+ return Re.appendChild(n), Fe.push(n), Ie.push(t), n;
461
+ }
462
+ function Be(e) {
463
+ let t = Fe.indexOf(e);
464
+ Fe.splice(t, 1), Ie.splice(t, 1), e.remove();
465
+ }
466
+ //#endregion
467
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.portal/portal.js
468
+ var Ve = [];
469
+ function He(e, t) {
470
+ do {
471
+ if (e.$options.name === "QMenu") {
472
+ if (e.hide(t), e.$props.separateClosePopup === !0) return xe(e);
473
+ } else if (e.__qPortal === !0) {
474
+ let n = xe(e);
475
+ return n?.$options.name === "QPopupProxy" ? (e.hide(t), n) : e;
476
+ }
477
+ e = xe(e);
478
+ } while (e != null);
479
+ }
480
+ //#endregion
481
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-portal/use-portal.js
482
+ var Ue = K({
483
+ name: "QPortal",
484
+ setup(e, { slots: t }) {
485
+ return () => t.default();
486
+ }
487
+ });
488
+ function We(e) {
489
+ for (e = e.parent; e != null;) {
490
+ if (e.type.name === "QGlobalDialog") return !0;
491
+ if (e.type.name === "QDialog" || e.type.name === "QMenu") return !1;
492
+ e = e.parent;
493
+ }
494
+ return !1;
495
+ }
496
+ function Ge(e, n, r, i) {
497
+ let a = D(!1), o = D(!1), s = null, c = {}, l = i === "dialog" && We(e);
498
+ function u(t) {
499
+ if (t === !0) {
500
+ je(c), o.value = !0;
501
+ return;
502
+ }
503
+ o.value = !1, a.value === !1 && (l === !1 && s === null && (s = ze(!1, i)), a.value = !0, Ve.push(e.proxy), Ae(c));
504
+ }
505
+ function d(t) {
506
+ if (o.value = !1, t !== !0) return;
507
+ je(c), a.value = !1;
508
+ let n = Ve.indexOf(e.proxy);
509
+ n !== -1 && Ve.splice(n, 1), s !== null && (Be(s), s = null);
510
+ }
511
+ return w(() => {
512
+ d(!0);
513
+ }), e.proxy.__qPortal = !0, z(e.proxy, "contentEl", () => n.value), {
514
+ showPortal: u,
515
+ hidePortal: d,
516
+ portalIsActive: a,
517
+ portalIsAccessible: o,
518
+ renderPortal: () => l === !0 ? r() : a.value === !0 ? [f(t, { to: s }, f(Ue, r))] : void 0
519
+ };
520
+ }
521
+ //#endregion
522
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-transition/use-transition.js
523
+ var Ke = {
524
+ transitionShow: {
525
+ type: String,
526
+ default: "fade"
527
+ },
528
+ transitionHide: {
529
+ type: String,
530
+ default: "fade"
531
+ },
532
+ transitionDuration: {
533
+ type: [String, Number],
534
+ default: 300
535
+ }
536
+ };
537
+ function qe(e, t = () => {}, n = () => {}) {
538
+ return {
539
+ transitionProps: r(() => {
540
+ let r = `q-transition--${e.transitionShow || t()}`, i = `q-transition--${e.transitionHide || n()}`;
541
+ return {
542
+ appear: !0,
543
+ enterFromClass: `${r}-enter-from`,
544
+ enterActiveClass: `${r}-enter-active`,
545
+ enterToClass: `${r}-enter-to`,
546
+ leaveFromClass: `${i}-leave-from`,
547
+ leaveActiveClass: `${i}-leave-active`,
548
+ leaveToClass: `${i}-leave-to`
549
+ };
550
+ }),
551
+ transitionStyle: r(() => `--q-transition-duration: ${e.transitionDuration}ms`)
552
+ };
553
+ }
554
+ //#endregion
555
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/use-tick/use-tick.js
556
+ function Je() {
557
+ let e, t = d();
558
+ function n() {
559
+ e = void 0;
560
+ }
561
+ return S(n), b(n), {
562
+ removeTick: n,
563
+ registerTick(n) {
564
+ e = n, _(() => {
565
+ e === n && (Ce(t) === !1 && e(), e = void 0);
566
+ });
567
+ }
568
+ };
569
+ }
570
+ //#endregion
571
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/use-timeout/use-timeout.js
572
+ function Ye() {
573
+ let e = null, t = d();
574
+ function n() {
575
+ e !== null && (clearTimeout(e), e = null);
576
+ }
577
+ return S(n), b(n), {
578
+ removeTimeout: n,
579
+ registerTimeout(r, i) {
580
+ n(), Ce(t) === !1 && (e = setTimeout(() => {
581
+ e = null, r();
582
+ }, i));
583
+ }
584
+ };
585
+ }
586
+ //#endregion
587
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/dom/dom.js
588
+ function Xe(e, t) {
589
+ let n = e.style;
590
+ for (let e in t) n[e] = t[e];
591
+ }
592
+ function Ze(e) {
593
+ if (e == null) return;
594
+ if (typeof e == "string") try {
595
+ return document.querySelector(e) || void 0;
596
+ } catch {
597
+ return;
598
+ }
599
+ let t = A(e);
600
+ if (t) return t.$el || t;
601
+ }
602
+ function Qe(e, t) {
603
+ if (e == null || e.contains(t) === !0) return !0;
604
+ for (let n = e.nextElementSibling; n !== null; n = n.nextElementSibling) if (n.contains(t)) return !0;
605
+ return !1;
606
+ }
607
+ //#endregion
608
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/scroll/scroll.js
609
+ var $e = [Element, String], et = [
610
+ null,
611
+ document,
612
+ document.body,
613
+ document.scrollingElement,
614
+ document.documentElement
615
+ ];
616
+ function tt(e, t) {
617
+ let n = Ze(t);
618
+ if (n === void 0) {
619
+ if (e == null) return window;
620
+ n = e.closest(".scroll,.scroll-y,.overflow-auto");
621
+ }
622
+ return et.includes(n) ? window : n;
623
+ }
624
+ function nt(e) {
625
+ return e === window ? window.pageYOffset || window.scrollY || document.body.scrollTop || 0 : e.scrollTop;
626
+ }
627
+ function rt(e) {
628
+ return e === window ? window.pageXOffset || window.scrollX || document.body.scrollLeft || 0 : e.scrollLeft;
629
+ }
630
+ var it;
631
+ function at() {
632
+ if (it !== void 0) return it;
633
+ let e = document.createElement("p"), t = document.createElement("div");
634
+ Xe(e, {
635
+ width: "100%",
636
+ height: "200px"
637
+ }), Xe(t, {
638
+ position: "absolute",
639
+ top: "0px",
640
+ left: "0px",
641
+ visibility: "hidden",
642
+ width: "200px",
643
+ height: "150px",
644
+ overflow: "hidden"
645
+ }), t.appendChild(e), document.body.appendChild(t);
646
+ let n = e.offsetWidth;
647
+ t.style.overflow = "scroll";
648
+ let r = e.offsetWidth;
649
+ return n === r && (r = t.clientWidth), t.remove(), it = n - r, it;
650
+ }
651
+ function ot(e, t = !0) {
652
+ return !e || e.nodeType !== Node.ELEMENT_NODE ? !1 : t ? e.scrollHeight > e.clientHeight && (e.classList.contains("scroll") || e.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(e)["overflow-y"])) : e.scrollWidth > e.clientWidth && (e.classList.contains("scroll") || e.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(e)["overflow-x"]));
653
+ }
654
+ //#endregion
655
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.render/render.js
656
+ function J(e, t) {
657
+ return e === void 0 ? t : e() || t;
658
+ }
659
+ function st(e, t) {
660
+ if (e !== void 0) {
661
+ let t = e();
662
+ if (t != null) return t.slice();
663
+ }
664
+ return t;
665
+ }
666
+ function ct(e, t) {
667
+ return e === void 0 ? t : t.concat(e());
668
+ }
669
+ function lt(e, t) {
670
+ return e === void 0 ? t : t === void 0 ? e() : t.concat(e());
671
+ }
672
+ function ut(e, t, n, r, i, a) {
673
+ t.key = r + i;
674
+ let o = f(e, t, n);
675
+ return i === !0 ? F(o, a()) : o;
676
+ }
677
+ //#endregion
678
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.click-outside/click-outside.js
679
+ var Y = null, { notPassiveCapture: dt } = W, X = [];
680
+ function ft(e) {
681
+ Y !== null && (clearTimeout(Y), Y = null);
682
+ let t = e.target;
683
+ if (t === void 0 || t.nodeType === 8 || t.classList.contains("no-pointer-events") === !0) return;
684
+ let n = Ve.length - 1;
685
+ for (; n >= 0;) {
686
+ let e = Ve[n].$;
687
+ if (e.type.name === "QTooltip") {
688
+ n--;
689
+ continue;
690
+ }
691
+ if (e.type.name !== "QDialog") break;
692
+ if (e.props.seamless !== !0) return;
693
+ n--;
694
+ }
695
+ for (let n = X.length - 1; n >= 0; n--) {
696
+ let r = X[n];
697
+ if ((r.anchorEl.value === null || r.anchorEl.value.contains(t) === !1) && (t === document.body || r.innerRef.value !== null && r.innerRef.value.contains(t) === !1)) e.qClickOutside = !0, r.onClickOutside(e);
698
+ else return;
699
+ }
700
+ }
701
+ function pt(e) {
702
+ X.push(e), X.length === 1 && (document.addEventListener("mousedown", ft, dt), document.addEventListener("touchstart", ft, dt));
703
+ }
704
+ function mt(e) {
705
+ let t = X.findIndex((t) => t === e);
706
+ t !== -1 && (X.splice(t, 1), X.length === 0 && (Y !== null && (clearTimeout(Y), Y = null), document.removeEventListener("mousedown", ft, dt), document.removeEventListener("touchstart", ft, dt)));
707
+ }
708
+ //#endregion
709
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.position-engine/position-engine.js
710
+ var ht, gt;
711
+ function _t(e) {
712
+ let t = e.split(" ");
713
+ return t.length === 2 ? [
714
+ "top",
715
+ "center",
716
+ "bottom"
717
+ ].includes(t[0]) === !0 ? [
718
+ "left",
719
+ "middle",
720
+ "right",
721
+ "start",
722
+ "end"
723
+ ].includes(t[1]) === !0 || (console.error("Anchor/Self position must end with one of left/middle/right/start/end"), !1) : (console.error("Anchor/Self position must start with one of top/center/bottom"), !1) : !1;
724
+ }
725
+ function vt(e) {
726
+ return !e || e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
727
+ }
728
+ var yt = {
729
+ "start#ltr": "left",
730
+ "start#rtl": "right",
731
+ "end#ltr": "right",
732
+ "end#rtl": "left"
733
+ };
734
+ [
735
+ "left",
736
+ "middle",
737
+ "right"
738
+ ].forEach((e) => {
739
+ yt[`${e}#ltr`] = e, yt[`${e}#rtl`] = e;
740
+ });
741
+ function bt(e, t) {
742
+ let n = e.split(" ");
743
+ return {
744
+ vertical: n[0],
745
+ horizontal: yt[`${n[1]}#${t === !0 ? "rtl" : "ltr"}`]
746
+ };
747
+ }
748
+ function xt(e, t) {
749
+ let { top: n, left: r, right: i, bottom: a, width: o, height: s } = e.getBoundingClientRect();
750
+ return t !== void 0 && (n -= t[1], r -= t[0], a += t[1], i += t[0], o += t[0], s += t[1]), {
751
+ top: n,
752
+ bottom: a,
753
+ height: s,
754
+ left: r,
755
+ right: i,
756
+ width: o,
757
+ middle: r + (i - r) / 2,
758
+ center: n + (a - n) / 2
759
+ };
760
+ }
761
+ function St(e, t, n) {
762
+ let { top: r, left: i } = e.getBoundingClientRect();
763
+ return r += t.top, i += t.left, n !== void 0 && (r += n[1], i += n[0]), {
764
+ top: r,
765
+ bottom: r + 1,
766
+ height: 1,
767
+ left: i,
768
+ right: i + 1,
769
+ width: 1,
770
+ middle: i,
771
+ center: r
772
+ };
773
+ }
774
+ function Ct(e, t) {
775
+ return {
776
+ top: 0,
777
+ center: t / 2,
778
+ bottom: t,
779
+ left: 0,
780
+ middle: e / 2,
781
+ right: e
782
+ };
783
+ }
784
+ function wt(e, t, n, r) {
785
+ return {
786
+ top: e[n.vertical] - t[r.vertical],
787
+ left: e[n.horizontal] - t[r.horizontal]
788
+ };
789
+ }
790
+ function Tt(e, t = 0) {
791
+ if (e.targetEl === null || e.anchorEl === null || t > 5) return;
792
+ if (e.targetEl.offsetHeight === 0 || e.targetEl.offsetWidth === 0) {
793
+ setTimeout(() => {
794
+ Tt(e, t + 1);
795
+ }, 10);
796
+ return;
797
+ }
798
+ let { targetEl: n, offset: r, anchorEl: i, anchorOrigin: a, selfOrigin: o, absoluteOffset: s, fit: c, cover: l, maxHeight: u, maxWidth: d } = e;
799
+ if (U.is.ios === !0 && window.visualViewport !== void 0) {
800
+ let e = document.body.style, { offsetLeft: t, offsetTop: n } = window.visualViewport;
801
+ t !== ht && (e.setProperty("--q-pe-left", t + "px"), ht = t), n !== gt && (e.setProperty("--q-pe-top", n + "px"), gt = n);
802
+ }
803
+ let { scrollLeft: f, scrollTop: p } = n, m = s === void 0 ? xt(i, l === !0 ? [0, 0] : r) : St(i, s, r);
804
+ Object.assign(n.style, {
805
+ top: 0,
806
+ left: 0,
807
+ minWidth: null,
808
+ minHeight: null,
809
+ maxWidth: d,
810
+ maxHeight: u,
811
+ visibility: "visible"
812
+ });
813
+ let { offsetWidth: h, offsetHeight: g } = n, { elWidth: _, elHeight: v } = c === !0 || l === !0 ? {
814
+ elWidth: Math.max(m.width, h),
815
+ elHeight: l === !0 ? Math.max(m.height, g) : g
816
+ } : {
817
+ elWidth: h,
818
+ elHeight: g
819
+ }, y = {
820
+ maxWidth: d,
821
+ maxHeight: u
822
+ };
823
+ (c === !0 || l === !0) && (y.minWidth = m.width + "px", l === !0 && (y.minHeight = m.height + "px")), Object.assign(n.style, y);
824
+ let b = Ct(_, v), x = wt(m, b, a, o);
825
+ if (s === void 0 || r === void 0) Et(x, m, b, a, o);
826
+ else {
827
+ let { top: e, left: t } = x;
828
+ Et(x, m, b, a, o);
829
+ let n = !1;
830
+ if (x.top !== e) {
831
+ n = !0;
832
+ let e = 2 * r[1];
833
+ m.center = m.top -= e, m.bottom -= e + 2;
834
+ }
835
+ if (x.left !== t) {
836
+ n = !0;
837
+ let e = 2 * r[0];
838
+ m.middle = m.left -= e, m.right -= e + 2;
839
+ }
840
+ n === !0 && (x = wt(m, b, a, o), Et(x, m, b, a, o));
841
+ }
842
+ y = {
843
+ top: x.top + "px",
844
+ left: x.left + "px"
845
+ }, x.maxHeight !== void 0 && (y.maxHeight = x.maxHeight + "px", m.height > x.maxHeight && (y.minHeight = y.maxHeight)), x.maxWidth !== void 0 && (y.maxWidth = x.maxWidth + "px", m.width > x.maxWidth && (y.minWidth = y.maxWidth)), Object.assign(n.style, y), n.scrollTop !== p && (n.scrollTop = p), n.scrollLeft !== f && (n.scrollLeft = f);
846
+ }
847
+ function Et(e, t, n, r, i) {
848
+ let a = n.bottom, o = n.right, s = at(), c = window.innerHeight - s, l = document.body.clientWidth;
849
+ if (e.top < 0 || e.top + a > c) {
850
+ if (i.vertical === "center") e.top = t[r.vertical] > c / 2 ? Math.max(0, c - a) : 0, e.maxHeight = Math.min(a, c);
851
+ else if (t[r.vertical] > c / 2) {
852
+ let n = Math.min(c, r.vertical === "center" ? t.center : r.vertical === i.vertical ? t.bottom : t.top);
853
+ e.maxHeight = Math.min(a, n), e.top = Math.max(0, n - a);
854
+ } else e.top = Math.max(0, r.vertical === "center" ? t.center : r.vertical === i.vertical ? t.top : t.bottom), e.maxHeight = Math.min(a, c - e.top);
855
+ }
856
+ if (e.left < 0 || e.left + o > l) {
857
+ if (e.maxWidth = Math.min(o, l), i.horizontal === "middle") e.left = t[r.horizontal] > l / 2 ? Math.max(0, l - o) : 0;
858
+ else if (t[r.horizontal] > l / 2) {
859
+ let n = Math.min(l, r.horizontal === "middle" ? t.middle : r.horizontal === i.horizontal ? t.right : t.left);
860
+ e.maxWidth = Math.min(o, n), e.left = Math.max(0, n - e.maxWidth);
861
+ } else e.left = Math.max(0, r.horizontal === "middle" ? t.middle : r.horizontal === i.horizontal ? t.left : t.right), e.maxWidth = Math.min(o, l - e.left);
862
+ }
863
+ }
864
+ //#endregion
865
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/tooltip/QTooltip.js
866
+ var Dt = K({
867
+ name: "QTooltip",
868
+ inheritAttrs: !1,
869
+ props: {
870
+ ..._e,
871
+ ...we,
872
+ ...Ke,
873
+ maxHeight: {
874
+ type: String,
875
+ default: null
876
+ },
877
+ maxWidth: {
878
+ type: String,
879
+ default: null
880
+ },
881
+ transitionShow: {
882
+ ...Ke.transitionShow,
883
+ default: "jump-down"
884
+ },
885
+ transitionHide: {
886
+ ...Ke.transitionHide,
887
+ default: "jump-up"
888
+ },
889
+ anchor: {
890
+ type: String,
891
+ default: "bottom middle",
892
+ validator: _t
893
+ },
894
+ self: {
895
+ type: String,
896
+ default: "top middle",
897
+ validator: _t
898
+ },
899
+ offset: {
900
+ type: Array,
901
+ default: () => [14, 14],
902
+ validator: vt
903
+ },
904
+ scrollTarget: $e,
905
+ delay: {
906
+ type: Number,
907
+ default: 0
908
+ },
909
+ hideDelay: {
910
+ type: Number,
911
+ default: 0
912
+ },
913
+ persistent: Boolean
914
+ },
915
+ emits: [...Te],
916
+ setup(e, { slots: t, emit: i, attrs: a }) {
917
+ let o, s, c = d(), { proxy: { $q: l } } = c, u = D(null), p = D(!1), m = r(() => bt(e.anchor, l.lang.rtl)), h = r(() => bt(e.self, l.lang.rtl)), g = r(() => e.persistent !== !0), { registerTick: _, removeTick: v } = Je(), { registerTimeout: y } = Ye(), { transitionProps: x, transitionStyle: S } = qe(e), { localScrollTarget: C, changeScrollEvent: w, unconfigureScrollTarget: T } = be(e, ee), { anchorEl: E, canShow: O, anchorEvents: k } = ye({
918
+ showing: p,
919
+ configureAnchorEl: H
920
+ }), { show: A, hide: j } = Ee({
921
+ showing: p,
922
+ canShow: O,
923
+ handleShow: I,
924
+ handleHide: L,
925
+ hideOnRouteChange: g,
926
+ processOnMount: !0
927
+ });
928
+ Object.assign(k, {
929
+ delayShow: B,
930
+ delayHide: V
931
+ });
932
+ let { showPortal: M, hidePortal: P, renderPortal: F } = Ge(c, u, ne, "tooltip");
933
+ if (l.platform.is.mobile === !0) {
934
+ let t = {
935
+ anchorEl: E,
936
+ innerRef: u,
937
+ onClickOutside(e) {
938
+ return j(e), e.target.classList.contains("q-dialog__backdrop") && de(e), !0;
939
+ }
940
+ }, n = r(() => e.modelValue === null && e.persistent !== !0 && p.value === !0);
941
+ N(n, (e) => {
942
+ (e === !0 ? pt : mt)(t);
943
+ }), b(() => {
944
+ mt(t);
945
+ });
946
+ }
947
+ function I(t) {
948
+ M(), _(() => {
949
+ s = new MutationObserver(() => z()), s.observe(u.value, {
950
+ attributes: !1,
951
+ childList: !0,
952
+ characterData: !0,
953
+ subtree: !0
954
+ }), z(), ee();
955
+ }), o === void 0 && (o = N(() => l.screen.width + "|" + l.screen.height + "|" + e.self + "|" + e.anchor + "|" + l.lang.rtl, z)), y(() => {
956
+ M(!0), i("show", t);
957
+ }, e.transitionDuration);
958
+ }
959
+ function L(t) {
960
+ v(), P(), R(), y(() => {
961
+ P(!0), i("hide", t);
962
+ }, e.transitionDuration);
963
+ }
964
+ function R() {
965
+ s !== void 0 && (s.disconnect(), s = void 0), o !== void 0 && (o(), o = void 0), T(), pe(k, "tooltipTemp");
966
+ }
967
+ function z() {
968
+ Tt({
969
+ targetEl: u.value,
970
+ offset: e.offset,
971
+ anchorEl: E.value,
972
+ anchorOrigin: m.value,
973
+ selfOrigin: h.value,
974
+ maxHeight: e.maxHeight,
975
+ maxWidth: e.maxWidth
976
+ });
977
+ }
978
+ function B(t) {
979
+ if (l.platform.is.mobile === !0) {
980
+ oe(), document.body.classList.add("non-selectable");
981
+ let e = E.value, t = [
982
+ "touchmove",
983
+ "touchcancel",
984
+ "touchend",
985
+ "click"
986
+ ].map((t) => [
987
+ e,
988
+ t,
989
+ "delayHide",
990
+ "passiveCapture"
991
+ ]);
992
+ fe(k, "tooltipTemp", t);
993
+ }
994
+ y(() => {
995
+ A(t);
996
+ }, e.delay);
997
+ }
998
+ function V(t) {
999
+ l.platform.is.mobile === !0 && (pe(k, "tooltipTemp"), oe(), setTimeout(() => {
1000
+ document.body.classList.remove("non-selectable");
1001
+ }, 10)), y(() => {
1002
+ j(t);
1003
+ }, e.hideDelay);
1004
+ }
1005
+ function H() {
1006
+ if (e.noParentEvent === !0 || E.value === null) return;
1007
+ let t = l.platform.is.mobile === !0 ? [[
1008
+ E.value,
1009
+ "touchstart",
1010
+ "delayShow",
1011
+ "passive"
1012
+ ]] : [[
1013
+ E.value,
1014
+ "mouseenter",
1015
+ "delayShow",
1016
+ "passive"
1017
+ ], [
1018
+ E.value,
1019
+ "mouseleave",
1020
+ "delayHide",
1021
+ "passive"
1022
+ ]];
1023
+ fe(k, "anchor", t);
1024
+ }
1025
+ function ee() {
1026
+ if (E.value !== null || e.scrollTarget !== void 0) {
1027
+ C.value = tt(E.value, e.scrollTarget);
1028
+ let t = e.noParentEvent === !0 ? z : j;
1029
+ w(C.value, t);
1030
+ }
1031
+ }
1032
+ function te() {
1033
+ return p.value === !0 ? f("div", {
1034
+ ...a,
1035
+ ref: u,
1036
+ class: ["q-tooltip q-tooltip--style q-position-engine no-pointer-events", a.class],
1037
+ style: [a.style, S.value],
1038
+ role: "tooltip"
1039
+ }, J(t.default)) : null;
1040
+ }
1041
+ function ne() {
1042
+ return f(n, x.value, te);
1043
+ }
1044
+ return b(R), Object.assign(c.proxy, { updatePosition: z }), F;
1045
+ }
1046
+ }), Ot = {
1047
+ xs: 18,
1048
+ sm: 24,
1049
+ md: 32,
1050
+ lg: 38,
1051
+ xl: 46
1052
+ }, kt = { size: String };
1053
+ function At(e, t = Ot) {
1054
+ return r(() => e.size === void 0 ? null : { fontSize: e.size in t ? `${t[e.size]}px` : e.size });
1055
+ }
1056
+ //#endregion
1057
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/icon/QIcon.js
1058
+ var jt = "0 0 24 24", Mt = (e) => e, Nt = (e) => `ionicons ${e}`, Pt = {
1059
+ "mdi-": (e) => `mdi ${e}`,
1060
+ "icon-": Mt,
1061
+ "bt-": (e) => `bt ${e}`,
1062
+ "eva-": (e) => `eva ${e}`,
1063
+ "ion-md": Nt,
1064
+ "ion-ios": Nt,
1065
+ "ion-logo": Nt,
1066
+ "iconfont ": Mt,
1067
+ "ti-": (e) => `themify-icon ${e}`,
1068
+ "bi-": (e) => `bootstrap-icons ${e}`,
1069
+ "i-": Mt
1070
+ }, Ft = {
1071
+ o_: "-outlined",
1072
+ r_: "-round",
1073
+ s_: "-sharp"
1074
+ }, It = {
1075
+ sym_o_: "-outlined",
1076
+ sym_r_: "-rounded",
1077
+ sym_s_: "-sharp"
1078
+ }, Lt = RegExp("^(" + Object.keys(Pt).join("|") + ")"), Rt = RegExp("^(" + Object.keys(Ft).join("|") + ")"), zt = RegExp("^(" + Object.keys(It).join("|") + ")"), Bt = /^[Mm]\s?[-+]?\.?\d/, Vt = /^img:/, Ht = /^svguse:/, Ut = /^ion-/, Wt = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Z = K({
1079
+ name: "QIcon",
1080
+ props: {
1081
+ ...kt,
1082
+ tag: {
1083
+ type: String,
1084
+ default: "i"
1085
+ },
1086
+ name: String,
1087
+ color: String,
1088
+ left: Boolean,
1089
+ right: Boolean
1090
+ },
1091
+ setup(e, { slots: t }) {
1092
+ let { proxy: { $q: n } } = d(), i = At(e), a = r(() => "q-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color === void 0 ? "" : ` text-${e.color}`)), o = r(() => {
1093
+ let t, r = e.name;
1094
+ if (r === "none" || !r) return { none: !0 };
1095
+ if (n.iconMapFn !== null) {
1096
+ let e = n.iconMapFn(r);
1097
+ if (e !== void 0) {
1098
+ if (e.icon !== void 0) {
1099
+ if (r = e.icon, r === "none" || !r) return { none: !0 };
1100
+ } else return {
1101
+ cls: e.cls,
1102
+ content: e.content === void 0 ? " " : e.content
1103
+ };
1104
+ }
1105
+ }
1106
+ if (Bt.test(r) === !0) {
1107
+ let [e, t = jt] = r.split("|");
1108
+ return {
1109
+ svg: !0,
1110
+ viewBox: t,
1111
+ nodes: e.split("&&").map((e) => {
1112
+ let [t, n, r] = e.split("@@");
1113
+ return f("path", {
1114
+ style: n,
1115
+ d: t,
1116
+ transform: r
1117
+ });
1118
+ })
1119
+ };
1120
+ }
1121
+ if (Vt.test(r) === !0) return {
1122
+ img: !0,
1123
+ src: r.substring(4)
1124
+ };
1125
+ if (Ht.test(r) === !0) {
1126
+ let [e, t = jt] = r.split("|");
1127
+ return {
1128
+ svguse: !0,
1129
+ src: e.substring(7),
1130
+ viewBox: t
1131
+ };
1132
+ }
1133
+ let i = " ", a = r.match(Lt);
1134
+ if (a !== null) t = Pt[a[1]](r);
1135
+ else if (Wt.test(r) === !0) t = r;
1136
+ else if (Ut.test(r) === !0) t = `ionicons ion-${n.platform.is.ios === !0 ? "ios" : "md"}${r.substring(3)}`;
1137
+ else if (zt.test(r) === !0) {
1138
+ t = "notranslate material-symbols";
1139
+ let e = r.match(zt);
1140
+ e !== null && (r = r.substring(6), t += It[e[1]]), i = r;
1141
+ } else {
1142
+ t = "notranslate material-icons";
1143
+ let e = r.match(Rt);
1144
+ e !== null && (r = r.substring(2), t += Ft[e[1]]), i = r;
1145
+ }
1146
+ return {
1147
+ cls: t,
1148
+ content: i
1149
+ };
1150
+ });
1151
+ return () => {
1152
+ let n = {
1153
+ class: a.value,
1154
+ style: i.value,
1155
+ "aria-hidden": "true"
1156
+ };
1157
+ return o.value.none === !0 ? f(e.tag, n, J(t.default)) : o.value.img === !0 ? f(e.tag, n, ct(t.default, [f("img", { src: o.value.src })])) : o.value.svg === !0 ? f(e.tag, n, ct(t.default, [f("svg", { viewBox: o.value.viewBox || "0 0 24 24" }, o.value.nodes)])) : o.value.svguse === !0 ? f(e.tag, n, ct(t.default, [f("svg", { viewBox: o.value.viewBox }, [f("use", { "xlink:href": o.value.src })])])) : (o.value.cls !== void 0 && (n.class += " " + o.value.cls), f(e.tag, n, ct(t.default, [o.value.content])));
1158
+ };
1159
+ }
1160
+ }), Gt = {
1161
+ size: {
1162
+ type: [String, Number],
1163
+ default: "1em"
1164
+ },
1165
+ color: String
1166
+ };
1167
+ function Kt(e) {
1168
+ return {
1169
+ cSize: r(() => e.size in Ot ? `${Ot[e.size]}px` : e.size),
1170
+ classes: r(() => "q-spinner" + (e.color ? ` text-${e.color}` : ""))
1171
+ };
1172
+ }
1173
+ //#endregion
1174
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/spinner/QSpinner.js
1175
+ var qt = K({
1176
+ name: "QSpinner",
1177
+ props: {
1178
+ ...Gt,
1179
+ thickness: {
1180
+ type: Number,
1181
+ default: 5
1182
+ }
1183
+ },
1184
+ setup(e) {
1185
+ let { cSize: t, classes: n } = Kt(e);
1186
+ return () => f("svg", {
1187
+ class: n.value + " q-spinner-mat",
1188
+ width: t.value,
1189
+ height: t.value,
1190
+ viewBox: "25 25 50 50"
1191
+ }, [f("circle", {
1192
+ class: "path",
1193
+ cx: "50",
1194
+ cy: "50",
1195
+ r: "20",
1196
+ fill: "none",
1197
+ stroke: "currentColor",
1198
+ "stroke-width": e.thickness,
1199
+ "stroke-miterlimit": "10"
1200
+ })]);
1201
+ }
1202
+ }), Jt, Yt = 0, Q = Array(256);
1203
+ for (let e = 0; e < 256; e++) Q[e] = (e + 256).toString(16).substring(1);
1204
+ var Xt = (() => {
1205
+ let e = typeof crypto < "u" ? crypto : typeof window < "u" ? window.crypto || window.msCrypto : void 0;
1206
+ if (e !== void 0) {
1207
+ if (e.randomBytes !== void 0) return e.randomBytes;
1208
+ if (e.getRandomValues !== void 0) return (t) => {
1209
+ let n = new Uint8Array(t);
1210
+ return e.getRandomValues(n), n;
1211
+ };
1212
+ }
1213
+ return (e) => {
1214
+ let t = [];
1215
+ for (let n = e; n > 0; n--) t.push(Math.floor(Math.random() * 256));
1216
+ return t;
1217
+ };
1218
+ })(), Zt = 4096;
1219
+ function Qt() {
1220
+ (Jt === void 0 || Yt + 16 > Zt) && (Yt = 0, Jt = Xt(Zt));
1221
+ let e = Array.prototype.slice.call(Jt, Yt, Yt += 16);
1222
+ return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, Q[e[0]] + Q[e[1]] + Q[e[2]] + Q[e[3]] + "-" + Q[e[4]] + Q[e[5]] + "-" + Q[e[6]] + Q[e[7]] + "-" + Q[e[8]] + Q[e[9]] + "-" + Q[e[10]] + Q[e[11]] + Q[e[12]] + Q[e[13]] + Q[e[14]] + Q[e[15]];
1223
+ }
1224
+ //#endregion
1225
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/use-id/use-id.js
1226
+ function $t(e) {
1227
+ return e ?? null;
1228
+ }
1229
+ function en(e, t) {
1230
+ return e ?? (t === !0 ? `f_${Qt()}` : null);
1231
+ }
1232
+ function tn({ getValue: e, required: t = !0 } = {}) {
1233
+ if (B.value === !0) {
1234
+ let n = D(e === void 0 ? null : $t(e()));
1235
+ return t === !0 && n.value === null && C(() => {
1236
+ n.value = `f_${Qt()}`;
1237
+ }), e !== void 0 && N(e, (e) => {
1238
+ n.value = en(e, t);
1239
+ }), n;
1240
+ }
1241
+ return e === void 0 ? D(`f_${Qt()}`) : r(() => en(e(), t));
1242
+ }
1243
+ //#endregion
1244
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js
1245
+ var nn = /^on[A-Z]/;
1246
+ function rn() {
1247
+ let { attrs: e, vnode: t } = d(), n = {
1248
+ listeners: D({}),
1249
+ attributes: D({})
1250
+ };
1251
+ function r() {
1252
+ let r = {}, i = {};
1253
+ for (let t in e) t !== "class" && t !== "style" && nn.test(t) === !1 && (r[t] = e[t]);
1254
+ for (let e in t.props) nn.test(e) === !0 && (i[e] = t.props[e]);
1255
+ n.attributes.value = r, n.listeners.value = i;
1256
+ }
1257
+ return x(r), r(), n;
1258
+ }
1259
+ //#endregion
1260
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-dark/use-dark.js
1261
+ var an = { dark: {
1262
+ type: Boolean,
1263
+ default: null
1264
+ } };
1265
+ function on(e, t) {
1266
+ return r(() => e.dark === null ? t.dark.isActive : e.dark);
1267
+ }
1268
+ //#endregion
1269
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.symbols/symbols.js
1270
+ var sn = "_q_fo_";
1271
+ //#endregion
1272
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/use-form/use-form-child.js
1273
+ function cn({ validate: e, resetValidation: t, requiresQForm: n }) {
1274
+ let r = p(sn, !1);
1275
+ if (r !== !1) {
1276
+ let { props: n, proxy: i } = d();
1277
+ Object.assign(i, {
1278
+ validate: e,
1279
+ resetValidation: t
1280
+ }), N(() => n.disable, (e) => {
1281
+ e === !0 ? (typeof t == "function" && t(), r.unbindComponent(i)) : r.bindComponent(i);
1282
+ }), C(() => {
1283
+ n.disable !== !0 && r.bindComponent(i);
1284
+ }), b(() => {
1285
+ n.disable !== !0 && r.unbindComponent(i);
1286
+ });
1287
+ } else n === !0 && console.error("Parent QForm not found on useFormChild()!");
1288
+ }
1289
+ //#endregion
1290
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/patterns/patterns.js
1291
+ var ln = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, un = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, dn = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, fn = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, pn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, mn = {
1292
+ date: (e) => /^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),
1293
+ time: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),
1294
+ fulltime: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),
1295
+ timeOrFulltime: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),
1296
+ email: (e) => /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),
1297
+ hexColor: (e) => ln.test(e),
1298
+ hexaColor: (e) => un.test(e),
1299
+ hexOrHexaColor: (e) => dn.test(e),
1300
+ rgbColor: (e) => fn.test(e),
1301
+ rgbaColor: (e) => pn.test(e),
1302
+ rgbOrRgbaColor: (e) => fn.test(e) || pn.test(e),
1303
+ hexOrRgbColor: (e) => ln.test(e) || fn.test(e),
1304
+ hexaOrRgbaColor: (e) => un.test(e) || pn.test(e),
1305
+ anyColor: (e) => dn.test(e) || fn.test(e) || pn.test(e)
1306
+ };
1307
+ //#endregion
1308
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/debounce/debounce.js
1309
+ function hn(e, t = 250, n) {
1310
+ let r = null;
1311
+ function i() {
1312
+ let i = arguments;
1313
+ r === null ? n === !0 && e.apply(this, i) : clearTimeout(r), r = setTimeout(() => {
1314
+ r = null, n !== !0 && e.apply(this, i);
1315
+ }, t);
1316
+ }
1317
+ return i.cancel = () => {
1318
+ r !== null && clearTimeout(r);
1319
+ }, i;
1320
+ }
1321
+ //#endregion
1322
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-validate/use-validate.js
1323
+ var gn = [
1324
+ !0,
1325
+ !1,
1326
+ "ondemand"
1327
+ ], _n = {
1328
+ modelValue: {},
1329
+ error: {
1330
+ type: Boolean,
1331
+ default: null
1332
+ },
1333
+ errorMessage: String,
1334
+ noErrorIcon: Boolean,
1335
+ rules: Array,
1336
+ reactiveRules: Boolean,
1337
+ lazyRules: {
1338
+ type: [Boolean, String],
1339
+ default: !1,
1340
+ validator: (e) => gn.includes(e)
1341
+ }
1342
+ };
1343
+ function vn(e, t) {
1344
+ let { props: n, proxy: i } = d(), a = D(!1), o = D(null), s = D(!1);
1345
+ cn({
1346
+ validate: _,
1347
+ resetValidation: g
1348
+ });
1349
+ let c = 0, l, u = r(() => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0), f = r(() => n.disable !== !0 && u.value === !0 && t.value === !1), p = r(() => n.error === !0 || a.value === !0), m = r(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : o.value);
1350
+ N(() => n.modelValue, () => {
1351
+ s.value = !0, f.value === !0 && n.lazyRules === !1 && v();
1352
+ });
1353
+ function h() {
1354
+ n.lazyRules !== "ondemand" && f.value === !0 && s.value === !0 && v();
1355
+ }
1356
+ N(() => n.reactiveRules, (e) => {
1357
+ e === !0 ? l === void 0 && (l = N(() => n.rules, h, {
1358
+ immediate: !0,
1359
+ deep: !0
1360
+ })) : l !== void 0 && (l(), l = void 0);
1361
+ }, { immediate: !0 }), N(() => n.lazyRules, h), N(e, (e) => {
1362
+ e === !0 ? s.value = !0 : f.value === !0 && n.lazyRules !== "ondemand" && v();
1363
+ });
1364
+ function g() {
1365
+ c++, t.value = !1, s.value = !1, a.value = !1, o.value = null, v.cancel();
1366
+ }
1367
+ function _(e = n.modelValue) {
1368
+ if (n.disable === !0 || u.value === !1) return !0;
1369
+ let r = ++c, i = t.value === !0 ? () => {} : () => {
1370
+ s.value = !0;
1371
+ }, l = (e, n) => {
1372
+ e === !0 && i(), a.value = e, o.value = n || null, t.value = !1;
1373
+ }, d = [];
1374
+ for (let t = 0; t < n.rules.length; t++) {
1375
+ let r = n.rules[t], i;
1376
+ if (typeof r == "function" ? i = r(e, mn) : typeof r == "string" && mn[r] !== void 0 && (i = mn[r](e)), i === !1 || typeof i == "string") return l(!0, i), !1;
1377
+ i !== !0 && i !== void 0 && d.push(i);
1378
+ }
1379
+ return d.length === 0 ? (l(!1), !0) : (t.value = !0, Promise.all(d).then((e) => {
1380
+ if (e === void 0 || Array.isArray(e) === !1 || e.length === 0) return r === c && l(!1), !0;
1381
+ let t = e.find((e) => e === !1 || typeof e == "string");
1382
+ return r === c && l(t !== void 0, t), t === void 0;
1383
+ }, (e) => (r === c && (console.error(e), l(!0)), !1)));
1384
+ }
1385
+ let v = hn(_, 0);
1386
+ return b(() => {
1387
+ l?.(), v.cancel();
1388
+ }), Object.assign(i, {
1389
+ resetValidation: g,
1390
+ validate: _
1391
+ }), z(i, "hasError", () => p.value), {
1392
+ isDirtyModel: s,
1393
+ hasRules: u,
1394
+ hasError: p,
1395
+ errorMessage: m,
1396
+ validate: _,
1397
+ resetValidation: g
1398
+ };
1399
+ }
1400
+ //#endregion
1401
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-field/use-field.js
1402
+ function yn(e) {
1403
+ return e != null && ("" + e).length !== 0;
1404
+ }
1405
+ var bn = {
1406
+ ...an,
1407
+ ..._n,
1408
+ label: String,
1409
+ stackLabel: Boolean,
1410
+ hint: String,
1411
+ hideHint: Boolean,
1412
+ prefix: String,
1413
+ suffix: String,
1414
+ labelColor: String,
1415
+ color: String,
1416
+ bgColor: String,
1417
+ filled: Boolean,
1418
+ outlined: Boolean,
1419
+ borderless: Boolean,
1420
+ standout: [Boolean, String],
1421
+ square: Boolean,
1422
+ loading: Boolean,
1423
+ labelSlot: Boolean,
1424
+ bottomSlots: Boolean,
1425
+ hideBottomSpace: Boolean,
1426
+ rounded: Boolean,
1427
+ dense: Boolean,
1428
+ itemAligned: Boolean,
1429
+ counter: Boolean,
1430
+ clearable: Boolean,
1431
+ clearIcon: String,
1432
+ disable: Boolean,
1433
+ readonly: Boolean,
1434
+ autofocus: Boolean,
1435
+ for: String,
1436
+ maxlength: [Number, String]
1437
+ }, xn = [
1438
+ "update:modelValue",
1439
+ "clear",
1440
+ "focus",
1441
+ "blur"
1442
+ ];
1443
+ function Sn({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
1444
+ let { props: i, proxy: a } = d(), o = on(i, a.$q), s = tn({
1445
+ required: e,
1446
+ getValue: () => i.for
1447
+ });
1448
+ return {
1449
+ requiredForAttr: e,
1450
+ changeEvent: n,
1451
+ tag: t === !0 ? r(() => i.tag) : { value: "label" },
1452
+ isDark: o,
1453
+ editable: r(() => i.disable !== !0 && i.readonly !== !0),
1454
+ innerLoading: D(!1),
1455
+ focused: D(!1),
1456
+ hasPopupOpen: !1,
1457
+ splitAttrs: rn(),
1458
+ targetUid: s,
1459
+ rootRef: D(null),
1460
+ targetRef: D(null),
1461
+ controlRef: D(null)
1462
+ };
1463
+ }
1464
+ function Cn(e) {
1465
+ let { props: t, emit: i, slots: a, attrs: o, proxy: s } = d(), { $q: c } = s, l = null;
1466
+ e.hasValue === void 0 && (e.hasValue = r(() => yn(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (e) => {
1467
+ i("update:modelValue", e);
1468
+ }), e.controlEvents === void 0 && (e.controlEvents = {
1469
+ onFocusin: P,
1470
+ onFocusout: F
1471
+ }), Object.assign(e, {
1472
+ clearValue: I,
1473
+ onControlFocusin: P,
1474
+ onControlFocusout: F,
1475
+ focus: M
1476
+ }), e.computedCounter === void 0 && (e.computedCounter = r(() => {
1477
+ if (t.counter !== !1) {
1478
+ let e = typeof t.modelValue == "string" || typeof t.modelValue == "number" ? ("" + t.modelValue).length : Array.isArray(t.modelValue) === !0 ? t.modelValue.length : 0, n = t.maxlength === void 0 ? t.maxValues : t.maxlength;
1479
+ return e + (n === void 0 ? "" : " / " + n);
1480
+ }
1481
+ }));
1482
+ let { isDirtyModel: u, hasRules: p, hasError: m, errorMessage: h, resetValidation: g } = vn(e.focused, e.innerLoading), v = e.floatingLabel === void 0 ? r(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0) : r(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0), x = r(() => t.bottomSlots === !0 || t.hint !== void 0 || p.value === !0 || t.counter === !0 || t.error !== null), w = r(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), T = r(() => `q-field row no-wrap items-start q-field--${w.value}` + (e.fieldClass === void 0 ? "" : ` ${e.fieldClass.value}`) + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (v.value === !0 ? " q-field--float" : "") + (D.value === !0 ? " q-field--labeled" : "") + (t.dense === !0 ? " q-field--dense" : "") + (t.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (m.value === !0 ? " q-field--error" : "") + (m.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && x.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")), E = r(() => "q-field__control relative-position row no-wrap" + (t.bgColor === void 0 ? "" : ` bg-${t.bgColor}`) + (m.value === !0 ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value === !0 ? ` ${t.standout}` : t.color === void 0 ? "" : ` text-${t.color}`)), D = r(() => t.labelSlot === !0 || t.label !== void 0), O = r(() => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && m.value !== !0 ? ` text-${t.labelColor}` : "")), k = r(() => ({
1483
+ id: e.targetUid.value,
1484
+ editable: e.editable.value,
1485
+ focused: e.focused.value,
1486
+ floatingLabel: v.value,
1487
+ modelValue: t.modelValue,
1488
+ emitValue: e.emitValue
1489
+ })), A = r(() => {
1490
+ let n = {};
1491
+ return e.targetUid.value && (n.for = e.targetUid.value), t.disable === !0 && (n["aria-disabled"] = "true"), n;
1492
+ });
1493
+ function j() {
1494
+ let t = document.activeElement, n = e.targetRef?.value;
1495
+ n && (t === null || t.id !== e.targetUid.value) && (n.hasAttribute("tabindex") === !0 || (n = n.querySelector("[tabindex]")), n !== t && n?.focus({ preventScroll: !0 }));
1496
+ }
1497
+ function M() {
1498
+ Me(j);
1499
+ }
1500
+ function N() {
1501
+ Ne(j);
1502
+ let t = document.activeElement;
1503
+ t !== null && e.rootRef.value.contains(t) && t.blur();
1504
+ }
1505
+ function P(t) {
1506
+ l !== null && (clearTimeout(l), l = null), e.editable.value === !0 && e.focused.value === !1 && (e.focused.value = !0, i("focus", t));
1507
+ }
1508
+ function F(t, n) {
1509
+ l !== null && clearTimeout(l), l = setTimeout(() => {
1510
+ l = null, (document.hasFocus() !== !0 || e.hasPopupOpen !== !0 && e.controlRef !== void 0 && e.controlRef.value !== null && e.controlRef.value.contains(document.activeElement) === !1) && (e.focused.value === !0 && (e.focused.value = !1, i("blur", t)), n?.());
1511
+ });
1512
+ }
1513
+ function I(n) {
1514
+ de(n), c.platform.is.mobile === !0 ? e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur() : (e.targetRef?.value || e.rootRef.value).focus(), t.type === "file" && (e.inputRef.value.value = null), i("update:modelValue", null), e.changeEvent === !0 && i("change", null), i("clear", t.modelValue), _(() => {
1515
+ let e = u.value;
1516
+ g(), u.value = e;
1517
+ });
1518
+ }
1519
+ function L(e) {
1520
+ [13, 32].includes(e.keyCode) && I(e);
1521
+ }
1522
+ function R() {
1523
+ let n = [];
1524
+ return a.prepend !== void 0 && n.push(f("div", {
1525
+ class: "q-field__prepend q-field__marginal row no-wrap items-center",
1526
+ key: "prepend",
1527
+ onClick: G
1528
+ }, a.prepend())), n.push(f("div", { class: "q-field__control-container col relative-position row no-wrap q-anchor--skip" }, z())), m.value === !0 && t.noErrorIcon === !1 && n.push(V("error", [f(Z, {
1529
+ name: c.iconSet.field.error,
1530
+ color: "negative"
1531
+ })])), t.loading === !0 || e.innerLoading.value === !0 ? n.push(V("inner-loading-append", a.loading === void 0 ? [f(qt, { color: t.color })] : a.loading())) : t.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && n.push(V("inner-clearable-append", [f(Z, {
1532
+ class: "q-field__focusable-action",
1533
+ name: t.clearIcon || c.iconSet.field.clear,
1534
+ tabindex: 0,
1535
+ role: "button",
1536
+ "aria-hidden": "false",
1537
+ "aria-label": c.lang.label.clear,
1538
+ onKeyup: L,
1539
+ onClick: I
1540
+ })])), a.append !== void 0 && n.push(f("div", {
1541
+ class: "q-field__append q-field__marginal row no-wrap items-center",
1542
+ key: "append",
1543
+ onClick: G
1544
+ }, a.append())), e.getInnerAppend !== void 0 && n.push(V("inner-append", e.getInnerAppend())), e.getControlChild !== void 0 && n.push(e.getControlChild()), n;
1545
+ }
1546
+ function z() {
1547
+ let n = [];
1548
+ return t.prefix !== void 0 && t.prefix !== null && n.push(f("div", { class: "q-field__prefix no-pointer-events row items-center" }, t.prefix)), e.getShadowControl !== void 0 && e.hasShadow.value === !0 && n.push(e.getShadowControl()), e.getControl === void 0 ? a.rawControl === void 0 ? a.control !== void 0 && n.push(f("div", {
1549
+ ref: e.targetRef,
1550
+ class: "q-field__native row",
1551
+ tabindex: -1,
1552
+ ...e.splitAttrs.attributes.value,
1553
+ "data-autofocus": t.autofocus === !0 || void 0
1554
+ }, a.control(k.value))) : n.push(a.rawControl()) : n.push(e.getControl()), D.value === !0 && n.push(f("div", { class: O.value }, J(a.label, t.label))), t.suffix !== void 0 && t.suffix !== null && n.push(f("div", { class: "q-field__suffix no-pointer-events row items-center" }, t.suffix)), n.concat(J(a.default));
1555
+ }
1556
+ function B() {
1557
+ let r, i;
1558
+ m.value === !0 ? h.value === null ? (r = J(a.error), i = "q--slot-error") : (r = [f("div", { role: "alert" }, h.value)], i = `q--slot-error-${h.value}`) : (t.hideHint !== !0 || e.focused.value === !0) && (t.hint === void 0 ? (r = J(a.hint), i = "q--slot-hint") : (r = [f("div", t.hint)], i = `q--slot-hint-${t.hint}`));
1559
+ let o = t.counter === !0 || a.counter !== void 0;
1560
+ if (t.hideBottomSpace === !0 && o === !1 && r === void 0) return;
1561
+ let s = f("div", {
1562
+ key: i,
1563
+ class: "q-field__messages col"
1564
+ }, r);
1565
+ return f("div", {
1566
+ class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace === !0 ? "stale" : "animated"),
1567
+ onClick: G
1568
+ }, [t.hideBottomSpace === !0 ? s : f(n, { name: "q-transition--field-message" }, () => s), o === !0 ? f("div", { class: "q-field__counter" }, a.counter === void 0 ? e.computedCounter.value : a.counter()) : null]);
1569
+ }
1570
+ function V(e, t) {
1571
+ return t === null ? null : f("div", {
1572
+ key: e,
1573
+ class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
1574
+ }, t);
1575
+ }
1576
+ let H = !1;
1577
+ return S(() => {
1578
+ H = !0;
1579
+ }), y(() => {
1580
+ H === !0 && t.autofocus === !0 && s.focus();
1581
+ }), t.autofocus === !0 && C(() => {
1582
+ s.focus();
1583
+ }), b(() => {
1584
+ l !== null && clearTimeout(l);
1585
+ }), Object.assign(s, {
1586
+ focus: M,
1587
+ blur: N
1588
+ }), function() {
1589
+ let n = e.getControl === void 0 && a.control === void 0 ? {
1590
+ ...e.splitAttrs.attributes.value,
1591
+ "data-autofocus": t.autofocus === !0 || void 0,
1592
+ ...A.value
1593
+ } : A.value;
1594
+ return f(e.tag.value, {
1595
+ ref: e.rootRef,
1596
+ class: [T.value, o.class],
1597
+ style: o.style,
1598
+ ...n
1599
+ }, [
1600
+ a.before === void 0 ? null : f("div", {
1601
+ class: "q-field__before q-field__marginal row no-wrap items-center",
1602
+ onClick: G
1603
+ }, a.before()),
1604
+ f("div", { class: "q-field__inner relative-position col self-stretch" }, [f("div", {
1605
+ ref: e.controlRef,
1606
+ class: E.value,
1607
+ tabindex: -1,
1608
+ ...e.controlEvents
1609
+ }, R()), x.value === !0 ? B() : null]),
1610
+ a.after === void 0 ? null : f("div", {
1611
+ class: "q-field__after q-field__marginal row no-wrap items-center",
1612
+ onClick: G
1613
+ }, a.after())
1614
+ ]);
1615
+ };
1616
+ }
1617
+ //#endregion
1618
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/input/use-mask.js
1619
+ var wn = {
1620
+ date: "####/##/##",
1621
+ datetime: "####/##/## ##:##",
1622
+ time: "##:##",
1623
+ fulltime: "##:##:##",
1624
+ phone: "(###) ### - ####",
1625
+ card: "#### #### #### ####"
1626
+ }, Tn = {
1627
+ "#": {
1628
+ pattern: "[\\d]",
1629
+ negate: "[^\\d]"
1630
+ },
1631
+ S: {
1632
+ pattern: "[a-zA-Z]",
1633
+ negate: "[^a-zA-Z]"
1634
+ },
1635
+ N: {
1636
+ pattern: "[0-9a-zA-Z]",
1637
+ negate: "[^0-9a-zA-Z]"
1638
+ },
1639
+ A: {
1640
+ pattern: "[a-zA-Z]",
1641
+ negate: "[^a-zA-Z]",
1642
+ transform: (e) => e.toLocaleUpperCase()
1643
+ },
1644
+ a: {
1645
+ pattern: "[a-zA-Z]",
1646
+ negate: "[^a-zA-Z]",
1647
+ transform: (e) => e.toLocaleLowerCase()
1648
+ },
1649
+ X: {
1650
+ pattern: "[0-9a-zA-Z]",
1651
+ negate: "[^0-9a-zA-Z]",
1652
+ transform: (e) => e.toLocaleUpperCase()
1653
+ },
1654
+ x: {
1655
+ pattern: "[0-9a-zA-Z]",
1656
+ negate: "[^0-9a-zA-Z]",
1657
+ transform: (e) => e.toLocaleLowerCase()
1658
+ }
1659
+ }, En = Object.keys(Tn);
1660
+ En.forEach((e) => {
1661
+ Tn[e].regex = new RegExp(Tn[e].pattern);
1662
+ });
1663
+ var Dn = RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + En.join("") + "])|(.)", "g"), On = /[.*+?^${}()|[\]\\]/g, $ = "", kn = {
1664
+ mask: String,
1665
+ reverseFillMask: Boolean,
1666
+ fillMask: [Boolean, String],
1667
+ unmaskedValue: Boolean
1668
+ };
1669
+ function An(e, t, n, r) {
1670
+ let i, a, o, s, c, l, u = D(null), d = D(p());
1671
+ function f() {
1672
+ return e.autogrow === !0 || [
1673
+ "textarea",
1674
+ "text",
1675
+ "search",
1676
+ "url",
1677
+ "tel",
1678
+ "password"
1679
+ ].includes(e.type);
1680
+ }
1681
+ N(() => e.type + e.autogrow, h), N(() => e.mask, (n) => {
1682
+ if (n !== void 0) g(d.value, !0);
1683
+ else {
1684
+ let n = w(d.value);
1685
+ h(), e.modelValue !== n && t("update:modelValue", n);
1686
+ }
1687
+ }), N(() => e.fillMask + e.reverseFillMask, () => {
1688
+ u.value === !0 && g(d.value, !0);
1689
+ }), N(() => e.unmaskedValue, () => {
1690
+ u.value === !0 && g(d.value);
1691
+ });
1692
+ function p() {
1693
+ if (h(), u.value === !0) {
1694
+ let t = S(w(e.modelValue));
1695
+ return e.fillMask === !1 ? t : T(t);
1696
+ }
1697
+ return e.modelValue;
1698
+ }
1699
+ function m(e) {
1700
+ if (e < i.length) return i.slice(-e);
1701
+ let t = "", n = i, r = n.indexOf($);
1702
+ if (r !== -1) {
1703
+ for (let r = e - n.length; r > 0; r--) t += $;
1704
+ n = n.slice(0, r) + t + n.slice(r);
1705
+ }
1706
+ return n;
1707
+ }
1708
+ function h() {
1709
+ if (u.value = e.mask !== void 0 && e.mask.length !== 0 && f(), u.value === !1) {
1710
+ s = void 0, i = "", a = "";
1711
+ return;
1712
+ }
1713
+ let t = wn[e.mask] === void 0 ? e.mask : wn[e.mask], n = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", r = n.replace(On, "\\$&"), c = [], l = [], d = [], p = e.reverseFillMask === !0, m = "", h = "";
1714
+ t.replace(Dn, (e, t, n, r, i) => {
1715
+ if (r !== void 0) {
1716
+ let e = Tn[r];
1717
+ d.push(e), h = e.negate, p === !0 && (l.push("(?:" + h + "+)?(" + e.pattern + "+)?(?:" + h + "+)?(" + e.pattern + "+)?"), p = !1), l.push("(?:" + h + "+)?(" + e.pattern + ")?");
1718
+ } else if (n !== void 0) m = "\\" + (n === "\\" ? "" : n), d.push(n), c.push("([^" + m + "]+)?" + m + "?");
1719
+ else {
1720
+ let e = t === void 0 ? i : t;
1721
+ m = e === "\\" ? "\\\\\\\\" : e.replace(On, "\\\\$&"), d.push(e), c.push("([^" + m + "]+)?" + m + "?");
1722
+ }
1723
+ });
1724
+ let g = RegExp("^" + c.join("") + "(" + (m === "" ? "." : "[^" + m + "]") + "+)?" + (m === "" ? "" : "[" + m + "]*") + "$"), _ = l.length - 1, v = l.map((t, n) => n === 0 && e.reverseFillMask === !0 ? RegExp("^" + r + "*" + t) : RegExp(n === _ ? "^" + t + "(" + (h === "" ? "." : h) + "+)?" + (e.reverseFillMask === !0 ? "$" : r + "*") : "^" + t));
1725
+ o = d, s = (t) => {
1726
+ let n = g.exec(e.reverseFillMask === !0 ? t : t.slice(0, d.length + 1));
1727
+ n !== null && (t = n.slice(1).join(""));
1728
+ let r = [], i = v.length;
1729
+ for (let e = 0, n = t; e < i; e++) {
1730
+ let t = v[e].exec(n);
1731
+ if (t === null) break;
1732
+ n = n.slice(t.shift().length), r.push(...t);
1733
+ }
1734
+ return r.length === 0 ? t : r.join("");
1735
+ }, i = d.map((e) => typeof e == "string" ? e : $).join(""), a = i.split($).join(n);
1736
+ }
1737
+ function g(t, o, s) {
1738
+ let l = r.value, u = l.selectionEnd, f = l.value.length - u, p = w(t);
1739
+ o === !0 && h();
1740
+ let m = S(p), g = e.fillMask === !1 ? m : T(m), v = d.value !== g;
1741
+ l.value !== g && (l.value = g), v === !0 && (d.value = g), document.activeElement === l && _(() => {
1742
+ if (g === a) {
1743
+ let t = e.reverseFillMask === !0 ? a.length : 0;
1744
+ l.setSelectionRange(t, t, "forward");
1745
+ return;
1746
+ }
1747
+ if (s === "insertFromPaste" && e.reverseFillMask !== !0) {
1748
+ let e = l.selectionEnd, t = u - 1;
1749
+ for (let n = c; n <= t && n < e; n++) i[n] !== $ && t++;
1750
+ y.right(l, t);
1751
+ return;
1752
+ }
1753
+ if (["deleteContentBackward", "deleteContentForward"].indexOf(s) !== -1) {
1754
+ let t = e.reverseFillMask === !0 ? u === 0 ? +(g.length > m.length) : Math.max(0, g.length - (g === a ? 0 : Math.min(m.length, f) + 1)) + 1 : u;
1755
+ l.setSelectionRange(t, t, "forward");
1756
+ return;
1757
+ }
1758
+ if (e.reverseFillMask === !0) {
1759
+ if (v === !0) {
1760
+ let e = Math.max(0, g.length - (g === a ? 0 : Math.min(m.length, f + 1)));
1761
+ e === 1 && u === 1 ? l.setSelectionRange(e, e, "forward") : y.rightReverse(l, e);
1762
+ } else {
1763
+ let e = g.length - f;
1764
+ l.setSelectionRange(e, e, "backward");
1765
+ }
1766
+ } else if (v === !0) {
1767
+ let e = Math.max(0, i.indexOf($), Math.min(m.length, u) - 1);
1768
+ y.right(l, e);
1769
+ } else {
1770
+ let e = u - 1;
1771
+ y.right(l, e);
1772
+ }
1773
+ });
1774
+ let b = e.unmaskedValue === !0 ? w(g) : g;
1775
+ String(e.modelValue) !== b && (e.modelValue !== null || b !== "") && n(b, !0);
1776
+ }
1777
+ function v(e, t, n) {
1778
+ let r = S(w(e.value));
1779
+ t = Math.max(0, i.indexOf($), Math.min(r.length, t)), c = t, e.setSelectionRange(t, n, "forward");
1780
+ }
1781
+ let y = {
1782
+ left(e, t) {
1783
+ let n = i.slice(t - 1).indexOf($) === -1, r = Math.max(0, t - 1);
1784
+ for (; r >= 0; r--) if (i[r] === $) {
1785
+ t = r, n === !0 && t++;
1786
+ break;
1787
+ }
1788
+ if (r < 0 && i[t] !== void 0 && i[t] !== $) return y.right(e, 0);
1789
+ t >= 0 && e.setSelectionRange(t, t, "backward");
1790
+ },
1791
+ right(e, t) {
1792
+ let n = e.value.length, r = Math.min(n, t + 1);
1793
+ for (; r <= n; r++) if (i[r] === $) {
1794
+ t = r;
1795
+ break;
1796
+ } else i[r - 1] === $ && (t = r);
1797
+ if (r > n && i[t - 1] !== void 0 && i[t - 1] !== $) return y.left(e, n);
1798
+ e.setSelectionRange(t, t, "forward");
1799
+ },
1800
+ leftReverse(e, t) {
1801
+ let n = m(e.value.length), r = Math.max(0, t - 1);
1802
+ for (; r >= 0; r--) if (n[r - 1] === $) {
1803
+ t = r;
1804
+ break;
1805
+ } else if (n[r] === $ && (t = r, r === 0)) break;
1806
+ if (r < 0 && n[t] !== void 0 && n[t] !== $) return y.rightReverse(e, 0);
1807
+ t >= 0 && e.setSelectionRange(t, t, "backward");
1808
+ },
1809
+ rightReverse(e, t) {
1810
+ let n = e.value.length, r = m(n), i = r.slice(0, t + 1).indexOf($) === -1, a = Math.min(n, t + 1);
1811
+ for (; a <= n; a++) if (r[a - 1] === $) {
1812
+ t = a, t > 0 && i === !0 && t--;
1813
+ break;
1814
+ }
1815
+ if (a > n && r[t - 1] !== void 0 && r[t - 1] !== $) return y.leftReverse(e, n);
1816
+ e.setSelectionRange(t, t, "forward");
1817
+ }
1818
+ };
1819
+ function b(e) {
1820
+ t("click", e), l = void 0;
1821
+ }
1822
+ function x(n) {
1823
+ if (t("keydown", n), he(n) === !0 || n.altKey === !0) return;
1824
+ let i = r.value, a = i.selectionStart, o = i.selectionEnd;
1825
+ if (n.shiftKey || (l = void 0), n.keyCode === 37 || n.keyCode === 39) {
1826
+ n.shiftKey && l === void 0 && (l = i.selectionDirection === "forward" ? a : o);
1827
+ let t = y[(n.keyCode === 39 ? "right" : "left") + (e.reverseFillMask === !0 ? "Reverse" : "")];
1828
+ if (n.preventDefault(), t(i, l === a ? o : a), n.shiftKey) {
1829
+ let e = i.selectionStart;
1830
+ i.setSelectionRange(Math.min(l, e), Math.max(l, e), "forward");
1831
+ }
1832
+ } else n.keyCode === 8 && e.reverseFillMask !== !0 && a === o ? (y.left(i, a), i.setSelectionRange(i.selectionStart, o, "backward")) : n.keyCode === 46 && e.reverseFillMask === !0 && a === o && (y.rightReverse(i, o), i.setSelectionRange(a, i.selectionEnd, "forward"));
1833
+ }
1834
+ function S(t) {
1835
+ if (t == null || t === "") return "";
1836
+ if (e.reverseFillMask === !0) return C(t);
1837
+ let n = o, r = 0, i = "";
1838
+ for (let e = 0; e < n.length; e++) {
1839
+ let a = t[r], o = n[e];
1840
+ if (typeof o == "string") i += o, a === o && r++;
1841
+ else if (a !== void 0 && o.regex.test(a)) i += o.transform === void 0 ? a : o.transform(a), r++;
1842
+ else return i;
1843
+ }
1844
+ return i;
1845
+ }
1846
+ function C(e) {
1847
+ let t = o, n = i.indexOf($), r = e.length - 1, a = "";
1848
+ for (let i = t.length - 1; i >= 0 && r !== -1; i--) {
1849
+ let o = t[i], s = e[r];
1850
+ if (typeof o == "string") a = o + a, s === o && r--;
1851
+ else if (s !== void 0 && o.regex.test(s)) do
1852
+ a = (o.transform === void 0 ? s : o.transform(s)) + a, r--, s = e[r];
1853
+ while (n === i && s !== void 0 && o.regex.test(s));
1854
+ else return a;
1855
+ }
1856
+ return a;
1857
+ }
1858
+ function w(e) {
1859
+ return typeof e != "string" || s === void 0 ? typeof e == "number" ? s("" + e) : e : s(e);
1860
+ }
1861
+ function T(t) {
1862
+ return a.length - t.length <= 0 ? t : e.reverseFillMask === !0 && t.length !== 0 ? a.slice(0, -t.length) + t : t + a.slice(t.length);
1863
+ }
1864
+ return {
1865
+ innerValue: d,
1866
+ hasMask: u,
1867
+ moveCursorForPaste: v,
1868
+ updateMaskValue: g,
1869
+ onMaskedKeydown: x,
1870
+ onMaskedClick: b
1871
+ };
1872
+ }
1873
+ //#endregion
1874
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/use-form/private.use-form.js
1875
+ var jn = { name: String };
1876
+ function Mn(e) {
1877
+ return r(() => e.name || e.for);
1878
+ }
1879
+ //#endregion
1880
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js
1881
+ function Nn(e, t) {
1882
+ function n() {
1883
+ let t = e.modelValue;
1884
+ try {
1885
+ let e = "DataTransfer" in window ? new DataTransfer() : "ClipboardEvent" in window ? new ClipboardEvent("").clipboardData : void 0;
1886
+ return Object(t) === t && ("length" in t ? Array.from(t) : [t]).forEach((t) => {
1887
+ e.items.add(t);
1888
+ }), { files: e.files };
1889
+ } catch {
1890
+ return { files: void 0 };
1891
+ }
1892
+ }
1893
+ return r(t === !0 ? () => {
1894
+ if (e.type === "file") return n();
1895
+ } : n);
1896
+ }
1897
+ //#endregion
1898
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js
1899
+ var Pn = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/, Fn = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u, In = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/, Ln = /[a-z0-9_ -]$/i;
1900
+ function Rn(e) {
1901
+ return function(t) {
1902
+ if (t.type === "compositionend" || t.type === "change") {
1903
+ if (t.target.qComposing !== !0) return;
1904
+ t.target.qComposing = !1, e(t);
1905
+ } else t.type === "compositionupdate" && t.target.qComposing !== !0 && typeof t.data == "string" && (U.is.firefox === !0 ? Ln.test(t.data) === !1 : Pn.test(t.data) === !0 || Fn.test(t.data) === !0 || In.test(t.data) === !0) && (t.target.qComposing = !0);
1906
+ };
1907
+ }
1908
+ //#endregion
1909
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/input/QInput.js
1910
+ var zn = K({
1911
+ name: "QInput",
1912
+ inheritAttrs: !1,
1913
+ props: {
1914
+ ...bn,
1915
+ ...kn,
1916
+ ...jn,
1917
+ modelValue: [
1918
+ String,
1919
+ Number,
1920
+ FileList
1921
+ ],
1922
+ shadowText: String,
1923
+ type: {
1924
+ type: String,
1925
+ default: "text"
1926
+ },
1927
+ debounce: [String, Number],
1928
+ autogrow: Boolean,
1929
+ inputClass: [
1930
+ Array,
1931
+ String,
1932
+ Object
1933
+ ],
1934
+ inputStyle: [
1935
+ Array,
1936
+ String,
1937
+ Object
1938
+ ]
1939
+ },
1940
+ emits: [
1941
+ ...xn,
1942
+ "paste",
1943
+ "change",
1944
+ "keydown",
1945
+ "click",
1946
+ "animationend"
1947
+ ],
1948
+ setup(e, { emit: t, attrs: n }) {
1949
+ let { proxy: i } = d(), { $q: a } = i, o = {}, s = NaN, c, l, u = null, p, m = D(null), h = Mn(e), { innerValue: g, hasMask: v, moveCursorForPaste: y, updateMaskValue: x, onMaskedKeydown: S, onMaskedClick: w } = An(e, t, V, m), T = Nn(e, !0), E = r(() => yn(g.value)), O = Rn(R), k = Sn({ changeEvent: !0 }), A = r(() => e.type === "textarea" || e.autogrow === !0), j = r(() => A.value === !0 || [
1950
+ "text",
1951
+ "search",
1952
+ "url",
1953
+ "tel",
1954
+ "password"
1955
+ ].includes(e.type)), M = r(() => {
1956
+ let t = {
1957
+ ...k.splitAttrs.listeners.value,
1958
+ onInput: R,
1959
+ onPaste: L,
1960
+ onChange: ee,
1961
+ onBlur: te,
1962
+ onFocus: ue
1963
+ };
1964
+ return t.onCompositionstart = t.onCompositionupdate = t.onCompositionend = O, v.value === !0 && (t.onKeydown = S, t.onClick = w), e.autogrow === !0 && (t.onAnimationend = B), t;
1965
+ }), P = r(() => {
1966
+ let t = {
1967
+ tabindex: 0,
1968
+ "data-autofocus": e.autofocus === !0 || void 0,
1969
+ rows: e.type === "textarea" ? 6 : void 0,
1970
+ "aria-label": e.label,
1971
+ name: h.value,
1972
+ ...k.splitAttrs.attributes.value,
1973
+ id: k.targetUid.value,
1974
+ maxlength: e.maxlength,
1975
+ disabled: e.disable === !0,
1976
+ readonly: e.readonly === !0
1977
+ };
1978
+ return A.value === !1 && (t.type = e.type), e.autogrow === !0 && (t.rows = 1), t;
1979
+ });
1980
+ N(() => e.type, () => {
1981
+ m.value && (m.value.value = e.modelValue);
1982
+ }), N(() => e.modelValue, (t) => {
1983
+ if (v.value === !0) {
1984
+ if (l === !0 && (l = !1, String(t) === s)) return;
1985
+ x(t);
1986
+ } else g.value !== t && (g.value = t, e.type === "number" && o.hasOwnProperty("value") === !0 && (c === !0 ? c = !1 : delete o.value));
1987
+ e.autogrow === !0 && _(H);
1988
+ }), N(() => e.autogrow, (e) => {
1989
+ e === !0 ? _(H) : m.value !== null && n.rows > 0 && (m.value.style.height = "auto");
1990
+ }), N(() => e.dense, () => {
1991
+ e.autogrow === !0 && _(H);
1992
+ });
1993
+ function F() {
1994
+ Me(() => {
1995
+ let e = document.activeElement;
1996
+ m.value !== null && m.value !== e && (e === null || e.id !== k.targetUid.value) && m.value.focus({ preventScroll: !0 });
1997
+ });
1998
+ }
1999
+ function I() {
2000
+ m.value?.select();
2001
+ }
2002
+ function L(n) {
2003
+ if (v.value === !0 && e.reverseFillMask !== !0) {
2004
+ let e = n.target;
2005
+ y(e, e.selectionStart, e.selectionEnd);
2006
+ }
2007
+ t("paste", n);
2008
+ }
2009
+ function R(n) {
2010
+ if (!n || !n.target) return;
2011
+ if (e.type === "file") {
2012
+ t("update:modelValue", n.target.files);
2013
+ return;
2014
+ }
2015
+ let r = n.target.value;
2016
+ if (n.target.qComposing === !0) {
2017
+ o.value = r;
2018
+ return;
2019
+ }
2020
+ if (v.value === !0) x(r, !1, n.inputType);
2021
+ else if (V(r), j.value === !0 && n.target === document.activeElement) {
2022
+ let { selectionStart: e, selectionEnd: t } = n.target;
2023
+ e !== void 0 && t !== void 0 && _(() => {
2024
+ n.target === document.activeElement && r.indexOf(n.target.value) === 0 && n.target.setSelectionRange(e, t);
2025
+ });
2026
+ }
2027
+ e.autogrow === !0 && H();
2028
+ }
2029
+ function B(e) {
2030
+ t("animationend", e), H();
2031
+ }
2032
+ function V(n, r) {
2033
+ p = () => {
2034
+ u = null, e.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, e.modelValue !== n && s !== n && (s = n, r === !0 && (l = !0), t("update:modelValue", n), _(() => {
2035
+ s === n && (s = NaN);
2036
+ })), p = void 0;
2037
+ }, e.type === "number" && (c = !0, o.value = n), e.debounce === void 0 ? p() : (u !== null && clearTimeout(u), o.value = n, u = setTimeout(p, e.debounce));
2038
+ }
2039
+ function H() {
2040
+ requestAnimationFrame(() => {
2041
+ let e = m.value;
2042
+ if (e !== null) {
2043
+ let t = e.parentNode.style, { scrollTop: n } = e, { overflowY: r, maxHeight: i } = a.platform.is.firefox === !0 ? {} : window.getComputedStyle(e), o = r !== void 0 && r !== "scroll";
2044
+ o === !0 && (e.style.overflowY = "hidden"), t.marginBottom = e.scrollHeight - 1 + "px", e.style.height = "1px", e.style.height = e.scrollHeight + "px", o === !0 && (e.style.overflowY = parseInt(i, 10) < e.scrollHeight ? "auto" : "hidden"), t.marginBottom = "", e.scrollTop = n;
2045
+ }
2046
+ });
2047
+ }
2048
+ function ee(e) {
2049
+ O(e), u !== null && (clearTimeout(u), u = null), p?.(), t("change", e.target.value);
2050
+ }
2051
+ function te(t) {
2052
+ t !== void 0 && ue(t), u !== null && (clearTimeout(u), u = null), p?.(), c = !1, l = !1, delete o.value, e.type !== "file" && setTimeout(() => {
2053
+ m.value !== null && (m.value.value = g.value === void 0 ? "" : g.value);
2054
+ });
2055
+ }
2056
+ function ne() {
2057
+ return o.hasOwnProperty("value") === !0 ? o.value : g.value === void 0 ? "" : g.value;
2058
+ }
2059
+ b(() => {
2060
+ te();
2061
+ }), C(() => {
2062
+ e.autogrow === !0 && H();
2063
+ }), Object.assign(k, {
2064
+ innerValue: g,
2065
+ fieldClass: r(() => `q-${A.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")),
2066
+ hasShadow: r(() => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0),
2067
+ inputRef: m,
2068
+ emitValue: V,
2069
+ hasValue: E,
2070
+ floatingLabel: r(() => E.value === !0 && (e.type !== "number" || isNaN(g.value) === !1) || yn(e.displayValue)),
2071
+ getControl: () => f(A.value === !0 ? "textarea" : "input", {
2072
+ ref: m,
2073
+ class: ["q-field__native q-placeholder", e.inputClass],
2074
+ style: e.inputStyle,
2075
+ ...P.value,
2076
+ ...M.value,
2077
+ ...e.type === "file" ? T.value : { value: ne() }
2078
+ }),
2079
+ getShadowControl: () => f("div", { class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (A.value === !0 ? "" : " text-no-wrap") }, [f("span", { class: "invisible" }, ne()), f("span", e.shadowText)])
2080
+ });
2081
+ let re = Cn(k);
2082
+ return Object.assign(i, {
2083
+ focus: F,
2084
+ select: I,
2085
+ getNativeElement: () => m.value
2086
+ }), z(i, "nativeEl", () => m.value), re;
2087
+ }
2088
+ });
2089
+ //#endregion
2090
+ //#region lib/components/inputs/VnInput.vue?vue&type=i18n&index=0&lang.i18n
2091
+ function Bn(e) {
2092
+ let t = e;
2093
+ t.__i18n = t.__i18n || [], t.__i18n.push({
2094
+ locale: "",
2095
+ resource: {
2096
+ en: {
2097
+ inputMin: {
2098
+ t: 0,
2099
+ b: {
2100
+ t: 2,
2101
+ i: [{
2102
+ t: 3,
2103
+ v: "Must be more than "
2104
+ }, {
2105
+ t: 4,
2106
+ k: "value"
2107
+ }]
2108
+ }
2109
+ },
2110
+ maxLength: {
2111
+ t: 0,
2112
+ b: {
2113
+ t: 2,
2114
+ i: [
2115
+ {
2116
+ t: 3,
2117
+ v: "The value exceeds "
2118
+ },
2119
+ {
2120
+ t: 4,
2121
+ k: "value"
2122
+ },
2123
+ {
2124
+ t: 3,
2125
+ v: " characters"
2126
+ }
2127
+ ]
2128
+ }
2129
+ },
2130
+ inputMax: {
2131
+ t: 0,
2132
+ b: {
2133
+ t: 2,
2134
+ i: [{
2135
+ t: 3,
2136
+ v: "Must be less than "
2137
+ }, {
2138
+ t: 4,
2139
+ k: "value"
2140
+ }]
2141
+ }
2142
+ }
2143
+ },
2144
+ es: {
2145
+ inputMin: {
2146
+ t: 0,
2147
+ b: {
2148
+ t: 2,
2149
+ i: [{
2150
+ t: 3,
2151
+ v: "Debe ser mayor a "
2152
+ }, {
2153
+ t: 4,
2154
+ k: "value"
2155
+ }]
2156
+ }
2157
+ },
2158
+ maxLength: {
2159
+ t: 0,
2160
+ b: {
2161
+ t: 2,
2162
+ i: [
2163
+ {
2164
+ t: 3,
2165
+ v: "El valor excede los "
2166
+ },
2167
+ {
2168
+ t: 4,
2169
+ k: "value"
2170
+ },
2171
+ {
2172
+ t: 3,
2173
+ v: " carácteres"
2174
+ }
2175
+ ]
2176
+ }
2177
+ },
2178
+ inputMax: {
2179
+ t: 0,
2180
+ b: {
2181
+ t: 2,
2182
+ i: [{
2183
+ t: 3,
2184
+ v: "Debe ser menor a "
2185
+ }, {
2186
+ t: 4,
2187
+ k: "value"
2188
+ }]
2189
+ }
2190
+ },
2191
+ "Convert to uppercase": {
2192
+ t: 0,
2193
+ b: {
2194
+ t: 2,
2195
+ i: [{ t: 3 }],
2196
+ s: "Convertir a mayúsculas"
2197
+ }
2198
+ },
2199
+ Remove: {
2200
+ t: 0,
2201
+ b: {
2202
+ t: 2,
2203
+ i: [{ t: 3 }],
2204
+ s: "Eliminar"
2205
+ }
2206
+ }
2207
+ }
2208
+ }
2209
+ });
2210
+ }
2211
+ //#endregion
2212
+ //#region lib/components/inputs/VnInput.vue
2213
+ var Vn = {
2214
+ __name: "VnInput",
2215
+ props: /*@__PURE__*/ h({
2216
+ isOutlined: {
2217
+ type: Boolean,
2218
+ default: !1
2219
+ },
2220
+ info: {
2221
+ type: String,
2222
+ default: ""
2223
+ },
2224
+ clearable: {
2225
+ type: Boolean,
2226
+ default: !0
2227
+ },
2228
+ emptyToNull: {
2229
+ type: Boolean,
2230
+ default: !0
2231
+ },
2232
+ insertable: {
2233
+ type: Boolean,
2234
+ default: !1
2235
+ },
2236
+ maxlength: {
2237
+ type: Number,
2238
+ default: null
2239
+ },
2240
+ uppercase: {
2241
+ type: Boolean,
2242
+ default: !1
2243
+ }
2244
+ }, {
2245
+ modelValue: { default: null },
2246
+ modelModifiers: {}
2247
+ }),
2248
+ emits: /*@__PURE__*/ h(["remove"], ["update:modelValue"]),
2249
+ setup(t, { expose: n, emit: u }) {
2250
+ let d = j(), { isRequired: f, requiredFieldRule: p } = e(d), { t: m } = I(), h = u, y = t, b = M(t, "modelValue"), x = [
2251
+ "number",
2252
+ "search",
2253
+ "tel",
2254
+ "url",
2255
+ "password"
2256
+ ], S = (e) => {
2257
+ let t = e;
2258
+ y.emptyToNull && t === "" && (t = null), b.value = t;
2259
+ }, w = D(null), E = D(!1), N = r(() => y.isOutlined ? {
2260
+ dense: !0,
2261
+ outlined: !0,
2262
+ rounded: !0
2263
+ } : {}), F = (e) => {
2264
+ w.value?.focus(e);
2265
+ }, L = (e) => {
2266
+ _(() => {
2267
+ let t = e.target || w.value?.$el?.querySelector("input"), n = e.target.type || t?.getAttribute("type");
2268
+ if (n !== "email") {
2269
+ if (!x.includes(n)) {
2270
+ if (t?.setSelectionRange) {
2271
+ let e = t.value?.length ?? 0;
2272
+ t.setSelectionRange(e, e);
2273
+ }
2274
+ return;
2275
+ }
2276
+ t?.select?.();
2277
+ }
2278
+ });
2279
+ };
2280
+ n({
2281
+ focus: F,
2282
+ vnInputRef: w
2283
+ });
2284
+ let R = r(() => [
2285
+ p,
2286
+ ...d.rules ?? [],
2287
+ (e) => {
2288
+ let t = y.maxlength;
2289
+ if (t && +e?.length > t) return m("maxLength", { value: t });
2290
+ let { min: n, max: r } = d, i = n === void 0 ? void 0 : Number(n), a = r === void 0 ? void 0 : Number(r);
2291
+ return i !== void 0 && i >= 0 && Math.floor(e) < i ? m("inputMin", { value: i }) : a !== void 0 && a > 0 && Math.floor(e) > a ? m("inputMax", { value: a }) : !0;
2292
+ }
2293
+ ]), z = (e) => {
2294
+ e.key !== "Backspace" && y.insertable && e.key.match(/[0-9]/) && B(e);
2295
+ }, B = (e) => {
2296
+ e.preventDefault();
2297
+ let t = e.target, n = t.selectionStart, r = y.maxlength, i = b.value;
2298
+ i ||= e.key;
2299
+ let a = e.key;
2300
+ a && !isNaN(a) && n < r && S(i.substring(0, n) + a + i.substring(n + 1)), _(() => {
2301
+ t.setSelectionRange(n + 1, n + 1);
2302
+ });
2303
+ }, V = () => {
2304
+ b.value = b.value?.toUpperCase() || "";
2305
+ };
2306
+ return C(() => {
2307
+ d.autofocus && F();
2308
+ }), (e, n) => (T(), o("div", {
2309
+ onMouseover: n[1] ||= (e) => E.value = !0,
2310
+ onMouseleave: n[2] ||= (e) => E.value = !1
2311
+ }, [l(zn, g({
2312
+ ref_key: "vnInputRef",
2313
+ ref: w,
2314
+ "model-value": A(b),
2315
+ "onUpdate:modelValue": S
2316
+ }, {
2317
+ ...A(d),
2318
+ ...N.value
2319
+ }, {
2320
+ class: { required: A(f) },
2321
+ onKeydown: z,
2322
+ onFocus: L,
2323
+ clearable: !1,
2324
+ rules: R.value,
2325
+ "lazy-rules": !0,
2326
+ "hide-bottom-space": "",
2327
+ "data-cy": (A(d)["data-cy"] ?? A(d).label) + "_input"
2328
+ }), s({
2329
+ append: P(() => [
2330
+ l(Z, {
2331
+ name: "close",
2332
+ size: "xs",
2333
+ class: "cursor-pointer",
2334
+ style: v({ visibility: E.value && A(b) && !A(d).disabled && !A(d).readonly && y.clearable ? "visible" : "hidden" }),
2335
+ onClick: n[0] ||= () => {
2336
+ S(null), w.value?.focus(), h("remove");
2337
+ }
2338
+ }, {
2339
+ default: P(() => [l(Dt, null, {
2340
+ default: P(() => [c(k(A(m)("Remove")), 1)]),
2341
+ _: 1
2342
+ })]),
2343
+ _: 1
2344
+ }, 8, ["style"]),
2345
+ !A(d).disabled && !A(d).readonly && y.uppercase ? (T(), i(Z, {
2346
+ key: 0,
2347
+ name: "match_case",
2348
+ size: "xs",
2349
+ onClick: V,
2350
+ class: "uppercase-icon"
2351
+ }, {
2352
+ default: P(() => [l(Dt, null, {
2353
+ default: P(() => [c(k(A(m)("Convert to uppercase")), 1)]),
2354
+ _: 1
2355
+ })]),
2356
+ _: 1
2357
+ })) : a("", !0),
2358
+ e.$slots.append && !A(d).disabled ? O(e.$slots, "append", {}, void 0, void 0, 1) : a("", !0),
2359
+ t.info ? (T(), i(Z, {
2360
+ key: 2,
2361
+ name: "info"
2362
+ }, {
2363
+ default: P(() => [l(Dt, { "max-width": "350px" }, {
2364
+ default: P(() => [c(k(t.info), 1)]),
2365
+ _: 1
2366
+ })]),
2367
+ _: 1
2368
+ })) : a("", !0)
2369
+ ]),
2370
+ _: 2
2371
+ }, [e.$slots.hint ? {
2372
+ name: "hint",
2373
+ fn: P(() => [O(e.$slots, "hint")]),
2374
+ key: "0"
2375
+ } : void 0, e.$slots.prepend ? {
2376
+ name: "prepend",
2377
+ fn: P(() => [O(e.$slots, "prepend")]),
2378
+ key: "1"
2379
+ } : void 0]), 1040, [
2380
+ "model-value",
2381
+ "class",
2382
+ "rules",
2383
+ "data-cy"
2384
+ ])], 32));
2385
+ }
2386
+ };
2387
+ typeof Bn == "function" && Bn(Vn);
2388
+ //#endregion
2389
+ //#region lib/components/index.js
2390
+ var Hn = /* @__PURE__ */ R({ VnInput: () => Vn });
2391
+ //#endregion
2392
+ export { he as $, tt as A, Ge as B, mt as C, J as D, lt as E, Xe as F, Te as G, Me as H, Ye as I, Se as J, we as K, Je as L, ot as M, $e as N, st as O, Qe as P, ge as Q, Ke as R, pt as S, ct as T, K as U, He as V, De as W, ve as X, be as Y, ye as Z, At as _, Mn as a, ce as at, vt as b, xn as c, de as ct, Cn as d, fe as et, hn as f, kt as g, Z as h, Rn as i, se as it, nt as j, rt as k, bn as l, U as lt, on as m, Vn as n, le as nt, jn as o, G as ot, an as p, Ee as q, zn as r, W as rt, yn as s, ue as st, Hn as t, pe as tt, Sn as u, bt as v, ut as w, _t as x, Tt as y, qe as z };