@skyservice-developers/vue-dev-kit 1.5.10 → 1.5.11

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.
@@ -1,47 +1,47 @@
1
- import { ref as P, onUnmounted as ne, computed as I, onMounted as ae, openBlock as y, createElementBlock as k, createElementVNode as c, createCommentVNode as M, normalizeClass as q, renderSlot as z, toDisplayString as $, Fragment as be, renderList as Te, useSlots as He, watch as Ce, nextTick as Ge, createBlock as Y, Teleport as ve, normalizeStyle as me, createTextVNode as We, resolveDynamicComponent as nt, createSlots as at, withCtx as Oe, withModifiers as st, mergeProps as lt, onBeforeUnmount as rt } from "vue";
1
+ import { ref as P, onUnmounted as ne, computed as N, onMounted as ae, openBlock as m, createElementBlock as k, createElementVNode as w, createCommentVNode as A, normalizeClass as q, renderSlot as V, toDisplayString as L, Fragment as fe, renderList as Te, useSlots as He, watch as Ce, nextTick as Ge, createBlock as Y, Teleport as me, normalizeStyle as pe, createTextVNode as We, resolveDynamicComponent as nt, createSlots as at, withCtx as Oe, withModifiers as lt, mergeProps as st, onBeforeUnmount as rt } from "vue";
2
2
  var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
- function ut(a) {
4
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
3
+ function ut(n) {
4
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
5
  }
6
6
  var Be = { exports: {} };
7
- (function(a, C) {
8
- (function(d, u) {
9
- var S = "1.0.41", m = "", T = "?", b = "function", g = "undefined", O = "object", A = "string", N = "major", t = "model", n = "name", e = "type", o = "vendor", i = "version", E = "architecture", p = "console", r = "mobile", l = "tablet", s = "smarttv", f = "wearable", V = "embedded", H = 500, j = "Amazon", R = "Apple", Z = "ASUS", Me = "BlackBerry", se = "Browser", le = "Chrome", Qe = "Edge", re = "Firefox", de = "Google", Pe = "Honor", $e = "Huawei", et = "Lenovo", ue = "LG", pe = "Microsoft", ye = "Motorola", ge = "Nvidia", Ne = "OnePlus", J = "Opera", he = "OPPO", Q = "Samsung", Ve = "Sharp", ee = "Sony", ke = "Xiaomi", xe = "Zebra", Ie = "Facebook", ze = "Chromium OS", Le = "Mac OS", Re = " Browser", tt = function(h, x) {
7
+ (function(n, T) {
8
+ (function(u, c) {
9
+ var E = "1.0.41", p = "", B = "?", d = "function", h = "undefined", S = "object", C = "string", $ = "major", o = "model", a = "name", e = "type", t = "vendor", i = "version", g = "architecture", I = "console", l = "mobile", r = "tablet", s = "smarttv", b = "wearable", M = "embedded", H = 500, j = "Amazon", R = "Apple", Z = "ASUS", Me = "BlackBerry", le = "Browser", se = "Chrome", Qe = "Edge", re = "Firefox", de = "Google", Pe = "Honor", $e = "Huawei", et = "Lenovo", ue = "LG", ye = "Microsoft", ge = "Motorola", he = "Nvidia", Le = "OnePlus", J = "Opera", ke = "OPPO", Q = "Samsung", Ne = "Sharp", ee = "Sony", xe = "Xiaomi", _e = "Zebra", Ve = "Facebook", Ie = "Chromium OS", ze = "Mac OS", Re = " Browser", tt = function(y, x) {
10
10
  var v = {};
11
- for (var B in h)
12
- x[B] && x[B].length % 2 === 0 ? v[B] = x[B].concat(h[B]) : v[B] = h[B];
11
+ for (var O in y)
12
+ x[O] && x[O].length % 2 === 0 ? v[O] = x[O].concat(y[O]) : v[O] = y[O];
13
13
  return v;
14
- }, ce = function(h) {
15
- for (var x = {}, v = 0; v < h.length; v++)
16
- x[h[v].toUpperCase()] = h[v];
14
+ }, ce = function(y) {
15
+ for (var x = {}, v = 0; v < y.length; v++)
16
+ x[y[v].toUpperCase()] = y[v];
17
17
  return x;
18
- }, De = function(h, x) {
19
- return typeof h === A ? te(x).indexOf(te(h)) !== -1 : !1;
20
- }, te = function(h) {
21
- return h.toLowerCase();
22
- }, ot = function(h) {
23
- return typeof h === A ? h.replace(/[^\d\.]/g, m).split(".")[0] : u;
24
- }, _e = function(h, x) {
25
- if (typeof h === A)
26
- return h = h.replace(/^\s\s*/, m), typeof x === g ? h : h.substring(0, H);
27
- }, oe = function(h, x) {
28
- for (var v = 0, B, F, D, _, w, U; v < x.length && !w; ) {
29
- var Se = x[v], je = x[v + 1];
30
- for (B = F = 0; B < Se.length && !w && Se[B]; )
31
- if (w = Se[B++].exec(h), w)
18
+ }, De = function(y, x) {
19
+ return typeof y === C ? te(x).indexOf(te(y)) !== -1 : !1;
20
+ }, te = function(y) {
21
+ return y.toLowerCase();
22
+ }, ot = function(y) {
23
+ return typeof y === C ? y.replace(/[^\d\.]/g, p).split(".")[0] : c;
24
+ }, Se = function(y, x) {
25
+ if (typeof y === C)
26
+ return y = y.replace(/^\s\s*/, p), typeof x === h ? y : y.substring(0, H);
27
+ }, oe = function(y, x) {
28
+ for (var v = 0, O, F, D, _, f, U; v < x.length && !f; ) {
29
+ var Ee = x[v], je = x[v + 1];
30
+ for (O = F = 0; O < Ee.length && !f && Ee[O]; )
31
+ if (f = Ee[O++].exec(y), f)
32
32
  for (D = 0; D < je.length; D++)
33
- U = w[++F], _ = je[D], typeof _ === O && _.length > 0 ? _.length === 2 ? typeof _[1] == b ? this[_[0]] = _[1].call(this, U) : this[_[0]] = _[1] : _.length === 3 ? typeof _[1] === b && !(_[1].exec && _[1].test) ? this[_[0]] = U ? _[1].call(this, U, _[2]) : u : this[_[0]] = U ? U.replace(_[1], _[2]) : u : _.length === 4 && (this[_[0]] = U ? _[3].call(this, U.replace(_[1], _[2])) : u) : this[_] = U || u;
33
+ U = f[++F], _ = je[D], typeof _ === S && _.length > 0 ? _.length === 2 ? typeof _[1] == d ? this[_[0]] = _[1].call(this, U) : this[_[0]] = _[1] : _.length === 3 ? typeof _[1] === d && !(_[1].exec && _[1].test) ? this[_[0]] = U ? _[1].call(this, U, _[2]) : c : this[_[0]] = U ? U.replace(_[1], _[2]) : c : _.length === 4 && (this[_[0]] = U ? _[3].call(this, U.replace(_[1], _[2])) : c) : this[_] = U || c;
34
34
  v += 2;
35
35
  }
36
- }, ie = function(h, x) {
36
+ }, ie = function(y, x) {
37
37
  for (var v in x)
38
- if (typeof x[v] === O && x[v].length > 0) {
39
- for (var B = 0; B < x[v].length; B++)
40
- if (De(x[v][B], h))
41
- return v === T ? u : v;
42
- } else if (De(x[v], h))
43
- return v === T ? u : v;
44
- return x.hasOwnProperty("*") ? x["*"] : h;
38
+ if (typeof x[v] === S && x[v].length > 0) {
39
+ for (var O = 0; O < x[v].length; O++)
40
+ if (De(x[v][O], y))
41
+ return v === B ? c : v;
42
+ } else if (De(x[v], y))
43
+ return v === B ? c : v;
44
+ return x.hasOwnProperty("*") ? x["*"] : y;
45
45
  }, it = {
46
46
  "1.0": "/8",
47
47
  "1.2": "/1",
@@ -69,12 +69,12 @@ var Be = { exports: {} };
69
69
  /\b(?:crmo|crios)\/([\w\.]+)/i
70
70
  // Chrome for Android/iOS
71
71
  ],
72
- [i, [n, "Chrome"]],
72
+ [i, [a, "Chrome"]],
73
73
  [
74
74
  /edg(?:e|ios|a)?\/([\w\.]+)/i
75
75
  // Microsoft Edge
76
76
  ],
77
- [i, [n, "Edge"]],
77
+ [i, [a, "Edge"]],
78
78
  [
79
79
  // Presto based
80
80
  /(opera mini)\/([-\w\.]+)/i,
@@ -84,33 +84,33 @@ var Be = { exports: {} };
84
84
  /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
85
85
  // Opera
86
86
  ],
87
- [n, i],
87
+ [a, i],
88
88
  [
89
89
  /opios[\/ ]+([\w\.]+)/i
90
90
  // Opera mini on iphone >= 8.0
91
91
  ],
92
- [i, [n, J + " Mini"]],
92
+ [i, [a, J + " Mini"]],
93
93
  [
94
94
  /\bop(?:rg)?x\/([\w\.]+)/i
95
95
  // Opera GX
96
96
  ],
97
- [i, [n, J + " GX"]],
97
+ [i, [a, J + " GX"]],
98
98
  [
99
99
  /\bopr\/([\w\.]+)/i
100
100
  // Opera Webkit
101
101
  ],
102
- [i, [n, J]],
102
+ [i, [a, J]],
103
103
  [
104
104
  // Mixed
105
105
  /\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
106
106
  // Baidu
107
107
  ],
108
- [i, [n, "Baidu"]],
108
+ [i, [a, "Baidu"]],
109
109
  [
110
110
  /\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i
111
111
  // Maxthon
112
112
  ],
113
- [i, [n, "Maxthon"]],
113
+ [i, [a, "Maxthon"]],
114
114
  [
115
115
  /(kindle)\/([\w\.]+)/i,
116
116
  // Kindle
@@ -129,22 +129,22 @@ var Be = { exports: {} };
129
129
  /(weibo)__([\d\.]+)/i
130
130
  // Weibo
131
131
  ],
132
- [n, i],
132
+ [a, i],
133
133
  [
134
134
  /quark(?:pc)?\/([-\w\.]+)/i
135
135
  // Quark
136
136
  ],
137
- [i, [n, "Quark"]],
137
+ [i, [a, "Quark"]],
138
138
  [
139
139
  /\bddg\/([\w\.]+)/i
140
140
  // DuckDuckGo
141
141
  ],
142
- [i, [n, "DuckDuckGo"]],
142
+ [i, [a, "DuckDuckGo"]],
143
143
  [
144
144
  /(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
145
145
  // UCBrowser
146
146
  ],
147
- [i, [n, "UC" + se]],
147
+ [i, [a, "UC" + le]],
148
148
  [
149
149
  /microm.+\bqbcore\/([\w\.]+)/i,
150
150
  // WeChat Desktop for Windows Built-in Browser
@@ -152,97 +152,97 @@ var Be = { exports: {} };
152
152
  /micromessenger\/([\w\.]+)/i
153
153
  // WeChat
154
154
  ],
155
- [i, [n, "WeChat"]],
155
+ [i, [a, "WeChat"]],
156
156
  [
157
157
  /konqueror\/([\w\.]+)/i
158
158
  // Konqueror
159
159
  ],
160
- [i, [n, "Konqueror"]],
160
+ [i, [a, "Konqueror"]],
161
161
  [
162
162
  /trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i
163
163
  // IE11
164
164
  ],
165
- [i, [n, "IE"]],
165
+ [i, [a, "IE"]],
166
166
  [
167
167
  /ya(?:search)?browser\/([\w\.]+)/i
168
168
  // Yandex
169
169
  ],
170
- [i, [n, "Yandex"]],
170
+ [i, [a, "Yandex"]],
171
171
  [
172
172
  /slbrowser\/([\w\.]+)/i
173
173
  // Smart Lenovo Browser
174
174
  ],
175
- [i, [n, "Smart Lenovo " + se]],
175
+ [i, [a, "Smart Lenovo " + le]],
176
176
  [
177
177
  /(avast|avg)\/([\w\.]+)/i
178
178
  // Avast/AVG Secure Browser
179
179
  ],
180
- [[n, /(.+)/, "$1 Secure " + se], i],
180
+ [[a, /(.+)/, "$1 Secure " + le], i],
181
181
  [
182
182
  /\bfocus\/([\w\.]+)/i
183
183
  // Firefox Focus
184
184
  ],
185
- [i, [n, re + " Focus"]],
185
+ [i, [a, re + " Focus"]],
186
186
  [
187
187
  /\bopt\/([\w\.]+)/i
188
188
  // Opera Touch
189
189
  ],
190
- [i, [n, J + " Touch"]],
190
+ [i, [a, J + " Touch"]],
191
191
  [
192
192
  /coc_coc\w+\/([\w\.]+)/i
193
193
  // Coc Coc Browser
194
194
  ],
195
- [i, [n, "Coc Coc"]],
195
+ [i, [a, "Coc Coc"]],
196
196
  [
197
197
  /dolfin\/([\w\.]+)/i
198
198
  // Dolphin
199
199
  ],
200
- [i, [n, "Dolphin"]],
200
+ [i, [a, "Dolphin"]],
201
201
  [
202
202
  /coast\/([\w\.]+)/i
203
203
  // Opera Coast
204
204
  ],
205
- [i, [n, J + " Coast"]],
205
+ [i, [a, J + " Coast"]],
206
206
  [
207
207
  /miuibrowser\/([\w\.]+)/i
208
208
  // MIUI Browser
209
209
  ],
210
- [i, [n, "MIUI" + Re]],
210
+ [i, [a, "MIUI" + Re]],
211
211
  [
212
212
  /fxios\/([\w\.-]+)/i
213
213
  // Firefox for iOS
214
214
  ],
215
- [i, [n, re]],
215
+ [i, [a, re]],
216
216
  [
217
217
  /\bqihoobrowser\/?([\w\.]*)/i
218
218
  // 360
219
219
  ],
220
- [i, [n, "360"]],
220
+ [i, [a, "360"]],
221
221
  [
222
222
  /\b(qq)\/([\w\.]+)/i
223
223
  // QQ
224
224
  ],
225
- [[n, /(.+)/, "$1Browser"], i],
225
+ [[a, /(.+)/, "$1Browser"], i],
226
226
  [
227
227
  /(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
228
228
  ],
229
- [[n, /(.+)/, "$1" + Re], i],
229
+ [[a, /(.+)/, "$1" + Re], i],
230
230
  [
231
231
  // Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
232
232
  /samsungbrowser\/([\w\.]+)/i
233
233
  // Samsung Internet
234
234
  ],
235
- [i, [n, Q + " Internet"]],
235
+ [i, [a, Q + " Internet"]],
236
236
  [
237
237
  /metasr[\/ ]?([\d\.]+)/i
238
238
  // Sogou Explorer
239
239
  ],
240
- [i, [n, "Sogou Explorer"]],
240
+ [i, [a, "Sogou Explorer"]],
241
241
  [
242
242
  /(sogou)mo\w+\/([\d\.]+)/i
243
243
  // Sogou Mobile
244
244
  ],
245
- [[n, "Sogou Mobile"], i],
245
+ [[a, "Sogou Mobile"], i],
246
246
  [
247
247
  /(electron)\/([\w\.]+) safari/i,
248
248
  // Electron-based App
@@ -251,27 +251,27 @@ var Be = { exports: {} };
251
251
  /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
252
252
  // QQ/2345
253
253
  ],
254
- [n, i],
254
+ [a, i],
255
255
  [
256
256
  /(lbbrowser|rekonq)/i,
257
257
  // LieBao Browser/Rekonq
258
258
  /\[(linkedin)app\]/i
259
259
  // LinkedIn App for iOS & Android
260
260
  ],
261
- [n],
261
+ [a],
262
262
  [
263
263
  /ome\/([\w\.]+) \w* ?(iron) saf/i,
264
264
  // Iron
265
265
  /ome\/([\w\.]+).+qihu (360)[es]e/i
266
266
  // 360
267
267
  ],
268
- [i, n],
268
+ [i, a],
269
269
  [
270
270
  // WebView
271
271
  /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
272
272
  // Facebook App for iOS & Android
273
273
  ],
274
- [[n, Ie], i],
274
+ [[a, Ve], i],
275
275
  [
276
276
  /(Klarna)\/([\w\.]+)/i,
277
277
  // Klarna Shopping Browser for iOS & Android
@@ -292,72 +292,72 @@ var Be = { exports: {} };
292
292
  /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
293
293
  // Chromium/Instagram/Snapchat
294
294
  ],
295
- [n, i],
295
+ [a, i],
296
296
  [
297
297
  /\bgsa\/([\w\.]+) .*safari\//i
298
298
  // Google Search Appliance on iOS
299
299
  ],
300
- [i, [n, "GSA"]],
300
+ [i, [a, "GSA"]],
301
301
  [
302
302
  /musical_ly(?:.+app_?version\/|_)([\w\.]+)/i
303
303
  // TikTok
304
304
  ],
305
- [i, [n, "TikTok"]],
305
+ [i, [a, "TikTok"]],
306
306
  [
307
307
  /headlesschrome(?:\/([\w\.]+)| )/i
308
308
  // Chrome Headless
309
309
  ],
310
- [i, [n, le + " Headless"]],
310
+ [i, [a, se + " Headless"]],
311
311
  [
312
312
  / wv\).+(chrome)\/([\w\.]+)/i
313
313
  // Chrome WebView
314
314
  ],
315
- [[n, le + " WebView"], i],
315
+ [[a, se + " WebView"], i],
316
316
  [
317
317
  /droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
318
318
  // Android Browser
319
319
  ],
320
- [i, [n, "Android " + se]],
320
+ [i, [a, "Android " + le]],
321
321
  [
322
322
  /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
323
323
  // Chrome/OmniWeb/Arora/Tizen/Nokia
324
324
  ],
325
- [n, i],
325
+ [a, i],
326
326
  [
327
327
  /version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i
328
328
  // Mobile Safari
329
329
  ],
330
- [i, [n, "Mobile Safari"]],
330
+ [i, [a, "Mobile Safari"]],
331
331
  [
332
332
  /version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i
333
333
  // Safari & Safari Mobile
334
334
  ],
335
- [i, n],
335
+ [i, a],
336
336
  [
337
337
  /webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
338
338
  // Safari < 3.0
339
339
  ],
340
- [n, [i, ie, it]],
340
+ [a, [i, ie, it]],
341
341
  [
342
342
  /(webkit|khtml)\/([\w\.]+)/i
343
343
  ],
344
- [n, i],
344
+ [a, i],
345
345
  [
346
346
  // Gecko based
347
347
  /(navigator|netscape\d?)\/([-\w\.]+)/i
348
348
  // Netscape
349
349
  ],
350
- [[n, "Netscape"], i],
350
+ [[a, "Netscape"], i],
351
351
  [
352
352
  /(wolvic|librewolf)\/([\w\.]+)/i
353
353
  // Wolvic/LibreWolf
354
354
  ],
355
- [n, i],
355
+ [a, i],
356
356
  [
357
357
  /mobile vr; rv:([\w\.]+)\).+firefox/i
358
358
  // Firefox Reality
359
359
  ],
360
- [i, [n, re + " Reality"]],
360
+ [i, [a, re + " Reality"]],
361
361
  [
362
362
  /ekiohf.+(flow)\/([\w\.]+)/i,
363
363
  // Flow
@@ -377,56 +377,56 @@ var Be = { exports: {} };
377
377
  /\b(links) \(([\w\.]+)/i
378
378
  // Links
379
379
  ],
380
- [n, [i, /_/g, "."]],
380
+ [a, [i, /_/g, "."]],
381
381
  [
382
382
  /(cobalt)\/([\w\.]+)/i
383
383
  // Cobalt
384
384
  ],
385
- [n, [i, /master.|lts./, ""]]
385
+ [a, [i, /master.|lts./, ""]]
386
386
  ],
387
387
  cpu: [
388
388
  [
389
389
  /\b((amd|x|x86[-_]?|wow|win)64)\b/i
390
390
  // AMD64 (x64)
391
391
  ],
392
- [[E, "amd64"]],
392
+ [[g, "amd64"]],
393
393
  [
394
394
  /(ia32(?=;))/i,
395
395
  // IA32 (quicktime)
396
396
  /\b((i[346]|x)86)(pc)?\b/i
397
397
  // IA32 (x86)
398
398
  ],
399
- [[E, "ia32"]],
399
+ [[g, "ia32"]],
400
400
  [
401
401
  /\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
402
402
  // ARM64
403
403
  ],
404
- [[E, "arm64"]],
404
+ [[g, "arm64"]],
405
405
  [
406
406
  /\b(arm(v[67])?ht?n?[fl]p?)\b/i
407
407
  // ARMHF
408
408
  ],
409
- [[E, "armhf"]],
409
+ [[g, "armhf"]],
410
410
  [
411
411
  // PocketPC mistakenly identified as PowerPC
412
412
  /( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
413
413
  ],
414
- [[E, "arm"]],
414
+ [[g, "arm"]],
415
415
  [
416
416
  /((ppc|powerpc)(64)?)( mac|;|\))/i
417
417
  // PowerPC
418
418
  ],
419
- [[E, /ower/, m, te]],
419
+ [[g, /ower/, p, te]],
420
420
  [
421
421
  / sun4\w[;\)]/i
422
422
  // SPARC
423
423
  ],
424
- [[E, "sparc"]],
424
+ [[g, "sparc"]],
425
425
  [
426
426
  /\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i
427
427
  // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
428
428
  ],
429
- [[E, te]]
429
+ [[g, te]]
430
430
  ],
431
431
  device: [
432
432
  [
@@ -436,61 +436,61 @@ var Be = { exports: {} };
436
436
  // Samsung
437
437
  /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
438
438
  ],
439
- [t, [o, Q], [e, l]],
439
+ [o, [t, Q], [e, r]],
440
440
  [
441
441
  /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
442
442
  /samsung[- ]((?!sm-[lr])[-\w]+)/i,
443
443
  /sec-(sgh\w+)/i
444
444
  ],
445
- [t, [o, Q], [e, r]],
445
+ [o, [t, Q], [e, l]],
446
446
  [
447
447
  // Apple
448
448
  /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
449
449
  // iPod/iPhone
450
450
  ],
451
- [t, [o, R], [e, r]],
451
+ [o, [t, R], [e, l]],
452
452
  [
453
453
  /\((ipad);[-\w\),; ]+apple/i,
454
454
  // iPad
455
455
  /applecoremedia\/[\w\.]+ \((ipad)/i,
456
456
  /\b(ipad)\d\d?,\d\d?[;\]].+ios/i
457
457
  ],
458
- [t, [o, R], [e, l]],
458
+ [o, [t, R], [e, r]],
459
459
  [
460
460
  /(macintosh);/i
461
461
  ],
462
- [t, [o, R]],
462
+ [o, [t, R]],
463
463
  [
464
464
  // Sharp
465
465
  /\b(sh-?[altvz]?\d\d[a-ekm]?)/i
466
466
  ],
467
- [t, [o, Ve], [e, r]],
467
+ [o, [t, Ne], [e, l]],
468
468
  [
469
469
  // Honor
470
470
  /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
471
471
  ],
472
- [t, [o, Pe], [e, l]],
472
+ [o, [t, Pe], [e, r]],
473
473
  [
474
474
  /honor([-\w ]+)[;\)]/i
475
475
  ],
476
- [t, [o, Pe], [e, r]],
476
+ [o, [t, Pe], [e, l]],
477
477
  [
478
478
  // Huawei
479
479
  /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
480
480
  ],
481
- [t, [o, $e], [e, l]],
481
+ [o, [t, $e], [e, r]],
482
482
  [
483
483
  /(?:huawei)([-\w ]+)[;\)]/i,
484
484
  /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
485
485
  ],
486
- [t, [o, $e], [e, r]],
486
+ [o, [t, $e], [e, l]],
487
487
  [
488
488
  // Xiaomi
489
489
  /oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
490
490
  /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
491
491
  // Mi Pad tablets
492
492
  ],
493
- [[t, /_/g, " "], [o, ke], [e, l]],
493
+ [[o, /_/g, " "], [t, xe], [e, r]],
494
494
  [
495
495
  /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
496
496
  // Xiaomi POCO
@@ -506,93 +506,93 @@ var Be = { exports: {} };
506
506
  // Xiaomi Mi
507
507
  / ([\w ]+) miui\/v?\d/i
508
508
  ],
509
- [[t, /_/g, " "], [o, ke], [e, r]],
509
+ [[o, /_/g, " "], [t, xe], [e, l]],
510
510
  [
511
511
  // OPPO
512
512
  /; (\w+) bui.+ oppo/i,
513
513
  /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
514
514
  ],
515
- [t, [o, he], [e, r]],
515
+ [o, [t, ke], [e, l]],
516
516
  [
517
517
  /\b(opd2(\d{3}a?))(?: bui|\))/i
518
518
  ],
519
- [t, [o, ie, { OnePlus: ["304", "403", "203"], "*": he }], [e, l]],
519
+ [o, [t, ie, { OnePlus: ["304", "403", "203"], "*": ke }], [e, r]],
520
520
  [
521
521
  // Vivo
522
522
  /vivo (\w+)(?: bui|\))/i,
523
523
  /\b(v[12]\d{3}\w?[at])(?: bui|;)/i
524
524
  ],
525
- [t, [o, "Vivo"], [e, r]],
525
+ [o, [t, "Vivo"], [e, l]],
526
526
  [
527
527
  // Realme
528
528
  /\b(rmx[1-3]\d{3})(?: bui|;|\))/i
529
529
  ],
530
- [t, [o, "Realme"], [e, r]],
530
+ [o, [t, "Realme"], [e, l]],
531
531
  [
532
532
  // Motorola
533
533
  /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
534
534
  /\bmot(?:orola)?[- ](\w*)/i,
535
535
  /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
536
536
  ],
537
- [t, [o, ye], [e, r]],
537
+ [o, [t, ge], [e, l]],
538
538
  [
539
539
  /\b(mz60\d|xoom[2 ]{0,2}) build\//i
540
540
  ],
541
- [t, [o, ye], [e, l]],
541
+ [o, [t, ge], [e, r]],
542
542
  [
543
543
  // LG
544
544
  /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
545
545
  ],
546
- [t, [o, ue], [e, l]],
546
+ [o, [t, ue], [e, r]],
547
547
  [
548
548
  /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
549
549
  /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,
550
550
  /\blg-?([\d\w]+) bui/i
551
551
  ],
552
- [t, [o, ue], [e, r]],
552
+ [o, [t, ue], [e, l]],
553
553
  [
554
554
  // Lenovo
555
555
  /(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
556
556
  /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
557
557
  ],
558
- [t, [o, et], [e, l]],
558
+ [o, [t, et], [e, r]],
559
559
  [
560
560
  // Nokia
561
561
  /(nokia) (t[12][01])/i
562
562
  ],
563
- [o, t, [e, l]],
563
+ [t, o, [e, r]],
564
564
  [
565
565
  /(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
566
566
  /nokia[-_ ]?(([-\w\. ]*))/i
567
567
  ],
568
- [[t, /_/g, " "], [e, r], [o, "Nokia"]],
568
+ [[o, /_/g, " "], [e, l], [t, "Nokia"]],
569
569
  [
570
570
  // Google
571
571
  /(pixel (c|tablet))\b/i
572
572
  // Google Pixel C/Tablet
573
573
  ],
574
- [t, [o, de], [e, l]],
574
+ [o, [t, de], [e, r]],
575
575
  [
576
576
  /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i
577
577
  // Google Pixel
578
578
  ],
579
- [t, [o, de], [e, r]],
579
+ [o, [t, de], [e, l]],
580
580
  [
581
581
  // Sony
582
582
  /droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
583
583
  ],
584
- [t, [o, ee], [e, r]],
584
+ [o, [t, ee], [e, l]],
585
585
  [
586
586
  /sony tablet [ps]/i,
587
587
  /\b(?:sony)?sgp\w+(?: bui|\))/i
588
588
  ],
589
- [[t, "Xperia Tablet"], [o, ee], [e, l]],
589
+ [[o, "Xperia Tablet"], [t, ee], [e, r]],
590
590
  [
591
591
  // OnePlus
592
592
  / (kb2005|in20[12]5|be20[12][59])\b/i,
593
593
  /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
594
594
  ],
595
- [t, [o, Ne], [e, r]],
595
+ [o, [t, Le], [e, l]],
596
596
  [
597
597
  // Amazon
598
598
  /(alexa)webm/i,
@@ -601,39 +601,39 @@ var Be = { exports: {} };
601
601
  /(kf[a-z]+)( bui|\)).+silk\//i
602
602
  // Kindle Fire HD
603
603
  ],
604
- [t, [o, j], [e, l]],
604
+ [o, [t, j], [e, r]],
605
605
  [
606
606
  /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
607
607
  // Fire Phone
608
608
  ],
609
- [[t, /(.+)/g, "Fire Phone $1"], [o, j], [e, r]],
609
+ [[o, /(.+)/g, "Fire Phone $1"], [t, j], [e, l]],
610
610
  [
611
611
  // BlackBerry
612
612
  /(playbook);[-\w\),; ]+(rim)/i
613
613
  // BlackBerry PlayBook
614
614
  ],
615
- [t, o, [e, l]],
615
+ [o, t, [e, r]],
616
616
  [
617
617
  /\b((?:bb[a-f]|st[hv])100-\d)/i,
618
618
  /\(bb10; (\w+)/i
619
619
  // BlackBerry 10
620
620
  ],
621
- [t, [o, Me], [e, r]],
621
+ [o, [t, Me], [e, l]],
622
622
  [
623
623
  // Asus
624
624
  /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
625
625
  ],
626
- [t, [o, Z], [e, l]],
626
+ [o, [t, Z], [e, r]],
627
627
  [
628
628
  / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
629
629
  ],
630
- [t, [o, Z], [e, r]],
630
+ [o, [t, Z], [e, l]],
631
631
  [
632
632
  // HTC
633
633
  /(nexus 9)/i
634
634
  // HTC Nexus 9
635
635
  ],
636
- [t, [o, "HTC"], [e, l]],
636
+ [o, [t, "HTC"], [e, r]],
637
637
  [
638
638
  /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
639
639
  // HTC
@@ -642,66 +642,66 @@ var Be = { exports: {} };
642
642
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
643
643
  // Alcatel/GeeksPhone/Nexian/Panasonic/Sony
644
644
  ],
645
- [o, [t, /_/g, " "], [e, r]],
645
+ [t, [o, /_/g, " "], [e, l]],
646
646
  [
647
647
  // TCL
648
648
  /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i
649
649
  ],
650
- [t, [o, "TCL"], [e, l]],
650
+ [o, [t, "TCL"], [e, r]],
651
651
  [
652
652
  // itel
653
653
  /(itel) ((\w+))/i
654
654
  ],
655
- [[o, te], t, [e, ie, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
655
+ [[t, te], o, [e, ie, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
656
656
  [
657
657
  // Acer
658
658
  /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
659
659
  ],
660
- [t, [o, "Acer"], [e, l]],
660
+ [o, [t, "Acer"], [e, r]],
661
661
  [
662
662
  // Meizu
663
663
  /droid.+; (m[1-5] note) bui/i,
664
664
  /\bmz-([-\w]{2,})/i
665
665
  ],
666
- [t, [o, "Meizu"], [e, r]],
666
+ [o, [t, "Meizu"], [e, l]],
667
667
  [
668
668
  // Ulefone
669
669
  /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
670
670
  ],
671
- [t, [o, "Ulefone"], [e, r]],
671
+ [o, [t, "Ulefone"], [e, l]],
672
672
  [
673
673
  // Energizer
674
674
  /; (energy ?\w+)(?: bui|\))/i,
675
675
  /; energizer ([\w ]+)(?: bui|\))/i
676
676
  ],
677
- [t, [o, "Energizer"], [e, r]],
677
+ [o, [t, "Energizer"], [e, l]],
678
678
  [
679
679
  // Cat
680
680
  /; cat (b35);/i,
681
681
  /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
682
682
  ],
683
- [t, [o, "Cat"], [e, r]],
683
+ [o, [t, "Cat"], [e, l]],
684
684
  [
685
685
  // Smartfren
686
686
  /((?:new )?andromax[\w- ]+)(?: bui|\))/i
687
687
  ],
688
- [t, [o, "Smartfren"], [e, r]],
688
+ [o, [t, "Smartfren"], [e, l]],
689
689
  [
690
690
  // Nothing
691
691
  /droid.+; (a(?:015|06[35]|142p?))/i
692
692
  ],
693
- [t, [o, "Nothing"], [e, r]],
693
+ [o, [t, "Nothing"], [e, l]],
694
694
  [
695
695
  // Archos
696
696
  /; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
697
697
  /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i
698
698
  ],
699
- [t, [o, "Archos"], [e, l]],
699
+ [o, [t, "Archos"], [e, r]],
700
700
  [
701
701
  /archos ([\w ]+)( b|\))/i,
702
702
  /; (ac[3-6]\d\w{2,8})( b|\))/i
703
703
  ],
704
- [t, [o, "Archos"], [e, r]],
704
+ [o, [t, "Archos"], [e, l]],
705
705
  [
706
706
  // MIXED
707
707
  /(imo) (tab \w+)/i,
@@ -709,7 +709,7 @@ var Be = { exports: {} };
709
709
  /(infinix) (x1101b?)/i
710
710
  // Infinix XPad
711
711
  ],
712
- [o, t, [e, l]],
712
+ [t, o, [e, r]],
713
713
  [
714
714
  /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
715
715
  // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Infinix/Tecno/Micromax/Advan
@@ -724,7 +724,7 @@ var Be = { exports: {} };
724
724
  /(oppo) ?([\w ]+) bui/i
725
725
  // OPPO
726
726
  ],
727
- [o, t, [e, r]],
727
+ [t, o, [e, l]],
728
728
  [
729
729
  /(kobo)\s(ereader|touch)/i,
730
730
  // Kobo
@@ -745,146 +745,146 @@ var Be = { exports: {} };
745
745
  /(vodafone) ([\w ]+)(?:\)| bui)/i
746
746
  // Vodafone
747
747
  ],
748
- [o, t, [e, l]],
748
+ [t, o, [e, r]],
749
749
  [
750
750
  /(surface duo)/i
751
751
  // Surface Duo
752
752
  ],
753
- [t, [o, pe], [e, l]],
753
+ [o, [t, ye], [e, r]],
754
754
  [
755
755
  /droid [\d\.]+; (fp\du?)(?: b|\))/i
756
756
  // Fairphone
757
757
  ],
758
- [t, [o, "Fairphone"], [e, r]],
758
+ [o, [t, "Fairphone"], [e, l]],
759
759
  [
760
760
  /(u304aa)/i
761
761
  // AT&T
762
762
  ],
763
- [t, [o, "AT&T"], [e, r]],
763
+ [o, [t, "AT&T"], [e, l]],
764
764
  [
765
765
  /\bsie-(\w*)/i
766
766
  // Siemens
767
767
  ],
768
- [t, [o, "Siemens"], [e, r]],
768
+ [o, [t, "Siemens"], [e, l]],
769
769
  [
770
770
  /\b(rct\w+) b/i
771
771
  // RCA Tablets
772
772
  ],
773
- [t, [o, "RCA"], [e, l]],
773
+ [o, [t, "RCA"], [e, r]],
774
774
  [
775
775
  /\b(venue[\d ]{2,7}) b/i
776
776
  // Dell Venue Tablets
777
777
  ],
778
- [t, [o, "Dell"], [e, l]],
778
+ [o, [t, "Dell"], [e, r]],
779
779
  [
780
780
  /\b(q(?:mv|ta)\w+) b/i
781
781
  // Verizon Tablet
782
782
  ],
783
- [t, [o, "Verizon"], [e, l]],
783
+ [o, [t, "Verizon"], [e, r]],
784
784
  [
785
785
  /\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i
786
786
  // Barnes & Noble Tablet
787
787
  ],
788
- [t, [o, "Barnes & Noble"], [e, l]],
788
+ [o, [t, "Barnes & Noble"], [e, r]],
789
789
  [
790
790
  /\b(tm\d{3}\w+) b/i
791
791
  ],
792
- [t, [o, "NuVision"], [e, l]],
792
+ [o, [t, "NuVision"], [e, r]],
793
793
  [
794
794
  /\b(k88) b/i
795
795
  // ZTE K Series Tablet
796
796
  ],
797
- [t, [o, "ZTE"], [e, l]],
797
+ [o, [t, "ZTE"], [e, r]],
798
798
  [
799
799
  /\b(nx\d{3}j) b/i
800
800
  // ZTE Nubia
801
801
  ],
802
- [t, [o, "ZTE"], [e, r]],
802
+ [o, [t, "ZTE"], [e, l]],
803
803
  [
804
804
  /\b(gen\d{3}) b.+49h/i
805
805
  // Swiss GEN Mobile
806
806
  ],
807
- [t, [o, "Swiss"], [e, r]],
807
+ [o, [t, "Swiss"], [e, l]],
808
808
  [
809
809
  /\b(zur\d{3}) b/i
810
810
  // Swiss ZUR Tablet
811
811
  ],
812
- [t, [o, "Swiss"], [e, l]],
812
+ [o, [t, "Swiss"], [e, r]],
813
813
  [
814
814
  /\b((zeki)?tb.*\b) b/i
815
815
  // Zeki Tablets
816
816
  ],
817
- [t, [o, "Zeki"], [e, l]],
817
+ [o, [t, "Zeki"], [e, r]],
818
818
  [
819
819
  /\b([yr]\d{2}) b/i,
820
820
  /\b(dragon[- ]+touch |dt)(\w{5}) b/i
821
821
  // Dragon Touch Tablet
822
822
  ],
823
- [[o, "Dragon Touch"], t, [e, l]],
823
+ [[t, "Dragon Touch"], o, [e, r]],
824
824
  [
825
825
  /\b(ns-?\w{0,9}) b/i
826
826
  // Insignia Tablets
827
827
  ],
828
- [t, [o, "Insignia"], [e, l]],
828
+ [o, [t, "Insignia"], [e, r]],
829
829
  [
830
830
  /\b((nxa|next)-?\w{0,9}) b/i
831
831
  // NextBook Tablets
832
832
  ],
833
- [t, [o, "NextBook"], [e, l]],
833
+ [o, [t, "NextBook"], [e, r]],
834
834
  [
835
835
  /\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i
836
836
  // Voice Xtreme Phones
837
837
  ],
838
- [[o, "Voice"], t, [e, r]],
838
+ [[t, "Voice"], o, [e, l]],
839
839
  [
840
840
  /\b(lvtel\-)?(v1[12]) b/i
841
841
  // LvTel Phones
842
842
  ],
843
- [[o, "LvTel"], t, [e, r]],
843
+ [[t, "LvTel"], o, [e, l]],
844
844
  [
845
845
  /\b(ph-1) /i
846
846
  // Essential PH-1
847
847
  ],
848
- [t, [o, "Essential"], [e, r]],
848
+ [o, [t, "Essential"], [e, l]],
849
849
  [
850
850
  /\b(v(100md|700na|7011|917g).*\b) b/i
851
851
  // Envizen Tablets
852
852
  ],
853
- [t, [o, "Envizen"], [e, l]],
853
+ [o, [t, "Envizen"], [e, r]],
854
854
  [
855
855
  /\b(trio[-\w\. ]+) b/i
856
856
  // MachSpeed Tablets
857
857
  ],
858
- [t, [o, "MachSpeed"], [e, l]],
858
+ [o, [t, "MachSpeed"], [e, r]],
859
859
  [
860
860
  /\btu_(1491) b/i
861
861
  // Rotor Tablets
862
862
  ],
863
- [t, [o, "Rotor"], [e, l]],
863
+ [o, [t, "Rotor"], [e, r]],
864
864
  [
865
865
  /((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
866
866
  // Nvidia Tablets
867
867
  ],
868
- [t, [o, ge], [e, l]],
868
+ [o, [t, he], [e, r]],
869
869
  [
870
870
  /(sprint) (\w+)/i
871
871
  // Sprint Phones
872
872
  ],
873
- [o, t, [e, r]],
873
+ [t, o, [e, l]],
874
874
  [
875
875
  /(kin\.[onetw]{3})/i
876
876
  // Microsoft Kin
877
877
  ],
878
- [[t, /\./g, " "], [o, pe], [e, r]],
878
+ [[o, /\./g, " "], [t, ye], [e, l]],
879
879
  [
880
880
  /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
881
881
  // Zebra
882
882
  ],
883
- [t, [o, xe], [e, l]],
883
+ [o, [t, _e], [e, r]],
884
884
  [
885
885
  /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
886
886
  ],
887
- [t, [o, xe], [e, r]],
887
+ [o, [t, _e], [e, l]],
888
888
  [
889
889
  ///////////////////
890
890
  // SMARTTVS
@@ -892,69 +892,69 @@ var Be = { exports: {} };
892
892
  /smart-tv.+(samsung)/i
893
893
  // Samsung
894
894
  ],
895
- [o, [e, s]],
895
+ [t, [e, s]],
896
896
  [
897
897
  /hbbtv.+maple;(\d+)/i
898
898
  ],
899
- [[t, /^/, "SmartTV"], [o, Q], [e, s]],
899
+ [[o, /^/, "SmartTV"], [t, Q], [e, s]],
900
900
  [
901
901
  /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
902
902
  // LG SmartTV
903
903
  ],
904
- [[o, ue], [e, s]],
904
+ [[t, ue], [e, s]],
905
905
  [
906
906
  /(apple) ?tv/i
907
907
  // Apple TV
908
908
  ],
909
- [o, [t, R + " TV"], [e, s]],
909
+ [t, [o, R + " TV"], [e, s]],
910
910
  [
911
911
  /crkey/i
912
912
  // Google Chromecast
913
913
  ],
914
- [[t, le + "cast"], [o, de], [e, s]],
914
+ [[o, se + "cast"], [t, de], [e, s]],
915
915
  [
916
916
  /droid.+aft(\w+)( bui|\))/i
917
917
  // Fire TV
918
918
  ],
919
- [t, [o, j], [e, s]],
919
+ [o, [t, j], [e, s]],
920
920
  [
921
921
  /(shield \w+ tv)/i
922
922
  // Nvidia Shield TV
923
923
  ],
924
- [t, [o, ge], [e, s]],
924
+ [o, [t, he], [e, s]],
925
925
  [
926
926
  /\(dtv[\);].+(aquos)/i,
927
927
  /(aquos-tv[\w ]+)\)/i
928
928
  // Sharp
929
929
  ],
930
- [t, [o, Ve], [e, s]],
930
+ [o, [t, Ne], [e, s]],
931
931
  [
932
932
  /(bravia[\w ]+)( bui|\))/i
933
933
  // Sony
934
934
  ],
935
- [t, [o, ee], [e, s]],
935
+ [o, [t, ee], [e, s]],
936
936
  [
937
937
  /(mi(tv|box)-?\w+) bui/i
938
938
  // Xiaomi
939
939
  ],
940
- [t, [o, ke], [e, s]],
940
+ [o, [t, xe], [e, s]],
941
941
  [
942
942
  /Hbbtv.*(technisat) (.*);/i
943
943
  // TechniSAT
944
944
  ],
945
- [o, t, [e, s]],
945
+ [t, o, [e, s]],
946
946
  [
947
947
  /\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
948
948
  // Roku
949
949
  /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
950
950
  // HbbTV devices
951
951
  ],
952
- [[o, _e], [t, _e], [e, s]],
952
+ [[t, Se], [o, Se], [e, s]],
953
953
  [
954
954
  // SmartTV from Unidentified Vendors
955
955
  /droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
956
956
  ],
957
- [t, [e, s]],
957
+ [o, [e, s]],
958
958
  [
959
959
  /\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i
960
960
  ],
@@ -968,22 +968,22 @@ var Be = { exports: {} };
968
968
  /(nintendo) ([wids3utch]+)/i
969
969
  // Nintendo
970
970
  ],
971
- [o, t, [e, p]],
971
+ [t, o, [e, I]],
972
972
  [
973
973
  /droid.+; (shield)( bui|\))/i
974
974
  // Nvidia Portable
975
975
  ],
976
- [t, [o, ge], [e, p]],
976
+ [o, [t, he], [e, I]],
977
977
  [
978
978
  /(playstation \w+)/i
979
979
  // Playstation
980
980
  ],
981
- [t, [o, ee], [e, p]],
981
+ [o, [t, ee], [e, I]],
982
982
  [
983
983
  /\b(xbox(?: one)?(?!; xbox))[\); ]/i
984
984
  // Microsoft Xbox
985
985
  ],
986
- [t, [o, pe], [e, p]],
986
+ [o, [t, ye], [e, I]],
987
987
  [
988
988
  ///////////////////
989
989
  // WEARABLES
@@ -991,48 +991,48 @@ var Be = { exports: {} };
991
991
  /\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
992
992
  // Samsung Galaxy Watch
993
993
  ],
994
- [t, [o, Q], [e, f]],
994
+ [o, [t, Q], [e, b]],
995
995
  [
996
996
  /((pebble))app/i,
997
997
  // Pebble
998
998
  /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i
999
999
  // Asus ZenWatch / LG Watch / Pixel Watch
1000
1000
  ],
1001
- [o, t, [e, f]],
1001
+ [t, o, [e, b]],
1002
1002
  [
1003
1003
  /(ow(?:19|20)?we?[1-3]{1,3})/i
1004
1004
  // Oppo Watch
1005
1005
  ],
1006
- [t, [o, he], [e, f]],
1006
+ [o, [t, ke], [e, b]],
1007
1007
  [
1008
1008
  /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
1009
1009
  // Apple Watch
1010
1010
  ],
1011
- [t, [o, R], [e, f]],
1011
+ [o, [t, R], [e, b]],
1012
1012
  [
1013
1013
  /(opwwe\d{3})/i
1014
1014
  // OnePlus Watch
1015
1015
  ],
1016
- [t, [o, Ne], [e, f]],
1016
+ [o, [t, Le], [e, b]],
1017
1017
  [
1018
1018
  /(moto 360)/i
1019
1019
  // Motorola 360
1020
1020
  ],
1021
- [t, [o, ye], [e, f]],
1021
+ [o, [t, ge], [e, b]],
1022
1022
  [
1023
1023
  /(smartwatch 3)/i
1024
1024
  // Sony SmartWatch
1025
1025
  ],
1026
- [t, [o, ee], [e, f]],
1026
+ [o, [t, ee], [e, b]],
1027
1027
  [
1028
1028
  /(g watch r)/i
1029
1029
  // LG G Watch R
1030
1030
  ],
1031
- [t, [o, ue], [e, f]],
1031
+ [o, [t, ue], [e, b]],
1032
1032
  [
1033
1033
  /droid.+; (wt63?0{2,3})\)/i
1034
1034
  ],
1035
- [t, [o, xe], [e, f]],
1035
+ [o, [t, _e], [e, b]],
1036
1036
  [
1037
1037
  ///////////////////
1038
1038
  // XR
@@ -1040,17 +1040,17 @@ var Be = { exports: {} };
1040
1040
  /droid.+; (glass) \d/i
1041
1041
  // Google Glass
1042
1042
  ],
1043
- [t, [o, de], [e, f]],
1043
+ [o, [t, de], [e, b]],
1044
1044
  [
1045
1045
  /(pico) (4|neo3(?: link|pro)?)/i
1046
1046
  // Pico
1047
1047
  ],
1048
- [o, t, [e, f]],
1048
+ [t, o, [e, b]],
1049
1049
  [
1050
1050
  /; (quest( \d| pro)?)/i
1051
1051
  // Oculus Quest
1052
1052
  ],
1053
- [t, [o, Ie], [e, f]],
1053
+ [o, [t, Ve], [e, b]],
1054
1054
  [
1055
1055
  ///////////////////
1056
1056
  // EMBEDDED
@@ -1058,21 +1058,21 @@ var Be = { exports: {} };
1058
1058
  /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
1059
1059
  // Tesla
1060
1060
  ],
1061
- [o, [e, V]],
1061
+ [t, [e, M]],
1062
1062
  [
1063
1063
  /(aeobc)\b/i
1064
1064
  // Echo Dot
1065
1065
  ],
1066
- [t, [o, j], [e, V]],
1066
+ [o, [t, j], [e, M]],
1067
1067
  [
1068
1068
  /(homepod).+mac os/i
1069
1069
  // Apple HomePod
1070
1070
  ],
1071
- [t, [o, R], [e, V]],
1071
+ [o, [t, R], [e, M]],
1072
1072
  [
1073
1073
  /windows iot/i
1074
1074
  ],
1075
- [[e, V]],
1075
+ [[e, M]],
1076
1076
  [
1077
1077
  ////////////////////
1078
1078
  // MIXED (GENERIC)
@@ -1080,44 +1080,44 @@ var Be = { exports: {} };
1080
1080
  /droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i
1081
1081
  // Android Phones from Unidentified Vendors
1082
1082
  ],
1083
- [t, [e, r]],
1083
+ [o, [e, l]],
1084
1084
  [
1085
1085
  /droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i
1086
1086
  // Android Tablets from Unidentified Vendors
1087
1087
  ],
1088
- [t, [e, l]],
1088
+ [o, [e, r]],
1089
1089
  [
1090
1090
  /\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
1091
1091
  // Unidentifiable Tablet
1092
1092
  ],
1093
- [[e, l]],
1093
+ [[e, r]],
1094
1094
  [
1095
1095
  /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
1096
1096
  // Unidentifiable Mobile
1097
1097
  ],
1098
- [[e, r]],
1098
+ [[e, l]],
1099
1099
  [
1100
1100
  /droid .+?; ([\w\. -]+)( bui|\))/i
1101
1101
  // Generic Android Device
1102
1102
  ],
1103
- [t, [o, "Generic"]]
1103
+ [o, [t, "Generic"]]
1104
1104
  ],
1105
1105
  engine: [
1106
1106
  [
1107
1107
  /windows.+ edge\/([\w\.]+)/i
1108
1108
  // EdgeHTML
1109
1109
  ],
1110
- [i, [n, Qe + "HTML"]],
1110
+ [i, [a, Qe + "HTML"]],
1111
1111
  [
1112
1112
  /(arkweb)\/([\w\.]+)/i
1113
1113
  // ArkWeb
1114
1114
  ],
1115
- [n, i],
1115
+ [a, i],
1116
1116
  [
1117
1117
  /webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
1118
1118
  // Blink
1119
1119
  ],
1120
- [i, [n, "Blink"]],
1120
+ [i, [a, "Blink"]],
1121
1121
  [
1122
1122
  /(presto)\/([\w\.]+)/i,
1123
1123
  // Presto
@@ -1132,16 +1132,16 @@ var Be = { exports: {} };
1132
1132
  /\b(libweb)/i
1133
1133
  // LibWeb
1134
1134
  ],
1135
- [n, i],
1135
+ [a, i],
1136
1136
  [
1137
1137
  /ladybird\//i
1138
1138
  ],
1139
- [[n, "LibWeb"]],
1139
+ [[a, "LibWeb"]],
1140
1140
  [
1141
1141
  /rv\:([\w\.]{1,9})\b.+(gecko)/i
1142
1142
  // Gecko
1143
1143
  ],
1144
- [i, n]
1144
+ [i, a]
1145
1145
  ],
1146
1146
  os: [
1147
1147
  [
@@ -1149,19 +1149,19 @@ var Be = { exports: {} };
1149
1149
  /microsoft (windows) (vista|xp)/i
1150
1150
  // Windows (iTunes)
1151
1151
  ],
1152
- [n, i],
1152
+ [a, i],
1153
1153
  [
1154
1154
  /(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i
1155
1155
  // Windows Phone
1156
1156
  ],
1157
- [n, [i, ie, Ue]],
1157
+ [a, [i, ie, Ue]],
1158
1158
  [
1159
1159
  /windows nt 6\.2; (arm)/i,
1160
1160
  // Windows RT
1161
1161
  /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
1162
1162
  /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
1163
1163
  ],
1164
- [[i, ie, Ue], [n, "Windows"]],
1164
+ [[i, ie, Ue], [a, "Windows"]],
1165
1165
  [
1166
1166
  // iOS/macOS
1167
1167
  /[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
@@ -1169,66 +1169,66 @@ var Be = { exports: {} };
1169
1169
  /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
1170
1170
  /cfnetwork\/.+darwin/i
1171
1171
  ],
1172
- [[i, /_/g, "."], [n, "iOS"]],
1172
+ [[i, /_/g, "."], [a, "iOS"]],
1173
1173
  [
1174
1174
  /(mac os x) ?([\w\. ]*)/i,
1175
1175
  /(macintosh|mac_powerpc\b)(?!.+haiku)/i
1176
1176
  // Mac OS
1177
1177
  ],
1178
- [[n, Le], [i, /_/g, "."]],
1178
+ [[a, ze], [i, /_/g, "."]],
1179
1179
  [
1180
1180
  // Mobile OSes
1181
1181
  /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
1182
1182
  // Android-x86/HarmonyOS
1183
1183
  ],
1184
- [i, n],
1184
+ [i, a],
1185
1185
  [
1186
1186
  /(ubuntu) ([\w\.]+) like android/i
1187
1187
  // Ubuntu Touch
1188
1188
  ],
1189
- [[n, /(.+)/, "$1 Touch"], i],
1189
+ [[a, /(.+)/, "$1 Touch"], i],
1190
1190
  [
1191
1191
  // Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
1192
1192
  /(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i
1193
1193
  ],
1194
- [n, i],
1194
+ [a, i],
1195
1195
  [
1196
1196
  /\(bb(10);/i
1197
1197
  // BlackBerry 10
1198
1198
  ],
1199
- [i, [n, Me]],
1199
+ [i, [a, Me]],
1200
1200
  [
1201
1201
  /(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
1202
1202
  // Symbian
1203
1203
  ],
1204
- [i, [n, "Symbian"]],
1204
+ [i, [a, "Symbian"]],
1205
1205
  [
1206
1206
  /mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i
1207
1207
  // Firefox OS
1208
1208
  ],
1209
- [i, [n, re + " OS"]],
1209
+ [i, [a, re + " OS"]],
1210
1210
  [
1211
1211
  /web0s;.+rt(tv)/i,
1212
1212
  /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i
1213
1213
  // WebOS
1214
1214
  ],
1215
- [i, [n, "webOS"]],
1215
+ [i, [a, "webOS"]],
1216
1216
  [
1217
1217
  /watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i
1218
1218
  // watchOS
1219
1219
  ],
1220
- [i, [n, "watchOS"]],
1220
+ [i, [a, "watchOS"]],
1221
1221
  [
1222
1222
  // Google Chromecast
1223
1223
  /crkey\/([\d\.]+)/i
1224
1224
  // Google Chromecast
1225
1225
  ],
1226
- [i, [n, le + "cast"]],
1226
+ [i, [a, se + "cast"]],
1227
1227
  [
1228
1228
  /(cros) [\w]+(?:\)| ([\w\.]+)\b)/i
1229
1229
  // Chromium OS
1230
1230
  ],
1231
- [[n, ze], i],
1231
+ [[a, Ie], i],
1232
1232
  [
1233
1233
  // Smart TVs
1234
1234
  /panasonic;(viera)/i,
@@ -1260,12 +1260,12 @@ var Be = { exports: {} };
1260
1260
  /(haiku) (\w+)/i
1261
1261
  // Haiku
1262
1262
  ],
1263
- [n, i],
1263
+ [a, i],
1264
1264
  [
1265
1265
  /(sunos) ?([\w\.\d]*)/i
1266
1266
  // Solaris
1267
1267
  ],
1268
- [[n, "Solaris"], i],
1268
+ [[a, "Solaris"], i],
1269
1269
  [
1270
1270
  /((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
1271
1271
  // Solaris
@@ -1276,27 +1276,27 @@ var Be = { exports: {} };
1276
1276
  /(unix) ?([\w\.]*)/i
1277
1277
  // UNIX
1278
1278
  ],
1279
- [n, i]
1279
+ [a, i]
1280
1280
  ]
1281
- }, L = function(h, x) {
1282
- if (typeof h === O && (x = h, h = u), !(this instanceof L))
1283
- return new L(h, x).getResult();
1284
- var v = typeof d !== g && d.navigator ? d.navigator : u, B = h || (v && v.userAgent ? v.userAgent : m), F = v && v.userAgentData ? v.userAgentData : u, D = x ? tt(qe, x) : qe, _ = v && v.userAgent == B;
1281
+ }, z = function(y, x) {
1282
+ if (typeof y === S && (x = y, y = c), !(this instanceof z))
1283
+ return new z(y, x).getResult();
1284
+ var v = typeof u !== h && u.navigator ? u.navigator : c, O = y || (v && v.userAgent ? v.userAgent : p), F = v && v.userAgentData ? v.userAgentData : c, D = x ? tt(qe, x) : qe, _ = v && v.userAgent == O;
1285
1285
  return this.getBrowser = function() {
1286
- var w = {};
1287
- return w[n] = u, w[i] = u, oe.call(w, B, D.browser), w[N] = ot(w[i]), _ && v && v.brave && typeof v.brave.isBrave == b && (w[n] = "Brave"), w;
1286
+ var f = {};
1287
+ return f[a] = c, f[i] = c, oe.call(f, O, D.browser), f[$] = ot(f[i]), _ && v && v.brave && typeof v.brave.isBrave == d && (f[a] = "Brave"), f;
1288
1288
  }, this.getCPU = function() {
1289
- var w = {};
1290
- return w[E] = u, oe.call(w, B, D.cpu), w;
1289
+ var f = {};
1290
+ return f[g] = c, oe.call(f, O, D.cpu), f;
1291
1291
  }, this.getDevice = function() {
1292
- var w = {};
1293
- return w[o] = u, w[t] = u, w[e] = u, oe.call(w, B, D.device), _ && !w[e] && F && F.mobile && (w[e] = r), _ && w[t] == "Macintosh" && v && typeof v.standalone !== g && v.maxTouchPoints && v.maxTouchPoints > 2 && (w[t] = "iPad", w[e] = l), w;
1292
+ var f = {};
1293
+ return f[t] = c, f[o] = c, f[e] = c, oe.call(f, O, D.device), _ && !f[e] && F && F.mobile && (f[e] = l), _ && f[o] == "Macintosh" && v && typeof v.standalone !== h && v.maxTouchPoints && v.maxTouchPoints > 2 && (f[o] = "iPad", f[e] = r), f;
1294
1294
  }, this.getEngine = function() {
1295
- var w = {};
1296
- return w[n] = u, w[i] = u, oe.call(w, B, D.engine), w;
1295
+ var f = {};
1296
+ return f[a] = c, f[i] = c, oe.call(f, O, D.engine), f;
1297
1297
  }, this.getOS = function() {
1298
- var w = {};
1299
- return w[n] = u, w[i] = u, oe.call(w, B, D.os), _ && !w[n] && F && F.platform && F.platform != "Unknown" && (w[n] = F.platform.replace(/chrome os/i, ze).replace(/macos/i, Le)), w;
1298
+ var f = {};
1299
+ return f[a] = c, f[i] = c, oe.call(f, O, D.os), _ && !f[a] && F && F.platform && F.platform != "Unknown" && (f[a] = F.platform.replace(/chrome os/i, Ie).replace(/macos/i, ze)), f;
1300
1300
  }, this.getResult = function() {
1301
1301
  return {
1302
1302
  ua: this.getUA(),
@@ -1307,19 +1307,19 @@ var Be = { exports: {} };
1307
1307
  cpu: this.getCPU()
1308
1308
  };
1309
1309
  }, this.getUA = function() {
1310
- return B;
1311
- }, this.setUA = function(w) {
1312
- return B = typeof w === A && w.length > H ? _e(w, H) : w, this;
1313
- }, this.setUA(B), this;
1310
+ return O;
1311
+ }, this.setUA = function(f) {
1312
+ return O = typeof f === C && f.length > H ? Se(f, H) : f, this;
1313
+ }, this.setUA(O), this;
1314
1314
  };
1315
- L.VERSION = S, L.BROWSER = ce([n, i, N]), L.CPU = ce([E]), L.DEVICE = ce([t, o, e, p, r, s, l, f, V]), L.ENGINE = L.OS = ce([n, i]), a.exports && (C = a.exports = L), C.UAParser = L;
1316
- var K = typeof d !== g && (d.jQuery || d.Zepto);
1315
+ z.VERSION = E, z.BROWSER = ce([a, i, $]), z.CPU = ce([g]), z.DEVICE = ce([o, t, e, I, l, s, r, b, M]), z.ENGINE = z.OS = ce([a, i]), n.exports && (T = n.exports = z), T.UAParser = z;
1316
+ var K = typeof u !== h && (u.jQuery || u.Zepto);
1317
1317
  if (K && !K.ua) {
1318
- var we = new L();
1318
+ var we = new z();
1319
1319
  K.ua = we.getResult(), K.ua.get = function() {
1320
1320
  return we.getUA();
1321
- }, K.ua.set = function(h) {
1322
- we.setUA(h);
1321
+ }, K.ua.set = function(y) {
1322
+ we.setUA(y);
1323
1323
  var x = we.getResult();
1324
1324
  for (var v in x)
1325
1325
  K.ua[v] = x[v];
@@ -1332,11 +1332,11 @@ const wt = /* @__PURE__ */ ut(ct);
1332
1332
  function Ke() {
1333
1333
  if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
1334
1334
  try {
1335
- var a = wt(navigator.userAgent);
1336
- if (a.browser.name === "WebKit")
1335
+ var n = wt(navigator.userAgent);
1336
+ if (n.browser.name === "WebKit")
1337
1337
  return "ios_webview";
1338
- } catch (C) {
1339
- console.error(C);
1338
+ } catch (T) {
1339
+ console.error(T);
1340
1340
  }
1341
1341
  return typeof Android < "u" ? "android_webview" : typeof window.cefQuery < "u" ? "cef_webview" : "browser";
1342
1342
  }
@@ -1354,66 +1354,69 @@ function X() {
1354
1354
  }
1355
1355
  }
1356
1356
  const bt = 3e3;
1357
- let ft = 0, fe = null;
1357
+ let ft = 0, ve = null;
1358
1358
  function vt() {
1359
1359
  return `req_${++ft}_${Date.now()}`;
1360
1360
  }
1361
1361
  function mt() {
1362
1362
  return "APP_" + Math.random().toString(36).slice(2, 10);
1363
1363
  }
1364
- function pt(a) {
1365
- fe = a;
1364
+ function pt(n) {
1365
+ ve = n;
1366
1366
  }
1367
1367
  function Ae() {
1368
- return fe || (fe = mt()), fe;
1368
+ return ve || (ve = mt()), ve;
1369
1369
  }
1370
- function G(a) {
1370
+ function G(n) {
1371
1371
  X() && window.parent.postMessage({
1372
- ...a,
1372
+ ...n,
1373
1373
  sender: Ae(),
1374
- target: a.target || "DASHBOARD"
1374
+ target: n.target || "DASHBOARD"
1375
1375
  }, "*");
1376
1376
  }
1377
- function Je(a, C) {
1378
- return X() ? new Promise((d) => {
1379
- const u = vt(), S = setTimeout(() => {
1380
- window.removeEventListener("message", m), d(null);
1377
+ function Je(n, T) {
1378
+ return X() ? new Promise((u) => {
1379
+ const c = vt(), E = setTimeout(() => {
1380
+ window.removeEventListener("message", p), u(null);
1381
1381
  }, bt);
1382
- function m(T) {
1383
- const b = T.data;
1384
- (b == null ? void 0 : b.type) === "DATA_RESPONSE" && (b == null ? void 0 : b.requestId) === u && (!b.target || b.target === Ae()) && (clearTimeout(S), window.removeEventListener("message", m), d(b.data ?? null));
1382
+ function p(B) {
1383
+ const d = B.data;
1384
+ (d == null ? void 0 : d.type) === "DATA_RESPONSE" && (d == null ? void 0 : d.requestId) === c && (!d.target || d.target === Ae()) && (clearTimeout(E), window.removeEventListener("message", p), u(d.data ?? null));
1385
1385
  }
1386
- window.addEventListener("message", m), G({
1386
+ window.addEventListener("message", p), G({
1387
1387
  type: "DATA_REQUEST",
1388
- requestId: u,
1389
- source: a,
1390
- key: C
1388
+ requestId: c,
1389
+ source: n,
1390
+ key: T
1391
1391
  });
1392
1392
  }) : Promise.resolve(null);
1393
1393
  }
1394
- function Ee(a) {
1395
- return Je("localStorage", a);
1394
+ function be(n) {
1395
+ return Je("localStorage", n);
1396
+ }
1397
+ function yt(n) {
1398
+ return Je("window", n);
1396
1399
  }
1397
- function yt(a) {
1398
- return Je("window", a);
1400
+ function gt(n, T) {
1401
+ G({ type: "setLocalStorage", key: n, value: T });
1399
1402
  }
1400
- const W = (a, C) => {
1401
- const d = a.__vccOpts || a;
1402
- for (const [u, S] of C)
1403
- d[u] = S;
1404
- return d;
1405
- }, gt = { class: "sky-header-container" }, ht = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"], _t = {
1403
+ const W = (n, T) => {
1404
+ const u = n.__vccOpts || n;
1405
+ for (const [c, E] of T)
1406
+ u[c] = E;
1407
+ return u;
1408
+ }, ht = { class: "sky-header-container" }, kt = { class: "topmenubox" }, xt = { class: "header-left" }, _t = ["title"], St = {
1406
1409
  width: "15",
1407
1410
  height: "15",
1408
1411
  viewBox: "0 0 451.847 451.847",
1409
1412
  style: { transform: "rotate(90deg)" }
1410
- }, St = { class: "notPadding" }, Et = { class: "topmenu-title" }, Tt = {
1413
+ }, Et = { class: "notPadding" }, Tt = { class: "topmenu-title" }, Ot = {
1411
1414
  key: 0,
1412
1415
  class: "title-dropdown"
1413
- }, Ot = { class: "title-dropdown-header" }, Bt = ["onClick"], Ct = { class: "pageName" }, At = { class: "pageVisit" }, Mt = {
1416
+ }, Bt = { class: "title-dropdown-header" }, Ct = ["onClick"], At = { class: "pageName" }, Mt = { class: "pageVisit" }, Pt = {
1414
1417
  key: 0,
1415
1418
  class: "topmenu-description"
1416
- }, Pt = { class: "topmenubox-button" }, $t = {
1419
+ }, $t = { class: "topmenubox-button" }, Lt = {
1417
1420
  __name: "Header",
1418
1421
  props: {
1419
1422
  title: {
@@ -1462,152 +1465,152 @@ const W = (a, C) => {
1462
1465
  }
1463
1466
  },
1464
1467
  emits: ["back", "navigate"],
1465
- setup(a, { emit: C }) {
1466
- const d = a;
1467
- pt(d.appId || Ae());
1468
- const u = C, S = P(null), m = P(!1), T = P([]), b = P({});
1469
- X() && d.trackPageName && G({
1468
+ setup(n, { emit: T }) {
1469
+ const u = n;
1470
+ pt(u.appId || Ae());
1471
+ const c = T, E = P(null), p = P(!1), B = P([]), d = P({});
1472
+ X() && u.trackPageName && G({
1470
1473
  type: "trackVisit",
1471
- name: d.trackPageName,
1472
- path: d.trackPagePath || `/${d.trackPageName}`
1474
+ name: u.trackPageName,
1475
+ path: u.trackPagePath || `/${u.trackPageName}`
1473
1476
  });
1474
- const g = P(null);
1475
- X() && Ee("rocketMode").then((s) => {
1476
- g.value = s, G({ type: "setRocketMode", value: !0 });
1477
+ const h = P(null);
1478
+ X() && be("rocketMode").then(async (s) => {
1479
+ h.value = s, await be("fallbackRocketMode") === null && gt("fallbackRocketMode", s === !0 || s === "true" ? "true" : "false"), G({ type: "setRocketMode", value: !0 });
1477
1480
  }), ne(() => {
1478
- p();
1481
+ I();
1479
1482
  }), X() && yt("lang").then((s) => {
1480
- s != null && (b.value = s);
1483
+ s != null && (d.value = s);
1481
1484
  });
1482
- function O(s) {
1485
+ function S(s) {
1483
1486
  try {
1484
1487
  if (!s)
1485
1488
  return;
1486
- const f = typeof s == "string" ? JSON.parse(s) : s;
1487
- f != null && f.pages && (T.value = Object.values(f.pages));
1489
+ const b = typeof s == "string" ? JSON.parse(s) : s;
1490
+ b != null && b.pages && (B.value = Object.values(b.pages));
1488
1491
  } catch {
1489
1492
  }
1490
1493
  }
1491
- O(localStorage.componentStats), X() && Ee("componentStats").then((s) => {
1492
- s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), O(s));
1494
+ S(localStorage.componentStats), X() && be("componentStats").then((s) => {
1495
+ s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), S(s));
1493
1496
  });
1494
- const A = I(() => [...d.dropdownItems.length ? d.dropdownItems : T.value].sort((f, V) => V.lastVisit - f.lastVisit)), N = () => {
1495
- A.value.length && (m.value = !m.value);
1496
- }, t = () => {
1497
- m.value = !1;
1498
- }, n = (s) => {
1499
- u("navigate", s.path), X() && G({ type: "navigate", path: s.path }), t();
1497
+ const C = N(() => [...u.dropdownItems.length ? u.dropdownItems : B.value].sort((b, M) => M.lastVisit - b.lastVisit)), $ = () => {
1498
+ C.value.length && (p.value = !p.value);
1499
+ }, o = () => {
1500
+ p.value = !1;
1501
+ }, a = (s) => {
1502
+ c("navigate", s.path), X() && G({ type: "navigate", path: s.path }), o();
1500
1503
  }, e = (s) => {
1501
1504
  if (!s)
1502
1505
  return "";
1503
- const f = b.value[s] || s;
1504
- return f.charAt(0).toUpperCase() + f.slice(1);
1505
- }, o = (s) => {
1506
- const V = Date.now() - s, H = Math.floor(V / 1e3), j = Math.floor(H / 60), R = Math.floor(j / 60), Z = Math.floor(R / 24);
1506
+ const b = d.value[s] || s;
1507
+ return b.charAt(0).toUpperCase() + b.slice(1);
1508
+ }, t = (s) => {
1509
+ const M = Date.now() - s, H = Math.floor(M / 1e3), j = Math.floor(H / 60), R = Math.floor(j / 60), Z = Math.floor(R / 24);
1507
1510
  return Z > 0 ? `${Z}д тому` : R > 0 ? `${R}год тому` : j > 0 ? `${j}хв тому` : `${H}с тому`;
1508
1511
  }, i = (s) => {
1509
- S.value && !S.value.contains(s.target) && t();
1512
+ E.value && !E.value.contains(s.target) && o();
1510
1513
  };
1511
1514
  ae(() => {
1512
1515
  document.addEventListener("click", i, !0);
1513
1516
  }), ne(() => {
1514
1517
  document.removeEventListener("click", i, !0);
1515
1518
  });
1516
- const E = I(() => d.backEvent || d.showBackButton && X()), p = () => {
1517
- if (g.value !== null) {
1518
- const s = g.value === !0 || g.value === "true";
1519
+ const g = N(() => u.backEvent || u.showBackButton && X()), I = () => {
1520
+ if (h.value !== null) {
1521
+ const s = h.value === !0 || h.value === "true";
1519
1522
  G({ type: "setRocketMode", value: s });
1520
1523
  }
1521
- }, r = () => A.value.find((s) => s.name !== d.trackPageName && s.path), l = async () => {
1522
- if (d.backEvent)
1523
- return p(), d.backEvent();
1524
- let s = r();
1524
+ }, l = () => C.value.find((s) => s.name !== u.trackPageName && s.path), r = async () => {
1525
+ if (u.backEvent)
1526
+ return I(), u.backEvent();
1527
+ let s = l();
1525
1528
  if (!s && X()) {
1526
- const f = await Ee("componentStats");
1527
- f && (O(f), s = r());
1529
+ const b = await be("componentStats");
1530
+ b && (S(b), s = l());
1528
1531
  }
1529
- p(), G(s ? { type: "navigate", path: s.path } : { type: "exit" });
1532
+ I(), G(s ? { type: "navigate", path: s.path } : { type: "exit" });
1530
1533
  };
1531
- return (s, f) => (y(), k("header", gt, [
1532
- c("div", ht, [
1533
- c("div", kt, [
1534
- E.value ? (y(), k("button", {
1534
+ return (s, b) => (m(), k("header", ht, [
1535
+ w("div", kt, [
1536
+ w("div", xt, [
1537
+ g.value ? (m(), k("button", {
1535
1538
  key: 0,
1536
1539
  class: "btn-back",
1537
- onClick: l,
1538
- title: a.backButtonTitle
1540
+ onClick: r,
1541
+ title: n.backButtonTitle
1539
1542
  }, [
1540
- (y(), k("svg", _t, [...f[0] || (f[0] = [
1541
- c("path", {
1543
+ (m(), k("svg", St, [...b[0] || (b[0] = [
1544
+ w("path", {
1542
1545
  fill: "currentColor",
1543
1546
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1544
1547
  }, null, -1)
1545
1548
  ])]))
1546
- ], 8, xt)) : M("", !0),
1547
- c("div", {
1549
+ ], 8, _t)) : A("", !0),
1550
+ w("div", {
1548
1551
  ref_key: "dropdownRef",
1549
- ref: S,
1552
+ ref: E,
1550
1553
  class: "titleAndDesc"
1551
1554
  }, [
1552
- c("button", {
1553
- class: q(["title-dropdown-toggle", { "title-dropdown-toggle-active": A.value.length }]),
1554
- onClick: N
1555
+ w("button", {
1556
+ class: q(["title-dropdown-toggle", { "title-dropdown-toggle-active": C.value.length }]),
1557
+ onClick: $
1555
1558
  }, [
1556
- z(s.$slots, "title", {}, () => [
1557
- c("h4", St, [
1558
- c("span", Et, $(a.title), 1),
1559
- A.value.length ? (y(), k("svg", {
1559
+ V(s.$slots, "title", {}, () => [
1560
+ w("h4", Et, [
1561
+ w("span", Tt, L(n.title), 1),
1562
+ C.value.length ? (m(), k("svg", {
1560
1563
  key: 0,
1561
- class: q(["arrow", { open: m.value }]),
1564
+ class: q(["arrow", { open: p.value }]),
1562
1565
  width: "12",
1563
1566
  height: "12",
1564
1567
  viewBox: "0 0 451.847 451.847",
1565
1568
  style: { "flex-shrink": "0" }
1566
- }, [...f[1] || (f[1] = [
1567
- c("path", {
1569
+ }, [...b[1] || (b[1] = [
1570
+ w("path", {
1568
1571
  fill: "currentColor",
1569
1572
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1570
1573
  }, null, -1)
1571
- ])], 2)) : M("", !0)
1574
+ ])], 2)) : A("", !0)
1572
1575
  ])
1573
1576
  ], !0)
1574
1577
  ], 2),
1575
- m.value && A.value.length ? (y(), k("div", Tt, [
1576
- c("div", Ot, $(a.dropdownTitle), 1),
1577
- f[2] || (f[2] = c("div", { class: "title-dropdown-divider" }, null, -1)),
1578
- (y(!0), k(be, null, Te(A.value, (V, H) => (y(), k("div", {
1578
+ p.value && C.value.length ? (m(), k("div", Ot, [
1579
+ w("div", Bt, L(n.dropdownTitle), 1),
1580
+ b[2] || (b[2] = w("div", { class: "title-dropdown-divider" }, null, -1)),
1581
+ (m(!0), k(fe, null, Te(C.value, (M, H) => (m(), k("div", {
1579
1582
  key: H,
1580
1583
  class: "title-dropdown-item",
1581
- onClick: (j) => n(V)
1584
+ onClick: (j) => a(M)
1582
1585
  }, [
1583
- c("p", Ct, $(e(V.name)), 1),
1584
- c("small", At, " (" + $(a.visitLabel) + " " + $(o(V.lastVisit)) + ") ", 1)
1585
- ], 8, Bt))), 128))
1586
- ])) : M("", !0),
1587
- z(s.$slots, "subtitle", {}, () => [
1588
- a.subtitle ? (y(), k("p", Mt, $(a.subtitle), 1)) : M("", !0)
1586
+ w("p", At, L(e(M.name)), 1),
1587
+ w("small", Mt, " (" + L(n.visitLabel) + " " + L(t(M.lastVisit)) + ") ", 1)
1588
+ ], 8, Ct))), 128))
1589
+ ])) : A("", !0),
1590
+ V(s.$slots, "subtitle", {}, () => [
1591
+ n.subtitle ? (m(), k("p", Pt, L(n.subtitle), 1)) : A("", !0)
1589
1592
  ], !0)
1590
1593
  ], 512)
1591
1594
  ]),
1592
- c("div", Pt, [
1593
- f[3] || (f[3] = c("div", null, null, -1)),
1594
- z(s.$slots, "default", {}, void 0, !0),
1595
- f[4] || (f[4] = c("div", null, null, -1))
1595
+ w("div", $t, [
1596
+ b[3] || (b[3] = w("div", null, null, -1)),
1597
+ V(s.$slots, "default", {}, void 0, !0),
1598
+ b[4] || (b[4] = w("div", null, null, -1))
1596
1599
  ])
1597
1600
  ])
1598
1601
  ]));
1599
1602
  }
1600
- }, yo = /* @__PURE__ */ W($t, [["__scopeId", "data-v-73761f6b"]]);
1603
+ }, go = /* @__PURE__ */ W(Lt, [["__scopeId", "data-v-ef5e2184"]]);
1601
1604
  const Nt = { class: "sky-dialog-overlay" }, Vt = {
1602
1605
  key: 0,
1603
1606
  class: "sky-dialog-subtitle"
1604
1607
  }, It = ["title"], zt = {
1605
1608
  key: 0,
1606
1609
  class: "sky-dialog-swipe-area"
1607
- }, Lt = {
1610
+ }, Rt = {
1608
1611
  key: 0,
1609
1612
  class: "sky-dialog-footer"
1610
- }, Rt = {
1613
+ }, Dt = {
1611
1614
  __name: "DialogModal",
1612
1615
  props: {
1613
1616
  modelValue: {
@@ -1640,80 +1643,80 @@ const Nt = { class: "sky-dialog-overlay" }, Vt = {
1640
1643
  }
1641
1644
  },
1642
1645
  emits: ["update:modelValue", "close", "save"],
1643
- setup(a, { emit: C }) {
1644
- const d = He(), u = a, S = C, m = P(null), T = P(null), b = P(0), g = I(() => {
1646
+ setup(n, { emit: T }) {
1647
+ const u = He(), c = n, E = T, p = P(null), B = P(null), d = P(0), h = N(() => {
1645
1648
  try {
1646
1649
  return Ye();
1647
1650
  } catch {
1648
1651
  return !1;
1649
1652
  }
1650
- }), O = I(() => {
1653
+ }), S = N(() => {
1651
1654
  try {
1652
1655
  return Ze();
1653
1656
  } catch {
1654
1657
  return !1;
1655
1658
  }
1656
- }), A = I(() => u.hasButtons !== null ? u.hasButtons : !!d.buttons), N = () => {
1657
- S("update:modelValue", !1), S("close");
1658
- }, t = (i) => {
1659
- i.key === "Escape" && u.closeOnEsc && u.modelValue && N(), i.key === "Enter" && u.modelValue && S("save");
1660
- }, n = (i) => {
1661
- i.touches[0].clientX < 35 && (b.value = i.touches[0].clientX);
1659
+ }), C = N(() => c.hasButtons !== null ? c.hasButtons : !!u.buttons), $ = () => {
1660
+ E("update:modelValue", !1), E("close");
1661
+ }, o = (i) => {
1662
+ i.key === "Escape" && c.closeOnEsc && c.modelValue && $(), i.key === "Enter" && c.modelValue && E("save");
1663
+ }, a = (i) => {
1664
+ i.touches[0].clientX < 35 && (d.value = i.touches[0].clientX);
1662
1665
  }, e = (i) => {
1663
- b.value > 0 && b.value < 35 && i.changedTouches[0].clientX - b.value > 50 && N(), b.value = 0;
1664
- }, o = () => {
1665
- if (!(!O.value || !m.value))
1666
+ d.value > 0 && d.value < 35 && i.changedTouches[0].clientX - d.value > 50 && $(), d.value = 0;
1667
+ }, t = () => {
1668
+ if (!(!S.value || !p.value))
1666
1669
  try {
1667
1670
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
1668
1671
  const i = Android.getDisplayCutoutTop();
1669
1672
  if (i && window.devicePixelRatio > 1) {
1670
- const E = i / window.devicePixelRatio;
1671
- m.value.style.paddingTop = E + "px";
1673
+ const g = i / window.devicePixelRatio;
1674
+ p.value.style.paddingTop = g + "px";
1672
1675
  }
1673
1676
  }
1674
1677
  } catch {
1675
1678
  }
1676
1679
  };
1677
1680
  return Ce(
1678
- () => u.modelValue,
1681
+ () => c.modelValue,
1679
1682
  (i) => {
1680
1683
  i ? (document.body.style.overflow = "hidden", Ge(() => {
1681
- o();
1684
+ t();
1682
1685
  })) : document.body.style.overflow = "";
1683
1686
  }
1684
1687
  ), ae(() => {
1685
- document.addEventListener("keydown", t), window.addEventListener("resize", o);
1688
+ document.addEventListener("keydown", o), window.addEventListener("resize", t);
1686
1689
  }), ne(() => {
1687
- document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
1688
- }), (i, E) => (y(), Y(ve, { to: "body" }, [
1689
- a.modelValue ? (y(), k("div", {
1690
+ document.removeEventListener("keydown", o), window.removeEventListener("resize", t), document.body.style.overflow = "";
1691
+ }), (i, g) => (m(), Y(me, { to: "body" }, [
1692
+ n.modelValue ? (m(), k("div", {
1690
1693
  key: 0,
1691
1694
  class: "sky-dialogbox sky-dialogbox-classic",
1692
- style: me([a.zIndex ? { "z-index": a.zIndex } : null])
1695
+ style: pe([n.zIndex ? { "z-index": n.zIndex } : null])
1693
1696
  }, [
1694
- c("div", Nt, [
1695
- c("div", {
1697
+ w("div", Nt, [
1698
+ w("div", {
1696
1699
  ref_key: "dialogContent",
1697
- ref: m,
1700
+ ref: p,
1698
1701
  class: "sky-dialog-content"
1699
1702
  }, [
1700
- c("div", {
1701
- class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
1703
+ w("div", {
1704
+ class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1702
1705
  }, [
1703
- We($(a.title) + " ", 1),
1704
- a.subtitle ? (y(), k("span", Vt, $(a.subtitle), 1)) : M("", !0)
1706
+ We(L(n.title) + " ", 1),
1707
+ n.subtitle ? (m(), k("span", Vt, L(n.subtitle), 1)) : A("", !0)
1705
1708
  ], 2),
1706
- c("button", {
1709
+ w("button", {
1707
1710
  class: "sky-dialog-close",
1708
- title: a.closeText,
1709
- onClick: N
1710
- }, [...E[0] || (E[0] = [
1711
- c("svg", {
1711
+ title: n.closeText,
1712
+ onClick: $
1713
+ }, [...g[0] || (g[0] = [
1714
+ w("svg", {
1712
1715
  viewBox: "0 0 16 16",
1713
1716
  width: "16",
1714
1717
  height: "16"
1715
1718
  }, [
1716
- c("line", {
1719
+ w("line", {
1717
1720
  x1: "1",
1718
1721
  y1: "15",
1719
1722
  x2: "15",
@@ -1721,7 +1724,7 @@ const Nt = { class: "sky-dialog-overlay" }, Vt = {
1721
1724
  stroke: "currentColor",
1722
1725
  "stroke-width": "2"
1723
1726
  }),
1724
- c("line", {
1727
+ w("line", {
1725
1728
  x1: "1",
1726
1729
  y1: "1",
1727
1730
  x2: "15",
@@ -1731,41 +1734,41 @@ const Nt = { class: "sky-dialog-overlay" }, Vt = {
1731
1734
  })
1732
1735
  ], -1)
1733
1736
  ])], 8, It),
1734
- E[1] || (E[1] = c("div", { class: "sky-dialog-clearfix" }, null, -1)),
1735
- c("div", {
1737
+ g[1] || (g[1] = w("div", { class: "sky-dialog-clearfix" }, null, -1)),
1738
+ w("div", {
1736
1739
  ref_key: "dialogPaper",
1737
- ref: T,
1738
- class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !A.value }]),
1739
- onTouchstart: n,
1740
+ ref: B,
1741
+ class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !C.value }]),
1742
+ onTouchstart: a,
1740
1743
  onTouchend: e
1741
1744
  }, [
1742
- g.value ? (y(), k("div", zt)) : M("", !0),
1743
- z(i.$slots, "default", {}, void 0, !0)
1745
+ h.value ? (m(), k("div", zt)) : A("", !0),
1746
+ V(i.$slots, "default", {}, void 0, !0)
1744
1747
  ], 34),
1745
- A.value ? (y(), k("div", Lt, [
1746
- z(i.$slots, "buttons", {}, void 0, !0)
1747
- ])) : M("", !0)
1748
+ C.value ? (m(), k("div", Rt, [
1749
+ V(i.$slots, "buttons", {}, void 0, !0)
1750
+ ])) : A("", !0)
1748
1751
  ], 512)
1749
1752
  ])
1750
- ], 4)) : M("", !0)
1753
+ ], 4)) : A("", !0)
1751
1754
  ]));
1752
1755
  }
1753
- }, Fe = /* @__PURE__ */ W(Rt, [["__scopeId", "data-v-d76f070e"]]);
1754
- const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" }, qt = ["title"], jt = {
1756
+ }, Fe = /* @__PURE__ */ W(Dt, [["__scopeId", "data-v-d76f070e"]]);
1757
+ const Ut = { class: "sky-dialog-overlay" }, qt = { class: "sky-dialog-header" }, jt = ["title"], Ft = {
1755
1758
  width: "15",
1756
1759
  height: "15",
1757
1760
  viewBox: "0 0 451.847 451.847",
1758
1761
  style: { transform: "rotate(90deg)" }
1759
- }, Ft = {
1762
+ }, Xt = {
1760
1763
  key: 0,
1761
1764
  class: "sky-dialog-subtitle"
1762
- }, Xt = {
1765
+ }, Ht = {
1763
1766
  key: 0,
1764
1767
  class: "sky-dialog-swipe-area"
1765
- }, Ht = {
1768
+ }, Gt = {
1766
1769
  key: 0,
1767
1770
  class: "sky-dialog-footer"
1768
- }, Gt = {
1771
+ }, Wt = {
1769
1772
  __name: "DialogNext",
1770
1773
  props: {
1771
1774
  modelValue: {
@@ -1798,102 +1801,102 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
1798
1801
  }
1799
1802
  },
1800
1803
  emits: ["update:modelValue", "close", "save"],
1801
- setup(a, { emit: C }) {
1802
- const d = He(), u = a, S = C, m = P(null), T = P(null), b = P(0), g = I(() => {
1804
+ setup(n, { emit: T }) {
1805
+ const u = He(), c = n, E = T, p = P(null), B = P(null), d = P(0), h = N(() => {
1803
1806
  try {
1804
1807
  return Ye();
1805
1808
  } catch {
1806
1809
  return !1;
1807
1810
  }
1808
- }), O = I(() => {
1811
+ }), S = N(() => {
1809
1812
  try {
1810
1813
  return Ze();
1811
1814
  } catch {
1812
1815
  return !1;
1813
1816
  }
1814
- }), A = I(() => u.hasButtons !== null ? u.hasButtons : !!d.buttons), N = () => {
1815
- S("update:modelValue", !1), S("close");
1816
- }, t = (i) => {
1817
- i.key === "Escape" && u.closeOnEsc && u.modelValue && N(), i.key === "Enter" && u.modelValue && S("save");
1818
- }, n = (i) => {
1819
- i.touches[0].clientX < 35 && (b.value = i.touches[0].clientX);
1817
+ }), C = N(() => c.hasButtons !== null ? c.hasButtons : !!u.buttons), $ = () => {
1818
+ E("update:modelValue", !1), E("close");
1819
+ }, o = (i) => {
1820
+ i.key === "Escape" && c.closeOnEsc && c.modelValue && $(), i.key === "Enter" && c.modelValue && E("save");
1821
+ }, a = (i) => {
1822
+ i.touches[0].clientX < 35 && (d.value = i.touches[0].clientX);
1820
1823
  }, e = (i) => {
1821
- b.value > 0 && b.value < 35 && i.changedTouches[0].clientX - b.value > 50 && N(), b.value = 0;
1822
- }, o = () => {
1823
- if (!(!O.value || !m.value))
1824
+ d.value > 0 && d.value < 35 && i.changedTouches[0].clientX - d.value > 50 && $(), d.value = 0;
1825
+ }, t = () => {
1826
+ if (!(!S.value || !p.value))
1824
1827
  try {
1825
1828
  if (typeof Android < "u" && Android.getDisplayCutoutTop) {
1826
1829
  const i = Android.getDisplayCutoutTop();
1827
1830
  if (i && window.devicePixelRatio > 1) {
1828
- const E = i / window.devicePixelRatio;
1829
- m.value.style.paddingTop = E + "px";
1831
+ const g = i / window.devicePixelRatio;
1832
+ p.value.style.paddingTop = g + "px";
1830
1833
  }
1831
1834
  }
1832
1835
  } catch {
1833
1836
  }
1834
1837
  };
1835
1838
  return Ce(
1836
- () => u.modelValue,
1839
+ () => c.modelValue,
1837
1840
  (i) => {
1838
1841
  i ? (document.body.style.overflow = "hidden", Ge(() => {
1839
- o();
1842
+ t();
1840
1843
  })) : document.body.style.overflow = "";
1841
1844
  }
1842
1845
  ), ae(() => {
1843
- document.addEventListener("keydown", t), window.addEventListener("resize", o);
1846
+ document.addEventListener("keydown", o), window.addEventListener("resize", t);
1844
1847
  }), ne(() => {
1845
- document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
1846
- }), (i, E) => (y(), Y(ve, { to: "body" }, [
1847
- a.modelValue ? (y(), k("div", {
1848
+ document.removeEventListener("keydown", o), window.removeEventListener("resize", t), document.body.style.overflow = "";
1849
+ }), (i, g) => (m(), Y(me, { to: "body" }, [
1850
+ n.modelValue ? (m(), k("div", {
1848
1851
  key: 0,
1849
1852
  class: "sky-dialogbox sky-dialogbox-next",
1850
- style: me([a.zIndex ? { "z-index": a.zIndex } : null])
1853
+ style: pe([n.zIndex ? { "z-index": n.zIndex } : null])
1851
1854
  }, [
1852
- c("div", Dt, [
1853
- c("div", {
1855
+ w("div", Ut, [
1856
+ w("div", {
1854
1857
  ref_key: "dialogContent",
1855
- ref: m,
1858
+ ref: p,
1856
1859
  class: "sky-dialog-content"
1857
1860
  }, [
1858
- c("div", Ut, [
1859
- c("button", {
1861
+ w("div", qt, [
1862
+ w("button", {
1860
1863
  class: "sky-dialog-back",
1861
- title: a.closeText,
1862
- onClick: N
1864
+ title: n.closeText,
1865
+ onClick: $
1863
1866
  }, [
1864
- (y(), k("svg", jt, [...E[0] || (E[0] = [
1865
- c("path", {
1867
+ (m(), k("svg", Ft, [...g[0] || (g[0] = [
1868
+ w("path", {
1866
1869
  fill: "currentColor",
1867
1870
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1868
1871
  }, null, -1)
1869
1872
  ])]))
1870
- ], 8, qt),
1871
- c("div", {
1872
- class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
1873
+ ], 8, jt),
1874
+ w("div", {
1875
+ class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1873
1876
  }, [
1874
- We($(a.title) + " ", 1),
1875
- a.subtitle ? (y(), k("span", Ft, $(a.subtitle), 1)) : M("", !0)
1877
+ We(L(n.title) + " ", 1),
1878
+ n.subtitle ? (m(), k("span", Xt, L(n.subtitle), 1)) : A("", !0)
1876
1879
  ], 2)
1877
1880
  ]),
1878
- c("div", {
1881
+ w("div", {
1879
1882
  ref_key: "dialogPaper",
1880
- ref: T,
1881
- class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !A.value }]),
1882
- onTouchstart: n,
1883
+ ref: B,
1884
+ class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !C.value }]),
1885
+ onTouchstart: a,
1883
1886
  onTouchend: e
1884
1887
  }, [
1885
- g.value ? (y(), k("div", Xt)) : M("", !0),
1886
- z(i.$slots, "default", {}, void 0, !0)
1888
+ h.value ? (m(), k("div", Ht)) : A("", !0),
1889
+ V(i.$slots, "default", {}, void 0, !0)
1887
1890
  ], 34),
1888
- A.value ? (y(), k("div", Ht, [
1889
- z(i.$slots, "buttons", {}, void 0, !0)
1890
- ])) : M("", !0)
1891
+ C.value ? (m(), k("div", Gt, [
1892
+ V(i.$slots, "buttons", {}, void 0, !0)
1893
+ ])) : A("", !0)
1891
1894
  ], 512)
1892
1895
  ])
1893
- ], 4)) : M("", !0)
1896
+ ], 4)) : A("", !0)
1894
1897
  ]));
1895
1898
  }
1896
- }, Xe = /* @__PURE__ */ W(Gt, [["__scopeId", "data-v-8e144f41"]]), go = {
1899
+ }, Xe = /* @__PURE__ */ W(Wt, [["__scopeId", "data-v-8e144f41"]]), ho = {
1897
1900
  __name: "Dialog",
1898
1901
  props: {
1899
1902
  modelValue: {
@@ -1925,50 +1928,50 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
1925
1928
  type: String,
1926
1929
  default: null,
1927
1930
  // 'next' | 'classic' | null (auto-detect)
1928
- validator: (a) => [null, "next", "classic"].includes(a)
1931
+ validator: (n) => [null, "next", "classic"].includes(n)
1929
1932
  }
1930
1933
  },
1931
1934
  emits: ["update:modelValue", "close", "save"],
1932
- setup(a, { emit: C }) {
1933
- const d = a, u = C, S = I({
1934
- get: () => d.modelValue,
1935
- set: (b) => u("update:modelValue", b)
1936
- }), m = P(!0);
1935
+ setup(n, { emit: T }) {
1936
+ const u = n, c = T, E = N({
1937
+ get: () => u.modelValue,
1938
+ set: (d) => c("update:modelValue", d)
1939
+ }), p = P(!0);
1937
1940
  ae(() => {
1938
1941
  try {
1939
- new URLSearchParams(window.location.search).get("rocketMode") === "false" ? m.value = !1 : m.value = !0;
1942
+ new URLSearchParams(window.location.search).get("rocketMode") === "false" ? p.value = !1 : p.value = !0;
1940
1943
  } catch {
1941
- m.value = !0;
1944
+ p.value = !0;
1942
1945
  }
1943
1946
  });
1944
- const T = I(() => d.mode === "next" ? Xe : d.mode === "classic" ? Fe : m.value ? Xe : Fe);
1945
- return (b, g) => (y(), Y(nt(T.value), {
1946
- modelValue: S.value,
1947
- "onUpdate:modelValue": g[0] || (g[0] = (O) => S.value = O),
1948
- title: a.title,
1949
- subtitle: a.subtitle,
1950
- "z-index": a.zIndex,
1951
- "close-text": a.closeText,
1952
- "close-on-esc": a.closeOnEsc,
1953
- "has-buttons": !!b.$slots.buttons,
1954
- onClose: g[1] || (g[1] = (O) => b.$emit("close")),
1955
- onSave: g[2] || (g[2] = (O) => b.$emit("save"))
1947
+ const B = N(() => u.mode === "next" ? Xe : u.mode === "classic" ? Fe : p.value ? Xe : Fe);
1948
+ return (d, h) => (m(), Y(nt(B.value), {
1949
+ modelValue: E.value,
1950
+ "onUpdate:modelValue": h[0] || (h[0] = (S) => E.value = S),
1951
+ title: n.title,
1952
+ subtitle: n.subtitle,
1953
+ "z-index": n.zIndex,
1954
+ "close-text": n.closeText,
1955
+ "close-on-esc": n.closeOnEsc,
1956
+ "has-buttons": !!d.$slots.buttons,
1957
+ onClose: h[1] || (h[1] = (S) => d.$emit("close")),
1958
+ onSave: h[2] || (h[2] = (S) => d.$emit("save"))
1956
1959
  }, at({
1957
1960
  default: Oe(() => [
1958
- z(b.$slots, "default")
1961
+ V(d.$slots, "default")
1959
1962
  ]),
1960
1963
  _: 2
1961
1964
  }, [
1962
- b.$slots.buttons ? {
1965
+ d.$slots.buttons ? {
1963
1966
  name: "buttons",
1964
1967
  fn: Oe(() => [
1965
- z(b.$slots, "buttons")
1968
+ V(d.$slots, "buttons")
1966
1969
  ]),
1967
1970
  key: "0"
1968
1971
  } : void 0
1969
1972
  ]), 1064, ["modelValue", "title", "subtitle", "z-index", "close-text", "close-on-esc", "has-buttons"]));
1970
1973
  }
1971
- }, Wt = {
1974
+ }, Kt = {
1972
1975
  props: {
1973
1976
  to: {
1974
1977
  type: String,
@@ -1976,24 +1979,24 @@ const Dt = { class: "sky-dialog-overlay" }, Ut = { class: "sky-dialog-header" },
1976
1979
  }
1977
1980
  }
1978
1981
  };
1979
- function Kt(a, C, d, u, S, m) {
1980
- return y(), Y(ve, { to: d.to }, [
1981
- z(a.$slots, "default")
1982
+ function Yt(n, T, u, c, E, p) {
1983
+ return m(), Y(me, { to: u.to }, [
1984
+ V(n.$slots, "default")
1982
1985
  ], 8, ["to"]);
1983
1986
  }
1984
- const Yt = /* @__PURE__ */ W(Wt, [["render", Kt]]);
1985
- const Zt = { class: "sky-modal-header" }, Jt = ["title"], Qt = {
1987
+ const Zt = /* @__PURE__ */ W(Kt, [["render", Yt]]);
1988
+ const Jt = { class: "sky-modal-header" }, Qt = ["title"], eo = {
1986
1989
  width: "15",
1987
1990
  height: "15",
1988
1991
  viewBox: "0 0 451.847 451.847",
1989
1992
  style: { transform: "rotate(90deg)" }
1990
- }, eo = { class: "sky-modal-title-wrapper" }, to = { class: "sky-modal-title" }, oo = {
1993
+ }, to = { class: "sky-modal-title-wrapper" }, oo = { class: "sky-modal-title" }, io = {
1991
1994
  key: 0,
1992
1995
  class: "sky-modal-subtitle"
1993
- }, io = { class: "sky-modal-body" }, no = {
1996
+ }, no = { class: "sky-modal-body" }, ao = {
1994
1997
  key: 0,
1995
1998
  class: "sky-modal-footer"
1996
- }, ao = {
1999
+ }, lo = {
1997
2000
  __name: "Modal",
1998
2001
  props: {
1999
2002
  modelValue: {
@@ -2030,80 +2033,80 @@ const Zt = { class: "sky-modal-header" }, Jt = ["title"], Qt = {
2030
2033
  }
2031
2034
  },
2032
2035
  emits: ["update:modelValue", "close"],
2033
- setup(a, { emit: C }) {
2034
- const d = a, u = C, S = I(() => ({
2035
- width: d.width,
2036
- height: d.height
2037
- })), m = () => {
2038
- u("update:modelValue", !1), u("close");
2039
- }, T = () => {
2040
- d.closeOnOverlay && m();
2041
- }, b = (g) => {
2042
- g.key === "Escape" && d.closeOnEsc && d.modelValue && m();
2036
+ setup(n, { emit: T }) {
2037
+ const u = n, c = T, E = N(() => ({
2038
+ width: u.width,
2039
+ height: u.height
2040
+ })), p = () => {
2041
+ c("update:modelValue", !1), c("close");
2042
+ }, B = () => {
2043
+ u.closeOnOverlay && p();
2044
+ }, d = (h) => {
2045
+ h.key === "Escape" && u.closeOnEsc && u.modelValue && p();
2043
2046
  };
2044
2047
  return Ce(
2045
- () => d.modelValue,
2046
- (g) => {
2047
- g ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
2048
+ () => u.modelValue,
2049
+ (h) => {
2050
+ h ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
2048
2051
  }
2049
2052
  ), ae(() => {
2050
- document.addEventListener("keydown", b);
2053
+ document.addEventListener("keydown", d);
2051
2054
  }), ne(() => {
2052
- document.removeEventListener("keydown", b), document.body.style.overflow = "";
2053
- }), (g, O) => (y(), Y(Yt, { to: "body" }, {
2055
+ document.removeEventListener("keydown", d), document.body.style.overflow = "";
2056
+ }), (h, S) => (m(), Y(Zt, { to: "body" }, {
2054
2057
  default: Oe(() => [
2055
- a.modelValue ? (y(), k("div", {
2058
+ n.modelValue ? (m(), k("div", {
2056
2059
  key: 0,
2057
2060
  class: "sky-modal-overlay",
2058
- onClick: st(T, ["self"])
2061
+ onClick: lt(B, ["self"])
2059
2062
  }, [
2060
- c("div", {
2063
+ w("div", {
2061
2064
  class: "sky-modal",
2062
- style: me(S.value)
2065
+ style: pe(E.value)
2063
2066
  }, [
2064
- c("div", Zt, [
2065
- c("button", {
2067
+ w("div", Jt, [
2068
+ w("button", {
2066
2069
  class: "sky-modal-back",
2067
- onClick: m,
2068
- title: a.closeTitle
2070
+ onClick: p,
2071
+ title: n.closeTitle
2069
2072
  }, [
2070
- (y(), k("svg", Qt, [...O[0] || (O[0] = [
2071
- c("path", {
2073
+ (m(), k("svg", eo, [...S[0] || (S[0] = [
2074
+ w("path", {
2072
2075
  fill: "currentColor",
2073
2076
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
2074
2077
  }, null, -1)
2075
2078
  ])]))
2076
- ], 8, Jt),
2077
- c("div", eo, [
2078
- c("h4", to, $(a.title), 1),
2079
- a.subtitle ? (y(), k("div", oo, $(a.subtitle), 1)) : M("", !0)
2079
+ ], 8, Qt),
2080
+ w("div", to, [
2081
+ w("h4", oo, L(n.title), 1),
2082
+ n.subtitle ? (m(), k("div", io, L(n.subtitle), 1)) : A("", !0)
2080
2083
  ])
2081
2084
  ]),
2082
- c("div", io, [
2083
- z(g.$slots, "default", {}, void 0, !0)
2085
+ w("div", no, [
2086
+ V(h.$slots, "default", {}, void 0, !0)
2084
2087
  ]),
2085
- g.$slots.footer ? (y(), k("div", no, [
2086
- O[1] || (O[1] = c("div", null, null, -1)),
2087
- z(g.$slots, "footer", {}, void 0, !0),
2088
- O[2] || (O[2] = c("div", null, null, -1))
2089
- ])) : M("", !0)
2088
+ h.$slots.footer ? (m(), k("div", ao, [
2089
+ S[1] || (S[1] = w("div", null, null, -1)),
2090
+ V(h.$slots, "footer", {}, void 0, !0),
2091
+ S[2] || (S[2] = w("div", null, null, -1))
2092
+ ])) : A("", !0)
2090
2093
  ], 4)
2091
- ])) : M("", !0)
2094
+ ])) : A("", !0)
2092
2095
  ]),
2093
2096
  _: 3
2094
2097
  }));
2095
2098
  }
2096
- }, ho = /* @__PURE__ */ W(ao, [["__scopeId", "data-v-f18e26e2"]]);
2097
- const so = ["disabled"], lo = {
2099
+ }, ko = /* @__PURE__ */ W(lo, [["__scopeId", "data-v-f18e26e2"]]);
2100
+ const so = ["disabled"], ro = {
2098
2101
  key: 0,
2099
2102
  class: "sky-btn-spinner"
2100
- }, ro = {
2103
+ }, uo = {
2101
2104
  __name: "SkyButton",
2102
2105
  props: {
2103
2106
  variant: {
2104
2107
  type: String,
2105
2108
  default: "primary",
2106
- validator: (a) => ["primary", "danger", "secondary", "outline"].includes(a)
2109
+ validator: (n) => ["primary", "danger", "secondary", "outline"].includes(n)
2107
2110
  },
2108
2111
  loading: {
2109
2112
  type: Boolean,
@@ -2122,39 +2125,39 @@ const so = ["disabled"], lo = {
2122
2125
  default: !1
2123
2126
  }
2124
2127
  },
2125
- setup(a) {
2126
- return (C, d) => (y(), k("button", lt({
2128
+ setup(n) {
2129
+ return (T, u) => (m(), k("button", st({
2127
2130
  class: ["sky-btn", [
2128
- `sky-btn-${a.variant}`,
2131
+ `sky-btn-${n.variant}`,
2129
2132
  {
2130
- "sky-btn-block": a.block,
2131
- "sky-btn-loading": a.loading,
2132
- "sky-btn-icon": a.icon
2133
+ "sky-btn-block": n.block,
2134
+ "sky-btn-loading": n.loading,
2135
+ "sky-btn-icon": n.icon
2133
2136
  }
2134
2137
  ]],
2135
- disabled: a.disabled || a.loading
2136
- }, C.$attrs), [
2137
- a.loading ? (y(), k("span", lo)) : M("", !0),
2138
- z(C.$slots, "default", {}, void 0, !0)
2138
+ disabled: n.disabled || n.loading
2139
+ }, T.$attrs), [
2140
+ n.loading ? (m(), k("span", ro)) : A("", !0),
2141
+ V(T.$slots, "default", {}, void 0, !0)
2139
2142
  ], 16, so));
2140
2143
  }
2141
- }, ko = /* @__PURE__ */ W(ro, [["__scopeId", "data-v-80ecfdac"]]);
2142
- const uo = ["disabled"], co = ["onClick", "onMouseenter"], wo = {
2144
+ }, xo = /* @__PURE__ */ W(uo, [["__scopeId", "data-v-80ecfdac"]]);
2145
+ const co = ["disabled"], wo = ["onClick", "onMouseenter"], bo = {
2143
2146
  key: 0,
2144
2147
  class: "sky-select-check",
2145
2148
  viewBox: "0 0 16 16",
2146
2149
  fill: "none",
2147
2150
  "aria-hidden": "true"
2148
- }, bo = {
2151
+ }, fo = {
2149
2152
  key: 1,
2150
2153
  class: "sky-select-dropdown"
2151
- }, fo = ["onClick", "onMouseenter"], vo = {
2154
+ }, vo = ["onClick", "onMouseenter"], mo = {
2152
2155
  key: 0,
2153
2156
  class: "sky-select-check",
2154
2157
  viewBox: "0 0 16 16",
2155
2158
  fill: "none",
2156
2159
  "aria-hidden": "true"
2157
- }, mo = {
2160
+ }, po = {
2158
2161
  __name: "SkySelect",
2159
2162
  props: {
2160
2163
  modelValue: {
@@ -2182,85 +2185,83 @@ const uo = ["disabled"], co = ["onClick", "onMouseenter"], wo = {
2182
2185
  }
2183
2186
  },
2184
2187
  emits: ["update:modelValue"],
2185
- setup(a, { emit: C }) {
2186
- const d = a, u = C, S = P(null), m = P(!1), T = P(-1), b = P({}), g = I(
2187
- () => d.options.map(
2188
- (p) => typeof p == "string" ? { label: p, value: p } : p
2188
+ setup(n, { emit: T }) {
2189
+ const u = n, c = T, E = P(null), p = P(null), B = P(!1), d = P(-1), h = P({}), S = N(
2190
+ () => u.options.map(
2191
+ (l) => typeof l == "string" ? { label: l, value: l } : l
2189
2192
  )
2190
- ), O = I(
2191
- () => g.value.find((p) => p.value === d.modelValue) ?? null
2193
+ ), C = N(
2194
+ () => S.value.find((l) => l.value === u.modelValue) ?? null
2192
2195
  );
2193
- function A() {
2194
- if (!d.teleport || !S.value)
2196
+ function $() {
2197
+ if (!u.teleport || !E.value)
2195
2198
  return;
2196
- const p = S.value.getBoundingClientRect();
2197
- b.value = {
2198
- position: "fixed",
2199
- top: `${p.bottom + 4}px`,
2200
- left: `${p.left}px`,
2201
- width: `${p.width}px`,
2202
- zIndex: "var(--sky-select-dropdown-z-index, 9999)"
2199
+ const l = E.value.getBoundingClientRect();
2200
+ h.value = {
2201
+ top: `${l.bottom + 4}px`,
2202
+ left: `${l.left}px`,
2203
+ width: `${l.width}px`
2203
2204
  };
2204
2205
  }
2205
- function N() {
2206
- d.disabled || (m.value ? n() : t());
2206
+ function o() {
2207
+ u.disabled || (B.value ? e() : a());
2207
2208
  }
2208
- function t() {
2209
- m.value = !0, T.value = g.value.findIndex(
2210
- (p) => p.value === d.modelValue
2211
- ), A(), document.addEventListener("mousedown", o), d.teleport && (window.addEventListener("scroll", i, !0), window.addEventListener("resize", i));
2209
+ function a() {
2210
+ B.value = !0, d.value = S.value.findIndex(
2211
+ (l) => l.value === u.modelValue
2212
+ ), $(), document.addEventListener("mousedown", i), u.teleport && (window.addEventListener("scroll", g, !0), window.addEventListener("resize", g));
2212
2213
  }
2213
- function n() {
2214
- m.value = !1, document.removeEventListener("mousedown", o), window.removeEventListener("scroll", i, !0), window.removeEventListener("resize", i);
2214
+ function e() {
2215
+ B.value = !1, document.removeEventListener("mousedown", i), window.removeEventListener("scroll", g, !0), window.removeEventListener("resize", g);
2215
2216
  }
2216
- function e(p) {
2217
- u("update:modelValue", p.value), n();
2217
+ function t(l) {
2218
+ c("update:modelValue", l.value), e();
2218
2219
  }
2219
- function o(p) {
2220
- var r;
2221
- (r = S.value) != null && r.contains(p.target) || n();
2220
+ function i(l) {
2221
+ var r, s;
2222
+ (r = E.value) != null && r.contains(l.target) || (s = p.value) != null && s.contains(l.target) || e();
2222
2223
  }
2223
- function i() {
2224
- A();
2224
+ function g() {
2225
+ $();
2225
2226
  }
2226
- function E(p) {
2227
- if (!m.value) {
2228
- (p.key === "Enter" || p.key === " ") && (p.preventDefault(), t());
2227
+ function I(l) {
2228
+ if (!B.value) {
2229
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), a());
2229
2230
  return;
2230
2231
  }
2231
- p.key === "Escape" ? n() : p.key === "ArrowDown" ? (p.preventDefault(), T.value = Math.min(
2232
- T.value + 1,
2233
- g.value.length - 1
2234
- )) : p.key === "ArrowUp" ? (p.preventDefault(), T.value = Math.max(T.value - 1, 0)) : p.key === "Enter" && (p.preventDefault(), T.value >= 0 && e(g.value[T.value]));
2232
+ l.key === "Escape" ? e() : l.key === "ArrowDown" ? (l.preventDefault(), d.value = Math.min(
2233
+ d.value + 1,
2234
+ S.value.length - 1
2235
+ )) : l.key === "ArrowUp" ? (l.preventDefault(), d.value = Math.max(d.value - 1, 0)) : l.key === "Enter" && (l.preventDefault(), d.value >= 0 && t(S.value[d.value]));
2235
2236
  }
2236
2237
  return rt(() => {
2237
- document.removeEventListener("mousedown", o), window.removeEventListener("scroll", i, !0), window.removeEventListener("resize", i);
2238
- }), (p, r) => (y(), k("div", {
2238
+ document.removeEventListener("mousedown", i), window.removeEventListener("scroll", g, !0), window.removeEventListener("resize", g);
2239
+ }), (l, r) => (m(), k("div", {
2239
2240
  ref_key: "root",
2240
- ref: S,
2241
+ ref: E,
2241
2242
  class: q(["sky-select", {
2242
- "sky-select-block": a.block,
2243
- "sky-select-open": m.value,
2244
- "sky-select-disabled": a.disabled
2243
+ "sky-select-block": n.block,
2244
+ "sky-select-open": B.value,
2245
+ "sky-select-disabled": n.disabled
2245
2246
  }])
2246
2247
  }, [
2247
- c("button", {
2248
+ w("button", {
2248
2249
  type: "button",
2249
2250
  class: "sky-select-trigger",
2250
- disabled: a.disabled,
2251
- onClick: N,
2252
- onKeydown: E
2251
+ disabled: n.disabled,
2252
+ onClick: o,
2253
+ onKeydown: I
2253
2254
  }, [
2254
- c("span", {
2255
- class: q(["sky-select-value", { "sky-select-placeholder": O.value === null }])
2256
- }, $(O.value ? O.value.label : a.placeholder), 3),
2257
- r[0] || (r[0] = c("svg", {
2255
+ w("span", {
2256
+ class: q(["sky-select-value", { "sky-select-placeholder": C.value === null }])
2257
+ }, L(C.value ? C.value.label : n.placeholder), 3),
2258
+ r[0] || (r[0] = w("svg", {
2258
2259
  class: "sky-select-chevron",
2259
2260
  viewBox: "0 0 16 16",
2260
2261
  fill: "none",
2261
2262
  "aria-hidden": "true"
2262
2263
  }, [
2263
- c("path", {
2264
+ w("path", {
2264
2265
  d: "M4 6l4 4 4-4",
2265
2266
  stroke: "currentColor",
2266
2267
  "stroke-width": "1.5",
@@ -2268,68 +2269,70 @@ const uo = ["disabled"], co = ["onClick", "onMouseenter"], wo = {
2268
2269
  "stroke-linejoin": "round"
2269
2270
  })
2270
2271
  ], -1))
2271
- ], 40, uo),
2272
- m.value ? (y(), k(be, { key: 0 }, [
2273
- a.teleport ? (y(), Y(ve, {
2272
+ ], 40, co),
2273
+ B.value ? (m(), k(fe, { key: 0 }, [
2274
+ n.teleport ? (m(), Y(me, {
2274
2275
  key: 0,
2275
2276
  to: "body"
2276
2277
  }, [
2277
- c("div", {
2278
- class: "sky-select-dropdown sky-select-dropdown-teleported",
2279
- style: me(b.value)
2278
+ w("div", {
2279
+ ref_key: "dropdownEl",
2280
+ ref: p,
2281
+ class: "sky-select-dropdown-teleported",
2282
+ style: pe(h.value)
2280
2283
  }, [
2281
- (y(!0), k(be, null, Te(g.value, (l, s) => (y(), k("div", {
2282
- key: l.value,
2284
+ (m(!0), k(fe, null, Te(S.value, (s, b) => (m(), k("div", {
2285
+ key: s.value,
2283
2286
  class: q(["sky-select-option", {
2284
- "sky-select-option-selected": l.value === a.modelValue,
2285
- "sky-select-option-focused": s === T.value
2287
+ "sky-select-option-selected": s.value === n.modelValue,
2288
+ "sky-select-option-focused": b === d.value
2286
2289
  }]),
2287
- onClick: (f) => e(l),
2288
- onMouseenter: (f) => T.value = s
2290
+ onClick: (M) => t(s),
2291
+ onMouseenter: (M) => d.value = b
2289
2292
  }, [
2290
- c("span", null, $(l.label), 1),
2291
- l.value === a.modelValue ? (y(), k("svg", wo, [...r[1] || (r[1] = [
2292
- c("path", {
2293
+ w("span", null, L(s.label), 1),
2294
+ s.value === n.modelValue ? (m(), k("svg", bo, [...r[1] || (r[1] = [
2295
+ w("path", {
2293
2296
  d: "M3 8l4 4 6-6",
2294
2297
  stroke: "currentColor",
2295
2298
  "stroke-width": "1.5",
2296
2299
  "stroke-linecap": "round",
2297
2300
  "stroke-linejoin": "round"
2298
2301
  }, null, -1)
2299
- ])])) : M("", !0)
2300
- ], 42, co))), 128))
2302
+ ])])) : A("", !0)
2303
+ ], 42, wo))), 128))
2301
2304
  ], 4)
2302
- ])) : (y(), k("div", bo, [
2303
- (y(!0), k(be, null, Te(g.value, (l, s) => (y(), k("div", {
2304
- key: l.value,
2305
+ ])) : (m(), k("div", fo, [
2306
+ (m(!0), k(fe, null, Te(S.value, (s, b) => (m(), k("div", {
2307
+ key: s.value,
2305
2308
  class: q(["sky-select-option", {
2306
- "sky-select-option-selected": l.value === a.modelValue,
2307
- "sky-select-option-focused": s === T.value
2309
+ "sky-select-option-selected": s.value === n.modelValue,
2310
+ "sky-select-option-focused": b === d.value
2308
2311
  }]),
2309
- onClick: (f) => e(l),
2310
- onMouseenter: (f) => T.value = s
2312
+ onClick: (M) => t(s),
2313
+ onMouseenter: (M) => d.value = b
2311
2314
  }, [
2312
- c("span", null, $(l.label), 1),
2313
- l.value === a.modelValue ? (y(), k("svg", vo, [...r[2] || (r[2] = [
2314
- c("path", {
2315
+ w("span", null, L(s.label), 1),
2316
+ s.value === n.modelValue ? (m(), k("svg", mo, [...r[2] || (r[2] = [
2317
+ w("path", {
2315
2318
  d: "M3 8l4 4 6-6",
2316
2319
  stroke: "currentColor",
2317
2320
  "stroke-width": "1.5",
2318
2321
  "stroke-linecap": "round",
2319
2322
  "stroke-linejoin": "round"
2320
2323
  }, null, -1)
2321
- ])])) : M("", !0)
2322
- ], 42, fo))), 128))
2324
+ ])])) : A("", !0)
2325
+ ], 42, vo))), 128))
2323
2326
  ]))
2324
- ], 64)) : M("", !0)
2327
+ ], 64)) : A("", !0)
2325
2328
  ], 2));
2326
2329
  }
2327
- }, xo = /* @__PURE__ */ W(mo, [["__scopeId", "data-v-20c84925"]]);
2330
+ }, _o = /* @__PURE__ */ W(po, [["__scopeId", "data-v-0b8aa543"]]);
2328
2331
  export {
2329
- Yt as BaseTeleport,
2330
- go as Dialog,
2331
- yo as Header,
2332
- ho as Modal,
2333
- ko as SkyButton,
2334
- xo as SkySelect
2332
+ Zt as BaseTeleport,
2333
+ ho as Dialog,
2334
+ go as Header,
2335
+ ko as Modal,
2336
+ xo as SkyButton,
2337
+ _o as SkySelect
2335
2338
  };