@everymatrix/player-account-controller 1.92.2 → 1.92.3
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/components/{GeneralLogout-WQPZo1XA.js → GeneralLogout-BewfWDIc.js} +1 -1
- package/components/{GeneralLogout-DwUKWQEM.cjs → GeneralLogout-C2y7Y1dE.cjs} +1 -1
- package/components/{GeneralLogout-RtZ56Nn3.js → GeneralLogout-Czvcegs5.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CvFZhJr5.js → PlayerAccountBettingHistory-CM97TaVJ.js} +1 -1
- package/components/{PlayerAccountBettingHistory-B73xqRDd.cjs → PlayerAccountBettingHistory-DLSYtCZp.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CmbPT188.js → PlayerAccountBettingHistory-s5znvIxt.js} +1 -1
- package/components/{PlayerAccountBiometrics-NfD7xlui.js → PlayerAccountBiometrics-BKYna6WA.js} +2 -2
- package/components/{PlayerAccountBiometrics-8QlKdliQ.cjs → PlayerAccountBiometrics-Qoytvaxy.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DPDH3rze.js → PlayerAccountBiometrics-h-dyAXxg.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-DfVIWqGO.js → PlayerAccountBiometricsAction-BqGYtfNg.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-oyPYqpGN.cjs → PlayerAccountBiometricsAction-ClGKS2gp.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-Cerl0hxM.js → PlayerAccountBiometricsAction-DDXu8QXv.js} +1 -1
- package/components/{PlayerAccountClosure-wcTZTC1v.cjs → PlayerAccountClosure-BGsdGJU3.cjs} +1 -1
- package/components/{PlayerAccountClosure-DNkokDK1.js → PlayerAccountClosure-BssaJEGB.js} +1 -1
- package/components/{PlayerAccountClosure-CaVbfY7o.js → PlayerAccountClosure-PwcGFe0J.js} +1 -1
- package/components/{PlayerAccountController-DErgObNK.cjs → PlayerAccountController-DLXlZ6SW.cjs} +1 -1
- package/components/{PlayerAccountController-DG3KbTWa.js → PlayerAccountController-DsJ74Us2.js} +22 -22
- package/components/{PlayerAccountController-DyqNYFxa.js → PlayerAccountController-SntRT_hM.js} +22 -22
- package/components/{PlayerAccountGamingLimits-Dr2DFwJy.js → PlayerAccountGamingLimits-BBI62m2M.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C92dYqb3.js → PlayerAccountGamingLimits-CTGgeEPm.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Ur_9kp2o.cjs → PlayerAccountGamingLimits-_RZx_m5W.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BdKrgcP9.cjs → PlayerAccountGamingLimitsConfirmationModal-CE01pg7P.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-JoLpq5Qd.js → PlayerAccountGamingLimitsConfirmationModal-CKwFrXcz.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DzSs9Wlh.js → PlayerAccountGamingLimitsConfirmationModal-DFOcuwIh.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-C61nqLfa.js → PlayerAccountGamingLimitsGroupEdit-6y04dYzq.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-CQylV_LW.cjs → PlayerAccountGamingLimitsGroupEdit-CdkRwGIG.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CGPf2GzC.js → PlayerAccountGamingLimitsGroupEdit-DWC376x3.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-DJ-Cjyp1.cjs → PlayerAccountGamingLimitsHistory2-BFKK_PHb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BntJofdm.js → PlayerAccountGamingLimitsHistory2-CBEGaMY3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CEqiSFnd.js → PlayerAccountGamingLimitsHistory2-ClfDvYz5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CZcelMtY.cjs → PlayerAccountGamingLimitsInfoCard-BhJtrPGf.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-Bzww1-RJ.js → PlayerAccountGamingLimitsInfoCard-CYBvAKAo.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DnWRF2MA.js → PlayerAccountGamingLimitsInfoCard-DuAQqQMM.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B-RLJAxy.js → PlayerAccountGamingLimitsPage2Gm16-BYzr5vwa.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BIphnM6Y.js → PlayerAccountGamingLimitsPage2Gm16-C8uCJhKP.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CNA7QruD.cjs → PlayerAccountGamingLimitsPage2Gm16-D7tAsvtX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CSLlyssM.js → PlayerAccountGamingLimitsPopup-B_ct-g3T.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BdBRIFfU.js → PlayerAccountGamingLimitsPopup-CUDTCM1F.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-o3iv0A6x.cjs → PlayerAccountGamingLimitsPopup-D9_oGqEa.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DcQHUkFT.cjs → PlayerAccountGamingLimitsWrapper2-BliP4ItH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DwZwd-hy.js → PlayerAccountGamingLimitsWrapper2-C2zg2CAI.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-05u-l372.js → PlayerAccountGamingLimitsWrapper2-D2BMF4mt.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-CjKLQaHH.js → PlayerAccountGeneralConfirmationModal-B_t7QPdS.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BbGVvtLY.cjs → PlayerAccountGeneralConfirmationModal-BtbmIISI.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Cst4rd-S.js → PlayerAccountGeneralConfirmationModal-CqON6ro1.js} +1 -1
- package/components/{PlayerAccountMenu-CdjH1gEW.js → PlayerAccountMenu-D8cVhd2H.js} +2 -2
- package/components/{PlayerAccountMenu-Cr_HRHLF.js → PlayerAccountMenu-DQCrC-4R.js} +2 -2
- package/components/{PlayerAccountMenu-C3slbiux.cjs → PlayerAccountMenu-DnRhW9pN.cjs} +1 -1
- package/components/{PlayerAccountModal-u6LegtfR.cjs → PlayerAccountModal-BLW1ybcK.cjs} +1 -1
- package/components/{PlayerAccountModal-C6p2KI7k.js → PlayerAccountModal-CeP6yj14.js} +1 -1
- package/components/{PlayerAccountModal-BRWjYAGu.js → PlayerAccountModal-DpJNoelk.js} +1 -1
- package/components/{PlayerAccountNotifications-tWE-aFjO.js → PlayerAccountNotifications-BFcCZ7Zu.js} +1 -1
- package/components/{PlayerAccountNotifications-C2A1_LCL.js → PlayerAccountNotifications-CxHtpdNr.js} +1 -1
- package/components/{PlayerAccountNotifications-QFoWBKny.cjs → PlayerAccountNotifications-DbQdy81X.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-DkDbBfka.js → PlayerAccountProductRestriction-CZ7EoRjk.js} +3 -3
- package/components/{PlayerAccountProductRestriction-B0Ri7MHw.js → PlayerAccountProductRestriction-LMRzxRV2.js} +3 -3
- package/components/{PlayerAccountProductRestriction-HHHbDtlq.cjs → PlayerAccountProductRestriction-ktMW-ZvT.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DpI_eJta.js → PlayerAccountReviewFrequency-CfmK1Obu.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-CV609scj.js → PlayerAccountReviewFrequency-DlpnpwkB.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-D9TTXGcO.cjs → PlayerAccountReviewFrequency-DnabhObX.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-B9-rTgYV.cjs → PlayerAccountSelfExclusion-0v1N8elD.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DoGu-Fe9.js → PlayerAccountSelfExclusion-CtIgMC0t.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-B0jQ5C6c.js → PlayerAccountSelfExclusion-Jb_V4i6_.js} +2 -2
- package/components/{PlayerAccountTimeout-CJccgvCT.js → PlayerAccountTimeout-8fzk_RgK.js} +3 -3
- package/components/{PlayerAccountTimeout-ojIglJPR.js → PlayerAccountTimeout-B_rvinGm.js} +3 -3
- package/components/{PlayerAccountTimeout-Bi1R5_Rb.cjs → PlayerAccountTimeout-PUZUbjl5.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-Coa29LAd.js → PlayerAccountTransactionsHistory-Cmvap37J.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-DUwj5lNk.cjs → PlayerAccountTransactionsHistory-D4v46D-9.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DjwLYkfj.js → PlayerAccountTransactionsHistory-DLu-55uY.js} +4 -4
- package/components/{PlayerActiveBonuses-BBeMkdSY.cjs → PlayerActiveBonuses-C1PpUxaU.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Bx0uoqz4.js → PlayerActiveBonuses-DuONPq12.js} +2 -2
- package/components/{PlayerActiveBonuses-B65W7Wz0.js → PlayerActiveBonuses-xqjLxWxj.js} +2 -2
- package/components/{PlayerBonusCard-TMDOHvnL.cjs → PlayerBonusCard-BPekoz_J.cjs} +1 -1
- package/components/{PlayerBonusCard-CbkfDKjT.js → PlayerBonusCard-Cd4CFOvV.js} +2 -2
- package/components/{PlayerBonusCard-CqeLHQ0G.js → PlayerBonusCard-DjeuOIGK.js} +2 -2
- package/components/{PlayerBonusHistory-DwI1OKTw.js → PlayerBonusHistory-D--3LkB0.js} +2 -2
- package/components/{PlayerBonusHistory-7zvs9Ym9.js → PlayerBonusHistory-DU1SycKq.js} +2 -2
- package/components/{PlayerBonusHistory-Mjrhaj6a.cjs → PlayerBonusHistory-DgS2gdht.cjs} +1 -1
- package/components/{PlayerChangePassword-BmC4EyoL.cjs → PlayerChangePassword-B5XpvV9H.cjs} +1 -1
- package/components/{PlayerChangePassword-CfFZhaXQ.js → PlayerChangePassword-CLerFf5K.js} +1 -1
- package/components/{PlayerChangePassword-BqjLItv0.js → PlayerChangePassword-Dl-dCIpW.js} +1 -1
- package/components/{PlayerDeposit-Ba0qJRp2.js → PlayerDeposit-B-v03sTE.js} +1 -1
- package/components/{PlayerDeposit-o49phTHz.cjs → PlayerDeposit-b1W47bGW.cjs} +1 -1
- package/components/{PlayerDeposit-DP8bCOdN.js → PlayerDeposit-h04Mh6YW.js} +1 -1
- package/components/{PlayerGamingHistory-BgapmKYI.js → PlayerGamingHistory-Cv8-Rfzo.js} +3 -3
- package/components/{PlayerGamingHistory-DV6Slzt_.js → PlayerGamingHistory-DmKqCLau.js} +3 -3
- package/components/{PlayerGamingHistory-DvW-LsKl.cjs → PlayerGamingHistory-DsW9jT5y.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-HEjFhSrJ.cjs → PlayerPendingWithdrawals-DYzXY4hW.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CedsWvDL.js → PlayerPendingWithdrawals-Dn8gpaSl.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BZ62DYZ9.js → PlayerPendingWithdrawals-ZAMQ5qqB.js} +1 -1
- package/components/{PlayerProfileInfo-BDF3Bqtt.js → PlayerProfileInfo-B7dKfAe_.js} +3 -3
- package/components/{PlayerProfileInfo-DPDI61Mv.js → PlayerProfileInfo-BEMt39Gt.js} +3 -3
- package/components/{PlayerProfileInfo-DXVRL3lh.cjs → PlayerProfileInfo-DjD4E513.cjs} +1 -1
- package/components/{PlayerRealityCheck-DgPTeJe_.js → PlayerRealityCheck-B52w0x7t.js} +1 -1
- package/components/{PlayerRealityCheck-CMZtzPkR.cjs → PlayerRealityCheck-Bnyc-oHq.cjs} +1 -1
- package/components/{PlayerRealityCheck-CLVunEKT.js → PlayerRealityCheck-Dbzh832i.js} +1 -1
- package/components/{PlayerTransactionHistory-CHhOIZhh.js → PlayerTransactionHistory-B70UTWWR.js} +1 -1
- package/components/{PlayerTransactionHistory-S0lzcu95.js → PlayerTransactionHistory-C81SVMNQ.js} +1 -1
- package/components/{PlayerTransactionHistory-BEqLK737.cjs → PlayerTransactionHistory-D8Jy6PgB.cjs} +1 -1
- package/components/{PlayerWithdrawal-C46pCXyV.js → PlayerWithdrawal-C3SkDGS_.js} +1 -1
- package/components/{PlayerWithdrawal-DKCRQ9pT.cjs → PlayerWithdrawal-CJUkIcgA.cjs} +1 -1
- package/components/{PlayerWithdrawal-BqAC-Oq4.js → PlayerWithdrawal-DlCsEoDt.js} +1 -1
- package/components/{QrSessionGenerator-DgIh_dAl.js → QrSessionGenerator-BzNmvH-J.js} +463 -453
- package/components/QrSessionGenerator-DatUnp4r.cjs +8 -0
- package/components/{QrSessionGenerator-BkFSg0GV.js → QrSessionGenerator-hn3NvTO5.js} +441 -431
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/QrSessionGenerator--jEOQTub.cjs +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var j = (e, t, n) => new Promise((o, r) => {
|
|
2
2
|
var i = (a) => {
|
|
3
3
|
try {
|
|
4
4
|
l(n.next(a));
|
|
@@ -14,34 +14,36 @@ var Et = (e, t, n) => new Promise((o, r) => {
|
|
|
14
14
|
}, l = (a) => a.done ? o(a.value) : Promise.resolve(a.value).then(i, s);
|
|
15
15
|
l((n = n.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as
|
|
18
|
-
function
|
|
19
|
-
|
|
17
|
+
import { a as Wt, $ as Xt, S as Zt, i as xt, s as $t, f as F, b as te, n as ht, d as nt, t as mt, c as rt, m as P, w as ee, e as U, u as wt, p as It, r as _, g as ne, I as re, j as oe, y as Nt, z as ie, A as se, B as ae, C as le, D as ue } from "./PlayerAccountController-SntRT_hM.js";
|
|
18
|
+
function Rt(e, t) {
|
|
19
|
+
Wt(e, t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
21
|
+
function ce(e) {
|
|
22
|
+
Xt.set(e);
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const Mt = {
|
|
25
25
|
en: {
|
|
26
26
|
titleQRSessionGenerator: "Scan the QR Code to access your account on retail devices.",
|
|
27
27
|
generateQRButton: "Generate QR",
|
|
28
28
|
unauthorized: "Authentication failed.",
|
|
29
29
|
failedToFetch: "Cannot generate QR, Please try again.",
|
|
30
|
-
unexpectedError: "Unexpected error occurred. Please try again later."
|
|
30
|
+
unexpectedError: "Unexpected error occurred. Please try again later.",
|
|
31
|
+
second: "s"
|
|
31
32
|
},
|
|
32
33
|
fr: {
|
|
33
34
|
titleQRSessionGenerator: "Scannez le code QR pour accéder à votre compte sur les appareils en magasin.",
|
|
34
35
|
generateQRButton: "Générer des QR",
|
|
35
36
|
unauthorized: "L'authentification a échoué.",
|
|
36
37
|
failedToFetch: "Impossible de générer le code QR, veuillez réessayer.",
|
|
37
|
-
unexpectedError: "Une erreur inattendue s'est produite. Veuillez réessayer plus tard."
|
|
38
|
+
unexpectedError: "Une erreur inattendue s'est produite. Veuillez réessayer plus tard.",
|
|
39
|
+
second: "s"
|
|
38
40
|
}
|
|
39
41
|
};
|
|
40
|
-
var
|
|
42
|
+
var q = {}, fe = function() {
|
|
41
43
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
42
|
-
},
|
|
43
|
-
let
|
|
44
|
-
const
|
|
44
|
+
}, Ut = {}, I = {};
|
|
45
|
+
let Bt;
|
|
46
|
+
const de = [
|
|
45
47
|
0,
|
|
46
48
|
// Not used
|
|
47
49
|
26,
|
|
@@ -85,34 +87,34 @@ const le = [
|
|
|
85
87
|
3532,
|
|
86
88
|
3706
|
|
87
89
|
];
|
|
88
|
-
|
|
90
|
+
I.getSymbolSize = function(t) {
|
|
89
91
|
if (!t)
|
|
90
92
|
throw new Error('"version" cannot be null or undefined');
|
|
91
93
|
if (t < 1 || t > 40)
|
|
92
94
|
throw new Error('"version" should be in range from 1 to 40');
|
|
93
95
|
return t * 4 + 17;
|
|
94
96
|
};
|
|
95
|
-
|
|
96
|
-
return
|
|
97
|
+
I.getSymbolTotalCodewords = function(t) {
|
|
98
|
+
return de[t];
|
|
97
99
|
};
|
|
98
|
-
|
|
100
|
+
I.getBCHDigit = function(e) {
|
|
99
101
|
let t = 0;
|
|
100
102
|
for (; e !== 0; )
|
|
101
103
|
t++, e >>>= 1;
|
|
102
104
|
return t;
|
|
103
105
|
};
|
|
104
|
-
|
|
106
|
+
I.setToSJISFunction = function(t) {
|
|
105
107
|
if (typeof t != "function")
|
|
106
108
|
throw new Error('"toSJISFunc" is not a valid function.');
|
|
107
|
-
|
|
109
|
+
Bt = t;
|
|
108
110
|
};
|
|
109
|
-
|
|
110
|
-
return typeof
|
|
111
|
+
I.isKanjiModeEnabled = function() {
|
|
112
|
+
return typeof Bt != "undefined";
|
|
111
113
|
};
|
|
112
|
-
|
|
113
|
-
return
|
|
114
|
+
I.toSJIS = function(t) {
|
|
115
|
+
return Bt(t);
|
|
114
116
|
};
|
|
115
|
-
var
|
|
117
|
+
var ot = {};
|
|
116
118
|
(function(e) {
|
|
117
119
|
e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };
|
|
118
120
|
function t(n) {
|
|
@@ -146,11 +148,11 @@ var $ = {};
|
|
|
146
148
|
return r;
|
|
147
149
|
}
|
|
148
150
|
};
|
|
149
|
-
})(
|
|
150
|
-
function
|
|
151
|
+
})(ot);
|
|
152
|
+
function Dt() {
|
|
151
153
|
this.buffer = [], this.length = 0;
|
|
152
154
|
}
|
|
153
|
-
|
|
155
|
+
Dt.prototype = {
|
|
154
156
|
get: function(e) {
|
|
155
157
|
const t = Math.floor(e / 8);
|
|
156
158
|
return (this.buffer[t] >>> 7 - e % 8 & 1) === 1;
|
|
@@ -167,28 +169,28 @@ Mt.prototype = {
|
|
|
167
169
|
this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
|
|
168
170
|
}
|
|
169
171
|
};
|
|
170
|
-
var
|
|
171
|
-
function
|
|
172
|
+
var ge = Dt;
|
|
173
|
+
function W(e) {
|
|
172
174
|
if (!e || e < 1)
|
|
173
175
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
174
176
|
this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
|
|
175
177
|
}
|
|
176
|
-
|
|
178
|
+
W.prototype.set = function(e, t, n, o) {
|
|
177
179
|
const r = e * this.size + t;
|
|
178
180
|
this.data[r] = n, o && (this.reservedBit[r] = !0);
|
|
179
181
|
};
|
|
180
|
-
|
|
182
|
+
W.prototype.get = function(e, t) {
|
|
181
183
|
return this.data[e * this.size + t];
|
|
182
184
|
};
|
|
183
|
-
|
|
185
|
+
W.prototype.xor = function(e, t, n) {
|
|
184
186
|
this.data[e * this.size + t] ^= n;
|
|
185
187
|
};
|
|
186
|
-
|
|
188
|
+
W.prototype.isReserved = function(e, t) {
|
|
187
189
|
return this.reservedBit[e * this.size + t];
|
|
188
190
|
};
|
|
189
|
-
var
|
|
191
|
+
var he = W, kt = {};
|
|
190
192
|
(function(e) {
|
|
191
|
-
const t =
|
|
193
|
+
const t = I.getSymbolSize;
|
|
192
194
|
e.getRowColCoords = function(o) {
|
|
193
195
|
if (o === 1)
|
|
194
196
|
return [];
|
|
@@ -205,21 +207,21 @@ var ce = G, Pt = {};
|
|
|
205
207
|
l === s - 1 && a === 0 || r.push([i[l], i[a]]);
|
|
206
208
|
return r;
|
|
207
209
|
};
|
|
208
|
-
})(
|
|
209
|
-
var
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
const n =
|
|
210
|
+
})(kt);
|
|
211
|
+
var Ft = {};
|
|
212
|
+
const me = I.getSymbolSize, Pt = 7;
|
|
213
|
+
Ft.getPositions = function(t) {
|
|
214
|
+
const n = me(t);
|
|
213
215
|
return [
|
|
214
216
|
// top-left
|
|
215
217
|
[0, 0],
|
|
216
218
|
// top-right
|
|
217
|
-
[n -
|
|
219
|
+
[n - Pt, 0],
|
|
218
220
|
// bottom-left
|
|
219
|
-
[0, n -
|
|
221
|
+
[0, n - Pt]
|
|
220
222
|
];
|
|
221
223
|
};
|
|
222
|
-
var
|
|
224
|
+
var zt = {};
|
|
223
225
|
(function(e) {
|
|
224
226
|
e.Patterns = {
|
|
225
227
|
PATTERN000: 0,
|
|
@@ -243,12 +245,12 @@ var Lt = {};
|
|
|
243
245
|
return e.isValid(r) ? parseInt(r, 10) : void 0;
|
|
244
246
|
}, e.getPenaltyN1 = function(r) {
|
|
245
247
|
const i = r.size;
|
|
246
|
-
let s = 0, l = 0, a = 0, u = null,
|
|
248
|
+
let s = 0, l = 0, a = 0, u = null, f = null;
|
|
247
249
|
for (let B = 0; B < i; B++) {
|
|
248
|
-
l = a = 0, u =
|
|
250
|
+
l = a = 0, u = f = null;
|
|
249
251
|
for (let d = 0; d < i; d++) {
|
|
250
252
|
let g = r.get(B, d);
|
|
251
|
-
g === u ? l++ : (l >= 5 && (s += t.N1 + (l - 5)), u = g, l = 1), g = r.get(d, B), g ===
|
|
253
|
+
g === u ? l++ : (l >= 5 && (s += t.N1 + (l - 5)), u = g, l = 1), g = r.get(d, B), g === f ? a++ : (a >= 5 && (s += t.N1 + (a - 5)), f = g, a = 1);
|
|
252
254
|
}
|
|
253
255
|
l >= 5 && (s += t.N1 + (l - 5)), a >= 5 && (s += t.N1 + (a - 5));
|
|
254
256
|
}
|
|
@@ -267,8 +269,8 @@ var Lt = {};
|
|
|
267
269
|
let s = 0, l = 0, a = 0;
|
|
268
270
|
for (let u = 0; u < i; u++) {
|
|
269
271
|
l = a = 0;
|
|
270
|
-
for (let
|
|
271
|
-
l = l << 1 & 2047 | r.get(u,
|
|
272
|
+
for (let f = 0; f < i; f++)
|
|
273
|
+
l = l << 1 & 2047 | r.get(u, f), f >= 10 && (l === 1488 || l === 93) && s++, a = a << 1 & 2047 | r.get(f, u), f >= 10 && (a === 1488 || a === 93) && s++;
|
|
272
274
|
}
|
|
273
275
|
return s * t.N3;
|
|
274
276
|
}, e.getPenaltyN4 = function(r) {
|
|
@@ -310,14 +312,14 @@ var Lt = {};
|
|
|
310
312
|
let l = 0, a = 1 / 0;
|
|
311
313
|
for (let u = 0; u < s; u++) {
|
|
312
314
|
i(u), e.applyMask(u, r);
|
|
313
|
-
const
|
|
314
|
-
e.applyMask(u, r),
|
|
315
|
+
const f = e.getPenaltyN1(r) + e.getPenaltyN2(r) + e.getPenaltyN3(r) + e.getPenaltyN4(r);
|
|
316
|
+
e.applyMask(u, r), f < a && (a = f, l = u);
|
|
315
317
|
}
|
|
316
318
|
return l;
|
|
317
319
|
};
|
|
318
|
-
})(
|
|
319
|
-
var
|
|
320
|
-
const D =
|
|
320
|
+
})(zt);
|
|
321
|
+
var it = {};
|
|
322
|
+
const D = ot, Z = [
|
|
321
323
|
// L M Q H
|
|
322
324
|
1,
|
|
323
325
|
1,
|
|
@@ -479,7 +481,7 @@ const D = $, Y = [
|
|
|
479
481
|
49,
|
|
480
482
|
68,
|
|
481
483
|
81
|
|
482
|
-
],
|
|
484
|
+
], x = [
|
|
483
485
|
// L M Q H
|
|
484
486
|
7,
|
|
485
487
|
10,
|
|
@@ -642,56 +644,56 @@ const D = $, Y = [
|
|
|
642
644
|
2040,
|
|
643
645
|
2430
|
|
644
646
|
];
|
|
645
|
-
|
|
647
|
+
it.getBlocksCount = function(t, n) {
|
|
646
648
|
switch (n) {
|
|
647
649
|
case D.L:
|
|
648
|
-
return
|
|
650
|
+
return Z[(t - 1) * 4 + 0];
|
|
649
651
|
case D.M:
|
|
650
|
-
return
|
|
652
|
+
return Z[(t - 1) * 4 + 1];
|
|
651
653
|
case D.Q:
|
|
652
|
-
return
|
|
654
|
+
return Z[(t - 1) * 4 + 2];
|
|
653
655
|
case D.H:
|
|
654
|
-
return
|
|
656
|
+
return Z[(t - 1) * 4 + 3];
|
|
655
657
|
default:
|
|
656
658
|
return;
|
|
657
659
|
}
|
|
658
660
|
};
|
|
659
|
-
|
|
661
|
+
it.getTotalCodewordsCount = function(t, n) {
|
|
660
662
|
switch (n) {
|
|
661
663
|
case D.L:
|
|
662
|
-
return
|
|
664
|
+
return x[(t - 1) * 4 + 0];
|
|
663
665
|
case D.M:
|
|
664
|
-
return
|
|
666
|
+
return x[(t - 1) * 4 + 1];
|
|
665
667
|
case D.Q:
|
|
666
|
-
return
|
|
668
|
+
return x[(t - 1) * 4 + 2];
|
|
667
669
|
case D.H:
|
|
668
|
-
return
|
|
670
|
+
return x[(t - 1) * 4 + 3];
|
|
669
671
|
default:
|
|
670
672
|
return;
|
|
671
673
|
}
|
|
672
674
|
};
|
|
673
|
-
var
|
|
674
|
-
const
|
|
675
|
+
var vt = {}, st = {};
|
|
676
|
+
const G = new Uint8Array(512), tt = new Uint8Array(256);
|
|
675
677
|
(function() {
|
|
676
678
|
let t = 1;
|
|
677
679
|
for (let n = 0; n < 255; n++)
|
|
678
|
-
|
|
680
|
+
G[n] = t, tt[t] = n, t <<= 1, t & 256 && (t ^= 285);
|
|
679
681
|
for (let n = 255; n < 512; n++)
|
|
680
|
-
|
|
682
|
+
G[n] = G[n - 255];
|
|
681
683
|
})();
|
|
682
|
-
|
|
684
|
+
st.log = function(t) {
|
|
683
685
|
if (t < 1)
|
|
684
686
|
throw new Error("log(" + t + ")");
|
|
685
|
-
return
|
|
687
|
+
return tt[t];
|
|
686
688
|
};
|
|
687
|
-
|
|
688
|
-
return
|
|
689
|
+
st.exp = function(t) {
|
|
690
|
+
return G[t];
|
|
689
691
|
};
|
|
690
|
-
|
|
691
|
-
return t === 0 || n === 0 ? 0 :
|
|
692
|
+
st.mul = function(t, n) {
|
|
693
|
+
return t === 0 || n === 0 ? 0 : G[tt[t] + tt[n]];
|
|
692
694
|
};
|
|
693
695
|
(function(e) {
|
|
694
|
-
const t =
|
|
696
|
+
const t = st;
|
|
695
697
|
e.mul = function(o, r) {
|
|
696
698
|
const i = new Uint8Array(o.length + r.length - 1);
|
|
697
699
|
for (let s = 0; s < o.length; s++)
|
|
@@ -716,53 +718,53 @@ et.mul = function(t, n) {
|
|
|
716
718
|
r = e.mul(r, new Uint8Array([1, t.exp(i)]));
|
|
717
719
|
return r;
|
|
718
720
|
};
|
|
719
|
-
})(
|
|
720
|
-
const
|
|
721
|
-
function
|
|
721
|
+
})(vt);
|
|
722
|
+
const Vt = vt;
|
|
723
|
+
function bt(e) {
|
|
722
724
|
this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
|
|
723
725
|
}
|
|
724
|
-
|
|
725
|
-
this.degree = t, this.genPoly =
|
|
726
|
+
bt.prototype.initialize = function(t) {
|
|
727
|
+
this.degree = t, this.genPoly = Vt.generateECPolynomial(this.degree);
|
|
726
728
|
};
|
|
727
|
-
|
|
729
|
+
bt.prototype.encode = function(t) {
|
|
728
730
|
if (!this.genPoly)
|
|
729
731
|
throw new Error("Encoder not initialized");
|
|
730
732
|
const n = new Uint8Array(t.length + this.degree);
|
|
731
733
|
n.set(t);
|
|
732
|
-
const o =
|
|
734
|
+
const o = Vt.mod(n, this.genPoly), r = this.degree - o.length;
|
|
733
735
|
if (r > 0) {
|
|
734
736
|
const i = new Uint8Array(this.degree);
|
|
735
737
|
return i.set(o, r), i;
|
|
736
738
|
}
|
|
737
739
|
return o;
|
|
738
740
|
};
|
|
739
|
-
var
|
|
740
|
-
|
|
741
|
+
var we = bt, Ht = {}, k = {}, St = {};
|
|
742
|
+
St.isValid = function(t) {
|
|
741
743
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
742
744
|
};
|
|
743
|
-
var
|
|
744
|
-
const
|
|
745
|
-
let
|
|
746
|
-
|
|
747
|
-
const
|
|
745
|
+
var M = {};
|
|
746
|
+
const Ot = "[0-9]+", ye = "[A-Z $%*+\\-./:]+";
|
|
747
|
+
let Y = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
748
|
+
Y = Y.replace(/u/g, "\\u");
|
|
749
|
+
const Ee = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Y + `)(?:.|[\r
|
|
748
750
|
]))+`;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
const
|
|
755
|
-
|
|
756
|
-
return
|
|
751
|
+
M.KANJI = new RegExp(Y, "g");
|
|
752
|
+
M.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
753
|
+
M.BYTE = new RegExp(Ee, "g");
|
|
754
|
+
M.NUMERIC = new RegExp(Ot, "g");
|
|
755
|
+
M.ALPHANUMERIC = new RegExp(ye, "g");
|
|
756
|
+
const pe = new RegExp("^" + Y + "$"), Ce = new RegExp("^" + Ot + "$"), Be = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
757
|
+
M.testKanji = function(t) {
|
|
758
|
+
return pe.test(t);
|
|
757
759
|
};
|
|
758
|
-
|
|
759
|
-
return
|
|
760
|
+
M.testNumeric = function(t) {
|
|
761
|
+
return Ce.test(t);
|
|
760
762
|
};
|
|
761
|
-
|
|
762
|
-
return
|
|
763
|
+
M.testAlphanumeric = function(t) {
|
|
764
|
+
return Be.test(t);
|
|
763
765
|
};
|
|
764
766
|
(function(e) {
|
|
765
|
-
const t =
|
|
767
|
+
const t = St, n = M;
|
|
766
768
|
e.NUMERIC = {
|
|
767
769
|
id: "Numeric",
|
|
768
770
|
bit: 1,
|
|
@@ -823,101 +825,101 @@ P.testAlphanumeric = function(t) {
|
|
|
823
825
|
};
|
|
824
826
|
})(k);
|
|
825
827
|
(function(e) {
|
|
826
|
-
const t =
|
|
827
|
-
function a(d, g,
|
|
828
|
-
for (let
|
|
829
|
-
if (g <= e.getCapacity(
|
|
830
|
-
return
|
|
828
|
+
const t = I, n = it, o = ot, r = k, i = St, s = 7973, l = t.getBCHDigit(s);
|
|
829
|
+
function a(d, g, h) {
|
|
830
|
+
for (let m = 1; m <= 40; m++)
|
|
831
|
+
if (g <= e.getCapacity(m, h, d))
|
|
832
|
+
return m;
|
|
831
833
|
}
|
|
832
834
|
function u(d, g) {
|
|
833
835
|
return r.getCharCountIndicator(d, g) + 4;
|
|
834
836
|
}
|
|
835
|
-
function
|
|
836
|
-
let
|
|
837
|
-
return d.forEach(function(
|
|
838
|
-
const
|
|
839
|
-
|
|
840
|
-
}),
|
|
837
|
+
function f(d, g) {
|
|
838
|
+
let h = 0;
|
|
839
|
+
return d.forEach(function(m) {
|
|
840
|
+
const C = u(m.mode, g);
|
|
841
|
+
h += C + m.getBitsLength();
|
|
842
|
+
}), h;
|
|
841
843
|
}
|
|
842
844
|
function B(d, g) {
|
|
843
|
-
for (let
|
|
844
|
-
if (
|
|
845
|
-
return
|
|
845
|
+
for (let h = 1; h <= 40; h++)
|
|
846
|
+
if (f(d, h) <= e.getCapacity(h, g, r.MIXED))
|
|
847
|
+
return h;
|
|
846
848
|
}
|
|
847
|
-
e.from = function(g,
|
|
848
|
-
return i.isValid(g) ? parseInt(g, 10) :
|
|
849
|
-
}, e.getCapacity = function(g,
|
|
849
|
+
e.from = function(g, h) {
|
|
850
|
+
return i.isValid(g) ? parseInt(g, 10) : h;
|
|
851
|
+
}, e.getCapacity = function(g, h, m) {
|
|
850
852
|
if (!i.isValid(g))
|
|
851
853
|
throw new Error("Invalid QR Code version");
|
|
852
|
-
typeof
|
|
853
|
-
const
|
|
854
|
-
if (
|
|
855
|
-
return
|
|
856
|
-
const
|
|
857
|
-
switch (
|
|
854
|
+
typeof m == "undefined" && (m = r.BYTE);
|
|
855
|
+
const C = t.getSymbolTotalCodewords(g), c = n.getTotalCodewordsCount(g, h), w = (C - c) * 8;
|
|
856
|
+
if (m === r.MIXED)
|
|
857
|
+
return w;
|
|
858
|
+
const E = w - u(m, g);
|
|
859
|
+
switch (m) {
|
|
858
860
|
case r.NUMERIC:
|
|
859
|
-
return Math.floor(
|
|
861
|
+
return Math.floor(E / 10 * 3);
|
|
860
862
|
case r.ALPHANUMERIC:
|
|
861
|
-
return Math.floor(
|
|
863
|
+
return Math.floor(E / 11 * 2);
|
|
862
864
|
case r.KANJI:
|
|
863
|
-
return Math.floor(
|
|
865
|
+
return Math.floor(E / 13);
|
|
864
866
|
case r.BYTE:
|
|
865
867
|
default:
|
|
866
|
-
return Math.floor(
|
|
868
|
+
return Math.floor(E / 8);
|
|
867
869
|
}
|
|
868
|
-
}, e.getBestVersionForData = function(g,
|
|
869
|
-
let
|
|
870
|
-
const
|
|
870
|
+
}, e.getBestVersionForData = function(g, h) {
|
|
871
|
+
let m;
|
|
872
|
+
const C = o.from(h, o.M);
|
|
871
873
|
if (Array.isArray(g)) {
|
|
872
874
|
if (g.length > 1)
|
|
873
|
-
return B(g,
|
|
875
|
+
return B(g, C);
|
|
874
876
|
if (g.length === 0)
|
|
875
877
|
return 1;
|
|
876
|
-
|
|
878
|
+
m = g[0];
|
|
877
879
|
} else
|
|
878
|
-
|
|
879
|
-
return a(
|
|
880
|
+
m = g;
|
|
881
|
+
return a(m.mode, m.getLength(), C);
|
|
880
882
|
}, e.getEncodedBits = function(g) {
|
|
881
883
|
if (!i.isValid(g) || g < 7)
|
|
882
884
|
throw new Error("Invalid QR Code version");
|
|
883
|
-
let
|
|
884
|
-
for (; t.getBCHDigit(
|
|
885
|
-
|
|
886
|
-
return g << 12 |
|
|
885
|
+
let h = g << 12;
|
|
886
|
+
for (; t.getBCHDigit(h) - l >= 0; )
|
|
887
|
+
h ^= s << t.getBCHDigit(h) - l;
|
|
888
|
+
return g << 12 | h;
|
|
887
889
|
};
|
|
888
|
-
})(
|
|
889
|
-
var
|
|
890
|
-
const
|
|
891
|
-
|
|
890
|
+
})(Ht);
|
|
891
|
+
var Qt = {};
|
|
892
|
+
const yt = I, Kt = 1335, be = 21522, _t = yt.getBCHDigit(Kt);
|
|
893
|
+
Qt.getEncodedBits = function(t, n) {
|
|
892
894
|
const o = t.bit << 3 | n;
|
|
893
895
|
let r = o << 10;
|
|
894
|
-
for (;
|
|
895
|
-
r ^=
|
|
896
|
-
return (o << 10 | r) ^
|
|
896
|
+
for (; yt.getBCHDigit(r) - _t >= 0; )
|
|
897
|
+
r ^= Kt << yt.getBCHDigit(r) - _t;
|
|
898
|
+
return (o << 10 | r) ^ be;
|
|
897
899
|
};
|
|
898
|
-
var
|
|
899
|
-
const
|
|
900
|
-
function
|
|
901
|
-
this.mode =
|
|
900
|
+
var Jt = {};
|
|
901
|
+
const Se = k;
|
|
902
|
+
function z(e) {
|
|
903
|
+
this.mode = Se.NUMERIC, this.data = e.toString();
|
|
902
904
|
}
|
|
903
|
-
|
|
905
|
+
z.getBitsLength = function(t) {
|
|
904
906
|
return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
|
|
905
907
|
};
|
|
906
|
-
|
|
908
|
+
z.prototype.getLength = function() {
|
|
907
909
|
return this.data.length;
|
|
908
910
|
};
|
|
909
|
-
|
|
910
|
-
return
|
|
911
|
+
z.prototype.getBitsLength = function() {
|
|
912
|
+
return z.getBitsLength(this.data.length);
|
|
911
913
|
};
|
|
912
|
-
|
|
914
|
+
z.prototype.write = function(t) {
|
|
913
915
|
let n, o, r;
|
|
914
916
|
for (n = 0; n + 3 <= this.data.length; n += 3)
|
|
915
917
|
o = this.data.substr(n, 3), r = parseInt(o, 10), t.put(r, 10);
|
|
916
918
|
const i = this.data.length - n;
|
|
917
919
|
i > 0 && (o = this.data.substr(n), r = parseInt(o, 10), t.put(r, i * 3 + 1));
|
|
918
920
|
};
|
|
919
|
-
var
|
|
920
|
-
const
|
|
921
|
+
var Ae = z;
|
|
922
|
+
const Te = k, ut = [
|
|
921
923
|
"0",
|
|
922
924
|
"1",
|
|
923
925
|
"2",
|
|
@@ -964,62 +966,62 @@ const Be = k, rt = [
|
|
|
964
966
|
"/",
|
|
965
967
|
":"
|
|
966
968
|
];
|
|
967
|
-
function
|
|
968
|
-
this.mode =
|
|
969
|
+
function v(e) {
|
|
970
|
+
this.mode = Te.ALPHANUMERIC, this.data = e;
|
|
969
971
|
}
|
|
970
|
-
|
|
972
|
+
v.getBitsLength = function(t) {
|
|
971
973
|
return 11 * Math.floor(t / 2) + 6 * (t % 2);
|
|
972
974
|
};
|
|
973
|
-
|
|
975
|
+
v.prototype.getLength = function() {
|
|
974
976
|
return this.data.length;
|
|
975
977
|
};
|
|
976
|
-
|
|
977
|
-
return
|
|
978
|
+
v.prototype.getBitsLength = function() {
|
|
979
|
+
return v.getBitsLength(this.data.length);
|
|
978
980
|
};
|
|
979
|
-
|
|
981
|
+
v.prototype.write = function(t) {
|
|
980
982
|
let n;
|
|
981
983
|
for (n = 0; n + 2 <= this.data.length; n += 2) {
|
|
982
|
-
let o =
|
|
983
|
-
o +=
|
|
984
|
+
let o = ut.indexOf(this.data[n]) * 45;
|
|
985
|
+
o += ut.indexOf(this.data[n + 1]), t.put(o, 11);
|
|
984
986
|
}
|
|
985
|
-
this.data.length % 2 && t.put(
|
|
987
|
+
this.data.length % 2 && t.put(ut.indexOf(this.data[n]), 6);
|
|
986
988
|
};
|
|
987
|
-
var
|
|
988
|
-
const
|
|
989
|
-
function
|
|
990
|
-
this.mode =
|
|
989
|
+
var Ie = v;
|
|
990
|
+
const Ne = k;
|
|
991
|
+
function V(e) {
|
|
992
|
+
this.mode = Ne.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
|
|
991
993
|
}
|
|
992
|
-
|
|
994
|
+
V.getBitsLength = function(t) {
|
|
993
995
|
return t * 8;
|
|
994
996
|
};
|
|
995
|
-
|
|
997
|
+
V.prototype.getLength = function() {
|
|
996
998
|
return this.data.length;
|
|
997
999
|
};
|
|
998
|
-
|
|
999
|
-
return
|
|
1000
|
+
V.prototype.getBitsLength = function() {
|
|
1001
|
+
return V.getBitsLength(this.data.length);
|
|
1000
1002
|
};
|
|
1001
|
-
|
|
1003
|
+
V.prototype.write = function(e) {
|
|
1002
1004
|
for (let t = 0, n = this.data.length; t < n; t++)
|
|
1003
1005
|
e.put(this.data[t], 8);
|
|
1004
1006
|
};
|
|
1005
|
-
var
|
|
1006
|
-
const
|
|
1007
|
-
function
|
|
1008
|
-
this.mode =
|
|
1007
|
+
var Re = V;
|
|
1008
|
+
const Me = k, Pe = I;
|
|
1009
|
+
function H(e) {
|
|
1010
|
+
this.mode = Me.KANJI, this.data = e;
|
|
1009
1011
|
}
|
|
1010
|
-
|
|
1012
|
+
H.getBitsLength = function(t) {
|
|
1011
1013
|
return t * 13;
|
|
1012
1014
|
};
|
|
1013
|
-
|
|
1015
|
+
H.prototype.getLength = function() {
|
|
1014
1016
|
return this.data.length;
|
|
1015
1017
|
};
|
|
1016
|
-
|
|
1017
|
-
return
|
|
1018
|
+
H.prototype.getBitsLength = function() {
|
|
1019
|
+
return H.getBitsLength(this.data.length);
|
|
1018
1020
|
};
|
|
1019
|
-
|
|
1021
|
+
H.prototype.write = function(e) {
|
|
1020
1022
|
let t;
|
|
1021
1023
|
for (t = 0; t < this.data.length; t++) {
|
|
1022
|
-
let n =
|
|
1024
|
+
let n = Pe.toSJIS(this.data[t]);
|
|
1023
1025
|
if (n >= 33088 && n <= 40956)
|
|
1024
1026
|
n -= 33088;
|
|
1025
1027
|
else if (n >= 57408 && n <= 60351)
|
|
@@ -1032,7 +1034,7 @@ Make sure your charset is UTF-8`
|
|
|
1032
1034
|
n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
|
|
1033
1035
|
}
|
|
1034
1036
|
};
|
|
1035
|
-
var
|
|
1037
|
+
var _e = H, jt = { exports: {} };
|
|
1036
1038
|
(function(e) {
|
|
1037
1039
|
var t = {
|
|
1038
1040
|
single_source_shortest_paths: function(n, o, r) {
|
|
@@ -1040,14 +1042,14 @@ var Ne = O, Ht = { exports: {} };
|
|
|
1040
1042
|
s[o] = 0;
|
|
1041
1043
|
var l = t.PriorityQueue.make();
|
|
1042
1044
|
l.push(o, 0);
|
|
1043
|
-
for (var a, u,
|
|
1045
|
+
for (var a, u, f, B, d, g, h, m, C; !l.empty(); ) {
|
|
1044
1046
|
a = l.pop(), u = a.value, B = a.cost, d = n[u] || {};
|
|
1045
|
-
for (
|
|
1046
|
-
d.hasOwnProperty(
|
|
1047
|
+
for (f in d)
|
|
1048
|
+
d.hasOwnProperty(f) && (g = d[f], h = B + g, m = s[f], C = typeof s[f] == "undefined", (C || m > h) && (s[f] = h, l.push(f, h), i[f] = u));
|
|
1047
1049
|
}
|
|
1048
1050
|
if (typeof r != "undefined" && typeof s[r] == "undefined") {
|
|
1049
|
-
var
|
|
1050
|
-
throw new Error(
|
|
1051
|
+
var c = ["Could not find a path from ", o, " to ", r, "."].join("");
|
|
1052
|
+
throw new Error(c);
|
|
1051
1053
|
}
|
|
1052
1054
|
return i;
|
|
1053
1055
|
},
|
|
@@ -1097,29 +1099,29 @@ var Ne = O, Ht = { exports: {} };
|
|
|
1097
1099
|
}
|
|
1098
1100
|
};
|
|
1099
1101
|
e.exports = t;
|
|
1100
|
-
})(
|
|
1101
|
-
var
|
|
1102
|
+
})(jt);
|
|
1103
|
+
var Le = jt.exports;
|
|
1102
1104
|
(function(e) {
|
|
1103
|
-
const t = k, n =
|
|
1104
|
-
function u(
|
|
1105
|
-
return unescape(encodeURIComponent(
|
|
1105
|
+
const t = k, n = Ae, o = Ie, r = Re, i = _e, s = M, l = I, a = Le;
|
|
1106
|
+
function u(c) {
|
|
1107
|
+
return unescape(encodeURIComponent(c)).length;
|
|
1106
1108
|
}
|
|
1107
|
-
function c
|
|
1109
|
+
function f(c, w, E) {
|
|
1108
1110
|
const y = [];
|
|
1109
1111
|
let b;
|
|
1110
|
-
for (; (b =
|
|
1112
|
+
for (; (b = c.exec(E)) !== null; )
|
|
1111
1113
|
y.push({
|
|
1112
1114
|
data: b[0],
|
|
1113
1115
|
index: b.index,
|
|
1114
|
-
mode:
|
|
1116
|
+
mode: w,
|
|
1115
1117
|
length: b[0].length
|
|
1116
1118
|
});
|
|
1117
1119
|
return y;
|
|
1118
1120
|
}
|
|
1119
|
-
function B(
|
|
1120
|
-
const
|
|
1121
|
+
function B(c) {
|
|
1122
|
+
const w = f(s.NUMERIC, t.NUMERIC, c), E = f(s.ALPHANUMERIC, t.ALPHANUMERIC, c);
|
|
1121
1123
|
let y, b;
|
|
1122
|
-
return l.isKanjiModeEnabled() ? (y =
|
|
1124
|
+
return l.isKanjiModeEnabled() ? (y = f(s.BYTE, t.BYTE, c), b = f(s.KANJI, t.KANJI, c)) : (y = f(s.BYTE_KANJI, t.BYTE, c), b = []), w.concat(E, y, b).sort(function(A, T) {
|
|
1123
1125
|
return A.index - T.index;
|
|
1124
1126
|
}).map(function(A) {
|
|
1125
1127
|
return {
|
|
@@ -1129,110 +1131,110 @@ var Re = Ht.exports;
|
|
|
1129
1131
|
};
|
|
1130
1132
|
});
|
|
1131
1133
|
}
|
|
1132
|
-
function d(
|
|
1133
|
-
switch (
|
|
1134
|
+
function d(c, w) {
|
|
1135
|
+
switch (w) {
|
|
1134
1136
|
case t.NUMERIC:
|
|
1135
|
-
return n.getBitsLength(
|
|
1137
|
+
return n.getBitsLength(c);
|
|
1136
1138
|
case t.ALPHANUMERIC:
|
|
1137
|
-
return o.getBitsLength(
|
|
1139
|
+
return o.getBitsLength(c);
|
|
1138
1140
|
case t.KANJI:
|
|
1139
|
-
return i.getBitsLength(
|
|
1141
|
+
return i.getBitsLength(c);
|
|
1140
1142
|
case t.BYTE:
|
|
1141
|
-
return r.getBitsLength(
|
|
1143
|
+
return r.getBitsLength(c);
|
|
1142
1144
|
}
|
|
1143
1145
|
}
|
|
1144
|
-
function g(
|
|
1145
|
-
return
|
|
1146
|
-
const y =
|
|
1147
|
-
return y && y.mode ===
|
|
1146
|
+
function g(c) {
|
|
1147
|
+
return c.reduce(function(w, E) {
|
|
1148
|
+
const y = w.length - 1 >= 0 ? w[w.length - 1] : null;
|
|
1149
|
+
return y && y.mode === E.mode ? (w[w.length - 1].data += E.data, w) : (w.push(E), w);
|
|
1148
1150
|
}, []);
|
|
1149
1151
|
}
|
|
1150
|
-
function
|
|
1151
|
-
const
|
|
1152
|
-
for (let
|
|
1153
|
-
const y =
|
|
1152
|
+
function h(c) {
|
|
1153
|
+
const w = [];
|
|
1154
|
+
for (let E = 0; E < c.length; E++) {
|
|
1155
|
+
const y = c[E];
|
|
1154
1156
|
switch (y.mode) {
|
|
1155
1157
|
case t.NUMERIC:
|
|
1156
|
-
|
|
1158
|
+
w.push([
|
|
1157
1159
|
y,
|
|
1158
1160
|
{ data: y.data, mode: t.ALPHANUMERIC, length: y.length },
|
|
1159
1161
|
{ data: y.data, mode: t.BYTE, length: y.length }
|
|
1160
1162
|
]);
|
|
1161
1163
|
break;
|
|
1162
1164
|
case t.ALPHANUMERIC:
|
|
1163
|
-
|
|
1165
|
+
w.push([
|
|
1164
1166
|
y,
|
|
1165
1167
|
{ data: y.data, mode: t.BYTE, length: y.length }
|
|
1166
1168
|
]);
|
|
1167
1169
|
break;
|
|
1168
1170
|
case t.KANJI:
|
|
1169
|
-
|
|
1171
|
+
w.push([
|
|
1170
1172
|
y,
|
|
1171
1173
|
{ data: y.data, mode: t.BYTE, length: u(y.data) }
|
|
1172
1174
|
]);
|
|
1173
1175
|
break;
|
|
1174
1176
|
case t.BYTE:
|
|
1175
|
-
|
|
1177
|
+
w.push([
|
|
1176
1178
|
{ data: y.data, mode: t.BYTE, length: u(y.data) }
|
|
1177
1179
|
]);
|
|
1178
1180
|
}
|
|
1179
1181
|
}
|
|
1180
|
-
return
|
|
1182
|
+
return w;
|
|
1181
1183
|
}
|
|
1182
|
-
function
|
|
1183
|
-
const
|
|
1184
|
+
function m(c, w) {
|
|
1185
|
+
const E = {}, y = { start: {} };
|
|
1184
1186
|
let b = ["start"];
|
|
1185
|
-
for (let S = 0; S <
|
|
1186
|
-
const A =
|
|
1187
|
-
for (let
|
|
1188
|
-
const
|
|
1189
|
-
T.push(
|
|
1190
|
-
for (let
|
|
1191
|
-
const
|
|
1192
|
-
|
|
1187
|
+
for (let S = 0; S < c.length; S++) {
|
|
1188
|
+
const A = c[S], T = [];
|
|
1189
|
+
for (let N = 0; N < A.length; N++) {
|
|
1190
|
+
const R = A[N], L = "" + S + N;
|
|
1191
|
+
T.push(L), E[L] = { node: R, lastCount: 0 }, y[L] = {};
|
|
1192
|
+
for (let O = 0; O < b.length; O++) {
|
|
1193
|
+
const p = b[O];
|
|
1194
|
+
E[p] && E[p].node.mode === R.mode ? (y[p][L] = d(E[p].lastCount + R.length, R.mode) - d(E[p].lastCount, R.mode), E[p].lastCount += R.length) : (E[p] && (E[p].lastCount = R.length), y[p][L] = d(R.length, R.mode) + 4 + t.getCharCountIndicator(R.mode, w));
|
|
1193
1195
|
}
|
|
1194
1196
|
}
|
|
1195
1197
|
b = T;
|
|
1196
1198
|
}
|
|
1197
1199
|
for (let S = 0; S < b.length; S++)
|
|
1198
1200
|
y[b[S]].end = 0;
|
|
1199
|
-
return { map: y, table:
|
|
1201
|
+
return { map: y, table: E };
|
|
1200
1202
|
}
|
|
1201
|
-
function
|
|
1202
|
-
let
|
|
1203
|
-
const y = t.getBestModeForData(
|
|
1204
|
-
if (
|
|
1205
|
-
throw new Error('"' +
|
|
1203
|
+
function C(c, w) {
|
|
1204
|
+
let E;
|
|
1205
|
+
const y = t.getBestModeForData(c);
|
|
1206
|
+
if (E = t.from(w, y), E !== t.BYTE && E.bit < y.bit)
|
|
1207
|
+
throw new Error('"' + c + '" cannot be encoded with mode ' + t.toString(E) + `.
|
|
1206
1208
|
Suggested mode is: ` + t.toString(y));
|
|
1207
|
-
switch (
|
|
1209
|
+
switch (E === t.KANJI && !l.isKanjiModeEnabled() && (E = t.BYTE), E) {
|
|
1208
1210
|
case t.NUMERIC:
|
|
1209
|
-
return new n(
|
|
1211
|
+
return new n(c);
|
|
1210
1212
|
case t.ALPHANUMERIC:
|
|
1211
|
-
return new o(
|
|
1213
|
+
return new o(c);
|
|
1212
1214
|
case t.KANJI:
|
|
1213
|
-
return new i(
|
|
1215
|
+
return new i(c);
|
|
1214
1216
|
case t.BYTE:
|
|
1215
|
-
return new r(
|
|
1217
|
+
return new r(c);
|
|
1216
1218
|
}
|
|
1217
1219
|
}
|
|
1218
|
-
e.fromArray = function(
|
|
1219
|
-
return
|
|
1220
|
-
return typeof y == "string" ?
|
|
1220
|
+
e.fromArray = function(w) {
|
|
1221
|
+
return w.reduce(function(E, y) {
|
|
1222
|
+
return typeof y == "string" ? E.push(C(y, null)) : y.data && E.push(C(y.data, y.mode)), E;
|
|
1221
1223
|
}, []);
|
|
1222
|
-
}, e.fromString = function(
|
|
1223
|
-
const y = B(
|
|
1224
|
-
for (let
|
|
1225
|
-
T.push(S.table[A[
|
|
1224
|
+
}, e.fromString = function(w, E) {
|
|
1225
|
+
const y = B(w, l.isKanjiModeEnabled()), b = h(y), S = m(b, E), A = a.find_path(S.map, "start", "end"), T = [];
|
|
1226
|
+
for (let N = 1; N < A.length - 1; N++)
|
|
1227
|
+
T.push(S.table[A[N]].node);
|
|
1226
1228
|
return e.fromArray(g(T));
|
|
1227
|
-
}, e.rawSplit = function(
|
|
1229
|
+
}, e.rawSplit = function(w) {
|
|
1228
1230
|
return e.fromArray(
|
|
1229
|
-
B(
|
|
1231
|
+
B(w, l.isKanjiModeEnabled())
|
|
1230
1232
|
);
|
|
1231
1233
|
};
|
|
1232
|
-
})(
|
|
1233
|
-
const
|
|
1234
|
-
function
|
|
1235
|
-
const n = e.size, o =
|
|
1234
|
+
})(Jt);
|
|
1235
|
+
const at = I, ct = ot, Ue = ge, De = he, ke = kt, Fe = Ft, Et = zt, pt = it, ze = we, et = Ht, ve = Qt, Ve = k, ft = Jt;
|
|
1236
|
+
function He(e, t) {
|
|
1237
|
+
const n = e.size, o = Fe.getPositions(t);
|
|
1236
1238
|
for (let r = 0; r < o.length; r++) {
|
|
1237
1239
|
const i = o[r][0], s = o[r][1];
|
|
1238
1240
|
for (let l = -1; l <= 7; l++)
|
|
@@ -1241,15 +1243,15 @@ function Fe(e, t) {
|
|
|
1241
1243
|
s + a <= -1 || n <= s + a || (l >= 0 && l <= 6 && (a === 0 || a === 6) || a >= 0 && a <= 6 && (l === 0 || l === 6) || l >= 2 && l <= 4 && a >= 2 && a <= 4 ? e.set(i + l, s + a, !0, !0) : e.set(i + l, s + a, !1, !0));
|
|
1242
1244
|
}
|
|
1243
1245
|
}
|
|
1244
|
-
function
|
|
1246
|
+
function Oe(e) {
|
|
1245
1247
|
const t = e.size;
|
|
1246
1248
|
for (let n = 8; n < t - 8; n++) {
|
|
1247
1249
|
const o = n % 2 === 0;
|
|
1248
1250
|
e.set(n, 6, o, !0), e.set(6, n, o, !0);
|
|
1249
1251
|
}
|
|
1250
1252
|
}
|
|
1251
|
-
function
|
|
1252
|
-
const n =
|
|
1253
|
+
function Qe(e, t) {
|
|
1254
|
+
const n = ke.getPositions(t);
|
|
1253
1255
|
for (let o = 0; o < n.length; o++) {
|
|
1254
1256
|
const r = n[o][0], i = n[o][1];
|
|
1255
1257
|
for (let s = -2; s <= 2; s++)
|
|
@@ -1257,20 +1259,20 @@ function ve(e, t) {
|
|
|
1257
1259
|
s === -2 || s === 2 || l === -2 || l === 2 || s === 0 && l === 0 ? e.set(r + s, i + l, !0, !0) : e.set(r + s, i + l, !1, !0);
|
|
1258
1260
|
}
|
|
1259
1261
|
}
|
|
1260
|
-
function
|
|
1261
|
-
const n = e.size, o =
|
|
1262
|
+
function Ke(e, t) {
|
|
1263
|
+
const n = e.size, o = et.getEncodedBits(t);
|
|
1262
1264
|
let r, i, s;
|
|
1263
1265
|
for (let l = 0; l < 18; l++)
|
|
1264
1266
|
r = Math.floor(l / 3), i = l % 3 + n - 8 - 3, s = (o >> l & 1) === 1, e.set(r, i, s, !0), e.set(i, r, s, !0);
|
|
1265
1267
|
}
|
|
1266
|
-
function
|
|
1267
|
-
const o = e.size, r =
|
|
1268
|
+
function dt(e, t, n) {
|
|
1269
|
+
const o = e.size, r = ve.getEncodedBits(t, n);
|
|
1268
1270
|
let i, s;
|
|
1269
1271
|
for (i = 0; i < 15; i++)
|
|
1270
1272
|
s = (r >> i & 1) === 1, i < 6 ? e.set(i, 8, s, !0) : i < 8 ? e.set(i + 1, 8, s, !0) : e.set(o - 15 + i, 8, s, !0), i < 8 ? e.set(8, o - i - 1, s, !0) : i < 9 ? e.set(8, 15 - i - 1 + 1, s, !0) : e.set(8, 15 - i - 1, s, !0);
|
|
1271
1273
|
e.set(o - 8, 8, 1, !0);
|
|
1272
1274
|
}
|
|
1273
|
-
function
|
|
1275
|
+
function Je(e, t) {
|
|
1274
1276
|
const n = e.size;
|
|
1275
1277
|
let o = -1, r = n - 1, i = 7, s = 0;
|
|
1276
1278
|
for (let l = n - 1; l > 0; l -= 2)
|
|
@@ -1286,53 +1288,53 @@ function He(e, t) {
|
|
|
1286
1288
|
}
|
|
1287
1289
|
}
|
|
1288
1290
|
}
|
|
1289
|
-
function
|
|
1290
|
-
const o = new
|
|
1291
|
+
function je(e, t, n) {
|
|
1292
|
+
const o = new Ue();
|
|
1291
1293
|
n.forEach(function(a) {
|
|
1292
|
-
o.put(a.mode.bit, 4), o.put(a.getLength(),
|
|
1294
|
+
o.put(a.mode.bit, 4), o.put(a.getLength(), Ve.getCharCountIndicator(a.mode, e)), a.write(o);
|
|
1293
1295
|
});
|
|
1294
|
-
const r =
|
|
1296
|
+
const r = at.getSymbolTotalCodewords(e), i = pt.getTotalCodewordsCount(e, t), s = (r - i) * 8;
|
|
1295
1297
|
for (o.getLengthInBits() + 4 <= s && o.put(0, 4); o.getLengthInBits() % 8 !== 0; )
|
|
1296
1298
|
o.putBit(0);
|
|
1297
1299
|
const l = (s - o.getLengthInBits()) / 8;
|
|
1298
1300
|
for (let a = 0; a < l; a++)
|
|
1299
1301
|
o.put(a % 2 ? 17 : 236, 8);
|
|
1300
|
-
return
|
|
1302
|
+
return Ge(o, e, t);
|
|
1301
1303
|
}
|
|
1302
|
-
function
|
|
1303
|
-
const o =
|
|
1304
|
-
let
|
|
1305
|
-
const
|
|
1306
|
-
let
|
|
1307
|
-
const
|
|
1304
|
+
function Ge(e, t, n) {
|
|
1305
|
+
const o = at.getSymbolTotalCodewords(t), r = pt.getTotalCodewordsCount(t, n), i = o - r, s = pt.getBlocksCount(t, n), l = o % s, a = s - l, u = Math.floor(o / s), f = Math.floor(i / s), B = f + 1, d = u - f, g = new ze(d);
|
|
1306
|
+
let h = 0;
|
|
1307
|
+
const m = new Array(s), C = new Array(s);
|
|
1308
|
+
let c = 0;
|
|
1309
|
+
const w = new Uint8Array(e.buffer);
|
|
1308
1310
|
for (let A = 0; A < s; A++) {
|
|
1309
|
-
const T = A < a ?
|
|
1310
|
-
|
|
1311
|
+
const T = A < a ? f : B;
|
|
1312
|
+
m[A] = w.slice(h, h + T), C[A] = g.encode(m[A]), h += T, c = Math.max(c, T);
|
|
1311
1313
|
}
|
|
1312
|
-
const
|
|
1314
|
+
const E = new Uint8Array(o);
|
|
1313
1315
|
let y = 0, b, S;
|
|
1314
|
-
for (b = 0; b <
|
|
1316
|
+
for (b = 0; b < c; b++)
|
|
1315
1317
|
for (S = 0; S < s; S++)
|
|
1316
|
-
b <
|
|
1318
|
+
b < m[S].length && (E[y++] = m[S][b]);
|
|
1317
1319
|
for (b = 0; b < d; b++)
|
|
1318
1320
|
for (S = 0; S < s; S++)
|
|
1319
|
-
|
|
1320
|
-
return
|
|
1321
|
+
E[y++] = C[S][b];
|
|
1322
|
+
return E;
|
|
1321
1323
|
}
|
|
1322
|
-
function
|
|
1324
|
+
function Ye(e, t, n, o) {
|
|
1323
1325
|
let r;
|
|
1324
1326
|
if (Array.isArray(e))
|
|
1325
|
-
r =
|
|
1327
|
+
r = ft.fromArray(e);
|
|
1326
1328
|
else if (typeof e == "string") {
|
|
1327
1329
|
let u = t;
|
|
1328
1330
|
if (!u) {
|
|
1329
|
-
const
|
|
1330
|
-
u =
|
|
1331
|
+
const f = ft.rawSplit(e);
|
|
1332
|
+
u = et.getBestVersionForData(f, n);
|
|
1331
1333
|
}
|
|
1332
|
-
r =
|
|
1334
|
+
r = ft.fromString(e, u || 40);
|
|
1333
1335
|
} else
|
|
1334
1336
|
throw new Error("Invalid data");
|
|
1335
|
-
const i =
|
|
1337
|
+
const i = et.getBestVersionForData(r, n);
|
|
1336
1338
|
if (!i)
|
|
1337
1339
|
throw new Error("The amount of data is too big to be stored in a QR Code");
|
|
1338
1340
|
if (!t)
|
|
@@ -1344,11 +1346,11 @@ The chosen QR Code version cannot contain this amount of data.
|
|
|
1344
1346
|
Minimum version required to store current data is: ` + i + `.
|
|
1345
1347
|
`
|
|
1346
1348
|
);
|
|
1347
|
-
const s =
|
|
1348
|
-
return
|
|
1349
|
+
const s = je(t, n, r), l = at.getSymbolSize(t), a = new De(l);
|
|
1350
|
+
return He(a, t), Oe(a), Qe(a, t), dt(a, n, 0), t >= 7 && Ke(a, t), Je(a, s), isNaN(o) && (o = Et.getBestMask(
|
|
1349
1351
|
a,
|
|
1350
|
-
|
|
1351
|
-
)),
|
|
1352
|
+
dt.bind(null, a, n)
|
|
1353
|
+
)), Et.applyMask(o, a), dt(a, n, o), {
|
|
1352
1354
|
modules: a,
|
|
1353
1355
|
version: t,
|
|
1354
1356
|
errorCorrectionLevel: n,
|
|
@@ -1356,13 +1358,13 @@ Minimum version required to store current data is: ` + i + `.
|
|
|
1356
1358
|
segments: r
|
|
1357
1359
|
};
|
|
1358
1360
|
}
|
|
1359
|
-
|
|
1361
|
+
Ut.create = function(t, n) {
|
|
1360
1362
|
if (typeof t == "undefined" || t === "")
|
|
1361
1363
|
throw new Error("No input text");
|
|
1362
|
-
let o =
|
|
1363
|
-
return typeof n != "undefined" && (o =
|
|
1364
|
+
let o = ct.M, r, i;
|
|
1365
|
+
return typeof n != "undefined" && (o = ct.from(n.errorCorrectionLevel, ct.M), r = et.from(n.version), i = Et.from(n.maskPattern), n.toSJISFunc && at.setToSJISFunction(n.toSJISFunc)), Ye(t, r, o, i);
|
|
1364
1366
|
};
|
|
1365
|
-
var
|
|
1367
|
+
var Gt = {}, At = {};
|
|
1366
1368
|
(function(e) {
|
|
1367
1369
|
function t(n) {
|
|
1368
1370
|
if (typeof n == "number" && (n = n.toString()), typeof n != "string")
|
|
@@ -1402,20 +1404,20 @@ var Ot = {}, Ct = {};
|
|
|
1402
1404
|
const i = e.getScale(o, r);
|
|
1403
1405
|
return Math.floor((o + r.margin * 2) * i);
|
|
1404
1406
|
}, e.qrToImageData = function(o, r, i) {
|
|
1405
|
-
const s = r.modules.size, l = r.modules.data, a = e.getScale(s, i), u = Math.floor((s + i.margin * 2) * a),
|
|
1407
|
+
const s = r.modules.size, l = r.modules.data, a = e.getScale(s, i), u = Math.floor((s + i.margin * 2) * a), f = i.margin * a, B = [i.color.light, i.color.dark];
|
|
1406
1408
|
for (let d = 0; d < u; d++)
|
|
1407
1409
|
for (let g = 0; g < u; g++) {
|
|
1408
|
-
let
|
|
1409
|
-
if (d >=
|
|
1410
|
-
const
|
|
1411
|
-
|
|
1410
|
+
let h = (d * u + g) * 4, m = i.color.light;
|
|
1411
|
+
if (d >= f && g >= f && d < u - f && g < u - f) {
|
|
1412
|
+
const C = Math.floor((d - f) / a), c = Math.floor((g - f) / a);
|
|
1413
|
+
m = B[l[C * s + c] ? 1 : 0];
|
|
1412
1414
|
}
|
|
1413
|
-
o[
|
|
1415
|
+
o[h++] = m.r, o[h++] = m.g, o[h++] = m.b, o[h] = m.a;
|
|
1414
1416
|
}
|
|
1415
1417
|
};
|
|
1416
|
-
})(
|
|
1418
|
+
})(At);
|
|
1417
1419
|
(function(e) {
|
|
1418
|
-
const t =
|
|
1420
|
+
const t = At;
|
|
1419
1421
|
function n(r, i, s) {
|
|
1420
1422
|
r.clearRect(0, 0, i.width, i.height), i.style || (i.style = {}), i.height = s, i.width = s, i.style.height = s + "px", i.style.width = s + "px";
|
|
1421
1423
|
}
|
|
@@ -1429,42 +1431,42 @@ var Ot = {}, Ct = {};
|
|
|
1429
1431
|
e.render = function(i, s, l) {
|
|
1430
1432
|
let a = l, u = s;
|
|
1431
1433
|
typeof a == "undefined" && (!s || !s.getContext) && (a = s, s = void 0), s || (u = o()), a = t.getOptions(a);
|
|
1432
|
-
const
|
|
1433
|
-
return t.qrToImageData(d.data, i, a), n(B, u,
|
|
1434
|
+
const f = t.getImageWidth(i.modules.size, a), B = u.getContext("2d"), d = B.createImageData(f, f);
|
|
1435
|
+
return t.qrToImageData(d.data, i, a), n(B, u, f), B.putImageData(d, 0, 0), u;
|
|
1434
1436
|
}, e.renderToDataURL = function(i, s, l) {
|
|
1435
1437
|
let a = l;
|
|
1436
1438
|
typeof a == "undefined" && (!s || !s.getContext) && (a = s, s = void 0), a || (a = {});
|
|
1437
|
-
const u = e.render(i, s, a),
|
|
1438
|
-
return u.toDataURL(
|
|
1439
|
+
const u = e.render(i, s, a), f = a.type || "image/png", B = a.rendererOpts || {};
|
|
1440
|
+
return u.toDataURL(f, B.quality);
|
|
1439
1441
|
};
|
|
1440
|
-
})(
|
|
1441
|
-
var
|
|
1442
|
-
const
|
|
1443
|
-
function
|
|
1442
|
+
})(Gt);
|
|
1443
|
+
var Yt = {};
|
|
1444
|
+
const qe = At;
|
|
1445
|
+
function Lt(e, t) {
|
|
1444
1446
|
const n = e.a / 255, o = t + '="' + e.hex + '"';
|
|
1445
1447
|
return n < 1 ? o + " " + t + '-opacity="' + n.toFixed(2).slice(1) + '"' : o;
|
|
1446
1448
|
}
|
|
1447
|
-
function
|
|
1449
|
+
function gt(e, t, n) {
|
|
1448
1450
|
let o = e + t;
|
|
1449
1451
|
return typeof n != "undefined" && (o += " " + n), o;
|
|
1450
1452
|
}
|
|
1451
|
-
function
|
|
1453
|
+
function We(e, t, n) {
|
|
1452
1454
|
let o = "", r = 0, i = !1, s = 0;
|
|
1453
1455
|
for (let l = 0; l < e.length; l++) {
|
|
1454
1456
|
const a = Math.floor(l % t), u = Math.floor(l / t);
|
|
1455
|
-
!a && !i && (i = !0), e[l] ? (s++, l > 0 && a > 0 && e[l - 1] || (o += i ?
|
|
1457
|
+
!a && !i && (i = !0), e[l] ? (s++, l > 0 && a > 0 && e[l - 1] || (o += i ? gt("M", a + n, 0.5 + u + n) : gt("m", r, 0), r = 0, i = !1), a + 1 < t && e[l + 1] || (o += gt("h", s), s = 0)) : r++;
|
|
1456
1458
|
}
|
|
1457
1459
|
return o;
|
|
1458
1460
|
}
|
|
1459
|
-
|
|
1460
|
-
const r =
|
|
1461
|
+
Yt.render = function(t, n, o) {
|
|
1462
|
+
const r = qe.getOptions(n), i = t.modules.size, s = t.modules.data, l = i + r.margin * 2, a = r.color.light.a ? "<path " + Lt(r.color.light, "fill") + ' d="M0 0h' + l + "v" + l + 'H0z"/>' : "", u = "<path " + Lt(r.color.dark, "stroke") + ' d="' + We(s, i, r.margin) + '"/>', f = 'viewBox="0 0 ' + l + " " + l + '"', d = '<svg xmlns="http://www.w3.org/2000/svg" ' + (r.width ? 'width="' + r.width + '" height="' + r.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + a + u + `</svg>
|
|
1461
1463
|
`;
|
|
1462
1464
|
return typeof o == "function" && o(null, d), d;
|
|
1463
1465
|
};
|
|
1464
|
-
const
|
|
1465
|
-
function
|
|
1466
|
+
const Xe = fe, Ct = Ut, qt = Gt, Ze = Yt;
|
|
1467
|
+
function Tt(e, t, n, o, r) {
|
|
1466
1468
|
const i = [].slice.call(arguments, 1), s = i.length, l = typeof i[s - 1] == "function";
|
|
1467
|
-
if (!l && !
|
|
1469
|
+
if (!l && !Xe())
|
|
1468
1470
|
throw new Error("Callback required as last argument");
|
|
1469
1471
|
if (l) {
|
|
1470
1472
|
if (s < 2)
|
|
@@ -1475,65 +1477,66 @@ function pt(e, t, n, o, r) {
|
|
|
1475
1477
|
throw new Error("Too few arguments provided");
|
|
1476
1478
|
return s === 1 ? (n = t, t = o = void 0) : s === 2 && !t.getContext && (o = n, n = t, t = void 0), new Promise(function(a, u) {
|
|
1477
1479
|
try {
|
|
1478
|
-
const
|
|
1479
|
-
a(e(
|
|
1480
|
-
} catch (
|
|
1481
|
-
u(
|
|
1480
|
+
const f = Ct.create(n, o);
|
|
1481
|
+
a(e(f, t, o));
|
|
1482
|
+
} catch (f) {
|
|
1483
|
+
u(f);
|
|
1482
1484
|
}
|
|
1483
1485
|
});
|
|
1484
1486
|
}
|
|
1485
1487
|
try {
|
|
1486
|
-
const a =
|
|
1488
|
+
const a = Ct.create(n, o);
|
|
1487
1489
|
r(null, e(a, t, o));
|
|
1488
1490
|
} catch (a) {
|
|
1489
1491
|
r(a);
|
|
1490
1492
|
}
|
|
1491
1493
|
}
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
return
|
|
1494
|
+
q.create = Ct.create;
|
|
1495
|
+
q.toCanvas = Tt.bind(null, qt.render);
|
|
1496
|
+
q.toDataURL = Tt.bind(null, qt.renderToDataURL);
|
|
1497
|
+
q.toString = Tt.bind(null, function(e, t, n) {
|
|
1498
|
+
return Ze.render(e, n);
|
|
1497
1499
|
});
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
+
var $ = /* @__PURE__ */ ((e) => (e.unauthorizedError = "unauthorized", e.unexpectedError = "unexpectedError", e.failedToFetch = "failedToFetch", e))($ || {});
|
|
1501
|
+
function xe(e) {
|
|
1502
|
+
te(e, "svelte-ty0b2n", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto 0 0}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
1500
1503
|
}
|
|
1501
|
-
function
|
|
1504
|
+
function $e(e) {
|
|
1502
1505
|
let t, n, o;
|
|
1503
1506
|
return {
|
|
1504
1507
|
c() {
|
|
1505
|
-
t = U("div"), n = U("img"),
|
|
1506
|
-
e[3]) ||
|
|
1508
|
+
t = U("div"), n = U("img"), _(n, "class", "qr-image"), Nt(n.src, o = /*qrImageUrl*/
|
|
1509
|
+
e[3]) || _(n, "src", o), _(n, "alt", "qr-session-login"), _(t, "class", "qr-section");
|
|
1507
1510
|
},
|
|
1508
1511
|
m(r, i) {
|
|
1509
|
-
|
|
1512
|
+
rt(r, t, i), P(t, n);
|
|
1510
1513
|
},
|
|
1511
1514
|
p(r, i) {
|
|
1512
1515
|
i & /*qrImageUrl*/
|
|
1513
|
-
8 && !
|
|
1514
|
-
r[3]) &&
|
|
1516
|
+
8 && !Nt(n.src, o = /*qrImageUrl*/
|
|
1517
|
+
r[3]) && _(n, "src", o);
|
|
1515
1518
|
},
|
|
1516
1519
|
d(r) {
|
|
1517
|
-
r &&
|
|
1520
|
+
r && nt(t);
|
|
1518
1521
|
}
|
|
1519
1522
|
};
|
|
1520
1523
|
}
|
|
1521
|
-
function
|
|
1524
|
+
function tn(e) {
|
|
1522
1525
|
let t;
|
|
1523
1526
|
return {
|
|
1524
1527
|
c() {
|
|
1525
|
-
t = U("div"),
|
|
1528
|
+
t = U("div"), _(t, "class", "LoadingSpinner");
|
|
1526
1529
|
},
|
|
1527
1530
|
m(n, o) {
|
|
1528
|
-
|
|
1531
|
+
rt(n, t, o);
|
|
1529
1532
|
},
|
|
1530
|
-
p:
|
|
1533
|
+
p: ht,
|
|
1531
1534
|
d(n) {
|
|
1532
|
-
n &&
|
|
1535
|
+
n && nt(t);
|
|
1533
1536
|
}
|
|
1534
1537
|
};
|
|
1535
1538
|
}
|
|
1536
|
-
function
|
|
1539
|
+
function en(e) {
|
|
1537
1540
|
let t, n = (
|
|
1538
1541
|
/*$_*/
|
|
1539
1542
|
e[5](
|
|
@@ -1543,10 +1546,10 @@ function Ze(e) {
|
|
|
1543
1546
|
), o;
|
|
1544
1547
|
return {
|
|
1545
1548
|
c() {
|
|
1546
|
-
t = U("p"), o =
|
|
1549
|
+
t = U("p"), o = wt(n), _(t, "class", "generate-qr-error-message");
|
|
1547
1550
|
},
|
|
1548
1551
|
m(r, i) {
|
|
1549
|
-
|
|
1552
|
+
rt(r, t, i), P(t, o);
|
|
1550
1553
|
},
|
|
1551
1554
|
p(r, i) {
|
|
1552
1555
|
i & /*$_, errorCode*/
|
|
@@ -1554,181 +1557,188 @@ function Ze(e) {
|
|
|
1554
1557
|
r[5](
|
|
1555
1558
|
/*errorCode*/
|
|
1556
1559
|
r[4]
|
|
1557
|
-
) + "") &&
|
|
1560
|
+
) + "") && mt(o, n);
|
|
1558
1561
|
},
|
|
1559
1562
|
d(r) {
|
|
1560
|
-
r &&
|
|
1563
|
+
r && nt(t);
|
|
1561
1564
|
}
|
|
1562
1565
|
};
|
|
1563
1566
|
}
|
|
1564
|
-
function
|
|
1567
|
+
function nn(e) {
|
|
1565
1568
|
let t, n, o, r = (
|
|
1566
1569
|
/*$_*/
|
|
1567
1570
|
e[5]("titleQRSessionGenerator") + ""
|
|
1568
1571
|
), i, s, l, a = (
|
|
1569
1572
|
/*remaining*/
|
|
1570
1573
|
(e[1] > 0 ? `${/*remaining*/
|
|
1571
|
-
e[1]}
|
|
1574
|
+
e[1]}${/*$_*/
|
|
1575
|
+
e[5]("second")}` : (
|
|
1572
1576
|
/*$_*/
|
|
1573
1577
|
e[5]("generateQRButton")
|
|
1574
1578
|
)) + ""
|
|
1575
|
-
), u,
|
|
1576
|
-
function
|
|
1579
|
+
), u, f, B, d, g;
|
|
1580
|
+
function h(c, w) {
|
|
1577
1581
|
if (
|
|
1578
1582
|
/*errorCode*/
|
|
1579
|
-
|
|
1583
|
+
c[4]
|
|
1580
1584
|
)
|
|
1581
|
-
return
|
|
1585
|
+
return en;
|
|
1582
1586
|
if (
|
|
1583
1587
|
/*isGenerating*/
|
|
1584
|
-
|
|
1588
|
+
c[2]
|
|
1585
1589
|
)
|
|
1586
|
-
return
|
|
1590
|
+
return tn;
|
|
1587
1591
|
if (
|
|
1588
1592
|
/*qrImageUrl*/
|
|
1589
|
-
|
|
1593
|
+
c[3]
|
|
1590
1594
|
)
|
|
1591
|
-
return
|
|
1595
|
+
return $e;
|
|
1592
1596
|
}
|
|
1593
|
-
let
|
|
1597
|
+
let m = h(e), C = m && m(e);
|
|
1594
1598
|
return {
|
|
1595
1599
|
c() {
|
|
1596
|
-
t = U("div"), n = U("div"), o = U("p"), i =
|
|
1600
|
+
t = U("div"), n = U("div"), o = U("p"), i = wt(r), s = It(), l = U("button"), u = wt(a), B = It(), C && C.c(), _(l, "class", "generate-qr-btn"), l.disabled = f = /*isGenerating*/
|
|
1597
1601
|
e[2] || /*remaining*/
|
|
1598
|
-
e[1] > 0,
|
|
1602
|
+
e[1] > 0, _(n, "class", "qr-session-generator");
|
|
1599
1603
|
},
|
|
1600
|
-
m(
|
|
1601
|
-
|
|
1604
|
+
m(c, w) {
|
|
1605
|
+
rt(c, t, w), P(t, n), P(n, o), P(o, i), P(n, s), P(n, l), P(l, u), P(n, B), C && C.m(n, null), e[14](t), d || (g = ee(
|
|
1602
1606
|
l,
|
|
1603
1607
|
"click",
|
|
1604
1608
|
/*onGenerateQRClick*/
|
|
1605
1609
|
e[6]
|
|
1606
1610
|
), d = !0);
|
|
1607
1611
|
},
|
|
1608
|
-
p(
|
|
1609
|
-
|
|
1612
|
+
p(c, [w]) {
|
|
1613
|
+
w & /*$_*/
|
|
1610
1614
|
32 && r !== (r = /*$_*/
|
|
1611
|
-
|
|
1615
|
+
c[5]("titleQRSessionGenerator") + "") && mt(i, r), w & /*remaining, $_*/
|
|
1612
1616
|
34 && a !== (a = /*remaining*/
|
|
1613
|
-
(
|
|
1614
|
-
|
|
1617
|
+
(c[1] > 0 ? `${/*remaining*/
|
|
1618
|
+
c[1]}${/*$_*/
|
|
1619
|
+
c[5]("second")}` : (
|
|
1615
1620
|
/*$_*/
|
|
1616
|
-
|
|
1617
|
-
)) + "") &&
|
|
1618
|
-
6 &&
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
+
c[5]("generateQRButton")
|
|
1622
|
+
)) + "") && mt(u, a), w & /*isGenerating, remaining*/
|
|
1623
|
+
6 && f !== (f = /*isGenerating*/
|
|
1624
|
+
c[2] || /*remaining*/
|
|
1625
|
+
c[1] > 0) && (l.disabled = f), m === (m = h(c)) && C ? C.p(c, w) : (C && C.d(1), C = m && m(c), C && (C.c(), C.m(n, null)));
|
|
1621
1626
|
},
|
|
1622
|
-
i:
|
|
1623
|
-
o:
|
|
1624
|
-
d(
|
|
1625
|
-
|
|
1627
|
+
i: ht,
|
|
1628
|
+
o: ht,
|
|
1629
|
+
d(c) {
|
|
1630
|
+
c && nt(t), C && C.d(), e[14](null), d = !1, g();
|
|
1626
1631
|
}
|
|
1627
1632
|
};
|
|
1628
1633
|
}
|
|
1629
|
-
const
|
|
1630
|
-
function
|
|
1634
|
+
const rn = 60, on = 1e3;
|
|
1635
|
+
function sn(e, t, n) {
|
|
1631
1636
|
let o;
|
|
1632
|
-
|
|
1633
|
-
let { clientstyling: r = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: s } = t, { lang: l = "en" } = t, { endpoint: a = "" } = t, { sessionid: u } = t, { translationurl:
|
|
1637
|
+
ne(e, ue, (p) => n(5, o = p));
|
|
1638
|
+
let { clientstyling: r = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: s } = t, { lang: l = "en" } = t, { endpoint: a = "" } = t, { sessionid: u } = t, { translationurl: f } = t;
|
|
1634
1639
|
const B = {
|
|
1635
|
-
"gm.norway.unauthorized":
|
|
1640
|
+
"gm.norway.unauthorized": $.unauthorizedError
|
|
1636
1641
|
};
|
|
1637
|
-
let d, g,
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
Object.keys(
|
|
1643
|
-
|
|
1642
|
+
let d, g, h = 0, m = !1, C = null, c = null, w = null;
|
|
1643
|
+
const E = () => j(this, null, function* () {
|
|
1644
|
+
const p = f;
|
|
1645
|
+
try {
|
|
1646
|
+
const X = yield (yield fetch(p)).json();
|
|
1647
|
+
Object.keys(X).forEach((K) => {
|
|
1648
|
+
Rt(K, X[K]);
|
|
1644
1649
|
});
|
|
1645
|
-
}
|
|
1646
|
-
console.error(
|
|
1647
|
-
}
|
|
1648
|
-
};
|
|
1649
|
-
Object.keys(
|
|
1650
|
-
|
|
1650
|
+
} catch (Q) {
|
|
1651
|
+
console.error(Q);
|
|
1652
|
+
}
|
|
1653
|
+
});
|
|
1654
|
+
Object.keys(Mt).forEach((p) => {
|
|
1655
|
+
Rt(p, Mt[p]);
|
|
1651
1656
|
});
|
|
1652
1657
|
const y = () => {
|
|
1653
|
-
|
|
1654
|
-
}, b = () =>
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
const F = yield fetch(E.href, M);
|
|
1658
|
+
ce(l);
|
|
1659
|
+
}, b = (p) => j(this, null, function* () {
|
|
1660
|
+
n(3, c = yield q.toDataURL(p));
|
|
1661
|
+
}), S = (p) => {
|
|
1662
|
+
n(4, w = p), L();
|
|
1663
|
+
}, A = () => j(this, null, function* () {
|
|
1664
|
+
var K;
|
|
1665
|
+
const p = new URL(`${a}/api/pam/v1/qr/authenticate`), Q = new Headers();
|
|
1666
|
+
Q.append("X-SessionID", u);
|
|
1667
|
+
const X = { method: "POST", headers: Q };
|
|
1664
1668
|
try {
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1669
|
+
const J = yield fetch(p.href, X);
|
|
1670
|
+
if (J.ok) {
|
|
1671
|
+
const lt = yield J.json();
|
|
1672
|
+
yield b(JSON.stringify(lt));
|
|
1668
1673
|
} else {
|
|
1669
|
-
const
|
|
1670
|
-
|
|
1674
|
+
const lt = yield J.json();
|
|
1675
|
+
S((K = B[lt.Code]) != null ? K : $.unexpectedError);
|
|
1671
1676
|
}
|
|
1672
|
-
} catch (
|
|
1673
|
-
console.error(
|
|
1677
|
+
} catch (J) {
|
|
1678
|
+
console.error(J), S($.failedToFetch);
|
|
1674
1679
|
} finally {
|
|
1675
|
-
n(2,
|
|
1680
|
+
n(2, m = !1);
|
|
1676
1681
|
}
|
|
1682
|
+
}), T = () => j(this, null, function* () {
|
|
1683
|
+
m || h > 0 || (n(2, m = !0), n(4, w = null), n(3, c = null), n(1, h = rn), R(), yield A());
|
|
1677
1684
|
});
|
|
1678
|
-
function
|
|
1679
|
-
|
|
1685
|
+
function N() {
|
|
1686
|
+
C !== null && clearInterval(C);
|
|
1687
|
+
}
|
|
1688
|
+
function R() {
|
|
1689
|
+
N(), C = setInterval(
|
|
1680
1690
|
() => {
|
|
1681
|
-
|
|
1691
|
+
h > 1 ? n(1, h -= 1) : (n(1, h = 0), n(2, m = !1), n(3, c = null), L());
|
|
1682
1692
|
},
|
|
1683
|
-
|
|
1693
|
+
on
|
|
1684
1694
|
);
|
|
1685
1695
|
}
|
|
1686
|
-
function
|
|
1687
|
-
|
|
1696
|
+
function L() {
|
|
1697
|
+
N(), C = null, n(1, h = 0);
|
|
1688
1698
|
}
|
|
1689
|
-
|
|
1690
|
-
|
|
1699
|
+
re(() => {
|
|
1700
|
+
N();
|
|
1691
1701
|
});
|
|
1692
|
-
function
|
|
1693
|
-
|
|
1694
|
-
d =
|
|
1702
|
+
function O(p) {
|
|
1703
|
+
oe[p ? "unshift" : "push"](() => {
|
|
1704
|
+
d = p, n(0, d);
|
|
1695
1705
|
});
|
|
1696
1706
|
}
|
|
1697
|
-
return e.$$set = (
|
|
1698
|
-
"clientstyling" in
|
|
1707
|
+
return e.$$set = (p) => {
|
|
1708
|
+
"clientstyling" in p && n(7, r = p.clientstyling), "clientstylingurl" in p && n(8, i = p.clientstylingurl), "mbsource" in p && n(9, s = p.mbsource), "lang" in p && n(10, l = p.lang), "endpoint" in p && n(11, a = p.endpoint), "sessionid" in p && n(12, u = p.sessionid), "translationurl" in p && n(13, f = p.translationurl);
|
|
1699
1709
|
}, e.$$.update = () => {
|
|
1700
1710
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
1701
|
-
129 && r && d &&
|
|
1702
|
-
257 && i && d &&
|
|
1703
|
-
513 && s && d &&
|
|
1711
|
+
129 && r && d && ie(d, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
1712
|
+
257 && i && d && se(d, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
1713
|
+
513 && s && d && ae(d, `${s}.Style`, g), e.$$.dirty & /*lang*/
|
|
1704
1714
|
1024 && l && y(), e.$$.dirty & /*translationurl*/
|
|
1705
|
-
8192 &&
|
|
1715
|
+
8192 && f && E();
|
|
1706
1716
|
}, [
|
|
1707
1717
|
d,
|
|
1718
|
+
h,
|
|
1708
1719
|
m,
|
|
1720
|
+
c,
|
|
1709
1721
|
w,
|
|
1710
|
-
f,
|
|
1711
|
-
h,
|
|
1712
1722
|
o,
|
|
1713
|
-
|
|
1723
|
+
T,
|
|
1714
1724
|
r,
|
|
1715
1725
|
i,
|
|
1716
1726
|
s,
|
|
1717
1727
|
l,
|
|
1718
1728
|
a,
|
|
1719
1729
|
u,
|
|
1720
|
-
|
|
1721
|
-
|
|
1730
|
+
f,
|
|
1731
|
+
O
|
|
1722
1732
|
];
|
|
1723
1733
|
}
|
|
1724
|
-
class
|
|
1734
|
+
class an extends Zt {
|
|
1725
1735
|
constructor(t) {
|
|
1726
|
-
super(),
|
|
1736
|
+
super(), xt(
|
|
1727
1737
|
this,
|
|
1728
1738
|
t,
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1739
|
+
sn,
|
|
1740
|
+
nn,
|
|
1741
|
+
$t,
|
|
1732
1742
|
{
|
|
1733
1743
|
clientstyling: 7,
|
|
1734
1744
|
clientstylingurl: 8,
|
|
@@ -1738,53 +1748,53 @@ class en extends Gt {
|
|
|
1738
1748
|
sessionid: 12,
|
|
1739
1749
|
translationurl: 13
|
|
1740
1750
|
},
|
|
1741
|
-
|
|
1751
|
+
xe
|
|
1742
1752
|
);
|
|
1743
1753
|
}
|
|
1744
1754
|
get clientstyling() {
|
|
1745
1755
|
return this.$$.ctx[7];
|
|
1746
1756
|
}
|
|
1747
1757
|
set clientstyling(t) {
|
|
1748
|
-
this.$$set({ clientstyling: t }),
|
|
1758
|
+
this.$$set({ clientstyling: t }), F();
|
|
1749
1759
|
}
|
|
1750
1760
|
get clientstylingurl() {
|
|
1751
1761
|
return this.$$.ctx[8];
|
|
1752
1762
|
}
|
|
1753
1763
|
set clientstylingurl(t) {
|
|
1754
|
-
this.$$set({ clientstylingurl: t }),
|
|
1764
|
+
this.$$set({ clientstylingurl: t }), F();
|
|
1755
1765
|
}
|
|
1756
1766
|
get mbsource() {
|
|
1757
1767
|
return this.$$.ctx[9];
|
|
1758
1768
|
}
|
|
1759
1769
|
set mbsource(t) {
|
|
1760
|
-
this.$$set({ mbsource: t }),
|
|
1770
|
+
this.$$set({ mbsource: t }), F();
|
|
1761
1771
|
}
|
|
1762
1772
|
get lang() {
|
|
1763
1773
|
return this.$$.ctx[10];
|
|
1764
1774
|
}
|
|
1765
1775
|
set lang(t) {
|
|
1766
|
-
this.$$set({ lang: t }),
|
|
1776
|
+
this.$$set({ lang: t }), F();
|
|
1767
1777
|
}
|
|
1768
1778
|
get endpoint() {
|
|
1769
1779
|
return this.$$.ctx[11];
|
|
1770
1780
|
}
|
|
1771
1781
|
set endpoint(t) {
|
|
1772
|
-
this.$$set({ endpoint: t }),
|
|
1782
|
+
this.$$set({ endpoint: t }), F();
|
|
1773
1783
|
}
|
|
1774
1784
|
get sessionid() {
|
|
1775
1785
|
return this.$$.ctx[12];
|
|
1776
1786
|
}
|
|
1777
1787
|
set sessionid(t) {
|
|
1778
|
-
this.$$set({ sessionid: t }),
|
|
1788
|
+
this.$$set({ sessionid: t }), F();
|
|
1779
1789
|
}
|
|
1780
1790
|
get translationurl() {
|
|
1781
1791
|
return this.$$.ctx[13];
|
|
1782
1792
|
}
|
|
1783
1793
|
set translationurl(t) {
|
|
1784
|
-
this.$$set({ translationurl: t }),
|
|
1794
|
+
this.$$set({ translationurl: t }), F();
|
|
1785
1795
|
}
|
|
1786
1796
|
}
|
|
1787
|
-
|
|
1797
|
+
le(an, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, sessionid: {}, translationurl: {} }, [], [], !0);
|
|
1788
1798
|
export {
|
|
1789
|
-
|
|
1799
|
+
an as default
|
|
1790
1800
|
};
|