This commit is contained in:
dni ⚡
2025-12-23 10:58:58 +01:00
parent 30ffe437a0
commit 3498cfb5b8
+91 -91
View File
@@ -50,18 +50,18 @@
} }
if (i(e) || u(e)) return e if (i(e) || u(e)) return e
} }
const w = /;(?![^(]*\))/g, const b = /;(?![^(]*\))/g,
b = /:([^]+)/, w = /:([^]+)/,
E = /\/\*[^]*?\*\//g E = /\/\*[^]*?\*\//g
function C(e) { function C(e) {
const n = {} const n = {}
return ( return (
e e
.replace(E, '') .replace(E, '')
.split(w) .split(b)
.forEach(e => { .forEach(e => {
if (e) { if (e) {
const t = e.split(b) const t = e.split(w)
t.length > 1 && (n[t[0].trim()] = t[1].trim()) t.length > 1 && (n[t[0].trim()] = t[1].trim())
} }
}), }),
@@ -305,8 +305,8 @@
const B = [] const B = []
let G = -1 let G = -1
const J = [] const J = []
let L = null, let W = null,
W = 0 L = 0
const K = Promise.resolve() const K = Promise.resolve()
let Q = null let Q = null
function X(e) { function X(e) {
@@ -361,19 +361,19 @@
(function (e) { (function (e) {
if (J.length) { if (J.length) {
const n = [...new Set(J)].sort((e, n) => Z(e) - Z(n)) const n = [...new Set(J)].sort((e, n) => Z(e) - Z(n))
if (((J.length = 0), L)) return void L.push(...n) if (((J.length = 0), W)) return void W.push(...n)
for ( for (
L = n, 'production' !== T.NODE_ENV && (e = e || new Map()), W = 0; W = n, 'production' !== T.NODE_ENV && (e = e || new Map()), L = 0;
W < L.length; L < W.length;
W++ L++
) { ) {
const n = L[W] const n = W[L]
;('production' !== T.NODE_ENV && ne(e, n)) || ;('production' !== T.NODE_ENV && ne(e, n)) ||
(4 & n.flags && (n.flags &= -2), (4 & n.flags && (n.flags &= -2),
8 & n.flags || n(), 8 & n.flags || n(),
(n.flags &= -2)) (n.flags &= -2))
} }
;((L = null), (W = 0)) ;((W = null), (L = 0))
} }
})(e), })(e),
(Q = null), (Q = null),
@@ -447,8 +447,8 @@
}), }),
c(r) c(r)
? J.push(...r) ? J.push(...r)
: L && -1 === r.id : W && -1 === r.id
? L.splice(W + 1, 0, r) ? W.splice(L + 1, 0, r)
: 1 & r.flags || (J.push(r), (r.flags |= 1)), : 1 & r.flags || (J.push(r), (r.flags |= 1)),
Y()) Y())
var r var r
@@ -524,7 +524,7 @@
function ve(e = !1) { function ve(e = !1) {
ye.push((_e = e ? null : [])) ye.push((_e = e ? null : []))
} }
function we(e) { function be(e) {
return ( return (
(e.dynamicChildren = _e || t), (e.dynamicChildren = _e || t),
ye.pop(), ye.pop(),
@@ -533,8 +533,8 @@
e e
) )
} }
function be(e, n, t, o, r) { function we(e, n, t, o, r) {
return we(ke(e, n, t, o, r, !0)) return be(ke(e, n, t, o, r, !0))
} }
const Ee = ({key: e}) => (null != e ? e : null), const Ee = ({key: e}) => (null != e ? e : null),
Ce = ({ref: e, ref_key: n, ref_for: t}) => ( Ce = ({ref: e, ref_key: n, ref_for: t}) => (
@@ -897,12 +897,19 @@
: (window.devtoolsFormatters = [i]) : (window.devtoolsFormatters = [i])
} }
'production' !== {}.NODE_ENV && Ie() 'production' !== {}.NODE_ENV && Ie()
const Me = (e, n) => { const Me = {class: 'text-center q-pa-md flex flex-center'},
const t = e.__vccOpts || e Ue = ['textContent'],
for (const [o, r] of n) t[o] = r He = ['textContent'],
return t Pe = {
}, class: 'q-mx-auto q-mt-lg justify-center',
Ue = { style: {width: 'max-content'}
}
const qe = ((e, n) => {
const t = e.__vccOpts || e
for (const [o, r] of n) t[o] = r
return t
})(
{
props: ['dynamic', 'code', 'message'], props: ['dynamic', 'code', 'message'],
computed: { computed: {
isExtension() { isExtension() {
@@ -943,78 +950,71 @@
void this.logOut() void this.logOut()
) )
} }
} },
'undefined' != typeof window && (window.LnbitsError = Ue)
const He = {class: 'text-center q-pa-md flex flex-center'},
Pe = ['textContent'],
qe = ['textContent'],
ze = {
class: 'q-mx-auto q-mt-lg justify-center',
style: {width: 'max-content'}
}
const Be = Me(Ue, [
[ [
'render', [
function (e, n, t, o, r, s) { 'render',
const c = ae('q-btn') function (e, n, t, o, r, s) {
return ( const c = ae('q-btn')
ve(), return (
(l = 'div'), ve(),
(i = He), (l = 'div'),
(a = [ (i = Me),
Ne('div', null, [ (a = [
Ne( Ne('div', null, [
'div', Ne(
{class: 'error-code', textContent: x(e.code)}, 'div',
null, {class: 'error-code', textContent: x(t.code)},
8, null,
Pe 8,
), Ue
Ne( ),
'div', Ne(
{class: 'error-message', textContent: x(e.message)}, 'div',
null, {class: 'error-message', textContent: x(t.message)},
8, null,
qe 8,
), He
Ne('div', ze, [ ),
e.isExtension Ne('div', Pe, [
? (ve(), s.isExtension
be(c, {
key: 0,
color: 'primary',
onClick: n[0] || (n[0] = n => e.goToExtension()),
label: 'Go To Extension'
}))
: e.g.isUserAuthorized
? (ve(), ? (ve(),
be(c, { we(c, {
key: 1, key: 0,
color: 'primary', color: 'primary',
onClick: n[1] || (n[1] = n => e.goToWallet()), onClick: n[0] || (n[0] = e => s.goToExtension()),
label: 'Go to Wallet' label: 'Go To Extension'
})) }))
: (ve(), : e.g.isUserAuthorized
be(c, { ? (ve(),
key: 2, we(c, {
color: 'primary', key: 1,
onClick: n[2] || (n[2] = n => e.goBack()), color: 'primary',
label: 'Go Back' onClick: n[1] || (n[1] = e => s.goToWallet()),
})), label: 'Go to Wallet'
n[4] || (n[4] = Ne('span', {class: 'q-mx-md'}, 'OR', -1)), }))
ke(c, { : (ve(),
color: 'secondary', we(c, {
onClick: n[3] || (n[3] = n => e.goHome()), key: 2,
label: 'Go Home' color: 'primary',
}) onClick: n[2] || (n[2] = e => s.goBack()),
label: 'Go Back'
})),
n[4] || (n[4] = Ne('span', {class: 'q-mx-md'}, 'OR', -1)),
ke(c, {
color: 'secondary',
onClick: n[3] || (n[3] = e => s.goHome()),
label: 'Go Home'
})
])
]) ])
]) ]),
]), be(Ne(l, i, a, u, p, d, !0))
we(Ne(l, i, a, u, p, d, !0)) )
) var l, i, a, u, p, d
var l, i, a, u, p, d }
} ]
] ]
]) )
window.LnbitsError = Be window.LnbitsError = qe
}) })