@skyservice-developers/vue-dev-kit 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue2/style.css +1 -1
- package/dist/vue2/vue-dev-kit.cjs +1 -1
- package/dist/vue2/vue-dev-kit.js +306 -281
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +373 -372
- package/package.json +1 -1
- package/src/vue2/components/Header.vue +45 -2
- package/src/vue3/components/DialogModal.vue +0 -2
- package/src/vue3/components/DialogNext.vue +0 -2
- package/src/vue3/components/Header.vue +8 -0
package/dist/vue3/vue-dev-kit.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as N, onUnmounted as ie, computed as z, onMounted as oe, openBlock as x, createElementBlock as T, createElementVNode as w, createCommentVNode as C, normalizeClass as $, renderSlot as I, toDisplayString as M, Fragment as at, renderList as nt, useSlots as He, watch as _e, nextTick as Ge, createBlock as ae, Teleport as Se, createVNode as Ee, Transition as Te, withCtx as K, normalizeStyle as Ae, createTextVNode as We, resolveDynamicComponent as st, createSlots as lt, withModifiers 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(
|
|
4
|
-
return
|
|
3
|
+
function ut(n) {
|
|
4
|
+
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
5
5
|
}
|
|
6
6
|
var xe = { exports: {} };
|
|
7
|
-
(function(
|
|
8
|
-
(function(
|
|
9
|
-
var
|
|
7
|
+
(function(n, A) {
|
|
8
|
+
(function(u, l) {
|
|
9
|
+
var _ = "1.0.41", p = "", B = "?", b = "function", h = "undefined", S = "object", O = "string", P = "major", t = "model", a = "name", e = "type", i = "vendor", o = "version", y = "architecture", q = "console", d = "mobile", s = "tablet", m = "smarttv", E = "wearable", R = "embedded", F = 500, X = "Amazon", U = "Apple", Be = "ASUS", Ce = "BlackBerry", se = "Browser", le = "Chrome", Qe = "Edge", re = "Firefox", de = "Google", Pe = "Honor", Me = "Huawei", et = "Lenovo", ue = "LG", me = "Microsoft", fe = "Motorola", pe = "Nvidia", Ne = "OnePlus", Y = "Opera", ve = "OPPO", Z = "Samsung", Ie = "Sharp", J = "Sony", ge = "Xiaomi", he = "Zebra", Ve = "Facebook", ze = "Chromium OS", Re = "Mac OS", Le = " Browser", tt = function(f, v) {
|
|
10
10
|
var c = {};
|
|
11
11
|
for (var k in f)
|
|
12
|
-
|
|
12
|
+
v[k] && v[k].length % 2 === 0 ? c[k] = v[k].concat(f[k]) : c[k] = f[k];
|
|
13
13
|
return c;
|
|
14
14
|
}, ce = function(f) {
|
|
15
|
-
for (var
|
|
16
|
-
|
|
17
|
-
return
|
|
18
|
-
}, De = function(f,
|
|
19
|
-
return typeof f === O ? Q(
|
|
15
|
+
for (var v = {}, c = 0; c < f.length; c++)
|
|
16
|
+
v[f[c].toUpperCase()] = f[c];
|
|
17
|
+
return v;
|
|
18
|
+
}, De = function(f, v) {
|
|
19
|
+
return typeof f === O ? Q(v).indexOf(Q(f)) !== -1 : !1;
|
|
20
20
|
}, Q = function(f) {
|
|
21
21
|
return f.toLowerCase();
|
|
22
22
|
}, it = function(f) {
|
|
23
|
-
return typeof f === O ? f.replace(/[^\d\.]/g,
|
|
24
|
-
}, ye = function(f,
|
|
23
|
+
return typeof f === O ? f.replace(/[^\d\.]/g, p).split(".")[0] : l;
|
|
24
|
+
}, ye = function(f, v) {
|
|
25
25
|
if (typeof f === O)
|
|
26
|
-
return f = f.replace(/^\s\s*/,
|
|
27
|
-
}, ee = function(f,
|
|
28
|
-
for (var c = 0, k,
|
|
29
|
-
var ke =
|
|
30
|
-
for (k =
|
|
26
|
+
return f = f.replace(/^\s\s*/, p), typeof v === h ? f : f.substring(0, F);
|
|
27
|
+
}, ee = function(f, v) {
|
|
28
|
+
for (var c = 0, k, j, L, g, r, D; c < v.length && !r; ) {
|
|
29
|
+
var ke = v[c], Ue = v[c + 1];
|
|
30
|
+
for (k = j = 0; k < ke.length && !r && ke[k]; )
|
|
31
31
|
if (r = ke[k++].exec(f), r)
|
|
32
32
|
for (L = 0; L < Ue.length; L++)
|
|
33
|
-
D = r[++
|
|
33
|
+
D = r[++j], g = Ue[L], typeof g === S && g.length > 0 ? g.length === 2 ? typeof g[1] == b ? this[g[0]] = g[1].call(this, D) : this[g[0]] = g[1] : g.length === 3 ? typeof g[1] === b && !(g[1].exec && g[1].test) ? this[g[0]] = D ? g[1].call(this, D, g[2]) : l : this[g[0]] = D ? D.replace(g[1], g[2]) : l : g.length === 4 && (this[g[0]] = D ? g[3].call(this, D.replace(g[1], g[2])) : l) : this[g] = D || l;
|
|
34
34
|
c += 2;
|
|
35
35
|
}
|
|
36
|
-
}, te = function(f,
|
|
37
|
-
for (var c in
|
|
38
|
-
if (typeof
|
|
39
|
-
for (var k = 0; k <
|
|
40
|
-
if (De(
|
|
36
|
+
}, te = function(f, v) {
|
|
37
|
+
for (var c in v)
|
|
38
|
+
if (typeof v[c] === S && v[c].length > 0) {
|
|
39
|
+
for (var k = 0; k < v[c].length; k++)
|
|
40
|
+
if (De(v[c][k], f))
|
|
41
41
|
return c === B ? l : c;
|
|
42
|
-
} else if (De(
|
|
42
|
+
} else if (De(v[c], f))
|
|
43
43
|
return c === B ? l : c;
|
|
44
|
-
return
|
|
44
|
+
return v.hasOwnProperty("*") ? v["*"] : f;
|
|
45
45
|
}, ot = {
|
|
46
46
|
"1.0": "/8",
|
|
47
47
|
"1.2": "/1",
|
|
@@ -69,12 +69,12 @@ var xe = { exports: {} };
|
|
|
69
69
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
70
70
|
// Chrome for Android/iOS
|
|
71
71
|
],
|
|
72
|
-
[o, [
|
|
72
|
+
[o, [a, "Chrome"]],
|
|
73
73
|
[
|
|
74
74
|
/edg(?:e|ios|a)?\/([\w\.]+)/i
|
|
75
75
|
// Microsoft Edge
|
|
76
76
|
],
|
|
77
|
-
[o, [
|
|
77
|
+
[o, [a, "Edge"]],
|
|
78
78
|
[
|
|
79
79
|
// Presto based
|
|
80
80
|
/(opera mini)\/([-\w\.]+)/i,
|
|
@@ -84,33 +84,33 @@ var xe = { exports: {} };
|
|
|
84
84
|
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
|
|
85
85
|
// Opera
|
|
86
86
|
],
|
|
87
|
-
[
|
|
87
|
+
[a, o],
|
|
88
88
|
[
|
|
89
89
|
/opios[\/ ]+([\w\.]+)/i
|
|
90
90
|
// Opera mini on iphone >= 8.0
|
|
91
91
|
],
|
|
92
|
-
[o, [
|
|
92
|
+
[o, [a, Y + " Mini"]],
|
|
93
93
|
[
|
|
94
94
|
/\bop(?:rg)?x\/([\w\.]+)/i
|
|
95
95
|
// Opera GX
|
|
96
96
|
],
|
|
97
|
-
[o, [
|
|
97
|
+
[o, [a, Y + " GX"]],
|
|
98
98
|
[
|
|
99
99
|
/\bopr\/([\w\.]+)/i
|
|
100
100
|
// Opera Webkit
|
|
101
101
|
],
|
|
102
|
-
[o, [
|
|
102
|
+
[o, [a, Y]],
|
|
103
103
|
[
|
|
104
104
|
// Mixed
|
|
105
105
|
/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
|
|
106
106
|
// Baidu
|
|
107
107
|
],
|
|
108
|
-
[o, [
|
|
108
|
+
[o, [a, "Baidu"]],
|
|
109
109
|
[
|
|
110
110
|
/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i
|
|
111
111
|
// Maxthon
|
|
112
112
|
],
|
|
113
|
-
[o, [
|
|
113
|
+
[o, [a, "Maxthon"]],
|
|
114
114
|
[
|
|
115
115
|
/(kindle)\/([\w\.]+)/i,
|
|
116
116
|
// Kindle
|
|
@@ -129,22 +129,22 @@ var xe = { exports: {} };
|
|
|
129
129
|
/(weibo)__([\d\.]+)/i
|
|
130
130
|
// Weibo
|
|
131
131
|
],
|
|
132
|
-
[
|
|
132
|
+
[a, o],
|
|
133
133
|
[
|
|
134
134
|
/quark(?:pc)?\/([-\w\.]+)/i
|
|
135
135
|
// Quark
|
|
136
136
|
],
|
|
137
|
-
[o, [
|
|
137
|
+
[o, [a, "Quark"]],
|
|
138
138
|
[
|
|
139
139
|
/\bddg\/([\w\.]+)/i
|
|
140
140
|
// DuckDuckGo
|
|
141
141
|
],
|
|
142
|
-
[o, [
|
|
142
|
+
[o, [a, "DuckDuckGo"]],
|
|
143
143
|
[
|
|
144
144
|
/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
|
|
145
145
|
// UCBrowser
|
|
146
146
|
],
|
|
147
|
-
[o, [
|
|
147
|
+
[o, [a, "UC" + se]],
|
|
148
148
|
[
|
|
149
149
|
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
150
150
|
// WeChat Desktop for Windows Built-in Browser
|
|
@@ -152,97 +152,97 @@ var xe = { exports: {} };
|
|
|
152
152
|
/micromessenger\/([\w\.]+)/i
|
|
153
153
|
// WeChat
|
|
154
154
|
],
|
|
155
|
-
[o, [
|
|
155
|
+
[o, [a, "WeChat"]],
|
|
156
156
|
[
|
|
157
157
|
/konqueror\/([\w\.]+)/i
|
|
158
158
|
// Konqueror
|
|
159
159
|
],
|
|
160
|
-
[o, [
|
|
160
|
+
[o, [a, "Konqueror"]],
|
|
161
161
|
[
|
|
162
162
|
/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i
|
|
163
163
|
// IE11
|
|
164
164
|
],
|
|
165
|
-
[o, [
|
|
165
|
+
[o, [a, "IE"]],
|
|
166
166
|
[
|
|
167
167
|
/ya(?:search)?browser\/([\w\.]+)/i
|
|
168
168
|
// Yandex
|
|
169
169
|
],
|
|
170
|
-
[o, [
|
|
170
|
+
[o, [a, "Yandex"]],
|
|
171
171
|
[
|
|
172
172
|
/slbrowser\/([\w\.]+)/i
|
|
173
173
|
// Smart Lenovo Browser
|
|
174
174
|
],
|
|
175
|
-
[o, [
|
|
175
|
+
[o, [a, "Smart Lenovo " + se]],
|
|
176
176
|
[
|
|
177
177
|
/(avast|avg)\/([\w\.]+)/i
|
|
178
178
|
// Avast/AVG Secure Browser
|
|
179
179
|
],
|
|
180
|
-
[[
|
|
180
|
+
[[a, /(.+)/, "$1 Secure " + se], o],
|
|
181
181
|
[
|
|
182
182
|
/\bfocus\/([\w\.]+)/i
|
|
183
183
|
// Firefox Focus
|
|
184
184
|
],
|
|
185
|
-
[o, [
|
|
185
|
+
[o, [a, re + " Focus"]],
|
|
186
186
|
[
|
|
187
187
|
/\bopt\/([\w\.]+)/i
|
|
188
188
|
// Opera Touch
|
|
189
189
|
],
|
|
190
|
-
[o, [
|
|
190
|
+
[o, [a, Y + " Touch"]],
|
|
191
191
|
[
|
|
192
192
|
/coc_coc\w+\/([\w\.]+)/i
|
|
193
193
|
// Coc Coc Browser
|
|
194
194
|
],
|
|
195
|
-
[o, [
|
|
195
|
+
[o, [a, "Coc Coc"]],
|
|
196
196
|
[
|
|
197
197
|
/dolfin\/([\w\.]+)/i
|
|
198
198
|
// Dolphin
|
|
199
199
|
],
|
|
200
|
-
[o, [
|
|
200
|
+
[o, [a, "Dolphin"]],
|
|
201
201
|
[
|
|
202
202
|
/coast\/([\w\.]+)/i
|
|
203
203
|
// Opera Coast
|
|
204
204
|
],
|
|
205
|
-
[o, [
|
|
205
|
+
[o, [a, Y + " Coast"]],
|
|
206
206
|
[
|
|
207
207
|
/miuibrowser\/([\w\.]+)/i
|
|
208
208
|
// MIUI Browser
|
|
209
209
|
],
|
|
210
|
-
[o, [
|
|
210
|
+
[o, [a, "MIUI" + Le]],
|
|
211
211
|
[
|
|
212
212
|
/fxios\/([\w\.-]+)/i
|
|
213
213
|
// Firefox for iOS
|
|
214
214
|
],
|
|
215
|
-
[o, [
|
|
215
|
+
[o, [a, re]],
|
|
216
216
|
[
|
|
217
217
|
/\bqihoobrowser\/?([\w\.]*)/i
|
|
218
218
|
// 360
|
|
219
219
|
],
|
|
220
|
-
[o, [
|
|
220
|
+
[o, [a, "360"]],
|
|
221
221
|
[
|
|
222
222
|
/\b(qq)\/([\w\.]+)/i
|
|
223
223
|
// QQ
|
|
224
224
|
],
|
|
225
|
-
[[
|
|
225
|
+
[[a, /(.+)/, "$1Browser"], o],
|
|
226
226
|
[
|
|
227
227
|
/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
|
|
228
228
|
],
|
|
229
|
-
[[
|
|
229
|
+
[[a, /(.+)/, "$1" + Le], o],
|
|
230
230
|
[
|
|
231
231
|
// Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
|
|
232
232
|
/samsungbrowser\/([\w\.]+)/i
|
|
233
233
|
// Samsung Internet
|
|
234
234
|
],
|
|
235
|
-
[o, [
|
|
235
|
+
[o, [a, Z + " Internet"]],
|
|
236
236
|
[
|
|
237
237
|
/metasr[\/ ]?([\d\.]+)/i
|
|
238
238
|
// Sogou Explorer
|
|
239
239
|
],
|
|
240
|
-
[o, [
|
|
240
|
+
[o, [a, "Sogou Explorer"]],
|
|
241
241
|
[
|
|
242
242
|
/(sogou)mo\w+\/([\d\.]+)/i
|
|
243
243
|
// Sogou Mobile
|
|
244
244
|
],
|
|
245
|
-
[[
|
|
245
|
+
[[a, "Sogou Mobile"], o],
|
|
246
246
|
[
|
|
247
247
|
/(electron)\/([\w\.]+) safari/i,
|
|
248
248
|
// Electron-based App
|
|
@@ -251,27 +251,27 @@ var xe = { exports: {} };
|
|
|
251
251
|
/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
|
|
252
252
|
// QQ/2345
|
|
253
253
|
],
|
|
254
|
-
[
|
|
254
|
+
[a, o],
|
|
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
|
-
[
|
|
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
|
-
[o,
|
|
268
|
+
[o, 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
|
-
[[
|
|
274
|
+
[[a, Ve], o],
|
|
275
275
|
[
|
|
276
276
|
/(Klarna)\/([\w\.]+)/i,
|
|
277
277
|
// Klarna Shopping Browser for iOS & Android
|
|
@@ -292,72 +292,72 @@ var xe = { exports: {} };
|
|
|
292
292
|
/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
|
|
293
293
|
// Chromium/Instagram/Snapchat
|
|
294
294
|
],
|
|
295
|
-
[
|
|
295
|
+
[a, o],
|
|
296
296
|
[
|
|
297
297
|
/\bgsa\/([\w\.]+) .*safari\//i
|
|
298
298
|
// Google Search Appliance on iOS
|
|
299
299
|
],
|
|
300
|
-
[o, [
|
|
300
|
+
[o, [a, "GSA"]],
|
|
301
301
|
[
|
|
302
302
|
/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i
|
|
303
303
|
// TikTok
|
|
304
304
|
],
|
|
305
|
-
[o, [
|
|
305
|
+
[o, [a, "TikTok"]],
|
|
306
306
|
[
|
|
307
307
|
/headlesschrome(?:\/([\w\.]+)| )/i
|
|
308
308
|
// Chrome Headless
|
|
309
309
|
],
|
|
310
|
-
[o, [
|
|
310
|
+
[o, [a, le + " Headless"]],
|
|
311
311
|
[
|
|
312
312
|
/ wv\).+(chrome)\/([\w\.]+)/i
|
|
313
313
|
// Chrome WebView
|
|
314
314
|
],
|
|
315
|
-
[[
|
|
315
|
+
[[a, le + " WebView"], o],
|
|
316
316
|
[
|
|
317
317
|
/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
|
|
318
318
|
// Android Browser
|
|
319
319
|
],
|
|
320
|
-
[o, [
|
|
320
|
+
[o, [a, "Android " + se]],
|
|
321
321
|
[
|
|
322
322
|
/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
|
|
323
323
|
// Chrome/OmniWeb/Arora/Tizen/Nokia
|
|
324
324
|
],
|
|
325
|
-
[
|
|
325
|
+
[a, o],
|
|
326
326
|
[
|
|
327
327
|
/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i
|
|
328
328
|
// Mobile Safari
|
|
329
329
|
],
|
|
330
|
-
[o, [
|
|
330
|
+
[o, [a, "Mobile Safari"]],
|
|
331
331
|
[
|
|
332
332
|
/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i
|
|
333
333
|
// Safari & Safari Mobile
|
|
334
334
|
],
|
|
335
|
-
[o,
|
|
335
|
+
[o, a],
|
|
336
336
|
[
|
|
337
337
|
/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
|
|
338
338
|
// Safari < 3.0
|
|
339
339
|
],
|
|
340
|
-
[
|
|
340
|
+
[a, [o, te, ot]],
|
|
341
341
|
[
|
|
342
342
|
/(webkit|khtml)\/([\w\.]+)/i
|
|
343
343
|
],
|
|
344
|
-
[
|
|
344
|
+
[a, o],
|
|
345
345
|
[
|
|
346
346
|
// Gecko based
|
|
347
347
|
/(navigator|netscape\d?)\/([-\w\.]+)/i
|
|
348
348
|
// Netscape
|
|
349
349
|
],
|
|
350
|
-
[[
|
|
350
|
+
[[a, "Netscape"], o],
|
|
351
351
|
[
|
|
352
352
|
/(wolvic|librewolf)\/([\w\.]+)/i
|
|
353
353
|
// Wolvic/LibreWolf
|
|
354
354
|
],
|
|
355
|
-
[
|
|
355
|
+
[a, o],
|
|
356
356
|
[
|
|
357
357
|
/mobile vr; rv:([\w\.]+)\).+firefox/i
|
|
358
358
|
// Firefox Reality
|
|
359
359
|
],
|
|
360
|
-
[o, [
|
|
360
|
+
[o, [a, re + " Reality"]],
|
|
361
361
|
[
|
|
362
362
|
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
363
363
|
// Flow
|
|
@@ -377,56 +377,56 @@ var xe = { exports: {} };
|
|
|
377
377
|
/\b(links) \(([\w\.]+)/i
|
|
378
378
|
// Links
|
|
379
379
|
],
|
|
380
|
-
[
|
|
380
|
+
[a, [o, /_/g, "."]],
|
|
381
381
|
[
|
|
382
382
|
/(cobalt)\/([\w\.]+)/i
|
|
383
383
|
// Cobalt
|
|
384
384
|
],
|
|
385
|
-
[
|
|
385
|
+
[a, [o, /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
|
-
[[
|
|
392
|
+
[[y, "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
|
-
[[
|
|
399
|
+
[[y, "ia32"]],
|
|
400
400
|
[
|
|
401
401
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
402
402
|
// ARM64
|
|
403
403
|
],
|
|
404
|
-
[[
|
|
404
|
+
[[y, "arm64"]],
|
|
405
405
|
[
|
|
406
406
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
407
407
|
// ARMHF
|
|
408
408
|
],
|
|
409
|
-
[[
|
|
409
|
+
[[y, "armhf"]],
|
|
410
410
|
[
|
|
411
411
|
// PocketPC mistakenly identified as PowerPC
|
|
412
412
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
413
413
|
],
|
|
414
|
-
[[
|
|
414
|
+
[[y, "arm"]],
|
|
415
415
|
[
|
|
416
416
|
/((ppc|powerpc)(64)?)( mac|;|\))/i
|
|
417
417
|
// PowerPC
|
|
418
418
|
],
|
|
419
|
-
[[
|
|
419
|
+
[[y, /ower/, p, Q]],
|
|
420
420
|
[
|
|
421
421
|
/ sun4\w[;\)]/i
|
|
422
422
|
// SPARC
|
|
423
423
|
],
|
|
424
|
-
[[
|
|
424
|
+
[[y, "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
|
-
[[
|
|
429
|
+
[[y, Q]]
|
|
430
430
|
],
|
|
431
431
|
device: [
|
|
432
432
|
[
|
|
@@ -448,18 +448,18 @@ var xe = { exports: {} };
|
|
|
448
448
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
|
|
449
449
|
// iPod/iPhone
|
|
450
450
|
],
|
|
451
|
-
[t, [i,
|
|
451
|
+
[t, [i, U], [e, d]],
|
|
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, [i,
|
|
458
|
+
[t, [i, U], [e, s]],
|
|
459
459
|
[
|
|
460
460
|
/(macintosh);/i
|
|
461
461
|
],
|
|
462
|
-
[t, [i,
|
|
462
|
+
[t, [i, U]],
|
|
463
463
|
[
|
|
464
464
|
// Sharp
|
|
465
465
|
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i
|
|
@@ -469,21 +469,21 @@ var xe = { exports: {} };
|
|
|
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, [i,
|
|
472
|
+
[t, [i, Pe], [e, s]],
|
|
473
473
|
[
|
|
474
474
|
/honor([-\w ]+)[;\)]/i
|
|
475
475
|
],
|
|
476
|
-
[t, [i,
|
|
476
|
+
[t, [i, Pe], [e, d]],
|
|
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, [i,
|
|
481
|
+
[t, [i, Me], [e, s]],
|
|
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, [i,
|
|
486
|
+
[t, [i, Me], [e, d]],
|
|
487
487
|
[
|
|
488
488
|
// Xiaomi
|
|
489
489
|
/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
|
|
@@ -592,7 +592,7 @@ var xe = { exports: {} };
|
|
|
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, [i,
|
|
595
|
+
[t, [i, Ne], [e, d]],
|
|
596
596
|
[
|
|
597
597
|
// Amazon
|
|
598
598
|
/(alexa)webm/i,
|
|
@@ -906,7 +906,7 @@ var xe = { exports: {} };
|
|
|
906
906
|
/(apple) ?tv/i
|
|
907
907
|
// Apple TV
|
|
908
908
|
],
|
|
909
|
-
[i, [t,
|
|
909
|
+
[i, [t, U + " TV"], [e, m]],
|
|
910
910
|
[
|
|
911
911
|
/crkey/i
|
|
912
912
|
// Google Chromecast
|
|
@@ -968,22 +968,22 @@ var xe = { exports: {} };
|
|
|
968
968
|
/(nintendo) ([wids3utch]+)/i
|
|
969
969
|
// Nintendo
|
|
970
970
|
],
|
|
971
|
-
[i, t, [e,
|
|
971
|
+
[i, t, [e, q]],
|
|
972
972
|
[
|
|
973
973
|
/droid.+; (shield)( bui|\))/i
|
|
974
974
|
// Nvidia Portable
|
|
975
975
|
],
|
|
976
|
-
[t, [i, pe], [e,
|
|
976
|
+
[t, [i, pe], [e, q]],
|
|
977
977
|
[
|
|
978
978
|
/(playstation \w+)/i
|
|
979
979
|
// Playstation
|
|
980
980
|
],
|
|
981
|
-
[t, [i, J], [e,
|
|
981
|
+
[t, [i, J], [e, q]],
|
|
982
982
|
[
|
|
983
983
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
984
984
|
// Microsoft Xbox
|
|
985
985
|
],
|
|
986
|
-
[t, [i, me], [e,
|
|
986
|
+
[t, [i, me], [e, q]],
|
|
987
987
|
[
|
|
988
988
|
///////////////////
|
|
989
989
|
// WEARABLES
|
|
@@ -1008,12 +1008,12 @@ var xe = { exports: {} };
|
|
|
1008
1008
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1009
1009
|
// Apple Watch
|
|
1010
1010
|
],
|
|
1011
|
-
[t, [i,
|
|
1011
|
+
[t, [i, U], [e, E]],
|
|
1012
1012
|
[
|
|
1013
1013
|
/(opwwe\d{3})/i
|
|
1014
1014
|
// OnePlus Watch
|
|
1015
1015
|
],
|
|
1016
|
-
[t, [i,
|
|
1016
|
+
[t, [i, Ne], [e, E]],
|
|
1017
1017
|
[
|
|
1018
1018
|
/(moto 360)/i
|
|
1019
1019
|
// Motorola 360
|
|
@@ -1068,7 +1068,7 @@ var xe = { exports: {} };
|
|
|
1068
1068
|
/(homepod).+mac os/i
|
|
1069
1069
|
// Apple HomePod
|
|
1070
1070
|
],
|
|
1071
|
-
[t, [i,
|
|
1071
|
+
[t, [i, U], [e, R]],
|
|
1072
1072
|
[
|
|
1073
1073
|
/windows iot/i
|
|
1074
1074
|
],
|
|
@@ -1107,17 +1107,17 @@ var xe = { exports: {} };
|
|
|
1107
1107
|
/windows.+ edge\/([\w\.]+)/i
|
|
1108
1108
|
// EdgeHTML
|
|
1109
1109
|
],
|
|
1110
|
-
[o, [
|
|
1110
|
+
[o, [a, Qe + "HTML"]],
|
|
1111
1111
|
[
|
|
1112
1112
|
/(arkweb)\/([\w\.]+)/i
|
|
1113
1113
|
// ArkWeb
|
|
1114
1114
|
],
|
|
1115
|
-
[
|
|
1115
|
+
[a, o],
|
|
1116
1116
|
[
|
|
1117
1117
|
/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
|
|
1118
1118
|
// Blink
|
|
1119
1119
|
],
|
|
1120
|
-
[o, [
|
|
1120
|
+
[o, [a, "Blink"]],
|
|
1121
1121
|
[
|
|
1122
1122
|
/(presto)\/([\w\.]+)/i,
|
|
1123
1123
|
// Presto
|
|
@@ -1132,16 +1132,16 @@ var xe = { exports: {} };
|
|
|
1132
1132
|
/\b(libweb)/i
|
|
1133
1133
|
// LibWeb
|
|
1134
1134
|
],
|
|
1135
|
-
[
|
|
1135
|
+
[a, o],
|
|
1136
1136
|
[
|
|
1137
1137
|
/ladybird\//i
|
|
1138
1138
|
],
|
|
1139
|
-
[[
|
|
1139
|
+
[[a, "LibWeb"]],
|
|
1140
1140
|
[
|
|
1141
1141
|
/rv\:([\w\.]{1,9})\b.+(gecko)/i
|
|
1142
1142
|
// Gecko
|
|
1143
1143
|
],
|
|
1144
|
-
[o,
|
|
1144
|
+
[o, a]
|
|
1145
1145
|
],
|
|
1146
1146
|
os: [
|
|
1147
1147
|
[
|
|
@@ -1149,19 +1149,19 @@ var xe = { exports: {} };
|
|
|
1149
1149
|
/microsoft (windows) (vista|xp)/i
|
|
1150
1150
|
// Windows (iTunes)
|
|
1151
1151
|
],
|
|
1152
|
-
[
|
|
1152
|
+
[a, o],
|
|
1153
1153
|
[
|
|
1154
1154
|
/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i
|
|
1155
1155
|
// Windows Phone
|
|
1156
1156
|
],
|
|
1157
|
-
[
|
|
1157
|
+
[a, [o, te, $e]],
|
|
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
|
-
[[o, te, $e], [
|
|
1164
|
+
[[o, te, $e], [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 xe = { exports: {} };
|
|
|
1169
1169
|
/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
|
|
1170
1170
|
/cfnetwork\/.+darwin/i
|
|
1171
1171
|
],
|
|
1172
|
-
[[o, /_/g, "."], [
|
|
1172
|
+
[[o, /_/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
|
-
[[
|
|
1178
|
+
[[a, Re], [o, /_/g, "."]],
|
|
1179
1179
|
[
|
|
1180
1180
|
// Mobile OSes
|
|
1181
1181
|
/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
|
|
1182
1182
|
// Android-x86/HarmonyOS
|
|
1183
1183
|
],
|
|
1184
|
-
[o,
|
|
1184
|
+
[o, a],
|
|
1185
1185
|
[
|
|
1186
1186
|
/(ubuntu) ([\w\.]+) like android/i
|
|
1187
1187
|
// Ubuntu Touch
|
|
1188
1188
|
],
|
|
1189
|
-
[[
|
|
1189
|
+
[[a, /(.+)/, "$1 Touch"], o],
|
|
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
|
-
[
|
|
1194
|
+
[a, o],
|
|
1195
1195
|
[
|
|
1196
1196
|
/\(bb(10);/i
|
|
1197
1197
|
// BlackBerry 10
|
|
1198
1198
|
],
|
|
1199
|
-
[o, [
|
|
1199
|
+
[o, [a, Ce]],
|
|
1200
1200
|
[
|
|
1201
1201
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1202
1202
|
// Symbian
|
|
1203
1203
|
],
|
|
1204
|
-
[o, [
|
|
1204
|
+
[o, [a, "Symbian"]],
|
|
1205
1205
|
[
|
|
1206
1206
|
/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i
|
|
1207
1207
|
// Firefox OS
|
|
1208
1208
|
],
|
|
1209
|
-
[o, [
|
|
1209
|
+
[o, [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
|
-
[o, [
|
|
1215
|
+
[o, [a, "webOS"]],
|
|
1216
1216
|
[
|
|
1217
1217
|
/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i
|
|
1218
1218
|
// watchOS
|
|
1219
1219
|
],
|
|
1220
|
-
[o, [
|
|
1220
|
+
[o, [a, "watchOS"]],
|
|
1221
1221
|
[
|
|
1222
1222
|
// Google Chromecast
|
|
1223
1223
|
/crkey\/([\d\.]+)/i
|
|
1224
1224
|
// Google Chromecast
|
|
1225
1225
|
],
|
|
1226
|
-
[o, [
|
|
1226
|
+
[o, [a, le + "cast"]],
|
|
1227
1227
|
[
|
|
1228
1228
|
/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i
|
|
1229
1229
|
// Chromium OS
|
|
1230
1230
|
],
|
|
1231
|
-
[[
|
|
1231
|
+
[[a, ze], o],
|
|
1232
1232
|
[
|
|
1233
1233
|
// Smart TVs
|
|
1234
1234
|
/panasonic;(viera)/i,
|
|
@@ -1260,12 +1260,12 @@ var xe = { exports: {} };
|
|
|
1260
1260
|
/(haiku) (\w+)/i
|
|
1261
1261
|
// Haiku
|
|
1262
1262
|
],
|
|
1263
|
-
[
|
|
1263
|
+
[a, o],
|
|
1264
1264
|
[
|
|
1265
1265
|
/(sunos) ?([\w\.\d]*)/i
|
|
1266
1266
|
// Solaris
|
|
1267
1267
|
],
|
|
1268
|
-
[[
|
|
1268
|
+
[[a, "Solaris"], o],
|
|
1269
1269
|
[
|
|
1270
1270
|
/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
|
|
1271
1271
|
// Solaris
|
|
@@ -1276,27 +1276,27 @@ var xe = { exports: {} };
|
|
|
1276
1276
|
/(unix) ?([\w\.]*)/i
|
|
1277
1277
|
// UNIX
|
|
1278
1278
|
],
|
|
1279
|
-
[
|
|
1279
|
+
[a, o]
|
|
1280
1280
|
]
|
|
1281
|
-
}, V = function(f,
|
|
1282
|
-
if (typeof f ===
|
|
1283
|
-
return new V(f,
|
|
1284
|
-
var c = typeof
|
|
1281
|
+
}, V = function(f, v) {
|
|
1282
|
+
if (typeof f === S && (v = f, f = l), !(this instanceof V))
|
|
1283
|
+
return new V(f, v).getResult();
|
|
1284
|
+
var c = typeof u !== h && u.navigator ? u.navigator : l, k = f || (c && c.userAgent ? c.userAgent : p), j = c && c.userAgentData ? c.userAgentData : l, L = v ? tt(qe, v) : qe, g = c && c.userAgent == k;
|
|
1285
1285
|
return this.getBrowser = function() {
|
|
1286
1286
|
var r = {};
|
|
1287
|
-
return r[
|
|
1287
|
+
return r[a] = l, r[o] = l, ee.call(r, k, L.browser), r[P] = it(r[o]), g && c && c.brave && typeof c.brave.isBrave == b && (r[a] = "Brave"), r;
|
|
1288
1288
|
}, this.getCPU = function() {
|
|
1289
1289
|
var r = {};
|
|
1290
|
-
return r[
|
|
1290
|
+
return r[y] = l, ee.call(r, k, L.cpu), r;
|
|
1291
1291
|
}, this.getDevice = function() {
|
|
1292
1292
|
var r = {};
|
|
1293
|
-
return r[i] = l, r[t] = l, r[e] = l, ee.call(r, k, L.device),
|
|
1293
|
+
return r[i] = l, r[t] = l, r[e] = l, ee.call(r, k, L.device), g && !r[e] && j && j.mobile && (r[e] = d), g && r[t] == "Macintosh" && c && typeof c.standalone !== h && c.maxTouchPoints && c.maxTouchPoints > 2 && (r[t] = "iPad", r[e] = s), r;
|
|
1294
1294
|
}, this.getEngine = function() {
|
|
1295
1295
|
var r = {};
|
|
1296
|
-
return r[
|
|
1296
|
+
return r[a] = l, r[o] = l, ee.call(r, k, L.engine), r;
|
|
1297
1297
|
}, this.getOS = function() {
|
|
1298
1298
|
var r = {};
|
|
1299
|
-
return r[
|
|
1299
|
+
return r[a] = l, r[o] = l, ee.call(r, k, L.os), g && !r[a] && j && j.platform && j.platform != "Unknown" && (r[a] = j.platform.replace(/chrome os/i, ze).replace(/macos/i, Re)), r;
|
|
1300
1300
|
}, this.getResult = function() {
|
|
1301
1301
|
return {
|
|
1302
1302
|
ua: this.getUA(),
|
|
@@ -1312,17 +1312,17 @@ var xe = { exports: {} };
|
|
|
1312
1312
|
return k = typeof r === O && r.length > F ? ye(r, F) : r, this;
|
|
1313
1313
|
}, this.setUA(k), this;
|
|
1314
1314
|
};
|
|
1315
|
-
V.VERSION =
|
|
1316
|
-
var
|
|
1317
|
-
if (
|
|
1315
|
+
V.VERSION = _, V.BROWSER = ce([a, o, P]), V.CPU = ce([y]), V.DEVICE = ce([t, i, e, q, d, m, s, E, R]), V.ENGINE = V.OS = ce([a, o]), n.exports && (A = n.exports = V), A.UAParser = V;
|
|
1316
|
+
var W = typeof u !== h && (u.jQuery || u.Zepto);
|
|
1317
|
+
if (W && !W.ua) {
|
|
1318
1318
|
var be = new V();
|
|
1319
|
-
|
|
1319
|
+
W.ua = be.getResult(), W.ua.get = function() {
|
|
1320
1320
|
return be.getUA();
|
|
1321
|
-
},
|
|
1321
|
+
}, W.ua.set = function(f) {
|
|
1322
1322
|
be.setUA(f);
|
|
1323
|
-
var
|
|
1324
|
-
for (var c in
|
|
1325
|
-
|
|
1323
|
+
var v = be.getResult();
|
|
1324
|
+
for (var c in v)
|
|
1325
|
+
W.ua[c] = v[c];
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
1328
1328
|
})(typeof window == "object" ? window : dt);
|
|
@@ -1332,8 +1332,8 @@ const bt = /* @__PURE__ */ ut(ct);
|
|
|
1332
1332
|
function Ke() {
|
|
1333
1333
|
if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
|
|
1334
1334
|
try {
|
|
1335
|
-
var
|
|
1336
|
-
if (
|
|
1335
|
+
var n = bt(navigator.userAgent);
|
|
1336
|
+
if (n.browser.name === "WebKit")
|
|
1337
1337
|
return "ios_webview";
|
|
1338
1338
|
} catch (A) {
|
|
1339
1339
|
console.error(A);
|
|
@@ -1361,62 +1361,62 @@ function ft() {
|
|
|
1361
1361
|
function pt() {
|
|
1362
1362
|
return "APP_" + Math.random().toString(36).slice(2, 10);
|
|
1363
1363
|
}
|
|
1364
|
-
function vt(
|
|
1365
|
-
we =
|
|
1364
|
+
function vt(n) {
|
|
1365
|
+
we = n;
|
|
1366
1366
|
}
|
|
1367
1367
|
function Oe() {
|
|
1368
1368
|
return we || (we = pt()), we;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function G(n) {
|
|
1371
1371
|
H() && window.parent.postMessage({
|
|
1372
|
-
...
|
|
1372
|
+
...n,
|
|
1373
1373
|
sender: Oe(),
|
|
1374
|
-
target:
|
|
1374
|
+
target: n.target || "DASHBOARD"
|
|
1375
1375
|
}, "*");
|
|
1376
1376
|
}
|
|
1377
|
-
function Je(
|
|
1378
|
-
return H() ? new Promise((
|
|
1379
|
-
const l = ft(),
|
|
1380
|
-
window.removeEventListener("message",
|
|
1377
|
+
function Je(n, A) {
|
|
1378
|
+
return H() ? new Promise((u) => {
|
|
1379
|
+
const l = ft(), _ = setTimeout(() => {
|
|
1380
|
+
window.removeEventListener("message", p), u(null);
|
|
1381
1381
|
}, wt);
|
|
1382
|
-
function
|
|
1383
|
-
const
|
|
1384
|
-
(
|
|
1382
|
+
function p(B) {
|
|
1383
|
+
const b = B.data;
|
|
1384
|
+
(b == null ? void 0 : b.type) === "DATA_RESPONSE" && (b == null ? void 0 : b.requestId) === l && (!b.target || b.target === Oe()) && (clearTimeout(_), window.removeEventListener("message", p), u(b.data ?? null));
|
|
1385
1385
|
}
|
|
1386
|
-
window.addEventListener("message",
|
|
1386
|
+
window.addEventListener("message", p), G({
|
|
1387
1387
|
type: "DATA_REQUEST",
|
|
1388
1388
|
requestId: l,
|
|
1389
|
-
source:
|
|
1389
|
+
source: n,
|
|
1390
1390
|
key: A
|
|
1391
1391
|
});
|
|
1392
1392
|
}) : Promise.resolve(null);
|
|
1393
1393
|
}
|
|
1394
|
-
function je(
|
|
1395
|
-
return Je("localStorage",
|
|
1394
|
+
function je(n) {
|
|
1395
|
+
return Je("localStorage", n);
|
|
1396
1396
|
}
|
|
1397
|
-
function gt(
|
|
1398
|
-
return Je("window",
|
|
1397
|
+
function gt(n) {
|
|
1398
|
+
return Je("window", n);
|
|
1399
1399
|
}
|
|
1400
|
-
const
|
|
1401
|
-
const
|
|
1402
|
-
for (const [l,
|
|
1403
|
-
|
|
1404
|
-
return
|
|
1405
|
-
}, ht = { class: "sky-header-container" }, yt = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"],
|
|
1400
|
+
const ne = (n, A) => {
|
|
1401
|
+
const u = n.__vccOpts || n;
|
|
1402
|
+
for (const [l, _] of A)
|
|
1403
|
+
u[l] = _;
|
|
1404
|
+
return u;
|
|
1405
|
+
}, ht = { class: "sky-header-container" }, yt = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"], _t = {
|
|
1406
1406
|
width: "15",
|
|
1407
1407
|
height: "15",
|
|
1408
1408
|
viewBox: "0 0 451.847 451.847",
|
|
1409
1409
|
style: { transform: "rotate(90deg)" }
|
|
1410
|
-
},
|
|
1410
|
+
}, St = {
|
|
1411
1411
|
class: "notPadding",
|
|
1412
1412
|
style: { "margin-bottom": "4px" }
|
|
1413
1413
|
}, Et = { class: "topmenu-title" }, Tt = {
|
|
1414
1414
|
key: 0,
|
|
1415
1415
|
class: "title-dropdown"
|
|
1416
|
-
}, At = { class: "title-dropdown-header" }, Ot = ["onClick"], Bt = { class: "pageName" }, Ct = { class: "pageVisit" },
|
|
1416
|
+
}, At = { class: "title-dropdown-header" }, Ot = ["onClick"], Bt = { class: "pageName" }, Ct = { class: "pageVisit" }, Pt = {
|
|
1417
1417
|
key: 0,
|
|
1418
1418
|
class: "topmenu-description"
|
|
1419
|
-
},
|
|
1419
|
+
}, Mt = { class: "topmenubox-button" }, Nt = {
|
|
1420
1420
|
__name: "Header",
|
|
1421
1421
|
props: {
|
|
1422
1422
|
title: {
|
|
@@ -1465,24 +1465,24 @@ const ae = (a, A) => {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
},
|
|
1467
1467
|
emits: ["back", "navigate"],
|
|
1468
|
-
setup(
|
|
1469
|
-
const
|
|
1470
|
-
vt(
|
|
1471
|
-
const l = A,
|
|
1472
|
-
H() &&
|
|
1468
|
+
setup(n, { emit: A }) {
|
|
1469
|
+
const u = n;
|
|
1470
|
+
vt(u.appId || Oe());
|
|
1471
|
+
const l = A, _ = N(null), p = N(!1), B = N([]), b = N({});
|
|
1472
|
+
H() && u.trackPageName && G({
|
|
1473
1473
|
type: "trackVisit",
|
|
1474
|
-
name:
|
|
1475
|
-
path:
|
|
1474
|
+
name: u.trackPageName,
|
|
1475
|
+
path: u.trackPagePath || `/${u.trackPageName}`
|
|
1476
1476
|
});
|
|
1477
|
-
const
|
|
1477
|
+
const h = N(null);
|
|
1478
1478
|
H() && je("rocketMode").then((s) => {
|
|
1479
|
-
|
|
1479
|
+
h.value = s, G({ type: "setRocketMode", value: !0 });
|
|
1480
1480
|
}), ie(() => {
|
|
1481
|
-
|
|
1481
|
+
q();
|
|
1482
1482
|
}), H() && gt("lang").then((s) => {
|
|
1483
|
-
s != null && (
|
|
1483
|
+
s != null && (b.value = s);
|
|
1484
1484
|
});
|
|
1485
|
-
function
|
|
1485
|
+
function S(s) {
|
|
1486
1486
|
try {
|
|
1487
1487
|
if (!s)
|
|
1488
1488
|
return;
|
|
@@ -1491,78 +1491,83 @@ const ae = (a, A) => {
|
|
|
1491
1491
|
} catch {
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
|
-
|
|
1495
|
-
s != null && (localStorage.setItem("componentStats", JSON.stringify(s)),
|
|
1494
|
+
S(localStorage.componentStats), H() && je("componentStats").then((s) => {
|
|
1495
|
+
s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), S(s));
|
|
1496
1496
|
});
|
|
1497
|
-
const O = z(() => [...
|
|
1498
|
-
O.value.length && (
|
|
1497
|
+
const O = z(() => [...u.dropdownItems.length ? u.dropdownItems : B.value].sort((m, E) => E.lastVisit - m.lastVisit)), P = () => {
|
|
1498
|
+
O.value.length && (p.value = !p.value);
|
|
1499
1499
|
}, t = () => {
|
|
1500
|
-
|
|
1501
|
-
},
|
|
1502
|
-
l("navigate", s.path), H() &&
|
|
1500
|
+
p.value = !1;
|
|
1501
|
+
}, a = (s) => {
|
|
1502
|
+
l("navigate", s.path), H() && G({ type: "navigate", path: s.path }), t();
|
|
1503
1503
|
}, e = (s) => {
|
|
1504
1504
|
if (!s)
|
|
1505
1505
|
return "";
|
|
1506
|
-
const m =
|
|
1506
|
+
const m = b.value[s] || s;
|
|
1507
1507
|
return m.charAt(0).toUpperCase() + m.slice(1);
|
|
1508
1508
|
}, i = (s) => {
|
|
1509
|
-
const E = Date.now() - s, R = Math.floor(E / 1e3), F = Math.floor(R / 60), X = Math.floor(F / 60),
|
|
1510
|
-
return
|
|
1509
|
+
const E = Date.now() - s, R = Math.floor(E / 1e3), F = Math.floor(R / 60), X = Math.floor(F / 60), U = Math.floor(X / 24);
|
|
1510
|
+
return U > 0 ? `${U}д тому` : X > 0 ? `${X}год тому` : F > 0 ? `${F}хв тому` : `${R}с тому`;
|
|
1511
1511
|
}, o = (s) => {
|
|
1512
|
-
|
|
1512
|
+
_.value && !_.value.contains(s.target) && t();
|
|
1513
1513
|
};
|
|
1514
1514
|
oe(() => {
|
|
1515
1515
|
document.addEventListener("click", o, !0);
|
|
1516
1516
|
}), ie(() => {
|
|
1517
1517
|
document.removeEventListener("click", o, !0);
|
|
1518
1518
|
});
|
|
1519
|
-
const
|
|
1520
|
-
if (
|
|
1521
|
-
const s =
|
|
1522
|
-
|
|
1519
|
+
const y = z(() => u.backEvent || u.showBackButton && H()), q = () => {
|
|
1520
|
+
if (h.value !== null) {
|
|
1521
|
+
const s = h.value === "true";
|
|
1522
|
+
G({ type: "setRocketMode", value: s });
|
|
1523
1523
|
}
|
|
1524
1524
|
}, d = () => {
|
|
1525
|
-
if (
|
|
1526
|
-
return
|
|
1527
|
-
|
|
1525
|
+
if (u.backEvent)
|
|
1526
|
+
return u.backEvent();
|
|
1527
|
+
const s = O.value.find((m) => m.name !== u.trackPageName);
|
|
1528
|
+
if (s) {
|
|
1529
|
+
q(), G({ type: "navigate", path: s.path });
|
|
1530
|
+
return;
|
|
1531
|
+
}
|
|
1532
|
+
q(), G({ type: "exit" });
|
|
1528
1533
|
};
|
|
1529
1534
|
return (s, m) => (x(), T("header", ht, [
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1535
|
+
w("div", yt, [
|
|
1536
|
+
w("div", kt, [
|
|
1537
|
+
y.value ? (x(), T("button", {
|
|
1533
1538
|
key: 0,
|
|
1534
1539
|
class: "btn-back",
|
|
1535
1540
|
onClick: d,
|
|
1536
|
-
title:
|
|
1541
|
+
title: n.backButtonTitle
|
|
1537
1542
|
}, [
|
|
1538
|
-
(x(), T("svg",
|
|
1539
|
-
|
|
1543
|
+
(x(), T("svg", _t, [...m[0] || (m[0] = [
|
|
1544
|
+
w("path", {
|
|
1540
1545
|
fill: "currentColor",
|
|
1541
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"
|
|
1542
1547
|
}, null, -1)
|
|
1543
1548
|
])]))
|
|
1544
1549
|
], 8, xt)) : C("", !0),
|
|
1545
|
-
|
|
1550
|
+
w("div", {
|
|
1546
1551
|
ref_key: "dropdownRef",
|
|
1547
|
-
ref:
|
|
1552
|
+
ref: _,
|
|
1548
1553
|
class: "titleAndDesc"
|
|
1549
1554
|
}, [
|
|
1550
|
-
|
|
1555
|
+
w("button", {
|
|
1551
1556
|
class: $(["title-dropdown-toggle", { "title-dropdown-toggle-active": O.value.length }]),
|
|
1552
|
-
onClick:
|
|
1557
|
+
onClick: P
|
|
1553
1558
|
}, [
|
|
1554
1559
|
I(s.$slots, "title", {}, () => [
|
|
1555
|
-
|
|
1556
|
-
|
|
1560
|
+
w("h4", St, [
|
|
1561
|
+
w("span", Et, M(n.title), 1),
|
|
1557
1562
|
O.value.length ? (x(), T("svg", {
|
|
1558
1563
|
key: 0,
|
|
1559
|
-
class: $(["arrow", { open:
|
|
1564
|
+
class: $(["arrow", { open: p.value }]),
|
|
1560
1565
|
width: "12",
|
|
1561
1566
|
height: "12",
|
|
1562
1567
|
viewBox: "0 0 451.847 451.847",
|
|
1563
1568
|
style: { "flex-shrink": "0" }
|
|
1564
1569
|
}, [...m[1] || (m[1] = [
|
|
1565
|
-
|
|
1570
|
+
w("path", {
|
|
1566
1571
|
fill: "currentColor",
|
|
1567
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"
|
|
1568
1573
|
}, null, -1)
|
|
@@ -1570,32 +1575,32 @@ const ae = (a, A) => {
|
|
|
1570
1575
|
])
|
|
1571
1576
|
], !0)
|
|
1572
1577
|
], 2),
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
m[2] || (m[2] =
|
|
1576
|
-
(x(!0), T(
|
|
1578
|
+
p.value && O.value.length ? (x(), T("div", Tt, [
|
|
1579
|
+
w("div", At, M(n.dropdownTitle), 1),
|
|
1580
|
+
m[2] || (m[2] = w("div", { class: "title-dropdown-divider" }, null, -1)),
|
|
1581
|
+
(x(!0), T(at, null, nt(O.value, (E, R) => (x(), T("div", {
|
|
1577
1582
|
key: R,
|
|
1578
1583
|
class: "title-dropdown-item",
|
|
1579
|
-
onClick: (F) =>
|
|
1584
|
+
onClick: (F) => a(E)
|
|
1580
1585
|
}, [
|
|
1581
|
-
|
|
1582
|
-
|
|
1586
|
+
w("p", Bt, M(e(E.name)), 1),
|
|
1587
|
+
w("small", Ct, " (" + M(n.visitLabel) + " " + M(i(E.lastVisit)) + ") ", 1)
|
|
1583
1588
|
], 8, Ot))), 128))
|
|
1584
1589
|
])) : C("", !0),
|
|
1585
1590
|
I(s.$slots, "subtitle", {}, () => [
|
|
1586
|
-
|
|
1591
|
+
n.subtitle ? (x(), T("p", Pt, M(n.subtitle), 1)) : C("", !0)
|
|
1587
1592
|
], !0)
|
|
1588
1593
|
], 512)
|
|
1589
1594
|
]),
|
|
1590
|
-
|
|
1591
|
-
m[3] || (m[3] =
|
|
1595
|
+
w("div", Mt, [
|
|
1596
|
+
m[3] || (m[3] = w("div", null, null, -1)),
|
|
1592
1597
|
I(s.$slots, "default", {}, void 0, !0),
|
|
1593
|
-
m[4] || (m[4] =
|
|
1598
|
+
m[4] || (m[4] = w("div", null, null, -1))
|
|
1594
1599
|
])
|
|
1595
1600
|
])
|
|
1596
1601
|
]));
|
|
1597
1602
|
}
|
|
1598
|
-
}, oi = /* @__PURE__ */
|
|
1603
|
+
}, oi = /* @__PURE__ */ ne(Nt, [["__scopeId", "data-v-1a2468a8"]]);
|
|
1599
1604
|
const It = {
|
|
1600
1605
|
key: 0,
|
|
1601
1606
|
class: "sky-dialog-subtitle"
|
|
@@ -1639,41 +1644,41 @@ const It = {
|
|
|
1639
1644
|
}
|
|
1640
1645
|
},
|
|
1641
1646
|
emits: ["update:modelValue", "close", "save"],
|
|
1642
|
-
setup(
|
|
1643
|
-
const
|
|
1647
|
+
setup(n, { emit: A }) {
|
|
1648
|
+
const u = He(), l = n, _ = A, p = N(null), B = N(null), b = N(0), h = z(() => {
|
|
1644
1649
|
try {
|
|
1645
1650
|
return Ye();
|
|
1646
1651
|
} catch {
|
|
1647
1652
|
return !1;
|
|
1648
1653
|
}
|
|
1649
|
-
}),
|
|
1654
|
+
}), S = z(() => {
|
|
1650
1655
|
try {
|
|
1651
1656
|
return Ze();
|
|
1652
1657
|
} catch {
|
|
1653
1658
|
return !1;
|
|
1654
1659
|
}
|
|
1655
|
-
}), O = z(() => l.hasButtons !== null ? l.hasButtons : !!
|
|
1656
|
-
|
|
1660
|
+
}), O = z(() => l.hasButtons !== null ? l.hasButtons : !!u.buttons), P = () => {
|
|
1661
|
+
_("update:modelValue", !1), _("close");
|
|
1657
1662
|
}, t = (o) => {
|
|
1658
|
-
o.key === "Escape" && l.closeOnEsc && l.modelValue &&
|
|
1659
|
-
},
|
|
1660
|
-
o.touches[0].clientX < 35 && (
|
|
1663
|
+
o.key === "Escape" && l.closeOnEsc && l.modelValue && P(), o.key === "Enter" && l.modelValue && _("save");
|
|
1664
|
+
}, a = (o) => {
|
|
1665
|
+
o.touches[0].clientX < 35 && (b.value = o.touches[0].clientX);
|
|
1661
1666
|
}, e = (o) => {
|
|
1662
|
-
|
|
1667
|
+
b.value > 0 && b.value < 35 && o.changedTouches[0].clientX - b.value > 50 && P(), b.value = 0;
|
|
1663
1668
|
}, i = () => {
|
|
1664
|
-
if (!(!
|
|
1669
|
+
if (!(!S.value || !p.value))
|
|
1665
1670
|
try {
|
|
1666
1671
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1667
1672
|
const o = Android.getDisplayCutoutTop();
|
|
1668
1673
|
if (o && window.devicePixelRatio > 1) {
|
|
1669
|
-
const
|
|
1670
|
-
|
|
1674
|
+
const y = o / window.devicePixelRatio;
|
|
1675
|
+
p.value.style.paddingTop = y + "px";
|
|
1671
1676
|
}
|
|
1672
1677
|
}
|
|
1673
1678
|
} catch {
|
|
1674
1679
|
}
|
|
1675
1680
|
};
|
|
1676
|
-
return
|
|
1681
|
+
return _e(
|
|
1677
1682
|
() => l.modelValue,
|
|
1678
1683
|
(o) => {
|
|
1679
1684
|
o ? (document.body.style.overflow = "hidden", Ge(() => {
|
|
@@ -1684,41 +1689,41 @@ const It = {
|
|
|
1684
1689
|
document.addEventListener("keydown", t), window.addEventListener("resize", i);
|
|
1685
1690
|
}), ie(() => {
|
|
1686
1691
|
document.removeEventListener("keydown", t), window.removeEventListener("resize", i), document.body.style.overflow = "";
|
|
1687
|
-
}), (o,
|
|
1692
|
+
}), (o, y) => (x(), ae(Se, { to: "body" }, [
|
|
1688
1693
|
Ee(Te, {
|
|
1689
|
-
name:
|
|
1694
|
+
name: n.enableAnimation ? "dialog-slide" : ""
|
|
1690
1695
|
}, {
|
|
1691
1696
|
default: K(() => [
|
|
1692
|
-
|
|
1697
|
+
n.modelValue ? (x(), T("div", {
|
|
1693
1698
|
key: 0,
|
|
1694
1699
|
class: "sky-dialogbox sky-dialogbox-classic",
|
|
1695
|
-
style: Ae([
|
|
1700
|
+
style: Ae([n.zIndex ? { "z-index": n.zIndex } : null])
|
|
1696
1701
|
}, [
|
|
1697
|
-
|
|
1698
|
-
class: $(["sky-dialog-overlay", { "sky-dialog-animate":
|
|
1702
|
+
w("div", {
|
|
1703
|
+
class: $(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
|
|
1699
1704
|
}, [
|
|
1700
|
-
|
|
1705
|
+
w("div", {
|
|
1701
1706
|
ref_key: "dialogContent",
|
|
1702
|
-
ref:
|
|
1707
|
+
ref: p,
|
|
1703
1708
|
class: "sky-dialog-content"
|
|
1704
1709
|
}, [
|
|
1705
|
-
|
|
1706
|
-
class: $(["sky-dialog-title", { "sky-dialog-title-with-subtitle":
|
|
1710
|
+
w("div", {
|
|
1711
|
+
class: $(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
|
|
1707
1712
|
}, [
|
|
1708
|
-
We(
|
|
1709
|
-
|
|
1713
|
+
We(M(n.title) + " ", 1),
|
|
1714
|
+
n.subtitle ? (x(), T("span", It, M(n.subtitle), 1)) : C("", !0)
|
|
1710
1715
|
], 2),
|
|
1711
|
-
|
|
1716
|
+
w("button", {
|
|
1712
1717
|
class: "sky-dialog-close",
|
|
1713
|
-
title:
|
|
1714
|
-
onClick:
|
|
1715
|
-
}, [...
|
|
1716
|
-
|
|
1718
|
+
title: n.closeText,
|
|
1719
|
+
onClick: P
|
|
1720
|
+
}, [...y[0] || (y[0] = [
|
|
1721
|
+
w("svg", {
|
|
1717
1722
|
viewBox: "0 0 16 16",
|
|
1718
1723
|
width: "16",
|
|
1719
1724
|
height: "16"
|
|
1720
1725
|
}, [
|
|
1721
|
-
|
|
1726
|
+
w("line", {
|
|
1722
1727
|
x1: "1",
|
|
1723
1728
|
y1: "15",
|
|
1724
1729
|
x2: "15",
|
|
@@ -1726,7 +1731,7 @@ const It = {
|
|
|
1726
1731
|
stroke: "currentColor",
|
|
1727
1732
|
"stroke-width": "2"
|
|
1728
1733
|
}),
|
|
1729
|
-
|
|
1734
|
+
w("line", {
|
|
1730
1735
|
x1: "1",
|
|
1731
1736
|
y1: "1",
|
|
1732
1737
|
x2: "15",
|
|
@@ -1736,24 +1741,22 @@ const It = {
|
|
|
1736
1741
|
})
|
|
1737
1742
|
], -1)
|
|
1738
1743
|
])], 8, Vt),
|
|
1739
|
-
|
|
1740
|
-
|
|
1744
|
+
y[1] || (y[1] = w("div", { class: "sky-dialog-clearfix" }, null, -1)),
|
|
1745
|
+
w("div", {
|
|
1741
1746
|
ref_key: "dialogPaper",
|
|
1742
1747
|
ref: B,
|
|
1743
1748
|
class: $(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !O.value }]),
|
|
1744
|
-
onTouchstart:
|
|
1749
|
+
onTouchstart: a,
|
|
1745
1750
|
onTouchend: e
|
|
1746
1751
|
}, [
|
|
1747
|
-
|
|
1752
|
+
h.value ? (x(), T("div", zt)) : C("", !0),
|
|
1748
1753
|
I(o.$slots, "default", {}, void 0, !0)
|
|
1749
1754
|
], 34),
|
|
1750
1755
|
O.value ? (x(), T("div", {
|
|
1751
1756
|
key: 0,
|
|
1752
|
-
class: $(["sky-dialog-footer", { "sky-dialog-footer-animate":
|
|
1757
|
+
class: $(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
|
|
1753
1758
|
}, [
|
|
1754
|
-
|
|
1755
|
-
I(o.$slots, "buttons", {}, void 0, !0),
|
|
1756
|
-
p[2] || (p[2] = u("div", null, null, -1))
|
|
1759
|
+
I(o.$slots, "buttons", {}, void 0, !0)
|
|
1757
1760
|
], 2)) : C("", !0)
|
|
1758
1761
|
], 512)
|
|
1759
1762
|
], 2)
|
|
@@ -1763,7 +1766,7 @@ const It = {
|
|
|
1763
1766
|
}, 8, ["name"])
|
|
1764
1767
|
]));
|
|
1765
1768
|
}
|
|
1766
|
-
}, Fe = /* @__PURE__ */
|
|
1769
|
+
}, Fe = /* @__PURE__ */ ne(Rt, [["__scopeId", "data-v-25f8ff74"]]);
|
|
1767
1770
|
const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
|
|
1768
1771
|
width: "15",
|
|
1769
1772
|
height: "15",
|
|
@@ -1812,41 +1815,41 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
|
|
|
1812
1815
|
}
|
|
1813
1816
|
},
|
|
1814
1817
|
emits: ["update:modelValue", "close", "save"],
|
|
1815
|
-
setup(
|
|
1816
|
-
const
|
|
1818
|
+
setup(n, { emit: A }) {
|
|
1819
|
+
const u = He(), l = n, _ = A, p = N(null), B = N(null), b = N(0), h = z(() => {
|
|
1817
1820
|
try {
|
|
1818
1821
|
return Ye();
|
|
1819
1822
|
} catch {
|
|
1820
1823
|
return !1;
|
|
1821
1824
|
}
|
|
1822
|
-
}),
|
|
1825
|
+
}), S = z(() => {
|
|
1823
1826
|
try {
|
|
1824
1827
|
return Ze();
|
|
1825
1828
|
} catch {
|
|
1826
1829
|
return !1;
|
|
1827
1830
|
}
|
|
1828
|
-
}), O = z(() => l.hasButtons !== null ? l.hasButtons : !!
|
|
1829
|
-
|
|
1831
|
+
}), O = z(() => l.hasButtons !== null ? l.hasButtons : !!u.buttons), P = () => {
|
|
1832
|
+
_("update:modelValue", !1), _("close");
|
|
1830
1833
|
}, t = (o) => {
|
|
1831
|
-
o.key === "Escape" && l.closeOnEsc && l.modelValue &&
|
|
1832
|
-
},
|
|
1833
|
-
o.touches[0].clientX < 35 && (
|
|
1834
|
+
o.key === "Escape" && l.closeOnEsc && l.modelValue && P(), o.key === "Enter" && l.modelValue && _("save");
|
|
1835
|
+
}, a = (o) => {
|
|
1836
|
+
o.touches[0].clientX < 35 && (b.value = o.touches[0].clientX);
|
|
1834
1837
|
}, e = (o) => {
|
|
1835
|
-
|
|
1838
|
+
b.value > 0 && b.value < 35 && o.changedTouches[0].clientX - b.value > 50 && P(), b.value = 0;
|
|
1836
1839
|
}, i = () => {
|
|
1837
|
-
if (!(!
|
|
1840
|
+
if (!(!S.value || !p.value))
|
|
1838
1841
|
try {
|
|
1839
1842
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1840
1843
|
const o = Android.getDisplayCutoutTop();
|
|
1841
1844
|
if (o && window.devicePixelRatio > 1) {
|
|
1842
|
-
const
|
|
1843
|
-
|
|
1845
|
+
const y = o / window.devicePixelRatio;
|
|
1846
|
+
p.value.style.paddingTop = y + "px";
|
|
1844
1847
|
}
|
|
1845
1848
|
}
|
|
1846
1849
|
} catch {
|
|
1847
1850
|
}
|
|
1848
1851
|
};
|
|
1849
|
-
return
|
|
1852
|
+
return _e(
|
|
1850
1853
|
() => l.modelValue,
|
|
1851
1854
|
(o) => {
|
|
1852
1855
|
o ? (document.body.style.overflow = "hidden", Ge(() => {
|
|
@@ -1857,61 +1860,59 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
|
|
|
1857
1860
|
document.addEventListener("keydown", t), window.addEventListener("resize", i);
|
|
1858
1861
|
}), ie(() => {
|
|
1859
1862
|
document.removeEventListener("keydown", t), window.removeEventListener("resize", i), document.body.style.overflow = "";
|
|
1860
|
-
}), (o,
|
|
1863
|
+
}), (o, y) => (x(), ae(Se, { to: "body" }, [
|
|
1861
1864
|
Ee(Te, {
|
|
1862
|
-
name:
|
|
1865
|
+
name: n.enableAnimation ? "dialog-slide" : ""
|
|
1863
1866
|
}, {
|
|
1864
1867
|
default: K(() => [
|
|
1865
|
-
|
|
1868
|
+
n.modelValue ? (x(), T("div", {
|
|
1866
1869
|
key: 0,
|
|
1867
1870
|
class: "sky-dialogbox sky-dialogbox-next",
|
|
1868
|
-
style: Ae([
|
|
1871
|
+
style: Ae([n.zIndex ? { "z-index": n.zIndex } : null])
|
|
1869
1872
|
}, [
|
|
1870
|
-
|
|
1871
|
-
class: $(["sky-dialog-overlay", { "sky-dialog-animate":
|
|
1873
|
+
w("div", {
|
|
1874
|
+
class: $(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
|
|
1872
1875
|
}, [
|
|
1873
|
-
|
|
1876
|
+
w("div", {
|
|
1874
1877
|
ref_key: "dialogContent",
|
|
1875
|
-
ref:
|
|
1878
|
+
ref: p,
|
|
1876
1879
|
class: "sky-dialog-content"
|
|
1877
1880
|
}, [
|
|
1878
|
-
|
|
1879
|
-
|
|
1881
|
+
w("div", Lt, [
|
|
1882
|
+
w("button", {
|
|
1880
1883
|
class: "sky-dialog-back",
|
|
1881
|
-
title:
|
|
1882
|
-
onClick:
|
|
1884
|
+
title: n.closeText,
|
|
1885
|
+
onClick: P
|
|
1883
1886
|
}, [
|
|
1884
|
-
(x(), T("svg", $t, [...
|
|
1885
|
-
|
|
1887
|
+
(x(), T("svg", $t, [...y[0] || (y[0] = [
|
|
1888
|
+
w("path", {
|
|
1886
1889
|
fill: "currentColor",
|
|
1887
1890
|
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"
|
|
1888
1891
|
}, null, -1)
|
|
1889
1892
|
])]))
|
|
1890
1893
|
], 8, Dt),
|
|
1891
|
-
|
|
1892
|
-
class: $(["sky-dialog-title", { "sky-dialog-title-with-subtitle":
|
|
1894
|
+
w("div", {
|
|
1895
|
+
class: $(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
|
|
1893
1896
|
}, [
|
|
1894
|
-
We(
|
|
1895
|
-
|
|
1897
|
+
We(M(n.title) + " ", 1),
|
|
1898
|
+
n.subtitle ? (x(), T("span", qt, M(n.subtitle), 1)) : C("", !0)
|
|
1896
1899
|
], 2)
|
|
1897
1900
|
]),
|
|
1898
|
-
|
|
1901
|
+
w("div", {
|
|
1899
1902
|
ref_key: "dialogPaper",
|
|
1900
1903
|
ref: B,
|
|
1901
1904
|
class: $(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !O.value }]),
|
|
1902
|
-
onTouchstart:
|
|
1905
|
+
onTouchstart: a,
|
|
1903
1906
|
onTouchend: e
|
|
1904
1907
|
}, [
|
|
1905
|
-
|
|
1908
|
+
h.value ? (x(), T("div", Ut)) : C("", !0),
|
|
1906
1909
|
I(o.$slots, "default", {}, void 0, !0)
|
|
1907
1910
|
], 34),
|
|
1908
1911
|
O.value ? (x(), T("div", {
|
|
1909
1912
|
key: 0,
|
|
1910
|
-
class: $(["sky-dialog-footer", { "sky-dialog-footer-animate":
|
|
1913
|
+
class: $(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
|
|
1911
1914
|
}, [
|
|
1912
|
-
|
|
1913
|
-
I(o.$slots, "buttons", {}, void 0, !0),
|
|
1914
|
-
p[2] || (p[2] = u("div", null, null, -1))
|
|
1915
|
+
I(o.$slots, "buttons", {}, void 0, !0)
|
|
1915
1916
|
], 2)) : C("", !0)
|
|
1916
1917
|
], 512)
|
|
1917
1918
|
], 2)
|
|
@@ -1921,7 +1922,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
|
|
|
1921
1922
|
}, 8, ["name"])
|
|
1922
1923
|
]));
|
|
1923
1924
|
}
|
|
1924
|
-
}, Xe = /* @__PURE__ */
|
|
1925
|
+
}, Xe = /* @__PURE__ */ ne(jt, [["__scopeId", "data-v-910c4e3a"]]), ai = {
|
|
1925
1926
|
__name: "Dialog",
|
|
1926
1927
|
props: {
|
|
1927
1928
|
modelValue: {
|
|
@@ -1957,45 +1958,45 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
|
|
|
1957
1958
|
type: String,
|
|
1958
1959
|
default: null,
|
|
1959
1960
|
// 'next' | 'classic' | null (auto-detect)
|
|
1960
|
-
validator: (
|
|
1961
|
+
validator: (n) => [null, "next", "classic"].includes(n)
|
|
1961
1962
|
}
|
|
1962
1963
|
},
|
|
1963
1964
|
emits: ["update:modelValue", "close", "save"],
|
|
1964
|
-
setup(
|
|
1965
|
-
const
|
|
1966
|
-
get: () =>
|
|
1967
|
-
set: (
|
|
1968
|
-
}),
|
|
1965
|
+
setup(n, { emit: A }) {
|
|
1966
|
+
const u = n, l = A, _ = z({
|
|
1967
|
+
get: () => u.modelValue,
|
|
1968
|
+
set: (b) => l("update:modelValue", b)
|
|
1969
|
+
}), p = N(!0);
|
|
1969
1970
|
oe(() => {
|
|
1970
1971
|
try {
|
|
1971
|
-
new URLSearchParams(window.location.search).get("rocketMode") === "false" ?
|
|
1972
|
+
new URLSearchParams(window.location.search).get("rocketMode") === "false" ? p.value = !1 : p.value = !0;
|
|
1972
1973
|
} catch {
|
|
1973
|
-
|
|
1974
|
+
p.value = !0;
|
|
1974
1975
|
}
|
|
1975
1976
|
});
|
|
1976
|
-
const B = z(() =>
|
|
1977
|
-
return (
|
|
1978
|
-
modelValue:
|
|
1979
|
-
"onUpdate:modelValue":
|
|
1980
|
-
title:
|
|
1981
|
-
subtitle:
|
|
1982
|
-
"z-index":
|
|
1983
|
-
"close-text":
|
|
1984
|
-
"enable-animation":
|
|
1985
|
-
"close-on-esc":
|
|
1986
|
-
"has-buttons": !!
|
|
1987
|
-
onClose:
|
|
1988
|
-
onSave:
|
|
1977
|
+
const B = z(() => u.mode === "next" ? Xe : u.mode === "classic" ? Fe : p.value ? Xe : Fe);
|
|
1978
|
+
return (b, h) => (x(), ae(st(B.value), {
|
|
1979
|
+
modelValue: _.value,
|
|
1980
|
+
"onUpdate:modelValue": h[0] || (h[0] = (S) => _.value = S),
|
|
1981
|
+
title: n.title,
|
|
1982
|
+
subtitle: n.subtitle,
|
|
1983
|
+
"z-index": n.zIndex,
|
|
1984
|
+
"close-text": n.closeText,
|
|
1985
|
+
"enable-animation": n.enableAnimation,
|
|
1986
|
+
"close-on-esc": n.closeOnEsc,
|
|
1987
|
+
"has-buttons": !!b.$slots.buttons,
|
|
1988
|
+
onClose: h[1] || (h[1] = (S) => b.$emit("close")),
|
|
1989
|
+
onSave: h[2] || (h[2] = (S) => b.$emit("save"))
|
|
1989
1990
|
}, lt({
|
|
1990
1991
|
default: K(() => [
|
|
1991
|
-
I(
|
|
1992
|
+
I(b.$slots, "default")
|
|
1992
1993
|
]),
|
|
1993
1994
|
_: 2
|
|
1994
1995
|
}, [
|
|
1995
|
-
|
|
1996
|
+
b.$slots.buttons ? {
|
|
1996
1997
|
name: "buttons",
|
|
1997
1998
|
fn: K(() => [
|
|
1998
|
-
I(
|
|
1999
|
+
I(b.$slots, "buttons")
|
|
1999
2000
|
]),
|
|
2000
2001
|
key: "0"
|
|
2001
2002
|
} : void 0
|
|
@@ -2009,12 +2010,12 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
|
|
|
2009
2010
|
}
|
|
2010
2011
|
}
|
|
2011
2012
|
};
|
|
2012
|
-
function Xt(
|
|
2013
|
-
return x(),
|
|
2014
|
-
I(
|
|
2013
|
+
function Xt(n, A, u, l, _, p) {
|
|
2014
|
+
return x(), ae(Se, { to: u.to }, [
|
|
2015
|
+
I(n.$slots, "default")
|
|
2015
2016
|
], 8, ["to"]);
|
|
2016
2017
|
}
|
|
2017
|
-
const Ht = /* @__PURE__ */
|
|
2018
|
+
const Ht = /* @__PURE__ */ ne(Ft, [["render", Xt]]);
|
|
2018
2019
|
const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
|
|
2019
2020
|
width: "15",
|
|
2020
2021
|
height: "15",
|
|
@@ -2063,64 +2064,64 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
|
|
|
2063
2064
|
}
|
|
2064
2065
|
},
|
|
2065
2066
|
emits: ["update:modelValue", "close"],
|
|
2066
|
-
setup(
|
|
2067
|
-
const
|
|
2068
|
-
width:
|
|
2069
|
-
height:
|
|
2070
|
-
})),
|
|
2067
|
+
setup(n, { emit: A }) {
|
|
2068
|
+
const u = n, l = A, _ = z(() => ({
|
|
2069
|
+
width: u.width,
|
|
2070
|
+
height: u.height
|
|
2071
|
+
})), p = () => {
|
|
2071
2072
|
l("update:modelValue", !1), l("close");
|
|
2072
2073
|
}, B = () => {
|
|
2073
|
-
|
|
2074
|
-
},
|
|
2075
|
-
|
|
2074
|
+
u.closeOnOverlay && p();
|
|
2075
|
+
}, b = (h) => {
|
|
2076
|
+
h.key === "Escape" && u.closeOnEsc && u.modelValue && p();
|
|
2076
2077
|
};
|
|
2077
|
-
return
|
|
2078
|
-
() =>
|
|
2079
|
-
(
|
|
2080
|
-
|
|
2078
|
+
return _e(
|
|
2079
|
+
() => u.modelValue,
|
|
2080
|
+
(h) => {
|
|
2081
|
+
h ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
2081
2082
|
}
|
|
2082
2083
|
), oe(() => {
|
|
2083
|
-
document.addEventListener("keydown",
|
|
2084
|
+
document.addEventListener("keydown", b);
|
|
2084
2085
|
}), ie(() => {
|
|
2085
|
-
document.removeEventListener("keydown",
|
|
2086
|
-
}), (
|
|
2086
|
+
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
2087
|
+
}), (h, S) => (x(), ae(Ht, { to: "body" }, {
|
|
2087
2088
|
default: K(() => [
|
|
2088
2089
|
Ee(Te, null, {
|
|
2089
2090
|
default: K(() => [
|
|
2090
|
-
|
|
2091
|
+
n.modelValue ? (x(), T("div", {
|
|
2091
2092
|
key: 0,
|
|
2092
2093
|
class: "sky-modal-overlay",
|
|
2093
2094
|
onClick: rt(B, ["self"])
|
|
2094
2095
|
}, [
|
|
2095
|
-
|
|
2096
|
+
w("div", {
|
|
2096
2097
|
class: "sky-modal",
|
|
2097
|
-
style: Ae(
|
|
2098
|
+
style: Ae(_.value)
|
|
2098
2099
|
}, [
|
|
2099
|
-
|
|
2100
|
-
|
|
2100
|
+
w("div", Gt, [
|
|
2101
|
+
w("button", {
|
|
2101
2102
|
class: "sky-modal-back",
|
|
2102
|
-
onClick:
|
|
2103
|
-
title:
|
|
2103
|
+
onClick: p,
|
|
2104
|
+
title: n.closeTitle
|
|
2104
2105
|
}, [
|
|
2105
|
-
(x(), T("svg", Kt, [...
|
|
2106
|
-
|
|
2106
|
+
(x(), T("svg", Kt, [...S[0] || (S[0] = [
|
|
2107
|
+
w("path", {
|
|
2107
2108
|
fill: "currentColor",
|
|
2108
2109
|
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"
|
|
2109
2110
|
}, null, -1)
|
|
2110
2111
|
])]))
|
|
2111
2112
|
], 8, Wt),
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2113
|
+
w("div", Yt, [
|
|
2114
|
+
w("h4", Zt, M(n.title), 1),
|
|
2115
|
+
n.subtitle ? (x(), T("div", Jt, M(n.subtitle), 1)) : C("", !0)
|
|
2115
2116
|
])
|
|
2116
2117
|
]),
|
|
2117
|
-
|
|
2118
|
-
I(
|
|
2118
|
+
w("div", Qt, [
|
|
2119
|
+
I(h.$slots, "default", {}, void 0, !0)
|
|
2119
2120
|
]),
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
I(
|
|
2123
|
-
|
|
2121
|
+
h.$slots.footer ? (x(), T("div", ei, [
|
|
2122
|
+
S[1] || (S[1] = w("div", null, null, -1)),
|
|
2123
|
+
I(h.$slots, "footer", {}, void 0, !0),
|
|
2124
|
+
S[2] || (S[2] = w("div", null, null, -1))
|
|
2124
2125
|
])) : C("", !0)
|
|
2125
2126
|
], 4)
|
|
2126
2127
|
])) : C("", !0)
|
|
@@ -2131,10 +2132,10 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
|
|
|
2131
2132
|
_: 3
|
|
2132
2133
|
}));
|
|
2133
2134
|
}
|
|
2134
|
-
},
|
|
2135
|
+
}, ni = /* @__PURE__ */ ne(ti, [["__scopeId", "data-v-f35c4457"]]);
|
|
2135
2136
|
export {
|
|
2136
2137
|
Ht as BaseTeleport,
|
|
2137
|
-
|
|
2138
|
+
ai as Dialog,
|
|
2138
2139
|
oi as Header,
|
|
2139
|
-
|
|
2140
|
+
ni as Modal
|
|
2140
2141
|
};
|