@ranty/ranty-sdk 3.2.0-beta.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -916,7 +916,7 @@ function le(t) {
|
|
|
916
916
|
*/
|
|
917
917
|
var H1;
|
|
918
918
|
((H1 = window.HTMLSlotElement) === null || H1 === void 0 ? void 0 : H1.prototype.assignedElements) != null;
|
|
919
|
-
const aS = "@ranty/ranty-sdk", lS = "3.2.0
|
|
919
|
+
const aS = "@ranty/ranty-sdk", lS = "3.2.0", dS = "Ranty sdk", cS = "dist/index.js", AS = {
|
|
920
920
|
".": "./dist/index.js"
|
|
921
921
|
}, uS = "types/index.d.ts", pS = [
|
|
922
922
|
"dist",
|
|
@@ -2015,9 +2015,9 @@ Ie.reduceDescriptors(Mm.prototype, ({ value: t }, e) => {
|
|
|
2015
2015
|
};
|
|
2016
2016
|
});
|
|
2017
2017
|
Ie.freezeMethods(Mm);
|
|
2018
|
-
const
|
|
2018
|
+
const wi = Mm;
|
|
2019
2019
|
function V1(t, e) {
|
|
2020
|
-
const n = this || c2, r = e || n, s =
|
|
2020
|
+
const n = this || c2, r = e || n, s = wi.from(r.headers);
|
|
2021
2021
|
let i = r.data;
|
|
2022
2022
|
return Ie.forEach(t, function(a) {
|
|
2023
2023
|
i = a.call(n, i, s.normalize(), e ? e.status : void 0);
|
|
@@ -2140,7 +2140,7 @@ function zC(t, e, n) {
|
|
|
2140
2140
|
let r = !q8(e);
|
|
2141
2141
|
return t && (r || n == !1) ? V8(t, e) : e;
|
|
2142
2142
|
}
|
|
2143
|
-
const M5 = (t) => t instanceof
|
|
2143
|
+
const M5 = (t) => t instanceof wi ? Ve({}, t) : t;
|
|
2144
2144
|
function Od(t, e) {
|
|
2145
2145
|
e = e || {};
|
|
2146
2146
|
const n = {};
|
|
@@ -2210,7 +2210,7 @@ function Od(t, e) {
|
|
|
2210
2210
|
const HC = (t) => {
|
|
2211
2211
|
const e = Od({}, t);
|
|
2212
2212
|
let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: i, headers: o, auth: a } = e;
|
|
2213
|
-
e.headers = o =
|
|
2213
|
+
e.headers = o = wi.from(o), e.url = OC(zC(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), a && o.set(
|
|
2214
2214
|
"Authorization",
|
|
2215
2215
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
2216
2216
|
);
|
|
@@ -2232,7 +2232,7 @@ const HC = (t) => {
|
|
|
2232
2232
|
return new Promise(function(n, r) {
|
|
2233
2233
|
const s = HC(t);
|
|
2234
2234
|
let i = s.data;
|
|
2235
|
-
const o =
|
|
2235
|
+
const o = wi.from(s.headers).normalize();
|
|
2236
2236
|
let { responseType: a, onUploadProgress: d, onDownloadProgress: l } = s, c, u, h, p, m;
|
|
2237
2237
|
function y() {
|
|
2238
2238
|
p && p(), m && m(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
|
|
@@ -2242,7 +2242,7 @@ const HC = (t) => {
|
|
|
2242
2242
|
function b() {
|
|
2243
2243
|
if (!_)
|
|
2244
2244
|
return;
|
|
2245
|
-
const I =
|
|
2245
|
+
const I = wi.from(
|
|
2246
2246
|
"getAllResponseHeaders" in _ && _.getAllResponseHeaders()
|
|
2247
2247
|
), V = {
|
|
2248
2248
|
data: !a || a === "text" || a === "json" ? _.responseText : _.response,
|
|
@@ -2498,7 +2498,7 @@ const tI = (t) => ce(void 0, null, function* () {
|
|
|
2498
2498
|
return !I && y && y(), yield new Promise((V, z) => {
|
|
2499
2499
|
MC(V, z, {
|
|
2500
2500
|
data: N,
|
|
2501
|
-
headers:
|
|
2501
|
+
headers: wi.from(x.headers),
|
|
2502
2502
|
status: x.status,
|
|
2503
2503
|
statusText: x.statusText,
|
|
2504
2504
|
config: t,
|
|
@@ -2563,7 +2563,7 @@ function K1(t) {
|
|
|
2563
2563
|
throw new HA(null, t);
|
|
2564
2564
|
}
|
|
2565
2565
|
function V5(t) {
|
|
2566
|
-
return K1(t), t.headers =
|
|
2566
|
+
return K1(t), t.headers = wi.from(t.headers), t.data = V1.call(
|
|
2567
2567
|
t,
|
|
2568
2568
|
t.transformRequest
|
|
2569
2569
|
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), KC.getAdapter(t.adapter || c2.adapter)(t).then(function(r) {
|
|
@@ -2571,13 +2571,13 @@ function V5(t) {
|
|
|
2571
2571
|
t,
|
|
2572
2572
|
t.transformResponse,
|
|
2573
2573
|
r
|
|
2574
|
-
), r.headers =
|
|
2574
|
+
), r.headers = wi.from(r.headers), r;
|
|
2575
2575
|
}, function(r) {
|
|
2576
2576
|
return QC(r) || (K1(t), r && r.response && (r.response.data = V1.call(
|
|
2577
2577
|
t,
|
|
2578
2578
|
t.transformResponse,
|
|
2579
2579
|
r.response
|
|
2580
|
-
), r.response.headers =
|
|
2580
|
+
), r.response.headers = wi.from(r.response.headers))), Promise.reject(r);
|
|
2581
2581
|
});
|
|
2582
2582
|
}
|
|
2583
2583
|
const GC = "1.8.4", Hm = {};
|
|
@@ -2688,7 +2688,7 @@ class Mf {
|
|
|
2688
2688
|
(m) => {
|
|
2689
2689
|
delete i[m];
|
|
2690
2690
|
}
|
|
2691
|
-
), n.headers =
|
|
2691
|
+
), n.headers = wi.concat(o, i);
|
|
2692
2692
|
const a = [];
|
|
2693
2693
|
let d = !0;
|
|
2694
2694
|
this.interceptors.request.forEach(function(y) {
|
|
@@ -2929,13 +2929,13 @@ Kn.all = function(e) {
|
|
|
2929
2929
|
Kn.spread = aI;
|
|
2930
2930
|
Kn.isAxiosError = lI;
|
|
2931
2931
|
Kn.mergeConfig = Od;
|
|
2932
|
-
Kn.AxiosHeaders =
|
|
2932
|
+
Kn.AxiosHeaders = wi;
|
|
2933
2933
|
Kn.formToJSON = (t) => LC(Ie.isHTMLForm(t) ? new FormData(t) : t);
|
|
2934
2934
|
Kn.getAdapter = KC.getAdapter;
|
|
2935
2935
|
Kn.HttpStatusCode = dI;
|
|
2936
2936
|
Kn.default = Kn;
|
|
2937
2937
|
const u2 = Kn;
|
|
2938
|
-
var
|
|
2938
|
+
var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
2939
2939
|
function cI(t) {
|
|
2940
2940
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2941
2941
|
}
|
|
@@ -3151,7 +3151,7 @@ pl.isIdempotentRequestError = $C;
|
|
|
3151
3151
|
pl.isNetworkOrIdempotentRequestError = eB;
|
|
3152
3152
|
pl.exponentialDelay = yI;
|
|
3153
3153
|
pl.isRetryableError = h2;
|
|
3154
|
-
var tB = {}, BA = {}, eh = {}, xI =
|
|
3154
|
+
var tB = {}, BA = {}, eh = {}, xI = _i && _i.__awaiter || function(t, e, n, r) {
|
|
3155
3155
|
function s(i) {
|
|
3156
3156
|
return i instanceof n ? i : new n(function(o) {
|
|
3157
3157
|
o(i);
|
|
@@ -3177,7 +3177,7 @@ var tB = {}, BA = {}, eh = {}, xI = wi && wi.__awaiter || function(t, e, n, r) {
|
|
|
3177
3177
|
}
|
|
3178
3178
|
l((r = r.apply(t, e || [])).next());
|
|
3179
3179
|
});
|
|
3180
|
-
}, CI =
|
|
3180
|
+
}, CI = _i && _i.__generator || function(t, e) {
|
|
3181
3181
|
var n = { label: 0, sent: function() {
|
|
3182
3182
|
if (i[0] & 1)
|
|
3183
3183
|
throw i[1];
|
|
@@ -3275,7 +3275,7 @@ var BI = function() {
|
|
|
3275
3275
|
}, t;
|
|
3276
3276
|
}();
|
|
3277
3277
|
eh.ReCaptchaInstance = BI;
|
|
3278
|
-
var xv =
|
|
3278
|
+
var xv = _i && _i.__assign || function() {
|
|
3279
3279
|
return xv = Object.assign || function(t) {
|
|
3280
3280
|
for (var e, n = 1, r = arguments.length; n < r; n++) {
|
|
3281
3281
|
e = arguments[n];
|
|
@@ -4813,23 +4813,23 @@ var KI = (
|
|
|
4813
4813
|
function GI() {
|
|
4814
4814
|
return new KI();
|
|
4815
4815
|
}
|
|
4816
|
-
var iB = 256, pg, Xa = null,
|
|
4816
|
+
var iB = 256, pg, Xa = null, yi;
|
|
4817
4817
|
if (Xa == null) {
|
|
4818
|
-
Xa = [],
|
|
4818
|
+
Xa = [], yi = 0;
|
|
4819
4819
|
var hg = void 0;
|
|
4820
4820
|
if (typeof window != "undefined" && window.crypto && window.crypto.getRandomValues) {
|
|
4821
4821
|
var Y1 = new Uint32Array(256);
|
|
4822
4822
|
for (window.crypto.getRandomValues(Y1), hg = 0; hg < Y1.length; ++hg)
|
|
4823
|
-
Xa[
|
|
4823
|
+
Xa[yi++] = Y1[hg] & 255;
|
|
4824
4824
|
}
|
|
4825
4825
|
var gg = 0, fg = function(t) {
|
|
4826
|
-
if (gg = gg || 0, gg >= 256 ||
|
|
4826
|
+
if (gg = gg || 0, gg >= 256 || yi >= iB) {
|
|
4827
4827
|
window.removeEventListener ? window.removeEventListener("mousemove", fg, !1) : window.detachEvent && window.detachEvent("onmousemove", fg);
|
|
4828
4828
|
return;
|
|
4829
4829
|
}
|
|
4830
4830
|
try {
|
|
4831
4831
|
var e = t.x + t.y;
|
|
4832
|
-
Xa[
|
|
4832
|
+
Xa[yi++] = e & 255, gg += 1;
|
|
4833
4833
|
} catch (n) {
|
|
4834
4834
|
}
|
|
4835
4835
|
};
|
|
@@ -4837,13 +4837,13 @@ if (Xa == null) {
|
|
|
4837
4837
|
}
|
|
4838
4838
|
function WI() {
|
|
4839
4839
|
if (pg == null) {
|
|
4840
|
-
for (pg = GI();
|
|
4840
|
+
for (pg = GI(); yi < iB; ) {
|
|
4841
4841
|
var t = Math.floor(65536 * Math.random());
|
|
4842
|
-
Xa[
|
|
4842
|
+
Xa[yi++] = t & 255;
|
|
4843
4843
|
}
|
|
4844
|
-
for (pg.init(Xa),
|
|
4845
|
-
Xa[
|
|
4846
|
-
|
|
4844
|
+
for (pg.init(Xa), yi = 0; yi < Xa.length; ++yi)
|
|
4845
|
+
Xa[yi] = 0;
|
|
4846
|
+
yi = 0;
|
|
4847
4847
|
}
|
|
4848
4848
|
return pg.next();
|
|
4849
4849
|
}
|
|
@@ -8731,7 +8731,7 @@ function Yj() {
|
|
|
8731
8731
|
var t = window._DATADOG_SYNTHETICS_RESULT_ID || xd(Kj);
|
|
8732
8732
|
return typeof t == "string" ? t : void 0;
|
|
8733
8733
|
}
|
|
8734
|
-
var
|
|
8734
|
+
var Ai;
|
|
8735
8735
|
function tm(t, e, n) {
|
|
8736
8736
|
var r = n.getHandler(), s = Array.isArray(r) ? r : [r];
|
|
8737
8737
|
return B_[t] >= B_[n.getLevel()] && Yd(s, e);
|
|
@@ -8746,7 +8746,7 @@ var It = {
|
|
|
8746
8746
|
critical: "critical",
|
|
8747
8747
|
alert: "alert",
|
|
8748
8748
|
emerg: "emerg"
|
|
8749
|
-
}, B_ = (
|
|
8749
|
+
}, B_ = (Ai = {}, Ai[It.ok] = 0, Ai[It.debug] = 1, Ai[It.info] = 2, Ai[It.notice] = 4, Ai[It.warn] = 5, Ai[It.error] = 6, Ai[It.critical] = 7, Ai[It.alert] = 8, Ai[It.emerg] = 9, Ai);
|
|
8750
8750
|
function Jm(t, e) {
|
|
8751
8751
|
var n = e === void 0 ? {} : e, r = n.includeMessage, s = r === void 0 ? !1 : r;
|
|
8752
8752
|
return {
|
|
@@ -8770,7 +8770,7 @@ var Jj = globalThis && globalThis.__decorate || function(t, e, n, r) {
|
|
|
8770
8770
|
console: "console",
|
|
8771
8771
|
http: "http",
|
|
8772
8772
|
silent: "silent"
|
|
8773
|
-
}, Xj = Object.keys(It),
|
|
8773
|
+
}, Xj = Object.keys(It), xi = (
|
|
8774
8774
|
/** @class */
|
|
8775
8775
|
function() {
|
|
8776
8776
|
function t(e, n, r, s, i, o) {
|
|
@@ -8825,15 +8825,15 @@ var Jj = globalThis && globalThis.__decorate || function(t, e, n, r) {
|
|
|
8825
8825
|
], t.prototype, "logImplementation", null), t;
|
|
8826
8826
|
}()
|
|
8827
8827
|
);
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8828
|
+
xi.prototype.ok = Aa(It.ok);
|
|
8829
|
+
xi.prototype.debug = Aa(It.debug);
|
|
8830
|
+
xi.prototype.info = Aa(It.info);
|
|
8831
|
+
xi.prototype.notice = Aa(It.notice);
|
|
8832
|
+
xi.prototype.warn = Aa(It.warn);
|
|
8833
|
+
xi.prototype.error = Aa(It.error);
|
|
8834
|
+
xi.prototype.critical = Aa(It.critical);
|
|
8835
|
+
xi.prototype.alert = Aa(It.alert);
|
|
8836
|
+
xi.prototype.emerg = Aa(It.emerg);
|
|
8837
8837
|
function Aa(t) {
|
|
8838
8838
|
return function(e, n, r) {
|
|
8839
8839
|
var s;
|
|
@@ -8948,7 +8948,7 @@ function s7(t) {
|
|
|
8948
8948
|
));
|
|
8949
8949
|
var u = t(l, c, i, s);
|
|
8950
8950
|
return o = i7(l, u), u;
|
|
8951
|
-
}), a = {}, d = new
|
|
8951
|
+
}), a = {}, d = new xi(function() {
|
|
8952
8952
|
for (var l = [], c = 0; c < arguments.length; c++)
|
|
8953
8953
|
l[c] = arguments[c];
|
|
8954
8954
|
return o.handleLog.apply(o, l);
|
|
@@ -8977,7 +8977,7 @@ function s7(t) {
|
|
|
8977
8977
|
return n.clearContext();
|
|
8978
8978
|
}),
|
|
8979
8979
|
createLogger: Zt(function(l, c) {
|
|
8980
|
-
return c === void 0 && (c = {}), a[l] = new
|
|
8980
|
+
return c === void 0 && (c = {}), a[l] = new xi(function() {
|
|
8981
8981
|
for (var u = [], h = 0; h < arguments.length; h++)
|
|
8982
8982
|
u[h] = arguments[h];
|
|
8983
8983
|
return o.handleLog.apply(o, u);
|
|
@@ -9234,7 +9234,7 @@ function _7(t, e) {
|
|
|
9234
9234
|
}
|
|
9235
9235
|
};
|
|
9236
9236
|
}
|
|
9237
|
-
var x7 = _j,
|
|
9237
|
+
var x7 = _j, ui;
|
|
9238
9238
|
function C7(t) {
|
|
9239
9239
|
function e(n, r, s, i, o) {
|
|
9240
9240
|
var a = SA(r.getContext(), n.context);
|
|
@@ -9256,7 +9256,7 @@ function C7(t) {
|
|
|
9256
9256
|
handleLog: e
|
|
9257
9257
|
};
|
|
9258
9258
|
}
|
|
9259
|
-
var B7 = (
|
|
9259
|
+
var B7 = (ui = {}, ui[It.ok] = Hn.debug, ui[It.debug] = Hn.debug, ui[It.info] = Hn.info, ui[It.notice] = Hn.info, ui[It.warn] = Hn.warn, ui[It.error] = Hn.error, ui[It.critical] = Hn.error, ui[It.alert] = Hn.error, ui[It.emerg] = Hn.error, ui);
|
|
9260
9260
|
function E7(t, e) {
|
|
9261
9261
|
var n = t.status, r = t.message;
|
|
9262
9262
|
gd[B7[n]].call(io, r, e);
|
|
@@ -9387,10 +9387,10 @@ function P7(t, e, n, r) {
|
|
|
9387
9387
|
}
|
|
9388
9388
|
var pp = s7(P7);
|
|
9389
9389
|
UP(Tl(), "DD_LOGS", pp);
|
|
9390
|
-
const j7 = "@ranty/ranty-sdk", F7 = "3.2.0
|
|
9390
|
+
const j7 = "@ranty/ranty-sdk", F7 = "3.2.0", D7 = 3, R7 = !0, O7 = {
|
|
9391
9391
|
"": {
|
|
9392
9392
|
name: "@ranty/ranty-sdk",
|
|
9393
|
-
version: "3.2.0
|
|
9393
|
+
version: "3.2.0",
|
|
9394
9394
|
license: "ISC",
|
|
9395
9395
|
dependencies: {
|
|
9396
9396
|
"@datadog/browser-logs": "^5.35.1",
|
|
@@ -32137,7 +32137,7 @@ const Z2 = [
|
|
|
32137
32137
|
default:
|
|
32138
32138
|
return t;
|
|
32139
32139
|
}
|
|
32140
|
-
},
|
|
32140
|
+
}, Ci = (t) => ce(void 0, null, function* () {
|
|
32141
32141
|
const e = yield Pt.instanceWithRetries.get(`/sdk/payment_request/${t}`, {});
|
|
32142
32142
|
return nF(e.data);
|
|
32143
32143
|
}), tw = (t) => ce(void 0, null, function* () {
|
|
@@ -32233,7 +32233,7 @@ const Pl = (t, e) => ce(void 0, null, function* () {
|
|
|
32233
32233
|
}
|
|
32234
32234
|
static getPaymentRequestByMode(e, n) {
|
|
32235
32235
|
return ce(this, null, function* () {
|
|
32236
|
-
return (n == null ? void 0 : n.toUpperCase()) === xe.CARD_ON_FILE ? yield fT(e) : yield
|
|
32236
|
+
return (n == null ? void 0 : n.toUpperCase()) === xe.CARD_ON_FILE ? yield fT(e) : yield Ci(e);
|
|
32237
32237
|
});
|
|
32238
32238
|
}
|
|
32239
32239
|
static startPolling(e, n = "default", r = 1, s = "minutes", i = 10, o = "minutes") {
|
|
@@ -32333,15 +32333,15 @@ var gF = "Logging", fF = globalThis && globalThis.__values || function(t) {
|
|
|
32333
32333
|
INFO: 3,
|
|
32334
32334
|
WARN: 4,
|
|
32335
32335
|
ERROR: 5
|
|
32336
|
-
},
|
|
32336
|
+
}, fi;
|
|
32337
32337
|
(function(t) {
|
|
32338
32338
|
t.DEBUG = "DEBUG", t.ERROR = "ERROR", t.INFO = "INFO", t.WARN = "WARN", t.VERBOSE = "VERBOSE";
|
|
32339
|
-
})(
|
|
32339
|
+
})(fi || (fi = {}));
|
|
32340
32340
|
var Ni = (
|
|
32341
32341
|
/** @class */
|
|
32342
32342
|
function() {
|
|
32343
32343
|
function t(e, n) {
|
|
32344
|
-
n === void 0 && (n =
|
|
32344
|
+
n === void 0 && (n = fi.WARN), this.name = e, this.level = n, this._pluggables = [];
|
|
32345
32345
|
}
|
|
32346
32346
|
return t.prototype._padding = function(e) {
|
|
32347
32347
|
return e < 10 ? "0" + e : "" + e;
|
|
@@ -32358,7 +32358,7 @@ var Ni = (
|
|
|
32358
32358
|
var a = O_[o], d = O_[e];
|
|
32359
32359
|
if (d >= a) {
|
|
32360
32360
|
var l = console.log.bind(console);
|
|
32361
|
-
e ===
|
|
32361
|
+
e === fi.ERROR && console.error && (l = console.error.bind(console)), e === fi.WARN && console.warn && (l = console.warn.bind(console));
|
|
32362
32362
|
var c = "[".concat(e, "] ").concat(this._ts(), " ").concat(this.name), u = "";
|
|
32363
32363
|
if (s.length === 1 && typeof s[0] == "string")
|
|
32364
32364
|
u = "".concat(c, " - ").concat(s[0]), l(u);
|
|
@@ -32388,27 +32388,27 @@ var Ni = (
|
|
|
32388
32388
|
}, t.prototype.log = function() {
|
|
32389
32389
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
32390
32390
|
e[n] = arguments[n];
|
|
32391
|
-
this._log.apply(this, zc([
|
|
32391
|
+
this._log.apply(this, zc([fi.INFO], Mc(e), !1));
|
|
32392
32392
|
}, t.prototype.info = function() {
|
|
32393
32393
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
32394
32394
|
e[n] = arguments[n];
|
|
32395
|
-
this._log.apply(this, zc([
|
|
32395
|
+
this._log.apply(this, zc([fi.INFO], Mc(e), !1));
|
|
32396
32396
|
}, t.prototype.warn = function() {
|
|
32397
32397
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
32398
32398
|
e[n] = arguments[n];
|
|
32399
|
-
this._log.apply(this, zc([
|
|
32399
|
+
this._log.apply(this, zc([fi.WARN], Mc(e), !1));
|
|
32400
32400
|
}, t.prototype.error = function() {
|
|
32401
32401
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
32402
32402
|
e[n] = arguments[n];
|
|
32403
|
-
this._log.apply(this, zc([
|
|
32403
|
+
this._log.apply(this, zc([fi.ERROR], Mc(e), !1));
|
|
32404
32404
|
}, t.prototype.debug = function() {
|
|
32405
32405
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
32406
32406
|
e[n] = arguments[n];
|
|
32407
|
-
this._log.apply(this, zc([
|
|
32407
|
+
this._log.apply(this, zc([fi.DEBUG], Mc(e), !1));
|
|
32408
32408
|
}, t.prototype.verbose = function() {
|
|
32409
32409
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
32410
32410
|
e[n] = arguments[n];
|
|
32411
|
-
this._log.apply(this, zc([
|
|
32411
|
+
this._log.apply(this, zc([fi.VERBOSE], Mc(e), !1));
|
|
32412
32412
|
}, t.prototype.addPluggable = function(e) {
|
|
32413
32413
|
e && e.getCategoryName() === gF && (this._pluggables.push(e), e.configure(this._config));
|
|
32414
32414
|
}, t.prototype.listPluggables = function() {
|
|
@@ -36736,7 +36736,7 @@ var GO = {}.toString, WO = Array.isArray || function(t) {
|
|
|
36736
36736
|
*/
|
|
36737
36737
|
(function(t) {
|
|
36738
36738
|
var e = c0, n = cw, r = WO;
|
|
36739
|
-
t.Buffer = a, t.SlowBuffer = b, t.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT =
|
|
36739
|
+
t.Buffer = a, t.SlowBuffer = b, t.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT = _i.TYPED_ARRAY_SUPPORT !== void 0 ? _i.TYPED_ARRAY_SUPPORT : s(), t.kMaxLength = i();
|
|
36740
36740
|
function s() {
|
|
36741
36741
|
try {
|
|
36742
36742
|
var R = new Uint8Array(1);
|
|
@@ -39310,7 +39310,7 @@ var Vu = N6.exports, aL = /* @__PURE__ */ function() {
|
|
|
39310
39310
|
um.exports;
|
|
39311
39311
|
(function(t, e) {
|
|
39312
39312
|
(function(n) {
|
|
39313
|
-
var r = e && !e.nodeType && e, s = t && !t.nodeType && t, i = typeof
|
|
39313
|
+
var r = e && !e.nodeType && e, s = t && !t.nodeType && t, i = typeof _i == "object" && _i;
|
|
39314
39314
|
(i.global === i || i.window === i || i.self === i) && (n = i);
|
|
39315
39315
|
var o, a = 2147483647, d = 36, l = 1, c = 26, u = 38, h = 700, p = 72, m = 128, y = "-", _ = /^xn--/, b = /[^\x20-\x7E]/, x = /[\x2E\u3002\uFF0E\uFF61]/g, I = {
|
|
39316
39316
|
overflow: "Overflow: input needs wider integers to process",
|
|
@@ -39424,7 +39424,7 @@ um.exports;
|
|
|
39424
39424
|
o.hasOwnProperty(q) && (r[q] = o[q]);
|
|
39425
39425
|
else
|
|
39426
39426
|
n.punycode = o;
|
|
39427
|
-
})(
|
|
39427
|
+
})(_i);
|
|
39428
39428
|
})(um, um.exports);
|
|
39429
39429
|
var lL = um.exports, dL = {
|
|
39430
39430
|
isString: function(t) {
|
|
@@ -41493,7 +41493,7 @@ var PL = new Ni("AuthError"), Ma = (
|
|
|
41493
41493
|
t0.register(sb);
|
|
41494
41494
|
var sA = null;
|
|
41495
41495
|
typeof WebSocket != "undefined" ? sA = WebSocket : typeof MozWebSocket != "undefined" ? sA = MozWebSocket : typeof global != "undefined" ? sA = global.WebSocket || global.MozWebSocket : typeof window != "undefined" ? sA = window.WebSocket || window.MozWebSocket : typeof self != "undefined" && (sA = self.WebSocket || self.MozWebSocket);
|
|
41496
|
-
const Gu = sA,
|
|
41496
|
+
const Gu = sA, Ws = class extends EventTarget {
|
|
41497
41497
|
static emitEvent(e, n) {
|
|
41498
41498
|
this.webSocketServiceInstance.dispatchEvent(new CustomEvent(e, { detail: n }));
|
|
41499
41499
|
}
|
|
@@ -41534,9 +41534,9 @@ const Gu = sA, Ci = class extends EventTarget {
|
|
|
41534
41534
|
static startHeartbeat(e, n) {
|
|
41535
41535
|
this.heartbeatTimer && clearInterval(this.heartbeatTimer), this.resetInactivityTimeout(n), this.connectionStartTime = Date.now(), this.heartbeatTimer = setInterval(() => {
|
|
41536
41536
|
this.sendMessage(e);
|
|
41537
|
-
}, this.pingInterval), setTimeout(() => {
|
|
41537
|
+
}, this.pingInterval), this.connectionTimeoutId && clearTimeout(this.connectionTimeoutId), this.connectionTimeoutId = setTimeout(() => {
|
|
41538
41538
|
var r;
|
|
41539
|
-
(r = this.socket) == null || r.close();
|
|
41539
|
+
(r = this.socket) == null || r.close(), this.connectionTimeoutId = null;
|
|
41540
41540
|
}, this.connectionDuration);
|
|
41541
41541
|
}
|
|
41542
41542
|
static stopHeartbeat() {
|
|
@@ -41580,8 +41580,10 @@ const Gu = sA, Ci = class extends EventTarget {
|
|
|
41580
41580
|
}, e);
|
|
41581
41581
|
}
|
|
41582
41582
|
static extendHeartbeat(e) {
|
|
41583
|
+
if (this.connectionStartTime === 0)
|
|
41584
|
+
return;
|
|
41583
41585
|
const r = Date.now() - this.connectionStartTime, s = this.connectionDuration / 2;
|
|
41584
|
-
r
|
|
41586
|
+
r > s && (this.connectionDuration = r + this.extendedDuration, this.isExtended = !0, this.stopHeartbeat(), this.startHeartbeat(e, this.extendedDuration));
|
|
41585
41587
|
}
|
|
41586
41588
|
static extendConnectionOnPayment() {
|
|
41587
41589
|
const e = Date.now() - this.connectionStartTime, r = Math.max(this.connectionDuration - e, 0) + this.extendedDuration;
|
|
@@ -41632,16 +41634,17 @@ const Gu = sA, Ci = class extends EventTarget {
|
|
|
41632
41634
|
this.endTime = void 0, this.startTime = void 0;
|
|
41633
41635
|
}
|
|
41634
41636
|
};
|
|
41635
|
-
|
|
41636
|
-
|
|
41637
|
-
|
|
41638
|
-
|
|
41639
|
-
|
|
41640
|
-
|
|
41641
|
-
|
|
41642
|
-
|
|
41643
|
-
|
|
41644
|
-
|
|
41637
|
+
Ws.socket = null;
|
|
41638
|
+
Ws.pingInterval = 24e3;
|
|
41639
|
+
Ws.connectionDuration = 6e5;
|
|
41640
|
+
Ws.extendedDuration = 3e5;
|
|
41641
|
+
Ws.connectionStartTime = 0;
|
|
41642
|
+
Ws.connectionTimeoutId = null;
|
|
41643
|
+
Ws.isExtended = !1;
|
|
41644
|
+
Ws.connectionAttemptCount = 0;
|
|
41645
|
+
Ws.isRunning = !1;
|
|
41646
|
+
Ws.webSocketServiceInstance = new Ws();
|
|
41647
|
+
let Bt = Ws;
|
|
41645
41648
|
const Q6 = (t) => {
|
|
41646
41649
|
const e = t.trim().split(" ");
|
|
41647
41650
|
if (e.length === 1)
|
|
@@ -42263,7 +42266,7 @@ var sQ = Object.defineProperty, iQ = Object.getOwnPropertyDescriptor, yo = (t, e
|
|
|
42263
42266
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
42264
42267
|
return r && s && sQ(e, n, s), s;
|
|
42265
42268
|
};
|
|
42266
|
-
let
|
|
42269
|
+
let Ys = class extends qe {
|
|
42267
42270
|
constructor() {
|
|
42268
42271
|
super(...arguments), this.type = "text", this.value = "", this.label = "", this.name = "", this.customClass = "", this.autocomplete = "off", this.errors = [];
|
|
42269
42272
|
}
|
|
@@ -42288,39 +42291,39 @@ let Ws = class extends qe {
|
|
|
42288
42291
|
`;
|
|
42289
42292
|
}
|
|
42290
42293
|
};
|
|
42291
|
-
|
|
42294
|
+
Ys.styles = Xe`
|
|
42292
42295
|
${Je(rQ)}
|
|
42293
42296
|
`;
|
|
42294
42297
|
yo([
|
|
42295
42298
|
T({ type: String })
|
|
42296
|
-
],
|
|
42299
|
+
], Ys.prototype, "type", 2);
|
|
42297
42300
|
yo([
|
|
42298
42301
|
T({ type: String })
|
|
42299
|
-
],
|
|
42302
|
+
], Ys.prototype, "value", 2);
|
|
42300
42303
|
yo([
|
|
42301
42304
|
T({ type: String })
|
|
42302
|
-
],
|
|
42305
|
+
], Ys.prototype, "label", 2);
|
|
42303
42306
|
yo([
|
|
42304
42307
|
T({ type: String })
|
|
42305
|
-
],
|
|
42308
|
+
], Ys.prototype, "name", 2);
|
|
42306
42309
|
yo([
|
|
42307
42310
|
T({ type: String })
|
|
42308
|
-
],
|
|
42311
|
+
], Ys.prototype, "customClass", 2);
|
|
42309
42312
|
yo([
|
|
42310
42313
|
T({ type: String })
|
|
42311
|
-
],
|
|
42314
|
+
], Ys.prototype, "autocomplete", 2);
|
|
42312
42315
|
yo([
|
|
42313
42316
|
T({ type: Number })
|
|
42314
|
-
],
|
|
42317
|
+
], Ys.prototype, "maxlength", 2);
|
|
42315
42318
|
yo([
|
|
42316
42319
|
T({ type: Number })
|
|
42317
|
-
],
|
|
42320
|
+
], Ys.prototype, "minlength", 2);
|
|
42318
42321
|
yo([
|
|
42319
42322
|
T({ type: Array })
|
|
42320
|
-
],
|
|
42321
|
-
|
|
42323
|
+
], Ys.prototype, "errors", 2);
|
|
42324
|
+
Ys = yo([
|
|
42322
42325
|
He("base-input")
|
|
42323
|
-
],
|
|
42326
|
+
], Ys);
|
|
42324
42327
|
var oQ = Object.defineProperty, aQ = Object.getOwnPropertyDescriptor, M6 = (t, e, n, r) => {
|
|
42325
42328
|
for (var s = r > 1 ? void 0 : r ? aQ(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
42326
42329
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
@@ -43158,7 +43161,7 @@ let yl = class t extends qe {
|
|
|
43158
43161
|
return;
|
|
43159
43162
|
}
|
|
43160
43163
|
try {
|
|
43161
|
-
const n = yield
|
|
43164
|
+
const n = yield Ci(this.paymentRequestId);
|
|
43162
43165
|
this.payfacContext.paymentRequest = n.response;
|
|
43163
43166
|
} catch (n) {
|
|
43164
43167
|
nt("AUTH_PAYMENT_REQUEST", "Payment request failed."), ae.error(
|
|
@@ -43338,7 +43341,7 @@ var NQ = Object.defineProperty, LQ = Object.getOwnPropertyDescriptor, vo = (t, e
|
|
|
43338
43341
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
43339
43342
|
return r && s && NQ(e, n, s), s;
|
|
43340
43343
|
};
|
|
43341
|
-
let
|
|
43344
|
+
let Js = class extends qe {
|
|
43342
43345
|
constructor() {
|
|
43343
43346
|
super(...arguments), this.customClass = "", this.title = "", this.color = "primary", this.font = "regular", this.type = "submit", this.size = "md", this.isBlock = !1, this.buttonDisabled = !1, this.buttonLoading = !1;
|
|
43344
43347
|
}
|
|
@@ -43388,39 +43391,39 @@ let Ys = class extends qe {
|
|
|
43388
43391
|
`;
|
|
43389
43392
|
}
|
|
43390
43393
|
};
|
|
43391
|
-
|
|
43394
|
+
Js.styles = Xe`
|
|
43392
43395
|
${Je(OQ)}
|
|
43393
43396
|
`;
|
|
43394
43397
|
vo([
|
|
43395
43398
|
T({ type: String })
|
|
43396
|
-
],
|
|
43399
|
+
], Js.prototype, "customClass", 2);
|
|
43397
43400
|
vo([
|
|
43398
43401
|
T({ type: String, attribute: "button-title" })
|
|
43399
|
-
],
|
|
43402
|
+
], Js.prototype, "title", 2);
|
|
43400
43403
|
vo([
|
|
43401
43404
|
T({ type: String, attribute: "button-color" })
|
|
43402
|
-
],
|
|
43405
|
+
], Js.prototype, "color", 2);
|
|
43403
43406
|
vo([
|
|
43404
43407
|
T({ type: String, attribute: "button-text" })
|
|
43405
|
-
],
|
|
43408
|
+
], Js.prototype, "font", 2);
|
|
43406
43409
|
vo([
|
|
43407
43410
|
T({ type: String, attribute: "button-type" })
|
|
43408
|
-
],
|
|
43411
|
+
], Js.prototype, "type", 2);
|
|
43409
43412
|
vo([
|
|
43410
43413
|
T({ type: String, attribute: "button-size" })
|
|
43411
|
-
],
|
|
43414
|
+
], Js.prototype, "size", 2);
|
|
43412
43415
|
vo([
|
|
43413
43416
|
T({ type: Boolean, attribute: "button-block" })
|
|
43414
|
-
],
|
|
43417
|
+
], Js.prototype, "isBlock", 2);
|
|
43415
43418
|
vo([
|
|
43416
43419
|
T({ type: Boolean })
|
|
43417
|
-
],
|
|
43420
|
+
], Js.prototype, "buttonDisabled", 2);
|
|
43418
43421
|
vo([
|
|
43419
43422
|
T({ type: Boolean })
|
|
43420
|
-
],
|
|
43421
|
-
|
|
43423
|
+
], Js.prototype, "buttonLoading", 2);
|
|
43424
|
+
Js = vo([
|
|
43422
43425
|
He("my-button")
|
|
43423
|
-
],
|
|
43426
|
+
], Js);
|
|
43424
43427
|
var QQ = Object.defineProperty, MQ = Object.getOwnPropertyDescriptor, ga = (t, e, n, r) => {
|
|
43425
43428
|
for (var s = r > 1 ? void 0 : r ? MQ(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
43426
43429
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
@@ -43675,7 +43678,7 @@ let ki = class t extends qe {
|
|
|
43675
43678
|
extendedWs() {
|
|
43676
43679
|
return ce(this, null, function* () {
|
|
43677
43680
|
try {
|
|
43678
|
-
const e = yield
|
|
43681
|
+
const e = yield Ci(this.stateScof.statePaymentRequest.id);
|
|
43679
43682
|
if (this.stateScof.statePaymentRequest = e.response, e.response.status === Vn.SUCCESS_PROCESSED) {
|
|
43680
43683
|
let n = vn.messages.find((r) => r.status === e.response.status);
|
|
43681
43684
|
n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton, this.stateScof.isActiveWs = !1, this.stateScof.isExtendedWs = !1, this.createEvent("button-pushed", at.STATUS));
|
|
@@ -44525,7 +44528,7 @@ let Ii = class extends qe {
|
|
|
44525
44528
|
this.isShowToast = !1;
|
|
44526
44529
|
}, 3e3);
|
|
44527
44530
|
}), (r = this.shadowRoot) == null || r.addEventListener("button-pushed", (s) => {
|
|
44528
|
-
|
|
44531
|
+
this.stateScof.page = s.detail ? s.detail : at.MAIN, (s.detail === at.QR || s.detail === at.STATUS || s.detail === at.LOADING) && (this.isShowCardPayment = !1), s.detail === at.MAIN && (this.stateScof.isActiveWs || (this.webSocket(), Bt.extendHeartbeat(this.stateScof.statePaymentRequest.id))), (this.stateScof.page === at.PLANS || this.stateScof.page === at.SUMMARY) && this.isShowToast === !0 && setTimeout(() => {
|
|
44529
44532
|
this.isShowToast = !1;
|
|
44530
44533
|
}, 3e3), this.requestUpdate(), this.routerState(), this.stateScof.statePaymentRequest && ae.info("connectedCallback", {
|
|
44531
44534
|
context: xe.CARD_ON_FILE,
|
|
@@ -44615,7 +44618,7 @@ let Ii = class extends qe {
|
|
|
44615
44618
|
return ce(this, null, function* () {
|
|
44616
44619
|
var t;
|
|
44617
44620
|
try {
|
|
44618
|
-
const e = yield
|
|
44621
|
+
const e = yield Ci(this.stateScof.statePaymentRequest.id);
|
|
44619
44622
|
this.stateScof.statePaymentRequest = e.response, this.statusMessage = e.response.status, this.setDurationPayment(e.response);
|
|
44620
44623
|
} catch (e) {
|
|
44621
44624
|
ae.error(
|
|
@@ -44957,7 +44960,7 @@ const f0 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
|
|
|
44957
44960
|
let n = t.replace(/\D/g, "");
|
|
44958
44961
|
return e && n.length === 6 && (n = `${n.slice(0, 2)}${n.slice(4, 6)}`), n.replace(/(\d{2})(\d{0,2})/, "$1/$2");
|
|
44959
44962
|
};
|
|
44960
|
-
var wM = Object.defineProperty, _M = Object.getOwnPropertyDescriptor,
|
|
44963
|
+
var wM = Object.defineProperty, _M = Object.getOwnPropertyDescriptor, Zs = (t, e, n, r) => {
|
|
44961
44964
|
for (var s = r > 1 ? void 0 : r ? _M(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
44962
44965
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
44963
44966
|
return r && s && wM(e, n, s), s;
|
|
@@ -45306,43 +45309,43 @@ let os = class extends qe {
|
|
|
45306
45309
|
os.styles = Xe`
|
|
45307
45310
|
${Je(f0)}
|
|
45308
45311
|
`;
|
|
45309
|
-
|
|
45312
|
+
Zs([
|
|
45310
45313
|
Ue({ context: Li, subscribe: !0 }),
|
|
45311
45314
|
le()
|
|
45312
45315
|
], os.prototype, "stateScof", 2);
|
|
45313
|
-
|
|
45316
|
+
Zs([
|
|
45314
45317
|
Ue({ context: mw }),
|
|
45315
45318
|
le()
|
|
45316
45319
|
], os.prototype, "stateScofProps", 2);
|
|
45317
|
-
|
|
45320
|
+
Zs([
|
|
45318
45321
|
Ue({ context: Qt, subscribe: !0 }),
|
|
45319
45322
|
le()
|
|
45320
45323
|
], os.prototype, "payfacContext", 2);
|
|
45321
|
-
|
|
45324
|
+
Zs([
|
|
45322
45325
|
T({ type: String })
|
|
45323
45326
|
], os.prototype, "cardDefault", 2);
|
|
45324
|
-
|
|
45327
|
+
Zs([
|
|
45325
45328
|
T({ type: String })
|
|
45326
45329
|
], os.prototype, "iconRight", 2);
|
|
45327
|
-
|
|
45330
|
+
Zs([
|
|
45328
45331
|
T({ type: Boolean })
|
|
45329
45332
|
], os.prototype, "isLoading", 2);
|
|
45330
|
-
|
|
45333
|
+
Zs([
|
|
45331
45334
|
T({ type: Boolean })
|
|
45332
45335
|
], os.prototype, "isValidForm", 2);
|
|
45333
|
-
|
|
45336
|
+
Zs([
|
|
45334
45337
|
T({ type: Boolean })
|
|
45335
45338
|
], os.prototype, "isRecieveData", 2);
|
|
45336
|
-
|
|
45339
|
+
Zs([
|
|
45337
45340
|
T({ type: Boolean })
|
|
45338
45341
|
], os.prototype, "isTokenizationAllowed", 2);
|
|
45339
|
-
|
|
45342
|
+
Zs([
|
|
45340
45343
|
T({ type: Object })
|
|
45341
45344
|
], os.prototype, "installmentPlan", 2);
|
|
45342
|
-
|
|
45345
|
+
Zs([
|
|
45343
45346
|
T({ type: Object })
|
|
45344
45347
|
], os.prototype, "cardFormValue", 2);
|
|
45345
|
-
os =
|
|
45348
|
+
os = Zs([
|
|
45346
45349
|
He("scof-card-form")
|
|
45347
45350
|
], os);
|
|
45348
45351
|
const xM = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .container{display:flex}:host .container .panel-container{background:#ffffff;width:100%;border-radius:16px;font-family:Inter,Arial,"sans-serif"}:host .container .panel-container .card-container{padding:16px 24px}:host .container .panel-container .card-container.scrolled{padding:16px 24px 0}:host .container .panel-container .card-container .card-scroll-container{display:flex;flex-direction:column;gap:16px;max-height:358px;height:auto;overflow-y:auto;margin:0;padding:2px 4px 2px 2px}:host .container .panel-container .card-container .card-scroll-container::-webkit-scrollbar{width:4px}:host .container .panel-container .card-container .card-scroll-container::-webkit-scrollbar-thumb{margin-right:20px;border-radius:2px;background:rgba(0,0,0,.38)}:host .container .panel-container .card-footer-container{padding:0 20px 20px;box-shadow:4px -6px 11.4px #0000001a;border-radius:16px}:host .container .panel-container .card-footer-container .plinth-container{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer}:host .container .panel-container .card-footer-container .plinth-container .add-card-container{display:flex;align-items:center;gap:16px}:host .container .panel-container .card-footer-container .plinth-container .add-card-container .card-icon-add{border-radius:8px;background:#f0eafc;padding:12px}:host .container .panel-container .card-footer-container .plinth-container .add-card-container>span{color:#2b2b2b;font-family:Inter;font-size:18px;font-style:normal;font-weight:600;line-height:22px}:host .container .panel-container .card-footer-container .panel-footer{display:flex;justify-content:space-between;padding-top:8px}@media only screen and (max-width: 800px){:host .container .panel-container .card-footer-container .panel-footer{flex-direction:column;width:100%;text-align:center;gap:16px}}
|
|
@@ -46738,7 +46741,7 @@ let sa = class extends qe {
|
|
|
46738
46741
|
connectedCallback() {
|
|
46739
46742
|
var t;
|
|
46740
46743
|
super.connectedCallback(), this.pollingWatcher(), (t = this.shadowRoot) == null || t.addEventListener("button-pushed", (e) => {
|
|
46741
|
-
|
|
46744
|
+
this.isShowCardPayment = !0, this._statePaymentManualInput.page = e.detail ? e.detail : Ut.MANUAL_INPUT, (e.detail === Ut.QR || e.detail === Ut.STATUS || e.detail === Ut.LOADING) && (this.isShowCardPayment = !1), e.detail === Ut.MANUAL_INPUT && (this._statePaymentManualInput.isActiveWs || (this.webSocket(), Bt.extendHeartbeat(this._statePaymentManualInput.statePaymentRequest.id)), !this._statePaymentManualInput.isActiveInstallment && !this._statePaymentManualInput.isCardPresent && this._getinstallment()), this.requestUpdate(), this.routerState();
|
|
46742
46745
|
});
|
|
46743
46746
|
}
|
|
46744
46747
|
_getinstallment() {
|
|
@@ -46842,7 +46845,7 @@ let sa = class extends qe {
|
|
|
46842
46845
|
return ce(this, null, function* () {
|
|
46843
46846
|
var t;
|
|
46844
46847
|
try {
|
|
46845
|
-
const e = yield
|
|
46848
|
+
const e = yield Ci(this._statePaymentManualInput.statePaymentRequest.id);
|
|
46846
46849
|
this.setDurationPayment(e.response), this._statePaymentManualInput.statePaymentRequest = e.response, this.statusMessage = e.response.status;
|
|
46847
46850
|
} catch (e) {
|
|
46848
46851
|
ae.error(
|
|
@@ -49730,7 +49733,7 @@ let go = class t extends qe {
|
|
|
49730
49733
|
extendedWs() {
|
|
49731
49734
|
return ce(this, null, function* () {
|
|
49732
49735
|
try {
|
|
49733
|
-
const e = yield
|
|
49736
|
+
const e = yield Ci(this._statePaymentManualInput.statePaymentRequest.id);
|
|
49734
49737
|
if (this._statePaymentManualInput.statePaymentRequest = e.response, e.response.status === Vn.SUCCESS_PROCESSED) {
|
|
49735
49738
|
let n = vn.messages.find((r) => r.status === e.response.status);
|
|
49736
49739
|
n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton, this._statePaymentManualInput.isActiveWs = !1, this._statePaymentManualInput.isExtendedWs = !1, this.createEvent("button-pushed", Ut.STATUS));
|
|
@@ -51019,7 +51022,7 @@ var e3 = function(t, e) {
|
|
|
51019
51022
|
}, GH = function(t, e, n) {
|
|
51020
51023
|
var r = typeof t == "number" ? t : KH(t, e, n), s = Math.abs(e * Math.sin(r)) + Math.abs(n * Math.cos(r)), i = e / 2, o = n / 2, a = s / 2, d = Math.sin(r - Math.PI / 2) * a, l = Math.cos(r - Math.PI / 2) * a;
|
|
51021
51024
|
return [s, i - l, i + l, o - d, o + d];
|
|
51022
|
-
},
|
|
51025
|
+
}, gi = function(t, e) {
|
|
51023
51026
|
return Math.sqrt(t * t + e * e);
|
|
51024
51027
|
}, n3 = function(t, e, n, r, s) {
|
|
51025
51028
|
var i = [
|
|
@@ -51029,7 +51032,7 @@ var e3 = function(t, e) {
|
|
|
51029
51032
|
[t, e]
|
|
51030
51033
|
];
|
|
51031
51034
|
return i.reduce(function(o, a) {
|
|
51032
|
-
var d = a[0], l = a[1], c =
|
|
51035
|
+
var d = a[0], l = a[1], c = gi(n - d, r - l);
|
|
51033
51036
|
return (s ? c < o.optimumDistance : c > o.optimumDistance) ? {
|
|
51034
51037
|
optimumCorner: a,
|
|
51035
51038
|
optimumDistance: c
|
|
@@ -51046,10 +51049,10 @@ var e3 = function(t, e) {
|
|
|
51046
51049
|
break;
|
|
51047
51050
|
case 2:
|
|
51048
51051
|
if (t.shape === 0)
|
|
51049
|
-
i = o = Math.min(
|
|
51052
|
+
i = o = Math.min(gi(e, n), gi(e, n - s), gi(e - r, n), gi(e - r, n - s));
|
|
51050
51053
|
else if (t.shape === 1) {
|
|
51051
51054
|
var a = Math.min(Math.abs(n), Math.abs(n - s)) / Math.min(Math.abs(e), Math.abs(e - r)), d = n3(r, s, e, n, !0), l = d[0], c = d[1];
|
|
51052
|
-
i =
|
|
51055
|
+
i = gi(l - e, (c - n) / a), o = a * i;
|
|
51053
51056
|
}
|
|
51054
51057
|
break;
|
|
51055
51058
|
case 1:
|
|
@@ -51057,10 +51060,10 @@ var e3 = function(t, e) {
|
|
|
51057
51060
|
break;
|
|
51058
51061
|
case 3:
|
|
51059
51062
|
if (t.shape === 0)
|
|
51060
|
-
i = o = Math.max(
|
|
51063
|
+
i = o = Math.max(gi(e, n), gi(e, n - s), gi(e - r, n), gi(e - r, n - s));
|
|
51061
51064
|
else if (t.shape === 1) {
|
|
51062
51065
|
var a = Math.max(Math.abs(n), Math.abs(n - s)) / Math.max(Math.abs(e), Math.abs(e - r)), u = n3(r, s, e, n, !1), l = u[0], c = u[1];
|
|
51063
|
-
i =
|
|
51066
|
+
i = gi(l - e, (c - n) / a), o = a * i;
|
|
51064
51067
|
}
|
|
51065
51068
|
break;
|
|
51066
51069
|
}
|
|
@@ -54809,7 +54812,7 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
|
|
|
54809
54812
|
for (var e = t[0], n = 1; n < t.length; ++n)
|
|
54810
54813
|
t[n] > e && (e = t[n]);
|
|
54811
54814
|
return e;
|
|
54812
|
-
},
|
|
54815
|
+
}, pi = function(t, e, n) {
|
|
54813
54816
|
var r = e / 8 | 0;
|
|
54814
54817
|
return (t[r] | t[r + 1] << 8) >> (e & 7) & n;
|
|
54815
54818
|
}, $y = function(t, e) {
|
|
@@ -54835,9 +54838,9 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
|
|
|
54835
54838
|
"stream finishing",
|
|
54836
54839
|
"invalid zip data"
|
|
54837
54840
|
// determined by unknown compression method
|
|
54838
|
-
],
|
|
54841
|
+
], mi = function(t, e, n) {
|
|
54839
54842
|
var r = new Error(e || TG[t]);
|
|
54840
|
-
if (r.code = t, Error.captureStackTrace && Error.captureStackTrace(r,
|
|
54843
|
+
if (r.code = t, Error.captureStackTrace && Error.captureStackTrace(r, mi), !n)
|
|
54841
54844
|
throw r;
|
|
54842
54845
|
return r;
|
|
54843
54846
|
}, UG = function(t, e, n, r) {
|
|
@@ -54855,44 +54858,44 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
|
|
|
54855
54858
|
}, c = e.f || 0, u = e.p || 0, h = e.b || 0, p = e.l, m = e.d, y = e.m, _ = e.n, b = s * 8;
|
|
54856
54859
|
do {
|
|
54857
54860
|
if (!p) {
|
|
54858
|
-
c =
|
|
54859
|
-
var x =
|
|
54861
|
+
c = pi(t, u, 1);
|
|
54862
|
+
var x = pi(t, u + 1, 3);
|
|
54860
54863
|
if (u += 3, x)
|
|
54861
54864
|
if (x == 1)
|
|
54862
54865
|
p = kG, m = IG, y = 9, _ = 5;
|
|
54863
54866
|
else if (x == 2) {
|
|
54864
|
-
var z =
|
|
54867
|
+
var z = pi(t, u, 31) + 257, q = pi(t, u + 10, 15) + 4, M = z + pi(t, u + 5, 31) + 1;
|
|
54865
54868
|
u += 14;
|
|
54866
54869
|
for (var J = new Fr(M), Ae = new Fr(19), D = 0; D < q; ++D)
|
|
54867
|
-
Ae[Lb[D]] =
|
|
54870
|
+
Ae[Lb[D]] = pi(t, u + D * 3, 7);
|
|
54868
54871
|
u += q * 3;
|
|
54869
54872
|
for (var Q = Zy(Ae), Y = (1 << Q) - 1, Z = lo(Ae, Q, 1), D = 0; D < M; ) {
|
|
54870
|
-
var be = Z[
|
|
54873
|
+
var be = Z[pi(t, u, Y)];
|
|
54871
54874
|
u += be & 15;
|
|
54872
54875
|
var I = be >> 4;
|
|
54873
54876
|
if (I < 16)
|
|
54874
54877
|
J[D++] = I;
|
|
54875
54878
|
else {
|
|
54876
54879
|
var ge = 0, _e = 0;
|
|
54877
|
-
for (I == 16 ? (_e = 3 +
|
|
54880
|
+
for (I == 16 ? (_e = 3 + pi(t, u, 3), u += 2, ge = J[D - 1]) : I == 17 ? (_e = 3 + pi(t, u, 7), u += 3) : I == 18 && (_e = 11 + pi(t, u, 127), u += 7); _e--; )
|
|
54878
54881
|
J[D++] = ge;
|
|
54879
54882
|
}
|
|
54880
54883
|
}
|
|
54881
54884
|
var he = J.subarray(0, z), Be = J.subarray(z);
|
|
54882
54885
|
y = Zy(he), _ = Zy(Be), p = lo(he, y, 1), m = lo(Be, _, 1);
|
|
54883
54886
|
} else
|
|
54884
|
-
|
|
54887
|
+
mi(1);
|
|
54885
54888
|
else {
|
|
54886
54889
|
var I = Rw(u) + 4, N = t[I - 4] | t[I - 3] << 8, V = I + N;
|
|
54887
54890
|
if (V > s) {
|
|
54888
|
-
d &&
|
|
54891
|
+
d && mi(0);
|
|
54889
54892
|
break;
|
|
54890
54893
|
}
|
|
54891
54894
|
a && l(h + N), n.set(t.subarray(I, V), h), e.b = h += N, e.p = u = V * 8, e.f = c;
|
|
54892
54895
|
continue;
|
|
54893
54896
|
}
|
|
54894
54897
|
if (u > b) {
|
|
54895
|
-
d &&
|
|
54898
|
+
d && mi(0);
|
|
54896
54899
|
break;
|
|
54897
54900
|
}
|
|
54898
54901
|
}
|
|
@@ -54900,10 +54903,10 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
|
|
|
54900
54903
|
for (var ie = (1 << y) - 1, Ee = (1 << _) - 1, S = u; ; S = u) {
|
|
54901
54904
|
var ge = p[$y(t, u) & ie], H = ge >> 4;
|
|
54902
54905
|
if (u += ge & 15, u > b) {
|
|
54903
|
-
d &&
|
|
54906
|
+
d && mi(0);
|
|
54904
54907
|
break;
|
|
54905
54908
|
}
|
|
54906
|
-
if (ge ||
|
|
54909
|
+
if (ge || mi(2), H < 256)
|
|
54907
54910
|
n[h++] = H;
|
|
54908
54911
|
else if (H == 256) {
|
|
54909
54912
|
S = u, p = null;
|
|
@@ -54912,24 +54915,24 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
|
|
|
54912
54915
|
var G = H - 254;
|
|
54913
54916
|
if (H > 264) {
|
|
54914
54917
|
var D = H - 257, ee = L0[D];
|
|
54915
|
-
G =
|
|
54918
|
+
G = pi(t, u, (1 << ee) - 1) + vE[D], u += ee;
|
|
54916
54919
|
}
|
|
54917
54920
|
var ne = m[$y(t, u) & Ee], ue = ne >> 4;
|
|
54918
|
-
ne ||
|
|
54921
|
+
ne || mi(3), u += ne & 15;
|
|
54919
54922
|
var Be = BG[ue];
|
|
54920
54923
|
if (ue > 3) {
|
|
54921
54924
|
var ee = Q0[ue];
|
|
54922
54925
|
Be += $y(t, u) & (1 << ee) - 1, u += ee;
|
|
54923
54926
|
}
|
|
54924
54927
|
if (u > b) {
|
|
54925
|
-
d &&
|
|
54928
|
+
d && mi(0);
|
|
54926
54929
|
break;
|
|
54927
54930
|
}
|
|
54928
54931
|
a && l(h + 131072);
|
|
54929
54932
|
var ve = h + G;
|
|
54930
54933
|
if (h < Be) {
|
|
54931
54934
|
var we = i - Be, Qe = Math.min(Be, ve);
|
|
54932
|
-
for (we + h < 0 &&
|
|
54935
|
+
for (we + h < 0 && mi(3); h < Qe; ++h)
|
|
54933
54936
|
n[h] = r[we + h];
|
|
54934
54937
|
}
|
|
54935
54938
|
for (; h < ve; ++h)
|
|
@@ -55144,7 +55147,7 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
|
|
|
55144
55147
|
s.p(e.dictionary), BE(t, 2, s.d());
|
|
55145
55148
|
}
|
|
55146
55149
|
}, RG = function(t, e) {
|
|
55147
|
-
return ((t[0] & 15) != 8 || t[0] >> 4 > 7 || (t[0] << 8 | t[1]) % 31) &&
|
|
55150
|
+
return ((t[0] & 15) != 8 || t[0] >> 4 > 7 || (t[0] << 8 | t[1]) % 31) && mi(6, "invalid zlib data"), (t[1] >> 5 & 1) == +!e && mi(6, "invalid zlib data: " + (t[1] & 32 ? "need" : "unexpected") + " dictionary"), (t[1] >> 3 & 4) + 2;
|
|
55148
55151
|
};
|
|
55149
55152
|
function Hb(t, e) {
|
|
55150
55153
|
e || (e = {});
|
|
@@ -55619,7 +55622,7 @@ function gt(t) {
|
|
|
55619
55622
|
}, ee = p.__private__.padd2Hex = function(f) {
|
|
55620
55623
|
return ("00" + (f = f.toString())).substr(f.length);
|
|
55621
55624
|
}, ne = 0, ue = [], ve = [], we = 0, Qe = [], De = [], Me = !1, ze = ve, ct = function() {
|
|
55622
|
-
ne = 0, we = 0, ve = [], ue = [], Qe = [], So = Ln(),
|
|
55625
|
+
ne = 0, we = 0, ve = [], ue = [], Qe = [], So = Ln(), ri = Ln();
|
|
55623
55626
|
};
|
|
55624
55627
|
p.__private__.setCustomOutputDestination = function(f) {
|
|
55625
55628
|
Me = !0, ze = f;
|
|
@@ -55702,7 +55705,7 @@ function gt(t) {
|
|
|
55702
55705
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
55703
55706
|
return et[f] = k;
|
|
55704
55707
|
};
|
|
55705
|
-
var Et, Ye, Yn, Mt,
|
|
55708
|
+
var Et, Ye, Yn, Mt, ei, rn = {}, fn = {}, Ki = [], Kt = {}, Ml = {}, bn = {}, ti = {}, ko = null, wn = 0, wt = [], Gt = new Q3(p), zl = t.hotfixes || [], Ar = {}, Gi = {}, Wi = [], ft = function f(k, W, te, pe, Te, Le) {
|
|
55706
55709
|
if (!(this instanceof f))
|
|
55707
55710
|
return new f(k, W, te, pe, Te, Le);
|
|
55708
55711
|
isNaN(k) && (k = 1), isNaN(W) && (W = 0), isNaN(te) && (te = 0), isNaN(pe) && (pe = 1), isNaN(Te) && (Te = 0), isNaN(Le) && (Le = 0), this._matrix = [k, W, te, pe, Te, Le];
|
|
@@ -55788,7 +55791,7 @@ function gt(t) {
|
|
|
55788
55791
|
var f = this.sx, k = this.shy, W = this.shx, te = this.sy, pe = this.tx, Te = this.ty;
|
|
55789
55792
|
return new ft(f, k, W, te, pe, Te);
|
|
55790
55793
|
}, p.Matrix = ft;
|
|
55791
|
-
var
|
|
55794
|
+
var ni = p.matrixMult = function(f, k) {
|
|
55792
55795
|
return k.multiply(f);
|
|
55793
55796
|
}, Yi = new ft(1, 0, 0, 1, 0, 0);
|
|
55794
55797
|
p.unitMatrix = p.identityMatrix = Yi;
|
|
@@ -55818,7 +55821,7 @@ function gt(t) {
|
|
|
55818
55821
|
}, cc = p.__private__.newAdditionalObject = function() {
|
|
55819
55822
|
var f = { objId: Ln(), content: "" };
|
|
55820
55823
|
return Qe.push(f), f;
|
|
55821
|
-
}, So = Ln(),
|
|
55824
|
+
}, So = Ln(), ri = Ln(), si = p.__private__.decodeColorString = function(f) {
|
|
55822
55825
|
var k = f.split(" ");
|
|
55823
55826
|
if (k.length !== 2 || k[1] !== "g" && k[1] !== "G")
|
|
55824
55827
|
k.length === 5 && (k[4] === "k" || k[4] === "K") && (k = [(1 - k[0]) * (1 - k[3]), (1 - k[1]) * (1 - k[3]), (1 - k[2]) * (1 - k[3]), "r"]);
|
|
@@ -55829,7 +55832,7 @@ function gt(t) {
|
|
|
55829
55832
|
for (var te = "#", pe = 0; pe < 3; pe++)
|
|
55830
55833
|
te += ("0" + Math.floor(255 * parseFloat(k[pe])).toString(16)).slice(-2);
|
|
55831
55834
|
return te;
|
|
55832
|
-
},
|
|
55835
|
+
}, ii = p.__private__.encodeColorString = function(f) {
|
|
55833
55836
|
var k;
|
|
55834
55837
|
typeof f == "string" && (f = { ch1: f });
|
|
55835
55838
|
var W = f.ch1, te = f.ch2, pe = f.ch3, Te = f.ch4, Le = f.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
|
|
@@ -55922,7 +55925,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
55922
55925
|
for (f = 1; f <= wn; f++)
|
|
55923
55926
|
wt[f].objId = Ln(), wt[f].contentsObjId = Ln();
|
|
55924
55927
|
for (f = 1; f <= wn; f++)
|
|
55925
|
-
W.push(Xi({ number: f, data: De[f], objId: wt[f].objId, contentsObjId: wt[f].contentsObjId, mediaBox: wt[f].mediaBox, cropBox: wt[f].cropBox, bleedBox: wt[f].bleedBox, trimBox: wt[f].trimBox, artBox: wt[f].artBox, userUnit: wt[f].userUnit, rootDictionaryObjId: So, resourceDictionaryObjId:
|
|
55928
|
+
W.push(Xi({ number: f, data: De[f], objId: wt[f].objId, contentsObjId: wt[f].contentsObjId, mediaBox: wt[f].mediaBox, cropBox: wt[f].cropBox, bleedBox: wt[f].bleedBox, trimBox: wt[f].trimBox, artBox: wt[f].artBox, userUnit: wt[f].userUnit, rootDictionaryObjId: So, resourceDictionaryObjId: ri }));
|
|
55926
55929
|
us(So, !0), X("<</Type /Pages");
|
|
55927
55930
|
var te = "/Kids [";
|
|
55928
55931
|
for (k = 0; k < wn; k++)
|
|
@@ -56024,7 +56027,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
56024
56027
|
us(f.resourcesOid, !0), X("<<"), X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), xh(), Y0(), fc(f.objectOid), J0(), du(), X(">>"), X("endobj");
|
|
56025
56028
|
}, Ch = function() {
|
|
56026
56029
|
var f = [];
|
|
56027
|
-
uc(), G0(), hc(), gc(f), Gt.publish("putResources"), f.forEach(Sn), Sn({ resourcesOid:
|
|
56030
|
+
uc(), G0(), hc(), gc(f), Gt.publish("putResources"), f.forEach(Sn), Sn({ resourcesOid: ri, objectOid: Number.MAX_SAFE_INTEGER }), Gt.publish("postPutResources");
|
|
56028
56031
|
}, Bh = function() {
|
|
56029
56032
|
Gt.publish("putAdditionalObjects");
|
|
56030
56033
|
for (var f = 0; f < Qe.length; f++) {
|
|
@@ -56045,7 +56048,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
56045
56048
|
Eh({ id: te, fontName: pe[0], fontStyle: pe[1] || "" });
|
|
56046
56049
|
}
|
|
56047
56050
|
Gt.publish("addFonts", { fonts: rn, dictionary: fn });
|
|
56048
|
-
},
|
|
56051
|
+
}, oi = function(f) {
|
|
56049
56052
|
return f.foo = function() {
|
|
56050
56053
|
try {
|
|
56051
56054
|
return f.apply(this, arguments);
|
|
@@ -56089,7 +56092,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
56089
56092
|
case "p":
|
|
56090
56093
|
te > pe && (s = [pe, te]);
|
|
56091
56094
|
}
|
|
56092
|
-
Au(s), Fh(gu), X(
|
|
56095
|
+
Au(s), Fh(gu), X(ai), mu !== 0 && X(mu + " J"), yu !== 0 && X(yu + " j"), Gt.publish("addPage", { pageNumber: wn });
|
|
56093
56096
|
}, Z0 = function(f) {
|
|
56094
56097
|
f > 0 && f <= wn && (De.splice(f, 1), wt.splice(f, 1), wn--, H > wn && (H = wn), this.setPage(H));
|
|
56095
56098
|
}, Sh = function(f) {
|
|
@@ -56156,7 +56159,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
56156
56159
|
`);
|
|
56157
56160
|
}, yc = p.__private__.getBlob = function(f) {
|
|
56158
56161
|
return new Blob([R(f)], { type: "application/pdf" });
|
|
56159
|
-
}, vc = p.output = p.__private__.output =
|
|
56162
|
+
}, vc = p.output = p.__private__.output = oi(function(f, k) {
|
|
56160
56163
|
switch (typeof (k = k || {}) == "string" ? k = { filename: k } : k.filename = k.filename || "generated.pdf", f) {
|
|
56161
56164
|
case void 0:
|
|
56162
56165
|
return Io();
|
|
@@ -56299,7 +56302,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
56299
56302
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
56300
56303
|
if (f.length === 0)
|
|
56301
56304
|
return Qn;
|
|
56302
|
-
var tr = "",
|
|
56305
|
+
var tr = "", li = !1, ps = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : Vl, eo = Qn.internal.scaleFactor;
|
|
56303
56306
|
function Qh(cn) {
|
|
56304
56307
|
return cn = cn.split(" ").join(Array(te.TabLen || 9).join(" ")), $r(cn, Nt);
|
|
56305
56308
|
}
|
|
@@ -56441,23 +56444,23 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
|
|
|
56441
56444
|
var qh = typeof te.R2L == "boolean" ? te.R2L : fe;
|
|
56442
56445
|
qh === !0 && (f = Cu(f, function(cn, An, Tn) {
|
|
56443
56446
|
return [cn.split("").reverse().join(""), An, Tn];
|
|
56444
|
-
})), Te = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $r, activeFontKey: Et, fonts: rn, activeFontSize: C } }, Gt.publish("postProcessText", Te), f = Te.text,
|
|
56447
|
+
})), Te = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $r, activeFontKey: Et, fonts: rn, activeFontSize: C } }, Gt.publish("postProcessText", Te), f = Te.text, li = Te.mutex.isHex || !1;
|
|
56445
56448
|
var Tu = rn[Et].encoding;
|
|
56446
56449
|
Tu !== "WinAnsiEncoding" && Tu !== "StandardEncoding" || (f = Cu(f, function(cn, An, Tn) {
|
|
56447
56450
|
return [Qh(cn), An, Tn];
|
|
56448
56451
|
})), Le = xu(f), f = [];
|
|
56449
56452
|
for (var Yl, Jl, Ia, Xl = 0, jc = 1, Zl = Array.isArray(Le[0]) ? jc : Xl, Ta = "", Uu = function(cn, An, Tn) {
|
|
56450
56453
|
var Xn = "";
|
|
56451
|
-
return Tn instanceof ft ? (Tn = typeof te.angle == "number" ?
|
|
56454
|
+
return Tn instanceof ft ? (Tn = typeof te.angle == "number" ? ni(Tn, new ft(1, 0, 0, 1, cn, An)) : ni(new ft(1, 0, 0, 1, cn, An), Tn), I === x.ADVANCED && (Tn = ni(new ft(1, 0, 0, -1, 0, 0), Tn)), Xn = Tn.join(" ") + ` Tm
|
|
56452
56455
|
`) : Xn = q(cn) + " " + q(An) + ` Td
|
|
56453
56456
|
`, Xn;
|
|
56454
56457
|
}, js = 0; js < Le.length; js++) {
|
|
56455
56458
|
switch (Ta = "", Zl) {
|
|
56456
56459
|
case jc:
|
|
56457
|
-
Ia = (
|
|
56460
|
+
Ia = (li ? "<" : "(") + Le[js][0] + (li ? ">" : ")"), Yl = parseFloat(Le[js][1]), Jl = parseFloat(Le[js][2]);
|
|
56458
56461
|
break;
|
|
56459
56462
|
case Xl:
|
|
56460
|
-
Ia = (
|
|
56463
|
+
Ia = (li ? "<" : "(") + Le[js] + (li ? ">" : ")"), Yl = $i(k), Jl = To(W);
|
|
56461
56464
|
}
|
|
56462
56465
|
ka !== void 0 && ka[js] !== void 0 && (Ta = ka[js] + ` Tw
|
|
56463
56466
|
`), js === 0 ? f.push(Ta + Uu(Yl, Jl, _n) + Ia) : Zl === Xl ? f.push(Ta + Ia) : Zl === jc && f.push(Ta + Uu(Yl, Jl, _n) + Ia);
|
|
@@ -56570,8 +56573,8 @@ T* `) : f.join(` Tj
|
|
|
56570
56573
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
56571
56574
|
return I === x.COMPAT ? this.lines([[W - f, te - k]], f, k, [1, 1], pe || "S") : this.lines([[W - f, te - k]], f, k, [1, 1]).stroke();
|
|
56572
56575
|
}, p.__private__.lines = p.lines = function(f, k, W, te, pe, Te) {
|
|
56573
|
-
var Le, $e, ut, Ct, _t, Nt, yn, _n, Qn, Cr, tr,
|
|
56574
|
-
if (typeof f == "number" && (
|
|
56576
|
+
var Le, $e, ut, Ct, _t, Nt, yn, _n, Qn, Cr, tr, li;
|
|
56577
|
+
if (typeof f == "number" && (li = W, W = k, k = f, f = li), te = te || [1, 1], Te = Te || !1, isNaN(k) || isNaN(W) || !Array.isArray(f) || !Array.isArray(te) || !Zi(pe) || typeof Te != "boolean")
|
|
56575
56578
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
56576
56579
|
for (hu(k, W), Le = te[0], $e = te[1], Ct = f.length, Cr = k, tr = W, ut = 0; ut < Ct; ut++)
|
|
56577
56580
|
(_t = f[ut]).length === 2 ? (Cr = _t[0] * Le + Cr, tr = _t[1] * $e + tr, ql(Cr, tr)) : (Nt = _t[0] * Le + Cr, yn = _t[1] * $e + tr, _n = _t[2] * Le + Cr, Qn = _t[3] * $e + tr, Cr = _t[4] * Le + Cr, tr = _t[5] * $e + tr, Ca(Nt, yn, _n, Qn, Cr, tr));
|
|
@@ -56665,23 +56668,23 @@ T* `) : f.join(` Tj
|
|
|
56665
56668
|
return q($i(f));
|
|
56666
56669
|
}, Ba = p.__private__.getVerticalCoordinateString = p.getVerticalCoordinateString = function(f) {
|
|
56667
56670
|
return q(To(f));
|
|
56668
|
-
},
|
|
56671
|
+
}, ai = t.strokeColor || "0 G";
|
|
56669
56672
|
p.__private__.getStrokeColor = p.getDrawColor = function() {
|
|
56670
|
-
return
|
|
56673
|
+
return si(ai);
|
|
56671
56674
|
}, p.__private__.setStrokeColor = p.setDrawColor = function(f, k, W, te) {
|
|
56672
|
-
return
|
|
56675
|
+
return ai = ii({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "draw", precision: 2 }), X(ai), this;
|
|
56673
56676
|
};
|
|
56674
56677
|
var fu = t.fillColor || "0 g";
|
|
56675
56678
|
p.__private__.getFillColor = p.getFillColor = function() {
|
|
56676
|
-
return
|
|
56679
|
+
return si(fu);
|
|
56677
56680
|
}, p.__private__.setFillColor = p.setFillColor = function(f, k, W, te) {
|
|
56678
|
-
return fu =
|
|
56681
|
+
return fu = ii({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "fill", precision: 2 }), X(fu), this;
|
|
56679
56682
|
};
|
|
56680
56683
|
var Kl = t.textColor || "0 g", u1 = p.__private__.getTextColor = p.getTextColor = function() {
|
|
56681
|
-
return
|
|
56684
|
+
return si(Kl);
|
|
56682
56685
|
};
|
|
56683
56686
|
p.__private__.setTextColor = p.setTextColor = function(f, k, W, te) {
|
|
56684
|
-
return Kl =
|
|
56687
|
+
return Kl = ii({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "text", precision: 3 }), this;
|
|
56685
56688
|
};
|
|
56686
56689
|
var _c = t.charSpace, p1 = p.__private__.getCharSpace = p.getCharSpace = function() {
|
|
56687
56690
|
return parseFloat(_c || 0);
|
|
@@ -56709,10 +56712,10 @@ T* `) : f.join(` Tj
|
|
|
56709
56712
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
56710
56713
|
return X(q(Q(f)) + " M"), this;
|
|
56711
56714
|
}, p.GState = Sm, p.setGState = function(f) {
|
|
56712
|
-
(f = typeof f == "string" ? bn[
|
|
56715
|
+
(f = typeof f == "string" ? bn[ti[f]] : Nh(null, f)).equals(ko) || (X("/" + f.id + " gs"), ko = f);
|
|
56713
56716
|
};
|
|
56714
56717
|
var Nh = function(f, k) {
|
|
56715
|
-
if (!f || !
|
|
56718
|
+
if (!f || !ti[f]) {
|
|
56716
56719
|
var W = !1;
|
|
56717
56720
|
for (var te in bn)
|
|
56718
56721
|
if (bn.hasOwnProperty(te) && bn[te].equals(k)) {
|
|
@@ -56725,7 +56728,7 @@ T* `) : f.join(` Tj
|
|
|
56725
56728
|
var pe = "GS" + (Object.keys(bn).length + 1).toString(10);
|
|
56726
56729
|
bn[pe] = k, k.id = pe;
|
|
56727
56730
|
}
|
|
56728
|
-
return f && (
|
|
56731
|
+
return f && (ti[f] = k.id), Gt.publish("addGState", k), k;
|
|
56729
56732
|
}
|
|
56730
56733
|
};
|
|
56731
56734
|
p.addGState = function(f, k) {
|
|
@@ -56775,13 +56778,13 @@ T* `) : f.join(` Tj
|
|
|
56775
56778
|
isNaN(Le) || (Te = parseFloat(Le));
|
|
56776
56779
|
} }), this;
|
|
56777
56780
|
}, bu = function() {
|
|
56778
|
-
this.page = wn, this.currentPage = H, this.pages = De.slice(0), this.pagesContext = wt.slice(0), this.x = Yn, this.y = Mt, this.matrix =
|
|
56781
|
+
this.page = wn, this.currentPage = H, this.pages = De.slice(0), this.pagesContext = wt.slice(0), this.x = Yn, this.y = Mt, this.matrix = ei, this.width = Gl(H), this.height = Ea(H), this.outputDestination = ze, this.id = "", this.objectNumber = -1;
|
|
56779
56782
|
};
|
|
56780
56783
|
bu.prototype.restore = function() {
|
|
56781
|
-
wn = this.page, H = this.currentPage, wt = this.pagesContext, De = this.pages, Yn = this.x, Mt = this.y,
|
|
56784
|
+
wn = this.page, H = this.currentPage, wt = this.pagesContext, De = this.pages, Yn = this.x, Mt = this.y, ei = this.matrix, wu(H, this.width), _u(H, this.height), ze = this.outputDestination;
|
|
56782
56785
|
};
|
|
56783
56786
|
var Lh = function(f, k, W, te, pe) {
|
|
56784
|
-
Wi.push(new bu()), wn = H = 0, De = [], Yn = f, Mt = k,
|
|
56787
|
+
Wi.push(new bu()), wn = H = 0, De = [], Yn = f, Mt = k, ei = pe, Au([W, te]);
|
|
56785
56788
|
}, h1 = function(f) {
|
|
56786
56789
|
if (Gi[f])
|
|
56787
56790
|
Wi.pop().restore();
|
|
@@ -58815,8 +58818,8 @@ var of, K3, G3, iv = ["times"];
|
|
|
58815
58818
|
}
|
|
58816
58819
|
var Mt = JSON.parse(JSON.stringify(C));
|
|
58817
58820
|
Mt = x([Mt], this.posX + this.margin[3], -Ye + vt + this.ctx.prevPageLastElemOffset)[0];
|
|
58818
|
-
var
|
|
58819
|
-
|
|
58821
|
+
var ei = (st > Ce || st < We) && y.call(this);
|
|
58822
|
+
ei && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], At, Et, null).clip().discardPath()), this.pdf.addImage(S, "JPEG", Mt.x, Mt.y, Mt.w, Mt.h, null, null, R), ei && this.pdf.restoreGraphicsState();
|
|
58820
58823
|
}
|
|
58821
58824
|
else
|
|
58822
58825
|
this.pdf.addImage(S, "JPEG", C.x, C.y, C.w, C.h, null, null, R);
|
|
@@ -60029,20 +60032,20 @@ function ov(t) {
|
|
|
60029
60032
|
var L, $, fe, Ce, We, st, At, vt, et, Et, Ye = 0;
|
|
60030
60033
|
for (et = 0; et < 8; ++et) {
|
|
60031
60034
|
L = w[Ye], $ = w[Ye + 1], fe = w[Ye + 2], Ce = w[Ye + 3], We = w[Ye + 4], st = w[Ye + 5], At = w[Ye + 6];
|
|
60032
|
-
var Yn = L + (vt = w[Ye + 7]), Mt = L - vt,
|
|
60035
|
+
var Yn = L + (vt = w[Ye + 7]), Mt = L - vt, ei = $ + At, rn = $ - At, fn = fe + st, Ki = fe - st, Kt = Ce + We, Ml = Ce - We, bn = Yn + Kt, ti = Yn - Kt, ko = ei + fn, wn = ei - fn;
|
|
60033
60036
|
w[Ye] = bn + ko, w[Ye + 4] = bn - ko;
|
|
60034
|
-
var wt = 0.707106781 * (wn +
|
|
60035
|
-
w[Ye + 2] =
|
|
60037
|
+
var wt = 0.707106781 * (wn + ti);
|
|
60038
|
+
w[Ye + 2] = ti + wt, w[Ye + 6] = ti - wt;
|
|
60036
60039
|
var Gt = 0.382683433 * ((bn = Ml + Ki) - (wn = rn + Mt)), zl = 0.5411961 * bn + Gt, Ar = 1.306562965 * wn + Gt, Gi = 0.707106781 * (ko = Ki + rn), Wi = Mt + Gi, ft = Mt - Gi;
|
|
60037
60040
|
w[Ye + 5] = ft + zl, w[Ye + 3] = ft - zl, w[Ye + 1] = Wi + Ar, w[Ye + 7] = Wi - Ar, Ye += 8;
|
|
60038
60041
|
}
|
|
60039
60042
|
for (Ye = 0, et = 0; et < 8; ++et) {
|
|
60040
60043
|
L = w[Ye], $ = w[Ye + 8], fe = w[Ye + 16], Ce = w[Ye + 24], We = w[Ye + 32], st = w[Ye + 40], At = w[Ye + 48];
|
|
60041
|
-
var
|
|
60042
|
-
w[Ye] =
|
|
60043
|
-
var Ts = 0.707106781 * (Ji +
|
|
60044
|
-
w[Ye + 16] =
|
|
60045
|
-
var Xi = 0.382683433 * ((
|
|
60044
|
+
var ni = L + (vt = w[Ye + 56]), Yi = L - vt, Zr = $ + At, Jn = $ - At, Ln = fe + st, us = fe - st, cc = Ce + We, So = Ce - We, ri = ni + cc, si = ni - cc, ii = Zr + Ln, Ji = Zr - Ln;
|
|
60045
|
+
w[Ye] = ri + ii, w[Ye + 32] = ri - ii;
|
|
60046
|
+
var Ts = 0.707106781 * (Ji + si);
|
|
60047
|
+
w[Ye + 16] = si + Ts, w[Ye + 48] = si - Ts;
|
|
60048
|
+
var Xi = 0.382683433 * ((ri = So + us) - (Ji = Jn + Yi)), Hl = 0.5411961 * ri + Xi, Ac = 1.306562965 * Ji + Xi, uc = 0.707106781 * (ii = us + Jn), pc = Yi + uc, hc = Yi - uc;
|
|
60046
60049
|
w[Ye + 40] = hc + Hl, w[Ye + 24] = hc - Hl, w[Ye + 8] = pc + Ac, w[Ye + 56] = pc - Ac, Ye++;
|
|
60047
60050
|
}
|
|
60048
60051
|
for (et = 0; et < 64; ++et)
|
|
@@ -60155,7 +60158,7 @@ function ov(t) {
|
|
|
60155
60158
|
* Licensed under the MIT License.
|
|
60156
60159
|
* http://opensource.org/licenses/mit-license
|
|
60157
60160
|
*/
|
|
60158
|
-
function
|
|
60161
|
+
function hi(t, e) {
|
|
60159
60162
|
if (this.pos = 0, this.buffer = t, this.datav = new DataView(t.buffer), this.is_with_alpha = !!e, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1)
|
|
60160
60163
|
throw new Error("Invalid BMP File");
|
|
60161
60164
|
this.parseHeader(), this.parseBGR();
|
|
@@ -60436,7 +60439,7 @@ function Z3(t) {
|
|
|
60436
60439
|
B[E++] = U, B[E++] = P;
|
|
60437
60440
|
}
|
|
60438
60441
|
}
|
|
60439
|
-
function
|
|
60442
|
+
function ei(A, g, v, B, E) {
|
|
60440
60443
|
for (v = g + v; g < v; ) {
|
|
60441
60444
|
var U = (P = A[g++]) >> 16 & 248 | P >> 13 & 7, P = P >> 5 & 224 | P >> 3 & 31;
|
|
60442
60445
|
B[E++] = U, B[E++] = P;
|
|
@@ -60467,7 +60470,7 @@ function Z3(t) {
|
|
|
60467
60470
|
function bn() {
|
|
60468
60471
|
this.y = [], this.f = [], this.ea = [], this.F = [], this.Tc = this.Ed = this.Cd = this.Fd = this.lb = this.Db = this.Ab = this.fa = this.J = this.W = this.N = this.O = 0;
|
|
60469
60472
|
}
|
|
60470
|
-
function
|
|
60473
|
+
function ti() {
|
|
60471
60474
|
this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new Ml(), this.f.kb = new bn(), this.sd = null;
|
|
60472
60475
|
}
|
|
60473
60476
|
function ko() {
|
|
@@ -60533,7 +60536,7 @@ function Z3(t) {
|
|
|
60533
60536
|
function ft(A, g, v, B) {
|
|
60534
60537
|
return ie(A, 8) != 47 ? 0 : (g[0] = ie(A, 14) + 1, v[0] = ie(A, 14) + 1, B[0] = ie(A, 1), ie(A, 3) != 0 ? 0 : !A.h);
|
|
60535
60538
|
}
|
|
60536
|
-
function
|
|
60539
|
+
function ni(A, g) {
|
|
60537
60540
|
if (4 > A)
|
|
60538
60541
|
return A + 1;
|
|
60539
60542
|
var v = A - 2 >> 1;
|
|
@@ -60669,7 +60672,7 @@ function Z3(t) {
|
|
|
60669
60672
|
}
|
|
60670
60673
|
return 1;
|
|
60671
60674
|
}
|
|
60672
|
-
function
|
|
60675
|
+
function ri(A, g, v, B, E, U) {
|
|
60673
60676
|
if (A.Z != 0) {
|
|
60674
60677
|
var P = A.qd, F = A.rd;
|
|
60675
60678
|
for (e(Pa[A.Z] != null); g < v; ++g)
|
|
@@ -60677,15 +60680,15 @@ function Z3(t) {
|
|
|
60677
60680
|
A.qd = P, A.rd = F;
|
|
60678
60681
|
}
|
|
60679
60682
|
}
|
|
60680
|
-
function
|
|
60683
|
+
function si(A, g) {
|
|
60681
60684
|
var v = A.l.ma, B = v.Z == 0 || v.Z == 1 ? A.l.j : A.C;
|
|
60682
60685
|
if (B = A.C < B ? B : A.C, e(g <= A.l.o), g > B) {
|
|
60683
60686
|
var E = A.l.width, U = v.ca, P = v.tb + E * B, F = A.V, O = A.Ba + A.c * B, K = A.gc;
|
|
60684
|
-
e(A.ab == 1), e(K[0].hc == 3), zh(K[0], B, g, F, O, U, P),
|
|
60687
|
+
e(A.ab == 1), e(K[0].hc == 3), zh(K[0], B, g, F, O, U, P), ri(v, B, g, U, P, E);
|
|
60685
60688
|
}
|
|
60686
60689
|
A.C = A.Ma = g;
|
|
60687
60690
|
}
|
|
60688
|
-
function
|
|
60691
|
+
function ii(A, g, v, B, E, U, P) {
|
|
60689
60692
|
var F = A.$ / B, O = A.$ % B, K = A.m, re = A.s, me = v + A.$, ye = me;
|
|
60690
60693
|
E = v + B * E;
|
|
60691
60694
|
var de = v + B * U, Fe = 280 + re.ua, Se = A.Pb ? F : 16777216, se = 0 < re.ua ? re.Wa : null, oe = re.wc, Pe = me < de ? Ln(re, O, F) : null;
|
|
@@ -60721,7 +60724,7 @@ function Z3(t) {
|
|
|
60721
60724
|
for (; ye < me; )
|
|
60722
60725
|
je = g[ye++], se.X[(506832829 * je & 4294967295) >>> se.Mb] = je;
|
|
60723
60726
|
} else if (280 > je) {
|
|
60724
|
-
if (je =
|
|
60727
|
+
if (je = ni(je - 256, K), tt = Zr(Pe.G[4], Pe.H[4], K), ne(K), tt = Yi(B, tt = ni(tt, K)), K.h)
|
|
60725
60728
|
break;
|
|
60726
60729
|
if (me - v < tt || E - me < je)
|
|
60727
60730
|
break e;
|
|
@@ -60759,7 +60762,7 @@ function Z3(t) {
|
|
|
60759
60762
|
}
|
|
60760
60763
|
function Ts() {
|
|
60761
60764
|
var A = new h1();
|
|
60762
|
-
return A == null ? null : (A.a = 0, A.xb = Vw, Ki("Predictor", "VP8LPredictors"), Ki("Predictor", "VP8LPredictors_C"), Ki("PredictorAdd", "VP8LPredictorsAdd"), Ki("PredictorAdd", "VP8LPredictorsAdd_C"), Mh = At, Wl = et, ts = Ye, Or = Yn, Sa = Mt, Uo =
|
|
60765
|
+
return A == null ? null : (A.a = 0, A.xb = Vw, Ki("Predictor", "VP8LPredictors"), Ki("Predictor", "VP8LPredictors_C"), Ki("PredictorAdd", "VP8LPredictorsAdd"), Ki("PredictorAdd", "VP8LPredictorsAdd_C"), Mh = At, Wl = et, ts = Ye, Or = Yn, Sa = Mt, Uo = ei, Po = rn, M.VP8LMapColor32b = Tc, M.VP8LMapColor8b = Hh, A);
|
|
60763
60766
|
}
|
|
60764
60767
|
function Xi(A, g, v, B, E) {
|
|
60765
60768
|
var U = 1, P = [A], F = [g], O = B.m, K = B.s, re = null, me = 0;
|
|
@@ -60838,7 +60841,7 @@ function Z3(t) {
|
|
|
60838
60841
|
}
|
|
60839
60842
|
var ng = C1;
|
|
60840
60843
|
for (tn = Mn = 0; tn < Lr; ++tn) {
|
|
60841
|
-
var
|
|
60844
|
+
var ci = tg[tn], Rc = ci.G, Oc = ci.H, n5 = 0, rg = 1, r5 = 0;
|
|
60842
60845
|
for (kt = 0; 5 > kt; ++kt) {
|
|
60843
60846
|
xn = Hw[kt], Rc[kt] = ng, Oc[kt] = Mn, !kt && 0 < Jt && (xn += 1 << Jt);
|
|
60844
60847
|
s: {
|
|
@@ -60896,8 +60899,8 @@ function Z3(t) {
|
|
|
60896
60899
|
r5 += I1;
|
|
60897
60900
|
}
|
|
60898
60901
|
}
|
|
60899
|
-
if (
|
|
60900
|
-
var dg, Oo =
|
|
60902
|
+
if (ci.nd = rg, ci.Qb = 0, rg && (ci.qb = (Rc[3][Oc[3] + 0].value << 24 | Rc[1][Oc[1] + 0].value << 16 | Rc[2][Oc[2] + 0].value) >>> 0, n5 == 0 && 256 > Rc[0][Oc[0] + 0].value && (ci.Qb = 1, ci.qb += Rc[0][Oc[0] + 0].value << 8)), ci.jc = !ci.Qb && 6 > r5, ci.jc) {
|
|
60903
|
+
var dg, Oo = ci;
|
|
60901
60904
|
for (dg = 0; dg < ur; ++dg) {
|
|
60902
60905
|
var Ra = dg, Oa = Oo.pd[Ra], cg = Oo.G[0][Oo.H[0] + Ra];
|
|
60903
60906
|
256 <= cg.value ? (Oa.g = cg.g + 256, Oa.value = cg.value) : (Oa.g = 0, Oa.value = 0, Ra >>= Jn(cg, 8, Oa), Ra >>= Jn(Oo.G[1][Oo.H[1] + Ra], 16, Oa), Ra >>= Jn(Oo.G[2][Oo.H[2] + Ra], 0, Oa), Jn(Oo.G[3][Oo.H[3] + Ra], 24, Oa));
|
|
@@ -60929,7 +60932,7 @@ function Z3(t) {
|
|
|
60929
60932
|
B.a = 1, U = 0;
|
|
60930
60933
|
break e;
|
|
60931
60934
|
}
|
|
60932
|
-
U = (U =
|
|
60935
|
+
U = (U = ii(B, re, 0, P, F, F, null)) && !O.h;
|
|
60933
60936
|
break e;
|
|
60934
60937
|
}
|
|
60935
60938
|
return U ? (E != null ? E[0] = re : (e(re == null), e(v)), B.$ = 0, v || Ji(K)) : Ji(K), U;
|
|
@@ -60942,7 +60945,7 @@ function Z3(t) {
|
|
|
60942
60945
|
var v = A.C, B = g - v, E = A.V, U = A.Ba + A.c * v;
|
|
60943
60946
|
for (e(g <= A.l.o); 0 < B; ) {
|
|
60944
60947
|
var P = 16 < B ? 16 : B, F = A.l.ma, O = A.l.width, K = O * P, re = F.ca, me = F.tb + O * v, ye = A.Ta, de = A.Ua;
|
|
60945
|
-
us(A, P, E, U), Tn(ye, de, re, me, K),
|
|
60948
|
+
us(A, P, E, U), Tn(ye, de, re, me, K), ri(F, v, v + P, re, me, O), B -= P, E += P * A.c, v += P;
|
|
60946
60949
|
}
|
|
60947
60950
|
e(v == g), A.C = A.Ma = g;
|
|
60948
60951
|
}
|
|
@@ -61187,7 +61190,7 @@ function Z3(t) {
|
|
|
61187
61190
|
Fc[255 + v] = 0 > v ? 0 : 255 < v ? 255 : v;
|
|
61188
61191
|
Vh = 1;
|
|
61189
61192
|
}
|
|
61190
|
-
Uc = e1, jo = Z0, Iu = Sh, Nr = $0, Ps = Ih, In = kh, Pc = fu, qh = Kl, Tu = p1, Yl = mu, Jl = u1, Ia = _c, Xl = yu, jc = Nh, Zl = Oh, Ta = $i, Uu = To, js = A1,
|
|
61193
|
+
Uc = e1, jo = Z0, Iu = Sh, Nr = $0, Ps = Ih, In = kh, Pc = fu, qh = Kl, Tu = p1, Yl = mu, Jl = u1, Ia = _c, Xl = yu, jc = Nh, Zl = Oh, Ta = $i, Uu = To, js = A1, di[0] = Zi, di[1] = t1, di[2] = i1, di[3] = o1, di[4] = Ph, di[5] = bc, di[6] = jh, di[7] = pu, di[8] = l1, di[9] = a1, Ua[0] = Th, Ua[1] = r1, Ua[2] = Io, Ua[3] = yc, Ua[4] = xr, Ua[5] = s1, Ua[6] = Uh, Do[0] = Ca, Do[1] = n1, Do[2] = d1, Do[3] = hu, Do[4] = Vl, Do[5] = c1, Do[6] = gu, v = 1;
|
|
61191
61194
|
} else
|
|
61192
61195
|
v = 0;
|
|
61193
61196
|
}
|
|
@@ -61286,11 +61289,11 @@ function Z3(t) {
|
|
|
61286
61289
|
}
|
|
61287
61290
|
return v ? (A.cb = 0, v) : 0;
|
|
61288
61291
|
}
|
|
61289
|
-
function
|
|
61292
|
+
function oi(A, g, v, B, E) {
|
|
61290
61293
|
E = A[g + v + 32 * B] + (E >> 3), A[g + v + 32 * B] = -256 & E ? 0 > E ? 0 : 255 : E;
|
|
61291
61294
|
}
|
|
61292
61295
|
function mc(A, g, v, B, E, U) {
|
|
61293
|
-
|
|
61296
|
+
oi(A, g, 0, v, B + E), oi(A, g, 1, v, B + U), oi(A, g, 2, v, B - U), oi(A, g, 3, v, B - E);
|
|
61294
61297
|
}
|
|
61295
61298
|
function $r(A) {
|
|
61296
61299
|
return (20091 * A >> 16) + A;
|
|
@@ -61302,7 +61305,7 @@ function Z3(t) {
|
|
|
61302
61305
|
P[U + 0] = F + re, P[U + 1] = O + K, P[U + 2] = O - K, P[U + 3] = F - re, U += 4, g++;
|
|
61303
61306
|
}
|
|
61304
61307
|
for (E = U = 0; 4 > E; ++E)
|
|
61305
|
-
F = (A = P[U + 0] + 4) + P[U + 8], O = A - P[U + 8], K = (35468 * P[U + 4] >> 16) - $r(P[U + 12]),
|
|
61308
|
+
F = (A = P[U + 0] + 4) + P[U + 8], O = A - P[U + 8], K = (35468 * P[U + 4] >> 16) - $r(P[U + 12]), oi(v, B, 0, 0, F + (re = $r(P[U + 4]) + (35468 * P[U + 12] >> 16))), oi(v, B, 1, 0, O + K), oi(v, B, 2, 0, O - K), oi(v, B, 3, 0, F - re), U++, B += 32;
|
|
61306
61309
|
}
|
|
61307
61310
|
function kh(A, g, v, B) {
|
|
61308
61311
|
var E = A[g + 0] + 4, U = 35468 * A[g + 4] >> 16, P = $r(A[g + 4]), F = 35468 * A[g + 1] >> 16;
|
|
@@ -61318,7 +61321,7 @@ function Z3(t) {
|
|
|
61318
61321
|
var E;
|
|
61319
61322
|
for (A = A[g + 0] + 4, E = 0; 4 > E; ++E)
|
|
61320
61323
|
for (g = 0; 4 > g; ++g)
|
|
61321
|
-
|
|
61324
|
+
oi(v, B, g, E, A);
|
|
61322
61325
|
}
|
|
61323
61326
|
function Ih(A, g, v, B) {
|
|
61324
61327
|
A[g + 0] && Nr(A, g + 0, v, B), A[g + 16] && Nr(A, g + 16, v, B + 4), A[g + 32] && Nr(A, g + 32, v, B + 128), A[g + 48] && Nr(A, g + 48, v, B + 128 + 4);
|
|
@@ -61512,7 +61515,7 @@ function Z3(t) {
|
|
|
61512
61515
|
g += B;
|
|
61513
61516
|
}
|
|
61514
61517
|
}
|
|
61515
|
-
function
|
|
61518
|
+
function ai(A, g, v, B, E, U, P, F) {
|
|
61516
61519
|
for (U = 2 * U + 1; 0 < E--; ) {
|
|
61517
61520
|
if (Rh(A, g, v, U, P))
|
|
61518
61521
|
if (Fh(A, g, v, F))
|
|
@@ -61533,12 +61536,12 @@ function Z3(t) {
|
|
|
61533
61536
|
function u1(A, g, v, B, E, U) {
|
|
61534
61537
|
var P;
|
|
61535
61538
|
for (P = 3; 0 < P; --P)
|
|
61536
|
-
|
|
61539
|
+
ai(A, g += 4 * v, v, 1, 16, B, E, U);
|
|
61537
61540
|
}
|
|
61538
61541
|
function _c(A, g, v, B, E, U) {
|
|
61539
61542
|
var P;
|
|
61540
61543
|
for (P = 3; 0 < P; --P)
|
|
61541
|
-
|
|
61544
|
+
ai(A, g += 4, 1, v, 16, B, E, U);
|
|
61542
61545
|
}
|
|
61543
61546
|
function p1(A, g, v, B, E, U, P, F) {
|
|
61544
61547
|
Ba(A, g, E, 1, 8, U, P, F), Ba(v, B, E, 1, 8, U, P, F);
|
|
@@ -61547,13 +61550,13 @@ function Z3(t) {
|
|
|
61547
61550
|
Ba(A, g, 1, E, 8, U, P, F), Ba(v, B, 1, E, 8, U, P, F);
|
|
61548
61551
|
}
|
|
61549
61552
|
function yu(A, g, v, B, E, U, P, F) {
|
|
61550
|
-
|
|
61553
|
+
ai(A, g + 4 * E, E, 1, 8, U, P, F), ai(v, B + 4 * E, E, 1, 8, U, P, F);
|
|
61551
61554
|
}
|
|
61552
61555
|
function Nh(A, g, v, B, E, U, P, F) {
|
|
61553
|
-
|
|
61556
|
+
ai(A, g + 4, 1, E, 8, U, P, F), ai(v, B + 4, 1, E, 8, U, P, F);
|
|
61554
61557
|
}
|
|
61555
61558
|
function xc() {
|
|
61556
|
-
this.ba = new
|
|
61559
|
+
this.ba = new ti(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new wn(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
61557
61560
|
}
|
|
61558
61561
|
function vu() {
|
|
61559
61562
|
this.data = [], this.offset = this.kd = this.ha = this.w = 0, this.na = [], this.xa = this.gb = this.Ja = this.Sa = this.P = 0;
|
|
@@ -61565,7 +61568,7 @@ function Z3(t) {
|
|
|
61565
61568
|
this.ua = 0, this.Wa = new X(), this.vb = new X(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new Z(), this.yc = new Q();
|
|
61566
61569
|
}
|
|
61567
61570
|
function h1() {
|
|
61568
|
-
this.xb = this.a = 0, this.l = new fc(), this.ca = new
|
|
61571
|
+
this.xb = this.a = 0, this.l = new fc(), this.ca = new ti(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new S(), this.Pb = 0, this.wd = new S(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new Lh(), this.ab = 0, this.gc = o(4, bu), this.Oc = 0;
|
|
61569
61572
|
}
|
|
61570
61573
|
function Cc() {
|
|
61571
61574
|
this.Lc = this.Z = this.$a = this.i = this.c = 0, this.l = new fc(), this.ic = 0, this.ca = [], this.tb = 0, this.qd = null, this.rd = 0;
|
|
@@ -61650,32 +61653,32 @@ function Z3(t) {
|
|
|
61650
61653
|
for (; ; ) {
|
|
61651
61654
|
for (; !re.h && se < Pe; ) {
|
|
61652
61655
|
if (K & Oe || (je = Ln(me, K, O)), e(je != null), ne(re), 256 > (Se = Zr(je.G[0], je.H[0], re)))
|
|
61653
|
-
F[ye + se] = Se, ++se, ++K >= de && (K = 0, ++O <= g && !(O % 16) &&
|
|
61656
|
+
F[ye + se] = Se, ++se, ++K >= de && (K = 0, ++O <= g && !(O % 16) && si(P, O));
|
|
61654
61657
|
else {
|
|
61655
61658
|
if (!(280 > Se)) {
|
|
61656
61659
|
Fe = 0;
|
|
61657
61660
|
break t;
|
|
61658
61661
|
}
|
|
61659
|
-
Se =
|
|
61662
|
+
Se = ni(Se - 256, re);
|
|
61660
61663
|
var tt, Ke = Zr(je.G[4], je.H[4], re);
|
|
61661
|
-
if (ne(re), !(se >= (Ke = Yi(de, Ke =
|
|
61664
|
+
if (ne(re), !(se >= (Ke = Yi(de, Ke = ni(Ke, re))) && oe - se >= Se)) {
|
|
61662
61665
|
Fe = 0;
|
|
61663
61666
|
break t;
|
|
61664
61667
|
}
|
|
61665
61668
|
for (tt = 0; tt < Se; ++tt)
|
|
61666
61669
|
F[ye + se + tt] = F[ye + se + tt - Ke];
|
|
61667
61670
|
for (se += Se, K += Se; K >= de; )
|
|
61668
|
-
K -= de, ++O <= g && !(O % 16) &&
|
|
61671
|
+
K -= de, ++O <= g && !(O % 16) && si(P, O);
|
|
61669
61672
|
se < Pe && K & Oe && (je = Ln(me, K, O));
|
|
61670
61673
|
}
|
|
61671
61674
|
e(re.h == G(re));
|
|
61672
61675
|
}
|
|
61673
|
-
|
|
61676
|
+
si(P, O > g ? g : O);
|
|
61674
61677
|
break t;
|
|
61675
61678
|
}
|
|
61676
61679
|
!Fe || re.h && se < oe ? (Fe = 0, P.a = re.h ? 5 : 3) : P.$ = se, g = Fe;
|
|
61677
61680
|
} else
|
|
61678
|
-
g =
|
|
61681
|
+
g = ii(P, P.V, P.Ba, P.c, P.i, g, Ac);
|
|
61679
61682
|
if (!g) {
|
|
61680
61683
|
B = 0;
|
|
61681
61684
|
break e;
|
|
@@ -61776,7 +61779,7 @@ function Z3(t) {
|
|
|
61776
61779
|
function tr(A, g, v, B, E) {
|
|
61777
61780
|
yn(A, g, v, B, E), B[E + 3] = 255;
|
|
61778
61781
|
}
|
|
61779
|
-
function
|
|
61782
|
+
function li(A, g, v, B, E) {
|
|
61780
61783
|
Nt(A, g, v, B, E), B[E + 3] = 255;
|
|
61781
61784
|
}
|
|
61782
61785
|
function ps(A, g) {
|
|
@@ -61824,7 +61827,7 @@ function Z3(t) {
|
|
|
61824
61827
|
for (0 < E && (B >= A.za - 1 ? s(oe, Pe, de[Fe].y[15], 4) : r(oe, Pe, de[Fe + 1].y, 0, 4)), v = 0; 4 > v; v++)
|
|
61825
61828
|
oe[Pe + 128 + v] = oe[Pe + 256 + v] = oe[Pe + 384 + v] = oe[Pe + 0 + v];
|
|
61826
61829
|
for (v = 0; 16 > v; ++v, se <<= 2)
|
|
61827
|
-
oe = P, Pe = F + Zw[v],
|
|
61830
|
+
oe = P, Pe = F + Zw[v], di[ye.Ob[v]](oe, Pe), xu(se, Se, 16 * +v, oe, Pe);
|
|
61828
61831
|
} else if (oe = Qh(B, E, ye.Ob[0]), Ua[oe](P, F), se != 0)
|
|
61829
61832
|
for (v = 0; 16 > v; ++v, se <<= 2)
|
|
61830
61833
|
xu(se, Se, 16 * +v, P, F + Zw[v]);
|
|
@@ -62093,13 +62096,13 @@ function Z3(t) {
|
|
|
62093
62096
|
});
|
|
62094
62097
|
var Mh, Us = M.ColorIndexInverseTransform, Tc = M.MapARGB, zh = M.VP8LColorIndexInverseTransformAlpha, Hh = M.MapAlpha, ka = M.VP8LPredictorsAdd = [];
|
|
62095
62098
|
ka.length = 16, (M.VP8LPredictors = []).length = 16, (M.VP8LPredictorsAdd_C = []).length = 16, (M.VP8LPredictors_C = []).length = 16;
|
|
62096
|
-
var Wl, ts, Or, Sa, Uo, Po, Uc, jo, In, Iu, Nr, Ps, Pc, qh, Tu, Yl, Jl, Ia, Xl, jc, Zl, Ta, Uu, js, Fs, cn, An, Tn, Xn = i(511), Fo = i(2041), Pu = i(225), Fc = i(767), Vh = 0, f1 = Fo, Kh = Pu, hs = Fc, Ds = Xn, Gh = 0, Wh = 1, Mw = 2, Yh = 3, Jh = 4, m1 = 5, zw = 6, y1 = 7, v1 = 8, Xh = 9, b1 = 10, ZE = [2, 3, 7], $E = [3, 3, 11], Hw = [280, 256, 256, 256, 40], ek = [0, 1, 1, 1, 0], tk = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], nk = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], rk = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], sk = 8, w1 = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], _1 = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], ju = null, ik = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], ok = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], qw = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], ak = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], lk = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], dk = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ck = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ua = [], li = [], Do = [], Ak = 1, Vw = 2, Pa = [], Rs = [];
|
|
62097
|
-
Te("UpsampleRgbLinePair", Nt, 3), Te("UpsampleBgrLinePair", yn, 3), Te("UpsampleRgbaLinePair",
|
|
62099
|
+
var Wl, ts, Or, Sa, Uo, Po, Uc, jo, In, Iu, Nr, Ps, Pc, qh, Tu, Yl, Jl, Ia, Xl, jc, Zl, Ta, Uu, js, Fs, cn, An, Tn, Xn = i(511), Fo = i(2041), Pu = i(225), Fc = i(767), Vh = 0, f1 = Fo, Kh = Pu, hs = Fc, Ds = Xn, Gh = 0, Wh = 1, Mw = 2, Yh = 3, Jh = 4, m1 = 5, zw = 6, y1 = 7, v1 = 8, Xh = 9, b1 = 10, ZE = [2, 3, 7], $E = [3, 3, 11], Hw = [280, 256, 256, 256, 40], ek = [0, 1, 1, 1, 0], tk = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], nk = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], rk = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], sk = 8, w1 = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], _1 = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], ju = null, ik = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], ok = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], qw = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], ak = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], lk = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], dk = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ck = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ua = [], di = [], Do = [], Ak = 1, Vw = 2, Pa = [], Rs = [];
|
|
62100
|
+
Te("UpsampleRgbLinePair", Nt, 3), Te("UpsampleBgrLinePair", yn, 3), Te("UpsampleRgbaLinePair", li, 4), Te("UpsampleBgraLinePair", tr, 4), Te("UpsampleArgbLinePair", Cr, 4), Te("UpsampleRgba4444LinePair", Qn, 2), Te("UpsampleRgb565LinePair", _n, 2);
|
|
62098
62101
|
var uk = M.UpsampleRgbLinePair, pk = M.UpsampleBgrLinePair, Kw = M.UpsampleRgbaLinePair, Gw = M.UpsampleBgraLinePair, Ww = M.UpsampleArgbLinePair, Yw = M.UpsampleRgba4444LinePair, hk = M.UpsampleRgb565LinePair, Zh = 16, $h = 1 << Zh - 1, Fu = -227, x1 = 482, Jw = 6, gk = (256 << Jw) - 1, Xw = 0, fk = i(256), mk = i(256), yk = i(256), vk = i(256), bk = i(x1 - Fu), wk = i(x1 - Fu);
|
|
62099
|
-
eo("YuvToRgbRow", Nt, 3), eo("YuvToBgrRow", yn, 3), eo("YuvToRgbaRow",
|
|
62102
|
+
eo("YuvToRgbRow", Nt, 3), eo("YuvToBgrRow", yn, 3), eo("YuvToRgbaRow", li, 4), eo("YuvToBgraRow", tr, 4), eo("YuvToArgbRow", Cr, 4), eo("YuvToRgba4444Row", Qn, 2), eo("YuvToRgb565Row", _n, 2);
|
|
62100
62103
|
var Zw = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], eg = [0, 2, 8], _k = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], xk = 1;
|
|
62101
62104
|
this.WebPDecodeRGBA = function(A, g, v, B, E) {
|
|
62102
|
-
var U = Wh, P = new xc(), F = new
|
|
62105
|
+
var U = Wh, P = new xc(), F = new ti();
|
|
62103
62106
|
P.ba = F, F.S = U, F.width = [F.width], F.height = [F.height];
|
|
62104
62107
|
var O = F.width, K = F.height, re = new ko();
|
|
62105
62108
|
if (re == null || A == null)
|
|
@@ -62155,7 +62158,7 @@ function Z3(t) {
|
|
|
62155
62158
|
}
|
|
62156
62159
|
B.xb = 0;
|
|
62157
62160
|
}
|
|
62158
|
-
if (!
|
|
62161
|
+
if (!ii(B, B.V, B.Ba, B.c, B.i, v.o, cc))
|
|
62159
62162
|
break n;
|
|
62160
62163
|
E.Dc = B.Ma, B = 1;
|
|
62161
62164
|
break t;
|
|
@@ -62402,7 +62405,7 @@ function Z3(t) {
|
|
|
62402
62405
|
var l = { data: d, width: o, height: a }, c = new ov(100).encode(l, 100);
|
|
62403
62406
|
return t.processJPEG.call(this, c, n, r, s);
|
|
62404
62407
|
}, t.processGIF87A = t.processGIF89A;
|
|
62405
|
-
}(gt.API),
|
|
62408
|
+
}(gt.API), hi.prototype.parseHeader = function() {
|
|
62406
62409
|
if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
|
|
62407
62410
|
var t = this.colors === 0 ? 1 << this.bitPP : this.colors;
|
|
62408
62411
|
this.palette = new Array(t);
|
|
@@ -62412,7 +62415,7 @@ function Z3(t) {
|
|
|
62412
62415
|
}
|
|
62413
62416
|
}
|
|
62414
62417
|
this.height < 0 && (this.height *= -1, this.bottom_up = !1);
|
|
62415
|
-
},
|
|
62418
|
+
}, hi.prototype.parseBGR = function() {
|
|
62416
62419
|
this.pos = this.offset;
|
|
62417
62420
|
try {
|
|
62418
62421
|
var t = "bit" + this.bitPP, e = this.width * this.height * 4;
|
|
@@ -62420,7 +62423,7 @@ function Z3(t) {
|
|
|
62420
62423
|
} catch (n) {
|
|
62421
62424
|
an.log("bit decode error:" + n);
|
|
62422
62425
|
}
|
|
62423
|
-
},
|
|
62426
|
+
}, hi.prototype.bit1 = function() {
|
|
62424
62427
|
var t, e = Math.ceil(this.width / 8), n = e % 4;
|
|
62425
62428
|
for (t = this.height - 1; t >= 0; t--) {
|
|
62426
62429
|
for (var r = this.bottom_up ? t : this.height - 1 - t, s = 0; s < e; s++)
|
|
@@ -62430,7 +62433,7 @@ function Z3(t) {
|
|
|
62430
62433
|
}
|
|
62431
62434
|
n !== 0 && (this.pos += 4 - n);
|
|
62432
62435
|
}
|
|
62433
|
-
},
|
|
62436
|
+
}, hi.prototype.bit4 = function() {
|
|
62434
62437
|
for (var t = Math.ceil(this.width / 2), e = t % 4, n = this.height - 1; n >= 0; n--) {
|
|
62435
62438
|
for (var r = this.bottom_up ? n : this.height - 1 - n, s = 0; s < t; s++) {
|
|
62436
62439
|
var i = this.datav.getUint8(this.pos++, !0), o = r * this.width * 4 + 2 * s * 4, a = i >> 4, d = 15 & i, l = this.palette[a];
|
|
@@ -62440,7 +62443,7 @@ function Z3(t) {
|
|
|
62440
62443
|
}
|
|
62441
62444
|
e !== 0 && (this.pos += 4 - e);
|
|
62442
62445
|
}
|
|
62443
|
-
},
|
|
62446
|
+
}, hi.prototype.bit8 = function() {
|
|
62444
62447
|
for (var t = this.width % 4, e = this.height - 1; e >= 0; e--) {
|
|
62445
62448
|
for (var n = this.bottom_up ? e : this.height - 1 - e, r = 0; r < this.width; r++) {
|
|
62446
62449
|
var s = this.datav.getUint8(this.pos++, !0), i = n * this.width * 4 + 4 * r;
|
|
@@ -62452,7 +62455,7 @@ function Z3(t) {
|
|
|
62452
62455
|
}
|
|
62453
62456
|
t !== 0 && (this.pos += 4 - t);
|
|
62454
62457
|
}
|
|
62455
|
-
},
|
|
62458
|
+
}, hi.prototype.bit15 = function() {
|
|
62456
62459
|
for (var t = this.width % 3, e = parseInt("11111", 2), n = this.height - 1; n >= 0; n--) {
|
|
62457
62460
|
for (var r = this.bottom_up ? n : this.height - 1 - n, s = 0; s < this.width; s++) {
|
|
62458
62461
|
var i = this.datav.getUint16(this.pos, !0);
|
|
@@ -62462,7 +62465,7 @@ function Z3(t) {
|
|
|
62462
62465
|
}
|
|
62463
62466
|
this.pos += t;
|
|
62464
62467
|
}
|
|
62465
|
-
},
|
|
62468
|
+
}, hi.prototype.bit16 = function() {
|
|
62466
62469
|
for (var t = this.width % 3, e = parseInt("11111", 2), n = parseInt("111111", 2), r = this.height - 1; r >= 0; r--) {
|
|
62467
62470
|
for (var s = this.bottom_up ? r : this.height - 1 - r, i = 0; i < this.width; i++) {
|
|
62468
62471
|
var o = this.datav.getUint16(this.pos, !0);
|
|
@@ -62472,7 +62475,7 @@ function Z3(t) {
|
|
|
62472
62475
|
}
|
|
62473
62476
|
this.pos += t;
|
|
62474
62477
|
}
|
|
62475
|
-
},
|
|
62478
|
+
}, hi.prototype.bit24 = function() {
|
|
62476
62479
|
for (var t = this.height - 1; t >= 0; t--) {
|
|
62477
62480
|
for (var e = this.bottom_up ? t : this.height - 1 - t, n = 0; n < this.width; n++) {
|
|
62478
62481
|
var r = this.datav.getUint8(this.pos++, !0), s = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), o = e * this.width * 4 + 4 * n;
|
|
@@ -62480,13 +62483,13 @@ function Z3(t) {
|
|
|
62480
62483
|
}
|
|
62481
62484
|
this.pos += this.width % 4;
|
|
62482
62485
|
}
|
|
62483
|
-
},
|
|
62486
|
+
}, hi.prototype.bit32 = function() {
|
|
62484
62487
|
for (var t = this.height - 1; t >= 0; t--)
|
|
62485
62488
|
for (var e = this.bottom_up ? t : this.height - 1 - t, n = 0; n < this.width; n++) {
|
|
62486
62489
|
var r = this.datav.getUint8(this.pos++, !0), s = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), o = this.datav.getUint8(this.pos++, !0), a = e * this.width * 4 + 4 * n;
|
|
62487
62490
|
this.data[a] = i, this.data[a + 1] = s, this.data[a + 2] = r, this.data[a + 3] = o;
|
|
62488
62491
|
}
|
|
62489
|
-
},
|
|
62492
|
+
}, hi.prototype.getData = function() {
|
|
62490
62493
|
return this.data;
|
|
62491
62494
|
}, /**
|
|
62492
62495
|
* @license
|
|
@@ -62497,7 +62500,7 @@ function Z3(t) {
|
|
|
62497
62500
|
*/
|
|
62498
62501
|
function(t) {
|
|
62499
62502
|
t.processBMP = function(e, n, r, s) {
|
|
62500
|
-
var i = new
|
|
62503
|
+
var i = new hi(e, !1), o = i.width, a = i.height, d = { data: i.getData(), width: o, height: a }, l = new ov(100).encode(d, 100);
|
|
62501
62504
|
return t.processJPEG.call(this, l, n, r, s);
|
|
62502
62505
|
};
|
|
62503
62506
|
}(gt.API), Z3.prototype.getData = function() {
|
|
@@ -62672,7 +62675,7 @@ function(t) {
|
|
|
62672
62675
|
*/
|
|
62673
62676
|
function(t) {
|
|
62674
62677
|
function e() {
|
|
62675
|
-
return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-
|
|
62678
|
+
return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-f9f71f2a.js")).catch(function(n) {
|
|
62676
62679
|
return Promise.reject(new Error("Could not load canvg: " + n));
|
|
62677
62680
|
}).then(function(n) {
|
|
62678
62681
|
return n.default ? n.default : n;
|
|
@@ -63873,7 +63876,7 @@ const BW = (t, e, n, r, s) => ({
|
|
|
63873
63876
|
},
|
|
63874
63877
|
srcDpaId: t
|
|
63875
63878
|
});
|
|
63876
|
-
var LE = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(LE || {}), il = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t))(il || {}),
|
|
63879
|
+
var LE = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(LE || {}), il = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t))(il || {}), bi = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t))(bi || {});
|
|
63877
63880
|
const eC = "Plan Z", EW = "Plan Z", kW = "Cuota Simple", SW = "Sin Interés";
|
|
63878
63881
|
var pt = /* @__PURE__ */ ((t) => (t.LOADING = "c2p-modal", t.C2P_HOME = "app-home-c2p", t.HEADER = "click2pay-header", t.CARD_FORM = "c2p-card-form", t.LEARN_MORE = "click2pay-learn-more", t.OTP_CHANNEL = "click2pay-otp-channel-selection", t.OTP_INPUT = "click2pay-otp-input", t.HOLDER_FORM = "c2p-holder-form", t.PLANS = "c2p-plans", t.SUMMARY = "c2p-summary", t.STATUS = "c2p-status", t.QR = "click2pay-qr-component", t.C2P_INPUT = "c2p-input", t.DRAWER = "drawer-component", t.CARD_LIST = "click2pay-card-list", t.INVOICE = "c2p-invoice", t))(pt || {});
|
|
63879
63882
|
const tC = {
|
|
@@ -64098,16 +64101,16 @@ const tC = {
|
|
|
64098
64101
|
})
|
|
64099
64102
|
]
|
|
64100
64103
|
}, $b = (t) => gh.messages.find(
|
|
64101
|
-
(n) => n.status ===
|
|
64104
|
+
(n) => n.status === bi.FAILURE_PROCESSED && n.status_reason && n.status_reason.includes(t)
|
|
64102
64105
|
) || Zb, Df = (t) => gh.messages.find(
|
|
64103
64106
|
(n) => {
|
|
64104
64107
|
var r;
|
|
64105
|
-
return n.status ===
|
|
64108
|
+
return n.status === bi.SUCCESS_PROCESSED && t === il.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
|
|
64106
64109
|
}
|
|
64107
64110
|
) || Jb, e2 = (t) => gh.messages.find(
|
|
64108
64111
|
(n) => {
|
|
64109
64112
|
var r;
|
|
64110
|
-
return n.status ===
|
|
64113
|
+
return n.status === bi.BLOCKED && t === il.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
|
|
64111
64114
|
}
|
|
64112
64115
|
) || Xb;
|
|
64113
64116
|
var IW = Object.defineProperty, TW = Object.getOwnPropertyDescriptor, Wn = (t, e, n, r) => {
|
|
@@ -64448,7 +64451,7 @@ class Hd extends String {
|
|
|
64448
64451
|
return e === "string" ? this.formatted : this;
|
|
64449
64452
|
}
|
|
64450
64453
|
}
|
|
64451
|
-
const OW = (t) => ({ validate: (e) => /^[a-zA-ZáéíóúüñÑ\s]+$/.test(e), errorMessage: t }), NW = (t) => ({ validate: (e) => !/^\s+$/.test(e), errorMessage: t }),
|
|
64454
|
+
const OW = (t) => ({ validate: (e) => /^[a-zA-ZáéíóúüñÑ\s]+$/.test(e), errorMessage: t }), NW = (t) => ({ validate: (e) => !/^\s+$/.test(e), errorMessage: t }), vi = (t) => ({
|
|
64452
64455
|
validate: (e) => e.trim() !== "",
|
|
64453
64456
|
errorMessage: t
|
|
64454
64457
|
}), LW = (t = "Revisá el email, está incompleto.") => ({
|
|
@@ -64601,7 +64604,7 @@ let Gr = class extends qe {
|
|
|
64601
64604
|
let e = gh.messages.find((n) => n.status === this._statusMessage);
|
|
64602
64605
|
if (this._isShowCardPayment = this._statusMessage === "WEB_SOCKET_ERROR", this._statusMessage !== "WS_DISCONNECTED") {
|
|
64603
64606
|
const n = this._stateC2p.statePaymentRequest, r = n.transactions[0].auth_data.code;
|
|
64604
|
-
n.status ===
|
|
64607
|
+
n.status === bi.FAILURE_PROCESSED && ((t = n.transactions[0].auth_data) != null && t.code) && (e = $b(r), nt(e.status, r), _s(n) && (e = $b(`rejected${ah(n)}`), nt(e.status, r))), n.status === bi.SUCCESS_PROCESSED && (e = Df(n.payment_type), nt(e.status, "")), n.status === bi.BLOCKED && (e = e2(n.payment_type), nt(e.status, r));
|
|
64605
64608
|
}
|
|
64606
64609
|
e && (this._stateStatus.title = e.title, this._stateStatus.subtitle = e.subtitle, this._stateStatus.icon = e.icon, this._stateStatus.status = e.status, this._stateStatus.name = e.name, this._stateStatus.returnButton = e.returnButton, this._stateStatus.nameReturnButton = e.nameReturnButton), this._stateC2p.page = pt.STATUS, this.requestUpdate(), this._stateC2p.isActiveWs = !1;
|
|
64607
64610
|
}
|
|
@@ -64628,7 +64631,7 @@ let Gr = class extends qe {
|
|
|
64628
64631
|
return ce(this, null, function* () {
|
|
64629
64632
|
try {
|
|
64630
64633
|
ae.info("app-home::getPaymentRequestAndRedirectToStatus");
|
|
64631
|
-
const t = yield
|
|
64634
|
+
const t = yield Ci(this._stateC2p.statePaymentRequest.id);
|
|
64632
64635
|
this.setDurationPayment(t.response), this._stateC2p.statePaymentRequest = t.response, this._statusMessage = t.response.status;
|
|
64633
64636
|
} catch (t) {
|
|
64634
64637
|
ae.error(
|
|
@@ -64929,16 +64932,16 @@ let ji = class extends fo {
|
|
|
64929
64932
|
}, e = [
|
|
64930
64933
|
{
|
|
64931
64934
|
inputName: "creditNumber",
|
|
64932
|
-
rules: [Gp(),
|
|
64935
|
+
rules: [Gp(), vi("Tenés que completar el número de tarjeta."), t]
|
|
64933
64936
|
},
|
|
64934
64937
|
{
|
|
64935
64938
|
inputName: "dateExpired",
|
|
64936
|
-
rules: [
|
|
64939
|
+
rules: [vi("Tenés que completar el vencimiento."), zE(), HE(), qE()]
|
|
64937
64940
|
},
|
|
64938
64941
|
{
|
|
64939
64942
|
inputName: "cvc",
|
|
64940
64943
|
rules: [
|
|
64941
|
-
|
|
64944
|
+
vi("Tenés que completar el código."),
|
|
64942
64945
|
pA(3, "Revisá el código."),
|
|
64943
64946
|
hA(4, "Debe contener 4 números máximo"),
|
|
64944
64947
|
Gp()
|
|
@@ -65323,9 +65326,9 @@ let ln = class t extends qe {
|
|
|
65323
65326
|
}
|
|
65324
65327
|
_setTimer(e) {
|
|
65325
65328
|
Zm(e).then(() => ce(this, null, function* () {
|
|
65326
|
-
const r = (yield
|
|
65329
|
+
const r = (yield Ci(this._c2pState.statePaymentRequest.id)).response;
|
|
65327
65330
|
let s = null;
|
|
65328
|
-
r.status ===
|
|
65331
|
+
r.status === bi.SUCCESS_PROCESSED && (s = Df(il.ECOMMERCE)), r.status === bi.FAILURE_PROCESSED && (s = $b(il.ECOMMERCE)), r.status === bi.BLOCKED && (s = e2(r.payment_type)), s || (s = Zb), this._stateStatus.title = s.title, this._stateStatus.subtitle = s.subtitle, this._stateStatus.icon = s.icon, this._stateStatus.status = s.status, this._stateStatus.name = s.name, this._stateStatus.returnButton = s.returnButton, this._stateStatus.nameReturnButton = s.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, this.createEvent("button-pushed", pt.STATUS);
|
|
65329
65332
|
}));
|
|
65330
65333
|
}
|
|
65331
65334
|
_triggerCheckoutTask() {
|
|
@@ -65527,8 +65530,8 @@ let ln = class t extends qe {
|
|
|
65527
65530
|
extendedWs() {
|
|
65528
65531
|
return ce(this, null, function* () {
|
|
65529
65532
|
try {
|
|
65530
|
-
const e = yield
|
|
65531
|
-
if (this._c2pState.statePaymentRequest = e.response, e.response.status ===
|
|
65533
|
+
const e = yield Ci(this._c2pState.statePaymentRequest.id);
|
|
65534
|
+
if (this._c2pState.statePaymentRequest = e.response, e.response.status === bi.SUCCESS_PROCESSED) {
|
|
65532
65535
|
const n = Df(e.response.payment_type);
|
|
65533
65536
|
nt(n.status, ""), n && (this._stateStatus.title = n.title, this._stateStatus.subtitle = n.subtitle, this._stateStatus.icon = n.icon, this._stateStatus.status = n.status, this._stateStatus.name = n.name, this._stateStatus.returnButton = n.returnButton, this._stateStatus.nameReturnButton = n.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, ae.info("click2pay-modal::status::extendedWs -> CLICK_TO_PAY_PAGES.STATUS"), this.createEvent("button-pushed", pt.STATUS));
|
|
65534
65537
|
return;
|
|
@@ -66067,13 +66070,13 @@ var yY = Object.defineProperty, vY = Object.getOwnPropertyDescriptor, Eo = (t, e
|
|
|
66067
66070
|
return r && s && yY(e, n, s), s;
|
|
66068
66071
|
};
|
|
66069
66072
|
const lv = "c2p-holder-form";
|
|
66070
|
-
let
|
|
66073
|
+
let Xs = class t extends fo {
|
|
66071
66074
|
constructor() {
|
|
66072
66075
|
const e = [
|
|
66073
66076
|
{
|
|
66074
66077
|
inputName: "fullName",
|
|
66075
66078
|
rules: [
|
|
66076
|
-
|
|
66079
|
+
vi("Tenés que completar el nombre y apellido."),
|
|
66077
66080
|
pA(2, "El nombre debe tener al menos 2 caracteres."),
|
|
66078
66081
|
hA(30, "El nombre no puede tener más de 30 caracteres."),
|
|
66079
66082
|
OW("El nombre solo puede contener letras y espacios."),
|
|
@@ -66082,13 +66085,13 @@ let Js = class t extends fo {
|
|
|
66082
66085
|
},
|
|
66083
66086
|
{
|
|
66084
66087
|
inputName: "email",
|
|
66085
|
-
rules: [
|
|
66088
|
+
rules: [vi("Tenés que completar el mail."), LW()]
|
|
66086
66089
|
},
|
|
66087
66090
|
{
|
|
66088
66091
|
inputName: "docNumber",
|
|
66089
66092
|
rules: [
|
|
66090
66093
|
Gp(),
|
|
66091
|
-
|
|
66094
|
+
vi("Tenés que completar el número."),
|
|
66092
66095
|
pA(6, "Revisá el número, está incompleto.", !0),
|
|
66093
66096
|
hA(9, "Revisá el número, está incompleto.", !0)
|
|
66094
66097
|
]
|
|
@@ -66197,12 +66200,12 @@ let Js = class t extends fo {
|
|
|
66197
66200
|
this._isDni = n.value === "DNI";
|
|
66198
66201
|
const r = this.rules.find((s) => s.inputName === "docNumber");
|
|
66199
66202
|
r && (r.rules = this._isDni ? [
|
|
66200
|
-
|
|
66203
|
+
vi("Tenés que completar el número."),
|
|
66201
66204
|
QW(),
|
|
66202
66205
|
pA(6, "Revisá el número, está incompleto.", !0),
|
|
66203
66206
|
hA(9, "Revisá el número, está incompleto.", !0)
|
|
66204
66207
|
] : [
|
|
66205
|
-
|
|
66208
|
+
vi("El pasaporte es obligatorio"),
|
|
66206
66209
|
pA(6, "Revisá el número, está incompleto."),
|
|
66207
66210
|
hA(20, "Revisá el número, está incompleto.")
|
|
66208
66211
|
]);
|
|
@@ -66295,42 +66298,42 @@ let Js = class t extends fo {
|
|
|
66295
66298
|
`;
|
|
66296
66299
|
}
|
|
66297
66300
|
};
|
|
66298
|
-
|
|
66301
|
+
Xs.styles = Xe`
|
|
66299
66302
|
${Je(m0)}
|
|
66300
66303
|
`;
|
|
66301
66304
|
Eo([
|
|
66302
66305
|
T({ type: Boolean })
|
|
66303
|
-
],
|
|
66306
|
+
], Xs.prototype, "isLoading", 2);
|
|
66304
66307
|
Eo([
|
|
66305
66308
|
le()
|
|
66306
|
-
],
|
|
66309
|
+
], Xs.prototype, "_cards", 2);
|
|
66307
66310
|
Eo([
|
|
66308
66311
|
le()
|
|
66309
|
-
],
|
|
66312
|
+
], Xs.prototype, "_otpValidationChannel", 2);
|
|
66310
66313
|
Eo([
|
|
66311
66314
|
le()
|
|
66312
|
-
],
|
|
66315
|
+
], Xs.prototype, "_userRecognized", 2);
|
|
66313
66316
|
Eo([
|
|
66314
66317
|
le()
|
|
66315
|
-
],
|
|
66318
|
+
], Xs.prototype, "_isDni", 2);
|
|
66316
66319
|
Eo([
|
|
66317
66320
|
le()
|
|
66318
|
-
],
|
|
66321
|
+
], Xs.prototype, "formData", 2);
|
|
66319
66322
|
Eo([
|
|
66320
66323
|
Ue({ context: ds, subscribe: !0 }),
|
|
66321
66324
|
le()
|
|
66322
|
-
],
|
|
66325
|
+
], Xs.prototype, "_stateC2P", 2);
|
|
66323
66326
|
Eo([
|
|
66324
66327
|
Ue({ context: QE, subscribe: !0 }),
|
|
66325
66328
|
le()
|
|
66326
|
-
],
|
|
66329
|
+
], Xs.prototype, "_stateHolderC2p", 2);
|
|
66327
66330
|
Eo([
|
|
66328
66331
|
Ue({ context: Co }),
|
|
66329
66332
|
le()
|
|
66330
|
-
],
|
|
66331
|
-
|
|
66333
|
+
], Xs.prototype, "_stateC2PProps", 2);
|
|
66334
|
+
Xs = Eo([
|
|
66332
66335
|
He("c2p-holder-form")
|
|
66333
|
-
],
|
|
66336
|
+
], Xs);
|
|
66334
66337
|
var bY = Object.defineProperty, wY = Object.getOwnPropertyDescriptor, ac = (t, e, n, r) => {
|
|
66335
66338
|
for (var s = r > 1 ? void 0 : r ? wY(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
66336
66339
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
@@ -67060,7 +67063,7 @@ aa = lc([
|
|
|
67060
67063
|
], aa);
|
|
67061
67064
|
const kY = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .card_list{display:flex;flex-direction:column;background-color:#fff;position:relative;border-radius:12px}:host .card_list .card_list_input_extension{display:flex;flex-direction:column;text-align:right;padding:20px;width:-webkit-fill-available}:host .card_list .card_list_input_extension .credit-info{display:flex;align-items:center;text-align:left}:host .card_list .card_list_input_extension .credit-info click2pay-card-input{flex:1}:host .card_list .card_list_input_extension .credit-info .credit-number{flex:1}:host .card_list .card_list_input_extension .credit-info tooltip-image,:host .card_list .card_list_input_extension .credit-info img{margin-top:20px;margin-left:20px;align-self:flex-start}@media only screen and (max-width: 375px){:host .card_list .card_list_input_extension .credit-info tooltip-image,:host .card_list .card_list_input_extension .credit-info img{margin-left:10px}}:host .card_list .card_list_input_extension .panel-id-selection{display:flex;gap:15px}:host .card_list .card_list_input_extension .panel-id-selection>*{flex:1;max-width:100%;text-align:left}:host .card_list .button-container{display:flex;justify-content:space-between;text-align:right}@media only screen and (max-width: 800px){:host .card_list .button-container{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}@media only screen and (max-width: 800px){:host .card_list{margin-left:8px;margin-right:8px;margin-bottom:30px}}:host .panel-container{padding:16px 24px;background:#ffffff;border-radius:16px}@media only screen and (max-width: 800px){:host .panel-container{border-radius:16px;padding:24px;margin-bottom:40px}}:host .cvv{width:100%}
|
|
67062
67065
|
`;
|
|
67063
|
-
var SY = Object.defineProperty, IY = Object.getOwnPropertyDescriptor,
|
|
67066
|
+
var SY = Object.defineProperty, IY = Object.getOwnPropertyDescriptor, $s = (t, e, n, r) => {
|
|
67064
67067
|
for (var s = r > 1 ? void 0 : r ? IY(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
67065
67068
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
67066
67069
|
return r && s && SY(e, n, s), s;
|
|
@@ -67078,16 +67081,16 @@ let as = class t extends fo {
|
|
|
67078
67081
|
}, n = [
|
|
67079
67082
|
{
|
|
67080
67083
|
inputName: "creditNumber",
|
|
67081
|
-
rules: [Gp(),
|
|
67084
|
+
rules: [Gp(), vi("Tenés que completar el número de la tarjeta."), e]
|
|
67082
67085
|
},
|
|
67083
67086
|
{
|
|
67084
67087
|
inputName: "dateExpired",
|
|
67085
|
-
rules: [
|
|
67088
|
+
rules: [vi("Tenés que completar el vencimiento."), zE(), HE(), qE()]
|
|
67086
67089
|
},
|
|
67087
67090
|
{
|
|
67088
67091
|
inputName: "cvc",
|
|
67089
67092
|
rules: [
|
|
67090
|
-
|
|
67093
|
+
vi("Tenés que completar el código."),
|
|
67091
67094
|
pA(3, "Revisá el código."),
|
|
67092
67095
|
hA(4, "Debe contener 4 números máximo"),
|
|
67093
67096
|
Gp()
|
|
@@ -67329,42 +67332,42 @@ let as = class t extends fo {
|
|
|
67329
67332
|
as.styles = Xe`
|
|
67330
67333
|
${Je(kY)}
|
|
67331
67334
|
`;
|
|
67332
|
-
|
|
67335
|
+
$s([
|
|
67333
67336
|
le()
|
|
67334
67337
|
], as.prototype, "_digitalCardData", 2);
|
|
67335
|
-
|
|
67338
|
+
$s([
|
|
67336
67339
|
le()
|
|
67337
67340
|
], as.prototype, "_icon", 2);
|
|
67338
|
-
|
|
67341
|
+
$s([
|
|
67339
67342
|
le()
|
|
67340
67343
|
], as.prototype, "_srcDigitalCardId", 2);
|
|
67341
|
-
|
|
67344
|
+
$s([
|
|
67342
67345
|
le()
|
|
67343
67346
|
], as.prototype, "_showCardForm", 2);
|
|
67344
|
-
|
|
67347
|
+
$s([
|
|
67345
67348
|
le()
|
|
67346
67349
|
], as.prototype, "_shouldAddCard", 2);
|
|
67347
|
-
|
|
67350
|
+
$s([
|
|
67348
67351
|
le()
|
|
67349
67352
|
], as.prototype, "_cardBrand", 2);
|
|
67350
|
-
|
|
67353
|
+
$s([
|
|
67351
67354
|
le()
|
|
67352
67355
|
], as.prototype, "_cardType", 2);
|
|
67353
|
-
|
|
67356
|
+
$s([
|
|
67354
67357
|
le()
|
|
67355
67358
|
], as.prototype, "_creditInput", 2);
|
|
67356
|
-
|
|
67359
|
+
$s([
|
|
67357
67360
|
Ue({ context: ds, subscribe: !0 }),
|
|
67358
67361
|
le()
|
|
67359
67362
|
], as.prototype, "_stateC2P", 2);
|
|
67360
|
-
|
|
67363
|
+
$s([
|
|
67361
67364
|
Ue({ context: Co, subscribe: !0 }),
|
|
67362
67365
|
le()
|
|
67363
67366
|
], as.prototype, "_c2Props", 2);
|
|
67364
|
-
|
|
67367
|
+
$s([
|
|
67365
67368
|
le()
|
|
67366
67369
|
], as.prototype, "formData", 2);
|
|
67367
|
-
as =
|
|
67370
|
+
as = $s([
|
|
67368
67371
|
He("click2pay-card-list")
|
|
67369
67372
|
], as);
|
|
67370
67373
|
const oX = {
|
|
@@ -67919,7 +67922,7 @@ let Fi = class extends qe {
|
|
|
67919
67922
|
this.isShowToast = !1;
|
|
67920
67923
|
}, 3e3);
|
|
67921
67924
|
}), (e = this.shadowRoot) == null || e.addEventListener("button-pushed", (n) => {
|
|
67922
|
-
|
|
67925
|
+
this.isShowCardPayment = !0, this.state.page = n.detail ? n.detail : dt.MAIN, (n.detail === dt.QR || n.detail === dt.STATUS || n.detail === dt.LOADING || n.detail === dt.PCP_LIST || n.detail === dt.PANEL_ASSOCIATION || n.detail === dt.ASSOCIATION_PROCESS) && (this.isShowCardPayment = !1), n.detail === dt.MAIN && (this.state.isActiveWs || (this.webSocket(), Bt.extendHeartbeat(this.state.statePaymentRequest.id)), !this.state.isActiveInstallment && !this.state.isCardPresent && this.getinstallment()), this.requestUpdate(), this.routerState(), this.state.statePaymentRequest && ae.info("connectedCallback", {
|
|
67923
67926
|
context: xe.ACCOUNT_TO_ACCOUNT,
|
|
67924
67927
|
tag: "APP_HOME_PAGES",
|
|
67925
67928
|
is_embedded: this.payfacContext.isEmbedded,
|
|
@@ -68019,7 +68022,7 @@ let Fi = class extends qe {
|
|
|
68019
68022
|
return ce(this, null, function* () {
|
|
68020
68023
|
var t, e;
|
|
68021
68024
|
try {
|
|
68022
|
-
const n = yield
|
|
68025
|
+
const n = yield Ci(this.state.statePaymentRequest.id);
|
|
68023
68026
|
this.state.statePaymentRequest = n.response, this.statusMessage = n.response.status, ae.info("getPaymentRequestRedirectStatus", {
|
|
68024
68027
|
context: xe.ACCOUNT_TO_ACCOUNT,
|
|
68025
68028
|
origin_sdk: Ad,
|
|
@@ -69374,7 +69377,7 @@ let mo = class t extends qe {
|
|
|
69374
69377
|
extendedWs() {
|
|
69375
69378
|
return ce(this, null, function* () {
|
|
69376
69379
|
try {
|
|
69377
|
-
const e = yield
|
|
69380
|
+
const e = yield Ci(this.state.statePaymentRequest.id);
|
|
69378
69381
|
if (this.state.statePaymentRequest = e.response, e.response.status === Vn.SUCCESS_PROCESSED) {
|
|
69379
69382
|
let n = vn.messages.find((r) => r.status === e.response.status);
|
|
69380
69383
|
n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.status.title = n.title, this.status.subtitle = n.subtitle, this.status.icon = n.icon, this.status.status = n.status, this.status.name = n.name, this.status.returnButton = n.returnButton, this.status.nameReturnButton = n.nameReturnButton, this.state.isActiveWs = !1, this.state.isExtendedWs = !1, this.createEvent("button-pushed", dt.STATUS));
|
|
@@ -70771,7 +70774,7 @@ Dm = XE([
|
|
|
70771
70774
|
export {
|
|
70772
70775
|
xl as $,
|
|
70773
70776
|
Md as A,
|
|
70774
|
-
|
|
70777
|
+
Ys as B,
|
|
70775
70778
|
Rd as C,
|
|
70776
70779
|
Ei as D,
|
|
70777
70780
|
ea as E,
|
|
@@ -70799,7 +70802,7 @@ export {
|
|
|
70799
70802
|
$t as _,
|
|
70800
70803
|
Bi as a,
|
|
70801
70804
|
Um as a0,
|
|
70802
|
-
|
|
70805
|
+
Xs as a1,
|
|
70803
70806
|
oa as a2,
|
|
70804
70807
|
On as a3,
|
|
70805
70808
|
aa as a4,
|
|
@@ -70825,7 +70828,7 @@ export {
|
|
|
70825
70828
|
Gd as ao,
|
|
70826
70829
|
Dm as ap,
|
|
70827
70830
|
fl as b,
|
|
70828
|
-
|
|
70831
|
+
_i as c,
|
|
70829
70832
|
ml as d,
|
|
70830
70833
|
pm as e,
|
|
70831
70834
|
Ao as f,
|