@skyservice-developers/vue-dev-kit 1.1.2 → 1.2.1
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 +680 -591
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +645 -575
- package/package.json +2 -1
- package/src/shared/types/index.d.ts +15 -0
- package/src/shared/utils/index.js +1 -1
- package/src/shared/utils/webviewCheck.js +8 -0
- package/src/vue2/components/Dialog.vue +1 -1
- package/src/vue2/components/DialogModal.vue +1 -1
- package/src/vue2/components/DialogNext.vue +36 -25
- package/src/vue2/components/Header.vue +280 -100
- package/src/vue2/components/Modal.vue +13 -5
- package/src/vue3/components/Dialog.vue +1 -1
- package/src/vue3/components/DialogModal.vue +1 -1
- package/src/vue3/components/DialogNext.vue +49 -38
- package/src/vue3/components/Header.vue +290 -94
- package/src/vue3/components/Modal.vue +15 -10
package/dist/vue2/vue-dev-kit.js
CHANGED
|
@@ -1,375 +1,47 @@
|
|
|
1
|
-
var Ie =
|
|
2
|
-
|
|
3
|
-
return n("header", {
|
|
4
|
-
staticClass: "sky-header"
|
|
5
|
-
}, [n("div", {
|
|
6
|
-
staticClass: "header-content"
|
|
7
|
-
}, [n("div", {
|
|
8
|
-
staticClass: "header-top"
|
|
9
|
-
}, [n("div", {
|
|
10
|
-
staticClass: "header-title-wrapper"
|
|
11
|
-
}, [e.shouldShowBackButton ? n("button", {
|
|
12
|
-
staticClass: "btn-back",
|
|
13
|
-
attrs: {
|
|
14
|
-
title: e.backButtonTitle
|
|
15
|
-
},
|
|
16
|
-
on: {
|
|
17
|
-
click: e.handleBack
|
|
18
|
-
}
|
|
19
|
-
}, [n("svg", {
|
|
20
|
-
staticStyle: {
|
|
21
|
-
transform: "rotate(90deg)"
|
|
22
|
-
},
|
|
23
|
-
attrs: {
|
|
24
|
-
width: "15",
|
|
25
|
-
height: "15",
|
|
26
|
-
viewBox: "0 0 451.847 451.847"
|
|
27
|
-
}
|
|
28
|
-
}, [n("path", {
|
|
29
|
-
attrs: {
|
|
30
|
-
fill: "currentColor",
|
|
31
|
-
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"
|
|
32
|
-
}
|
|
33
|
-
})])]) : e._e(), n("div", {
|
|
34
|
-
staticClass: "header-title-content"
|
|
35
|
-
}, [e._t("title", function() {
|
|
36
|
-
return [n("h4", {
|
|
37
|
-
staticClass: "header-title"
|
|
38
|
-
}, [e._v(e._s(e.title))])];
|
|
39
|
-
}), e._t("subtitle", function() {
|
|
40
|
-
return [e.subtitle ? n("div", {
|
|
41
|
-
staticClass: "header-subtitle"
|
|
42
|
-
}, [e._v(e._s(e.subtitle))]) : e._e()];
|
|
43
|
-
})], 2)]), n("div", {
|
|
44
|
-
staticClass: "header-actions"
|
|
45
|
-
}, [n("div"), e._t("default"), n("div")], 2)])])]);
|
|
46
|
-
}, Ve = [];
|
|
47
|
-
function M(e, l, n, p, C, T, R, $) {
|
|
48
|
-
var f = typeof e == "function" ? e.options : e;
|
|
49
|
-
l && (f.render = l, f.staticRenderFns = n, f._compiled = !0), p && (f.functional = !0), T && (f._scopeId = "data-v-" + T);
|
|
50
|
-
var g;
|
|
51
|
-
if (R ? (g = function(t) {
|
|
52
|
-
t = t || // cached call
|
|
53
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
54
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !t && typeof __VUE_SSR_CONTEXT__ < "u" && (t = __VUE_SSR_CONTEXT__), C && C.call(this, t), t && t._registeredComponents && t._registeredComponents.add(R);
|
|
55
|
-
}, f._ssrRegister = g) : C && (g = $ ? function() {
|
|
56
|
-
C.call(
|
|
57
|
-
this,
|
|
58
|
-
(f.functional ? this.parent : this).$root.$options.shadowRoot
|
|
59
|
-
);
|
|
60
|
-
} : C), g)
|
|
61
|
-
if (f.functional) {
|
|
62
|
-
f._injectStyles = g;
|
|
63
|
-
var O = f.render;
|
|
64
|
-
f.render = function(a, i) {
|
|
65
|
-
return g.call(i), O(a, i);
|
|
66
|
-
};
|
|
67
|
-
} else {
|
|
68
|
-
var N = f.beforeCreate;
|
|
69
|
-
f.beforeCreate = N ? [].concat(N, g) : [g];
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
exports: e,
|
|
73
|
-
options: f
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
const Le = {
|
|
77
|
-
name: "Header",
|
|
78
|
-
props: {
|
|
79
|
-
title: {
|
|
80
|
-
type: String,
|
|
81
|
-
default: ""
|
|
82
|
-
},
|
|
83
|
-
subtitle: {
|
|
84
|
-
type: String,
|
|
85
|
-
default: ""
|
|
86
|
-
},
|
|
87
|
-
showBackButton: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
default: !0
|
|
90
|
-
},
|
|
91
|
-
backButtonTitle: {
|
|
92
|
-
type: String,
|
|
93
|
-
default: "Назад"
|
|
94
|
-
},
|
|
95
|
-
backEvent: {
|
|
96
|
-
type: Function,
|
|
97
|
-
default: null
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
computed: {
|
|
101
|
-
// Перевіряємо чи сторінка в iframe
|
|
102
|
-
isInIframe() {
|
|
103
|
-
try {
|
|
104
|
-
return window.self !== window.top;
|
|
105
|
-
} catch {
|
|
106
|
-
return !0;
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
// Показуємо кнопку якщо є backEvent АБО (showBackButton=true І сторінка в iframe)
|
|
110
|
-
shouldShowBackButton() {
|
|
111
|
-
return this.backEvent || this.showBackButton && this.isInIframe;
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
methods: {
|
|
115
|
-
// Обробник кнопки "Назад" - викликає backEvent або відправляє повідомлення батьківському вікну
|
|
116
|
-
handleBack() {
|
|
117
|
-
this.backEvent ? this.backEvent() : window.parent.postMessage({ type: "exit" }, "*");
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}, xe = {};
|
|
121
|
-
var De = /* @__PURE__ */ M(
|
|
122
|
-
Le,
|
|
123
|
-
Ie,
|
|
124
|
-
Ve,
|
|
125
|
-
!1,
|
|
126
|
-
Fe,
|
|
127
|
-
"6cb48692",
|
|
128
|
-
null,
|
|
129
|
-
null
|
|
130
|
-
);
|
|
131
|
-
function Fe(e) {
|
|
132
|
-
for (let l in xe)
|
|
133
|
-
this[l] = xe[l];
|
|
134
|
-
}
|
|
135
|
-
const vt = /* @__PURE__ */ function() {
|
|
136
|
-
return De.exports;
|
|
137
|
-
}();
|
|
138
|
-
var Xe = function() {
|
|
139
|
-
var e = this, l = e.$createElement, n = e._self._c || l;
|
|
140
|
-
return n("portal", {
|
|
141
|
-
attrs: {
|
|
142
|
-
to: e.to
|
|
143
|
-
}
|
|
144
|
-
}, [e._t("default")], 2);
|
|
145
|
-
}, Ue = [];
|
|
146
|
-
const qe = {
|
|
147
|
-
props: {
|
|
148
|
-
to: {
|
|
149
|
-
type: String,
|
|
150
|
-
default: "body"
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}, Se = {};
|
|
154
|
-
var je = /* @__PURE__ */ M(
|
|
155
|
-
qe,
|
|
156
|
-
Xe,
|
|
157
|
-
Ue,
|
|
158
|
-
!1,
|
|
159
|
-
He,
|
|
160
|
-
null,
|
|
161
|
-
null,
|
|
162
|
-
null
|
|
163
|
-
);
|
|
164
|
-
function He(e) {
|
|
165
|
-
for (let l in Se)
|
|
166
|
-
this[l] = Se[l];
|
|
167
|
-
}
|
|
168
|
-
const Ke = /* @__PURE__ */ function() {
|
|
169
|
-
return je.exports;
|
|
170
|
-
}();
|
|
171
|
-
var Ge = function() {
|
|
172
|
-
var e = this, l = e.$createElement, n = e._self._c || l;
|
|
173
|
-
return n("base-teleport", {
|
|
174
|
-
attrs: {
|
|
175
|
-
to: "body"
|
|
176
|
-
}
|
|
177
|
-
}, [n("transition", {
|
|
178
|
-
attrs: {
|
|
179
|
-
name: "modal-fade"
|
|
180
|
-
}
|
|
181
|
-
}, [e.isOpen ? n("div", {
|
|
182
|
-
staticClass: "sky-modal-overlay",
|
|
183
|
-
on: {
|
|
184
|
-
click: function(p) {
|
|
185
|
-
return p.target !== p.currentTarget ? null : e.handleOverlayClick.apply(null, arguments);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}, [n("div", {
|
|
189
|
-
staticClass: "sky-modal",
|
|
190
|
-
style: e.modalStyle
|
|
191
|
-
}, [n("div", {
|
|
192
|
-
staticClass: "sky-modal-header"
|
|
193
|
-
}, [n("button", {
|
|
194
|
-
staticClass: "sky-modal-back",
|
|
195
|
-
attrs: {
|
|
196
|
-
title: e.closeTitle
|
|
197
|
-
},
|
|
198
|
-
on: {
|
|
199
|
-
click: e.close
|
|
200
|
-
}
|
|
201
|
-
}, [n("svg", {
|
|
202
|
-
attrs: {
|
|
203
|
-
width: "15",
|
|
204
|
-
height: "15",
|
|
205
|
-
viewBox: "0 0 24 24",
|
|
206
|
-
fill: "none",
|
|
207
|
-
stroke: "currentColor",
|
|
208
|
-
"stroke-width": "2"
|
|
209
|
-
}
|
|
210
|
-
}, [n("path", {
|
|
211
|
-
attrs: {
|
|
212
|
-
d: "M19 12H5M12 19l-7-7 7-7",
|
|
213
|
-
"stroke-linecap": "round",
|
|
214
|
-
"stroke-linejoin": "round"
|
|
215
|
-
}
|
|
216
|
-
})])]), n("div", {
|
|
217
|
-
staticClass: "sky-modal-title-wrapper"
|
|
218
|
-
}, [n("h4", {
|
|
219
|
-
staticClass: "sky-modal-title"
|
|
220
|
-
}, [e._v(e._s(e.title))]), e.subtitle ? n("div", {
|
|
221
|
-
staticClass: "sky-modal-subtitle"
|
|
222
|
-
}, [e._v(e._s(e.subtitle))]) : e._e()])]), n("div", {
|
|
223
|
-
staticClass: "sky-modal-body"
|
|
224
|
-
}, [e._t("default")], 2), e.$slots.footer ? n("div", {
|
|
225
|
-
staticClass: "sky-modal-footer"
|
|
226
|
-
}, [e._t("footer")], 2) : e._e()])]) : e._e()])], 1);
|
|
227
|
-
}, We = [];
|
|
228
|
-
const Ye = {
|
|
229
|
-
components: {
|
|
230
|
-
BaseTeleport: Ke
|
|
231
|
-
},
|
|
232
|
-
name: "Modal",
|
|
233
|
-
props: {
|
|
234
|
-
modelValue: {
|
|
235
|
-
type: Boolean,
|
|
236
|
-
default: !1
|
|
237
|
-
},
|
|
238
|
-
title: {
|
|
239
|
-
type: String,
|
|
240
|
-
default: ""
|
|
241
|
-
},
|
|
242
|
-
subtitle: {
|
|
243
|
-
type: String,
|
|
244
|
-
default: ""
|
|
245
|
-
},
|
|
246
|
-
closeTitle: {
|
|
247
|
-
type: String,
|
|
248
|
-
default: "Закрити"
|
|
249
|
-
},
|
|
250
|
-
closeOnOverlay: {
|
|
251
|
-
type: Boolean,
|
|
252
|
-
default: !0
|
|
253
|
-
},
|
|
254
|
-
closeOnEsc: {
|
|
255
|
-
type: Boolean,
|
|
256
|
-
default: !0
|
|
257
|
-
},
|
|
258
|
-
width: {
|
|
259
|
-
type: String,
|
|
260
|
-
default: "100%"
|
|
261
|
-
},
|
|
262
|
-
height: {
|
|
263
|
-
type: String,
|
|
264
|
-
default: "100%"
|
|
265
|
-
},
|
|
266
|
-
value: {
|
|
267
|
-
type: Boolean,
|
|
268
|
-
default: !1
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
computed: {
|
|
272
|
-
modalStyle() {
|
|
273
|
-
return {
|
|
274
|
-
width: this.width,
|
|
275
|
-
height: this.height
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
watch: {
|
|
280
|
-
modelValue(e) {
|
|
281
|
-
e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
mounted() {
|
|
285
|
-
document.addEventListener("keydown", this.handleKeydown);
|
|
286
|
-
},
|
|
287
|
-
computed: {
|
|
288
|
-
isOpen: {
|
|
289
|
-
get() {
|
|
290
|
-
return this.value;
|
|
291
|
-
},
|
|
292
|
-
set(e) {
|
|
293
|
-
this.$emit("input", e);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
beforeDestroy() {
|
|
298
|
-
document.removeEventListener("keydown", this.handleKeydown), document.body.style.overflow = "";
|
|
299
|
-
},
|
|
300
|
-
methods: {
|
|
301
|
-
close() {
|
|
302
|
-
this.$emit("update:modelValue", !1), this.isOpen = !1, this.$emit("close");
|
|
303
|
-
},
|
|
304
|
-
handleOverlayClick() {
|
|
305
|
-
this.closeOnOverlay && this.close();
|
|
306
|
-
},
|
|
307
|
-
handleKeydown(e) {
|
|
308
|
-
e.key === "Escape" && this.closeOnEsc && this.modelValue && this.close();
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}, Ee = {};
|
|
312
|
-
var Ze = /* @__PURE__ */ M(
|
|
313
|
-
Ye,
|
|
314
|
-
Ge,
|
|
315
|
-
We,
|
|
316
|
-
!1,
|
|
317
|
-
Qe,
|
|
318
|
-
"1ed4a1aa",
|
|
319
|
-
null,
|
|
320
|
-
null
|
|
321
|
-
);
|
|
322
|
-
function Qe(e) {
|
|
323
|
-
for (let l in Ee)
|
|
324
|
-
this[l] = Ee[l];
|
|
325
|
-
}
|
|
326
|
-
const _t = /* @__PURE__ */ function() {
|
|
327
|
-
return Ze.exports;
|
|
328
|
-
}();
|
|
329
|
-
var Je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
330
|
-
function et(e) {
|
|
1
|
+
var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function Le(e) {
|
|
331
3
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
332
4
|
}
|
|
333
5
|
var le = { exports: {} };
|
|
334
|
-
(function(e,
|
|
335
|
-
(function(
|
|
336
|
-
var
|
|
6
|
+
(function(e, r) {
|
|
7
|
+
(function(a, b) {
|
|
8
|
+
var g = "1.0.41", y = "", O = "?", R = "function", m = "undefined", k = "object", A = "string", z = "major", t = "model", s = "name", i = "type", o = "vendor", n = "version", C = "architecture", N = "console", d = "mobile", c = "tablet", v = "smarttv", _ = "wearable", D = "embedded", Z = 500, X = "Amazon", B = "Apple", de = "ASUS", ce = "BlackBerry", q = "Browser", j = "Chrome", $e = "Edge", H = "Firefox", K = "Google", ue = "Honor", be = "Huawei", Re = "Lenovo", G = "LG", Q = "Microsoft", J = "Motorola", ee = "Nvidia", we = "OnePlus", I = "Opera", te = "OPPO", L = "Samsung", he = "Sharp", P = "Sony", ie = "Xiaomi", oe = "Zebra", pe = "Facebook", fe = "Chromium OS", me = "Mac OS", ve = " Browser", ze = function(w, h) {
|
|
337
9
|
var u = {};
|
|
338
|
-
for (var
|
|
339
|
-
|
|
10
|
+
for (var f in w)
|
|
11
|
+
h[f] && h[f].length % 2 === 0 ? u[f] = h[f].concat(w[f]) : u[f] = w[f];
|
|
340
12
|
return u;
|
|
341
|
-
}, W = function(
|
|
342
|
-
for (var
|
|
343
|
-
w[
|
|
344
|
-
return
|
|
345
|
-
},
|
|
346
|
-
return typeof
|
|
347
|
-
},
|
|
348
|
-
return
|
|
349
|
-
},
|
|
350
|
-
return typeof
|
|
351
|
-
},
|
|
352
|
-
if (typeof
|
|
353
|
-
return
|
|
354
|
-
}, F = function(
|
|
355
|
-
for (var u = 0,
|
|
356
|
-
var
|
|
357
|
-
for (
|
|
358
|
-
if (
|
|
359
|
-
for (
|
|
360
|
-
|
|
13
|
+
}, W = function(w) {
|
|
14
|
+
for (var h = {}, u = 0; u < w.length; u++)
|
|
15
|
+
h[w[u].toUpperCase()] = w[u];
|
|
16
|
+
return h;
|
|
17
|
+
}, ge = function(w, h) {
|
|
18
|
+
return typeof w === A ? V(h).indexOf(V(w)) !== -1 : !1;
|
|
19
|
+
}, V = function(w) {
|
|
20
|
+
return w.toLowerCase();
|
|
21
|
+
}, Ne = function(w) {
|
|
22
|
+
return typeof w === A ? w.replace(/[^\d\.]/g, y).split(".")[0] : b;
|
|
23
|
+
}, se = function(w, h) {
|
|
24
|
+
if (typeof w === A)
|
|
25
|
+
return w = w.replace(/^\s\s*/, y), typeof h === m ? w : w.substring(0, Z);
|
|
26
|
+
}, F = function(w, h) {
|
|
27
|
+
for (var u = 0, f, T, S, p, l, E; u < h.length && !l; ) {
|
|
28
|
+
var ae = h[u], ke = h[u + 1];
|
|
29
|
+
for (f = T = 0; f < ae.length && !l && ae[f]; )
|
|
30
|
+
if (l = ae[f++].exec(w), l)
|
|
31
|
+
for (S = 0; S < ke.length; S++)
|
|
32
|
+
E = l[++T], p = ke[S], typeof p === k && p.length > 0 ? p.length === 2 ? typeof p[1] == R ? this[p[0]] = p[1].call(this, E) : this[p[0]] = p[1] : p.length === 3 ? typeof p[1] === R && !(p[1].exec && p[1].test) ? this[p[0]] = E ? p[1].call(this, E, p[2]) : b : this[p[0]] = E ? E.replace(p[1], p[2]) : b : p.length === 4 && (this[p[0]] = E ? p[3].call(this, E.replace(p[1], p[2])) : b) : this[p] = E || b;
|
|
361
33
|
u += 2;
|
|
362
34
|
}
|
|
363
|
-
},
|
|
364
|
-
for (var u in
|
|
365
|
-
if (typeof
|
|
366
|
-
for (var
|
|
367
|
-
if (
|
|
368
|
-
return u ===
|
|
369
|
-
} else if (
|
|
370
|
-
return u ===
|
|
371
|
-
return
|
|
372
|
-
},
|
|
35
|
+
}, U = function(w, h) {
|
|
36
|
+
for (var u in h)
|
|
37
|
+
if (typeof h[u] === k && h[u].length > 0) {
|
|
38
|
+
for (var f = 0; f < h[u].length; f++)
|
|
39
|
+
if (ge(h[u][f], w))
|
|
40
|
+
return u === O ? b : u;
|
|
41
|
+
} else if (ge(h[u], w))
|
|
42
|
+
return u === O ? b : u;
|
|
43
|
+
return h.hasOwnProperty("*") ? h["*"] : w;
|
|
44
|
+
}, De = {
|
|
373
45
|
"1.0": "/8",
|
|
374
46
|
"1.2": "/1",
|
|
375
47
|
"1.3": "/3",
|
|
@@ -378,7 +50,7 @@ var le = { exports: {} };
|
|
|
378
50
|
"2.0.3": "/417",
|
|
379
51
|
"2.0.4": "/419",
|
|
380
52
|
"?": "/"
|
|
381
|
-
},
|
|
53
|
+
}, _e = {
|
|
382
54
|
ME: "4.90",
|
|
383
55
|
"NT 3.11": "NT3.51",
|
|
384
56
|
"NT 4.0": "NT4.0",
|
|
@@ -396,12 +68,12 @@ var le = { exports: {} };
|
|
|
396
68
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
397
69
|
// Chrome for Android/iOS
|
|
398
70
|
],
|
|
399
|
-
[
|
|
71
|
+
[n, [s, "Chrome"]],
|
|
400
72
|
[
|
|
401
73
|
/edg(?:e|ios|a)?\/([\w\.]+)/i
|
|
402
74
|
// Microsoft Edge
|
|
403
75
|
],
|
|
404
|
-
[
|
|
76
|
+
[n, [s, "Edge"]],
|
|
405
77
|
[
|
|
406
78
|
// Presto based
|
|
407
79
|
/(opera mini)\/([-\w\.]+)/i,
|
|
@@ -411,33 +83,33 @@ var le = { exports: {} };
|
|
|
411
83
|
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
|
|
412
84
|
// Opera
|
|
413
85
|
],
|
|
414
|
-
[
|
|
86
|
+
[s, n],
|
|
415
87
|
[
|
|
416
88
|
/opios[\/ ]+([\w\.]+)/i
|
|
417
89
|
// Opera mini on iphone >= 8.0
|
|
418
90
|
],
|
|
419
|
-
[
|
|
91
|
+
[n, [s, I + " Mini"]],
|
|
420
92
|
[
|
|
421
93
|
/\bop(?:rg)?x\/([\w\.]+)/i
|
|
422
94
|
// Opera GX
|
|
423
95
|
],
|
|
424
|
-
[
|
|
96
|
+
[n, [s, I + " GX"]],
|
|
425
97
|
[
|
|
426
98
|
/\bopr\/([\w\.]+)/i
|
|
427
99
|
// Opera Webkit
|
|
428
100
|
],
|
|
429
|
-
[
|
|
101
|
+
[n, [s, I]],
|
|
430
102
|
[
|
|
431
103
|
// Mixed
|
|
432
104
|
/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
|
|
433
105
|
// Baidu
|
|
434
106
|
],
|
|
435
|
-
[
|
|
107
|
+
[n, [s, "Baidu"]],
|
|
436
108
|
[
|
|
437
109
|
/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i
|
|
438
110
|
// Maxthon
|
|
439
111
|
],
|
|
440
|
-
[
|
|
112
|
+
[n, [s, "Maxthon"]],
|
|
441
113
|
[
|
|
442
114
|
/(kindle)\/([\w\.]+)/i,
|
|
443
115
|
// Kindle
|
|
@@ -456,22 +128,22 @@ var le = { exports: {} };
|
|
|
456
128
|
/(weibo)__([\d\.]+)/i
|
|
457
129
|
// Weibo
|
|
458
130
|
],
|
|
459
|
-
[
|
|
131
|
+
[s, n],
|
|
460
132
|
[
|
|
461
133
|
/quark(?:pc)?\/([-\w\.]+)/i
|
|
462
134
|
// Quark
|
|
463
135
|
],
|
|
464
|
-
[
|
|
136
|
+
[n, [s, "Quark"]],
|
|
465
137
|
[
|
|
466
138
|
/\bddg\/([\w\.]+)/i
|
|
467
139
|
// DuckDuckGo
|
|
468
140
|
],
|
|
469
|
-
[
|
|
141
|
+
[n, [s, "DuckDuckGo"]],
|
|
470
142
|
[
|
|
471
143
|
/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
|
|
472
144
|
// UCBrowser
|
|
473
145
|
],
|
|
474
|
-
[
|
|
146
|
+
[n, [s, "UC" + q]],
|
|
475
147
|
[
|
|
476
148
|
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
477
149
|
// WeChat Desktop for Windows Built-in Browser
|
|
@@ -479,97 +151,97 @@ var le = { exports: {} };
|
|
|
479
151
|
/micromessenger\/([\w\.]+)/i
|
|
480
152
|
// WeChat
|
|
481
153
|
],
|
|
482
|
-
[
|
|
154
|
+
[n, [s, "WeChat"]],
|
|
483
155
|
[
|
|
484
156
|
/konqueror\/([\w\.]+)/i
|
|
485
157
|
// Konqueror
|
|
486
158
|
],
|
|
487
|
-
[
|
|
159
|
+
[n, [s, "Konqueror"]],
|
|
488
160
|
[
|
|
489
161
|
/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i
|
|
490
162
|
// IE11
|
|
491
163
|
],
|
|
492
|
-
[
|
|
164
|
+
[n, [s, "IE"]],
|
|
493
165
|
[
|
|
494
166
|
/ya(?:search)?browser\/([\w\.]+)/i
|
|
495
167
|
// Yandex
|
|
496
168
|
],
|
|
497
|
-
[
|
|
169
|
+
[n, [s, "Yandex"]],
|
|
498
170
|
[
|
|
499
171
|
/slbrowser\/([\w\.]+)/i
|
|
500
172
|
// Smart Lenovo Browser
|
|
501
173
|
],
|
|
502
|
-
[
|
|
174
|
+
[n, [s, "Smart Lenovo " + q]],
|
|
503
175
|
[
|
|
504
176
|
/(avast|avg)\/([\w\.]+)/i
|
|
505
177
|
// Avast/AVG Secure Browser
|
|
506
178
|
],
|
|
507
|
-
[[
|
|
179
|
+
[[s, /(.+)/, "$1 Secure " + q], n],
|
|
508
180
|
[
|
|
509
181
|
/\bfocus\/([\w\.]+)/i
|
|
510
182
|
// Firefox Focus
|
|
511
183
|
],
|
|
512
|
-
[
|
|
184
|
+
[n, [s, H + " Focus"]],
|
|
513
185
|
[
|
|
514
186
|
/\bopt\/([\w\.]+)/i
|
|
515
187
|
// Opera Touch
|
|
516
188
|
],
|
|
517
|
-
[
|
|
189
|
+
[n, [s, I + " Touch"]],
|
|
518
190
|
[
|
|
519
191
|
/coc_coc\w+\/([\w\.]+)/i
|
|
520
192
|
// Coc Coc Browser
|
|
521
193
|
],
|
|
522
|
-
[
|
|
194
|
+
[n, [s, "Coc Coc"]],
|
|
523
195
|
[
|
|
524
196
|
/dolfin\/([\w\.]+)/i
|
|
525
197
|
// Dolphin
|
|
526
198
|
],
|
|
527
|
-
[
|
|
199
|
+
[n, [s, "Dolphin"]],
|
|
528
200
|
[
|
|
529
201
|
/coast\/([\w\.]+)/i
|
|
530
202
|
// Opera Coast
|
|
531
203
|
],
|
|
532
|
-
[
|
|
204
|
+
[n, [s, I + " Coast"]],
|
|
533
205
|
[
|
|
534
206
|
/miuibrowser\/([\w\.]+)/i
|
|
535
207
|
// MIUI Browser
|
|
536
208
|
],
|
|
537
|
-
[
|
|
209
|
+
[n, [s, "MIUI" + ve]],
|
|
538
210
|
[
|
|
539
211
|
/fxios\/([\w\.-]+)/i
|
|
540
212
|
// Firefox for iOS
|
|
541
213
|
],
|
|
542
|
-
[
|
|
214
|
+
[n, [s, H]],
|
|
543
215
|
[
|
|
544
216
|
/\bqihoobrowser\/?([\w\.]*)/i
|
|
545
217
|
// 360
|
|
546
218
|
],
|
|
547
|
-
[
|
|
219
|
+
[n, [s, "360"]],
|
|
548
220
|
[
|
|
549
221
|
/\b(qq)\/([\w\.]+)/i
|
|
550
222
|
// QQ
|
|
551
223
|
],
|
|
552
|
-
[[
|
|
224
|
+
[[s, /(.+)/, "$1Browser"], n],
|
|
553
225
|
[
|
|
554
226
|
/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
|
|
555
227
|
],
|
|
556
|
-
[[
|
|
228
|
+
[[s, /(.+)/, "$1" + ve], n],
|
|
557
229
|
[
|
|
558
230
|
// Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
|
|
559
231
|
/samsungbrowser\/([\w\.]+)/i
|
|
560
232
|
// Samsung Internet
|
|
561
233
|
],
|
|
562
|
-
[
|
|
234
|
+
[n, [s, L + " Internet"]],
|
|
563
235
|
[
|
|
564
236
|
/metasr[\/ ]?([\d\.]+)/i
|
|
565
237
|
// Sogou Explorer
|
|
566
238
|
],
|
|
567
|
-
[
|
|
239
|
+
[n, [s, "Sogou Explorer"]],
|
|
568
240
|
[
|
|
569
241
|
/(sogou)mo\w+\/([\d\.]+)/i
|
|
570
242
|
// Sogou Mobile
|
|
571
243
|
],
|
|
572
|
-
[[
|
|
244
|
+
[[s, "Sogou Mobile"], n],
|
|
573
245
|
[
|
|
574
246
|
/(electron)\/([\w\.]+) safari/i,
|
|
575
247
|
// Electron-based App
|
|
@@ -578,27 +250,27 @@ var le = { exports: {} };
|
|
|
578
250
|
/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
|
|
579
251
|
// QQ/2345
|
|
580
252
|
],
|
|
581
|
-
[
|
|
253
|
+
[s, n],
|
|
582
254
|
[
|
|
583
255
|
/(lbbrowser|rekonq)/i,
|
|
584
256
|
// LieBao Browser/Rekonq
|
|
585
257
|
/\[(linkedin)app\]/i
|
|
586
258
|
// LinkedIn App for iOS & Android
|
|
587
259
|
],
|
|
588
|
-
[
|
|
260
|
+
[s],
|
|
589
261
|
[
|
|
590
262
|
/ome\/([\w\.]+) \w* ?(iron) saf/i,
|
|
591
263
|
// Iron
|
|
592
264
|
/ome\/([\w\.]+).+qihu (360)[es]e/i
|
|
593
265
|
// 360
|
|
594
266
|
],
|
|
595
|
-
[
|
|
267
|
+
[n, s],
|
|
596
268
|
[
|
|
597
269
|
// WebView
|
|
598
270
|
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
|
|
599
271
|
// Facebook App for iOS & Android
|
|
600
272
|
],
|
|
601
|
-
[[
|
|
273
|
+
[[s, pe], n],
|
|
602
274
|
[
|
|
603
275
|
/(Klarna)\/([\w\.]+)/i,
|
|
604
276
|
// Klarna Shopping Browser for iOS & Android
|
|
@@ -619,72 +291,72 @@ var le = { exports: {} };
|
|
|
619
291
|
/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
|
|
620
292
|
// Chromium/Instagram/Snapchat
|
|
621
293
|
],
|
|
622
|
-
[
|
|
294
|
+
[s, n],
|
|
623
295
|
[
|
|
624
296
|
/\bgsa\/([\w\.]+) .*safari\//i
|
|
625
297
|
// Google Search Appliance on iOS
|
|
626
298
|
],
|
|
627
|
-
[
|
|
299
|
+
[n, [s, "GSA"]],
|
|
628
300
|
[
|
|
629
301
|
/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i
|
|
630
302
|
// TikTok
|
|
631
303
|
],
|
|
632
|
-
[
|
|
304
|
+
[n, [s, "TikTok"]],
|
|
633
305
|
[
|
|
634
306
|
/headlesschrome(?:\/([\w\.]+)| )/i
|
|
635
307
|
// Chrome Headless
|
|
636
308
|
],
|
|
637
|
-
[
|
|
309
|
+
[n, [s, j + " Headless"]],
|
|
638
310
|
[
|
|
639
311
|
/ wv\).+(chrome)\/([\w\.]+)/i
|
|
640
312
|
// Chrome WebView
|
|
641
313
|
],
|
|
642
|
-
[[
|
|
314
|
+
[[s, j + " WebView"], n],
|
|
643
315
|
[
|
|
644
316
|
/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
|
|
645
317
|
// Android Browser
|
|
646
318
|
],
|
|
647
|
-
[
|
|
319
|
+
[n, [s, "Android " + q]],
|
|
648
320
|
[
|
|
649
321
|
/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
|
|
650
322
|
// Chrome/OmniWeb/Arora/Tizen/Nokia
|
|
651
323
|
],
|
|
652
|
-
[
|
|
324
|
+
[s, n],
|
|
653
325
|
[
|
|
654
326
|
/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i
|
|
655
327
|
// Mobile Safari
|
|
656
328
|
],
|
|
657
|
-
[
|
|
329
|
+
[n, [s, "Mobile Safari"]],
|
|
658
330
|
[
|
|
659
331
|
/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i
|
|
660
332
|
// Safari & Safari Mobile
|
|
661
333
|
],
|
|
662
|
-
[
|
|
334
|
+
[n, s],
|
|
663
335
|
[
|
|
664
336
|
/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
|
|
665
337
|
// Safari < 3.0
|
|
666
338
|
],
|
|
667
|
-
[
|
|
339
|
+
[s, [n, U, De]],
|
|
668
340
|
[
|
|
669
341
|
/(webkit|khtml)\/([\w\.]+)/i
|
|
670
342
|
],
|
|
671
|
-
[
|
|
343
|
+
[s, n],
|
|
672
344
|
[
|
|
673
345
|
// Gecko based
|
|
674
346
|
/(navigator|netscape\d?)\/([-\w\.]+)/i
|
|
675
347
|
// Netscape
|
|
676
348
|
],
|
|
677
|
-
[[
|
|
349
|
+
[[s, "Netscape"], n],
|
|
678
350
|
[
|
|
679
351
|
/(wolvic|librewolf)\/([\w\.]+)/i
|
|
680
352
|
// Wolvic/LibreWolf
|
|
681
353
|
],
|
|
682
|
-
[
|
|
354
|
+
[s, n],
|
|
683
355
|
[
|
|
684
356
|
/mobile vr; rv:([\w\.]+)\).+firefox/i
|
|
685
357
|
// Firefox Reality
|
|
686
358
|
],
|
|
687
|
-
[
|
|
359
|
+
[n, [s, H + " Reality"]],
|
|
688
360
|
[
|
|
689
361
|
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
690
362
|
// Flow
|
|
@@ -704,56 +376,56 @@ var le = { exports: {} };
|
|
|
704
376
|
/\b(links) \(([\w\.]+)/i
|
|
705
377
|
// Links
|
|
706
378
|
],
|
|
707
|
-
[
|
|
379
|
+
[s, [n, /_/g, "."]],
|
|
708
380
|
[
|
|
709
381
|
/(cobalt)\/([\w\.]+)/i
|
|
710
382
|
// Cobalt
|
|
711
383
|
],
|
|
712
|
-
[
|
|
384
|
+
[s, [n, /master.|lts./, ""]]
|
|
713
385
|
],
|
|
714
386
|
cpu: [
|
|
715
387
|
[
|
|
716
388
|
/\b((amd|x|x86[-_]?|wow|win)64)\b/i
|
|
717
389
|
// AMD64 (x64)
|
|
718
390
|
],
|
|
719
|
-
[[
|
|
391
|
+
[[C, "amd64"]],
|
|
720
392
|
[
|
|
721
393
|
/(ia32(?=;))/i,
|
|
722
394
|
// IA32 (quicktime)
|
|
723
395
|
/\b((i[346]|x)86)(pc)?\b/i
|
|
724
396
|
// IA32 (x86)
|
|
725
397
|
],
|
|
726
|
-
[[
|
|
398
|
+
[[C, "ia32"]],
|
|
727
399
|
[
|
|
728
400
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
729
401
|
// ARM64
|
|
730
402
|
],
|
|
731
|
-
[[
|
|
403
|
+
[[C, "arm64"]],
|
|
732
404
|
[
|
|
733
405
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
734
406
|
// ARMHF
|
|
735
407
|
],
|
|
736
|
-
[[
|
|
408
|
+
[[C, "armhf"]],
|
|
737
409
|
[
|
|
738
410
|
// PocketPC mistakenly identified as PowerPC
|
|
739
411
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
740
412
|
],
|
|
741
|
-
[[
|
|
413
|
+
[[C, "arm"]],
|
|
742
414
|
[
|
|
743
415
|
/((ppc|powerpc)(64)?)( mac|;|\))/i
|
|
744
416
|
// PowerPC
|
|
745
417
|
],
|
|
746
|
-
[[
|
|
418
|
+
[[C, /ower/, y, V]],
|
|
747
419
|
[
|
|
748
420
|
/ sun4\w[;\)]/i
|
|
749
421
|
// SPARC
|
|
750
422
|
],
|
|
751
|
-
[[
|
|
423
|
+
[[C, "sparc"]],
|
|
752
424
|
[
|
|
753
425
|
/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i
|
|
754
426
|
// IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
|
|
755
427
|
],
|
|
756
|
-
[[
|
|
428
|
+
[[C, V]]
|
|
757
429
|
],
|
|
758
430
|
device: [
|
|
759
431
|
[
|
|
@@ -763,30 +435,30 @@ var le = { exports: {} };
|
|
|
763
435
|
// Samsung
|
|
764
436
|
/\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
|
|
765
437
|
],
|
|
766
|
-
[t, [o,
|
|
438
|
+
[t, [o, L], [i, c]],
|
|
767
439
|
[
|
|
768
440
|
/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
|
|
769
441
|
/samsung[- ]((?!sm-[lr])[-\w]+)/i,
|
|
770
442
|
/sec-(sgh\w+)/i
|
|
771
443
|
],
|
|
772
|
-
[t, [o,
|
|
444
|
+
[t, [o, L], [i, d]],
|
|
773
445
|
[
|
|
774
446
|
// Apple
|
|
775
447
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
|
|
776
448
|
// iPod/iPhone
|
|
777
449
|
],
|
|
778
|
-
[t, [o,
|
|
450
|
+
[t, [o, B], [i, d]],
|
|
779
451
|
[
|
|
780
452
|
/\((ipad);[-\w\),; ]+apple/i,
|
|
781
453
|
// iPad
|
|
782
454
|
/applecoremedia\/[\w\.]+ \((ipad)/i,
|
|
783
455
|
/\b(ipad)\d\d?,\d\d?[;\]].+ios/i
|
|
784
456
|
],
|
|
785
|
-
[t, [o,
|
|
457
|
+
[t, [o, B], [i, c]],
|
|
786
458
|
[
|
|
787
459
|
/(macintosh);/i
|
|
788
460
|
],
|
|
789
|
-
[t, [o,
|
|
461
|
+
[t, [o, B]],
|
|
790
462
|
[
|
|
791
463
|
// Sharp
|
|
792
464
|
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i
|
|
@@ -843,7 +515,7 @@ var le = { exports: {} };
|
|
|
843
515
|
[
|
|
844
516
|
/\b(opd2(\d{3}a?))(?: bui|\))/i
|
|
845
517
|
],
|
|
846
|
-
[t, [o,
|
|
518
|
+
[t, [o, U, { OnePlus: ["304", "403", "203"], "*": te }], [i, c]],
|
|
847
519
|
[
|
|
848
520
|
// Vivo
|
|
849
521
|
/vivo (\w+)(?: bui|\))/i,
|
|
@@ -882,7 +554,7 @@ var le = { exports: {} };
|
|
|
882
554
|
/(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,
|
|
883
555
|
/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
|
|
884
556
|
],
|
|
885
|
-
[t, [o,
|
|
557
|
+
[t, [o, Re], [i, c]],
|
|
886
558
|
[
|
|
887
559
|
// Nokia
|
|
888
560
|
/(nokia) (t[12][01])/i
|
|
@@ -908,12 +580,12 @@ var le = { exports: {} };
|
|
|
908
580
|
// Sony
|
|
909
581
|
/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
|
|
910
582
|
],
|
|
911
|
-
[t, [o,
|
|
583
|
+
[t, [o, P], [i, d]],
|
|
912
584
|
[
|
|
913
585
|
/sony tablet [ps]/i,
|
|
914
586
|
/\b(?:sony)?sgp\w+(?: bui|\))/i
|
|
915
587
|
],
|
|
916
|
-
[[t, "Xperia Tablet"], [o,
|
|
588
|
+
[[t, "Xperia Tablet"], [o, P], [i, c]],
|
|
917
589
|
[
|
|
918
590
|
// OnePlus
|
|
919
591
|
/ (kb2005|in20[12]5|be20[12][59])\b/i,
|
|
@@ -928,12 +600,12 @@ var le = { exports: {} };
|
|
|
928
600
|
/(kf[a-z]+)( bui|\)).+silk\//i
|
|
929
601
|
// Kindle Fire HD
|
|
930
602
|
],
|
|
931
|
-
[t, [o,
|
|
603
|
+
[t, [o, X], [i, c]],
|
|
932
604
|
[
|
|
933
605
|
/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
|
|
934
606
|
// Fire Phone
|
|
935
607
|
],
|
|
936
|
-
[[t, /(.+)/g, "Fire Phone $1"], [o,
|
|
608
|
+
[[t, /(.+)/g, "Fire Phone $1"], [o, X], [i, d]],
|
|
937
609
|
[
|
|
938
610
|
// BlackBerry
|
|
939
611
|
/(playbook);[-\w\),; ]+(rim)/i
|
|
@@ -979,7 +651,7 @@ var le = { exports: {} };
|
|
|
979
651
|
// itel
|
|
980
652
|
/(itel) ((\w+))/i
|
|
981
653
|
],
|
|
982
|
-
[[o,
|
|
654
|
+
[[o, V], t, [i, U, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
|
|
983
655
|
[
|
|
984
656
|
// Acer
|
|
985
657
|
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
|
@@ -1223,7 +895,7 @@ var le = { exports: {} };
|
|
|
1223
895
|
[
|
|
1224
896
|
/hbbtv.+maple;(\d+)/i
|
|
1225
897
|
],
|
|
1226
|
-
[[t, /^/, "SmartTV"], [o,
|
|
898
|
+
[[t, /^/, "SmartTV"], [o, L], [i, v]],
|
|
1227
899
|
[
|
|
1228
900
|
/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
|
|
1229
901
|
// LG SmartTV
|
|
@@ -1233,7 +905,7 @@ var le = { exports: {} };
|
|
|
1233
905
|
/(apple) ?tv/i
|
|
1234
906
|
// Apple TV
|
|
1235
907
|
],
|
|
1236
|
-
[o, [t,
|
|
908
|
+
[o, [t, B + " TV"], [i, v]],
|
|
1237
909
|
[
|
|
1238
910
|
/crkey/i
|
|
1239
911
|
// Google Chromecast
|
|
@@ -1243,7 +915,7 @@ var le = { exports: {} };
|
|
|
1243
915
|
/droid.+aft(\w+)( bui|\))/i
|
|
1244
916
|
// Fire TV
|
|
1245
917
|
],
|
|
1246
|
-
[t, [o,
|
|
918
|
+
[t, [o, X], [i, v]],
|
|
1247
919
|
[
|
|
1248
920
|
/(shield \w+ tv)/i
|
|
1249
921
|
// Nvidia Shield TV
|
|
@@ -1259,7 +931,7 @@ var le = { exports: {} };
|
|
|
1259
931
|
/(bravia[\w ]+)( bui|\))/i
|
|
1260
932
|
// Sony
|
|
1261
933
|
],
|
|
1262
|
-
[t, [o,
|
|
934
|
+
[t, [o, P], [i, v]],
|
|
1263
935
|
[
|
|
1264
936
|
/(mi(tv|box)-?\w+) bui/i
|
|
1265
937
|
// Xiaomi
|
|
@@ -1276,7 +948,7 @@ var le = { exports: {} };
|
|
|
1276
948
|
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
|
|
1277
949
|
// HbbTV devices
|
|
1278
950
|
],
|
|
1279
|
-
[[o,
|
|
951
|
+
[[o, se], [t, se], [i, v]],
|
|
1280
952
|
[
|
|
1281
953
|
// SmartTV from Unidentified Vendors
|
|
1282
954
|
/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
|
|
@@ -1295,22 +967,22 @@ var le = { exports: {} };
|
|
|
1295
967
|
/(nintendo) ([wids3utch]+)/i
|
|
1296
968
|
// Nintendo
|
|
1297
969
|
],
|
|
1298
|
-
[o, t, [i,
|
|
970
|
+
[o, t, [i, N]],
|
|
1299
971
|
[
|
|
1300
972
|
/droid.+; (shield)( bui|\))/i
|
|
1301
973
|
// Nvidia Portable
|
|
1302
974
|
],
|
|
1303
|
-
[t, [o, ee], [i,
|
|
975
|
+
[t, [o, ee], [i, N]],
|
|
1304
976
|
[
|
|
1305
977
|
/(playstation \w+)/i
|
|
1306
978
|
// Playstation
|
|
1307
979
|
],
|
|
1308
|
-
[t, [o,
|
|
980
|
+
[t, [o, P], [i, N]],
|
|
1309
981
|
[
|
|
1310
982
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
1311
983
|
// Microsoft Xbox
|
|
1312
984
|
],
|
|
1313
|
-
[t, [o, Q], [i,
|
|
985
|
+
[t, [o, Q], [i, N]],
|
|
1314
986
|
[
|
|
1315
987
|
///////////////////
|
|
1316
988
|
// WEARABLES
|
|
@@ -1318,7 +990,7 @@ var le = { exports: {} };
|
|
|
1318
990
|
/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
|
|
1319
991
|
// Samsung Galaxy Watch
|
|
1320
992
|
],
|
|
1321
|
-
[t, [o,
|
|
993
|
+
[t, [o, L], [i, _]],
|
|
1322
994
|
[
|
|
1323
995
|
/((pebble))app/i,
|
|
1324
996
|
// Pebble
|
|
@@ -1335,7 +1007,7 @@ var le = { exports: {} };
|
|
|
1335
1007
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1336
1008
|
// Apple Watch
|
|
1337
1009
|
],
|
|
1338
|
-
[t, [o,
|
|
1010
|
+
[t, [o, B], [i, _]],
|
|
1339
1011
|
[
|
|
1340
1012
|
/(opwwe\d{3})/i
|
|
1341
1013
|
// OnePlus Watch
|
|
@@ -1350,7 +1022,7 @@ var le = { exports: {} };
|
|
|
1350
1022
|
/(smartwatch 3)/i
|
|
1351
1023
|
// Sony SmartWatch
|
|
1352
1024
|
],
|
|
1353
|
-
[t, [o,
|
|
1025
|
+
[t, [o, P], [i, _]],
|
|
1354
1026
|
[
|
|
1355
1027
|
/(g watch r)/i
|
|
1356
1028
|
// LG G Watch R
|
|
@@ -1385,21 +1057,21 @@ var le = { exports: {} };
|
|
|
1385
1057
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
1386
1058
|
// Tesla
|
|
1387
1059
|
],
|
|
1388
|
-
[o, [i,
|
|
1060
|
+
[o, [i, D]],
|
|
1389
1061
|
[
|
|
1390
1062
|
/(aeobc)\b/i
|
|
1391
1063
|
// Echo Dot
|
|
1392
1064
|
],
|
|
1393
|
-
[t, [o,
|
|
1065
|
+
[t, [o, X], [i, D]],
|
|
1394
1066
|
[
|
|
1395
1067
|
/(homepod).+mac os/i
|
|
1396
1068
|
// Apple HomePod
|
|
1397
1069
|
],
|
|
1398
|
-
[t, [o,
|
|
1070
|
+
[t, [o, B], [i, D]],
|
|
1399
1071
|
[
|
|
1400
1072
|
/windows iot/i
|
|
1401
1073
|
],
|
|
1402
|
-
[[i,
|
|
1074
|
+
[[i, D]],
|
|
1403
1075
|
[
|
|
1404
1076
|
////////////////////
|
|
1405
1077
|
// MIXED (GENERIC)
|
|
@@ -1434,17 +1106,17 @@ var le = { exports: {} };
|
|
|
1434
1106
|
/windows.+ edge\/([\w\.]+)/i
|
|
1435
1107
|
// EdgeHTML
|
|
1436
1108
|
],
|
|
1437
|
-
[
|
|
1109
|
+
[n, [s, $e + "HTML"]],
|
|
1438
1110
|
[
|
|
1439
1111
|
/(arkweb)\/([\w\.]+)/i
|
|
1440
1112
|
// ArkWeb
|
|
1441
1113
|
],
|
|
1442
|
-
[
|
|
1114
|
+
[s, n],
|
|
1443
1115
|
[
|
|
1444
1116
|
/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
|
|
1445
1117
|
// Blink
|
|
1446
1118
|
],
|
|
1447
|
-
[
|
|
1119
|
+
[n, [s, "Blink"]],
|
|
1448
1120
|
[
|
|
1449
1121
|
/(presto)\/([\w\.]+)/i,
|
|
1450
1122
|
// Presto
|
|
@@ -1459,16 +1131,16 @@ var le = { exports: {} };
|
|
|
1459
1131
|
/\b(libweb)/i
|
|
1460
1132
|
// LibWeb
|
|
1461
1133
|
],
|
|
1462
|
-
[
|
|
1134
|
+
[s, n],
|
|
1463
1135
|
[
|
|
1464
1136
|
/ladybird\//i
|
|
1465
1137
|
],
|
|
1466
|
-
[[
|
|
1138
|
+
[[s, "LibWeb"]],
|
|
1467
1139
|
[
|
|
1468
1140
|
/rv\:([\w\.]{1,9})\b.+(gecko)/i
|
|
1469
1141
|
// Gecko
|
|
1470
1142
|
],
|
|
1471
|
-
[
|
|
1143
|
+
[n, s]
|
|
1472
1144
|
],
|
|
1473
1145
|
os: [
|
|
1474
1146
|
[
|
|
@@ -1476,19 +1148,19 @@ var le = { exports: {} };
|
|
|
1476
1148
|
/microsoft (windows) (vista|xp)/i
|
|
1477
1149
|
// Windows (iTunes)
|
|
1478
1150
|
],
|
|
1479
|
-
[
|
|
1151
|
+
[s, n],
|
|
1480
1152
|
[
|
|
1481
1153
|
/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i
|
|
1482
1154
|
// Windows Phone
|
|
1483
1155
|
],
|
|
1484
|
-
[
|
|
1156
|
+
[s, [n, U, _e]],
|
|
1485
1157
|
[
|
|
1486
1158
|
/windows nt 6\.2; (arm)/i,
|
|
1487
1159
|
// Windows RT
|
|
1488
1160
|
/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
|
|
1489
1161
|
/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
|
|
1490
1162
|
],
|
|
1491
|
-
[[
|
|
1163
|
+
[[n, U, _e], [s, "Windows"]],
|
|
1492
1164
|
[
|
|
1493
1165
|
// iOS/macOS
|
|
1494
1166
|
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -1496,66 +1168,66 @@ var le = { exports: {} };
|
|
|
1496
1168
|
/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
|
|
1497
1169
|
/cfnetwork\/.+darwin/i
|
|
1498
1170
|
],
|
|
1499
|
-
[[
|
|
1171
|
+
[[n, /_/g, "."], [s, "iOS"]],
|
|
1500
1172
|
[
|
|
1501
1173
|
/(mac os x) ?([\w\. ]*)/i,
|
|
1502
1174
|
/(macintosh|mac_powerpc\b)(?!.+haiku)/i
|
|
1503
1175
|
// Mac OS
|
|
1504
1176
|
],
|
|
1505
|
-
[[
|
|
1177
|
+
[[s, me], [n, /_/g, "."]],
|
|
1506
1178
|
[
|
|
1507
1179
|
// Mobile OSes
|
|
1508
1180
|
/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
|
|
1509
1181
|
// Android-x86/HarmonyOS
|
|
1510
1182
|
],
|
|
1511
|
-
[
|
|
1183
|
+
[n, s],
|
|
1512
1184
|
[
|
|
1513
1185
|
/(ubuntu) ([\w\.]+) like android/i
|
|
1514
1186
|
// Ubuntu Touch
|
|
1515
1187
|
],
|
|
1516
|
-
[[
|
|
1188
|
+
[[s, /(.+)/, "$1 Touch"], n],
|
|
1517
1189
|
[
|
|
1518
1190
|
// Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
|
|
1519
1191
|
/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i
|
|
1520
1192
|
],
|
|
1521
|
-
[
|
|
1193
|
+
[s, n],
|
|
1522
1194
|
[
|
|
1523
1195
|
/\(bb(10);/i
|
|
1524
1196
|
// BlackBerry 10
|
|
1525
1197
|
],
|
|
1526
|
-
[
|
|
1198
|
+
[n, [s, ce]],
|
|
1527
1199
|
[
|
|
1528
1200
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1529
1201
|
// Symbian
|
|
1530
1202
|
],
|
|
1531
|
-
[
|
|
1203
|
+
[n, [s, "Symbian"]],
|
|
1532
1204
|
[
|
|
1533
1205
|
/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i
|
|
1534
1206
|
// Firefox OS
|
|
1535
1207
|
],
|
|
1536
|
-
[
|
|
1208
|
+
[n, [s, H + " OS"]],
|
|
1537
1209
|
[
|
|
1538
1210
|
/web0s;.+rt(tv)/i,
|
|
1539
1211
|
/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i
|
|
1540
1212
|
// WebOS
|
|
1541
1213
|
],
|
|
1542
|
-
[
|
|
1214
|
+
[n, [s, "webOS"]],
|
|
1543
1215
|
[
|
|
1544
1216
|
/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i
|
|
1545
1217
|
// watchOS
|
|
1546
1218
|
],
|
|
1547
|
-
[
|
|
1219
|
+
[n, [s, "watchOS"]],
|
|
1548
1220
|
[
|
|
1549
1221
|
// Google Chromecast
|
|
1550
1222
|
/crkey\/([\d\.]+)/i
|
|
1551
1223
|
// Google Chromecast
|
|
1552
1224
|
],
|
|
1553
|
-
[
|
|
1225
|
+
[n, [s, j + "cast"]],
|
|
1554
1226
|
[
|
|
1555
1227
|
/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i
|
|
1556
1228
|
// Chromium OS
|
|
1557
1229
|
],
|
|
1558
|
-
[[
|
|
1230
|
+
[[s, fe], n],
|
|
1559
1231
|
[
|
|
1560
1232
|
// Smart TVs
|
|
1561
1233
|
/panasonic;(viera)/i,
|
|
@@ -1587,12 +1259,12 @@ var le = { exports: {} };
|
|
|
1587
1259
|
/(haiku) (\w+)/i
|
|
1588
1260
|
// Haiku
|
|
1589
1261
|
],
|
|
1590
|
-
[
|
|
1262
|
+
[s, n],
|
|
1591
1263
|
[
|
|
1592
1264
|
/(sunos) ?([\w\.\d]*)/i
|
|
1593
1265
|
// Solaris
|
|
1594
1266
|
],
|
|
1595
|
-
[[
|
|
1267
|
+
[[s, "Solaris"], n],
|
|
1596
1268
|
[
|
|
1597
1269
|
/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
|
|
1598
1270
|
// Solaris
|
|
@@ -1603,27 +1275,27 @@ var le = { exports: {} };
|
|
|
1603
1275
|
/(unix) ?([\w\.]*)/i
|
|
1604
1276
|
// UNIX
|
|
1605
1277
|
],
|
|
1606
|
-
[
|
|
1278
|
+
[s, n]
|
|
1607
1279
|
]
|
|
1608
|
-
},
|
|
1609
|
-
if (typeof
|
|
1610
|
-
return new
|
|
1611
|
-
var u = typeof
|
|
1280
|
+
}, x = function(w, h) {
|
|
1281
|
+
if (typeof w === k && (h = w, w = b), !(this instanceof x))
|
|
1282
|
+
return new x(w, h).getResult();
|
|
1283
|
+
var u = typeof a !== m && a.navigator ? a.navigator : b, f = w || (u && u.userAgent ? u.userAgent : y), T = u && u.userAgentData ? u.userAgentData : b, S = h ? ze(ye, h) : ye, p = u && u.userAgent == f;
|
|
1612
1284
|
return this.getBrowser = function() {
|
|
1613
|
-
var
|
|
1614
|
-
return
|
|
1285
|
+
var l = {};
|
|
1286
|
+
return l[s] = b, l[n] = b, F.call(l, f, S.browser), l[z] = Ne(l[n]), p && u && u.brave && typeof u.brave.isBrave == R && (l[s] = "Brave"), l;
|
|
1615
1287
|
}, this.getCPU = function() {
|
|
1616
|
-
var
|
|
1617
|
-
return
|
|
1288
|
+
var l = {};
|
|
1289
|
+
return l[C] = b, F.call(l, f, S.cpu), l;
|
|
1618
1290
|
}, this.getDevice = function() {
|
|
1619
|
-
var
|
|
1620
|
-
return
|
|
1291
|
+
var l = {};
|
|
1292
|
+
return l[o] = b, l[t] = b, l[i] = b, F.call(l, f, S.device), p && !l[i] && T && T.mobile && (l[i] = d), p && l[t] == "Macintosh" && u && typeof u.standalone !== m && u.maxTouchPoints && u.maxTouchPoints > 2 && (l[t] = "iPad", l[i] = c), l;
|
|
1621
1293
|
}, this.getEngine = function() {
|
|
1622
|
-
var
|
|
1623
|
-
return
|
|
1294
|
+
var l = {};
|
|
1295
|
+
return l[s] = b, l[n] = b, F.call(l, f, S.engine), l;
|
|
1624
1296
|
}, this.getOS = function() {
|
|
1625
|
-
var
|
|
1626
|
-
return
|
|
1297
|
+
var l = {};
|
|
1298
|
+
return l[s] = b, l[n] = b, F.call(l, f, S.os), p && !l[s] && T && T.platform && T.platform != "Unknown" && (l[s] = T.platform.replace(/chrome os/i, fe).replace(/macos/i, me)), l;
|
|
1627
1299
|
}, this.getResult = function() {
|
|
1628
1300
|
return {
|
|
1629
1301
|
ua: this.getUA(),
|
|
@@ -1634,36 +1306,36 @@ var le = { exports: {} };
|
|
|
1634
1306
|
cpu: this.getCPU()
|
|
1635
1307
|
};
|
|
1636
1308
|
}, this.getUA = function() {
|
|
1637
|
-
return
|
|
1638
|
-
}, this.setUA = function(
|
|
1639
|
-
return
|
|
1640
|
-
}, this.setUA(
|
|
1309
|
+
return f;
|
|
1310
|
+
}, this.setUA = function(l) {
|
|
1311
|
+
return f = typeof l === A && l.length > Z ? se(l, Z) : l, this;
|
|
1312
|
+
}, this.setUA(f), this;
|
|
1641
1313
|
};
|
|
1642
|
-
|
|
1643
|
-
var
|
|
1644
|
-
if (
|
|
1645
|
-
var Y = new
|
|
1646
|
-
|
|
1314
|
+
x.VERSION = g, x.BROWSER = W([s, n, z]), x.CPU = W([C]), x.DEVICE = W([t, o, i, N, d, v, c, _, D]), x.ENGINE = x.OS = W([s, n]), e.exports && (r = e.exports = x), r.UAParser = x;
|
|
1315
|
+
var M = typeof a !== m && (a.jQuery || a.Zepto);
|
|
1316
|
+
if (M && !M.ua) {
|
|
1317
|
+
var Y = new x();
|
|
1318
|
+
M.ua = Y.getResult(), M.ua.get = function() {
|
|
1647
1319
|
return Y.getUA();
|
|
1648
|
-
},
|
|
1649
|
-
Y.setUA(
|
|
1650
|
-
var
|
|
1651
|
-
for (var u in
|
|
1652
|
-
|
|
1320
|
+
}, M.ua.set = function(w) {
|
|
1321
|
+
Y.setUA(w);
|
|
1322
|
+
var h = Y.getResult();
|
|
1323
|
+
for (var u in h)
|
|
1324
|
+
M.ua[u] = h[u];
|
|
1653
1325
|
};
|
|
1654
1326
|
}
|
|
1655
|
-
})(typeof window == "object" ? window :
|
|
1327
|
+
})(typeof window == "object" ? window : Ie);
|
|
1656
1328
|
})(le, le.exports);
|
|
1657
|
-
var
|
|
1658
|
-
const
|
|
1329
|
+
var Pe = le.exports;
|
|
1330
|
+
const Ve = /* @__PURE__ */ Le(Pe);
|
|
1659
1331
|
function Ae() {
|
|
1660
1332
|
if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
|
|
1661
1333
|
try {
|
|
1662
|
-
var e =
|
|
1334
|
+
var e = Ve(navigator.userAgent);
|
|
1663
1335
|
if (e.browser.name === "WebKit")
|
|
1664
1336
|
return "ios_webview";
|
|
1665
|
-
} catch (
|
|
1666
|
-
console.error(
|
|
1337
|
+
} catch (r) {
|
|
1338
|
+
console.error(r);
|
|
1667
1339
|
}
|
|
1668
1340
|
return typeof Android < "u" ? "android_webview" : typeof window.cefQuery < "u" ? "cef_webview" : "browser";
|
|
1669
1341
|
}
|
|
@@ -1673,33 +1345,450 @@ function Be() {
|
|
|
1673
1345
|
function Me() {
|
|
1674
1346
|
return Ae() === "android_webview";
|
|
1675
1347
|
}
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1348
|
+
function Fe() {
|
|
1349
|
+
try {
|
|
1350
|
+
return window.self !== window.top;
|
|
1351
|
+
} catch {
|
|
1352
|
+
return !0;
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
var Ue = function() {
|
|
1356
|
+
var e = this, r = e.$createElement, a = e._self._c || r;
|
|
1357
|
+
return a("header", {
|
|
1358
|
+
staticClass: "sky-header-container"
|
|
1359
|
+
}, [a("div", {
|
|
1360
|
+
staticClass: "topmenubox"
|
|
1361
|
+
}, [a("div", {
|
|
1362
|
+
staticClass: "header-left"
|
|
1363
|
+
}, [e.shouldShowBackButton ? a("button", {
|
|
1364
|
+
staticClass: "btn-back",
|
|
1365
|
+
attrs: {
|
|
1366
|
+
title: e.backButtonTitle
|
|
1367
|
+
},
|
|
1368
|
+
on: {
|
|
1369
|
+
click: e.handleBack
|
|
1370
|
+
}
|
|
1371
|
+
}, [a("svg", {
|
|
1372
|
+
staticStyle: {
|
|
1373
|
+
transform: "rotate(90deg)"
|
|
1374
|
+
},
|
|
1375
|
+
attrs: {
|
|
1376
|
+
width: "15",
|
|
1377
|
+
height: "15",
|
|
1378
|
+
viewBox: "0 0 451.847 451.847"
|
|
1379
|
+
}
|
|
1380
|
+
}, [a("path", {
|
|
1381
|
+
attrs: {
|
|
1382
|
+
fill: "currentColor",
|
|
1383
|
+
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"
|
|
1384
|
+
}
|
|
1385
|
+
})])]) : e._e(), a("div", {
|
|
1386
|
+
ref: "dropdownRef",
|
|
1387
|
+
staticClass: "titleAndDesc"
|
|
1388
|
+
}, [a("button", {
|
|
1389
|
+
staticClass: "title-dropdown-toggle",
|
|
1390
|
+
class: {
|
|
1391
|
+
"title-dropdown-toggle-active": e.sortedItems.length
|
|
1392
|
+
},
|
|
1393
|
+
on: {
|
|
1394
|
+
click: e.toggleDropdown
|
|
1395
|
+
}
|
|
1396
|
+
}, [e._t("title", function() {
|
|
1397
|
+
return [a("h4", {
|
|
1398
|
+
staticClass: "notPadding",
|
|
1399
|
+
staticStyle: {
|
|
1400
|
+
"margin-bottom": "4px"
|
|
1401
|
+
}
|
|
1402
|
+
}, [a("span", {
|
|
1403
|
+
staticClass: "topmenu-title"
|
|
1404
|
+
}, [e._v(e._s(e.title))]), e.sortedItems.length ? a("svg", {
|
|
1405
|
+
staticClass: "arrow",
|
|
1406
|
+
class: {
|
|
1407
|
+
open: e.isDropdownOpen
|
|
1408
|
+
},
|
|
1409
|
+
staticStyle: {
|
|
1410
|
+
"flex-shrink": "0"
|
|
1411
|
+
},
|
|
1412
|
+
attrs: {
|
|
1413
|
+
width: "12",
|
|
1414
|
+
height: "12",
|
|
1415
|
+
viewBox: "0 0 451.847 451.847"
|
|
1416
|
+
}
|
|
1417
|
+
}, [a("path", {
|
|
1418
|
+
attrs: {
|
|
1419
|
+
fill: "currentColor",
|
|
1420
|
+
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"
|
|
1421
|
+
}
|
|
1422
|
+
})]) : e._e()])];
|
|
1423
|
+
})], 2), e.isDropdownOpen && e.sortedItems.length ? a("div", {
|
|
1424
|
+
staticClass: "title-dropdown"
|
|
1425
|
+
}, [a("div", {
|
|
1426
|
+
staticClass: "title-dropdown-header"
|
|
1427
|
+
}, [e._v(e._s(e.dropdownTitle))]), a("div", {
|
|
1428
|
+
staticClass: "title-dropdown-divider"
|
|
1429
|
+
}), e._l(e.sortedItems, function(b, g) {
|
|
1430
|
+
return a("div", {
|
|
1431
|
+
key: g,
|
|
1432
|
+
staticClass: "title-dropdown-item",
|
|
1433
|
+
on: {
|
|
1434
|
+
click: function(y) {
|
|
1435
|
+
return e.selectItem(b);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
}, [a("p", {
|
|
1439
|
+
staticClass: "pageName"
|
|
1440
|
+
}, [e._v(e._s(e.capitalize(b.name)))]), a("small", {
|
|
1441
|
+
staticClass: "pageVisit"
|
|
1442
|
+
}, [e._v(" (" + e._s(e.visitLabel) + " " + e._s(e.getTimeAgo(b.lastVisit)) + ") ")])]);
|
|
1443
|
+
})], 2) : e._e(), e._t("subtitle", function() {
|
|
1444
|
+
return [e.subtitle ? a("p", {
|
|
1445
|
+
staticClass: "topmenu-description"
|
|
1446
|
+
}, [e._v(e._s(e.subtitle))]) : e._e()];
|
|
1447
|
+
})], 2)]), a("div", {
|
|
1448
|
+
staticClass: "topmenubox-button"
|
|
1449
|
+
}, [a("div"), e._t("default"), a("div")], 2)])]);
|
|
1450
|
+
}, Xe = [];
|
|
1451
|
+
function $(e, r, a, b, g, y, O, R) {
|
|
1452
|
+
var m = typeof e == "function" ? e.options : e;
|
|
1453
|
+
r && (m.render = r, m.staticRenderFns = a, m._compiled = !0), b && (m.functional = !0), y && (m._scopeId = "data-v-" + y);
|
|
1454
|
+
var k;
|
|
1455
|
+
if (O ? (k = function(t) {
|
|
1456
|
+
t = t || // cached call
|
|
1457
|
+
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
1458
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !t && typeof __VUE_SSR_CONTEXT__ < "u" && (t = __VUE_SSR_CONTEXT__), g && g.call(this, t), t && t._registeredComponents && t._registeredComponents.add(O);
|
|
1459
|
+
}, m._ssrRegister = k) : g && (k = R ? function() {
|
|
1460
|
+
g.call(
|
|
1461
|
+
this,
|
|
1462
|
+
(m.functional ? this.parent : this).$root.$options.shadowRoot
|
|
1463
|
+
);
|
|
1464
|
+
} : g), k)
|
|
1465
|
+
if (m.functional) {
|
|
1466
|
+
m._injectStyles = k;
|
|
1467
|
+
var A = m.render;
|
|
1468
|
+
m.render = function(s, i) {
|
|
1469
|
+
return k.call(i), A(s, i);
|
|
1470
|
+
};
|
|
1471
|
+
} else {
|
|
1472
|
+
var z = m.beforeCreate;
|
|
1473
|
+
m.beforeCreate = z ? [].concat(z, k) : [k];
|
|
1474
|
+
}
|
|
1475
|
+
return {
|
|
1476
|
+
exports: e,
|
|
1477
|
+
options: m
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
const qe = {
|
|
1481
|
+
name: "Header",
|
|
1482
|
+
props: {
|
|
1483
|
+
title: {
|
|
1484
|
+
type: String,
|
|
1485
|
+
default: ""
|
|
1486
|
+
},
|
|
1487
|
+
subtitle: {
|
|
1488
|
+
type: String,
|
|
1489
|
+
default: ""
|
|
1490
|
+
},
|
|
1491
|
+
showBackButton: {
|
|
1492
|
+
type: Boolean,
|
|
1493
|
+
default: !0
|
|
1494
|
+
},
|
|
1495
|
+
backButtonTitle: {
|
|
1496
|
+
type: String,
|
|
1497
|
+
default: "Назад"
|
|
1498
|
+
},
|
|
1499
|
+
backEvent: {
|
|
1500
|
+
type: Function,
|
|
1501
|
+
default: null
|
|
1502
|
+
},
|
|
1503
|
+
dropdownItems: {
|
|
1504
|
+
type: Array,
|
|
1505
|
+
default: () => []
|
|
1506
|
+
},
|
|
1507
|
+
dropdownTitle: {
|
|
1508
|
+
type: String,
|
|
1509
|
+
default: "Останні відвідані розділи"
|
|
1510
|
+
},
|
|
1511
|
+
visitLabel: {
|
|
1512
|
+
type: String,
|
|
1513
|
+
default: "Останнє відвідування"
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
data() {
|
|
1517
|
+
return {
|
|
1518
|
+
isDropdownOpen: !1
|
|
1519
|
+
};
|
|
1520
|
+
},
|
|
1521
|
+
computed: {
|
|
1522
|
+
sortedItems() {
|
|
1523
|
+
return [...this.dropdownItems].sort((e, r) => r.lastVisit - e.lastVisit);
|
|
1524
|
+
},
|
|
1525
|
+
shouldShowBackButton() {
|
|
1526
|
+
return this.backEvent || this.showBackButton && Fe();
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
mounted() {
|
|
1530
|
+
document.addEventListener("click", this.handleClickOutside, !0);
|
|
1531
|
+
},
|
|
1532
|
+
beforeDestroy() {
|
|
1533
|
+
document.removeEventListener("click", this.handleClickOutside, !0);
|
|
1534
|
+
},
|
|
1535
|
+
methods: {
|
|
1536
|
+
handleBack() {
|
|
1537
|
+
if (this.backEvent)
|
|
1538
|
+
return this.backEvent();
|
|
1539
|
+
window.parent.postMessage({ type: "exit" }, "*");
|
|
1540
|
+
},
|
|
1541
|
+
toggleDropdown() {
|
|
1542
|
+
this.sortedItems.length && (this.isDropdownOpen = !this.isDropdownOpen);
|
|
1543
|
+
},
|
|
1544
|
+
closeDropdown() {
|
|
1545
|
+
this.isDropdownOpen = !1;
|
|
1546
|
+
},
|
|
1547
|
+
selectItem(e) {
|
|
1548
|
+
this.$emit("navigate", e.path), this.closeDropdown();
|
|
1549
|
+
},
|
|
1550
|
+
capitalize(e) {
|
|
1551
|
+
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
1552
|
+
},
|
|
1553
|
+
getTimeAgo(e) {
|
|
1554
|
+
const a = Date.now() - e, b = Math.floor(a / 1e3), g = Math.floor(b / 60), y = Math.floor(g / 60), O = Math.floor(y / 24);
|
|
1555
|
+
return O > 0 ? `${O}д тому` : y > 0 ? `${y}год тому` : g > 0 ? `${g}хв тому` : `${b}с тому`;
|
|
1556
|
+
},
|
|
1557
|
+
handleClickOutside(e) {
|
|
1558
|
+
this.$refs.dropdownRef && !this.$refs.dropdownRef.contains(e.target) && this.closeDropdown();
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
}, xe = {};
|
|
1562
|
+
var je = /* @__PURE__ */ $(
|
|
1563
|
+
qe,
|
|
1564
|
+
Ue,
|
|
1565
|
+
Xe,
|
|
1566
|
+
!1,
|
|
1567
|
+
He,
|
|
1568
|
+
"72fe10ee",
|
|
1569
|
+
null,
|
|
1570
|
+
null
|
|
1571
|
+
);
|
|
1572
|
+
function He(e) {
|
|
1573
|
+
for (let r in xe)
|
|
1574
|
+
this[r] = xe[r];
|
|
1575
|
+
}
|
|
1576
|
+
const gt = /* @__PURE__ */ function() {
|
|
1577
|
+
return je.exports;
|
|
1578
|
+
}();
|
|
1579
|
+
var Ke = function() {
|
|
1580
|
+
var e = this, r = e.$createElement, a = e._self._c || r;
|
|
1581
|
+
return a("portal", {
|
|
1582
|
+
attrs: {
|
|
1583
|
+
to: e.to
|
|
1584
|
+
}
|
|
1585
|
+
}, [e._t("default")], 2);
|
|
1586
|
+
}, Ge = [];
|
|
1587
|
+
const We = {
|
|
1588
|
+
props: {
|
|
1589
|
+
to: {
|
|
1590
|
+
type: String,
|
|
1591
|
+
default: "body"
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
}, Ce = {};
|
|
1595
|
+
var Ye = /* @__PURE__ */ $(
|
|
1596
|
+
We,
|
|
1597
|
+
Ke,
|
|
1598
|
+
Ge,
|
|
1599
|
+
!1,
|
|
1600
|
+
Ze,
|
|
1601
|
+
null,
|
|
1602
|
+
null,
|
|
1603
|
+
null
|
|
1604
|
+
);
|
|
1605
|
+
function Ze(e) {
|
|
1606
|
+
for (let r in Ce)
|
|
1607
|
+
this[r] = Ce[r];
|
|
1608
|
+
}
|
|
1609
|
+
const Qe = /* @__PURE__ */ function() {
|
|
1610
|
+
return Ye.exports;
|
|
1611
|
+
}();
|
|
1612
|
+
var Je = function() {
|
|
1613
|
+
var e = this, r = e.$createElement, a = e._self._c || r;
|
|
1614
|
+
return a("base-teleport", {
|
|
1615
|
+
attrs: {
|
|
1616
|
+
to: "body"
|
|
1617
|
+
}
|
|
1618
|
+
}, [a("transition", [e.isOpen ? a("div", {
|
|
1619
|
+
staticClass: "sky-modal-overlay",
|
|
1620
|
+
on: {
|
|
1621
|
+
click: function(b) {
|
|
1622
|
+
return b.target !== b.currentTarget ? null : e.handleOverlayClick.apply(null, arguments);
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
}, [a("div", {
|
|
1626
|
+
staticClass: "sky-modal",
|
|
1627
|
+
style: e.modalStyle
|
|
1628
|
+
}, [a("div", {
|
|
1629
|
+
staticClass: "sky-modal-header"
|
|
1630
|
+
}, [a("button", {
|
|
1631
|
+
staticClass: "sky-modal-back",
|
|
1632
|
+
attrs: {
|
|
1633
|
+
title: e.closeTitle
|
|
1634
|
+
},
|
|
1635
|
+
on: {
|
|
1636
|
+
click: e.close
|
|
1637
|
+
}
|
|
1638
|
+
}, [a("svg", {
|
|
1639
|
+
staticStyle: {
|
|
1640
|
+
transform: "rotate(90deg)"
|
|
1641
|
+
},
|
|
1642
|
+
attrs: {
|
|
1643
|
+
width: "15",
|
|
1644
|
+
height: "15",
|
|
1645
|
+
viewBox: "0 0 451.847 451.847"
|
|
1646
|
+
}
|
|
1647
|
+
}, [a("path", {
|
|
1648
|
+
attrs: {
|
|
1649
|
+
fill: "currentColor",
|
|
1650
|
+
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"
|
|
1651
|
+
}
|
|
1652
|
+
})])]), a("div", {
|
|
1653
|
+
staticClass: "sky-modal-title-wrapper"
|
|
1654
|
+
}, [a("h4", {
|
|
1655
|
+
staticClass: "sky-modal-title"
|
|
1656
|
+
}, [e._v(e._s(e.title))]), e.subtitle ? a("div", {
|
|
1657
|
+
staticClass: "sky-modal-subtitle"
|
|
1658
|
+
}, [e._v(e._s(e.subtitle))]) : e._e()])]), a("div", {
|
|
1659
|
+
staticClass: "sky-modal-body"
|
|
1660
|
+
}, [e._t("default")], 2), e.$slots.footer ? a("div", {
|
|
1661
|
+
staticClass: "sky-modal-footer"
|
|
1662
|
+
}, [e._t("footer")], 2) : e._e()])]) : e._e()])], 1);
|
|
1663
|
+
}, et = [];
|
|
1664
|
+
const tt = {
|
|
1665
|
+
components: {
|
|
1666
|
+
BaseTeleport: Qe
|
|
1667
|
+
},
|
|
1668
|
+
name: "Modal",
|
|
1669
|
+
props: {
|
|
1670
|
+
modelValue: {
|
|
1671
|
+
type: Boolean,
|
|
1672
|
+
default: !1
|
|
1673
|
+
},
|
|
1674
|
+
title: {
|
|
1675
|
+
type: String,
|
|
1676
|
+
default: ""
|
|
1677
|
+
},
|
|
1678
|
+
subtitle: {
|
|
1679
|
+
type: String,
|
|
1680
|
+
default: ""
|
|
1681
|
+
},
|
|
1682
|
+
closeTitle: {
|
|
1683
|
+
type: String,
|
|
1684
|
+
default: "Закрити"
|
|
1685
|
+
},
|
|
1686
|
+
closeOnOverlay: {
|
|
1687
|
+
type: Boolean,
|
|
1688
|
+
default: !0
|
|
1689
|
+
},
|
|
1690
|
+
closeOnEsc: {
|
|
1691
|
+
type: Boolean,
|
|
1692
|
+
default: !0
|
|
1693
|
+
},
|
|
1694
|
+
width: {
|
|
1695
|
+
type: String,
|
|
1696
|
+
default: "100%"
|
|
1697
|
+
},
|
|
1698
|
+
height: {
|
|
1699
|
+
type: String,
|
|
1700
|
+
default: "100%"
|
|
1701
|
+
},
|
|
1702
|
+
value: {
|
|
1703
|
+
type: Boolean,
|
|
1704
|
+
default: !1
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
computed: {
|
|
1708
|
+
modalStyle() {
|
|
1709
|
+
return {
|
|
1710
|
+
width: this.width,
|
|
1711
|
+
height: this.height
|
|
1712
|
+
};
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
watch: {
|
|
1716
|
+
modelValue(e) {
|
|
1717
|
+
e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
mounted() {
|
|
1721
|
+
document.addEventListener("keydown", this.handleKeydown);
|
|
1722
|
+
},
|
|
1723
|
+
computed: {
|
|
1724
|
+
isOpen: {
|
|
1725
|
+
get() {
|
|
1726
|
+
return this.value;
|
|
1727
|
+
},
|
|
1728
|
+
set(e) {
|
|
1729
|
+
this.$emit("input", e);
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
beforeDestroy() {
|
|
1734
|
+
document.removeEventListener("keydown", this.handleKeydown), document.body.style.overflow = "";
|
|
1735
|
+
},
|
|
1736
|
+
methods: {
|
|
1737
|
+
close() {
|
|
1738
|
+
this.$emit("update:modelValue", !1), this.isOpen = !1, this.$emit("close");
|
|
1739
|
+
},
|
|
1740
|
+
handleOverlayClick() {
|
|
1741
|
+
this.closeOnOverlay && this.close();
|
|
1742
|
+
},
|
|
1743
|
+
handleKeydown(e) {
|
|
1744
|
+
e.key === "Escape" && this.closeOnEsc && this.modelValue && this.close();
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
}, Se = {};
|
|
1748
|
+
var it = /* @__PURE__ */ $(
|
|
1749
|
+
tt,
|
|
1750
|
+
Je,
|
|
1751
|
+
et,
|
|
1752
|
+
!1,
|
|
1753
|
+
ot,
|
|
1754
|
+
"676e75ae",
|
|
1755
|
+
null,
|
|
1756
|
+
null
|
|
1757
|
+
);
|
|
1758
|
+
function ot(e) {
|
|
1759
|
+
for (let r in Se)
|
|
1760
|
+
this[r] = Se[r];
|
|
1761
|
+
}
|
|
1762
|
+
const _t = /* @__PURE__ */ function() {
|
|
1763
|
+
return it.exports;
|
|
1764
|
+
}();
|
|
1765
|
+
var st = function() {
|
|
1766
|
+
var e = this, r = e.$createElement, a = e._self._c || r;
|
|
1767
|
+
return a("transition", {
|
|
1679
1768
|
attrs: {
|
|
1680
1769
|
name: e.enableAnimation ? "dialog-slide" : ""
|
|
1681
1770
|
}
|
|
1682
|
-
}, [e.modelValue ?
|
|
1771
|
+
}, [e.modelValue ? a("div", {
|
|
1683
1772
|
staticClass: "sky-dialogbox sky-dialogbox-classic",
|
|
1684
1773
|
style: [e.zIndex ? {
|
|
1685
1774
|
"z-index": e.zIndex
|
|
1686
1775
|
} : null]
|
|
1687
|
-
}, [
|
|
1776
|
+
}, [a("div", {
|
|
1688
1777
|
staticClass: "sky-dialog-overlay",
|
|
1689
1778
|
class: {
|
|
1690
1779
|
"sky-dialog-animate": e.enableAnimation
|
|
1691
1780
|
}
|
|
1692
|
-
}, [
|
|
1781
|
+
}, [a("div", {
|
|
1693
1782
|
ref: "dialogContent",
|
|
1694
1783
|
staticClass: "sky-dialog-content"
|
|
1695
|
-
}, [
|
|
1784
|
+
}, [a("div", {
|
|
1696
1785
|
staticClass: "sky-dialog-title",
|
|
1697
1786
|
class: {
|
|
1698
1787
|
"sky-dialog-title-with-subtitle": e.subtitle
|
|
1699
1788
|
}
|
|
1700
|
-
}, [e._v(" " + e._s(e.title) + " "), e.subtitle ?
|
|
1789
|
+
}, [e._v(" " + e._s(e.title) + " "), e.subtitle ? a("span", {
|
|
1701
1790
|
staticClass: "sky-dialog-subtitle"
|
|
1702
|
-
}, [e._v(e._s(e.subtitle))]) : e._e()]),
|
|
1791
|
+
}, [e._v(e._s(e.subtitle))]) : e._e()]), a("button", {
|
|
1703
1792
|
staticClass: "sky-dialog-close",
|
|
1704
1793
|
attrs: {
|
|
1705
1794
|
title: e.closeText
|
|
@@ -1707,13 +1796,13 @@ var ot = function() {
|
|
|
1707
1796
|
on: {
|
|
1708
1797
|
click: e.close
|
|
1709
1798
|
}
|
|
1710
|
-
}, [
|
|
1799
|
+
}, [a("svg", {
|
|
1711
1800
|
attrs: {
|
|
1712
1801
|
viewBox: "0 0 16 16",
|
|
1713
1802
|
width: "16",
|
|
1714
1803
|
height: "16"
|
|
1715
1804
|
}
|
|
1716
|
-
}, [
|
|
1805
|
+
}, [a("line", {
|
|
1717
1806
|
attrs: {
|
|
1718
1807
|
x1: "1",
|
|
1719
1808
|
y1: "15",
|
|
@@ -1722,7 +1811,7 @@ var ot = function() {
|
|
|
1722
1811
|
stroke: "currentColor",
|
|
1723
1812
|
"stroke-width": "2"
|
|
1724
1813
|
}
|
|
1725
|
-
}),
|
|
1814
|
+
}), a("line", {
|
|
1726
1815
|
attrs: {
|
|
1727
1816
|
x1: "1",
|
|
1728
1817
|
y1: "1",
|
|
@@ -1731,9 +1820,9 @@ var ot = function() {
|
|
|
1731
1820
|
stroke: "currentColor",
|
|
1732
1821
|
"stroke-width": "2"
|
|
1733
1822
|
}
|
|
1734
|
-
})])]),
|
|
1823
|
+
})])]), a("div", {
|
|
1735
1824
|
staticClass: "sky-dialog-clearfix"
|
|
1736
|
-
}),
|
|
1825
|
+
}), a("div", {
|
|
1737
1826
|
ref: "dialogPaper",
|
|
1738
1827
|
staticClass: "sky-dialog-paper",
|
|
1739
1828
|
class: {
|
|
@@ -1743,16 +1832,16 @@ var ot = function() {
|
|
|
1743
1832
|
touchstart: e.handleTouchStart,
|
|
1744
1833
|
touchend: e.handleTouchEnd
|
|
1745
1834
|
}
|
|
1746
|
-
}, [e.isIos ?
|
|
1835
|
+
}, [e.isIos ? a("div", {
|
|
1747
1836
|
staticClass: "sky-dialog-swipe-area"
|
|
1748
|
-
}) : e._e(), e._t("default")], 2), e.showFooter ?
|
|
1837
|
+
}) : e._e(), e._t("default")], 2), e.showFooter ? a("div", {
|
|
1749
1838
|
staticClass: "sky-dialog-footer",
|
|
1750
1839
|
class: {
|
|
1751
1840
|
"sky-dialog-footer-animate": e.enableAnimation
|
|
1752
1841
|
}
|
|
1753
1842
|
}, [e._t("buttons")], 2) : e._e()])])]) : e._e()]);
|
|
1754
1843
|
}, at = [];
|
|
1755
|
-
const
|
|
1844
|
+
const nt = {
|
|
1756
1845
|
name: "DialogModal",
|
|
1757
1846
|
props: {
|
|
1758
1847
|
modelValue: {
|
|
@@ -1777,7 +1866,7 @@ const st = {
|
|
|
1777
1866
|
},
|
|
1778
1867
|
enableAnimation: {
|
|
1779
1868
|
type: Boolean,
|
|
1780
|
-
default: !
|
|
1869
|
+
default: !1
|
|
1781
1870
|
},
|
|
1782
1871
|
closeOnEsc: {
|
|
1783
1872
|
type: Boolean,
|
|
@@ -1848,52 +1937,54 @@ const st = {
|
|
|
1848
1937
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
1849
1938
|
const e = Android.getDisplayCutoutTop();
|
|
1850
1939
|
if (e && window.devicePixelRatio > 1) {
|
|
1851
|
-
const
|
|
1852
|
-
this.$refs.dialogContent.style.paddingTop =
|
|
1940
|
+
const r = e / window.devicePixelRatio;
|
|
1941
|
+
this.$refs.dialogContent.style.paddingTop = r + "px";
|
|
1853
1942
|
}
|
|
1854
1943
|
}
|
|
1855
1944
|
} catch {
|
|
1856
1945
|
}
|
|
1857
1946
|
}
|
|
1858
1947
|
}
|
|
1859
|
-
},
|
|
1860
|
-
var
|
|
1948
|
+
}, Ee = {};
|
|
1949
|
+
var rt = /* @__PURE__ */ $(
|
|
1950
|
+
nt,
|
|
1861
1951
|
st,
|
|
1862
|
-
ot,
|
|
1863
1952
|
at,
|
|
1864
1953
|
!1,
|
|
1865
|
-
|
|
1866
|
-
"
|
|
1954
|
+
lt,
|
|
1955
|
+
"741ecfbc",
|
|
1867
1956
|
null,
|
|
1868
1957
|
null
|
|
1869
1958
|
);
|
|
1870
|
-
function
|
|
1871
|
-
for (let
|
|
1872
|
-
this[
|
|
1959
|
+
function lt(e) {
|
|
1960
|
+
for (let r in Ee)
|
|
1961
|
+
this[r] = Ee[r];
|
|
1873
1962
|
}
|
|
1874
1963
|
const ne = /* @__PURE__ */ function() {
|
|
1875
|
-
return
|
|
1964
|
+
return rt.exports;
|
|
1876
1965
|
}();
|
|
1877
|
-
var
|
|
1878
|
-
var e = this,
|
|
1879
|
-
return
|
|
1966
|
+
var dt = function() {
|
|
1967
|
+
var e = this, r = e.$createElement, a = e._self._c || r;
|
|
1968
|
+
return a("transition", {
|
|
1880
1969
|
attrs: {
|
|
1881
1970
|
name: e.enableAnimation ? "dialog-slide" : ""
|
|
1882
1971
|
}
|
|
1883
|
-
}, [e.modelValue ?
|
|
1972
|
+
}, [e.modelValue ? a("div", {
|
|
1884
1973
|
staticClass: "sky-dialogbox sky-dialogbox-next",
|
|
1885
1974
|
style: [e.zIndex ? {
|
|
1886
1975
|
"z-index": e.zIndex
|
|
1887
1976
|
} : null]
|
|
1888
|
-
}, [
|
|
1977
|
+
}, [a("div", {
|
|
1889
1978
|
staticClass: "sky-dialog-overlay",
|
|
1890
1979
|
class: {
|
|
1891
1980
|
"sky-dialog-animate": e.enableAnimation
|
|
1892
1981
|
}
|
|
1893
|
-
}, [
|
|
1982
|
+
}, [a("div", {
|
|
1894
1983
|
ref: "dialogContent",
|
|
1895
1984
|
staticClass: "sky-dialog-content"
|
|
1896
|
-
}, [
|
|
1985
|
+
}, [a("div", {
|
|
1986
|
+
staticClass: "sky-dialog-header"
|
|
1987
|
+
}, [a("button", {
|
|
1897
1988
|
staticClass: "sky-dialog-back",
|
|
1898
1989
|
attrs: {
|
|
1899
1990
|
title: e.closeText
|
|
@@ -1901,7 +1992,7 @@ var lt = function() {
|
|
|
1901
1992
|
on: {
|
|
1902
1993
|
click: e.close
|
|
1903
1994
|
}
|
|
1904
|
-
}, [
|
|
1995
|
+
}, [a("svg", {
|
|
1905
1996
|
staticStyle: {
|
|
1906
1997
|
transform: "rotate(90deg)"
|
|
1907
1998
|
},
|
|
@@ -1910,21 +2001,19 @@ var lt = function() {
|
|
|
1910
2001
|
height: "15",
|
|
1911
2002
|
viewBox: "0 0 451.847 451.847"
|
|
1912
2003
|
}
|
|
1913
|
-
}, [
|
|
2004
|
+
}, [a("path", {
|
|
1914
2005
|
attrs: {
|
|
1915
2006
|
fill: "currentColor",
|
|
1916
2007
|
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"
|
|
1917
2008
|
}
|
|
1918
|
-
})])]),
|
|
2009
|
+
})])]), a("div", {
|
|
1919
2010
|
staticClass: "sky-dialog-title",
|
|
1920
2011
|
class: {
|
|
1921
2012
|
"sky-dialog-title-with-subtitle": e.subtitle
|
|
1922
2013
|
}
|
|
1923
|
-
}, [e._v(" " + e._s(e.title) + " "), e.subtitle ?
|
|
2014
|
+
}, [e._v(" " + e._s(e.title) + " "), e.subtitle ? a("span", {
|
|
1924
2015
|
staticClass: "sky-dialog-subtitle"
|
|
1925
|
-
}, [e._v(e._s(e.subtitle))]) : e._e()]),
|
|
1926
|
-
staticClass: "sky-dialog-clearfix"
|
|
1927
|
-
}), n("div", {
|
|
2016
|
+
}, [e._v(e._s(e.subtitle))]) : e._e()])]), a("div", {
|
|
1928
2017
|
ref: "dialogPaper",
|
|
1929
2018
|
staticClass: "sky-dialog-paper",
|
|
1930
2019
|
class: {
|
|
@@ -1934,16 +2023,16 @@ var lt = function() {
|
|
|
1934
2023
|
touchstart: e.handleTouchStart,
|
|
1935
2024
|
touchend: e.handleTouchEnd
|
|
1936
2025
|
}
|
|
1937
|
-
}, [e.isIos ?
|
|
2026
|
+
}, [e.isIos ? a("div", {
|
|
1938
2027
|
staticClass: "sky-dialog-swipe-area"
|
|
1939
|
-
}) : e._e(), e._t("default")], 2), e.showFooter ?
|
|
2028
|
+
}) : e._e(), e._t("default")], 2), e.showFooter ? a("div", {
|
|
1940
2029
|
staticClass: "sky-dialog-footer",
|
|
1941
2030
|
class: {
|
|
1942
2031
|
"sky-dialog-footer-animate": e.enableAnimation
|
|
1943
2032
|
}
|
|
1944
2033
|
}, [e._t("buttons")], 2) : e._e()])])]) : e._e()]);
|
|
1945
|
-
},
|
|
1946
|
-
const
|
|
2034
|
+
}, ct = [];
|
|
2035
|
+
const ut = {
|
|
1947
2036
|
name: "DialogNext",
|
|
1948
2037
|
props: {
|
|
1949
2038
|
modelValue: {
|
|
@@ -1968,7 +2057,7 @@ const ct = {
|
|
|
1968
2057
|
},
|
|
1969
2058
|
enableAnimation: {
|
|
1970
2059
|
type: Boolean,
|
|
1971
|
-
default: !
|
|
2060
|
+
default: !1
|
|
1972
2061
|
},
|
|
1973
2062
|
closeOnEsc: {
|
|
1974
2063
|
type: Boolean,
|
|
@@ -2039,8 +2128,8 @@ const ct = {
|
|
|
2039
2128
|
if (typeof Android < "u" && Android.getDisplayCutoutTop) {
|
|
2040
2129
|
const e = Android.getDisplayCutoutTop();
|
|
2041
2130
|
if (e && window.devicePixelRatio > 1) {
|
|
2042
|
-
const
|
|
2043
|
-
this.$refs.dialogContent.style.paddingTop =
|
|
2131
|
+
const r = e / window.devicePixelRatio;
|
|
2132
|
+
this.$refs.dialogContent.style.paddingTop = r + "px";
|
|
2044
2133
|
}
|
|
2045
2134
|
}
|
|
2046
2135
|
} catch {
|
|
@@ -2048,26 +2137,26 @@ const ct = {
|
|
|
2048
2137
|
}
|
|
2049
2138
|
}
|
|
2050
2139
|
}, Te = {};
|
|
2051
|
-
var
|
|
2052
|
-
|
|
2053
|
-
lt,
|
|
2140
|
+
var bt = /* @__PURE__ */ $(
|
|
2141
|
+
ut,
|
|
2054
2142
|
dt,
|
|
2143
|
+
ct,
|
|
2055
2144
|
!1,
|
|
2056
|
-
|
|
2057
|
-
"
|
|
2145
|
+
wt,
|
|
2146
|
+
"646fe7c7",
|
|
2058
2147
|
null,
|
|
2059
2148
|
null
|
|
2060
2149
|
);
|
|
2061
|
-
function
|
|
2062
|
-
for (let
|
|
2063
|
-
this[
|
|
2150
|
+
function wt(e) {
|
|
2151
|
+
for (let r in Te)
|
|
2152
|
+
this[r] = Te[r];
|
|
2064
2153
|
}
|
|
2065
2154
|
const re = /* @__PURE__ */ function() {
|
|
2066
|
-
return
|
|
2155
|
+
return bt.exports;
|
|
2067
2156
|
}();
|
|
2068
|
-
var
|
|
2069
|
-
var e = this,
|
|
2070
|
-
return
|
|
2157
|
+
var ht = function() {
|
|
2158
|
+
var e = this, r = e.$createElement, a = e._self._c || r;
|
|
2159
|
+
return a(e.dialogComponent, {
|
|
2071
2160
|
tag: "component",
|
|
2072
2161
|
attrs: {
|
|
2073
2162
|
title: e.title,
|
|
@@ -2079,10 +2168,10 @@ var wt = function() {
|
|
|
2079
2168
|
"has-buttons": !!e.$slots.buttons
|
|
2080
2169
|
},
|
|
2081
2170
|
on: {
|
|
2082
|
-
close: function(
|
|
2171
|
+
close: function(b) {
|
|
2083
2172
|
return e.$emit("close");
|
|
2084
2173
|
},
|
|
2085
|
-
save: function(
|
|
2174
|
+
save: function(b) {
|
|
2086
2175
|
return e.$emit("save");
|
|
2087
2176
|
}
|
|
2088
2177
|
},
|
|
@@ -2095,14 +2184,14 @@ var wt = function() {
|
|
|
2095
2184
|
} : null], null, !0),
|
|
2096
2185
|
model: {
|
|
2097
2186
|
value: e.isOpen,
|
|
2098
|
-
callback: function(
|
|
2099
|
-
e.isOpen =
|
|
2187
|
+
callback: function(b) {
|
|
2188
|
+
e.isOpen = b;
|
|
2100
2189
|
},
|
|
2101
2190
|
expression: "isOpen"
|
|
2102
2191
|
}
|
|
2103
2192
|
}, [e._t("default")], 2);
|
|
2104
|
-
},
|
|
2105
|
-
const
|
|
2193
|
+
}, pt = [];
|
|
2194
|
+
const ft = {
|
|
2106
2195
|
name: "Dialog",
|
|
2107
2196
|
components: {
|
|
2108
2197
|
DialogModal: ne,
|
|
@@ -2131,7 +2220,7 @@ const pt = {
|
|
|
2131
2220
|
},
|
|
2132
2221
|
enableAnimation: {
|
|
2133
2222
|
type: Boolean,
|
|
2134
|
-
default: !
|
|
2223
|
+
default: !1
|
|
2135
2224
|
},
|
|
2136
2225
|
closeOnEsc: {
|
|
2137
2226
|
type: Boolean,
|
|
@@ -2172,26 +2261,26 @@ const pt = {
|
|
|
2172
2261
|
}
|
|
2173
2262
|
}
|
|
2174
2263
|
}, Oe = {};
|
|
2175
|
-
var mt = /* @__PURE__ */
|
|
2176
|
-
|
|
2177
|
-
wt,
|
|
2264
|
+
var mt = /* @__PURE__ */ $(
|
|
2265
|
+
ft,
|
|
2178
2266
|
ht,
|
|
2267
|
+
pt,
|
|
2179
2268
|
!1,
|
|
2180
|
-
|
|
2269
|
+
vt,
|
|
2181
2270
|
null,
|
|
2182
2271
|
null,
|
|
2183
2272
|
null
|
|
2184
2273
|
);
|
|
2185
|
-
function
|
|
2186
|
-
for (let
|
|
2187
|
-
this[
|
|
2274
|
+
function vt(e) {
|
|
2275
|
+
for (let r in Oe)
|
|
2276
|
+
this[r] = Oe[r];
|
|
2188
2277
|
}
|
|
2189
|
-
const
|
|
2278
|
+
const yt = /* @__PURE__ */ function() {
|
|
2190
2279
|
return mt.exports;
|
|
2191
2280
|
}();
|
|
2192
2281
|
export {
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2282
|
+
Qe as BaseTeleport,
|
|
2283
|
+
yt as Dialog,
|
|
2284
|
+
gt as Header,
|
|
2196
2285
|
_t as Modal
|
|
2197
2286
|
};
|