@cling-se/widget 0.9.3 → 0.9.5
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-746899d9.js → AddClientCallout-e4e9874f.js} +5 -5
- package/dist/{AnswerModal-fdfea0f8.js → AnswerModal-acd3b9c0.js} +248 -248
- package/dist/{AttachmentItem-5671c64d.js → AttachmentItem-34e91526.js} +8 -8
- package/dist/{BaseDatePicker-a9240306.js → BaseDatePicker-581297bc.js} +43 -43
- package/dist/{BaseInput-d3c3688b.js → BaseInput-29d88150.js} +1 -1
- package/dist/{BaseUpload-8e7a2b72.js → BaseUpload-84d3b68b.js} +27 -26
- package/dist/{BlockMedia-b613a2a4.js → BlockMedia-319932b8.js} +1 -1
- package/dist/{CCallout-e9ff903a.js → CCallout-88ae9c08.js} +6 -6
- package/dist/{CDropdownItem-05d84f95.js → CDropdownItem-d46bf062.js} +76 -75
- package/dist/{CField-cd4dcae9.js → CField-be05883b.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-383db616.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
- package/dist/{ClientAutocomplete-421a2216.js → ClientAutocomplete-68f76bfc.js} +4 -4
- package/dist/{ClientModal-11341b1c.js → ClientModal-73086005.js} +16 -16
- package/dist/{ColorPicker-f90939b5.js → ColorPicker-11ee76f0.js} +2 -2
- package/dist/{CompanyModal-2bfd21b8.js → CompanyModal-0fec4480.js} +8 -8
- package/dist/{ContentWrapper-4aae35b2.js → ContentWrapper-fba78b6f.js} +19 -19
- package/dist/{CoverBlockSettings-1f917be3.js → CoverBlockSettings-7ffa15b1.js} +19 -19
- package/dist/{DocForm-0891c6b2.js → DocForm-e56b3a0c.js} +1208 -832
- package/dist/{DocFormSend-2b35999d.js → DocFormSend-cdc4eaf8.js} +14 -14
- package/dist/{DocModalBase-225e2f2d.js → DocModalBase-e473b946.js} +4 -4
- package/dist/DocPrint-6d8b1f14.js +222 -0
- package/dist/{DocReceipt-1391c17a.js → DocReceipt-c8a543f8.js} +1 -1
- package/dist/{DocSendReminder-c488842d.js → DocSendReminder-70effa09.js} +1 -1
- package/dist/{DocTextEditor-2538e1ab.js → DocTextEditor-cce51e7c.js} +19 -19
- package/dist/{DocTimeline-69ada0de.js → DocTimeline-c2cbd773.js} +11 -11
- package/dist/{DocumentClient-74b8f25b.js → DocumentClient-611c8c1c.js} +8 -6
- package/dist/{formValidationMixin-df38771c.js → DocumentLayout-86c367d1.js} +1617 -1709
- package/dist/{DocumentLogotype-e89b53fb.js → DocumentLogotype-441a9fdb.js} +3 -3
- package/dist/{EmbedInput-b7fefe5e.js → EmbedInput-a5938c25.js} +2 -2
- package/dist/{EmbedSettings-4957252f.js → EmbedSettings-141ab53c.js} +10 -10
- package/dist/ErrorCallout-7dea37df.js +30 -0
- package/dist/{FilePreviewModal-75693619.js → FilePreviewModal-875fd8c9.js} +8 -7
- package/dist/{HeaderSettings-9b69eada.js → HeaderSettings-0364b6df.js} +29 -29
- package/dist/{ImageSelectModal-94d4dc7f.js → ImageSelectModal-2d3a69db.js} +11 -11
- package/dist/{ImageUploadWrapper-a144b042.js → ImageUploadWrapper-7c70045f.js} +4 -4
- package/dist/{Index-023c3119.js → Index-006a27da.js} +10 -10
- package/dist/{Index-ec8d534f.js → Index-0313a553.js} +2 -2
- package/dist/{Index-4563d3fa.js → Index-06bd31c3.js} +26 -26
- package/dist/Index-07ae23ce.js +54 -0
- package/dist/{Index-62936c19.js → Index-0f4c9eb4.js} +34 -34
- package/dist/{Index-3dff19dd.js → Index-1e0cf88a.js} +10 -9
- package/dist/{Index-37a9183b.js → Index-1fc54467.js} +4 -4
- package/dist/{Index-abb8c6e4.js → Index-205dd368.js} +14 -14
- package/dist/{Index-b7def77a.js → Index-245f88ff.js} +10 -10
- package/dist/{Index-9a243eb8.js → Index-28bdb859.js} +2 -2
- package/dist/{Index-90492f19.js → Index-2a0c06b1.js} +3 -3
- package/dist/{Index-2cb8fa22.js → Index-3d84a32c.js} +9 -9
- package/dist/{Index-9ffe9766.js → Index-418c517f.js} +4 -4
- package/dist/{Index-f9b5f03c.js → Index-5196628a.js} +27 -27
- package/dist/{Index-dbe97658.js → Index-532b8844.js} +2 -2
- package/dist/{Index-96f39afc.js → Index-53348c92.js} +4 -4
- package/dist/{Index-cec7d4f1.js → Index-54962a1e.js} +15 -15
- package/dist/{Index-a37beb03.js → Index-5de564da.js} +2 -2
- package/dist/{Index-d68a28da.js → Index-6f957f7e.js} +15 -15
- package/dist/{Index-304c45be.js → Index-710d1132.js} +8 -8
- package/dist/{Index-a86ea774.js → Index-7a2f20fd.js} +9 -9
- package/dist/{Index-693005f0.js → Index-818ef607.js} +4 -4
- package/dist/Index-875e7805.js +79 -0
- package/dist/{Index-f453850f.js → Index-889b6a45.js} +18 -19
- package/dist/{Index-a554b58c.js → Index-8975cd1e.js} +4 -4
- package/dist/{Index-97d1f2f3.js → Index-affdb14c.js} +11 -10
- package/dist/{Index-3ee2e944.js → Index-b80ab22f.js} +2 -2
- package/dist/{Index-53da7be8.js → Index-ba48e68b.js} +8 -8
- package/dist/{Index-35387450.js → Index-beb43a1a.js} +95 -95
- package/dist/{Index-00ef9241.js → Index-c746dc64.js} +13 -13
- package/dist/{Index-1bafafca.js → Index-cf54ef50.js} +2 -2
- package/dist/{Index-4440fe3d.js → Index-dbf5c34c.js} +4 -4
- package/dist/{Index-bcc478b3.js → Index-fa01557d.js} +12 -12
- package/dist/{Index-78f13416.js → Index-ff60354c.js} +7 -7
- package/dist/{InputToggleRow-68320d9f.js → InputToggleRow-c520bed9.js} +5 -5
- package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
- package/dist/{MediaWrapper-c50879c2.js → MediaWrapper-722723f7.js} +3 -3
- package/dist/{NotBindingText-8f2d9244.js → NotBindingText-613399b6.js} +2 -2
- package/dist/{PackageGroup-2c49e99b.js → PackageGroup-1085c76c.js} +56 -56
- package/dist/{PdfTerms-94153a5f.js → PdfTerms-f98a6f75.js} +8 -7
- package/dist/{PdfViewer-701ad40e.js → PdfViewer-096bbf00.js} +5 -4
- package/dist/{PlainHtml-04a6d7f9.js → PlainHtml-752bc8d6.js} +1 -1
- package/dist/PriceHeader-e25df5eb.js +337 -0
- package/dist/{SearchApi-ffe5b697.js → SearchApi-20629627.js} +2 -2
- package/dist/{TermsSettings-b1bf19e9.js → TermsSettings-4cc4a9ee.js} +11 -11
- package/dist/{ThemeColorRow-913497f6.js → ThemeColorRow-c292abc6.js} +3 -3
- package/dist/{ToggleBinding-6518935d.js → ToggleBinding-406175fb.js} +3 -3
- package/dist/{UploadModal-3c399d25.js → UploadModal-0cbd0c8f.js} +16 -16
- package/dist/{VideoPlayerInput-b54845a4.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
- package/dist/{VideoPlayerSettings-496e9e79.js → VideoPlayerSettings-51c75143.js} +12 -12
- package/dist/VideoSelectModal-e34cde4b.js +111 -0
- package/dist/{answerDocumentMixin-0e5e4dbb.js → answerDocumentMixin-574c5304.js} +3 -3
- package/dist/assets/article-options-10291.png +0 -0
- package/dist/assets/bg-base-13048.png +0 -0
- package/dist/assets/bg-pro-81076.png +0 -0
- package/dist/assets/bg-start-20630.png +0 -0
- package/dist/assets/blank-10674.png +0 -0
- package/dist/assets/block-options-17322.png +0 -0
- package/dist/assets/columnGallery.image-24825.png +0 -0
- package/dist/assets/doc-send-94456.png +0 -0
- package/dist/assets/drag-block-17194.png +0 -0
- package/dist/assets/headerCircularGradient.image-13878.png +0 -0
- package/dist/assets/roiCalculator.image-14704.png +0 -0
- package/dist/assets/text-bubble-53861.png +0 -0
- package/dist/{cssMode-c0865919.js → cssMode-eda08630.js} +19 -15
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-298861bc.js → focusDrawerMixin-72f8dd7a.js} +1 -1
- package/dist/{formComponentsInstall-1be6791d.js → formComponentsInstall-3f1c6477.js} +40 -40
- package/dist/formValidationMixin-d4e84872.js +49 -0
- package/dist/{freemarker2-85dde97c.js → freemarker2-42cdfba5.js} +23 -19
- package/dist/{handlebars-6aa1e52b.js → handlebars-b4515777.js} +15 -11
- package/dist/{html-f0c735cd.js → html-ea5d1845.js} +18 -14
- package/dist/{htmlMode-7b3bd7c9.js → htmlMode-1cc3531d.js} +23 -19
- package/dist/{index-1ef6f423.js → index-07377b76.js} +45 -45
- package/dist/index-676b9274.js +17 -0
- package/dist/{index-431938de.js → index-762349d7.js} +7 -7
- package/dist/{index-30808a2c.js → index-7adda710.js} +31 -31
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -533
- package/dist/{javascript-9c54ad9e.js → javascript-185ef2e0.js} +15 -11
- package/dist/{jsonMode-1d1176fa.js → jsonMode-59ea4e99.js} +23 -19
- package/dist/{liquid-0738c73d.js → liquid-517f2a7c.js} +18 -14
- package/dist/{main-2d9b8259.js → main-95207159.js} +15376 -12887
- package/dist/{mapFormMixin-308bbdab.js → mapFormMixin-a245a297.js} +1 -1
- package/dist/{publicSenderState-9eecb11f.js → publicSenderState-bea5980b.js} +1 -1
- package/dist/{python-588c9e64.js → python-eb6703d8.js} +15 -11
- package/dist/{razor-fbaa1d21.js → razor-4c5b7deb.js} +22 -18
- package/dist/simplebar.min-97b539d6.js +71 -0
- package/dist/style.css +2 -2
- package/dist/template-b3af7583.js +528 -0
- package/dist/{throttle-d7bed81a.js → throttle-a0ce8f66.js} +2 -2
- package/dist/{tinycolor-ef496244.js → tinycolor-65e7dc2e.js} +1 -1
- package/dist/{FormInputRow-09d450e3.js → tippy.esm-3c111ba9.js} +285 -285
- package/dist/{tsMode-c1de8e10.js → tsMode-a4a0e653.js} +19 -15
- package/dist/{typescript-737827aa.js → typescript-aeab7849.js} +15 -11
- package/dist/{utils-69c41ae9.js → utils-580c7144.js} +1 -1
- package/dist/{vuedraggable.umd-67b8cddf.js → vuedraggable.umd-2c22e5f8.js} +41 -41
- package/dist/{xml-30e811a1.js → xml-098907e6.js} +18 -14
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/ErrorCallout-42e45ec0.js +0 -30
- package/dist/Index-42e26b46.js +0 -79
- package/dist/Index-f2b66b79.js +0 -47
- package/dist/IsPremiumPreStep-0c7032a3.js +0 -1919
- package/dist/PriceHeader-7f92d5a7.js +0 -336
- package/dist/VideoSelectModal-3a566398.js +0 -111
- package/dist/index-6d08eac3.js +0 -14
- package/dist/simplebar.min-75960401.js +0 -2429
- package/dist/template-b877debf.js +0 -526
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import a from "./Index-
|
|
2
|
-
import { n as
|
|
3
|
-
import "./tinycolor-
|
|
4
|
-
const
|
|
1
|
+
import a from "./Index-0313a553.js";
|
|
2
|
+
import { n as r } from "./main-95207159.js";
|
|
3
|
+
import "./tinycolor-65e7dc2e.js";
|
|
4
|
+
const i = {
|
|
5
5
|
name: "AttachmentsItem",
|
|
6
6
|
components: {
|
|
7
7
|
FileIcon: a
|
|
@@ -53,18 +53,18 @@ var s = function() {
|
|
|
53
53
|
return !n.type.indexOf("key") && t._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : n.target.blur();
|
|
54
54
|
}, click: function(n) {
|
|
55
55
|
n.preventDefault(), n.stopPropagation();
|
|
56
|
-
} } }), e("CButton", { attrs: { circle: "", type: "secondary", size: "normal", icon: "check" } })], 1) : [e("div", { staticClass: "pointer-events-none attachment-data truncate-text" }, [e("div", { staticClass: "truncate-text" }, [t._v(" " + t._s(t.attachment.name) + " ")]), t.uploadProgress !== null ? e("div", { staticStyle: { display: "flex", "align-items": "center", "font-size": "calc(
|
|
56
|
+
} } }), e("CButton", { attrs: { circle: "", type: "secondary", size: "normal", icon: "check" } })], 1) : [e("div", { staticClass: "pointer-events-none attachment-data truncate-text" }, [e("div", { staticClass: "truncate-text" }, [t._v(" " + t._s(t.attachment.name) + " ")]), t.uploadProgress !== null ? e("div", { staticStyle: { display: "flex", "align-items": "center", "font-size": "calc(calc(1 * var(--rem)) - 2px)" } }, [e("BaseIcon", { staticClass: "spinner", attrs: { type: "loader", size: "14" } }), e("span", { staticStyle: { "padding-left": "0.25em" } }, [t._v(" " + t._s(t.uploadProgress) + "% " + t._s(t.$t("uploading")) + " ")])], 1) : t._e()]), t.canEdit ? e("CDropdown", { attrs: { position: "is-bottom-left" } }, [e("CButton", { class: { "opacity-0": !t.isHover }, attrs: { slot: "trigger", circle: "", type: "none", size: "normal", pattern: "secondary", icon: "more-vertical" }, slot: "trigger" }), e("CDropdownItem", { on: { click: function(n) {
|
|
57
57
|
t.isEditing = !0, t.$nextTick(() => t.$refs.input.focus());
|
|
58
58
|
} } }, [t._v(" " + t._s(t.$t("change", { thing: t.$t("name") })) + " ")]), e("CDropdownItem", { attrs: { type: "danger" }, on: { click: function(n) {
|
|
59
59
|
return t.$emit("remove");
|
|
60
60
|
} } }, [t._v(" " + t._s(t.$t("remove")) + " ")])], 1) : t._e()]], 2), e("div", { staticClass: "hover-wrapper" }, [e("div", { staticClass: "hover-wrapper-text" }, [e("BaseIcon", { attrs: { type: "eye", size: "18" } }), t._v(" " + t._s(t.$t("_common:show")) + " ")], 1)])]);
|
|
61
|
-
}, o = [], c = /* @__PURE__ */
|
|
62
|
-
|
|
61
|
+
}, o = [], c = /* @__PURE__ */ r(
|
|
62
|
+
i,
|
|
63
63
|
s,
|
|
64
64
|
o,
|
|
65
65
|
!1,
|
|
66
66
|
null,
|
|
67
|
-
"
|
|
67
|
+
"8ec34149",
|
|
68
68
|
null,
|
|
69
69
|
null
|
|
70
70
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0 as ki, J as vi, f as Mi, n as Si, o as bi, a5 as Yi, a6 as Oi, a3 as xi } from "./main-95207159.js";
|
|
2
2
|
var fs = { exports: {} };
|
|
3
3
|
//! moment.js
|
|
4
4
|
//! version : 2.29.4
|
|
@@ -193,7 +193,7 @@ function ie(e, t, s) {
|
|
|
193
193
|
var i = "" + Math.abs(e), n = t - i.length, a = e >= 0;
|
|
194
194
|
return (a ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + i;
|
|
195
195
|
}
|
|
196
|
-
var Et = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
|
|
196
|
+
var Et = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, qe = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Mt = {}, Te = {};
|
|
197
197
|
function y(e, t, s, i) {
|
|
198
198
|
var n = i;
|
|
199
199
|
typeof i == "string" && (n = function() {
|
|
@@ -229,11 +229,11 @@ function gs(e, t) {
|
|
|
229
229
|
function i(n) {
|
|
230
230
|
return t.longDateFormat(n) || n;
|
|
231
231
|
}
|
|
232
|
-
for (
|
|
232
|
+
for (qe.lastIndex = 0; s >= 0 && qe.test(e); )
|
|
233
233
|
e = e.replace(
|
|
234
|
-
|
|
234
|
+
qe,
|
|
235
235
|
i
|
|
236
|
-
),
|
|
236
|
+
), qe.lastIndex = 0, s -= 1;
|
|
237
237
|
return e;
|
|
238
238
|
}
|
|
239
239
|
var Ii = {
|
|
@@ -348,7 +348,7 @@ function Bi(e, t) {
|
|
|
348
348
|
return this[e](t);
|
|
349
349
|
return this;
|
|
350
350
|
}
|
|
351
|
-
var Ds = /\d/, V = /\d\d/, ks = /\d{3}/, At = /\d{4}/, ut = /[+-]?\d{6}/, N = /\d\d?/, vs = /\d\d\d\d?/, Ms = /\d\d\d\d\d\d?/, dt = /\d{1,3}/, Ht = /\d{1,4}/, ht = /[+-]?\d{1,6}/, We = /\d+/, ft = /[+-]?\d+/,
|
|
351
|
+
var Ds = /\d/, V = /\d\d/, ks = /\d{3}/, At = /\d{4}/, ut = /[+-]?\d{6}/, N = /\d\d?/, vs = /\d\d\d\d?/, Ms = /\d\d\d\d\d\d?/, dt = /\d{1,3}/, Ht = /\d{1,4}/, ht = /[+-]?\d{1,6}/, We = /\d+/, ft = /[+-]?\d+/, Ji = /Z|[+-]\d\d:?\d\d/gi, ct = /Z|[+-]\d\d(?::?\d\d)?/gi, qi = /[+-]?\d+(\.\d{1,3})?/, ze = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, st;
|
|
352
352
|
st = {};
|
|
353
353
|
function c(e, t, s) {
|
|
354
354
|
st[e] = ae(t) ? t : function(i, n) {
|
|
@@ -943,14 +943,14 @@ function ce(e) {
|
|
|
943
943
|
}
|
|
944
944
|
return zn(e);
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Jn() {
|
|
947
947
|
return xt(P);
|
|
948
948
|
}
|
|
949
949
|
function $t(e) {
|
|
950
950
|
var t, s = e._a;
|
|
951
951
|
return s && D(e).overflow === -2 && (t = s[ue] < 0 || s[ue] > 11 ? ue : s[se] < 1 || s[se] > mt(s[I], s[ue]) ? se : s[C] < 0 || s[C] > 24 || s[C] === 24 && (s[Q] !== 0 || s[de] !== 0 || s[ke] !== 0) ? C : s[Q] < 0 || s[Q] > 59 ? Q : s[de] < 0 || s[de] > 59 ? de : s[ke] < 0 || s[ke] > 999 ? ke : -1, D(e)._overflowDayOfYear && (t < I || t > se) && (t = se), D(e)._overflowWeeks && t === -1 && (t = en), D(e)._overflowWeekday && t === -1 && (t = tn), D(e).overflow = t), e;
|
|
952
952
|
}
|
|
953
|
-
var
|
|
953
|
+
var qn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Qn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Kn = /Z|[+-]\d\d(?::?\d\d)?/, Qe = [
|
|
954
954
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
955
955
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
956
956
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -987,7 +987,7 @@ var Jn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
987
987
|
PST: -8 * 60
|
|
988
988
|
};
|
|
989
989
|
function Cs(e) {
|
|
990
|
-
var t, s, i = e._i, n =
|
|
990
|
+
var t, s, i = e._i, n = qn.exec(i) || Qn.exec(i), a, l, m, g, Y = Qe.length, O = St.length;
|
|
991
991
|
if (n) {
|
|
992
992
|
for (D(e).iso = !0, t = 0, s = Y; t < s; t++)
|
|
993
993
|
if (Qe[t][1].exec(n[1])) {
|
|
@@ -1299,7 +1299,7 @@ function Bt(e, t) {
|
|
|
1299
1299
|
var s = (t || "").match(e), i, n, a;
|
|
1300
1300
|
return s === null ? null : (i = s[s.length - 1] || [], n = (i + "").match(Sa) || ["-", 0, 0], a = +(n[1] * 60) + k(n[2]), a === 0 ? 0 : n[0] === "+" ? a : -a);
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1302
|
+
function Jt(e, t) {
|
|
1303
1303
|
var s, i;
|
|
1304
1304
|
return t._isUTC ? (s = t.clone(), i = (X(e) || Ge(e) ? e.valueOf() : R(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + i), f.updateOffset(s, !1), s) : R(e).local();
|
|
1305
1305
|
}
|
|
@@ -1340,7 +1340,7 @@ function Ta() {
|
|
|
1340
1340
|
if (this._tzm != null)
|
|
1341
1341
|
this.utcOffset(this._tzm, !1, !0);
|
|
1342
1342
|
else if (typeof this._i == "string") {
|
|
1343
|
-
var e = Bt(
|
|
1343
|
+
var e = Bt(Ji, this._i);
|
|
1344
1344
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1345
1345
|
}
|
|
1346
1346
|
return this;
|
|
@@ -1406,7 +1406,7 @@ function ds(e, t) {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
function Ea(e, t) {
|
|
1408
1408
|
var s;
|
|
1409
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1409
|
+
return e.isValid() && t.isValid() ? (t = Jt(t, e), e.isBefore(t) ? s = ds(e, t) : (s = ds(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
|
|
1410
1410
|
}
|
|
1411
1411
|
function js(e, t) {
|
|
1412
1412
|
return function(s, i) {
|
|
@@ -1484,7 +1484,7 @@ function Ga(e, t) {
|
|
|
1484
1484
|
}
|
|
1485
1485
|
function $a(e, t) {
|
|
1486
1486
|
arguments.length === 1 && (arguments[0] ? Ha(arguments[0]) ? (e = arguments[0], t = void 0) : Va(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1487
|
-
var s = e || R(), i =
|
|
1487
|
+
var s = e || R(), i = Jt(s, this).startOf("day"), n = f.calendarFormat(this, i) || "sameElse", a = t && (ae(t[n]) ? t[n].call(this, s) : t[n]);
|
|
1488
1488
|
return this.format(
|
|
1489
1489
|
a || this.localeData().calendar(n, this, R(s))
|
|
1490
1490
|
);
|
|
@@ -1500,11 +1500,11 @@ function Ba(e, t) {
|
|
|
1500
1500
|
var s = X(e) ? e : R(e);
|
|
1501
1501
|
return this.isValid() && s.isValid() ? (t = B(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function Ja(e, t, s, i) {
|
|
1504
1504
|
var n = X(e) ? e : R(e), a = X(t) ? t : R(t);
|
|
1505
1505
|
return this.isValid() && n.isValid() && a.isValid() ? (i = i || "()", (i[0] === "(" ? this.isAfter(n, s) : !this.isBefore(n, s)) && (i[1] === ")" ? this.isBefore(a, s) : !this.isAfter(a, s))) : !1;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function qa(e, t) {
|
|
1508
1508
|
var s = X(e) ? e : R(e), i;
|
|
1509
1509
|
return this.isValid() && s.isValid() ? (t = B(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (i = s.valueOf(), this.clone().startOf(t).valueOf() <= i && i <= this.clone().endOf(t).valueOf())) : !1;
|
|
1510
1510
|
}
|
|
@@ -1518,7 +1518,7 @@ function Xa(e, t, s) {
|
|
|
1518
1518
|
var i, n, a;
|
|
1519
1519
|
if (!this.isValid())
|
|
1520
1520
|
return NaN;
|
|
1521
|
-
if (i =
|
|
1521
|
+
if (i = Jt(e, this), !i.isValid())
|
|
1522
1522
|
return NaN;
|
|
1523
1523
|
switch (n = (i.utcOffset() - this.utcOffset()) * 6e4, t = B(t), t) {
|
|
1524
1524
|
case "year":
|
|
@@ -1613,17 +1613,17 @@ var nt = 1e3, Re = 60 * nt, at = 60 * Re, Bs = (365 * 400 + 97) * 24 * at;
|
|
|
1613
1613
|
function Ne(e, t) {
|
|
1614
1614
|
return (e % t + t) % t;
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1616
|
+
function Js(e, t, s) {
|
|
1617
1617
|
return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Bs : new Date(e, t, s).valueOf();
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function qs(e, t, s) {
|
|
1620
1620
|
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Bs : Date.UTC(e, t, s);
|
|
1621
1621
|
}
|
|
1622
1622
|
function lr(e) {
|
|
1623
1623
|
var t, s;
|
|
1624
1624
|
if (e = B(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1625
1625
|
return this;
|
|
1626
|
-
switch (s = this._isUTC ?
|
|
1626
|
+
switch (s = this._isUTC ? qs : Js, e) {
|
|
1627
1627
|
case "year":
|
|
1628
1628
|
t = s(this.year(), 0, 1);
|
|
1629
1629
|
break;
|
|
@@ -1674,7 +1674,7 @@ function ur(e) {
|
|
|
1674
1674
|
var t, s;
|
|
1675
1675
|
if (e = B(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1676
1676
|
return this;
|
|
1677
|
-
switch (s = this._isUTC ?
|
|
1677
|
+
switch (s = this._isUTC ? qs : Js, e) {
|
|
1678
1678
|
case "year":
|
|
1679
1679
|
t = s(this.year() + 1, 0, 1) - 1;
|
|
1680
1680
|
break;
|
|
@@ -1784,9 +1784,9 @@ y("y", ["y", 1], "yo", "eraYear");
|
|
|
1784
1784
|
y("y", ["yy", 2], 0, "eraYear");
|
|
1785
1785
|
y("y", ["yyy", 3], 0, "eraYear");
|
|
1786
1786
|
y("y", ["yyyy", 4], 0, "eraYear");
|
|
1787
|
-
c("N",
|
|
1788
|
-
c("NN",
|
|
1789
|
-
c("NNN",
|
|
1787
|
+
c("N", qt);
|
|
1788
|
+
c("NN", qt);
|
|
1789
|
+
c("NNN", qt);
|
|
1790
1790
|
c("NNNN", Rr);
|
|
1791
1791
|
c("NNNNN", Nr);
|
|
1792
1792
|
T(
|
|
@@ -1889,7 +1889,7 @@ function xr(e) {
|
|
|
1889
1889
|
function Tr(e) {
|
|
1890
1890
|
return M(this, "_erasNarrowRegex") || Qt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
1891
1891
|
}
|
|
1892
|
-
function
|
|
1892
|
+
function qt(e, t) {
|
|
1893
1893
|
return t.erasAbbrRegex(e);
|
|
1894
1894
|
}
|
|
1895
1895
|
function Rr(e, t) {
|
|
@@ -2099,8 +2099,8 @@ h.get = Zi;
|
|
|
2099
2099
|
h.invalidAt = pr;
|
|
2100
2100
|
h.isAfter = Za;
|
|
2101
2101
|
h.isBefore = Ba;
|
|
2102
|
-
h.isBetween =
|
|
2103
|
-
h.isSame =
|
|
2102
|
+
h.isBetween = Ja;
|
|
2103
|
+
h.isSame = qa;
|
|
2104
2104
|
h.isSameOrAfter = Qa;
|
|
2105
2105
|
h.isSameOrBefore = Ka;
|
|
2106
2106
|
h.isValid = yr;
|
|
@@ -2247,10 +2247,10 @@ function Kt(e, t, s, i) {
|
|
|
2247
2247
|
m[l] = rt(t, (l + a) % 7, i, "day");
|
|
2248
2248
|
return m;
|
|
2249
2249
|
}
|
|
2250
|
-
function
|
|
2250
|
+
function Jr(e, t) {
|
|
2251
2251
|
return ti(e, t, "months");
|
|
2252
2252
|
}
|
|
2253
|
-
function
|
|
2253
|
+
function qr(e, t) {
|
|
2254
2254
|
return ti(e, t, "monthsShort");
|
|
2255
2255
|
}
|
|
2256
2256
|
function Qr(e, t, s) {
|
|
@@ -2464,7 +2464,7 @@ v.lang = zs;
|
|
|
2464
2464
|
y("X", 0, 0, "unix");
|
|
2465
2465
|
y("x", 0, 0, "valueOf");
|
|
2466
2466
|
c("x", ft);
|
|
2467
|
-
c("X",
|
|
2467
|
+
c("X", qi);
|
|
2468
2468
|
T("X", function(e, t, s) {
|
|
2469
2469
|
s._d = new Date(parseFloat(e) * 1e3);
|
|
2470
2470
|
});
|
|
@@ -2480,7 +2480,7 @@ f.max = pa;
|
|
|
2480
2480
|
f.now = wa;
|
|
2481
2481
|
f.utc = ne;
|
|
2482
2482
|
f.unix = Zr;
|
|
2483
|
-
f.months =
|
|
2483
|
+
f.months = Jr;
|
|
2484
2484
|
f.isDate = Ge;
|
|
2485
2485
|
f.locale = pe;
|
|
2486
2486
|
f.invalid = ot;
|
|
@@ -2490,11 +2490,11 @@ f.weekdays = Qr;
|
|
|
2490
2490
|
f.parseZone = Br;
|
|
2491
2491
|
f.localeData = ce;
|
|
2492
2492
|
f.isDuration = Xe;
|
|
2493
|
-
f.monthsShort =
|
|
2493
|
+
f.monthsShort = qr;
|
|
2494
2494
|
f.weekdaysMin = Xr;
|
|
2495
2495
|
f.defineLocale = Gt;
|
|
2496
2496
|
f.updateLocale = Bn;
|
|
2497
|
-
f.locales =
|
|
2497
|
+
f.locales = Jn;
|
|
2498
2498
|
f.weekdaysShort = Kr;
|
|
2499
2499
|
f.normalizeUnits = B;
|
|
2500
2500
|
f.relativeTimeRounding = xo;
|
|
@@ -2566,7 +2566,7 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2566
2566
|
return [31, ai(o) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][r];
|
|
2567
2567
|
}, Be = function(o) {
|
|
2568
2568
|
U(o) && o.setHours(0, 0, 0, 0);
|
|
2569
|
-
},
|
|
2569
|
+
}, Je = function(o, r) {
|
|
2570
2570
|
return o.getTime() === r.getTime();
|
|
2571
2571
|
}, Fe = function(o, r, u) {
|
|
2572
2572
|
var d, _;
|
|
@@ -2680,7 +2680,7 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2680
2680
|
return (re + w - 1) % w;
|
|
2681
2681
|
};
|
|
2682
2682
|
o.setDate(u + p - W(d));
|
|
2683
|
-
var b = new Date(o.getFullYear(), 0, _), x = 24 * 60 * 60 * 1e3,
|
|
2683
|
+
var b = new Date(o.getFullYear(), 0, _), x = 24 * 60 * 60 * 1e3, J = (o.getTime() - b.getTime()) / x, $ = 1 + Math.round((J - p + W(b.getDay())) / w);
|
|
2684
2684
|
return $;
|
|
2685
2685
|
}, li = function(o, r, u, d) {
|
|
2686
2686
|
var _ = new Date(u, r, o), p = i ? s(_).isoWeek() : oi(_, d);
|
|
@@ -2695,12 +2695,12 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2695
2695
|
u.push('<th scope="col"><abbr title="' + ss(o, r) + '">' + ss(o, r, !0) + "</abbr></th>");
|
|
2696
2696
|
return "<thead><tr>" + (o.isRTL ? u.reverse() : u).join("") + "</tr></thead>";
|
|
2697
2697
|
}, fi = function(o, r, u, d, _, p) {
|
|
2698
|
-
var w, W, b, x = o._o,
|
|
2698
|
+
var w, W, b, x = o._o, J = u === x.minYear, $ = u === x.maxYear, re = '<div id="' + p + '" class="pika-title" role="heading" aria-live="assertive">', Ce, we, Se = !0, be = !0;
|
|
2699
2699
|
for (b = [], w = 0; w < 12; w++)
|
|
2700
|
-
b.push('<option value="' + (u === _ ? w - r : 12 + w - r) + '"' + (w === d ? ' selected="selected"' : "") + (
|
|
2700
|
+
b.push('<option value="' + (u === _ ? w - r : 12 + w - r) + '"' + (w === d ? ' selected="selected"' : "") + (J && w < x.minMonth || $ && w > x.maxMonth ? ' disabled="disabled"' : "") + ">" + x.i18n.months[w] + "</option>");
|
|
2701
2701
|
for (Ce = '<div class="pika-label">' + x.i18n.months[d] + '<select class="pika-select pika-select-month" tabindex="-1">' + b.join("") + "</select></div>", wt(x.yearRange) ? (w = x.yearRange[0], W = x.yearRange[1] + 1) : (w = u - x.yearRange, W = 1 + u + x.yearRange), b = []; w < W && w <= x.maxYear; w++)
|
|
2702
2702
|
w >= x.minYear && b.push('<option value="' + w + '"' + (w === u ? ' selected="selected"' : "") + ">" + w + "</option>");
|
|
2703
|
-
return we = '<div class="pika-label">' + u + x.yearSuffix + '<select class="pika-select pika-select-year" tabindex="-1">' + b.join("") + "</select></div>", x.showMonthAfterYear ? re += we + Ce : re += Ce + we,
|
|
2703
|
+
return we = '<div class="pika-label">' + u + x.yearSuffix + '<select class="pika-select pika-select-year" tabindex="-1">' + b.join("") + "</select></div>", x.showMonthAfterYear ? re += we + Ce : re += Ce + we, J && (d === 0 || x.minMonth >= d) && (Se = !1), $ && (d === 11 || x.maxMonth <= d) && (be = !1), r === 0 && (re += '<button class="pika-prev' + (Se ? "" : " is-disabled") + '" type="button">' + x.i18n.previousMonth + "</button>"), r === o._o.numberOfMonths - 1 && (re += '<button class="pika-next' + (be ? "" : " is-disabled") + '" type="button">' + x.i18n.nextMonth + "</button>"), re += "</div>";
|
|
2704
2704
|
}, ci = function(o, r, u) {
|
|
2705
2705
|
return '<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="' + u + '">' + hi(o) + di(r) + "</table>";
|
|
2706
2706
|
}, is = function(o) {
|
|
@@ -2926,14 +2926,14 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2926
2926
|
}
|
|
2927
2927
|
},
|
|
2928
2928
|
adjustPosition: function() {
|
|
2929
|
-
var o, r, u, d, _, p, w, W, b, x,
|
|
2929
|
+
var o, r, u, d, _, p, w, W, b, x, J, $;
|
|
2930
2930
|
if (!this._o.container) {
|
|
2931
|
-
if (this.el.style.position = "absolute", o = this._o.trigger, r = o, u = this.el.offsetWidth, d = this.el.offsetHeight, _ = window.innerWidth || a.documentElement.clientWidth, p = window.innerHeight || a.documentElement.clientHeight, w = window.pageYOffset || a.body.scrollTop || a.documentElement.scrollTop,
|
|
2931
|
+
if (this.el.style.position = "absolute", o = this._o.trigger, r = o, u = this.el.offsetWidth, d = this.el.offsetHeight, _ = window.innerWidth || a.documentElement.clientWidth, p = window.innerHeight || a.documentElement.clientHeight, w = window.pageYOffset || a.body.scrollTop || a.documentElement.scrollTop, J = !0, $ = !0, typeof o.getBoundingClientRect == "function")
|
|
2932
2932
|
x = o.getBoundingClientRect(), W = x.left + window.pageXOffset, b = x.bottom + window.pageYOffset;
|
|
2933
2933
|
else
|
|
2934
2934
|
for (W = r.offsetLeft, b = r.offsetTop + r.offsetHeight; r = r.offsetParent; )
|
|
2935
2935
|
W += r.offsetLeft, b += r.offsetTop;
|
|
2936
|
-
(this._o.reposition && W + u > _ || this._o.position.indexOf("right") > -1 && W - u + o.offsetWidth > 0) && (W = W - u + o.offsetWidth,
|
|
2936
|
+
(this._o.reposition && W + u > _ || this._o.position.indexOf("right") > -1 && W - u + o.offsetWidth > 0) && (W = W - u + o.offsetWidth, J = !1), (this._o.reposition && b + d > p + w || this._o.position.indexOf("top") > -1 && b - d - o.offsetHeight > 0) && (b = b - d - o.offsetHeight, $ = !1), this.el.style.left = W + "px", this.el.style.top = b + "px", H(this.el, J ? "left-aligned" : "right-aligned"), H(this.el, $ ? "bottom-aligned" : "top-aligned"), G(this.el, J ? "right-aligned" : "left-aligned"), G(this.el, $ ? "top-aligned" : "bottom-aligned");
|
|
2937
2937
|
}
|
|
2938
2938
|
},
|
|
2939
2939
|
/**
|
|
@@ -2942,12 +2942,12 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2942
2942
|
render: function(o, r, u) {
|
|
2943
2943
|
var d = this._o, _ = /* @__PURE__ */ new Date(), p = Xt(o, r), w = new Date(o, r, 1).getDay(), W = [], b = [];
|
|
2944
2944
|
Be(_), d.firstDay > 0 && (w -= d.firstDay, w < 0 && (w += 7));
|
|
2945
|
-
for (var x = r === 0 ? 11 : r - 1,
|
|
2945
|
+
for (var x = r === 0 ? 11 : r - 1, J = r === 11 ? 0 : r + 1, $ = r === 0 ? o - 1 : o, re = r === 11 ? o + 1 : o, Ce = Xt($, x), we = p + w, Se = we; Se > 7; )
|
|
2946
2946
|
Se -= 7;
|
|
2947
2947
|
we += 7 - Se;
|
|
2948
2948
|
for (var be = !1, _e = 0, ns = 0; _e < we; _e++) {
|
|
2949
|
-
var
|
|
2950
|
-
rs && (_e < w ? (Ie = Ce + Ie, Dt = x, kt = $) : (Ie = Ie - p, Dt =
|
|
2949
|
+
var q = new Date(o, r, 1 + (_e - w)), as = U(this._d) ? Je(q, this._d) : !1, mi = Je(q, _), _i = d.events.indexOf(q.toDateString()) !== -1, rs = _e < w || _e >= p + w, Ie = 1 + (_e - w), Dt = r, kt = o, yi = d.startRange && Je(d.startRange, q), gi = d.endRange && Je(d.endRange, q), pi = d.startRange && d.endRange && d.startRange < q && q < d.endRange, wi = d.minDate && q < d.minDate || d.maxDate && q > d.maxDate || d.disableWeekends && ni(q) || d.disableDayFn && d.disableDayFn(q);
|
|
2950
|
+
rs && (_e < w ? (Ie = Ce + Ie, Dt = x, kt = $) : (Ie = Ie - p, Dt = J, kt = re));
|
|
2951
2951
|
var Di = {
|
|
2952
2952
|
day: Ie,
|
|
2953
2953
|
month: Dt,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as we, f as De, n as $e, a7 as ye, a2 as ve } from "./main-95207159.js";
|
|
2
2
|
/*!
|
|
3
3
|
* Compressor.js v1.1.1
|
|
4
4
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -22,7 +22,7 @@ function le(s) {
|
|
|
22
22
|
for (var n = 1; n < arguments.length; n++) {
|
|
23
23
|
var a = arguments[n] != null ? arguments[n] : {};
|
|
24
24
|
n % 2 ? be(Object(a), !0).forEach(function(l) {
|
|
25
|
-
|
|
25
|
+
Se(s, l, a[l]);
|
|
26
26
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : be(Object(a)).forEach(function(l) {
|
|
27
27
|
Object.defineProperty(s, l, Object.getOwnPropertyDescriptor(a, l));
|
|
28
28
|
});
|
|
@@ -39,10 +39,10 @@ function _e(s, n) {
|
|
|
39
39
|
l.enumerable = l.enumerable || !1, l.configurable = !0, "value" in l && (l.writable = !0), Object.defineProperty(s, l.key, l);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Te(s, n, a) {
|
|
43
43
|
return n && _e(s.prototype, n), a && _e(s, a), s;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Se(s, n, a) {
|
|
46
46
|
return n in s ? Object.defineProperty(s, n, {
|
|
47
47
|
value: a,
|
|
48
48
|
enumerable: !0,
|
|
@@ -76,12 +76,12 @@ var Ee = { exports: {} };
|
|
|
76
76
|
return !1;
|
|
77
77
|
}
|
|
78
78
|
}(), c = n.BlobBuilder || n.WebKitBlobBuilder || n.MozBlobBuilder || n.MSBlobBuilder, m = /^data:((.*?)(;charset=.*?)?)(;base64)?,/, y = (l || c) && n.atob && n.ArrayBuffer && n.Uint8Array && function(g) {
|
|
79
|
-
var _, U, A, B,
|
|
79
|
+
var _, U, A, B, T, v, S, w, H;
|
|
80
80
|
if (_ = g.match(m), !_)
|
|
81
81
|
throw new Error("invalid data URI");
|
|
82
|
-
for (U = _[2] ? _[1] : "text/plain" + (_[3] || ";charset=US-ASCII"), A = !!_[4], B = g.slice(_[0].length), A ?
|
|
83
|
-
|
|
84
|
-
return l ? new Blob([d ?
|
|
82
|
+
for (U = _[2] ? _[1] : "text/plain" + (_[3] || ";charset=US-ASCII"), A = !!_[4], B = g.slice(_[0].length), A ? T = atob(B) : T = decodeURIComponent(B), v = new ArrayBuffer(T.length), S = new Uint8Array(v), w = 0; w < T.length; w += 1)
|
|
83
|
+
S[w] = T.charCodeAt(w);
|
|
84
|
+
return l ? new Blob([d ? S : v], {
|
|
85
85
|
type: U
|
|
86
86
|
}) : (H = new c(), H.append(v), H.getBlob(U));
|
|
87
87
|
};
|
|
@@ -274,10 +274,10 @@ function qe(s) {
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
if (c) {
|
|
277
|
-
var B = n.getUint16(c, l),
|
|
277
|
+
var B = n.getUint16(c, l), T, v;
|
|
278
278
|
for (v = 0; v < B; v += 1)
|
|
279
|
-
if (
|
|
280
|
-
|
|
279
|
+
if (T = c + v * 12 + 2, n.getUint16(T, l) === 274) {
|
|
280
|
+
T += 8, a = n.getUint16(T, l), n.setUint16(T, 1, l);
|
|
281
281
|
break;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
@@ -338,7 +338,7 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
338
338
|
function s(n, a) {
|
|
339
339
|
Re(this, s), this.file = n, this.image = new Image(), this.options = le(le({}, ke), a), this.aborted = !1, this.result = null, this.init();
|
|
340
340
|
}
|
|
341
|
-
return
|
|
341
|
+
return Te(s, [{
|
|
342
342
|
key: "init",
|
|
343
343
|
value: function() {
|
|
344
344
|
var a = this, l = this.file, d = this.options;
|
|
@@ -396,7 +396,7 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
396
396
|
}, {
|
|
397
397
|
key: "draw",
|
|
398
398
|
value: function(a) {
|
|
399
|
-
var l = this, d = a.naturalWidth, c = a.naturalHeight, m = a.rotate, y = m === void 0 ? 0 : m, g = a.scaleX, _ = g === void 0 ? 1 : g, U = a.scaleY, A = U === void 0 ? 1 : U, B = this.file,
|
|
399
|
+
var l = this, d = a.naturalWidth, c = a.naturalHeight, m = a.rotate, y = m === void 0 ? 0 : m, g = a.scaleX, _ = g === void 0 ? 1 : g, U = a.scaleY, A = U === void 0 ? 1 : U, B = this.file, T = this.image, v = this.options, S = document.createElement("canvas"), w = S.getContext("2d"), H = Math.abs(y) % 180 === 90, G = (v.resize === "contain" || v.resize === "cover") && de(v.width) && de(v.height), F = Math.max(v.maxWidth, 0) || 1 / 0, I = Math.max(v.maxHeight, 0) || 1 / 0, z = Math.max(v.minWidth, 0) || 0, W = Math.max(v.minHeight, 0) || 0, L = d / c, D = v.width, $ = v.height;
|
|
400
400
|
if (H) {
|
|
401
401
|
var Q = [I, F];
|
|
402
402
|
F = Q[0], I = Q[1];
|
|
@@ -451,9 +451,9 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
451
451
|
var r = [$, D];
|
|
452
452
|
D = r[0], $ = r[1];
|
|
453
453
|
}
|
|
454
|
-
|
|
454
|
+
S.width = D, S.height = $, ge(v.mimeType) || (v.mimeType = B.type);
|
|
455
455
|
var i = "transparent";
|
|
456
|
-
if (B.size > v.convertSize && v.convertTypes.indexOf(v.mimeType) >= 0 && (v.mimeType = "image/jpeg"), v.mimeType === "image/jpeg" && (i = "#fff"), w.fillStyle = i, w.fillRect(0, 0, D, $), v.beforeDraw && v.beforeDraw.call(this, w,
|
|
456
|
+
if (B.size > v.convertSize && v.convertTypes.indexOf(v.mimeType) >= 0 && (v.mimeType = "image/jpeg"), v.mimeType === "image/jpeg" && (i = "#fff"), w.fillStyle = i, w.fillRect(0, 0, D, $), v.beforeDraw && v.beforeDraw.call(this, w, S), !this.aborted && (w.save(), w.translate(D / 2, $ / 2), w.rotate(y * Math.PI / 180), w.scale(_, A), w.drawImage.apply(w, [T].concat(J)), w.restore(), v.drew && v.drew.call(this, w, S), !this.aborted)) {
|
|
457
457
|
var u = function(h) {
|
|
458
458
|
l.aborted || l.done({
|
|
459
459
|
naturalWidth: d,
|
|
@@ -461,7 +461,7 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
461
461
|
result: h
|
|
462
462
|
});
|
|
463
463
|
};
|
|
464
|
-
|
|
464
|
+
S.toBlob ? S.toBlob(u, v.mimeType, v.quality) : u(Be(S.toDataURL(v.mimeType, v.quality)));
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
}, {
|
|
@@ -966,10 +966,10 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
966
966
|
}
|
|
967
967
|
return r;
|
|
968
968
|
}
|
|
969
|
-
var A = U, B = _,
|
|
969
|
+
var A = U, B = _, T = function() {
|
|
970
970
|
var t = this, r = t.$createElement, i = t._self._c || r;
|
|
971
971
|
return i("input", { attrs: { type: "file", name: t.$parent.name, id: t.$parent.inputId || t.$parent.name, accept: t.$parent.accept, capture: t.$parent.capture, disabled: t.$parent.disabled, webkitdirectory: t.$parent.directory && t.$parent.features.directory, directory: t.$parent.directory && t.$parent.features.directory, multiple: t.$parent.multiple && t.$parent.features.html5 }, on: { change: t.change } });
|
|
972
|
-
}, v = [],
|
|
972
|
+
}, v = [], S = void 0, w = void 0, H = void 0, G = !1, F = A({ render: T, staticRenderFns: v }, S, B, w, G, H, void 0, void 0), I = Object.assign || function(f) {
|
|
973
973
|
for (var t = 1; t < arguments.length; t++) {
|
|
974
974
|
var r = arguments[t];
|
|
975
975
|
for (var i in r)
|
|
@@ -1698,7 +1698,7 @@ const Qe = {
|
|
|
1698
1698
|
name: "BaseUpload",
|
|
1699
1699
|
components: {
|
|
1700
1700
|
FileUpload: Ve,
|
|
1701
|
-
UploadModal: () => import("./UploadModal-
|
|
1701
|
+
UploadModal: () => import("./UploadModal-0cbd0c8f.js")
|
|
1702
1702
|
},
|
|
1703
1703
|
props: {
|
|
1704
1704
|
// Optional function to handle any errors
|
|
@@ -1852,24 +1852,25 @@ const Qe = {
|
|
|
1852
1852
|
if (this.onError)
|
|
1853
1853
|
this.onError(s);
|
|
1854
1854
|
else {
|
|
1855
|
+
let a = null;
|
|
1855
1856
|
switch (s.error) {
|
|
1856
1857
|
case "extension": {
|
|
1857
|
-
const
|
|
1858
|
-
this.$t("errors.extension", { extensions:
|
|
1858
|
+
const l = this.extensions.replace(/,/g, ", ");
|
|
1859
|
+
a = this.$t("errors.extension", { extensions: l });
|
|
1859
1860
|
break;
|
|
1860
1861
|
}
|
|
1861
1862
|
case "size": {
|
|
1862
|
-
this.$t("errors.size", { maxFileSize: `${this.maxSize / 1e6} MB` });
|
|
1863
|
+
a = this.$t("errors.size", { maxFileSize: `${this.maxSize / 1e6} MB` });
|
|
1863
1864
|
break;
|
|
1864
1865
|
}
|
|
1865
1866
|
case "ECONNREFUSED": {
|
|
1866
|
-
this.$t("errors.ECONNREFUSED");
|
|
1867
|
+
a = this.$t("errors.ECONNREFUSED");
|
|
1867
1868
|
break;
|
|
1868
1869
|
}
|
|
1869
1870
|
default:
|
|
1870
|
-
`${this.$t("errors.general")}${s.error}`;
|
|
1871
|
+
a = `${this.$t("errors.general")}: ${s.error}`;
|
|
1871
1872
|
}
|
|
1872
|
-
ve("error");
|
|
1873
|
+
ve("error", a);
|
|
1873
1874
|
}
|
|
1874
1875
|
this.remove(s);
|
|
1875
1876
|
}
|
|
@@ -1953,7 +1954,7 @@ var Ze = function() {
|
|
|
1953
1954
|
et,
|
|
1954
1955
|
!1,
|
|
1955
1956
|
null,
|
|
1956
|
-
"
|
|
1957
|
+
"9c337339",
|
|
1957
1958
|
null,
|
|
1958
1959
|
null
|
|
1959
1960
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { n as a, c as s } from "./main-95207159.js";
|
|
2
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
|
|
3
3
|
const i = {
|
|
4
4
|
name: "CCallout",
|
|
5
5
|
components: {
|
|
6
|
-
CButton:
|
|
6
|
+
CButton: s
|
|
7
7
|
},
|
|
8
8
|
props: {
|
|
9
9
|
title: String,
|
|
@@ -29,20 +29,20 @@ var n = function() {
|
|
|
29
29
|
return e("transition", { attrs: { name: "fade" } }, [t.legacy ? e("article", { staticClass: "message", class: [
|
|
30
30
|
`is-${t.type}`,
|
|
31
31
|
`is-${t.size}`
|
|
32
|
-
] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: ".
|
|
32
|
+
] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: "calc(.5 * var(--rem))", position: "absolute", top: "calc(.5 * var(--rem))" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(o) {
|
|
33
33
|
return t.$emit("close");
|
|
34
34
|
} } }) : t._e()], 1) : e("div", { staticClass: "flex p-4 border border-gray-200 rounded-md bg-gray-50" }, [t.icon ? e("div", { staticClass: "mr-3 -mt-px" }, [e("BaseIcon", { attrs: { type: t.icon, size: "16" } })], 1) : t._e(), e("div", [e("div", [t._t("title", function() {
|
|
35
35
|
return [e("div", { staticClass: "font-medium" }, [t._v(t._s(t.title))])];
|
|
36
36
|
})], 2), e("div", { staticClass: "text-gray-800" }, [t._t("default", function() {
|
|
37
37
|
return [e("div", { staticClass: "mb-2 text-gray-500" }, [t._v(t._s(t.text))])];
|
|
38
38
|
})], 2)])])]);
|
|
39
|
-
}, l = [], r = /* @__PURE__ */
|
|
39
|
+
}, l = [], r = /* @__PURE__ */ a(
|
|
40
40
|
i,
|
|
41
41
|
n,
|
|
42
42
|
l,
|
|
43
43
|
!1,
|
|
44
44
|
null,
|
|
45
|
-
"
|
|
45
|
+
"a730b003",
|
|
46
46
|
null,
|
|
47
47
|
null
|
|
48
48
|
);
|