@cling-se/widget 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-751ed5aa.js → AddClientCallout-96e94ad9.js} +5 -5
- package/dist/{AnswerModal-581cee38.js → AnswerModal-6990ea17.js} +112 -112
- package/dist/{AttachmentItem-811ac040.js → AttachmentItem-0d327381.js} +3 -3
- package/dist/{BaseDatePicker-95f61f10.js → BaseDatePicker-e2e1ea6e.js} +2 -2
- package/dist/{BaseInput-2316a974.js → BaseInput-d9c734b0.js} +1 -1
- package/dist/{BaseUpload-bf946607.js → BaseUpload-9efbce6d.js} +2 -2
- package/dist/{BlockMedia-a2018340.js → BlockMedia-70d92534.js} +1 -1
- package/dist/{CCallout-25a66bee.js → CCallout-419f1eac.js} +2 -2
- package/dist/{CDropdownItem-46ef817a.js → CDropdownItem-60893039.js} +1 -1
- package/dist/{CField-d83a443d.js → CField-2e027461.js} +1 -1
- package/dist/{CPhoneFormat-195e1576.js → CPhoneFormat-b0670312.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
- package/dist/{ClientAutocomplete-5f619f92.js → ClientAutocomplete-44998c42.js} +2 -2
- package/dist/{ClientModal-72bc0977.js → ClientModal-d4ebef77.js} +5 -5
- package/dist/{ColorPicker-b815929f.js → ColorPicker-cd9e1cc0.js} +1 -1
- package/dist/{CompanyModal-0ea79ac1.js → CompanyModal-36820c26.js} +3 -3
- package/dist/{ContentWrapper-c7e2a8f2.js → ContentWrapper-520e4761.js} +13 -13
- package/dist/{CoverBlockSettings-b42b5f8a.js → CoverBlockSettings-0251d18f.js} +7 -7
- package/dist/{DocAnswer-0a2cd242.js → DocAnswer-dad0bf7f.js} +4 -4
- package/dist/{DocDetails-a06afb2b.js → DocDetails-31009b60.js} +4 -4
- package/dist/{DocForm-ab0c0845.js → DocForm-3e6d9d83.js} +28 -28
- package/dist/{DocFormSend-315100bf.js → DocFormSend-3b8e9604.js} +17 -17
- package/dist/{DocLinks-0667287d.js → DocLinks-1467ba01.js} +2 -2
- package/dist/{DocModalBase-b7819a9e.js → DocModalBase-c596787a.js} +1 -1
- package/dist/{DocPrint-d79f92b7.js → DocPrint-3970f8e8.js} +1 -1
- package/dist/{DocReceipt-34fb36ed.js → DocReceipt-dd5c7d5b.js} +1 -1
- package/dist/{DocSendReminder-eb36b1ae.js → DocSendReminder-a3909a71.js} +1 -1
- package/dist/{DocTextEditor-7b551ddf.js → DocTextEditor-f0223af8.js} +8 -8
- package/dist/{DocTimeline-3422972c.js → DocTimeline-9b29e5f6.js} +1 -1
- package/dist/{DocumentClient-a13c009e.js → DocumentClient-f77bc578.js} +46 -32
- package/dist/{DocumentLayout-4ef4eb0c.js → DocumentLayout-9cc2a08e.js} +4 -4
- package/dist/{DocumentLogotype-d0a0f8dc.js → DocumentLogotype-20216f74.js} +3 -3
- package/dist/{DocumentVoided-e99fe2b3.js → DocumentVoided-1198114e.js} +1 -1
- package/dist/{EmbedInput-84cbb26b.js → EmbedInput-df3aa286.js} +2 -2
- package/dist/{EmbedSettings-03092756.js → EmbedSettings-b71e059b.js} +3 -3
- package/dist/{ErrorCallout-5207a92e.js → ErrorCallout-a39eba4d.js} +1 -1
- package/dist/{FilePreviewModal-f811bc63.js → FilePreviewModal-b5edeee0.js} +5 -5
- package/dist/{Flag-4e6e51fe.js → Flag-c7a354cd.js} +1 -1
- package/dist/{HeaderSettings-35726563.js → HeaderSettings-db6e32c8.js} +15 -15
- package/dist/{ImageSelectModal-6143f099.js → ImageSelectModal-856e363b.js} +8 -8
- package/dist/{ImageUploadWrapper-299c58fe.js → ImageUploadWrapper-24dadc15.js} +2 -2
- package/dist/{Index-e99b0408.js → Index-007a1233.js} +5 -5
- package/dist/{Index-f21adb8b.js → Index-0099e82e.js} +1 -1
- package/dist/{Index-cdeffca2.js → Index-014d0ac2.js} +21 -15
- package/dist/{Index-47059b84.js → Index-12ea21c5.js} +1 -1
- package/dist/{Index-91b55567.js → Index-139b1013.js} +2 -2
- package/dist/{Index-72e44ff5.js → Index-1bf76a16.js} +4 -4
- package/dist/{Index-189c8b44.js → Index-3378fcf6.js} +4 -4
- package/dist/{Index-c1f31c24.js → Index-34978d11.js} +2 -2
- package/dist/{Index-f97205f6.js → Index-3889e134.js} +4 -4
- package/dist/{Index-63683f50.js → Index-40083942.js} +14 -14
- package/dist/{Index-539d4217.js → Index-4e675d8a.js} +4 -4
- package/dist/{Index-98ab8892.js → Index-4f25825f.js} +10 -10
- package/dist/{Index-7353209e.js → Index-4f9afe72.js} +6 -6
- package/dist/{Index-9c98f176.js → Index-5355b449.js} +7 -7
- package/dist/{Index-0623b53d.js → Index-54a78fad.js} +4 -4
- package/dist/{Index-538e57e9.js → Index-607f6640.js} +6 -6
- package/dist/{Index-09486dc6.js → Index-6d22d9d1.js} +2 -2
- package/dist/{Index-3f027683.js → Index-73cee68c.js} +2 -2
- package/dist/{Index-775c3d2f.js → Index-75368b48.js} +2 -2
- package/dist/{Index-fb3d4460.js → Index-7b2e5ac5.js} +13 -13
- package/dist/{Index-2e1f9e1b.js → Index-8ac2ed05.js} +4 -4
- package/dist/{Index-728ec7d7.js → Index-9891ee1a.js} +6 -6
- package/dist/{Index-ba6b2169.js → Index-99ac0ac2.js} +4 -4
- package/dist/{Index-805d2fc2.js → Index-a5a82682.js} +9 -9
- package/dist/{Index-f7a41581.js → Index-b5480383.js} +8 -8
- package/dist/{Index-1fe7f785.js → Index-bc5f3ca9.js} +2 -2
- package/dist/{Index-16a1a69c.js → Index-c551781f.js} +6 -6
- package/dist/{Index-3e5de61c.js → Index-cada810e.js} +7 -7
- package/dist/{Index-55922e6a.js → Index-d689466d.js} +2 -2
- package/dist/{Index-c7c41ec0.js → Index-dcbfb822.js} +2 -2
- package/dist/{Index-caa773f2.js → Index-dd5f8fc7.js} +9 -9
- package/dist/{Index-b8e2e1b8.js → Index-ef955a66.js} +3 -3
- package/dist/{Index-bbfc58aa.js → Index-f05fe2a1.js} +4 -4
- package/dist/{Index-cfa5b251.js → Index-f06fcb76.js} +45 -35
- package/dist/{InputToggleRow-9eae9950.js → InputToggleRow-a9229972.js} +1 -1
- package/dist/{IsPremiumPreStep-b4094114.js → IsPremiumPreStep-4e9e2883.js} +2 -2
- package/dist/{ManualPopover-279c34d7.js → ManualPopover-720770bb.js} +1 -1
- package/dist/{MediaWrapper-28900be4.js → MediaWrapper-90c72ae5.js} +3 -3
- package/dist/{NotBindingText-03ed1896.js → NotBindingText-832d5350.js} +2 -2
- package/dist/{PackageGroup-a09157ce.js → PackageGroup-22cbb76c.js} +83 -69
- package/dist/{PdfTerms-40cf2e44.js → PdfTerms-ce2d5d5e.js} +5 -5
- package/dist/{PdfViewer-022d9820.js → PdfViewer-ebff4b6c.js} +2 -2
- package/dist/{PlainHtml-816cdcfd.js → PlainHtml-faae67a3.js} +1 -1
- package/dist/{PriceHeader-c5d1c5a5.js → PriceHeader-67ac2108.js} +13 -13
- package/dist/{SearchApi-2cf7a417.js → SearchApi-d90fd0d2.js} +2 -2
- package/dist/{Setup-f675b31a.js → Setup-88387515.js} +1 -1
- package/dist/{TermsSettings-4865f58c.js → TermsSettings-82f18edc.js} +7 -7
- package/dist/{ThemeColorRow-88778196.js → ThemeColorRow-ca0c7f34.js} +3 -3
- package/dist/{ToggleBinding-664e9183.js → ToggleBinding-87b13b54.js} +3 -3
- package/dist/{UploadModal-9de4a0c5.js → UploadModal-9c6b64dc.js} +3 -3
- package/dist/{VideoPlayerInput-a6db7b6f.js → VideoPlayerInput-87ae1e67.js} +3 -3
- package/dist/{VideoPlayerSettings-bb6e5389.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
- package/dist/{VideoSelectModal-5476aa27.js → VideoSelectModal-b9c128a2.js} +8 -8
- package/dist/{answerDocumentMixin-564758ae.js → answerDocumentMixin-1a04710f.js} +3 -3
- package/dist/{debounce-fb89e666.js → debounce-5f4cc346.js} +1 -1
- package/dist/{focusDrawerMixin-9822a344.js → focusDrawerMixin-fcfab690.js} +1 -1
- package/dist/{formComponentsInstall-cd69ac70.js → formComponentsInstall-f2198c99.js} +12 -12
- package/dist/{formDrawerState-889851ba.js → formDrawerState-6ff961ac.js} +1 -1
- package/dist/{formValidationMixin-de96de9e.js → formValidationMixin-5882b9a7.js} +1 -1
- package/dist/{index-39b8ba31.js → index-069b282b.js} +3 -3
- package/dist/{index-6c4051cc.js → index-09727136.js} +1 -1
- package/dist/{index-e9650c8b.js → index-383fefaf.js} +1 -1
- package/dist/{index-28cc6cae.js → index-525e4866.js} +5 -5
- package/dist/{index-67306b4a.js → index-7fa7534f.js} +9 -9
- package/dist/{index-286fbf2e.js → index-9d8996e9.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +18 -18
- package/dist/{main-1ef64f74.js → main-0ba93efc.js} +41 -25
- package/dist/{mapFormMixin-37d8b2ce.js → mapFormMixin-46fe94a8.js} +1 -1
- package/dist/{publicSenderState-ed17e82f.js → publicSenderState-644bb177.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-4a44697d.js → throttle-61f5ee70.js} +2 -2
- package/dist/{tinycolor-6fefbbd2.js → tinycolor-4773d945.js} +1 -1
- package/dist/{tippy.esm-cddf5c5a.js → tippy.esm-b5320973.js} +5 -5
- package/dist/{utils-ebaac977.js → utils-8d533496.js} +1 -1
- package/dist/{vuedraggable.umd-fcf03933.js → vuedraggable.umd-37bf712b.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as o } from "./ClientAutocomplete-
|
|
2
|
-
import { m as r } from "./mapFormMixin-
|
|
3
|
-
import { n as s } from "./main-
|
|
4
|
-
import "./SearchApi-
|
|
5
|
-
import "./debounce-
|
|
1
|
+
import { C as o } from "./ClientAutocomplete-44998c42.js";
|
|
2
|
+
import { m as r } from "./mapFormMixin-46fe94a8.js";
|
|
3
|
+
import { n as s } from "./main-0ba93efc.js";
|
|
4
|
+
import "./SearchApi-d90fd0d2.js";
|
|
5
|
+
import "./debounce-5f4cc346.js";
|
|
6
6
|
import "./vuex.esm-4a0fff7c.js";
|
|
7
7
|
const i = {
|
|
8
8
|
i18nOptions: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as nt } from "./anime.es-e284c852.js";
|
|
2
|
-
import { aq as Tt, h as Et, n as ot, ar as Ft, as as kt, at as It, au as Mt, g as wt, e as Bt, J as
|
|
2
|
+
import { aq as Tt, h as Et, n as ot, ar as Ft, as as kt, at as It, au as Mt, g as wt, e as Bt, J as At } from "./main-0ba93efc.js";
|
|
3
3
|
import { a as Rt } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import { m as ft } from "./mapFormMixin-
|
|
5
|
-
import { C as $t } from "./CField-
|
|
4
|
+
import { m as ft } from "./mapFormMixin-46fe94a8.js";
|
|
5
|
+
import { C as $t } from "./CField-2e027461.js";
|
|
6
6
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
7
7
|
const Dt = () => {
|
|
8
8
|
const m = window.location.host.split(".");
|
|
@@ -197,7 +197,7 @@ class Ct {
|
|
|
197
197
|
return new Ct(r[1], g, l, r[2], n.start, n.end);
|
|
198
198
|
}
|
|
199
199
|
static calculateControlPoints(r, n, g) {
|
|
200
|
-
const l = r.x - n.x, f = r.y - n.y, d = n.x - g.x, c = n.y - g.y, i = { x: (r.x + n.x) / 2, y: (r.y + n.y) / 2 }, s = { x: (n.x + g.x) / 2, y: (n.y + g.y) / 2 }, h = Math.sqrt(l * l + f * f), a = Math.sqrt(d * d + c * c), w = i.x - s.x, x = i.y - s.y, b = a / (h + a),
|
|
200
|
+
const l = r.x - n.x, f = r.y - n.y, d = n.x - g.x, c = n.y - g.y, i = { x: (r.x + n.x) / 2, y: (r.y + n.y) / 2 }, s = { x: (n.x + g.x) / 2, y: (n.y + g.y) / 2 }, h = Math.sqrt(l * l + f * f), a = Math.sqrt(d * d + c * c), w = i.x - s.x, x = i.y - s.y, b = a / (h + a), S = { x: s.x + w * b, y: s.y + x * b }, F = n.x - S.x, M = n.y - S.y;
|
|
201
201
|
return {
|
|
202
202
|
c1: new pt(i.x + F, i.y + M),
|
|
203
203
|
c2: new pt(s.x + F, s.y + M)
|
|
@@ -400,8 +400,8 @@ let Gt = class _t extends Ht {
|
|
|
400
400
|
x += 3 * a * c * r.control1.x, x += 3 * h * i * r.control2.x, x += s * r.endPoint.x;
|
|
401
401
|
let b = w * r.startPoint.y;
|
|
402
402
|
b += 3 * a * c * r.control1.y, b += 3 * h * i * r.control2.y, b += s * r.endPoint.y;
|
|
403
|
-
const
|
|
404
|
-
this._drawCurveSegment(x, b,
|
|
403
|
+
const S = Math.min(r.startWidth + s * l, n.maxWidth);
|
|
404
|
+
this._drawCurveSegment(x, b, S);
|
|
405
405
|
}
|
|
406
406
|
g.closePath(), g.fill();
|
|
407
407
|
}
|
|
@@ -426,13 +426,13 @@ let Gt = class _t extends Ht {
|
|
|
426
426
|
_toSVG() {
|
|
427
427
|
const r = this._data, n = Math.max(window.devicePixelRatio || 1, 1), g = 0, l = 0, f = this.canvas.width / n, d = this.canvas.height / n, c = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
428
428
|
c.setAttribute("width", this.canvas.width.toString()), c.setAttribute("height", this.canvas.height.toString()), this._fromData(r, (x, { penColor: b }) => {
|
|
429
|
-
const
|
|
429
|
+
const S = document.createElement("path");
|
|
430
430
|
if (!isNaN(x.control1.x) && !isNaN(x.control1.y) && !isNaN(x.control2.x) && !isNaN(x.control2.y)) {
|
|
431
431
|
const F = `M ${x.startPoint.x.toFixed(3)},${x.startPoint.y.toFixed(3)} C ${x.control1.x.toFixed(3)},${x.control1.y.toFixed(3)} ${x.control2.x.toFixed(3)},${x.control2.y.toFixed(3)} ${x.endPoint.x.toFixed(3)},${x.endPoint.y.toFixed(3)}`;
|
|
432
|
-
|
|
432
|
+
S.setAttribute("d", F), S.setAttribute("stroke-width", (x.endWidth * 2.25).toFixed(3)), S.setAttribute("stroke", b), S.setAttribute("fill", "none"), S.setAttribute("stroke-linecap", "round"), c.appendChild(S);
|
|
433
433
|
}
|
|
434
|
-
}, (x, { penColor: b, dotSize:
|
|
435
|
-
const C = document.createElement("circle"), T =
|
|
434
|
+
}, (x, { penColor: b, dotSize: S, minWidth: F, maxWidth: M }) => {
|
|
435
|
+
const C = document.createElement("circle"), T = S > 0 ? S : (F + M) / 2;
|
|
436
436
|
C.setAttribute("r", T.toString()), C.setAttribute("cx", x.x.toString()), C.setAttribute("cy", x.y.toString()), C.setAttribute("fill", b), c.appendChild(C);
|
|
437
437
|
});
|
|
438
438
|
const i = "data:image/svg+xml;base64,", s = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="${g} ${l} ${f} ${d}" width="${f}" height="${d}">`;
|
|
@@ -440,8 +440,8 @@ let Gt = class _t extends Ht {
|
|
|
440
440
|
if (h === void 0) {
|
|
441
441
|
const x = document.createElement("dummy"), b = c.childNodes;
|
|
442
442
|
x.innerHTML = "";
|
|
443
|
-
for (let
|
|
444
|
-
x.appendChild(b[
|
|
443
|
+
for (let S = 0; S < b.length; S += 1)
|
|
444
|
+
x.appendChild(b[S].cloneNode(!0));
|
|
445
445
|
h = x.innerHTML;
|
|
446
446
|
}
|
|
447
447
|
const a = "</svg>", w = s + h + a;
|
|
@@ -800,8 +800,8 @@ var xt = oe(function(m, r) {
|
|
|
800
800
|
}
|
|
801
801
|
var x = l[s] = { exports: {} };
|
|
802
802
|
g[s][0].call(x.exports, function(b) {
|
|
803
|
-
var
|
|
804
|
-
return d(
|
|
803
|
+
var S = g[s][1][b];
|
|
804
|
+
return d(S || b);
|
|
805
805
|
}, x, x.exports, n, g, l, f);
|
|
806
806
|
}
|
|
807
807
|
return l[s].exports;
|
|
@@ -1421,11 +1421,11 @@ Make sure your charset is UTF-8`
|
|
|
1421
1421
|
}, l.from = function(i) {
|
|
1422
1422
|
return l.isValid(i) ? parseInt(i, 10) : void 0;
|
|
1423
1423
|
}, l.getPenaltyN1 = function(i) {
|
|
1424
|
-
for (var s = i.size, h = 0, a = 0, w = 0, x = null, b = null,
|
|
1424
|
+
for (var s = i.size, h = 0, a = 0, w = 0, x = null, b = null, S = 0; S < s; S++) {
|
|
1425
1425
|
a = w = 0, x = b = null;
|
|
1426
1426
|
for (var F = 0; F < s; F++) {
|
|
1427
|
-
var M = i.get(
|
|
1428
|
-
M === x ? a++ : (a >= 5 && (h += f.N1 + (a - 5)), x = M, a = 1), M = i.get(F,
|
|
1427
|
+
var M = i.get(S, F);
|
|
1428
|
+
M === x ? a++ : (a >= 5 && (h += f.N1 + (a - 5)), x = M, a = 1), M = i.get(F, S), M === b ? w++ : (w >= 5 && (h += f.N1 + (w - 5)), b = M, w = 1);
|
|
1429
1429
|
}
|
|
1430
1430
|
a >= 5 && (h += f.N1 + (a - 5)), w >= 5 && (h += f.N1 + (w - 5));
|
|
1431
1431
|
}
|
|
@@ -1585,7 +1585,7 @@ Make sure your charset is UTF-8`
|
|
|
1585
1585
|
return s;
|
|
1586
1586
|
};
|
|
1587
1587
|
}, { "../utils/buffer": 28, "./galois-field": 11 }], 17: [function(n, g, l) {
|
|
1588
|
-
var f = n("../utils/buffer"), d = n("./utils"), c = n("./error-correction-level"), i = n("./bit-buffer"), s = n("./bit-matrix"), h = n("./alignment-pattern"), a = n("./finder-pattern"), w = n("./mask-pattern"), x = n("./error-correction-code"), b = n("./reed-solomon-encoder"),
|
|
1588
|
+
var f = n("../utils/buffer"), d = n("./utils"), c = n("./error-correction-level"), i = n("./bit-buffer"), s = n("./bit-matrix"), h = n("./alignment-pattern"), a = n("./finder-pattern"), w = n("./mask-pattern"), x = n("./error-correction-code"), b = n("./reed-solomon-encoder"), S = n("./version"), F = n("./format-info"), M = n("./mode"), C = n("./segments"), T = n("isarray");
|
|
1589
1589
|
function I($, D) {
|
|
1590
1590
|
for (var U = $.size, R = a.getPositions(D), O = 0; O < R.length; O++)
|
|
1591
1591
|
for (var z = R[O][0], N = R[O][1], Y = -1; Y <= 7; Y++)
|
|
@@ -1606,7 +1606,7 @@ Make sure your charset is UTF-8`
|
|
|
1606
1606
|
N === -2 || N === 2 || Y === -2 || Y === 2 || N === 0 && Y === 0 ? $.set(O + N, z + Y, !0, !0) : $.set(O + N, z + Y, !1, !0);
|
|
1607
1607
|
}
|
|
1608
1608
|
function v($, D) {
|
|
1609
|
-
for (var U = $.size, R =
|
|
1609
|
+
for (var U = $.size, R = S.getEncodedBits(D), O, z, N, Y = 0; Y < 18; Y++)
|
|
1610
1610
|
O = Math.floor(Y / 3), z = Y % 3 + U - 8 - 3, N = (R >> Y & 1) === 1, $.set(O, z, N, !0), $.set(z, O, N, !0);
|
|
1611
1611
|
}
|
|
1612
1612
|
function p($, D, U) {
|
|
@@ -1629,7 +1629,7 @@ Make sure your charset is UTF-8`
|
|
|
1629
1629
|
}
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function A($, D, U) {
|
|
1633
1633
|
var R = new i();
|
|
1634
1634
|
U.forEach(function(et) {
|
|
1635
1635
|
R.put(et.mode.bit, 4), R.put(et.getLength(), M.getCharCountIndicator(et.mode, $)), et.write(R);
|
|
@@ -1663,7 +1663,7 @@ Make sure your charset is UTF-8`
|
|
|
1663
1663
|
var z = D;
|
|
1664
1664
|
if (!z) {
|
|
1665
1665
|
var N = C.rawSplit($);
|
|
1666
|
-
z =
|
|
1666
|
+
z = S.getBestVersionForData(
|
|
1667
1667
|
N,
|
|
1668
1668
|
U
|
|
1669
1669
|
);
|
|
@@ -1671,7 +1671,7 @@ Make sure your charset is UTF-8`
|
|
|
1671
1671
|
O = C.fromString($, z || 40);
|
|
1672
1672
|
} else
|
|
1673
1673
|
throw new Error("Invalid data");
|
|
1674
|
-
var Y =
|
|
1674
|
+
var Y = S.getBestVersionForData(
|
|
1675
1675
|
O,
|
|
1676
1676
|
U
|
|
1677
1677
|
);
|
|
@@ -1686,7 +1686,7 @@ The chosen QR Code version cannot contain this amount of data.
|
|
|
1686
1686
|
Minimum version required to store current data is: ` + Y + `.
|
|
1687
1687
|
`
|
|
1688
1688
|
);
|
|
1689
|
-
var j =
|
|
1689
|
+
var j = A(D, U, O), et = d.getSymbolSize(D), X = new s(et);
|
|
1690
1690
|
return I(X, D), k(X), _(X, D), p(X, U, 0), D >= 7 && v(X, D), E(X, j), isNaN(R) && (R = w.getBestMask(
|
|
1691
1691
|
X,
|
|
1692
1692
|
p.bind(null, X, U)
|
|
@@ -1702,7 +1702,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1702
1702
|
if (typeof D > "u" || D === "")
|
|
1703
1703
|
throw new Error("No input text");
|
|
1704
1704
|
var R = c.M, O, z;
|
|
1705
|
-
return typeof U < "u" && (R = c.from(U.errorCorrectionLevel, c.M), O =
|
|
1705
|
+
return typeof U < "u" && (R = c.from(U.errorCorrectionLevel, c.M), O = S.from(U.version), z = w.from(U.maskPattern), U.toSJISFunc && d.setToSJISFunction(U.toSJISFunc)), W(D, O, R, z);
|
|
1706
1706
|
};
|
|
1707
1707
|
}, { "../utils/buffer": 28, "./alignment-pattern": 2, "./bit-buffer": 4, "./bit-matrix": 5, "./error-correction-code": 7, "./error-correction-level": 8, "./finder-pattern": 9, "./format-info": 10, "./mask-pattern": 13, "./mode": 14, "./reed-solomon-encoder": 18, "./segments": 20, "./utils": 21, "./version": 23, isarray: 33 }], 18: [function(n, g, l) {
|
|
1708
1708
|
var f = n("../utils/buffer"), d = n("./polynomial"), c = n("buffer").Buffer;
|
|
@@ -1716,8 +1716,8 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1716
1716
|
throw new Error("Encoder not initialized");
|
|
1717
1717
|
var a = f.alloc(this.degree), w = c.concat([h, a], h.length + this.degree), x = d.mod(w, this.genPoly), b = this.degree - x.length;
|
|
1718
1718
|
if (b > 0) {
|
|
1719
|
-
var
|
|
1720
|
-
return x.copy(
|
|
1719
|
+
var S = f.alloc(this.degree);
|
|
1720
|
+
return x.copy(S, b), S;
|
|
1721
1721
|
}
|
|
1722
1722
|
return x;
|
|
1723
1723
|
}, g.exports = i;
|
|
@@ -1750,11 +1750,11 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1750
1750
|
});
|
|
1751
1751
|
return p;
|
|
1752
1752
|
}
|
|
1753
|
-
function
|
|
1753
|
+
function S(k) {
|
|
1754
1754
|
var _ = b(h.NUMERIC, f.NUMERIC, k), v = b(h.ALPHANUMERIC, f.ALPHANUMERIC, k), p, E;
|
|
1755
1755
|
a.isKanjiModeEnabled() ? (p = b(h.BYTE, f.BYTE, k), E = b(h.KANJI, f.KANJI, k)) : (p = b(h.BYTE_KANJI, f.BYTE, k), E = []);
|
|
1756
|
-
var
|
|
1757
|
-
return
|
|
1756
|
+
var A = _.concat(v, p, E);
|
|
1757
|
+
return A.sort(function(L, W) {
|
|
1758
1758
|
return L.index - W.index;
|
|
1759
1759
|
}).map(function(L) {
|
|
1760
1760
|
return {
|
|
@@ -1814,9 +1814,9 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1814
1814
|
return _;
|
|
1815
1815
|
}
|
|
1816
1816
|
function T(k, _) {
|
|
1817
|
-
for (var v = {}, p = { start: {} }, E = ["start"],
|
|
1818
|
-
for (var L = k[
|
|
1819
|
-
var D = L[$], U = "" +
|
|
1817
|
+
for (var v = {}, p = { start: {} }, E = ["start"], A = 0; A < k.length; A++) {
|
|
1818
|
+
for (var L = k[A], W = [], $ = 0; $ < L.length; $++) {
|
|
1819
|
+
var D = L[$], U = "" + A + $;
|
|
1820
1820
|
W.push(U), v[U] = { node: D, lastCount: 0 }, p[U] = {};
|
|
1821
1821
|
for (var R = 0; R < E.length; R++) {
|
|
1822
1822
|
var O = E[R];
|
|
@@ -1850,12 +1850,12 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1850
1850
|
return typeof p == "string" ? v.push(I(p, null)) : p.data && v.push(I(p.data, p.mode)), v;
|
|
1851
1851
|
}, []);
|
|
1852
1852
|
}, l.fromString = function(_, v) {
|
|
1853
|
-
for (var p =
|
|
1854
|
-
W.push(
|
|
1853
|
+
for (var p = S(_, a.isKanjiModeEnabled()), E = C(p), A = T(E, v), L = w.find_path(A.map, "start", "end"), W = [], $ = 1; $ < L.length - 1; $++)
|
|
1854
|
+
W.push(A.table[L[$]].node);
|
|
1855
1855
|
return l.fromArray(M(W));
|
|
1856
1856
|
}, l.rawSplit = function(_) {
|
|
1857
1857
|
return l.fromArray(
|
|
1858
|
-
|
|
1858
|
+
S(_, a.isKanjiModeEnabled())
|
|
1859
1859
|
);
|
|
1860
1860
|
};
|
|
1861
1861
|
}, { "./alphanumeric-data": 3, "./byte-data": 6, "./kanji-data": 12, "./mode": 14, "./numeric-data": 15, "./regex": 19, "./utils": 21, dijkstrajs: 31 }], 21: [function(n, g, l) {
|
|
@@ -1938,7 +1938,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1938
1938
|
function b(M, C) {
|
|
1939
1939
|
return i.getCharCountIndicator(M, C) + 4;
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function S(M, C) {
|
|
1942
1942
|
var T = 0;
|
|
1943
1943
|
return M.forEach(function(I) {
|
|
1944
1944
|
var k = b(I.mode, C);
|
|
@@ -1947,7 +1947,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1947
1947
|
}
|
|
1948
1948
|
function F(M, C) {
|
|
1949
1949
|
for (var T = 1; T <= 40; T++) {
|
|
1950
|
-
var I =
|
|
1950
|
+
var I = S(M, T);
|
|
1951
1951
|
if (I <= l.getCapacity(T, C, i.MIXED))
|
|
1952
1952
|
return T;
|
|
1953
1953
|
}
|
|
@@ -1994,7 +1994,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
1994
1994
|
}, { "./error-correction-code": 7, "./error-correction-level": 8, "./mode": 14, "./utils": 21, "./version-check": 22, isarray: 33 }], 24: [function(n, g, l) {
|
|
1995
1995
|
var f = n("./can-promise"), d = n("./core/qrcode"), c = n("./renderer/canvas"), i = n("./renderer/svg-tag.js");
|
|
1996
1996
|
function s(h, a, w, x, b) {
|
|
1997
|
-
var
|
|
1997
|
+
var S = [].slice.call(arguments, 1), F = S.length, M = typeof S[F - 1] == "function";
|
|
1998
1998
|
if (!M && !f())
|
|
1999
1999
|
throw new Error("Callback required as last argument");
|
|
2000
2000
|
if (M) {
|
|
@@ -2038,13 +2038,13 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2038
2038
|
l.render = function(s, h, a) {
|
|
2039
2039
|
var w = a, x = h;
|
|
2040
2040
|
typeof w > "u" && (!h || !h.getContext) && (w = h, h = void 0), h || (x = c()), w = f.getOptions(w);
|
|
2041
|
-
var b = f.getImageWidth(s.modules.size, w),
|
|
2042
|
-
return f.qrToImageData(F.data, s, w), d(
|
|
2041
|
+
var b = f.getImageWidth(s.modules.size, w), S = x.getContext("2d"), F = S.createImageData(b, b);
|
|
2042
|
+
return f.qrToImageData(F.data, s, w), d(S, x, b), S.putImageData(F, 0, 0), x;
|
|
2043
2043
|
}, l.renderToDataURL = function(s, h, a) {
|
|
2044
2044
|
var w = a;
|
|
2045
2045
|
typeof w > "u" && (!h || !h.getContext) && (w = h, h = void 0), w || (w = {});
|
|
2046
|
-
var x = l.render(s, h, w), b = w.type || "image/png",
|
|
2047
|
-
return x.toDataURL(b,
|
|
2046
|
+
var x = l.render(s, h, w), b = w.type || "image/png", S = w.rendererOpts || {};
|
|
2047
|
+
return x.toDataURL(b, S.quality);
|
|
2048
2048
|
};
|
|
2049
2049
|
}, { "./utils": 27 }], 26: [function(n, g, l) {
|
|
2050
2050
|
var f = n("./utils");
|
|
@@ -2057,14 +2057,14 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2057
2057
|
return typeof a < "u" && (w += " " + a), w;
|
|
2058
2058
|
}
|
|
2059
2059
|
function i(s, h, a) {
|
|
2060
|
-
for (var w = "", x = 0, b = !1,
|
|
2060
|
+
for (var w = "", x = 0, b = !1, S = 0, F = 0; F < s.length; F++) {
|
|
2061
2061
|
var M = Math.floor(F % h), C = Math.floor(F / h);
|
|
2062
|
-
!M && !b && (b = !0), s[F] ? (
|
|
2062
|
+
!M && !b && (b = !0), s[F] ? (S++, F > 0 && M > 0 && s[F - 1] || (w += b ? c("M", M + a, 0.5 + C + a) : c("m", x, 0), x = 0, b = !1), M + 1 < h && s[F + 1] || (w += c("h", S), S = 0)) : x++;
|
|
2063
2063
|
}
|
|
2064
2064
|
return w;
|
|
2065
2065
|
}
|
|
2066
2066
|
l.render = function(h, a, w) {
|
|
2067
|
-
var x = f.getOptions(a), b = h.modules.size,
|
|
2067
|
+
var x = f.getOptions(a), b = h.modules.size, S = h.modules.data, F = b + x.margin * 2, M = x.color.light.a ? "<path " + d(x.color.light, "fill") + ' d="M0 0h' + F + "v" + F + 'H0z"/>' : "", C = "<path " + d(x.color.dark, "stroke") + ' d="' + i(S, b, x.margin) + '"/>', T = 'viewBox="0 0 ' + F + " " + F + '"', I = x.width ? 'width="' + x.width + '" height="' + x.width + '" ' : "", k = '<svg xmlns="http://www.w3.org/2000/svg" ' + I + T + ' shape-rendering="crispEdges">' + M + C + `</svg>
|
|
2068
2068
|
`;
|
|
2069
2069
|
return typeof w == "function" && w(null, k), k;
|
|
2070
2070
|
};
|
|
@@ -2107,12 +2107,12 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2107
2107
|
var s = l.getScale(c, i);
|
|
2108
2108
|
return Math.floor((c + i.margin * 2) * s);
|
|
2109
2109
|
}, l.qrToImageData = function(c, i, s) {
|
|
2110
|
-
for (var h = i.modules.size, a = i.modules.data, w = l.getScale(h, s), x = Math.floor((h + s.margin * 2) * w), b = s.margin * w,
|
|
2110
|
+
for (var h = i.modules.size, a = i.modules.data, w = l.getScale(h, s), x = Math.floor((h + s.margin * 2) * w), b = s.margin * w, S = [s.color.light, s.color.dark], F = 0; F < x; F++)
|
|
2111
2111
|
for (var M = 0; M < x; M++) {
|
|
2112
2112
|
var C = (F * x + M) * 4, T = s.color.light;
|
|
2113
2113
|
if (F >= b && M >= b && F < x - b && M < x - b) {
|
|
2114
2114
|
var I = Math.floor((F - b) / w), k = Math.floor((M - b) / w);
|
|
2115
|
-
T =
|
|
2115
|
+
T = S[a[I * h + k] ? 1 : 0];
|
|
2116
2116
|
}
|
|
2117
2117
|
c[C++] = T.r, c[C++] = T.g, c[C++] = T.b, c[C] = T.a;
|
|
2118
2118
|
}
|
|
@@ -2160,21 +2160,21 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2160
2160
|
return p;
|
|
2161
2161
|
}
|
|
2162
2162
|
function x(_, v) {
|
|
2163
|
-
var p = C(v) | 0, E = a(_, p),
|
|
2164
|
-
return
|
|
2163
|
+
var p = C(v) | 0, E = a(_, p), A = E.write(v);
|
|
2164
|
+
return A !== p && (E = E.slice(0, A)), E;
|
|
2165
2165
|
}
|
|
2166
2166
|
function b(_, v) {
|
|
2167
|
-
for (var p = v.length < 0 ? 0 : s(v.length) | 0, E = a(_, p),
|
|
2168
|
-
E[
|
|
2167
|
+
for (var p = v.length < 0 ? 0 : s(v.length) | 0, E = a(_, p), A = 0; A < p; A += 1)
|
|
2168
|
+
E[A] = v[A] & 255;
|
|
2169
2169
|
return E;
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2171
|
+
function S(_, v, p, E) {
|
|
2172
2172
|
if (p < 0 || v.byteLength < p)
|
|
2173
2173
|
throw new RangeError("'offset' is out of bounds");
|
|
2174
2174
|
if (v.byteLength < p + (E || 0))
|
|
2175
2175
|
throw new RangeError("'length' is out of bounds");
|
|
2176
|
-
var
|
|
2177
|
-
return p === void 0 && E === void 0 ?
|
|
2176
|
+
var A;
|
|
2177
|
+
return p === void 0 && E === void 0 ? A = new Uint8Array(v) : E === void 0 ? A = new Uint8Array(v, p) : A = new Uint8Array(v, p, E), i.TYPED_ARRAY_SUPPORT ? A.__proto__ = i.prototype : A = b(_, A), A;
|
|
2178
2178
|
}
|
|
2179
2179
|
function F(_, v) {
|
|
2180
2180
|
if (i.isBuffer(v)) {
|
|
@@ -2191,9 +2191,9 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2191
2191
|
}
|
|
2192
2192
|
function M(_, v) {
|
|
2193
2193
|
v = v || 1 / 0;
|
|
2194
|
-
for (var p, E = _.length,
|
|
2194
|
+
for (var p, E = _.length, A = null, L = [], W = 0; W < E; ++W) {
|
|
2195
2195
|
if (p = _.charCodeAt(W), p > 55295 && p < 57344) {
|
|
2196
|
-
if (!
|
|
2196
|
+
if (!A) {
|
|
2197
2197
|
if (p > 56319) {
|
|
2198
2198
|
(v -= 3) > -1 && L.push(239, 191, 189);
|
|
2199
2199
|
continue;
|
|
@@ -2201,17 +2201,17 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2201
2201
|
(v -= 3) > -1 && L.push(239, 191, 189);
|
|
2202
2202
|
continue;
|
|
2203
2203
|
}
|
|
2204
|
-
|
|
2204
|
+
A = p;
|
|
2205
2205
|
continue;
|
|
2206
2206
|
}
|
|
2207
2207
|
if (p < 56320) {
|
|
2208
|
-
(v -= 3) > -1 && L.push(239, 191, 189),
|
|
2208
|
+
(v -= 3) > -1 && L.push(239, 191, 189), A = p;
|
|
2209
2209
|
continue;
|
|
2210
2210
|
}
|
|
2211
|
-
p = (
|
|
2211
|
+
p = (A - 55296 << 10 | p - 56320) + 65536;
|
|
2212
2212
|
} else
|
|
2213
|
-
|
|
2214
|
-
if (
|
|
2213
|
+
A && (v -= 3) > -1 && L.push(239, 191, 189);
|
|
2214
|
+
if (A = null, p < 128) {
|
|
2215
2215
|
if ((v -= 1) < 0)
|
|
2216
2216
|
break;
|
|
2217
2217
|
L.push(p);
|
|
@@ -2254,9 +2254,9 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2254
2254
|
return v === 0 ? 0 : M(_).length;
|
|
2255
2255
|
}
|
|
2256
2256
|
function T(_, v, p, E) {
|
|
2257
|
-
for (var
|
|
2258
|
-
v[
|
|
2259
|
-
return
|
|
2257
|
+
for (var A = 0; A < E && !(A + p >= v.length || A >= _.length); ++A)
|
|
2258
|
+
v[A + p] = _[A];
|
|
2259
|
+
return A;
|
|
2260
2260
|
}
|
|
2261
2261
|
function I(_, v, p, E) {
|
|
2262
2262
|
return T(M(v, _.length - p), _, p, E);
|
|
@@ -2264,39 +2264,39 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2264
2264
|
function k(_, v, p, E) {
|
|
2265
2265
|
if (typeof v == "number")
|
|
2266
2266
|
throw new TypeError('"value" argument must not be a number');
|
|
2267
|
-
return typeof ArrayBuffer < "u" && v instanceof ArrayBuffer ?
|
|
2267
|
+
return typeof ArrayBuffer < "u" && v instanceof ArrayBuffer ? S(_, v, p, E) : typeof v == "string" ? x(_, v) : F(_, v);
|
|
2268
2268
|
}
|
|
2269
2269
|
i.prototype.write = function(v, p, E) {
|
|
2270
2270
|
p === void 0 ? (E = this.length, p = 0) : E === void 0 && typeof p == "string" ? (E = this.length, p = 0) : isFinite(p) && (p = p | 0, isFinite(E) ? E = E | 0 : E = void 0);
|
|
2271
|
-
var
|
|
2272
|
-
if ((E === void 0 || E >
|
|
2271
|
+
var A = this.length - p;
|
|
2272
|
+
if ((E === void 0 || E > A) && (E = A), v.length > 0 && (E < 0 || p < 0) || p > this.length)
|
|
2273
2273
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
2274
2274
|
return I(this, v, p, E);
|
|
2275
2275
|
}, i.prototype.slice = function(v, p) {
|
|
2276
2276
|
var E = this.length;
|
|
2277
2277
|
v = ~~v, p = p === void 0 ? E : ~~p, v < 0 ? (v += E, v < 0 && (v = 0)) : v > E && (v = E), p < 0 ? (p += E, p < 0 && (p = 0)) : p > E && (p = E), p < v && (p = v);
|
|
2278
|
-
var
|
|
2278
|
+
var A;
|
|
2279
2279
|
if (i.TYPED_ARRAY_SUPPORT)
|
|
2280
|
-
|
|
2280
|
+
A = this.subarray(v, p), A.__proto__ = i.prototype;
|
|
2281
2281
|
else {
|
|
2282
2282
|
var L = p - v;
|
|
2283
|
-
|
|
2283
|
+
A = new i(L, void 0);
|
|
2284
2284
|
for (var W = 0; W < L; ++W)
|
|
2285
|
-
|
|
2285
|
+
A[W] = this[W + v];
|
|
2286
2286
|
}
|
|
2287
|
-
return
|
|
2288
|
-
}, i.prototype.copy = function(v, p, E,
|
|
2289
|
-
if (E || (E = 0), !
|
|
2287
|
+
return A;
|
|
2288
|
+
}, i.prototype.copy = function(v, p, E, A) {
|
|
2289
|
+
if (E || (E = 0), !A && A !== 0 && (A = this.length), p >= v.length && (p = v.length), p || (p = 0), A > 0 && A < E && (A = E), A === E || v.length === 0 || this.length === 0)
|
|
2290
2290
|
return 0;
|
|
2291
2291
|
if (p < 0)
|
|
2292
2292
|
throw new RangeError("targetStart out of bounds");
|
|
2293
2293
|
if (E < 0 || E >= this.length)
|
|
2294
2294
|
throw new RangeError("sourceStart out of bounds");
|
|
2295
|
-
if (
|
|
2295
|
+
if (A < 0)
|
|
2296
2296
|
throw new RangeError("sourceEnd out of bounds");
|
|
2297
|
-
|
|
2298
|
-
var L =
|
|
2299
|
-
if (this === v && E < p && p <
|
|
2297
|
+
A > this.length && (A = this.length), v.length - p < A - E && (A = v.length - p + E);
|
|
2298
|
+
var L = A - E, W;
|
|
2299
|
+
if (this === v && E < p && p < A)
|
|
2300
2300
|
for (W = L - 1; W >= 0; --W)
|
|
2301
2301
|
v[W + p] = this[W + E];
|
|
2302
2302
|
else if (L < 1e3 || !i.TYPED_ARRAY_SUPPORT)
|
|
@@ -2312,8 +2312,8 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2312
2312
|
}, i.prototype.fill = function(v, p, E) {
|
|
2313
2313
|
if (typeof v == "string") {
|
|
2314
2314
|
if (typeof p == "string" ? (p = 0, E = this.length) : typeof E == "string" && (E = this.length), v.length === 1) {
|
|
2315
|
-
var
|
|
2316
|
-
|
|
2315
|
+
var A = v.charCodeAt(0);
|
|
2316
|
+
A < 256 && (v = A);
|
|
2317
2317
|
}
|
|
2318
2318
|
} else
|
|
2319
2319
|
typeof v == "number" && (v = v & 255);
|
|
@@ -2341,14 +2341,14 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2341
2341
|
if (p === void 0)
|
|
2342
2342
|
for (p = 0, E = 0; E < v.length; ++E)
|
|
2343
2343
|
p += v[E].length;
|
|
2344
|
-
var
|
|
2344
|
+
var A = w(null, p), L = 0;
|
|
2345
2345
|
for (E = 0; E < v.length; ++E) {
|
|
2346
2346
|
var W = v[E];
|
|
2347
2347
|
if (!i.isBuffer(W))
|
|
2348
2348
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
2349
|
-
W.copy(
|
|
2349
|
+
W.copy(A, L), L += W.length;
|
|
2350
2350
|
}
|
|
2351
|
-
return
|
|
2351
|
+
return A;
|
|
2352
2352
|
}, i.byteLength = C, i.prototype._isBuffer = !0, i.isBuffer = function(v) {
|
|
2353
2353
|
return !!(v != null && v._isBuffer);
|
|
2354
2354
|
}, g.exports.alloc = function(_) {
|
|
@@ -2379,17 +2379,17 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2379
2379
|
return (T + I) * 3 / 4 - I;
|
|
2380
2380
|
}
|
|
2381
2381
|
function b(C) {
|
|
2382
|
-
var T, I = a(C), k = I[0], _ = I[1], v = new c(x(C, k, _)), p = 0, E = _ > 0 ? k - 4 : k,
|
|
2383
|
-
for (
|
|
2384
|
-
T = d[C.charCodeAt(
|
|
2385
|
-
return _ === 2 && (T = d[C.charCodeAt(
|
|
2382
|
+
var T, I = a(C), k = I[0], _ = I[1], v = new c(x(C, k, _)), p = 0, E = _ > 0 ? k - 4 : k, A;
|
|
2383
|
+
for (A = 0; A < E; A += 4)
|
|
2384
|
+
T = d[C.charCodeAt(A)] << 18 | d[C.charCodeAt(A + 1)] << 12 | d[C.charCodeAt(A + 2)] << 6 | d[C.charCodeAt(A + 3)], v[p++] = T >> 16 & 255, v[p++] = T >> 8 & 255, v[p++] = T & 255;
|
|
2385
|
+
return _ === 2 && (T = d[C.charCodeAt(A)] << 2 | d[C.charCodeAt(A + 1)] >> 4, v[p++] = T & 255), _ === 1 && (T = d[C.charCodeAt(A)] << 10 | d[C.charCodeAt(A + 1)] << 4 | d[C.charCodeAt(A + 2)] >> 2, v[p++] = T >> 8 & 255, v[p++] = T & 255), v;
|
|
2386
2386
|
}
|
|
2387
|
-
function
|
|
2387
|
+
function S(C) {
|
|
2388
2388
|
return f[C >> 18 & 63] + f[C >> 12 & 63] + f[C >> 6 & 63] + f[C & 63];
|
|
2389
2389
|
}
|
|
2390
2390
|
function F(C, T, I) {
|
|
2391
2391
|
for (var k, _ = [], v = T; v < I; v += 3)
|
|
2392
|
-
k = (C[v] << 16 & 16711680) + (C[v + 1] << 8 & 65280) + (C[v + 2] & 255), _.push(
|
|
2392
|
+
k = (C[v] << 16 & 16711680) + (C[v + 1] << 8 & 65280) + (C[v + 2] & 255), _.push(S(k));
|
|
2393
2393
|
return _.join("");
|
|
2394
2394
|
}
|
|
2395
2395
|
function M(C) {
|
|
@@ -2447,7 +2447,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2447
2447
|
throw new TypeError(
|
|
2448
2448
|
'The "string" argument must be of type string. Received type number'
|
|
2449
2449
|
);
|
|
2450
|
-
return
|
|
2450
|
+
return S(o);
|
|
2451
2451
|
}
|
|
2452
2452
|
return w(o, t, e);
|
|
2453
2453
|
}
|
|
@@ -2503,13 +2503,13 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2503
2503
|
a.alloc = function(o, t, e) {
|
|
2504
2504
|
return b(o, t, e);
|
|
2505
2505
|
};
|
|
2506
|
-
function
|
|
2506
|
+
function S(o) {
|
|
2507
2507
|
return x(o), h(o < 0 ? 0 : I(o) | 0);
|
|
2508
2508
|
}
|
|
2509
2509
|
a.allocUnsafe = function(o) {
|
|
2510
|
-
return
|
|
2510
|
+
return S(o);
|
|
2511
2511
|
}, a.allocUnsafeSlow = function(o) {
|
|
2512
|
-
return
|
|
2512
|
+
return S(o);
|
|
2513
2513
|
};
|
|
2514
2514
|
function F(o, t) {
|
|
2515
2515
|
if ((typeof t != "string" || t === "") && (t = "utf8"), !a.isEncoding(t))
|
|
@@ -2735,12 +2735,12 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2735
2735
|
else
|
|
2736
2736
|
return -1;
|
|
2737
2737
|
if (typeof t == "string" && (t = a.from(t, u)), a.isBuffer(t))
|
|
2738
|
-
return t.length === 0 ? -1 :
|
|
2738
|
+
return t.length === 0 ? -1 : A(o, t, e, u, y);
|
|
2739
2739
|
if (typeof t == "number")
|
|
2740
|
-
return t = t & 255, typeof Uint8Array.prototype.indexOf == "function" ? y ? Uint8Array.prototype.indexOf.call(o, t, e) : Uint8Array.prototype.lastIndexOf.call(o, t, e) :
|
|
2740
|
+
return t = t & 255, typeof Uint8Array.prototype.indexOf == "function" ? y ? Uint8Array.prototype.indexOf.call(o, t, e) : Uint8Array.prototype.lastIndexOf.call(o, t, e) : A(o, [t], e, u, y);
|
|
2741
2741
|
throw new TypeError("val must be string, number or Buffer");
|
|
2742
2742
|
}
|
|
2743
|
-
function
|
|
2743
|
+
function A(o, t, e, u, y) {
|
|
2744
2744
|
var P = 1, B = o.length, H = t.length;
|
|
2745
2745
|
if (u !== void 0 && (u = String(u).toLowerCase(), u === "ucs2" || u === "ucs-2" || u === "utf16le" || u === "utf-16le")) {
|
|
2746
2746
|
if (o.length < 2 || t.length < 2)
|
|
@@ -2909,7 +2909,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
2909
2909
|
var u = o.length;
|
|
2910
2910
|
(!t || t < 0) && (t = 0), (!e || e < 0 || e > u) && (e = u);
|
|
2911
2911
|
for (var y = "", P = t; P < e; ++P)
|
|
2912
|
-
y +=
|
|
2912
|
+
y += St[o[P]];
|
|
2913
2913
|
return y;
|
|
2914
2914
|
}
|
|
2915
2915
|
function mt(o, t, e) {
|
|
@@ -3210,7 +3210,7 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
3210
3210
|
function yt(o) {
|
|
3211
3211
|
return o !== o;
|
|
3212
3212
|
}
|
|
3213
|
-
var
|
|
3213
|
+
var St = function() {
|
|
3214
3214
|
for (var o = "0123456789abcdef", t = new Array(256), e = 0; e < 16; ++e)
|
|
3215
3215
|
for (var u = e * 16, y = 0; y < 16; ++y)
|
|
3216
3216
|
t[u + y] = o[e] + o[y];
|
|
@@ -3223,10 +3223,10 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
3223
3223
|
h[c] = 0;
|
|
3224
3224
|
var a = f.PriorityQueue.make();
|
|
3225
3225
|
a.push(c, 0);
|
|
3226
|
-
for (var w, x, b,
|
|
3227
|
-
w = a.pop(), x = w.value,
|
|
3226
|
+
for (var w, x, b, S, F, M, C, T, I; !a.empty(); ) {
|
|
3227
|
+
w = a.pop(), x = w.value, S = w.cost, F = d[x] || {};
|
|
3228
3228
|
for (b in F)
|
|
3229
|
-
F.hasOwnProperty(b) && (M = F[b], C =
|
|
3229
|
+
F.hasOwnProperty(b) && (M = F[b], C = S + M, T = h[b], I = typeof h[b] > "u", (I || T > C) && (h[b] = C, a.push(b, C), s[b] = x));
|
|
3230
3230
|
}
|
|
3231
3231
|
if (typeof i < "u" && typeof h[i] > "u") {
|
|
3232
3232
|
var k = ["Could not find a path from ", c, " to ", i, "."].join("");
|
|
@@ -3282,10 +3282,10 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
3282
3282
|
typeof g < "u" && (g.exports = f);
|
|
3283
3283
|
}, {}], 32: [function(n, g, l) {
|
|
3284
3284
|
l.read = function(f, d, c, i, s) {
|
|
3285
|
-
var h, a, w = s * 8 - i - 1, x = (1 << w) - 1, b = x >> 1,
|
|
3286
|
-
for (F += M, h = C & (1 << -
|
|
3285
|
+
var h, a, w = s * 8 - i - 1, x = (1 << w) - 1, b = x >> 1, S = -7, F = c ? s - 1 : 0, M = c ? -1 : 1, C = f[d + F];
|
|
3286
|
+
for (F += M, h = C & (1 << -S) - 1, C >>= -S, S += w; S > 0; h = h * 256 + f[d + F], F += M, S -= 8)
|
|
3287
3287
|
;
|
|
3288
|
-
for (a = h & (1 << -
|
|
3288
|
+
for (a = h & (1 << -S) - 1, h >>= -S, S += i; S > 0; a = a * 256 + f[d + F], F += M, S -= 8)
|
|
3289
3289
|
;
|
|
3290
3290
|
if (h === 0)
|
|
3291
3291
|
h = 1 - b;
|
|
@@ -3296,8 +3296,8 @@ Minimum version required to store current data is: ` + Y + `.
|
|
|
3296
3296
|
}
|
|
3297
3297
|
return (C ? -1 : 1) * a * Math.pow(2, h - i);
|
|
3298
3298
|
}, l.write = function(f, d, c, i, s, h) {
|
|
3299
|
-
var a, w, x, b = h * 8 - s - 1,
|
|
3300
|
-
for (d = Math.abs(d), isNaN(d) || d === 1 / 0 ? (w = isNaN(d) ? 1 : 0, a =
|
|
3299
|
+
var a, w, x, b = h * 8 - s - 1, S = (1 << b) - 1, F = S >> 1, M = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, C = i ? 0 : h - 1, T = i ? 1 : -1, I = d < 0 || d === 0 && 1 / d < 0 ? 1 : 0;
|
|
3300
|
+
for (d = Math.abs(d), isNaN(d) || d === 1 / 0 ? (w = isNaN(d) ? 1 : 0, a = S) : (a = Math.floor(Math.log(d) / Math.LN2), d * (x = Math.pow(2, -a)) < 1 && (a--, x *= 2), a + F >= 1 ? d += M / x : d += M * Math.pow(2, 1 - F), d * x >= 2 && (a++, x /= 2), a + F >= S ? (w = 0, a = S) : a + F >= 1 ? (w = (d * x - 1) * Math.pow(2, s), a = a + F) : (w = d * Math.pow(2, F - 1) * Math.pow(2, s), a = 0)); s >= 8; f[c + C] = w & 255, C += T, w /= 256, s -= 8)
|
|
3301
3301
|
;
|
|
3302
3302
|
for (a = a << s | w, b += s; b > 0; f[c + C] = a & 255, C += T, a /= 256, b -= 8)
|
|
3303
3303
|
;
|
|
@@ -3571,9 +3571,9 @@ const ge = {
|
|
|
3571
3571
|
};
|
|
3572
3572
|
var pe = function() {
|
|
3573
3573
|
var r = this, n = r._self._c;
|
|
3574
|
-
return n("CInput", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: {
|
|
3574
|
+
return n("div", { staticClass: "text-left" }, [n("label", [r._v(r._s(r._document.$t("answerModal.decline.component.label")))]), n("CInput", { staticStyle: { "margin-bottom": "calc(1.5 * var(--rem))" }, attrs: { type: "textarea", filled: "", "custom-class": "decline-input" }, model: { value: r.rejectReason, callback: function(g) {
|
|
3575
3575
|
r.rejectReason = g;
|
|
3576
|
-
}, expression: "rejectReason" } });
|
|
3576
|
+
}, expression: "rejectReason" } })], 1);
|
|
3577
3577
|
}, me = [], ve = /* @__PURE__ */ ot(
|
|
3578
3578
|
ge,
|
|
3579
3579
|
pe,
|
|
@@ -3697,7 +3697,7 @@ const we = {
|
|
|
3697
3697
|
) : Bt.trigger("document:answer", {
|
|
3698
3698
|
id: (m = this._document) == null ? void 0 : m.id,
|
|
3699
3699
|
...(r = this.signee) == null ? void 0 : r.answer
|
|
3700
|
-
}), await
|
|
3700
|
+
}), await At(800), this.page = "intermediate", await At(2e3), this.page = "success", this.isPosting = !1;
|
|
3701
3701
|
},
|
|
3702
3702
|
reload() {
|
|
3703
3703
|
window.location.reload();
|
|
@@ -3747,13 +3747,13 @@ const we = {
|
|
|
3747
3747
|
var xe = function() {
|
|
3748
3748
|
var g;
|
|
3749
3749
|
var r = this, n = r._self._c;
|
|
3750
|
-
return n("transition-group", { staticClass: "a-root font-inter", attrs: { tag: "div", css: !1, mode: "out-in" }, on: { enter: r.enterAnim, leave: r.leaveAnim } }, [n("CButton", { key: "btn",
|
|
3750
|
+
return n("transition-group", { staticClass: "a-root font-inter", attrs: { tag: "div", css: !1, mode: "out-in" }, on: { enter: r.enterAnim, leave: r.leaveAnim } }, [n("CButton", { key: "btn", staticClass: "text-[hsl(0, 0%, 45%)] absolute right-5 top-5 z-[9]", attrs: { icon: "x", circle: "" }, on: { click: function(l) {
|
|
3751
3751
|
r.$parent.$emit("cancel"), r.$emit("close");
|
|
3752
3752
|
} } }), r.page === "start" ? n("div", { key: "start", staticClass: "root-padding flex-grow" }, [n("div", { staticClass: "stagger-anim", staticStyle: { "padding-bottom": "40px" } }, [n("div", { staticClass: "a-title", domProps: { textContent: r._s(r._document.$t(`answerModal.${r.answerType}.start.title`)) } }), n("div", { staticStyle: { color: "hsl(0, 0%, 40%)" }, domProps: { textContent: r._s(r._document.$t(`answerModal.${r.answerType}.start.text`)) } })]), n(r.answerComponentName, { ref: "answerComponent", tag: "component", staticClass: "stagger-anim", attrs: { _document: r._document, signee: r.signee }, on: { invalid: function(l) {
|
|
3753
3753
|
r.actionInvalid = l;
|
|
3754
3754
|
}, loading: function(l) {
|
|
3755
3755
|
r.isPosting = l;
|
|
3756
|
-
}, complete: r.onComplete } }), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, disabled: r.actionInvalid, type: r.mode === "decline" ? "
|
|
3756
|
+
}, complete: r.onComplete } }), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, disabled: r.actionInvalid, type: r.mode === "decline" ? "text" : "secondary", icon: r.answerType === "bankId" ? "bankId" : "" }, on: { click: r.onSubmit } }, [r._v(" " + r._s(r._document.$t(`answerModal.${r.answerType}.start.action`)) + " ")])], 1)], 1) : r.page === "intermediate" ? n("div", { key: "intermediate", staticClass: "flex w-full flex-grow flex-col items-center justify-center text-center", staticStyle: { height: "100%" } }, [n("div", { staticClass: "a-title stagger-anim", domProps: { textContent: r._s(r._document.$t("answerModal.answerSuccess")) } })]) : r.page === "success" ? n("div", { key: "success", staticClass: "flex w-full flex-grow flex-col", staticStyle: { height: "100%" } }, [n("transition", { attrs: { css: !1 }, on: { leave: r.minimizeHeight } }, [r.isFeedbackInitiated ? r._e() : n("div", { staticClass: "flex w-full flex-grow flex-col items-center justify-center", staticStyle: { overflow: "hidden" } }, [n("div", { staticClass: "root-padding flex w-full flex-col items-center justify-center", staticStyle: { height: "100%" } }, [n("div", { staticClass: "a-title stagger-anim", staticStyle: { padding: "calc(2.5 * var(--rem)) 0 calc(2 * var(--rem))" } }, [n("div", { domProps: { textContent: r._s(r.successStrings.title) } })]), n("div", { staticClass: "stagger-anim", domProps: { textContent: r._s(r.successStrings.text) } })])])]), n("Feedback", { ref: "feedback", staticClass: "stagger-anim", staticStyle: { flex: "0 0", overflow: "hidden", "min-height": "200px" }, attrs: { "public-id": (g = r._document.viewer) == null ? void 0 : g.publicDocumentId, _document: r._document }, on: { page: () => r.isFeedbackInitiated = !0, close: function(l) {
|
|
3757
3757
|
return r.$emit("close");
|
|
3758
3758
|
} } })], 1) : r.page === "versionError" ? n("div", { key: "versionError", staticClass: "root-padding flex flex-grow flex-col items-center justify-center text-center" }, [n("div", { staticClass: "stagger-anim" }, [n("div", { staticClass: "flex items-center justify-center", staticStyle: { padding: "20px 0" } }, [n("div", { staticClass: "flex items-center justify-center", staticStyle: { width: "52px", height: "52px", "border-radius": "50%" } }, [n("BaseIcon", { attrs: { size: 30, type: "error" } })], 1)]), n("div", { staticClass: "a-title", domProps: { textContent: r._s(r._document.$t(`answerModal.versionError.${r.mode}.title`)) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerModal.versionError.text")) } })]), n("div", { staticClass: "stagger-anim", staticStyle: { "padding-top": "3em" } }, [n("CButton", { staticClass: "a-btn", attrs: { loading: r.isPosting, type: "none" }, on: { click: r.reload } }, [r._v(" " + r._s(r._document.$t("answerModal.versionError.btn")) + " ")])], 1)]) : r._e()], 1);
|
|
3759
3759
|
}, _e = [], Ee = /* @__PURE__ */ ot(
|
|
@@ -3762,7 +3762,7 @@ var xe = function() {
|
|
|
3762
3762
|
_e,
|
|
3763
3763
|
!1,
|
|
3764
3764
|
null,
|
|
3765
|
-
"
|
|
3765
|
+
"60b44ed1",
|
|
3766
3766
|
null,
|
|
3767
3767
|
null
|
|
3768
3768
|
);
|