@vue-pdf-viewer/viewer 4.3.0-beta.5 → 4.3.0-rc.1
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/{VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-vw2nGP4v.js → VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-BbYYWdfM.js} +622 -616
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-CvP7F5Al.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-qkKqZapU.cjs} +6 -6
- package/dist/{index-DdyqysUp.js → index-CfLsjkgx.js} +1 -1
- package/dist/{index-Dx8xgieN.cjs → index-PdGOJ4Nn.cjs} +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.js +9517 -9147
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/dist/types/composables/useAnnotationFreeText.d.ts +2 -0
- package/dist/types/composables/useAnnotationHighlight.d.ts +2 -0
- package/dist/types/composables/useAnnotationStamp.d.ts +2 -0
- package/dist/types/composables/useAnnotationStrikethrough.d.ts +3 -0
- package/dist/types/composables/useAnnotationUnderline.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isRef as Me, reactive as Ee, unref as bt, ref as _, toValue as
|
|
1
|
+
import { isRef as Me, reactive as Ee, unref as bt, ref as _, toValue as M, watch as Z, shallowReadonly as Co, onMounted as Tt, nextTick as Ce, getCurrentScope as Io, onScopeDispose as ko, onUnmounted as Oo, toRefs as ut, customRef as St, computed as G, getCurrentInstance as Be, readonly as qt, toRef as Fo, shallowRef as j, onUpdated as zo, watchEffect as Do, inject as Ct, toRaw as re } from "vue";
|
|
2
2
|
import "pdfjs-dist";
|
|
3
3
|
import "./assets/pdf-annotations/annotation-noicon.svg";
|
|
4
4
|
import "./assets/pdf-annotations/annotation-note.svg";
|
|
@@ -28,7 +28,7 @@ import "./assets/pdf-annotations/toolbarButton-editorHighlight.svg";
|
|
|
28
28
|
function Mo(e) {
|
|
29
29
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var Qt = { exports: {} }, Y = Qt.exports = {}, le, se;
|
|
32
32
|
function pt() {
|
|
33
33
|
throw new Error("setTimeout has not been defined");
|
|
34
34
|
}
|
|
@@ -138,7 +138,7 @@ Y.chdir = function(e) {
|
|
|
138
138
|
Y.umask = function() {
|
|
139
139
|
return 0;
|
|
140
140
|
};
|
|
141
|
-
var Ho =
|
|
141
|
+
var Ho = Qt.exports;
|
|
142
142
|
const rb = /* @__PURE__ */ Mo(Ho), It = globalThis || void 0 || self;
|
|
143
143
|
function Bo(e, t, o = {}) {
|
|
144
144
|
let n, a, i, s = !0;
|
|
@@ -192,7 +192,7 @@ function Wo(e) {
|
|
|
192
192
|
}
|
|
193
193
|
function lb(e, ...t) {
|
|
194
194
|
const o = t.flat(), n = o[0];
|
|
195
|
-
return Wo(() => Object.fromEntries(typeof n == "function" ? Object.entries(ut(e)).filter(([a, i]) => !n(
|
|
195
|
+
return Wo(() => Object.fromEntries(typeof n == "function" ? Object.entries(ut(e)).filter(([a, i]) => !n(M(i), a)) : Object.entries(ut(e)).filter((a) => !o.includes(a[0]))));
|
|
196
196
|
}
|
|
197
197
|
const et = typeof window < "u" && typeof document < "u";
|
|
198
198
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -202,11 +202,11 @@ function Ko() {
|
|
|
202
202
|
var e, t;
|
|
203
203
|
return et && ((e = window?.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window?.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function qo(...e) {
|
|
206
206
|
if (e.length !== 1)
|
|
207
207
|
return Fo(...e);
|
|
208
208
|
const t = e[0];
|
|
209
|
-
return typeof t == "function" ?
|
|
209
|
+
return typeof t == "function" ? qt(St(() => ({ get: t, set: J }))) : _(t);
|
|
210
210
|
}
|
|
211
211
|
function vt(e, t) {
|
|
212
212
|
function o(...n) {
|
|
@@ -217,14 +217,14 @@ function vt(e, t) {
|
|
|
217
217
|
return o;
|
|
218
218
|
}
|
|
219
219
|
const _t = (e) => e();
|
|
220
|
-
function
|
|
220
|
+
function Qo(e, t = {}) {
|
|
221
221
|
let o, n, a = J;
|
|
222
222
|
const i = (l) => {
|
|
223
223
|
clearTimeout(l), a(), a = J;
|
|
224
224
|
};
|
|
225
225
|
let s;
|
|
226
226
|
return (l) => {
|
|
227
|
-
const c =
|
|
227
|
+
const c = M(e), p = M(t.maxWait);
|
|
228
228
|
return o && i(o), c <= 0 || p !== void 0 && p <= 0 ? (n && (i(n), n = void 0), Promise.resolve(l())) : new Promise((u, b) => {
|
|
229
229
|
a = t.rejectOnCancel ? b : u, s = l, p && !n && (n = setTimeout(() => {
|
|
230
230
|
o && i(o), n = void 0, u(s());
|
|
@@ -241,10 +241,10 @@ function Xo(...e) {
|
|
|
241
241
|
o && (clearTimeout(o), o = void 0, a(), a = J);
|
|
242
242
|
};
|
|
243
243
|
return (b) => {
|
|
244
|
-
const T =
|
|
245
|
-
return p(), T <= 0 ? (t = Date.now(),
|
|
246
|
-
a = c ?
|
|
247
|
-
t = Date.now(), n = !0, d(
|
|
244
|
+
const T = M(s), x = Date.now() - t, C = () => i = b();
|
|
245
|
+
return p(), T <= 0 ? (t = Date.now(), C()) : (x > T && (l || !n) ? (t = Date.now(), C()) : r && (i = new Promise((d, m) => {
|
|
246
|
+
a = c ? m : d, o = setTimeout(() => {
|
|
247
|
+
t = Date.now(), n = !0, d(C()), p();
|
|
248
248
|
}, Math.max(0, T - x));
|
|
249
249
|
})), !l && !o && (o = setTimeout(() => n = !0, T)), n = !1, i);
|
|
250
250
|
};
|
|
@@ -252,7 +252,7 @@ function Xo(...e) {
|
|
|
252
252
|
function Jo(e = _t, t = {}) {
|
|
253
253
|
const {
|
|
254
254
|
initialState: o = "active"
|
|
255
|
-
} = t, n =
|
|
255
|
+
} = t, n = qo(o === "active");
|
|
256
256
|
function a() {
|
|
257
257
|
n.value = !1;
|
|
258
258
|
}
|
|
@@ -262,7 +262,7 @@ function Jo(e = _t, t = {}) {
|
|
|
262
262
|
const s = (...r) => {
|
|
263
263
|
n.value && e(...r);
|
|
264
264
|
};
|
|
265
|
-
return { isActive:
|
|
265
|
+
return { isActive: qt(n), pause: a, resume: i, eventFilter: s };
|
|
266
266
|
}
|
|
267
267
|
function ye(e) {
|
|
268
268
|
return Array.isArray(e) ? e : [e];
|
|
@@ -273,12 +273,12 @@ function eo(e) {
|
|
|
273
273
|
// @__NO_SIDE_EFFECTS__
|
|
274
274
|
function to(e, t = 200, o = {}) {
|
|
275
275
|
return vt(
|
|
276
|
-
|
|
276
|
+
Qo(t, o),
|
|
277
277
|
e
|
|
278
278
|
);
|
|
279
279
|
}
|
|
280
280
|
function sb(e, t = 200, o = {}) {
|
|
281
|
-
const n = _(
|
|
281
|
+
const n = _(M(e)), a = /* @__PURE__ */ to(() => {
|
|
282
282
|
n.value = e.value;
|
|
283
283
|
}, t, o);
|
|
284
284
|
return Z(e, () => a()), Co(n);
|
|
@@ -330,7 +330,7 @@ function en(e, t = {}) {
|
|
|
330
330
|
},
|
|
331
331
|
set(a) {
|
|
332
332
|
var i;
|
|
333
|
-
if ((i =
|
|
333
|
+
if ((i = M(t.replaceRef)) != null ? i : !0)
|
|
334
334
|
if (Array.isArray(e.value)) {
|
|
335
335
|
const r = [...e.value];
|
|
336
336
|
r[n] = a, e.value = r;
|
|
@@ -373,24 +373,24 @@ function nn(e, t, o) {
|
|
|
373
373
|
const oe = et ? window : void 0, an = et ? window.document : void 0;
|
|
374
374
|
function V(e) {
|
|
375
375
|
var t;
|
|
376
|
-
const o =
|
|
376
|
+
const o = M(e);
|
|
377
377
|
return (t = o?.$el) != null ? t : o;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function U(...e) {
|
|
380
380
|
const t = [], o = () => {
|
|
381
381
|
t.forEach((r) => r()), t.length = 0;
|
|
382
382
|
}, n = (r, l, c, p) => (r.addEventListener(l, c, p), () => r.removeEventListener(l, c, p)), a = G(() => {
|
|
383
|
-
const r = ye(
|
|
383
|
+
const r = ye(M(e[0])).filter((l) => l != null);
|
|
384
384
|
return r.every((l) => typeof l != "string") ? r : void 0;
|
|
385
385
|
}), i = on(
|
|
386
386
|
() => {
|
|
387
387
|
var r, l;
|
|
388
388
|
return [
|
|
389
389
|
(l = (r = a.value) == null ? void 0 : r.map((c) => V(c))) != null ? l : [oe].filter((c) => c != null),
|
|
390
|
-
ye(
|
|
390
|
+
ye(M(a.value ? e[1] : e[0])),
|
|
391
391
|
ye(bt(a.value ? e[2] : e[1])),
|
|
392
392
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
393
|
-
|
|
393
|
+
M(a.value ? e[3] : e[2])
|
|
394
394
|
];
|
|
395
395
|
},
|
|
396
396
|
([r, l, c, p]) => {
|
|
@@ -419,28 +419,28 @@ function cb(e, t, o = {}) {
|
|
|
419
419
|
if (Yo && !kt) {
|
|
420
420
|
kt = !0;
|
|
421
421
|
const d = { passive: !0 };
|
|
422
|
-
Array.from(n.document.body.children).forEach((
|
|
422
|
+
Array.from(n.document.body.children).forEach((m) => m.addEventListener("click", J, d)), n.document.documentElement.addEventListener("click", J, d);
|
|
423
423
|
}
|
|
424
424
|
let l = !0;
|
|
425
|
-
const c = (d) =>
|
|
426
|
-
if (typeof
|
|
427
|
-
return Array.from(n.document.querySelectorAll(
|
|
425
|
+
const c = (d) => M(a).some((m) => {
|
|
426
|
+
if (typeof m == "string")
|
|
427
|
+
return Array.from(n.document.querySelectorAll(m)).some((h) => h === d.target || d.composedPath().includes(h));
|
|
428
428
|
{
|
|
429
|
-
const h = V(
|
|
429
|
+
const h = V(m);
|
|
430
430
|
return h && (d.target === h || d.composedPath().includes(h));
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
function p(d) {
|
|
434
|
-
const
|
|
435
|
-
return
|
|
434
|
+
const m = M(d);
|
|
435
|
+
return m && m.$.subTree.shapeFlag === 16;
|
|
436
436
|
}
|
|
437
|
-
function u(d,
|
|
438
|
-
const h =
|
|
439
|
-
return v == null || !Array.isArray(v) ? !1 : v.some((
|
|
437
|
+
function u(d, m) {
|
|
438
|
+
const h = M(d), v = h.$.subTree && h.$.subTree.children;
|
|
439
|
+
return v == null || !Array.isArray(v) ? !1 : v.some((F) => F.el === m.target || m.composedPath().includes(F.el));
|
|
440
440
|
}
|
|
441
441
|
const b = (d) => {
|
|
442
|
-
const
|
|
443
|
-
if (d.target != null && !(!(
|
|
442
|
+
const m = V(e);
|
|
443
|
+
if (d.target != null && !(!(m instanceof Element) && p(e) && u(e, d)) && !(!m || m === d.target || d.composedPath().includes(m))) {
|
|
444
444
|
if ("detail" in d && d.detail === 0 && (l = !c(d)), !l) {
|
|
445
445
|
l = !0;
|
|
446
446
|
return;
|
|
@@ -450,32 +450,32 @@ function cb(e, t, o = {}) {
|
|
|
450
450
|
};
|
|
451
451
|
let T = !1;
|
|
452
452
|
const x = [
|
|
453
|
-
|
|
453
|
+
U(n, "click", (d) => {
|
|
454
454
|
T || (T = !0, setTimeout(() => {
|
|
455
455
|
T = !1;
|
|
456
456
|
}, 0), b(d));
|
|
457
457
|
}, { passive: !0, capture: i }),
|
|
458
|
-
|
|
459
|
-
const
|
|
460
|
-
l = !c(d) && !!(
|
|
458
|
+
U(n, "pointerdown", (d) => {
|
|
459
|
+
const m = V(e);
|
|
460
|
+
l = !c(d) && !!(m && !d.composedPath().includes(m));
|
|
461
461
|
}, { passive: !0 }),
|
|
462
|
-
s &&
|
|
462
|
+
s && U(n, "blur", (d) => {
|
|
463
463
|
setTimeout(() => {
|
|
464
|
-
var
|
|
464
|
+
var m;
|
|
465
465
|
const h = V(e);
|
|
466
|
-
((
|
|
466
|
+
((m = n.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !h?.contains(n.document.activeElement) && t(d);
|
|
467
467
|
}, 0);
|
|
468
468
|
}, { passive: !0 })
|
|
469
|
-
].filter(Boolean),
|
|
469
|
+
].filter(Boolean), C = () => x.forEach((d) => d());
|
|
470
470
|
return r ? {
|
|
471
|
-
stop:
|
|
471
|
+
stop: C,
|
|
472
472
|
cancel: () => {
|
|
473
473
|
l = !1;
|
|
474
474
|
},
|
|
475
475
|
trigger: (d) => {
|
|
476
476
|
l = !0, b(d), l = !1;
|
|
477
477
|
}
|
|
478
|
-
} :
|
|
478
|
+
} : C;
|
|
479
479
|
}
|
|
480
480
|
// @__NO_SIDE_EFFECTS__
|
|
481
481
|
function rn() {
|
|
@@ -495,7 +495,7 @@ function He(e, t, o = {}) {
|
|
|
495
495
|
const s = /* @__PURE__ */ tt(() => n && "MutationObserver" in n), r = () => {
|
|
496
496
|
i && (i.disconnect(), i = void 0);
|
|
497
497
|
}, l = G(() => {
|
|
498
|
-
const b =
|
|
498
|
+
const b = M(e), T = ye(b).map(V).filter($t);
|
|
499
499
|
return new Set(T);
|
|
500
500
|
}), c = Z(
|
|
501
501
|
l,
|
|
@@ -566,14 +566,14 @@ function ub(e = {}) {
|
|
|
566
566
|
capture: !0,
|
|
567
567
|
passive: !0
|
|
568
568
|
};
|
|
569
|
-
|
|
569
|
+
U(
|
|
570
570
|
o,
|
|
571
571
|
"blur",
|
|
572
572
|
(p) => {
|
|
573
573
|
p.relatedTarget === null && l();
|
|
574
574
|
},
|
|
575
575
|
c
|
|
576
|
-
),
|
|
576
|
+
), U(
|
|
577
577
|
o,
|
|
578
578
|
"focus",
|
|
579
579
|
l,
|
|
@@ -644,7 +644,7 @@ function mn(e, t, o, n = {}) {
|
|
|
644
644
|
console.error(w);
|
|
645
645
|
},
|
|
646
646
|
initOnMounted: x
|
|
647
|
-
} = n,
|
|
647
|
+
} = n, C = (p ? j : _)(typeof t == "function" ? t() : t), d = G(() => M(e));
|
|
648
648
|
if (!o)
|
|
649
649
|
try {
|
|
650
650
|
o = pn("getDefaultStorage", () => {
|
|
@@ -655,80 +655,80 @@ function mn(e, t, o, n = {}) {
|
|
|
655
655
|
T(w);
|
|
656
656
|
}
|
|
657
657
|
if (!o)
|
|
658
|
-
return
|
|
659
|
-
const
|
|
660
|
-
|
|
661
|
-
(w) =>
|
|
658
|
+
return C;
|
|
659
|
+
const m = M(t), h = dn(m), v = (a = n.serializer) != null ? a : gn[h], { pause: F, resume: D } = _o(
|
|
660
|
+
C,
|
|
661
|
+
(w) => O(w),
|
|
662
662
|
{ flush: i, deep: s, eventFilter: b }
|
|
663
663
|
);
|
|
664
|
-
Z(d, () =>
|
|
664
|
+
Z(d, () => z(), { flush: i });
|
|
665
665
|
let A = !1;
|
|
666
666
|
const S = (w) => {
|
|
667
|
-
x && !A ||
|
|
668
|
-
},
|
|
669
|
-
x && !A ||
|
|
667
|
+
x && !A || z(w);
|
|
668
|
+
}, g = (w) => {
|
|
669
|
+
x && !A || B(w);
|
|
670
670
|
};
|
|
671
|
-
u && r && (o instanceof Storage ?
|
|
672
|
-
A = !0,
|
|
673
|
-
}) :
|
|
674
|
-
function f(w,
|
|
671
|
+
u && r && (o instanceof Storage ? U(u, "storage", S, { passive: !0 }) : U(u, Ot, g)), x ? ke(() => {
|
|
672
|
+
A = !0, z();
|
|
673
|
+
}) : z();
|
|
674
|
+
function f(w, k) {
|
|
675
675
|
if (u) {
|
|
676
|
-
const
|
|
676
|
+
const N = {
|
|
677
677
|
key: d.value,
|
|
678
678
|
oldValue: w,
|
|
679
|
-
newValue:
|
|
679
|
+
newValue: k,
|
|
680
680
|
storageArea: o
|
|
681
681
|
};
|
|
682
|
-
u.dispatchEvent(o instanceof Storage ? new StorageEvent("storage",
|
|
683
|
-
detail:
|
|
682
|
+
u.dispatchEvent(o instanceof Storage ? new StorageEvent("storage", N) : new CustomEvent(Ot, {
|
|
683
|
+
detail: N
|
|
684
684
|
}));
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function O(w) {
|
|
688
688
|
try {
|
|
689
|
-
const
|
|
689
|
+
const k = o.getItem(d.value);
|
|
690
690
|
if (w == null)
|
|
691
|
-
f(
|
|
691
|
+
f(k, null), o.removeItem(d.value);
|
|
692
692
|
else {
|
|
693
|
-
const
|
|
694
|
-
|
|
693
|
+
const N = v.write(w);
|
|
694
|
+
k !== N && (o.setItem(d.value, N), f(k, N));
|
|
695
695
|
}
|
|
696
|
-
} catch (
|
|
697
|
-
T(
|
|
696
|
+
} catch (k) {
|
|
697
|
+
T(k);
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
700
|
function y(w) {
|
|
701
|
-
const
|
|
702
|
-
if (
|
|
703
|
-
return l &&
|
|
701
|
+
const k = w ? w.newValue : o.getItem(d.value);
|
|
702
|
+
if (k == null)
|
|
703
|
+
return l && m != null && o.setItem(d.value, v.write(m)), m;
|
|
704
704
|
if (!w && c) {
|
|
705
|
-
const
|
|
706
|
-
return typeof c == "function" ? c(
|
|
707
|
-
} else return typeof
|
|
705
|
+
const N = v.read(k);
|
|
706
|
+
return typeof c == "function" ? c(N, m) : h === "object" && !Array.isArray(N) ? { ...m, ...N } : N;
|
|
707
|
+
} else return typeof k != "string" ? k : v.read(k);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function z(w) {
|
|
710
710
|
if (!(w && w.storageArea !== o)) {
|
|
711
711
|
if (w && w.key == null) {
|
|
712
|
-
|
|
712
|
+
C.value = m;
|
|
713
713
|
return;
|
|
714
714
|
}
|
|
715
715
|
if (!(w && w.key !== d.value)) {
|
|
716
|
-
|
|
716
|
+
F();
|
|
717
717
|
try {
|
|
718
|
-
const
|
|
719
|
-
(w === void 0 || w?.newValue !==
|
|
720
|
-
} catch (
|
|
721
|
-
T(
|
|
718
|
+
const k = v.write(C.value);
|
|
719
|
+
(w === void 0 || w?.newValue !== k) && (C.value = y(w));
|
|
720
|
+
} catch (k) {
|
|
721
|
+
T(k);
|
|
722
722
|
} finally {
|
|
723
|
-
w ? Ce(
|
|
723
|
+
w ? Ce(D) : D();
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
|
|
728
|
+
function B(w) {
|
|
729
|
+
z(w.detail);
|
|
730
730
|
}
|
|
731
|
-
return
|
|
731
|
+
return C;
|
|
732
732
|
}
|
|
733
733
|
function hn(e) {
|
|
734
734
|
const t = Be(), o = Bo(
|
|
@@ -752,46 +752,46 @@ function pb(e, t = {}) {
|
|
|
752
752
|
draggingElement: b = oe,
|
|
753
753
|
containerElement: T,
|
|
754
754
|
handle: x = e,
|
|
755
|
-
buttons:
|
|
755
|
+
buttons: C = [0]
|
|
756
756
|
} = t, d = _(
|
|
757
|
-
(o =
|
|
758
|
-
),
|
|
759
|
-
|
|
760
|
-
},
|
|
761
|
-
var
|
|
762
|
-
if (!
|
|
757
|
+
(o = M(p)) != null ? o : { x: 0, y: 0 }
|
|
758
|
+
), m = _(), h = (S) => n ? n.includes(S.pointerType) : !0, v = (S) => {
|
|
759
|
+
M(a) && S.preventDefault(), M(i) && S.stopPropagation();
|
|
760
|
+
}, F = (S) => {
|
|
761
|
+
var g;
|
|
762
|
+
if (!M(C).includes(S.button) || M(t.disabled) || !h(S) || M(s) && S.target !== M(e))
|
|
763
763
|
return;
|
|
764
|
-
const f =
|
|
765
|
-
x: S.clientX - (f ? y.left -
|
|
766
|
-
y: S.clientY - (f ? y.top -
|
|
764
|
+
const f = M(T), O = (g = f?.getBoundingClientRect) == null ? void 0 : g.call(f), y = M(e).getBoundingClientRect(), z = {
|
|
765
|
+
x: S.clientX - (f ? y.left - O.left + f.scrollLeft : y.left),
|
|
766
|
+
y: S.clientY - (f ? y.top - O.top + f.scrollTop : y.top)
|
|
767
767
|
};
|
|
768
|
-
c?.(
|
|
769
|
-
},
|
|
770
|
-
if (
|
|
768
|
+
c?.(z, S) !== !1 && (m.value = z, v(S));
|
|
769
|
+
}, D = (S) => {
|
|
770
|
+
if (M(t.disabled) || !h(S) || !m.value)
|
|
771
771
|
return;
|
|
772
|
-
const
|
|
773
|
-
let { x:
|
|
774
|
-
(u === "x" || u === "both") && (
|
|
775
|
-
x:
|
|
772
|
+
const g = M(T), f = M(e).getBoundingClientRect();
|
|
773
|
+
let { x: O, y } = d.value;
|
|
774
|
+
(u === "x" || u === "both") && (O = S.clientX - m.value.x, g && (O = Math.min(Math.max(0, O), g.scrollWidth - f.width))), (u === "y" || u === "both") && (y = S.clientY - m.value.y, g && (y = Math.min(Math.max(0, y), g.scrollHeight - f.height))), d.value = {
|
|
775
|
+
x: O,
|
|
776
776
|
y
|
|
777
777
|
}, r?.(d.value, S), v(S);
|
|
778
778
|
}, A = (S) => {
|
|
779
|
-
|
|
779
|
+
M(t.disabled) || !h(S) || m.value && (m.value = void 0, l?.(d.value, S), v(S));
|
|
780
780
|
};
|
|
781
781
|
if (et) {
|
|
782
782
|
const S = () => {
|
|
783
|
-
var
|
|
783
|
+
var g;
|
|
784
784
|
return {
|
|
785
|
-
capture: (
|
|
786
|
-
passive: !
|
|
785
|
+
capture: (g = t.capture) != null ? g : !0,
|
|
786
|
+
passive: !M(a)
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
|
-
|
|
789
|
+
U(x, "pointerdown", F, S), U(b, "pointermove", D, S), U(b, "pointerup", A, S);
|
|
790
790
|
}
|
|
791
791
|
return {
|
|
792
792
|
...en(d),
|
|
793
793
|
position: d,
|
|
794
|
-
isDragging: G(() => !!
|
|
794
|
+
isDragging: G(() => !!m.value),
|
|
795
795
|
style: G(
|
|
796
796
|
() => `left:${d.value.x}px;top:${d.value.y}px;`
|
|
797
797
|
)
|
|
@@ -803,7 +803,7 @@ function oo(e, t, o = {}) {
|
|
|
803
803
|
const s = /* @__PURE__ */ tt(() => n && "ResizeObserver" in n), r = () => {
|
|
804
804
|
i && (i.disconnect(), i = void 0);
|
|
805
805
|
}, l = G(() => {
|
|
806
|
-
const u =
|
|
806
|
+
const u = M(e);
|
|
807
807
|
return Array.isArray(u) ? u.map((b) => V(b)) : [V(u)];
|
|
808
808
|
}), c = Z(
|
|
809
809
|
l,
|
|
@@ -831,21 +831,21 @@ function db(e, t = {}) {
|
|
|
831
831
|
immediate: i = !0,
|
|
832
832
|
updateTiming: s = "sync"
|
|
833
833
|
} = t, r = j(0), l = j(0), c = j(0), p = j(0), u = j(0), b = j(0), T = j(0), x = j(0);
|
|
834
|
-
function
|
|
835
|
-
const
|
|
836
|
-
if (!
|
|
834
|
+
function C() {
|
|
835
|
+
const m = V(e);
|
|
836
|
+
if (!m) {
|
|
837
837
|
o && (r.value = 0, l.value = 0, c.value = 0, p.value = 0, u.value = 0, b.value = 0, T.value = 0, x.value = 0);
|
|
838
838
|
return;
|
|
839
839
|
}
|
|
840
|
-
const h =
|
|
840
|
+
const h = m.getBoundingClientRect();
|
|
841
841
|
r.value = h.height, l.value = h.bottom, c.value = h.left, p.value = h.right, u.value = h.top, b.value = h.width, T.value = h.x, x.value = h.y;
|
|
842
842
|
}
|
|
843
843
|
function d() {
|
|
844
|
-
s === "sync" ?
|
|
844
|
+
s === "sync" ? C() : s === "next-frame" && requestAnimationFrame(() => C());
|
|
845
845
|
}
|
|
846
|
-
return oo(e, d), Z(() => V(e), (
|
|
846
|
+
return oo(e, d), Z(() => V(e), (m) => !m && d()), He(e, d, {
|
|
847
847
|
attributeFilter: ["style", "class"]
|
|
848
|
-
}), a &&
|
|
848
|
+
}), a && U("scroll", d, { capture: !0, passive: !0 }), n && U("resize", d, { passive: !0 }), ke(() => {
|
|
849
849
|
i && d();
|
|
850
850
|
}), {
|
|
851
851
|
height: r,
|
|
@@ -875,7 +875,7 @@ function gb(e, t = { width: 0, height: 0 }, o = {}) {
|
|
|
875
875
|
}
|
|
876
876
|
} else if (b) {
|
|
877
877
|
const T = ye(b);
|
|
878
|
-
s.value = T.reduce((x, { inlineSize:
|
|
878
|
+
s.value = T.reduce((x, { inlineSize: C }) => x + C, 0), r.value = T.reduce((x, { blockSize: C }) => x + C, 0);
|
|
879
879
|
} else
|
|
880
880
|
s.value = u.contentRect.width, r.value = u.contentRect.height;
|
|
881
881
|
},
|
|
@@ -908,24 +908,24 @@ function fn(e, t, o = {}) {
|
|
|
908
908
|
window: s = oe,
|
|
909
909
|
immediate: r = !0
|
|
910
910
|
} = o, l = /* @__PURE__ */ tt(() => s && "IntersectionObserver" in s), c = G(() => {
|
|
911
|
-
const x =
|
|
911
|
+
const x = M(e);
|
|
912
912
|
return ye(x).map(V).filter($t);
|
|
913
913
|
});
|
|
914
914
|
let p = J;
|
|
915
915
|
const u = j(r), b = l.value ? Z(
|
|
916
916
|
() => [c.value, V(n), u.value],
|
|
917
|
-
([x,
|
|
917
|
+
([x, C]) => {
|
|
918
918
|
if (p(), !u.value || !x.length)
|
|
919
919
|
return;
|
|
920
920
|
const d = new IntersectionObserver(
|
|
921
921
|
t,
|
|
922
922
|
{
|
|
923
|
-
root: V(
|
|
923
|
+
root: V(C),
|
|
924
924
|
rootMargin: a,
|
|
925
925
|
threshold: i
|
|
926
926
|
}
|
|
927
927
|
);
|
|
928
|
-
x.forEach((
|
|
928
|
+
x.forEach((m) => m && d.observe(m)), p = () => {
|
|
929
929
|
d.disconnect(), p = J;
|
|
930
930
|
};
|
|
931
931
|
},
|
|
@@ -966,7 +966,7 @@ function bn(e, t = {}) {
|
|
|
966
966
|
root: n,
|
|
967
967
|
window: o,
|
|
968
968
|
threshold: a,
|
|
969
|
-
rootMargin:
|
|
969
|
+
rootMargin: M(i)
|
|
970
970
|
}
|
|
971
971
|
);
|
|
972
972
|
return r;
|
|
@@ -1042,19 +1042,19 @@ function mb(e, t = {}) {
|
|
|
1042
1042
|
const h = a.value;
|
|
1043
1043
|
s.value && h?.[s.value] != null && (await h[s.value](), i.value = !0);
|
|
1044
1044
|
}
|
|
1045
|
-
async function
|
|
1045
|
+
async function C() {
|
|
1046
1046
|
await (i.value ? T() : x());
|
|
1047
1047
|
}
|
|
1048
1048
|
const d = () => {
|
|
1049
1049
|
const h = b();
|
|
1050
1050
|
(!h || h && u()) && (i.value = h);
|
|
1051
|
-
},
|
|
1052
|
-
return
|
|
1051
|
+
}, m = { capture: !1, passive: !0 };
|
|
1052
|
+
return U(o, Ft, d, m), U(() => V(a), Ft, d, m), ke(d, !1), n && Ie(T), {
|
|
1053
1053
|
isSupported: p,
|
|
1054
1054
|
isFullscreen: i,
|
|
1055
1055
|
enter: x,
|
|
1056
1056
|
exit: T,
|
|
1057
|
-
toggle:
|
|
1057
|
+
toggle: C
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
1060
|
function Tn(e) {
|
|
@@ -1087,75 +1087,75 @@ function Sn(e, t = {}) {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
} = t, b = typeof r == "boolean" ? {
|
|
1089
1089
|
mutation: r
|
|
1090
|
-
} : r, T = j(0), x = j(0),
|
|
1090
|
+
} : r, T = j(0), x = j(0), C = G({
|
|
1091
1091
|
get() {
|
|
1092
1092
|
return T.value;
|
|
1093
1093
|
},
|
|
1094
1094
|
set(f) {
|
|
1095
|
-
|
|
1095
|
+
m(f, void 0);
|
|
1096
1096
|
}
|
|
1097
1097
|
}), d = G({
|
|
1098
1098
|
get() {
|
|
1099
1099
|
return x.value;
|
|
1100
1100
|
},
|
|
1101
1101
|
set(f) {
|
|
1102
|
-
|
|
1102
|
+
m(void 0, f);
|
|
1103
1103
|
}
|
|
1104
1104
|
});
|
|
1105
|
-
function
|
|
1106
|
-
var y,
|
|
1105
|
+
function m(f, O) {
|
|
1106
|
+
var y, z, B, w;
|
|
1107
1107
|
if (!p)
|
|
1108
1108
|
return;
|
|
1109
|
-
const
|
|
1110
|
-
if (!
|
|
1109
|
+
const k = M(e);
|
|
1110
|
+
if (!k)
|
|
1111
1111
|
return;
|
|
1112
|
-
(
|
|
1113
|
-
top: (y =
|
|
1114
|
-
left: (
|
|
1115
|
-
behavior:
|
|
1112
|
+
(B = k instanceof Document ? p.document.body : k) == null || B.scrollTo({
|
|
1113
|
+
top: (y = M(O)) != null ? y : d.value,
|
|
1114
|
+
left: (z = M(f)) != null ? z : C.value,
|
|
1115
|
+
behavior: M(c)
|
|
1116
1116
|
});
|
|
1117
|
-
const
|
|
1118
|
-
|
|
1117
|
+
const N = ((w = k?.document) == null ? void 0 : w.documentElement) || k?.documentElement || k;
|
|
1118
|
+
C != null && (T.value = N.scrollLeft), d != null && (x.value = N.scrollTop);
|
|
1119
1119
|
}
|
|
1120
1120
|
const h = j(!1), v = Ee({
|
|
1121
1121
|
left: !0,
|
|
1122
1122
|
right: !1,
|
|
1123
1123
|
top: !0,
|
|
1124
1124
|
bottom: !1
|
|
1125
|
-
}),
|
|
1125
|
+
}), F = Ee({
|
|
1126
1126
|
left: !1,
|
|
1127
1127
|
right: !1,
|
|
1128
1128
|
top: !1,
|
|
1129
1129
|
bottom: !1
|
|
1130
|
-
}),
|
|
1131
|
-
h.value && (h.value = !1,
|
|
1132
|
-
}, A = /* @__PURE__ */ to(
|
|
1133
|
-
var
|
|
1130
|
+
}), D = (f) => {
|
|
1131
|
+
h.value && (h.value = !1, F.left = !1, F.right = !1, F.top = !1, F.bottom = !1, a(f));
|
|
1132
|
+
}, A = /* @__PURE__ */ to(D, o + n), S = (f) => {
|
|
1133
|
+
var O;
|
|
1134
1134
|
if (!p)
|
|
1135
1135
|
return;
|
|
1136
|
-
const y = ((
|
|
1137
|
-
|
|
1138
|
-
const
|
|
1139
|
-
|
|
1136
|
+
const y = ((O = f?.document) == null ? void 0 : O.documentElement) || f?.documentElement || V(f), { display: z, flexDirection: B, direction: w } = getComputedStyle(y), k = w === "rtl" ? -1 : 1, N = y.scrollLeft;
|
|
1137
|
+
F.left = N < T.value, F.right = N > T.value;
|
|
1138
|
+
const q = Math.abs(N * k) <= (s.left || 0), X = Math.abs(N * k) + y.clientWidth >= y.scrollWidth - (s.right || 0) - zt;
|
|
1139
|
+
z === "flex" && B === "row-reverse" ? (v.left = X, v.right = q) : (v.left = q, v.right = X), T.value = N;
|
|
1140
1140
|
let $ = y.scrollTop;
|
|
1141
|
-
f === p.document && !$ && ($ = p.document.body.scrollTop),
|
|
1142
|
-
const
|
|
1143
|
-
|
|
1144
|
-
},
|
|
1145
|
-
var
|
|
1141
|
+
f === p.document && !$ && ($ = p.document.body.scrollTop), F.top = $ < x.value, F.bottom = $ > x.value;
|
|
1142
|
+
const I = Math.abs($) <= (s.top || 0), Oe = Math.abs($) + y.clientHeight >= y.scrollHeight - (s.bottom || 0) - zt;
|
|
1143
|
+
z === "flex" && B === "column-reverse" ? (v.top = Oe, v.bottom = I) : (v.top = I, v.bottom = Oe), x.value = $;
|
|
1144
|
+
}, g = (f) => {
|
|
1145
|
+
var O;
|
|
1146
1146
|
if (!p)
|
|
1147
1147
|
return;
|
|
1148
|
-
const y = (
|
|
1148
|
+
const y = (O = f.target.documentElement) != null ? O : f.target;
|
|
1149
1149
|
S(y), h.value = !0, A(f), i(f);
|
|
1150
1150
|
};
|
|
1151
|
-
return
|
|
1151
|
+
return U(
|
|
1152
1152
|
e,
|
|
1153
1153
|
"scroll",
|
|
1154
|
-
o ? /* @__PURE__ */ Zo(
|
|
1154
|
+
o ? /* @__PURE__ */ Zo(g, o, !0, !1) : g,
|
|
1155
1155
|
l
|
|
1156
1156
|
), ke(() => {
|
|
1157
1157
|
try {
|
|
1158
|
-
const f =
|
|
1158
|
+
const f = M(e);
|
|
1159
1159
|
if (!f)
|
|
1160
1160
|
return;
|
|
1161
1161
|
S(f);
|
|
@@ -1165,7 +1165,7 @@ function Sn(e, t = {}) {
|
|
|
1165
1165
|
}), b?.mutation && e != null && e !== p && e !== document && He(
|
|
1166
1166
|
e,
|
|
1167
1167
|
() => {
|
|
1168
|
-
const f =
|
|
1168
|
+
const f = M(e);
|
|
1169
1169
|
f && S(f);
|
|
1170
1170
|
},
|
|
1171
1171
|
{
|
|
@@ -1173,19 +1173,19 @@ function Sn(e, t = {}) {
|
|
|
1173
1173
|
childList: !0,
|
|
1174
1174
|
subtree: !0
|
|
1175
1175
|
}
|
|
1176
|
-
),
|
|
1176
|
+
), U(
|
|
1177
1177
|
e,
|
|
1178
1178
|
"scrollend",
|
|
1179
|
-
|
|
1179
|
+
D,
|
|
1180
1180
|
l
|
|
1181
1181
|
), {
|
|
1182
|
-
x:
|
|
1182
|
+
x: C,
|
|
1183
1183
|
y: d,
|
|
1184
1184
|
isScrolling: h,
|
|
1185
1185
|
arrivedState: v,
|
|
1186
|
-
directions:
|
|
1186
|
+
directions: F,
|
|
1187
1187
|
measure() {
|
|
1188
|
-
const f =
|
|
1188
|
+
const f = M(e);
|
|
1189
1189
|
p && f && S(f);
|
|
1190
1190
|
}
|
|
1191
1191
|
};
|
|
@@ -1205,11 +1205,11 @@ function hb(e, t, o = {}) {
|
|
|
1205
1205
|
...o.offset
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
|
-
)), l = _(), c = G(() => !!l.value), p = G(() => Tn(
|
|
1208
|
+
)), l = _(), c = G(() => !!l.value), p = G(() => Tn(M(e))), u = bn(p);
|
|
1209
1209
|
function b() {
|
|
1210
1210
|
if (r.measure(), !p.value || !u.value || !s(p.value))
|
|
1211
1211
|
return;
|
|
1212
|
-
const { scrollHeight: x, clientHeight:
|
|
1212
|
+
const { scrollHeight: x, clientHeight: C, scrollWidth: d, clientWidth: m } = p.value, h = a === "bottom" || a === "top" ? x <= C : d <= m;
|
|
1213
1213
|
(r.arrivedState[a] || h) && (l.value || (l.value = Promise.all([
|
|
1214
1214
|
t(r),
|
|
1215
1215
|
new Promise((v) => setTimeout(v, i))
|
|
@@ -1249,7 +1249,7 @@ function fb(e = {}) {
|
|
|
1249
1249
|
var T;
|
|
1250
1250
|
s.value = !1, r.value = null, (T = e.onReleased) == null || T.call(e, b);
|
|
1251
1251
|
}, p = G(() => V(e.target) || i), u = { passive: !0, capture: n };
|
|
1252
|
-
return
|
|
1252
|
+
return U(p, "mousedown", l("mouse"), u), U(i, "mouseleave", c, u), U(i, "mouseup", c, u), o && (U(p, "dragstart", l("mouse"), u), U(i, "drop", c, u), U(i, "dragend", c, u)), t && (U(p, "touchstart", l("touch"), u), U(i, "touchend", c, u), U(i, "touchcancel", c, u)), {
|
|
1253
1253
|
pressed: s,
|
|
1254
1254
|
sourceType: r
|
|
1255
1255
|
};
|
|
@@ -1259,7 +1259,7 @@ function bb(e = hn()) {
|
|
|
1259
1259
|
const n = V(e);
|
|
1260
1260
|
n && (t.value = n.parentElement);
|
|
1261
1261
|
};
|
|
1262
|
-
return ke(o), Z(() =>
|
|
1262
|
+
return ke(o), Z(() => M(e), o), t;
|
|
1263
1263
|
}
|
|
1264
1264
|
// @__NO_SIDE_EFFECTS__
|
|
1265
1265
|
function Tb(e, t, o, n = {}) {
|
|
@@ -1272,30 +1272,30 @@ function Tb(e, t, o, n = {}) {
|
|
|
1272
1272
|
defaultValue: u,
|
|
1273
1273
|
shouldEmit: b
|
|
1274
1274
|
} = n, T = Be(), x = o || T?.emit || ((a = T?.$emit) == null ? void 0 : a.bind(T)) || ((s = (i = T?.proxy) == null ? void 0 : i.$emit) == null ? void 0 : s.bind(T?.proxy));
|
|
1275
|
-
let
|
|
1276
|
-
|
|
1277
|
-
const d = (v) => r ? typeof r == "function" ? r(v) : sn(v) : v,
|
|
1278
|
-
b ? b(v) && x(
|
|
1275
|
+
let C = c;
|
|
1276
|
+
C = C || `update:${t.toString()}`;
|
|
1277
|
+
const d = (v) => r ? typeof r == "function" ? r(v) : sn(v) : v, m = () => jo(e[t]) ? d(e[t]) : u, h = (v) => {
|
|
1278
|
+
b ? b(v) && x(C, v) : x(C, v);
|
|
1279
1279
|
};
|
|
1280
1280
|
if (l) {
|
|
1281
|
-
const v =
|
|
1282
|
-
let
|
|
1281
|
+
const v = m(), F = _(v);
|
|
1282
|
+
let D = !1;
|
|
1283
1283
|
return Z(
|
|
1284
1284
|
() => e[t],
|
|
1285
1285
|
(A) => {
|
|
1286
|
-
|
|
1286
|
+
D || (D = !0, F.value = d(A), Ce(() => D = !1));
|
|
1287
1287
|
}
|
|
1288
1288
|
), Z(
|
|
1289
|
-
|
|
1289
|
+
F,
|
|
1290
1290
|
(A) => {
|
|
1291
|
-
!
|
|
1291
|
+
!D && (A !== e[t] || p) && h(A);
|
|
1292
1292
|
},
|
|
1293
1293
|
{ deep: p }
|
|
1294
|
-
),
|
|
1294
|
+
), F;
|
|
1295
1295
|
} else
|
|
1296
1296
|
return G({
|
|
1297
1297
|
get() {
|
|
1298
|
-
return
|
|
1298
|
+
return m();
|
|
1299
1299
|
},
|
|
1300
1300
|
set(v) {
|
|
1301
1301
|
h(v);
|
|
@@ -1308,9 +1308,9 @@ function Sb(e = {}) {
|
|
|
1308
1308
|
if (!t)
|
|
1309
1309
|
return j(!1);
|
|
1310
1310
|
const o = j(t.document.hasFocus()), n = { passive: !0 };
|
|
1311
|
-
return
|
|
1311
|
+
return U(t, "blur", () => {
|
|
1312
1312
|
o.value = !1;
|
|
1313
|
-
}, n),
|
|
1313
|
+
}, n), U(t, "focus", () => {
|
|
1314
1314
|
o.value = !0;
|
|
1315
1315
|
}, n), o;
|
|
1316
1316
|
}
|
|
@@ -1474,15 +1474,15 @@ const An = (e, t) => {
|
|
|
1474
1474
|
const i = [];
|
|
1475
1475
|
let s = 0, r = 0, l = 0, c;
|
|
1476
1476
|
const p = a.length;
|
|
1477
|
-
for (let
|
|
1478
|
-
const d = a[
|
|
1477
|
+
for (let C = 0; C < p; C++) {
|
|
1478
|
+
const d = a[C];
|
|
1479
1479
|
if (s === 0 && r === 0) {
|
|
1480
1480
|
if (d === Mt) {
|
|
1481
|
-
i.push(a.slice(l,
|
|
1481
|
+
i.push(a.slice(l, C)), l = C + 1;
|
|
1482
1482
|
continue;
|
|
1483
1483
|
}
|
|
1484
1484
|
if (d === "/") {
|
|
1485
|
-
c =
|
|
1485
|
+
c = C;
|
|
1486
1486
|
continue;
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
@@ -1544,31 +1544,31 @@ const An = (e, t) => {
|
|
|
1544
1544
|
modifiers: b,
|
|
1545
1545
|
hasImportantModifier: T,
|
|
1546
1546
|
baseClassName: x,
|
|
1547
|
-
maybePostfixModifierPosition:
|
|
1547
|
+
maybePostfixModifierPosition: C
|
|
1548
1548
|
} = o(p);
|
|
1549
1549
|
if (u) {
|
|
1550
1550
|
l = p + (l.length > 0 ? " " + l : l);
|
|
1551
1551
|
continue;
|
|
1552
1552
|
}
|
|
1553
|
-
let d = !!
|
|
1554
|
-
if (!
|
|
1553
|
+
let d = !!C, m = n(d ? x.substring(0, C) : x);
|
|
1554
|
+
if (!m) {
|
|
1555
1555
|
if (!d) {
|
|
1556
1556
|
l = p + (l.length > 0 ? " " + l : l);
|
|
1557
1557
|
continue;
|
|
1558
1558
|
}
|
|
1559
|
-
if (
|
|
1559
|
+
if (m = n(x), !m) {
|
|
1560
1560
|
l = p + (l.length > 0 ? " " + l : l);
|
|
1561
1561
|
continue;
|
|
1562
1562
|
}
|
|
1563
1563
|
d = !1;
|
|
1564
1564
|
}
|
|
1565
|
-
const h = b.length === 0 ? "" : b.length === 1 ? b[0] : i(b).join(":"), v = T ? h + gt : h,
|
|
1566
|
-
if (s.indexOf(
|
|
1565
|
+
const h = b.length === 0 ? "" : b.length === 1 ? b[0] : i(b).join(":"), v = T ? h + gt : h, F = v + m;
|
|
1566
|
+
if (s.indexOf(F) > -1)
|
|
1567
1567
|
continue;
|
|
1568
|
-
s.push(
|
|
1569
|
-
const
|
|
1570
|
-
for (let A = 0; A <
|
|
1571
|
-
const S =
|
|
1568
|
+
s.push(F);
|
|
1569
|
+
const D = a(m, d);
|
|
1570
|
+
for (let A = 0; A < D.length; ++A) {
|
|
1571
|
+
const S = D[A];
|
|
1572
1572
|
s.push(v + S);
|
|
1573
1573
|
}
|
|
1574
1574
|
l = p + (l.length > 0 ? " " + l : l);
|
|
@@ -1599,22 +1599,22 @@ const An = (e, t) => {
|
|
|
1599
1599
|
return a(l, p), p;
|
|
1600
1600
|
};
|
|
1601
1601
|
return i = s, (...l) => i(Yn(...l));
|
|
1602
|
-
},
|
|
1603
|
-
const t = (o) => o[e] ||
|
|
1602
|
+
}, qn = [], K = (e) => {
|
|
1603
|
+
const t = (o) => o[e] || qn;
|
|
1604
1604
|
return t.isThemeGetter = !0, t;
|
|
1605
|
-
}, po = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, go = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
1605
|
+
}, po = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, go = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Xn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Zn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $n = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _n = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ge = (e) => Qn.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), me = (e) => !!e && Number.isInteger(Number(e)), at = (e) => e.endsWith("%") && R(e.slice(0, -1)), ce = (e) => Xn.test(e), mo = () => !0, ea = (e) => (
|
|
1606
1606
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1607
1607
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1608
1608
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1609
1609
|
Jn.test(e) && !Zn.test(e)
|
|
1610
|
-
), xt = () => !1, ta = (e) => $n.test(e), oa = (e) => _n.test(e), na = (e) => !P(e) && !L(e), aa = (e) => fe(e, bo, xt), P = (e) => po.test(e), be = (e) => fe(e, To, ea), Rt = (e) => fe(e, da,
|
|
1610
|
+
), xt = () => !1, ta = (e) => $n.test(e), oa = (e) => _n.test(e), na = (e) => !P(e) && !L(e), aa = (e) => fe(e, bo, xt), P = (e) => po.test(e), be = (e) => fe(e, To, ea), Rt = (e) => fe(e, da, R), ia = (e) => fe(e, vo, mo), ra = (e) => fe(e, So, xt), Ht = (e) => fe(e, ho, xt), la = (e) => fe(e, fo, oa), Ke = (e) => fe(e, wo, ta), L = (e) => go.test(e), Fe = (e) => ve(e, To), sa = (e) => ve(e, So), Bt = (e) => ve(e, ho), ca = (e) => ve(e, bo), ua = (e) => ve(e, fo), qe = (e) => ve(e, wo, !0), pa = (e) => ve(e, vo, !0), fe = (e, t, o) => {
|
|
1611
1611
|
const n = po.exec(e);
|
|
1612
1612
|
return n ? n[1] ? t(n[1]) : o(n[2]) : !1;
|
|
1613
1613
|
}, ve = (e, t, o = !1) => {
|
|
1614
1614
|
const n = go.exec(e);
|
|
1615
1615
|
return n ? n[1] ? t(n[1]) : o : !1;
|
|
1616
1616
|
}, ho = (e) => e === "position" || e === "percentage", fo = (e) => e === "image" || e === "url", bo = (e) => e === "length" || e === "size" || e === "bg-size", To = (e) => e === "length", da = (e) => e === "number", So = (e) => e === "family-name", vo = (e) => e === "number" || e === "weight", wo = (e) => e === "shadow", ga = () => {
|
|
1617
|
-
const e = K("color"), t = K("font"), o = K("text"), n = K("font-weight"), a = K("tracking"), i = K("leading"), s = K("breakpoint"), r = K("container"), l = K("spacing"), c = K("radius"), p = K("shadow"), u = K("inset-shadow"), b = K("text-shadow"), T = K("drop-shadow"), x = K("blur"),
|
|
1617
|
+
const e = K("color"), t = K("font"), o = K("text"), n = K("font-weight"), a = K("tracking"), i = K("leading"), s = K("breakpoint"), r = K("container"), l = K("spacing"), c = K("radius"), p = K("shadow"), u = K("inset-shadow"), b = K("text-shadow"), T = K("drop-shadow"), x = K("blur"), C = K("perspective"), d = K("aspect"), m = K("ease"), h = K("animate"), v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
|
|
1618
1618
|
"center",
|
|
1619
1619
|
"top",
|
|
1620
1620
|
"bottom",
|
|
@@ -1632,9 +1632,9 @@ const An = (e, t) => {
|
|
|
1632
1632
|
"bottom-left",
|
|
1633
1633
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1634
1634
|
"left-bottom"
|
|
1635
|
-
],
|
|
1635
|
+
], D = () => [...F(), L, P], A = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", "contain", "none"], g = () => [L, P, l], f = () => [ge, "full", "auto", ...g()], O = () => [me, "none", "subgrid", L, P], y = () => ["auto", {
|
|
1636
1636
|
span: ["full", me, L, P]
|
|
1637
|
-
}, me, L, P],
|
|
1637
|
+
}, me, L, P], z = () => [me, "auto", L, P], B = () => ["auto", "min", "max", "fr", L, P], w = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], k = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], N = () => ["auto", ...g()], q = () => [ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], X = () => [ge, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], $ = () => [ge, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], I = () => [e, L, P], Oe = () => [...F(), Bt, Ht, {
|
|
1638
1638
|
position: [L, P]
|
|
1639
1639
|
}], Lt = () => ["no-repeat", {
|
|
1640
1640
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -1648,14 +1648,14 @@ const An = (e, t) => {
|
|
|
1648
1648
|
c,
|
|
1649
1649
|
L,
|
|
1650
1650
|
P
|
|
1651
|
-
], te = () => ["",
|
|
1651
|
+
], te = () => ["", R, Fe, be], Ue = () => ["solid", "dashed", "dotted", "double"], At = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => [R, at, Bt, Ht], Et = () => [
|
|
1652
1652
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1653
1653
|
"",
|
|
1654
1654
|
"none",
|
|
1655
1655
|
x,
|
|
1656
1656
|
L,
|
|
1657
1657
|
P
|
|
1658
|
-
], We = () => ["none",
|
|
1658
|
+
], We = () => ["none", R, L, P], je = () => ["none", R, L, P], nt = () => [R, L, P], Ge = () => [ge, "full", ...g()];
|
|
1659
1659
|
return {
|
|
1660
1660
|
cacheSize: 500,
|
|
1661
1661
|
theme: {
|
|
@@ -1674,7 +1674,7 @@ const An = (e, t) => {
|
|
|
1674
1674
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1675
1675
|
radius: [ce],
|
|
1676
1676
|
shadow: [ce],
|
|
1677
|
-
spacing: ["px",
|
|
1677
|
+
spacing: ["px", R],
|
|
1678
1678
|
text: [ce],
|
|
1679
1679
|
"text-shadow": [ce],
|
|
1680
1680
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -1701,7 +1701,7 @@ const An = (e, t) => {
|
|
|
1701
1701
|
* @see https://tailwindcss.com/docs/columns
|
|
1702
1702
|
*/
|
|
1703
1703
|
columns: [{
|
|
1704
|
-
columns: [
|
|
1704
|
+
columns: [R, P, L, r]
|
|
1705
1705
|
}],
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Break After
|
|
@@ -1779,7 +1779,7 @@ const An = (e, t) => {
|
|
|
1779
1779
|
* @see https://tailwindcss.com/docs/object-position
|
|
1780
1780
|
*/
|
|
1781
1781
|
"object-position": [{
|
|
1782
|
-
object:
|
|
1782
|
+
object: D()
|
|
1783
1783
|
}],
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Overflow
|
|
@@ -1937,7 +1937,7 @@ const An = (e, t) => {
|
|
|
1937
1937
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1938
1938
|
*/
|
|
1939
1939
|
basis: [{
|
|
1940
|
-
basis: [ge, "full", "auto", r, ...
|
|
1940
|
+
basis: [ge, "full", "auto", r, ...g()]
|
|
1941
1941
|
}],
|
|
1942
1942
|
/**
|
|
1943
1943
|
* Flex Direction
|
|
@@ -1958,21 +1958,21 @@ const An = (e, t) => {
|
|
|
1958
1958
|
* @see https://tailwindcss.com/docs/flex
|
|
1959
1959
|
*/
|
|
1960
1960
|
flex: [{
|
|
1961
|
-
flex: [
|
|
1961
|
+
flex: [R, ge, "auto", "initial", "none", P]
|
|
1962
1962
|
}],
|
|
1963
1963
|
/**
|
|
1964
1964
|
* Flex Grow
|
|
1965
1965
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1966
1966
|
*/
|
|
1967
1967
|
grow: [{
|
|
1968
|
-
grow: ["",
|
|
1968
|
+
grow: ["", R, L, P]
|
|
1969
1969
|
}],
|
|
1970
1970
|
/**
|
|
1971
1971
|
* Flex Shrink
|
|
1972
1972
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1973
1973
|
*/
|
|
1974
1974
|
shrink: [{
|
|
1975
|
-
shrink: ["",
|
|
1975
|
+
shrink: ["", R, L, P]
|
|
1976
1976
|
}],
|
|
1977
1977
|
/**
|
|
1978
1978
|
* Order
|
|
@@ -1986,7 +1986,7 @@ const An = (e, t) => {
|
|
|
1986
1986
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1987
1987
|
*/
|
|
1988
1988
|
"grid-cols": [{
|
|
1989
|
-
"grid-cols":
|
|
1989
|
+
"grid-cols": O()
|
|
1990
1990
|
}],
|
|
1991
1991
|
/**
|
|
1992
1992
|
* Grid Column Start / End
|
|
@@ -2000,21 +2000,21 @@ const An = (e, t) => {
|
|
|
2000
2000
|
* @see https://tailwindcss.com/docs/grid-column
|
|
2001
2001
|
*/
|
|
2002
2002
|
"col-start": [{
|
|
2003
|
-
"col-start":
|
|
2003
|
+
"col-start": z()
|
|
2004
2004
|
}],
|
|
2005
2005
|
/**
|
|
2006
2006
|
* Grid Column End
|
|
2007
2007
|
* @see https://tailwindcss.com/docs/grid-column
|
|
2008
2008
|
*/
|
|
2009
2009
|
"col-end": [{
|
|
2010
|
-
"col-end":
|
|
2010
|
+
"col-end": z()
|
|
2011
2011
|
}],
|
|
2012
2012
|
/**
|
|
2013
2013
|
* Grid Template Rows
|
|
2014
2014
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
2015
2015
|
*/
|
|
2016
2016
|
"grid-rows": [{
|
|
2017
|
-
"grid-rows":
|
|
2017
|
+
"grid-rows": O()
|
|
2018
2018
|
}],
|
|
2019
2019
|
/**
|
|
2020
2020
|
* Grid Row Start / End
|
|
@@ -2028,14 +2028,14 @@ const An = (e, t) => {
|
|
|
2028
2028
|
* @see https://tailwindcss.com/docs/grid-row
|
|
2029
2029
|
*/
|
|
2030
2030
|
"row-start": [{
|
|
2031
|
-
"row-start":
|
|
2031
|
+
"row-start": z()
|
|
2032
2032
|
}],
|
|
2033
2033
|
/**
|
|
2034
2034
|
* Grid Row End
|
|
2035
2035
|
* @see https://tailwindcss.com/docs/grid-row
|
|
2036
2036
|
*/
|
|
2037
2037
|
"row-end": [{
|
|
2038
|
-
"row-end":
|
|
2038
|
+
"row-end": z()
|
|
2039
2039
|
}],
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Grid Auto Flow
|
|
@@ -2049,35 +2049,35 @@ const An = (e, t) => {
|
|
|
2049
2049
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
2050
2050
|
*/
|
|
2051
2051
|
"auto-cols": [{
|
|
2052
|
-
"auto-cols":
|
|
2052
|
+
"auto-cols": B()
|
|
2053
2053
|
}],
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Grid Auto Rows
|
|
2056
2056
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
2057
2057
|
*/
|
|
2058
2058
|
"auto-rows": [{
|
|
2059
|
-
"auto-rows":
|
|
2059
|
+
"auto-rows": B()
|
|
2060
2060
|
}],
|
|
2061
2061
|
/**
|
|
2062
2062
|
* Gap
|
|
2063
2063
|
* @see https://tailwindcss.com/docs/gap
|
|
2064
2064
|
*/
|
|
2065
2065
|
gap: [{
|
|
2066
|
-
gap:
|
|
2066
|
+
gap: g()
|
|
2067
2067
|
}],
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Gap X
|
|
2070
2070
|
* @see https://tailwindcss.com/docs/gap
|
|
2071
2071
|
*/
|
|
2072
2072
|
"gap-x": [{
|
|
2073
|
-
"gap-x":
|
|
2073
|
+
"gap-x": g()
|
|
2074
2074
|
}],
|
|
2075
2075
|
/**
|
|
2076
2076
|
* Gap Y
|
|
2077
2077
|
* @see https://tailwindcss.com/docs/gap
|
|
2078
2078
|
*/
|
|
2079
2079
|
"gap-y": [{
|
|
2080
|
-
"gap-y":
|
|
2080
|
+
"gap-y": g()
|
|
2081
2081
|
}],
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Justify Content
|
|
@@ -2091,14 +2091,14 @@ const An = (e, t) => {
|
|
|
2091
2091
|
* @see https://tailwindcss.com/docs/justify-items
|
|
2092
2092
|
*/
|
|
2093
2093
|
"justify-items": [{
|
|
2094
|
-
"justify-items": [...
|
|
2094
|
+
"justify-items": [...k(), "normal"]
|
|
2095
2095
|
}],
|
|
2096
2096
|
/**
|
|
2097
2097
|
* Justify Self
|
|
2098
2098
|
* @see https://tailwindcss.com/docs/justify-self
|
|
2099
2099
|
*/
|
|
2100
2100
|
"justify-self": [{
|
|
2101
|
-
"justify-self": ["auto", ...
|
|
2101
|
+
"justify-self": ["auto", ...k()]
|
|
2102
2102
|
}],
|
|
2103
2103
|
/**
|
|
2104
2104
|
* Align Content
|
|
@@ -2112,7 +2112,7 @@ const An = (e, t) => {
|
|
|
2112
2112
|
* @see https://tailwindcss.com/docs/align-items
|
|
2113
2113
|
*/
|
|
2114
2114
|
"align-items": [{
|
|
2115
|
-
items: [...
|
|
2115
|
+
items: [...k(), {
|
|
2116
2116
|
baseline: ["", "last"]
|
|
2117
2117
|
}]
|
|
2118
2118
|
}],
|
|
@@ -2121,7 +2121,7 @@ const An = (e, t) => {
|
|
|
2121
2121
|
* @see https://tailwindcss.com/docs/align-self
|
|
2122
2122
|
*/
|
|
2123
2123
|
"align-self": [{
|
|
2124
|
-
self: ["auto", ...
|
|
2124
|
+
self: ["auto", ...k(), {
|
|
2125
2125
|
baseline: ["", "last"]
|
|
2126
2126
|
}]
|
|
2127
2127
|
}],
|
|
@@ -2137,14 +2137,14 @@ const An = (e, t) => {
|
|
|
2137
2137
|
* @see https://tailwindcss.com/docs/place-items
|
|
2138
2138
|
*/
|
|
2139
2139
|
"place-items": [{
|
|
2140
|
-
"place-items": [...
|
|
2140
|
+
"place-items": [...k(), "baseline"]
|
|
2141
2141
|
}],
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Place Self
|
|
2144
2144
|
* @see https://tailwindcss.com/docs/place-self
|
|
2145
2145
|
*/
|
|
2146
2146
|
"place-self": [{
|
|
2147
|
-
"place-self": ["auto", ...
|
|
2147
|
+
"place-self": ["auto", ...k()]
|
|
2148
2148
|
}],
|
|
2149
2149
|
// Spacing
|
|
2150
2150
|
/**
|
|
@@ -2152,161 +2152,161 @@ const An = (e, t) => {
|
|
|
2152
2152
|
* @see https://tailwindcss.com/docs/padding
|
|
2153
2153
|
*/
|
|
2154
2154
|
p: [{
|
|
2155
|
-
p:
|
|
2155
|
+
p: g()
|
|
2156
2156
|
}],
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Padding Inline
|
|
2159
2159
|
* @see https://tailwindcss.com/docs/padding
|
|
2160
2160
|
*/
|
|
2161
2161
|
px: [{
|
|
2162
|
-
px:
|
|
2162
|
+
px: g()
|
|
2163
2163
|
}],
|
|
2164
2164
|
/**
|
|
2165
2165
|
* Padding Block
|
|
2166
2166
|
* @see https://tailwindcss.com/docs/padding
|
|
2167
2167
|
*/
|
|
2168
2168
|
py: [{
|
|
2169
|
-
py:
|
|
2169
|
+
py: g()
|
|
2170
2170
|
}],
|
|
2171
2171
|
/**
|
|
2172
2172
|
* Padding Inline Start
|
|
2173
2173
|
* @see https://tailwindcss.com/docs/padding
|
|
2174
2174
|
*/
|
|
2175
2175
|
ps: [{
|
|
2176
|
-
ps:
|
|
2176
|
+
ps: g()
|
|
2177
2177
|
}],
|
|
2178
2178
|
/**
|
|
2179
2179
|
* Padding Inline End
|
|
2180
2180
|
* @see https://tailwindcss.com/docs/padding
|
|
2181
2181
|
*/
|
|
2182
2182
|
pe: [{
|
|
2183
|
-
pe:
|
|
2183
|
+
pe: g()
|
|
2184
2184
|
}],
|
|
2185
2185
|
/**
|
|
2186
2186
|
* Padding Block Start
|
|
2187
2187
|
* @see https://tailwindcss.com/docs/padding
|
|
2188
2188
|
*/
|
|
2189
2189
|
pbs: [{
|
|
2190
|
-
pbs:
|
|
2190
|
+
pbs: g()
|
|
2191
2191
|
}],
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Padding Block End
|
|
2194
2194
|
* @see https://tailwindcss.com/docs/padding
|
|
2195
2195
|
*/
|
|
2196
2196
|
pbe: [{
|
|
2197
|
-
pbe:
|
|
2197
|
+
pbe: g()
|
|
2198
2198
|
}],
|
|
2199
2199
|
/**
|
|
2200
2200
|
* Padding Top
|
|
2201
2201
|
* @see https://tailwindcss.com/docs/padding
|
|
2202
2202
|
*/
|
|
2203
2203
|
pt: [{
|
|
2204
|
-
pt:
|
|
2204
|
+
pt: g()
|
|
2205
2205
|
}],
|
|
2206
2206
|
/**
|
|
2207
2207
|
* Padding Right
|
|
2208
2208
|
* @see https://tailwindcss.com/docs/padding
|
|
2209
2209
|
*/
|
|
2210
2210
|
pr: [{
|
|
2211
|
-
pr:
|
|
2211
|
+
pr: g()
|
|
2212
2212
|
}],
|
|
2213
2213
|
/**
|
|
2214
2214
|
* Padding Bottom
|
|
2215
2215
|
* @see https://tailwindcss.com/docs/padding
|
|
2216
2216
|
*/
|
|
2217
2217
|
pb: [{
|
|
2218
|
-
pb:
|
|
2218
|
+
pb: g()
|
|
2219
2219
|
}],
|
|
2220
2220
|
/**
|
|
2221
2221
|
* Padding Left
|
|
2222
2222
|
* @see https://tailwindcss.com/docs/padding
|
|
2223
2223
|
*/
|
|
2224
2224
|
pl: [{
|
|
2225
|
-
pl:
|
|
2225
|
+
pl: g()
|
|
2226
2226
|
}],
|
|
2227
2227
|
/**
|
|
2228
2228
|
* Margin
|
|
2229
2229
|
* @see https://tailwindcss.com/docs/margin
|
|
2230
2230
|
*/
|
|
2231
2231
|
m: [{
|
|
2232
|
-
m:
|
|
2232
|
+
m: N()
|
|
2233
2233
|
}],
|
|
2234
2234
|
/**
|
|
2235
2235
|
* Margin Inline
|
|
2236
2236
|
* @see https://tailwindcss.com/docs/margin
|
|
2237
2237
|
*/
|
|
2238
2238
|
mx: [{
|
|
2239
|
-
mx:
|
|
2239
|
+
mx: N()
|
|
2240
2240
|
}],
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Margin Block
|
|
2243
2243
|
* @see https://tailwindcss.com/docs/margin
|
|
2244
2244
|
*/
|
|
2245
2245
|
my: [{
|
|
2246
|
-
my:
|
|
2246
|
+
my: N()
|
|
2247
2247
|
}],
|
|
2248
2248
|
/**
|
|
2249
2249
|
* Margin Inline Start
|
|
2250
2250
|
* @see https://tailwindcss.com/docs/margin
|
|
2251
2251
|
*/
|
|
2252
2252
|
ms: [{
|
|
2253
|
-
ms:
|
|
2253
|
+
ms: N()
|
|
2254
2254
|
}],
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Margin Inline End
|
|
2257
2257
|
* @see https://tailwindcss.com/docs/margin
|
|
2258
2258
|
*/
|
|
2259
2259
|
me: [{
|
|
2260
|
-
me:
|
|
2260
|
+
me: N()
|
|
2261
2261
|
}],
|
|
2262
2262
|
/**
|
|
2263
2263
|
* Margin Block Start
|
|
2264
2264
|
* @see https://tailwindcss.com/docs/margin
|
|
2265
2265
|
*/
|
|
2266
2266
|
mbs: [{
|
|
2267
|
-
mbs:
|
|
2267
|
+
mbs: N()
|
|
2268
2268
|
}],
|
|
2269
2269
|
/**
|
|
2270
2270
|
* Margin Block End
|
|
2271
2271
|
* @see https://tailwindcss.com/docs/margin
|
|
2272
2272
|
*/
|
|
2273
2273
|
mbe: [{
|
|
2274
|
-
mbe:
|
|
2274
|
+
mbe: N()
|
|
2275
2275
|
}],
|
|
2276
2276
|
/**
|
|
2277
2277
|
* Margin Top
|
|
2278
2278
|
* @see https://tailwindcss.com/docs/margin
|
|
2279
2279
|
*/
|
|
2280
2280
|
mt: [{
|
|
2281
|
-
mt:
|
|
2281
|
+
mt: N()
|
|
2282
2282
|
}],
|
|
2283
2283
|
/**
|
|
2284
2284
|
* Margin Right
|
|
2285
2285
|
* @see https://tailwindcss.com/docs/margin
|
|
2286
2286
|
*/
|
|
2287
2287
|
mr: [{
|
|
2288
|
-
mr:
|
|
2288
|
+
mr: N()
|
|
2289
2289
|
}],
|
|
2290
2290
|
/**
|
|
2291
2291
|
* Margin Bottom
|
|
2292
2292
|
* @see https://tailwindcss.com/docs/margin
|
|
2293
2293
|
*/
|
|
2294
2294
|
mb: [{
|
|
2295
|
-
mb:
|
|
2295
|
+
mb: N()
|
|
2296
2296
|
}],
|
|
2297
2297
|
/**
|
|
2298
2298
|
* Margin Left
|
|
2299
2299
|
* @see https://tailwindcss.com/docs/margin
|
|
2300
2300
|
*/
|
|
2301
2301
|
ml: [{
|
|
2302
|
-
ml:
|
|
2302
|
+
ml: N()
|
|
2303
2303
|
}],
|
|
2304
2304
|
/**
|
|
2305
2305
|
* Space Between X
|
|
2306
2306
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
2307
2307
|
*/
|
|
2308
2308
|
"space-x": [{
|
|
2309
|
-
"space-x":
|
|
2309
|
+
"space-x": g()
|
|
2310
2310
|
}],
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Space Between X Reverse
|
|
@@ -2318,7 +2318,7 @@ const An = (e, t) => {
|
|
|
2318
2318
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
2319
2319
|
*/
|
|
2320
2320
|
"space-y": [{
|
|
2321
|
-
"space-y":
|
|
2321
|
+
"space-y": g()
|
|
2322
2322
|
}],
|
|
2323
2323
|
/**
|
|
2324
2324
|
* Space Between Y Reverse
|
|
@@ -2333,7 +2333,7 @@ const An = (e, t) => {
|
|
|
2333
2333
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
2334
2334
|
*/
|
|
2335
2335
|
size: [{
|
|
2336
|
-
size:
|
|
2336
|
+
size: q()
|
|
2337
2337
|
}],
|
|
2338
2338
|
/**
|
|
2339
2339
|
* Inline Size
|
|
@@ -2382,7 +2382,7 @@ const An = (e, t) => {
|
|
|
2382
2382
|
* @see https://tailwindcss.com/docs/width
|
|
2383
2383
|
*/
|
|
2384
2384
|
w: [{
|
|
2385
|
-
w: [r, "screen", ...
|
|
2385
|
+
w: [r, "screen", ...q()]
|
|
2386
2386
|
}],
|
|
2387
2387
|
/**
|
|
2388
2388
|
* Min-Width
|
|
@@ -2394,7 +2394,7 @@ const An = (e, t) => {
|
|
|
2394
2394
|
"screen",
|
|
2395
2395
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2396
2396
|
"none",
|
|
2397
|
-
...
|
|
2397
|
+
...q()
|
|
2398
2398
|
]
|
|
2399
2399
|
}],
|
|
2400
2400
|
/**
|
|
@@ -2412,7 +2412,7 @@ const An = (e, t) => {
|
|
|
2412
2412
|
{
|
|
2413
2413
|
screen: [s]
|
|
2414
2414
|
},
|
|
2415
|
-
...
|
|
2415
|
+
...q()
|
|
2416
2416
|
]
|
|
2417
2417
|
}],
|
|
2418
2418
|
/**
|
|
@@ -2420,21 +2420,21 @@ const An = (e, t) => {
|
|
|
2420
2420
|
* @see https://tailwindcss.com/docs/height
|
|
2421
2421
|
*/
|
|
2422
2422
|
h: [{
|
|
2423
|
-
h: ["screen", "lh", ...
|
|
2423
|
+
h: ["screen", "lh", ...q()]
|
|
2424
2424
|
}],
|
|
2425
2425
|
/**
|
|
2426
2426
|
* Min-Height
|
|
2427
2427
|
* @see https://tailwindcss.com/docs/min-height
|
|
2428
2428
|
*/
|
|
2429
2429
|
"min-h": [{
|
|
2430
|
-
"min-h": ["screen", "lh", "none", ...
|
|
2430
|
+
"min-h": ["screen", "lh", "none", ...q()]
|
|
2431
2431
|
}],
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Max-Height
|
|
2434
2434
|
* @see https://tailwindcss.com/docs/max-height
|
|
2435
2435
|
*/
|
|
2436
2436
|
"max-h": [{
|
|
2437
|
-
"max-h": ["screen", "lh", ...
|
|
2437
|
+
"max-h": ["screen", "lh", ...q()]
|
|
2438
2438
|
}],
|
|
2439
2439
|
// ------------------
|
|
2440
2440
|
// --- Typography ---
|
|
@@ -2526,7 +2526,7 @@ const An = (e, t) => {
|
|
|
2526
2526
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2527
2527
|
*/
|
|
2528
2528
|
"line-clamp": [{
|
|
2529
|
-
"line-clamp": [
|
|
2529
|
+
"line-clamp": [R, "none", L, Rt]
|
|
2530
2530
|
}],
|
|
2531
2531
|
/**
|
|
2532
2532
|
* Line Height
|
|
@@ -2536,7 +2536,7 @@ const An = (e, t) => {
|
|
|
2536
2536
|
leading: [
|
|
2537
2537
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2538
2538
|
i,
|
|
2539
|
-
...
|
|
2539
|
+
...g()
|
|
2540
2540
|
]
|
|
2541
2541
|
}],
|
|
2542
2542
|
/**
|
|
@@ -2573,14 +2573,14 @@ const An = (e, t) => {
|
|
|
2573
2573
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
2574
2574
|
*/
|
|
2575
2575
|
"placeholder-color": [{
|
|
2576
|
-
placeholder:
|
|
2576
|
+
placeholder: I()
|
|
2577
2577
|
}],
|
|
2578
2578
|
/**
|
|
2579
2579
|
* Text Color
|
|
2580
2580
|
* @see https://tailwindcss.com/docs/text-color
|
|
2581
2581
|
*/
|
|
2582
2582
|
"text-color": [{
|
|
2583
|
-
text:
|
|
2583
|
+
text: I()
|
|
2584
2584
|
}],
|
|
2585
2585
|
/**
|
|
2586
2586
|
* Text Decoration
|
|
@@ -2599,21 +2599,21 @@ const An = (e, t) => {
|
|
|
2599
2599
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2600
2600
|
*/
|
|
2601
2601
|
"text-decoration-thickness": [{
|
|
2602
|
-
decoration: [
|
|
2602
|
+
decoration: [R, "from-font", "auto", L, be]
|
|
2603
2603
|
}],
|
|
2604
2604
|
/**
|
|
2605
2605
|
* Text Decoration Color
|
|
2606
2606
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2607
2607
|
*/
|
|
2608
2608
|
"text-decoration-color": [{
|
|
2609
|
-
decoration:
|
|
2609
|
+
decoration: I()
|
|
2610
2610
|
}],
|
|
2611
2611
|
/**
|
|
2612
2612
|
* Text Underline Offset
|
|
2613
2613
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2614
2614
|
*/
|
|
2615
2615
|
"underline-offset": [{
|
|
2616
|
-
"underline-offset": [
|
|
2616
|
+
"underline-offset": [R, "auto", L, P]
|
|
2617
2617
|
}],
|
|
2618
2618
|
/**
|
|
2619
2619
|
* Text Transform
|
|
@@ -2637,7 +2637,7 @@ const An = (e, t) => {
|
|
|
2637
2637
|
* @see https://tailwindcss.com/docs/text-indent
|
|
2638
2638
|
*/
|
|
2639
2639
|
indent: [{
|
|
2640
|
-
indent:
|
|
2640
|
+
indent: g()
|
|
2641
2641
|
}],
|
|
2642
2642
|
/**
|
|
2643
2643
|
* Vertical Alignment
|
|
@@ -2744,7 +2744,7 @@ const An = (e, t) => {
|
|
|
2744
2744
|
* @see https://tailwindcss.com/docs/background-color
|
|
2745
2745
|
*/
|
|
2746
2746
|
"bg-color": [{
|
|
2747
|
-
bg:
|
|
2747
|
+
bg: I()
|
|
2748
2748
|
}],
|
|
2749
2749
|
/**
|
|
2750
2750
|
* Gradient Color Stops From Position
|
|
@@ -2772,21 +2772,21 @@ const An = (e, t) => {
|
|
|
2772
2772
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2773
2773
|
*/
|
|
2774
2774
|
"gradient-from": [{
|
|
2775
|
-
from:
|
|
2775
|
+
from: I()
|
|
2776
2776
|
}],
|
|
2777
2777
|
/**
|
|
2778
2778
|
* Gradient Color Stops Via
|
|
2779
2779
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2780
2780
|
*/
|
|
2781
2781
|
"gradient-via": [{
|
|
2782
|
-
via:
|
|
2782
|
+
via: I()
|
|
2783
2783
|
}],
|
|
2784
2784
|
/**
|
|
2785
2785
|
* Gradient Color Stops To
|
|
2786
2786
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2787
2787
|
*/
|
|
2788
2788
|
"gradient-to": [{
|
|
2789
|
-
to:
|
|
2789
|
+
to: I()
|
|
2790
2790
|
}],
|
|
2791
2791
|
// ---------------
|
|
2792
2792
|
// --- Borders ---
|
|
@@ -3016,84 +3016,84 @@ const An = (e, t) => {
|
|
|
3016
3016
|
* @see https://tailwindcss.com/docs/border-color
|
|
3017
3017
|
*/
|
|
3018
3018
|
"border-color": [{
|
|
3019
|
-
border:
|
|
3019
|
+
border: I()
|
|
3020
3020
|
}],
|
|
3021
3021
|
/**
|
|
3022
3022
|
* Border Color Inline
|
|
3023
3023
|
* @see https://tailwindcss.com/docs/border-color
|
|
3024
3024
|
*/
|
|
3025
3025
|
"border-color-x": [{
|
|
3026
|
-
"border-x":
|
|
3026
|
+
"border-x": I()
|
|
3027
3027
|
}],
|
|
3028
3028
|
/**
|
|
3029
3029
|
* Border Color Block
|
|
3030
3030
|
* @see https://tailwindcss.com/docs/border-color
|
|
3031
3031
|
*/
|
|
3032
3032
|
"border-color-y": [{
|
|
3033
|
-
"border-y":
|
|
3033
|
+
"border-y": I()
|
|
3034
3034
|
}],
|
|
3035
3035
|
/**
|
|
3036
3036
|
* Border Color Inline Start
|
|
3037
3037
|
* @see https://tailwindcss.com/docs/border-color
|
|
3038
3038
|
*/
|
|
3039
3039
|
"border-color-s": [{
|
|
3040
|
-
"border-s":
|
|
3040
|
+
"border-s": I()
|
|
3041
3041
|
}],
|
|
3042
3042
|
/**
|
|
3043
3043
|
* Border Color Inline End
|
|
3044
3044
|
* @see https://tailwindcss.com/docs/border-color
|
|
3045
3045
|
*/
|
|
3046
3046
|
"border-color-e": [{
|
|
3047
|
-
"border-e":
|
|
3047
|
+
"border-e": I()
|
|
3048
3048
|
}],
|
|
3049
3049
|
/**
|
|
3050
3050
|
* Border Color Block Start
|
|
3051
3051
|
* @see https://tailwindcss.com/docs/border-color
|
|
3052
3052
|
*/
|
|
3053
3053
|
"border-color-bs": [{
|
|
3054
|
-
"border-bs":
|
|
3054
|
+
"border-bs": I()
|
|
3055
3055
|
}],
|
|
3056
3056
|
/**
|
|
3057
3057
|
* Border Color Block End
|
|
3058
3058
|
* @see https://tailwindcss.com/docs/border-color
|
|
3059
3059
|
*/
|
|
3060
3060
|
"border-color-be": [{
|
|
3061
|
-
"border-be":
|
|
3061
|
+
"border-be": I()
|
|
3062
3062
|
}],
|
|
3063
3063
|
/**
|
|
3064
3064
|
* Border Color Top
|
|
3065
3065
|
* @see https://tailwindcss.com/docs/border-color
|
|
3066
3066
|
*/
|
|
3067
3067
|
"border-color-t": [{
|
|
3068
|
-
"border-t":
|
|
3068
|
+
"border-t": I()
|
|
3069
3069
|
}],
|
|
3070
3070
|
/**
|
|
3071
3071
|
* Border Color Right
|
|
3072
3072
|
* @see https://tailwindcss.com/docs/border-color
|
|
3073
3073
|
*/
|
|
3074
3074
|
"border-color-r": [{
|
|
3075
|
-
"border-r":
|
|
3075
|
+
"border-r": I()
|
|
3076
3076
|
}],
|
|
3077
3077
|
/**
|
|
3078
3078
|
* Border Color Bottom
|
|
3079
3079
|
* @see https://tailwindcss.com/docs/border-color
|
|
3080
3080
|
*/
|
|
3081
3081
|
"border-color-b": [{
|
|
3082
|
-
"border-b":
|
|
3082
|
+
"border-b": I()
|
|
3083
3083
|
}],
|
|
3084
3084
|
/**
|
|
3085
3085
|
* Border Color Left
|
|
3086
3086
|
* @see https://tailwindcss.com/docs/border-color
|
|
3087
3087
|
*/
|
|
3088
3088
|
"border-color-l": [{
|
|
3089
|
-
"border-l":
|
|
3089
|
+
"border-l": I()
|
|
3090
3090
|
}],
|
|
3091
3091
|
/**
|
|
3092
3092
|
* Divide Color
|
|
3093
3093
|
* @see https://tailwindcss.com/docs/divide-color
|
|
3094
3094
|
*/
|
|
3095
3095
|
"divide-color": [{
|
|
3096
|
-
divide:
|
|
3096
|
+
divide: I()
|
|
3097
3097
|
}],
|
|
3098
3098
|
/**
|
|
3099
3099
|
* Outline Style
|
|
@@ -3107,21 +3107,21 @@ const An = (e, t) => {
|
|
|
3107
3107
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
3108
3108
|
*/
|
|
3109
3109
|
"outline-offset": [{
|
|
3110
|
-
"outline-offset": [
|
|
3110
|
+
"outline-offset": [R, L, P]
|
|
3111
3111
|
}],
|
|
3112
3112
|
/**
|
|
3113
3113
|
* Outline Width
|
|
3114
3114
|
* @see https://tailwindcss.com/docs/outline-width
|
|
3115
3115
|
*/
|
|
3116
3116
|
"outline-w": [{
|
|
3117
|
-
outline: ["",
|
|
3117
|
+
outline: ["", R, Fe, be]
|
|
3118
3118
|
}],
|
|
3119
3119
|
/**
|
|
3120
3120
|
* Outline Color
|
|
3121
3121
|
* @see https://tailwindcss.com/docs/outline-color
|
|
3122
3122
|
*/
|
|
3123
3123
|
"outline-color": [{
|
|
3124
|
-
outline:
|
|
3124
|
+
outline: I()
|
|
3125
3125
|
}],
|
|
3126
3126
|
// ---------------
|
|
3127
3127
|
// --- Effects ---
|
|
@@ -3136,7 +3136,7 @@ const An = (e, t) => {
|
|
|
3136
3136
|
"",
|
|
3137
3137
|
"none",
|
|
3138
3138
|
p,
|
|
3139
|
-
|
|
3139
|
+
qe,
|
|
3140
3140
|
Ke
|
|
3141
3141
|
]
|
|
3142
3142
|
}],
|
|
@@ -3145,21 +3145,21 @@ const An = (e, t) => {
|
|
|
3145
3145
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
3146
3146
|
*/
|
|
3147
3147
|
"shadow-color": [{
|
|
3148
|
-
shadow:
|
|
3148
|
+
shadow: I()
|
|
3149
3149
|
}],
|
|
3150
3150
|
/**
|
|
3151
3151
|
* Inset Box Shadow
|
|
3152
3152
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
3153
3153
|
*/
|
|
3154
3154
|
"inset-shadow": [{
|
|
3155
|
-
"inset-shadow": ["none", u,
|
|
3155
|
+
"inset-shadow": ["none", u, qe, Ke]
|
|
3156
3156
|
}],
|
|
3157
3157
|
/**
|
|
3158
3158
|
* Inset Box Shadow Color
|
|
3159
3159
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
3160
3160
|
*/
|
|
3161
3161
|
"inset-shadow-color": [{
|
|
3162
|
-
"inset-shadow":
|
|
3162
|
+
"inset-shadow": I()
|
|
3163
3163
|
}],
|
|
3164
3164
|
/**
|
|
3165
3165
|
* Ring Width
|
|
@@ -3180,7 +3180,7 @@ const An = (e, t) => {
|
|
|
3180
3180
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
3181
3181
|
*/
|
|
3182
3182
|
"ring-color": [{
|
|
3183
|
-
ring:
|
|
3183
|
+
ring: I()
|
|
3184
3184
|
}],
|
|
3185
3185
|
/**
|
|
3186
3186
|
* Ring Offset Width
|
|
@@ -3189,7 +3189,7 @@ const An = (e, t) => {
|
|
|
3189
3189
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3190
3190
|
*/
|
|
3191
3191
|
"ring-offset-w": [{
|
|
3192
|
-
"ring-offset": [
|
|
3192
|
+
"ring-offset": [R, be]
|
|
3193
3193
|
}],
|
|
3194
3194
|
/**
|
|
3195
3195
|
* Ring Offset Color
|
|
@@ -3198,7 +3198,7 @@ const An = (e, t) => {
|
|
|
3198
3198
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3199
3199
|
*/
|
|
3200
3200
|
"ring-offset-color": [{
|
|
3201
|
-
"ring-offset":
|
|
3201
|
+
"ring-offset": I()
|
|
3202
3202
|
}],
|
|
3203
3203
|
/**
|
|
3204
3204
|
* Inset Ring Width
|
|
@@ -3212,28 +3212,28 @@ const An = (e, t) => {
|
|
|
3212
3212
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
3213
3213
|
*/
|
|
3214
3214
|
"inset-ring-color": [{
|
|
3215
|
-
"inset-ring":
|
|
3215
|
+
"inset-ring": I()
|
|
3216
3216
|
}],
|
|
3217
3217
|
/**
|
|
3218
3218
|
* Text Shadow
|
|
3219
3219
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
3220
3220
|
*/
|
|
3221
3221
|
"text-shadow": [{
|
|
3222
|
-
"text-shadow": ["none", b,
|
|
3222
|
+
"text-shadow": ["none", b, qe, Ke]
|
|
3223
3223
|
}],
|
|
3224
3224
|
/**
|
|
3225
3225
|
* Text Shadow Color
|
|
3226
3226
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
3227
3227
|
*/
|
|
3228
3228
|
"text-shadow-color": [{
|
|
3229
|
-
"text-shadow":
|
|
3229
|
+
"text-shadow": I()
|
|
3230
3230
|
}],
|
|
3231
3231
|
/**
|
|
3232
3232
|
* Opacity
|
|
3233
3233
|
* @see https://tailwindcss.com/docs/opacity
|
|
3234
3234
|
*/
|
|
3235
3235
|
opacity: [{
|
|
3236
|
-
opacity: [
|
|
3236
|
+
opacity: [R, L, P]
|
|
3237
3237
|
}],
|
|
3238
3238
|
/**
|
|
3239
3239
|
* Mix Blend Mode
|
|
@@ -3268,106 +3268,106 @@ const An = (e, t) => {
|
|
|
3268
3268
|
* @see https://tailwindcss.com/docs/mask-image
|
|
3269
3269
|
*/
|
|
3270
3270
|
"mask-image-linear-pos": [{
|
|
3271
|
-
"mask-linear": [
|
|
3271
|
+
"mask-linear": [R]
|
|
3272
3272
|
}],
|
|
3273
3273
|
"mask-image-linear-from-pos": [{
|
|
3274
|
-
"mask-linear-from":
|
|
3274
|
+
"mask-linear-from": Q()
|
|
3275
3275
|
}],
|
|
3276
3276
|
"mask-image-linear-to-pos": [{
|
|
3277
|
-
"mask-linear-to":
|
|
3277
|
+
"mask-linear-to": Q()
|
|
3278
3278
|
}],
|
|
3279
3279
|
"mask-image-linear-from-color": [{
|
|
3280
|
-
"mask-linear-from":
|
|
3280
|
+
"mask-linear-from": I()
|
|
3281
3281
|
}],
|
|
3282
3282
|
"mask-image-linear-to-color": [{
|
|
3283
|
-
"mask-linear-to":
|
|
3283
|
+
"mask-linear-to": I()
|
|
3284
3284
|
}],
|
|
3285
3285
|
"mask-image-t-from-pos": [{
|
|
3286
|
-
"mask-t-from":
|
|
3286
|
+
"mask-t-from": Q()
|
|
3287
3287
|
}],
|
|
3288
3288
|
"mask-image-t-to-pos": [{
|
|
3289
|
-
"mask-t-to":
|
|
3289
|
+
"mask-t-to": Q()
|
|
3290
3290
|
}],
|
|
3291
3291
|
"mask-image-t-from-color": [{
|
|
3292
|
-
"mask-t-from":
|
|
3292
|
+
"mask-t-from": I()
|
|
3293
3293
|
}],
|
|
3294
3294
|
"mask-image-t-to-color": [{
|
|
3295
|
-
"mask-t-to":
|
|
3295
|
+
"mask-t-to": I()
|
|
3296
3296
|
}],
|
|
3297
3297
|
"mask-image-r-from-pos": [{
|
|
3298
|
-
"mask-r-from":
|
|
3298
|
+
"mask-r-from": Q()
|
|
3299
3299
|
}],
|
|
3300
3300
|
"mask-image-r-to-pos": [{
|
|
3301
|
-
"mask-r-to":
|
|
3301
|
+
"mask-r-to": Q()
|
|
3302
3302
|
}],
|
|
3303
3303
|
"mask-image-r-from-color": [{
|
|
3304
|
-
"mask-r-from":
|
|
3304
|
+
"mask-r-from": I()
|
|
3305
3305
|
}],
|
|
3306
3306
|
"mask-image-r-to-color": [{
|
|
3307
|
-
"mask-r-to":
|
|
3307
|
+
"mask-r-to": I()
|
|
3308
3308
|
}],
|
|
3309
3309
|
"mask-image-b-from-pos": [{
|
|
3310
|
-
"mask-b-from":
|
|
3310
|
+
"mask-b-from": Q()
|
|
3311
3311
|
}],
|
|
3312
3312
|
"mask-image-b-to-pos": [{
|
|
3313
|
-
"mask-b-to":
|
|
3313
|
+
"mask-b-to": Q()
|
|
3314
3314
|
}],
|
|
3315
3315
|
"mask-image-b-from-color": [{
|
|
3316
|
-
"mask-b-from":
|
|
3316
|
+
"mask-b-from": I()
|
|
3317
3317
|
}],
|
|
3318
3318
|
"mask-image-b-to-color": [{
|
|
3319
|
-
"mask-b-to":
|
|
3319
|
+
"mask-b-to": I()
|
|
3320
3320
|
}],
|
|
3321
3321
|
"mask-image-l-from-pos": [{
|
|
3322
|
-
"mask-l-from":
|
|
3322
|
+
"mask-l-from": Q()
|
|
3323
3323
|
}],
|
|
3324
3324
|
"mask-image-l-to-pos": [{
|
|
3325
|
-
"mask-l-to":
|
|
3325
|
+
"mask-l-to": Q()
|
|
3326
3326
|
}],
|
|
3327
3327
|
"mask-image-l-from-color": [{
|
|
3328
|
-
"mask-l-from":
|
|
3328
|
+
"mask-l-from": I()
|
|
3329
3329
|
}],
|
|
3330
3330
|
"mask-image-l-to-color": [{
|
|
3331
|
-
"mask-l-to":
|
|
3331
|
+
"mask-l-to": I()
|
|
3332
3332
|
}],
|
|
3333
3333
|
"mask-image-x-from-pos": [{
|
|
3334
|
-
"mask-x-from":
|
|
3334
|
+
"mask-x-from": Q()
|
|
3335
3335
|
}],
|
|
3336
3336
|
"mask-image-x-to-pos": [{
|
|
3337
|
-
"mask-x-to":
|
|
3337
|
+
"mask-x-to": Q()
|
|
3338
3338
|
}],
|
|
3339
3339
|
"mask-image-x-from-color": [{
|
|
3340
|
-
"mask-x-from":
|
|
3340
|
+
"mask-x-from": I()
|
|
3341
3341
|
}],
|
|
3342
3342
|
"mask-image-x-to-color": [{
|
|
3343
|
-
"mask-x-to":
|
|
3343
|
+
"mask-x-to": I()
|
|
3344
3344
|
}],
|
|
3345
3345
|
"mask-image-y-from-pos": [{
|
|
3346
|
-
"mask-y-from":
|
|
3346
|
+
"mask-y-from": Q()
|
|
3347
3347
|
}],
|
|
3348
3348
|
"mask-image-y-to-pos": [{
|
|
3349
|
-
"mask-y-to":
|
|
3349
|
+
"mask-y-to": Q()
|
|
3350
3350
|
}],
|
|
3351
3351
|
"mask-image-y-from-color": [{
|
|
3352
|
-
"mask-y-from":
|
|
3352
|
+
"mask-y-from": I()
|
|
3353
3353
|
}],
|
|
3354
3354
|
"mask-image-y-to-color": [{
|
|
3355
|
-
"mask-y-to":
|
|
3355
|
+
"mask-y-to": I()
|
|
3356
3356
|
}],
|
|
3357
3357
|
"mask-image-radial": [{
|
|
3358
3358
|
"mask-radial": [L, P]
|
|
3359
3359
|
}],
|
|
3360
3360
|
"mask-image-radial-from-pos": [{
|
|
3361
|
-
"mask-radial-from":
|
|
3361
|
+
"mask-radial-from": Q()
|
|
3362
3362
|
}],
|
|
3363
3363
|
"mask-image-radial-to-pos": [{
|
|
3364
|
-
"mask-radial-to":
|
|
3364
|
+
"mask-radial-to": Q()
|
|
3365
3365
|
}],
|
|
3366
3366
|
"mask-image-radial-from-color": [{
|
|
3367
|
-
"mask-radial-from":
|
|
3367
|
+
"mask-radial-from": I()
|
|
3368
3368
|
}],
|
|
3369
3369
|
"mask-image-radial-to-color": [{
|
|
3370
|
-
"mask-radial-to":
|
|
3370
|
+
"mask-radial-to": I()
|
|
3371
3371
|
}],
|
|
3372
3372
|
"mask-image-radial-shape": [{
|
|
3373
3373
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -3379,22 +3379,22 @@ const An = (e, t) => {
|
|
|
3379
3379
|
}]
|
|
3380
3380
|
}],
|
|
3381
3381
|
"mask-image-radial-pos": [{
|
|
3382
|
-
"mask-radial-at":
|
|
3382
|
+
"mask-radial-at": F()
|
|
3383
3383
|
}],
|
|
3384
3384
|
"mask-image-conic-pos": [{
|
|
3385
|
-
"mask-conic": [
|
|
3385
|
+
"mask-conic": [R]
|
|
3386
3386
|
}],
|
|
3387
3387
|
"mask-image-conic-from-pos": [{
|
|
3388
|
-
"mask-conic-from":
|
|
3388
|
+
"mask-conic-from": Q()
|
|
3389
3389
|
}],
|
|
3390
3390
|
"mask-image-conic-to-pos": [{
|
|
3391
|
-
"mask-conic-to":
|
|
3391
|
+
"mask-conic-to": Q()
|
|
3392
3392
|
}],
|
|
3393
3393
|
"mask-image-conic-from-color": [{
|
|
3394
|
-
"mask-conic-from":
|
|
3394
|
+
"mask-conic-from": I()
|
|
3395
3395
|
}],
|
|
3396
3396
|
"mask-image-conic-to-color": [{
|
|
3397
|
-
"mask-conic-to":
|
|
3397
|
+
"mask-conic-to": I()
|
|
3398
3398
|
}],
|
|
3399
3399
|
/**
|
|
3400
3400
|
* Mask Mode
|
|
@@ -3473,14 +3473,14 @@ const An = (e, t) => {
|
|
|
3473
3473
|
* @see https://tailwindcss.com/docs/brightness
|
|
3474
3474
|
*/
|
|
3475
3475
|
brightness: [{
|
|
3476
|
-
brightness: [
|
|
3476
|
+
brightness: [R, L, P]
|
|
3477
3477
|
}],
|
|
3478
3478
|
/**
|
|
3479
3479
|
* Contrast
|
|
3480
3480
|
* @see https://tailwindcss.com/docs/contrast
|
|
3481
3481
|
*/
|
|
3482
3482
|
contrast: [{
|
|
3483
|
-
contrast: [
|
|
3483
|
+
contrast: [R, L, P]
|
|
3484
3484
|
}],
|
|
3485
3485
|
/**
|
|
3486
3486
|
* Drop Shadow
|
|
@@ -3492,7 +3492,7 @@ const An = (e, t) => {
|
|
|
3492
3492
|
"",
|
|
3493
3493
|
"none",
|
|
3494
3494
|
T,
|
|
3495
|
-
|
|
3495
|
+
qe,
|
|
3496
3496
|
Ke
|
|
3497
3497
|
]
|
|
3498
3498
|
}],
|
|
@@ -3501,42 +3501,42 @@ const An = (e, t) => {
|
|
|
3501
3501
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
3502
3502
|
*/
|
|
3503
3503
|
"drop-shadow-color": [{
|
|
3504
|
-
"drop-shadow":
|
|
3504
|
+
"drop-shadow": I()
|
|
3505
3505
|
}],
|
|
3506
3506
|
/**
|
|
3507
3507
|
* Grayscale
|
|
3508
3508
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3509
3509
|
*/
|
|
3510
3510
|
grayscale: [{
|
|
3511
|
-
grayscale: ["",
|
|
3511
|
+
grayscale: ["", R, L, P]
|
|
3512
3512
|
}],
|
|
3513
3513
|
/**
|
|
3514
3514
|
* Hue Rotate
|
|
3515
3515
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3516
3516
|
*/
|
|
3517
3517
|
"hue-rotate": [{
|
|
3518
|
-
"hue-rotate": [
|
|
3518
|
+
"hue-rotate": [R, L, P]
|
|
3519
3519
|
}],
|
|
3520
3520
|
/**
|
|
3521
3521
|
* Invert
|
|
3522
3522
|
* @see https://tailwindcss.com/docs/invert
|
|
3523
3523
|
*/
|
|
3524
3524
|
invert: [{
|
|
3525
|
-
invert: ["",
|
|
3525
|
+
invert: ["", R, L, P]
|
|
3526
3526
|
}],
|
|
3527
3527
|
/**
|
|
3528
3528
|
* Saturate
|
|
3529
3529
|
* @see https://tailwindcss.com/docs/saturate
|
|
3530
3530
|
*/
|
|
3531
3531
|
saturate: [{
|
|
3532
|
-
saturate: [
|
|
3532
|
+
saturate: [R, L, P]
|
|
3533
3533
|
}],
|
|
3534
3534
|
/**
|
|
3535
3535
|
* Sepia
|
|
3536
3536
|
* @see https://tailwindcss.com/docs/sepia
|
|
3537
3537
|
*/
|
|
3538
3538
|
sepia: [{
|
|
3539
|
-
sepia: ["",
|
|
3539
|
+
sepia: ["", R, L, P]
|
|
3540
3540
|
}],
|
|
3541
3541
|
/**
|
|
3542
3542
|
* Backdrop Filter
|
|
@@ -3563,56 +3563,56 @@ const An = (e, t) => {
|
|
|
3563
3563
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3564
3564
|
*/
|
|
3565
3565
|
"backdrop-brightness": [{
|
|
3566
|
-
"backdrop-brightness": [
|
|
3566
|
+
"backdrop-brightness": [R, L, P]
|
|
3567
3567
|
}],
|
|
3568
3568
|
/**
|
|
3569
3569
|
* Backdrop Contrast
|
|
3570
3570
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3571
3571
|
*/
|
|
3572
3572
|
"backdrop-contrast": [{
|
|
3573
|
-
"backdrop-contrast": [
|
|
3573
|
+
"backdrop-contrast": [R, L, P]
|
|
3574
3574
|
}],
|
|
3575
3575
|
/**
|
|
3576
3576
|
* Backdrop Grayscale
|
|
3577
3577
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3578
3578
|
*/
|
|
3579
3579
|
"backdrop-grayscale": [{
|
|
3580
|
-
"backdrop-grayscale": ["",
|
|
3580
|
+
"backdrop-grayscale": ["", R, L, P]
|
|
3581
3581
|
}],
|
|
3582
3582
|
/**
|
|
3583
3583
|
* Backdrop Hue Rotate
|
|
3584
3584
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3585
3585
|
*/
|
|
3586
3586
|
"backdrop-hue-rotate": [{
|
|
3587
|
-
"backdrop-hue-rotate": [
|
|
3587
|
+
"backdrop-hue-rotate": [R, L, P]
|
|
3588
3588
|
}],
|
|
3589
3589
|
/**
|
|
3590
3590
|
* Backdrop Invert
|
|
3591
3591
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3592
3592
|
*/
|
|
3593
3593
|
"backdrop-invert": [{
|
|
3594
|
-
"backdrop-invert": ["",
|
|
3594
|
+
"backdrop-invert": ["", R, L, P]
|
|
3595
3595
|
}],
|
|
3596
3596
|
/**
|
|
3597
3597
|
* Backdrop Opacity
|
|
3598
3598
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3599
3599
|
*/
|
|
3600
3600
|
"backdrop-opacity": [{
|
|
3601
|
-
"backdrop-opacity": [
|
|
3601
|
+
"backdrop-opacity": [R, L, P]
|
|
3602
3602
|
}],
|
|
3603
3603
|
/**
|
|
3604
3604
|
* Backdrop Saturate
|
|
3605
3605
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3606
3606
|
*/
|
|
3607
3607
|
"backdrop-saturate": [{
|
|
3608
|
-
"backdrop-saturate": [
|
|
3608
|
+
"backdrop-saturate": [R, L, P]
|
|
3609
3609
|
}],
|
|
3610
3610
|
/**
|
|
3611
3611
|
* Backdrop Sepia
|
|
3612
3612
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3613
3613
|
*/
|
|
3614
3614
|
"backdrop-sepia": [{
|
|
3615
|
-
"backdrop-sepia": ["",
|
|
3615
|
+
"backdrop-sepia": ["", R, L, P]
|
|
3616
3616
|
}],
|
|
3617
3617
|
// --------------
|
|
3618
3618
|
// --- Tables ---
|
|
@@ -3629,21 +3629,21 @@ const An = (e, t) => {
|
|
|
3629
3629
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3630
3630
|
*/
|
|
3631
3631
|
"border-spacing": [{
|
|
3632
|
-
"border-spacing":
|
|
3632
|
+
"border-spacing": g()
|
|
3633
3633
|
}],
|
|
3634
3634
|
/**
|
|
3635
3635
|
* Border Spacing X
|
|
3636
3636
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3637
3637
|
*/
|
|
3638
3638
|
"border-spacing-x": [{
|
|
3639
|
-
"border-spacing-x":
|
|
3639
|
+
"border-spacing-x": g()
|
|
3640
3640
|
}],
|
|
3641
3641
|
/**
|
|
3642
3642
|
* Border Spacing Y
|
|
3643
3643
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3644
3644
|
*/
|
|
3645
3645
|
"border-spacing-y": [{
|
|
3646
|
-
"border-spacing-y":
|
|
3646
|
+
"border-spacing-y": g()
|
|
3647
3647
|
}],
|
|
3648
3648
|
/**
|
|
3649
3649
|
* Table Layout
|
|
@@ -3681,21 +3681,21 @@ const An = (e, t) => {
|
|
|
3681
3681
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3682
3682
|
*/
|
|
3683
3683
|
duration: [{
|
|
3684
|
-
duration: [
|
|
3684
|
+
duration: [R, "initial", L, P]
|
|
3685
3685
|
}],
|
|
3686
3686
|
/**
|
|
3687
3687
|
* Transition Timing Function
|
|
3688
3688
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3689
3689
|
*/
|
|
3690
3690
|
ease: [{
|
|
3691
|
-
ease: ["linear", "initial",
|
|
3691
|
+
ease: ["linear", "initial", m, L, P]
|
|
3692
3692
|
}],
|
|
3693
3693
|
/**
|
|
3694
3694
|
* Transition Delay
|
|
3695
3695
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3696
3696
|
*/
|
|
3697
3697
|
delay: [{
|
|
3698
|
-
delay: [
|
|
3698
|
+
delay: [R, L, P]
|
|
3699
3699
|
}],
|
|
3700
3700
|
/**
|
|
3701
3701
|
* Animation
|
|
@@ -3719,14 +3719,14 @@ const An = (e, t) => {
|
|
|
3719
3719
|
* @see https://tailwindcss.com/docs/perspective
|
|
3720
3720
|
*/
|
|
3721
3721
|
perspective: [{
|
|
3722
|
-
perspective: [
|
|
3722
|
+
perspective: [C, L, P]
|
|
3723
3723
|
}],
|
|
3724
3724
|
/**
|
|
3725
3725
|
* Perspective Origin
|
|
3726
3726
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
3727
3727
|
*/
|
|
3728
3728
|
"perspective-origin": [{
|
|
3729
|
-
"perspective-origin":
|
|
3729
|
+
"perspective-origin": D()
|
|
3730
3730
|
}],
|
|
3731
3731
|
/**
|
|
3732
3732
|
* Rotate
|
|
@@ -3822,7 +3822,7 @@ const An = (e, t) => {
|
|
|
3822
3822
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
3823
3823
|
*/
|
|
3824
3824
|
"transform-origin": [{
|
|
3825
|
-
origin:
|
|
3825
|
+
origin: D()
|
|
3826
3826
|
}],
|
|
3827
3827
|
/**
|
|
3828
3828
|
* Transform Style
|
|
@@ -3872,7 +3872,7 @@ const An = (e, t) => {
|
|
|
3872
3872
|
* @see https://tailwindcss.com/docs/accent-color
|
|
3873
3873
|
*/
|
|
3874
3874
|
accent: [{
|
|
3875
|
-
accent:
|
|
3875
|
+
accent: I()
|
|
3876
3876
|
}],
|
|
3877
3877
|
/**
|
|
3878
3878
|
* Appearance
|
|
@@ -3886,7 +3886,7 @@ const An = (e, t) => {
|
|
|
3886
3886
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3887
3887
|
*/
|
|
3888
3888
|
"caret-color": [{
|
|
3889
|
-
caret:
|
|
3889
|
+
caret: I()
|
|
3890
3890
|
}],
|
|
3891
3891
|
/**
|
|
3892
3892
|
* Color Scheme
|
|
@@ -3935,154 +3935,154 @@ const An = (e, t) => {
|
|
|
3935
3935
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3936
3936
|
*/
|
|
3937
3937
|
"scroll-m": [{
|
|
3938
|
-
"scroll-m":
|
|
3938
|
+
"scroll-m": g()
|
|
3939
3939
|
}],
|
|
3940
3940
|
/**
|
|
3941
3941
|
* Scroll Margin Inline
|
|
3942
3942
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3943
3943
|
*/
|
|
3944
3944
|
"scroll-mx": [{
|
|
3945
|
-
"scroll-mx":
|
|
3945
|
+
"scroll-mx": g()
|
|
3946
3946
|
}],
|
|
3947
3947
|
/**
|
|
3948
3948
|
* Scroll Margin Block
|
|
3949
3949
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3950
3950
|
*/
|
|
3951
3951
|
"scroll-my": [{
|
|
3952
|
-
"scroll-my":
|
|
3952
|
+
"scroll-my": g()
|
|
3953
3953
|
}],
|
|
3954
3954
|
/**
|
|
3955
3955
|
* Scroll Margin Inline Start
|
|
3956
3956
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3957
3957
|
*/
|
|
3958
3958
|
"scroll-ms": [{
|
|
3959
|
-
"scroll-ms":
|
|
3959
|
+
"scroll-ms": g()
|
|
3960
3960
|
}],
|
|
3961
3961
|
/**
|
|
3962
3962
|
* Scroll Margin Inline End
|
|
3963
3963
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3964
3964
|
*/
|
|
3965
3965
|
"scroll-me": [{
|
|
3966
|
-
"scroll-me":
|
|
3966
|
+
"scroll-me": g()
|
|
3967
3967
|
}],
|
|
3968
3968
|
/**
|
|
3969
3969
|
* Scroll Margin Block Start
|
|
3970
3970
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3971
3971
|
*/
|
|
3972
3972
|
"scroll-mbs": [{
|
|
3973
|
-
"scroll-mbs":
|
|
3973
|
+
"scroll-mbs": g()
|
|
3974
3974
|
}],
|
|
3975
3975
|
/**
|
|
3976
3976
|
* Scroll Margin Block End
|
|
3977
3977
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3978
3978
|
*/
|
|
3979
3979
|
"scroll-mbe": [{
|
|
3980
|
-
"scroll-mbe":
|
|
3980
|
+
"scroll-mbe": g()
|
|
3981
3981
|
}],
|
|
3982
3982
|
/**
|
|
3983
3983
|
* Scroll Margin Top
|
|
3984
3984
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3985
3985
|
*/
|
|
3986
3986
|
"scroll-mt": [{
|
|
3987
|
-
"scroll-mt":
|
|
3987
|
+
"scroll-mt": g()
|
|
3988
3988
|
}],
|
|
3989
3989
|
/**
|
|
3990
3990
|
* Scroll Margin Right
|
|
3991
3991
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3992
3992
|
*/
|
|
3993
3993
|
"scroll-mr": [{
|
|
3994
|
-
"scroll-mr":
|
|
3994
|
+
"scroll-mr": g()
|
|
3995
3995
|
}],
|
|
3996
3996
|
/**
|
|
3997
3997
|
* Scroll Margin Bottom
|
|
3998
3998
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3999
3999
|
*/
|
|
4000
4000
|
"scroll-mb": [{
|
|
4001
|
-
"scroll-mb":
|
|
4001
|
+
"scroll-mb": g()
|
|
4002
4002
|
}],
|
|
4003
4003
|
/**
|
|
4004
4004
|
* Scroll Margin Left
|
|
4005
4005
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
4006
4006
|
*/
|
|
4007
4007
|
"scroll-ml": [{
|
|
4008
|
-
"scroll-ml":
|
|
4008
|
+
"scroll-ml": g()
|
|
4009
4009
|
}],
|
|
4010
4010
|
/**
|
|
4011
4011
|
* Scroll Padding
|
|
4012
4012
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4013
4013
|
*/
|
|
4014
4014
|
"scroll-p": [{
|
|
4015
|
-
"scroll-p":
|
|
4015
|
+
"scroll-p": g()
|
|
4016
4016
|
}],
|
|
4017
4017
|
/**
|
|
4018
4018
|
* Scroll Padding Inline
|
|
4019
4019
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4020
4020
|
*/
|
|
4021
4021
|
"scroll-px": [{
|
|
4022
|
-
"scroll-px":
|
|
4022
|
+
"scroll-px": g()
|
|
4023
4023
|
}],
|
|
4024
4024
|
/**
|
|
4025
4025
|
* Scroll Padding Block
|
|
4026
4026
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4027
4027
|
*/
|
|
4028
4028
|
"scroll-py": [{
|
|
4029
|
-
"scroll-py":
|
|
4029
|
+
"scroll-py": g()
|
|
4030
4030
|
}],
|
|
4031
4031
|
/**
|
|
4032
4032
|
* Scroll Padding Inline Start
|
|
4033
4033
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4034
4034
|
*/
|
|
4035
4035
|
"scroll-ps": [{
|
|
4036
|
-
"scroll-ps":
|
|
4036
|
+
"scroll-ps": g()
|
|
4037
4037
|
}],
|
|
4038
4038
|
/**
|
|
4039
4039
|
* Scroll Padding Inline End
|
|
4040
4040
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4041
4041
|
*/
|
|
4042
4042
|
"scroll-pe": [{
|
|
4043
|
-
"scroll-pe":
|
|
4043
|
+
"scroll-pe": g()
|
|
4044
4044
|
}],
|
|
4045
4045
|
/**
|
|
4046
4046
|
* Scroll Padding Block Start
|
|
4047
4047
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4048
4048
|
*/
|
|
4049
4049
|
"scroll-pbs": [{
|
|
4050
|
-
"scroll-pbs":
|
|
4050
|
+
"scroll-pbs": g()
|
|
4051
4051
|
}],
|
|
4052
4052
|
/**
|
|
4053
4053
|
* Scroll Padding Block End
|
|
4054
4054
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4055
4055
|
*/
|
|
4056
4056
|
"scroll-pbe": [{
|
|
4057
|
-
"scroll-pbe":
|
|
4057
|
+
"scroll-pbe": g()
|
|
4058
4058
|
}],
|
|
4059
4059
|
/**
|
|
4060
4060
|
* Scroll Padding Top
|
|
4061
4061
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4062
4062
|
*/
|
|
4063
4063
|
"scroll-pt": [{
|
|
4064
|
-
"scroll-pt":
|
|
4064
|
+
"scroll-pt": g()
|
|
4065
4065
|
}],
|
|
4066
4066
|
/**
|
|
4067
4067
|
* Scroll Padding Right
|
|
4068
4068
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4069
4069
|
*/
|
|
4070
4070
|
"scroll-pr": [{
|
|
4071
|
-
"scroll-pr":
|
|
4071
|
+
"scroll-pr": g()
|
|
4072
4072
|
}],
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Scroll Padding Bottom
|
|
4075
4075
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4076
4076
|
*/
|
|
4077
4077
|
"scroll-pb": [{
|
|
4078
|
-
"scroll-pb":
|
|
4078
|
+
"scroll-pb": g()
|
|
4079
4079
|
}],
|
|
4080
4080
|
/**
|
|
4081
4081
|
* Scroll Padding Left
|
|
4082
4082
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
4083
4083
|
*/
|
|
4084
4084
|
"scroll-pl": [{
|
|
4085
|
-
"scroll-pl":
|
|
4085
|
+
"scroll-pl": g()
|
|
4086
4086
|
}],
|
|
4087
4087
|
/**
|
|
4088
4088
|
* Scroll Snap Align
|
|
@@ -4160,21 +4160,21 @@ const An = (e, t) => {
|
|
|
4160
4160
|
* @see https://tailwindcss.com/docs/fill
|
|
4161
4161
|
*/
|
|
4162
4162
|
fill: [{
|
|
4163
|
-
fill: ["none", ...
|
|
4163
|
+
fill: ["none", ...I()]
|
|
4164
4164
|
}],
|
|
4165
4165
|
/**
|
|
4166
4166
|
* Stroke Width
|
|
4167
4167
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
4168
4168
|
*/
|
|
4169
4169
|
"stroke-w": [{
|
|
4170
|
-
stroke: [
|
|
4170
|
+
stroke: [R, Fe, be, Rt]
|
|
4171
4171
|
}],
|
|
4172
4172
|
/**
|
|
4173
4173
|
* Stroke
|
|
4174
4174
|
* @see https://tailwindcss.com/docs/stroke
|
|
4175
4175
|
*/
|
|
4176
4176
|
stroke: [{
|
|
4177
|
-
stroke: ["none", ...
|
|
4177
|
+
stroke: ["none", ...I()]
|
|
4178
4178
|
}],
|
|
4179
4179
|
// ---------------------
|
|
4180
4180
|
// --- Accessibility ---
|
|
@@ -4373,7 +4373,7 @@ function De() {
|
|
|
4373
4373
|
const o = t[3], n = o.match(/\((.+?)\)/) || o.match(/at\s+(.+)/);
|
|
4374
4374
|
return n ? n[1].split("/").slice(-2).join("/") : "unknown";
|
|
4375
4375
|
}
|
|
4376
|
-
function
|
|
4376
|
+
function Qe(e) {
|
|
4377
4377
|
const t = e.level === "debug", o = `[VPV ${e.level.charAt(0).toUpperCase() + e.level.slice(1)}]`, n = e.origin || De();
|
|
4378
4378
|
if (t)
|
|
4379
4379
|
return [`%c ${o}(${n}):
|
|
@@ -4403,7 +4403,7 @@ class Pe {
|
|
|
4403
4403
|
args: t,
|
|
4404
4404
|
origin: De()
|
|
4405
4405
|
};
|
|
4406
|
-
console.debug(...
|
|
4406
|
+
console.debug(...Qe(o));
|
|
4407
4407
|
}
|
|
4408
4408
|
}
|
|
4409
4409
|
/**
|
|
@@ -4418,7 +4418,7 @@ class Pe {
|
|
|
4418
4418
|
args: t,
|
|
4419
4419
|
origin: De()
|
|
4420
4420
|
};
|
|
4421
|
-
console.info(...
|
|
4421
|
+
console.info(...Qe(o));
|
|
4422
4422
|
}
|
|
4423
4423
|
}
|
|
4424
4424
|
/**
|
|
@@ -4436,7 +4436,7 @@ class Pe {
|
|
|
4436
4436
|
level: "warn",
|
|
4437
4437
|
args: t,
|
|
4438
4438
|
origin: De()
|
|
4439
|
-
}, n =
|
|
4439
|
+
}, n = Qe(o);
|
|
4440
4440
|
console.warn(...n);
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
@@ -4452,11 +4452,11 @@ class Pe {
|
|
|
4452
4452
|
args: t,
|
|
4453
4453
|
origin: De()
|
|
4454
4454
|
};
|
|
4455
|
-
console.error(...
|
|
4455
|
+
console.error(...Qe(o));
|
|
4456
4456
|
}
|
|
4457
4457
|
}
|
|
4458
4458
|
}
|
|
4459
|
-
const
|
|
4459
|
+
const H = Pe.getInstance(), va = /* @__PURE__ */ new Date("2026-06-16T03:41:37.784Z"), it = "Please visit https://app.vue-pdf-viewer.dev to generate a new license key.", Ae = {
|
|
4460
4460
|
invalidLicense: JSON.stringify({
|
|
4461
4461
|
message: `You are currently using %cwithout%c a valid license. ${it}`,
|
|
4462
4462
|
style: ["font-weight: bold;", "font-weight: normal;"]
|
|
@@ -4498,7 +4498,7 @@ function Pa(e) {
|
|
|
4498
4498
|
const t = JSON.stringify(e);
|
|
4499
4499
|
return btoa(t + xo);
|
|
4500
4500
|
} catch (t) {
|
|
4501
|
-
return
|
|
4501
|
+
return H.error("Error encoding license data:", t), "";
|
|
4502
4502
|
}
|
|
4503
4503
|
}
|
|
4504
4504
|
function La(e) {
|
|
@@ -4507,21 +4507,21 @@ function La(e) {
|
|
|
4507
4507
|
const o = atob(e).slice(0, -xo.length);
|
|
4508
4508
|
return JSON.parse(o);
|
|
4509
4509
|
} catch (t) {
|
|
4510
|
-
return
|
|
4510
|
+
return H.error("Error decoding license data:", t), null;
|
|
4511
4511
|
}
|
|
4512
4512
|
}
|
|
4513
4513
|
async function ya(e, t) {
|
|
4514
4514
|
try {
|
|
4515
|
-
const o = await import("./index-
|
|
4515
|
+
const o = await import("./index-CfLsjkgx.js").then((c) => c.i), n = o.pki.publicKeyFromPem(t), a = atob(e.data), i = o.util.decode64(e.signature), s = o.pss.create({
|
|
4516
4516
|
md: o.md.sha256.create(),
|
|
4517
4517
|
mgf: o.mgf.mgf1.create(o.md.sha256.create()),
|
|
4518
4518
|
saltLength: 32
|
|
4519
4519
|
}), r = o.md.sha256.create();
|
|
4520
4520
|
r.update(a, "utf8");
|
|
4521
4521
|
const l = n.verify(r.digest().bytes(), i, s);
|
|
4522
|
-
return
|
|
4522
|
+
return H.debug("[License] ✓ Verified with node-forge (RSA-PSS):", { isValid: l }), l;
|
|
4523
4523
|
} catch (o) {
|
|
4524
|
-
return
|
|
4524
|
+
return H.error("[License] node-forge verification failed:", o), !1;
|
|
4525
4525
|
}
|
|
4526
4526
|
}
|
|
4527
4527
|
async function Aa(e, t = "SHA-256") {
|
|
@@ -4554,9 +4554,9 @@ QwIDAQAB
|
|
|
4554
4554
|
wa(a),
|
|
4555
4555
|
// Convert signature to ArrayBuffer
|
|
4556
4556
|
new TextEncoder().encode(atob(n))
|
|
4557
|
-
), s &&
|
|
4557
|
+
), s && H.debug("[License] ✓ Verified with crypto.subtle (RSA-PSS)");
|
|
4558
4558
|
} catch (r) {
|
|
4559
|
-
|
|
4559
|
+
H.debug("[License] crypto.subtle failed, trying node-forge fallback:", r), s = await ya(
|
|
4560
4560
|
o,
|
|
4561
4561
|
/*APP_LICENSE_PUBLIC_KEY*/
|
|
4562
4562
|
`-----BEGIN PUBLIC KEY-----
|
|
@@ -4571,10 +4571,10 @@ QwIDAQAB
|
|
|
4571
4571
|
);
|
|
4572
4572
|
}
|
|
4573
4573
|
if (!s)
|
|
4574
|
-
throw
|
|
4574
|
+
throw H.error("[License] ✗ All verification methods failed"), new Error(Ae.invalidSignature);
|
|
4575
4575
|
return JSON.parse(atob(n));
|
|
4576
4576
|
} catch (o) {
|
|
4577
|
-
throw
|
|
4577
|
+
throw H.debug("Error decrypting license:", o), new Error(Ae.invalidLicense);
|
|
4578
4578
|
}
|
|
4579
4579
|
}
|
|
4580
4580
|
const kb = (e, t) => {
|
|
@@ -4591,14 +4591,14 @@ const kb = (e, t) => {
|
|
|
4591
4591
|
return u ? window.location.host.includes(u) : !1;
|
|
4592
4592
|
}
|
|
4593
4593
|
}, r = (p) => {
|
|
4594
|
-
|
|
4594
|
+
H.debug("validateLicense", p);
|
|
4595
4595
|
const { avu: u, exp: b, t: T } = p;
|
|
4596
4596
|
if (!b)
|
|
4597
4597
|
throw new Error("License is missing expiration timestamp");
|
|
4598
4598
|
if (b > Number.MAX_SAFE_INTEGER / 1e3)
|
|
4599
4599
|
throw new Error("Invalid expiration timestamp: value too large");
|
|
4600
|
-
const x = new Date(b * 1e3),
|
|
4601
|
-
if (x.getTime() <
|
|
4600
|
+
const x = new Date(b * 1e3), C = (/* @__PURE__ */ new Date()).getTime();
|
|
4601
|
+
if (x.getTime() < C)
|
|
4602
4602
|
throw new Error(Ae.expired);
|
|
4603
4603
|
if (!u)
|
|
4604
4604
|
throw new Error("License is missing available until version timestamp");
|
|
@@ -4618,7 +4618,7 @@ const kb = (e, t) => {
|
|
|
4618
4618
|
const u = await Aa(p);
|
|
4619
4619
|
r(u), a.isValidKey = !0, a.type = u.t, a.product = u.p;
|
|
4620
4620
|
} catch (u) {
|
|
4621
|
-
|
|
4621
|
+
H.debug("Error decrypting license:", u), a.isValidKey = !1, a.invalidatedMessage = u instanceof Error ? u.message : String(u);
|
|
4622
4622
|
} finally {
|
|
4623
4623
|
a.isValidating = !1, a.isValidated = !0;
|
|
4624
4624
|
}
|
|
@@ -4654,22 +4654,22 @@ function Ob(e) {
|
|
|
4654
4654
|
} catch {
|
|
4655
4655
|
l.message = s, l.style = [];
|
|
4656
4656
|
}
|
|
4657
|
-
|
|
4657
|
+
H.warn(l.message, ...l.style), n.value = r;
|
|
4658
4658
|
};
|
|
4659
4659
|
return Z(
|
|
4660
4660
|
[() => t, e, () => o.value],
|
|
4661
4661
|
([i, s, r]) => {
|
|
4662
4662
|
if (!s) {
|
|
4663
|
-
|
|
4663
|
+
H.debug("NoContainerYet");
|
|
4664
4664
|
return;
|
|
4665
4665
|
}
|
|
4666
4666
|
const { isValidKey: l, isValidating: c, invalidatedMessage: p } = i;
|
|
4667
4667
|
if (!(l && r)) {
|
|
4668
4668
|
if (!r) {
|
|
4669
|
-
|
|
4669
|
+
H.debug("Unlicense case: no provided key"), a(s), i.isValidating = !1;
|
|
4670
4670
|
return;
|
|
4671
4671
|
}
|
|
4672
|
-
c || (l ? n.value && (n.value.remove(), n.value = null) : (
|
|
4672
|
+
c || (l ? n.value && (n.value.remove(), n.value = null) : (H.debug("Unlicense case: invalid key"), a(s, p)));
|
|
4673
4673
|
}
|
|
4674
4674
|
},
|
|
4675
4675
|
{ deep: !0 }
|
|
@@ -4707,15 +4707,15 @@ var ht;
|
|
|
4707
4707
|
(function(e) {
|
|
4708
4708
|
e.AnnotationCreated = "vpv:annotation:created", e.AnnotationUpdated = "vpv:annotation:updated", e.AnnotationDeleted = "vpv:annotation:deleted", e.AnnotationMounted = "vpv:annotation:mounted", e.Rotate = "vpv:rotate", e.ShowNotificationError = "vpv:notification:error";
|
|
4709
4709
|
})(ht || (ht = {}));
|
|
4710
|
-
var
|
|
4710
|
+
var E;
|
|
4711
4711
|
(function(e) {
|
|
4712
4712
|
e[e.Text = 1] = "Text", e[e.Link = 2] = "Link", e[e.FreeText = 3] = "FreeText", e[e.Line = 4] = "Line", e[e.Square = 5] = "Square", e[e.Circle = 6] = "Circle", e[e.Polygon = 7] = "Polygon", e[e.Polyline = 8] = "Polyline", e[e.Highlight = 9] = "Highlight", e[e.Underline = 10] = "Underline", e[e.Squiggly = 11] = "Squiggly", e[e.StrikeOut = 12] = "StrikeOut", e[e.Stamp = 13] = "Stamp", e[e.Caret = 14] = "Caret", e[e.Ink = 15] = "Ink", e[e.Popup = 16] = "Popup", e[e.FileAttachment = 17] = "FileAttachment", e[e.Sound = 18] = "Sound", e[e.Movie = 19] = "Movie", e[e.Widget = 20] = "Widget", e[e.Screen = 21] = "Screen", e[e.PrinterMark = 22] = "PrinterMark", e[e.TrapNet = 23] = "TrapNet", e[e.Watermark = 24] = "Watermark", e[e.ThreeD = 25] = "ThreeD", e[e.Redact = 26] = "Redact";
|
|
4713
|
-
})(
|
|
4713
|
+
})(E || (E = {}));
|
|
4714
4714
|
var jt;
|
|
4715
4715
|
(function(e) {
|
|
4716
4716
|
e[e.INVISIBLE = 1] = "INVISIBLE", e[e.HIDDEN = 2] = "HIDDEN", e[e.PRINT = 4] = "PRINT", e[e.NOZOOM = 8] = "NOZOOM", e[e.NOROTATE = 16] = "NOROTATE", e[e.NOVIEW = 32] = "NOVIEW", e[e.READONLY = 64] = "READONLY", e[e.LOCKED = 128] = "LOCKED", e[e.TOGGLENOVIEW = 256] = "TOGGLENOVIEW", e[e.LOCKEDCONTENTS = 512] = "LOCKEDCONTENTS";
|
|
4717
4717
|
})(jt || (jt = {}));
|
|
4718
|
-
const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Previous match", Oa = "Next match", Fa = "Close", za = "Match Case", Da = "Search case sensitive text", Ma = "Whole Words", Na = "Search exact and case insensitive word(s)", Ra = "Previous page", Ha = "Current page", Ba = "Next page", Ua = "Zoom out", Wa = "Zoom in", ja = "Select zoom level", Ga = "Actual size", Va = "Page fit", Ya = "Page width", Ka = "Enable dark theme",
|
|
4718
|
+
const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Previous match", Oa = "Next match", Fa = "Close", za = "Match Case", Da = "Search case sensitive text", Ma = "Whole Words", Na = "Search exact and case insensitive word(s)", Ra = "Previous page", Ha = "Current page", Ba = "Next page", Ua = "Zoom out", Wa = "Zoom in", ja = "Select zoom level", Ga = "Actual size", Va = "Page fit", Ya = "Page width", Ka = "Enable dark theme", qa = "Enable light theme", Qa = "Open local file", Xa = "Open local file", Ja = "Download file", Za = "Download file", $a = "Print", _a = "Print", ei = "Preparing Document", ti = "Cancel", oi = "Full screen", ni = "Full screen", ai = "More options", ii = "First page", ri = "Go to first page", li = "Last page", si = "Go to last page", ci = "Rotate clockwise", ui = "Rotate clockwise", pi = "Rotate counterclockwise", di = "Rotate counterclockwise", gi = "Text selection tool", mi = "Enable text selection tool", hi = "Hand tool", fi = "Enable hand tool", bi = "Document properties", Ti = "View document properties", Si = "Page scrolling", vi = "Enable page scrolling", wi = "Vertical scrolling", xi = "Enable vertical scrolling", Pi = "Horizontal scrolling", Li = "Enable horizontal scrolling", yi = "Wrapped scrolling", Ai = "Enable wrapped scrolling", Ei = "Single page", Ci = "Enable single page view", Ii = "Dual page", ki = "Enable dual page view", Oi = "Dual page with cover", Fi = "Enable dual page view with cover", zi = "File name", Di = "File size", Mi = "Title", Ni = "Author", Ri = "Subject", Hi = "Keywords", Bi = "Creator", Ui = "Created on", Wi = "Modified on", ji = "PDF producer", Gi = "PDF version", Vi = "Page count", Yi = "Thumbnail", Ki = "Password Required", qi = "This document is password protected. Please enter a password to open the file.", Qi = "Enter password", Xi = "Submit", Ji = "Incorrect password", Zi = "Drag and drop the PDF file here", $i = "View comments", _i = "View comments", er = "", tr = "Page", or = "Comments", nr = "Hide comments", ar = "Annotation tools", ir = "Show annotation tools", rr = "Hide annotation tools", lr = "Text selection tool", sr = "Text selection", cr = "Highlight", ur = "Highlight", pr = "Change highlight color", dr = "Highlight color", gr = "Remove highlight", mr = "Underline", hr = "Underline", fr = "Change underline color", br = "Underline color", Tr = "Remove underline", Sr = "Strikethrough", vr = "Strikethrough", wr = "Change strikethrough color", xr = "Strikethrough color", Pr = "Remove strikethrough", Lr = "Free text", yr = "Free text", Ar = "Remove free text", Er = "Change free text style", Cr = "Text style", Ir = "Font color", kr = "Font color", Or = "Text size", Fr = "Text size", zr = "Select a text size", Dr = "Signature", Mr = "Signature", Nr = "Add new signature", Rr = "Add new signature", Hr = "Comment", Br = "Comment", Ur = "Image", Wr = "Add image", jr = "Unsupported file type", Gr = "File should not exceed {size}", Vr = "Remove image", Yr = {
|
|
4719
4719
|
searchButtonTooltip: Ea,
|
|
4720
4720
|
searchInputPlaceholder: Ca,
|
|
4721
4721
|
searchInputTooltip: Ia,
|
|
@@ -4736,8 +4736,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
4736
4736
|
zoomPageFit: Va,
|
|
4737
4737
|
zoomPageWidth: Ya,
|
|
4738
4738
|
themeEnableDarkTooltip: Ka,
|
|
4739
|
-
themeEnableLightTooltip:
|
|
4740
|
-
openLocalFileLabel:
|
|
4739
|
+
themeEnableLightTooltip: qa,
|
|
4740
|
+
openLocalFileLabel: Qa,
|
|
4741
4741
|
openLocalFileTooltip: Xa,
|
|
4742
4742
|
downloadFileLabel: Ja,
|
|
4743
4743
|
downloadFileTooltip: Za,
|
|
@@ -4790,8 +4790,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
4790
4790
|
propertiesPageCountLabel: Vi,
|
|
4791
4791
|
thumbnailTooltip: Yi,
|
|
4792
4792
|
passwordModalTitle: Ki,
|
|
4793
|
-
passwordModalMessage:
|
|
4794
|
-
passwordPlaceholder:
|
|
4793
|
+
passwordModalMessage: qi,
|
|
4794
|
+
passwordPlaceholder: Qi,
|
|
4795
4795
|
passwordConfirmLabel: Xi,
|
|
4796
4796
|
passwordError: Ji,
|
|
4797
4797
|
dragDropFileMessage: Zi,
|
|
@@ -4842,10 +4842,10 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
4842
4842
|
annotationImageUnsupportedFileMessage: jr,
|
|
4843
4843
|
annotationImageUnsupportedFileSizeMessage: Gr,
|
|
4844
4844
|
annotationImageDeleteTooltip: Vr
|
|
4845
|
-
}, Kr = "搜索文件",
|
|
4845
|
+
}, Kr = "搜索文件", qr = "输入搜索词", Qr = "搜索", Xr = "上一条", Jr = "下一条", Zr = "关闭", $r = "区分大小写", _r = "搜索区分大小写", el = "全字匹配", tl = "搜索完全匹配", ol = "上一页", nl = "当前页", al = "下一页", il = "缩小", rl = "放大", ll = "选择缩放级别", sl = "实际大小", cl = "适合页面", ul = "页面宽度", pl = "切换到深色模式", dl = "切换到浅色模式", gl = "打开文件", ml = "打开文件", hl = "下载文件", fl = "下载文件", bl = "打印", Tl = "打印", Sl = "准备文件", vl = "取消", wl = "全屏", xl = "全屏", Pl = "更多选项", Ll = "第一页", yl = "跳转到第一页", Al = "最后一页", El = "跳转到最后一页", Cl = "顺时针旋转", Il = "顺时针旋转", kl = "逆时针旋转", Ol = "逆时针旋转", Fl = "文本选择工具", zl = "启用文本选择工具", Dl = "手型工具", Ml = "启用手型工具", Nl = "文件属性", Rl = "查看文件属性", Hl = "页面滚动", Bl = "启用页面滚动", Ul = "垂直滚动", Wl = "启用垂直滚动", jl = "水平滚动", Gl = "启用水平滚动", Vl = "环绕滚动", Yl = "启用环绕滚动", Kl = "单页面视图", ql = "启用单页视图", Ql = "双页面视图", Xl = "启用双页视图", Jl = "封面双页面视图", Zl = "启用封面双页视图", $l = "文件名称", _l = "文件大小", es = "标题", ts = "作者", os = "主题", ns = "关键字", as = "创建者", is = "创建于", rs = "修改于", ls = "PDF 制作程序 ", ss = "PDF版本", cs = "页数", us = "缩略图", ps = "需要密码", ds = "此文件受密码保护。请输入密码以打开文件。", gs = "输入密码", ms = "提交", hs = "密码错误", fs = "将PDF文件拖放到这里", bs = "查看评论", Ts = "查看评论", Ss = "第", vs = "页", ws = "评论", xs = "隐藏评论", Ps = "注释工具", Ls = "显示注释工具", ys = "隐藏注释工具", As = "文本选择工具", Es = "文本选择", Cs = "高亮", Is = "高亮", ks = "更改高亮颜色", Os = "高亮颜色", Fs = "删除高亮", zs = "下划线", Ds = "下划线", Ms = "更改下划线颜色", Ns = "下划线颜色", Rs = "删除下划线", Hs = "删除线", Bs = "删除线", Us = "更改删除线颜色", Ws = "删除线颜色", js = "删除删除线", Gs = "自由文本", Vs = "自由文本", Ys = "删除自由文本", Ks = "更改文本样式", qs = "文本样式", Qs = "文本颜色", Xs = "文本颜色", Js = "文本大小", Zs = "文本大小", $s = "选择文本大小", _s = "签名", ec = "签名", tc = "添加新签名", oc = "添加新签名", nc = "注释", ac = "注释", ic = "图片", rc = "添加图片", lc = "不支持此文件类型", sc = "文件大小不能超过 {size}", cc = "删除图片", uc = {
|
|
4846
4846
|
searchButtonTooltip: Kr,
|
|
4847
|
-
searchInputPlaceholder:
|
|
4848
|
-
searchInputTooltip:
|
|
4847
|
+
searchInputPlaceholder: qr,
|
|
4848
|
+
searchInputTooltip: Qr,
|
|
4849
4849
|
searchPrevTooltip: Xr,
|
|
4850
4850
|
searchNextTooltip: Jr,
|
|
4851
4851
|
searchCloseButtonTooltip: Zr,
|
|
@@ -4898,8 +4898,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
4898
4898
|
wrappedScrollingLabel: Vl,
|
|
4899
4899
|
wrappedScrollingTooltip: Yl,
|
|
4900
4900
|
singlePageLabel: Kl,
|
|
4901
|
-
singlePageTooltip:
|
|
4902
|
-
dualPageLabel:
|
|
4901
|
+
singlePageTooltip: ql,
|
|
4902
|
+
dualPageLabel: Ql,
|
|
4903
4903
|
dualPageTooltip: Xl,
|
|
4904
4904
|
dualPageWithCoverLabel: Jl,
|
|
4905
4905
|
dualPageWithCoverTooltip: Zl,
|
|
@@ -4952,8 +4952,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
4952
4952
|
annotationFreeTextTooltip: Vs,
|
|
4953
4953
|
annotationFreeTextDeleteTooltip: Ys,
|
|
4954
4954
|
annotationFreeTextTextStyleTooltip: Ks,
|
|
4955
|
-
annotationFreeTextTextStyleLabel:
|
|
4956
|
-
annotationFreeTextFontColorLabel:
|
|
4955
|
+
annotationFreeTextTextStyleLabel: qs,
|
|
4956
|
+
annotationFreeTextFontColorLabel: Qs,
|
|
4957
4957
|
annotationFreeTextFontColorTooltip: Xs,
|
|
4958
4958
|
annotationFreeTextTextSizeTooltip: Js,
|
|
4959
4959
|
annotationFreeTextTextSizeLabel: Zs,
|
|
@@ -4969,7 +4969,7 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
4969
4969
|
annotationImageUnsupportedFileMessage: lc,
|
|
4970
4970
|
annotationImageUnsupportedFileSizeMessage: sc,
|
|
4971
4971
|
annotationImageDeleteTooltip: cc
|
|
4972
|
-
}, pc = "Cerca nel documento", dc = "Premi Invio per cercare", gc = "Cerca", mc = "Corrispondenza precedente", hc = "Corrispondenza successiva", fc = "Chiudi", bc = "Maiuscole/minuscole", Tc = "Cerca testo con distinzione maiuscole/minuscole", Sc = "Parola intera", vc = "Cerca esatte parole senza distinzione maiuscole/minuscole", wc = "Pagina precedente", xc = "Pagina corrente", Pc = "Pagina successiva", Lc = "Ridurre", yc = "Ingrandire", Ac = "Seleziona un livello di zoom", Ec = "Dimensioni effettive", Cc = "Adatta pagina", Ic = "Larghezza pagina", kc = "Abilita tema scuro", Oc = "Abilita tema chiaro", Fc = "Aprire file", zc = "Aprire file", Dc = "Scaricare file", Mc = "Scaricare file", Nc = "Stampa", Rc = "Stampa", Hc = "Preparazione del documento", Bc = "Annulla", Uc = "Schermo intero", Wc = "Schermo intero", jc = "Altre opzioni", Gc = "Prima pagina", Vc = "Vai alla prima pagina", Yc = "Ultima pagina", Kc = "Vai all’ultima pagina",
|
|
4972
|
+
}, pc = "Cerca nel documento", dc = "Premi Invio per cercare", gc = "Cerca", mc = "Corrispondenza precedente", hc = "Corrispondenza successiva", fc = "Chiudi", bc = "Maiuscole/minuscole", Tc = "Cerca testo con distinzione maiuscole/minuscole", Sc = "Parola intera", vc = "Cerca esatte parole senza distinzione maiuscole/minuscole", wc = "Pagina precedente", xc = "Pagina corrente", Pc = "Pagina successiva", Lc = "Ridurre", yc = "Ingrandire", Ac = "Seleziona un livello di zoom", Ec = "Dimensioni effettive", Cc = "Adatta pagina", Ic = "Larghezza pagina", kc = "Abilita tema scuro", Oc = "Abilita tema chiaro", Fc = "Aprire file", zc = "Aprire file", Dc = "Scaricare file", Mc = "Scaricare file", Nc = "Stampa", Rc = "Stampa", Hc = "Preparazione del documento", Bc = "Annulla", Uc = "Schermo intero", Wc = "Schermo intero", jc = "Altre opzioni", Gc = "Prima pagina", Vc = "Vai alla prima pagina", Yc = "Ultima pagina", Kc = "Vai all’ultima pagina", qc = "Ruota in senso orario", Qc = "Ruota in senso orario", Xc = "Ruota in senso antiorario", Jc = "Ruota in senso antiorario", Zc = "Strumento di selezione testo", $c = "Abilita strumento di selezione testo", _c = "Strumento mano", eu = "Abilita strumento mano", tu = "Proprietà documento", ou = "Visualizza proprietà documento", nu = "Scorrimento pagina", au = "Abilita lo scorrimento delle pagine", iu = "Scorrimento verticale", ru = "Abilita lo scorrimento verticale", lu = "Scorrimento orizzontale", su = "Abilita lo scorrimento orizzontale", cu = "Scorrimento avvolto", uu = "Abilita lo scorrimento avvolto", pu = "Doppio", du = "Visualizzazione singola", gu = "Singolo", mu = "Visualizzazione doppio", hu = "Doppio con copertina", fu = "Visualizzazione doppio con copertina", bu = "Nome file", Tu = "Dimensione file", Su = "Titolo", vu = "Autore", wu = "Oggetto", xu = "Parole chiave", Pu = "Creatore", Lu = "Creato il", yu = "Modificato il", Au = "Produttore PDF", Eu = "Versione PDF", Cu = "Numero di pagine", Iu = "Miniature", ku = "Password richiesta", Ou = "Questo documento è protetto da password. Si prega di inserire una password per aprire il file.", Fu = "Inserisci la password", zu = "Invia", Du = "Password errata", Mu = "Trascina e rilascia il file PDF qui", Nu = "Visualizza commenti", Ru = "Visualizza commenti", Hu = "", Bu = "Pagina", Uu = "Commenti", Wu = "Nascondi commenti", ju = "Strumenti annotazione", Gu = "Mostra strumenti annotazione", Vu = "Nascondi strumenti annotazione", Yu = "Strumento selezione testo", Ku = "Selezione testo", qu = "Evidenzia", Qu = "Evidenzia", Xu = "Cambia colore evidenziazione", Ju = "Colore evidenziazione", Zu = "Rimuovi evidenziazione", $u = "Sottolineato", _u = "Sottolineato", ep = "Cambia colore sottolineato", tp = "Colore sottolineato", op = "Rimuovi sottolineato", np = "Barrato", ap = "Barrato", ip = "Cambia colore barrato", rp = "Colore barrato", lp = "Rimuovi barrato", sp = "Testo libero", cp = "Testo libero", up = "Rimuovi testo libero", pp = "Cambia stile testo", dp = "Stile testo", gp = "Colore testo", mp = "Dimensione testo", hp = "Dimensione testo", fp = "Seleziona una dimensione testo", bp = "Colore testo", Tp = "Firma", Sp = "Firma", vp = "Aggiungi nuova firma", wp = "Aggiungi nuova firma", xp = "Commento", Pp = "Commento", Lp = "Immagine", yp = "Aggiungi immagine", Ap = "Tipo di file non supportato", Ep = "Il file non deve superare {size}", Cp = "Elimina immagine", Ip = {
|
|
4973
4973
|
searchButtonTooltip: pc,
|
|
4974
4974
|
searchInputPlaceholder: dc,
|
|
4975
4975
|
searchInputTooltip: gc,
|
|
@@ -5006,8 +5006,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5006
5006
|
firstPageTooltip: Vc,
|
|
5007
5007
|
lastPageLabel: Yc,
|
|
5008
5008
|
lastPageTooltip: Kc,
|
|
5009
|
-
rotateClockwiseLabel:
|
|
5010
|
-
rotateClockwiseTooltip:
|
|
5009
|
+
rotateClockwiseLabel: qc,
|
|
5010
|
+
rotateClockwiseTooltip: Qc,
|
|
5011
5011
|
rotateCounterclockwiseLabel: Xc,
|
|
5012
5012
|
rotateCounterclockwiseTooltip: Jc,
|
|
5013
5013
|
textSelectionLabel: Zc,
|
|
@@ -5060,8 +5060,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5060
5060
|
annotationToggleHideTooltip: Vu,
|
|
5061
5061
|
annotationTextSelectionLabel: Yu,
|
|
5062
5062
|
annotationTextSelectionTooltip: Ku,
|
|
5063
|
-
annotationHighlightLabel:
|
|
5064
|
-
annotationHighlightTooltip:
|
|
5063
|
+
annotationHighlightLabel: qu,
|
|
5064
|
+
annotationHighlightTooltip: Qu,
|
|
5065
5065
|
annotationHighlightColorTooltip: Xu,
|
|
5066
5066
|
annotationHighlightColorPickerLabel: Ju,
|
|
5067
5067
|
annotationHighlightDeleteTooltip: Zu,
|
|
@@ -5096,7 +5096,7 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5096
5096
|
annotationImageUnsupportedFileMessage: Ap,
|
|
5097
5097
|
annotationImageUnsupportedFileSizeMessage: Ep,
|
|
5098
5098
|
annotationImageDeleteTooltip: Cp
|
|
5099
|
-
}, kp = "Pesquisar no documento", Op = "Pressione Enter para pesquisar", Fp = "Pesquisar", zp = "Correspondência anterior", Dp = "Correspondência seguinte", Mp = "Fechar", Np = "Diferenciar maiúsculas/minúsculas", Rp = "Pesquisar texto com distinção de maiúsculas/minúsculas", Hp = "Palavra inteira", Bp = "Pesquisar palavras exatas sem distinção de maiúsculas/minúsculas", Up = "Página anterior", Wp = "Página atual", jp = "Próxima página", Gp = "Reduzir", Vp = "Ampliar", Yp = "Selecionar nível de zoom", Kp = "Tamanho real",
|
|
5099
|
+
}, kp = "Pesquisar no documento", Op = "Pressione Enter para pesquisar", Fp = "Pesquisar", zp = "Correspondência anterior", Dp = "Correspondência seguinte", Mp = "Fechar", Np = "Diferenciar maiúsculas/minúsculas", Rp = "Pesquisar texto com distinção de maiúsculas/minúsculas", Hp = "Palavra inteira", Bp = "Pesquisar palavras exatas sem distinção de maiúsculas/minúsculas", Up = "Página anterior", Wp = "Página atual", jp = "Próxima página", Gp = "Reduzir", Vp = "Ampliar", Yp = "Selecionar nível de zoom", Kp = "Tamanho real", qp = "Ajustar à página", Qp = "Largura da página", Xp = "Ativar tema escuro", Jp = "Ativar tema claro", Zp = "Abrir arquivo", $p = "Abrir arquivo", _p = "Baixar arquivo", ed = "Baixar arquivo", td = "Imprimir", od = "Imprimir", nd = "Preparando documento", ad = "Cancelar", id = "Tela inteira", rd = "Tela inteira", ld = "Mais opções", sd = "Primeira página", cd = "Ir para a primeira página", ud = "Última página", pd = "Ir para a última página", dd = "Girar no sentido horário", gd = "Girar no sentido horário", md = "Girar no sentido anti-horário", hd = "Girar no sentido anti-horário", fd = "Ferramenta de seleção de texto", bd = "Ativar ferramenta de seleção de texto", Td = "Ferramenta de mão", Sd = "Ativar ferramenta de mão", vd = "Propriedades do documento", wd = "Ver propriedades do documento", xd = "Rolagem página", Pd = "Ativar rolagem de página", Ld = "Rolagem vertical", yd = "Ativar rolagem vertical", Ad = "Rolagem horizontal", Ed = "Ativar rolagem horizontal", Cd = "Rolagem envolvida", Id = "Ativar rolagem envolvente", kd = "Página única", Od = "Ativar página única", Fd = "Página dupla", zd = "Ativar página dupla", Dd = "Página dupla com capa", Md = "Ativar página dupla com capa", Nd = "Nome do arquivo", Rd = "Tamanho do arquivo", Hd = "Título", Bd = "Autor", Ud = "Assunto", Wd = "Palavras-chave", jd = "Criador", Gd = "Criado em", Vd = "Modificado em", Yd = "Produtor do PDF", Kd = "Versão do PDF", qd = "Número de páginas", Qd = "Miniatura", Xd = "Senha necessária", Jd = "Este documento é protegido por senha. Por favor, insira uma senha para abrir o arquivo.", Zd = "Insira a senha", $d = "Enviar", _d = "Senha incorreta", eg = "Arraste e solte o arquivo PDF aqui", tg = "Ver comentários", og = "Ver comentários", ng = "", ag = "Página", ig = "Comentários", rg = "Ocultar comentários", lg = "Ferramentas de anotação", sg = "Mostrar ferramentas de anotação", cg = "Ocultar ferramentas de anotação", ug = "Ferramenta de seleção de texto", pg = "Seleção de texto", dg = "Destacar", gg = "Destacar", mg = "Alterar cor do destaque", hg = "Cor de destaque", fg = "Remover destaque", bg = "Sublinhado", Tg = "Sublinhado", Sg = "Alterar cor do sublinhado", vg = "Cor de sublinhado", wg = "Remover sublinhado", xg = "Tachado", Pg = "Tachado", Lg = "Alterar cor do tachado", yg = "Cor de tachado", Ag = "Remover tachado", Eg = "Texto livre", Cg = "Texto livre", Ig = "Remover texto livre", kg = "Alterar estilo de texto", Og = "Estilo de texto", Fg = "Cor da fonte", zg = "Cor da fonte", Dg = "Tamanho do texto", Mg = "Tamanho do texto", Ng = "Selecionar um tamanho de texto", Rg = "Assinatura", Hg = "Assinatura", Bg = "Adicionar nova assinatura", Ug = "Adicionar nova assinatura", Wg = "Comentário", jg = "Comentário", Gg = "Imagem", Vg = "Adicionar imagem", Yg = "Tipo de arquivo não suportado", Kg = "O arquivo não deve exceder {size}", qg = "Excluir imagem", Qg = {
|
|
5100
5100
|
searchButtonTooltip: kp,
|
|
5101
5101
|
searchInputPlaceholder: Op,
|
|
5102
5102
|
searchInputTooltip: Fp,
|
|
@@ -5114,8 +5114,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5114
5114
|
zoomInTooltip: Vp,
|
|
5115
5115
|
zoomSelectTooltip: Yp,
|
|
5116
5116
|
zoomActualSize: Kp,
|
|
5117
|
-
zoomPageFit:
|
|
5118
|
-
zoomPageWidth:
|
|
5117
|
+
zoomPageFit: qp,
|
|
5118
|
+
zoomPageWidth: Qp,
|
|
5119
5119
|
themeEnableDarkTooltip: Xp,
|
|
5120
5120
|
themeEnableLightTooltip: Jp,
|
|
5121
5121
|
openLocalFileLabel: Zp,
|
|
@@ -5168,8 +5168,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5168
5168
|
propertiesModifiedOnLabel: Vd,
|
|
5169
5169
|
propertiesPDFProducerLabel: Yd,
|
|
5170
5170
|
propertiesPDFVersionLabel: Kd,
|
|
5171
|
-
propertiesPageCountLabel:
|
|
5172
|
-
thumbnailTooltip:
|
|
5171
|
+
propertiesPageCountLabel: qd,
|
|
5172
|
+
thumbnailTooltip: Qd,
|
|
5173
5173
|
passwordModalTitle: Xd,
|
|
5174
5174
|
passwordModalMessage: Jd,
|
|
5175
5175
|
passwordPlaceholder: Zd,
|
|
@@ -5222,8 +5222,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5222
5222
|
annotationImageTooltip: Vg,
|
|
5223
5223
|
annotationImageUnsupportedFileMessage: Yg,
|
|
5224
5224
|
annotationImageUnsupportedFileSizeMessage: Kg,
|
|
5225
|
-
annotationImageDeleteTooltip:
|
|
5226
|
-
}, Xg = "ค้นหาในเอกสาร", Jg = "กรอกคำค้นหา", Zg = "ค้นหา", $g = "ผลการค้นหาก่อนหน้า", _g = "ผลการค้นหาถัดไป", em = "ปิด", tm = "ข้อความที่มีคำ", om = "ค้นหาข้อความที่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก", nm = "ทั้งคำ", am = "ค้นหาคำที่ตรงตัวไม่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก", im = "หน้าก่อนหน้า", rm = "หน้าปัจจุบัน", lm = "หน้าถัดไป", sm = "ย่อ", cm = "ขยาย", um = "เลือกระดับซูม", pm = "ขนาดจริง", dm = "พอดีหน้า", gm = "พอดีความกว้าง", mm = "เปิดโหมดมืด", hm = "เปิดโหมดสว่าง", fm = "เปิดไฟล์", bm = "เปิดไฟล์", Tm = "ดาวน์โหลดเอกสาร", Sm = "ดาวน์โหลดเอกสาร", vm = "พิมพ์", wm = "พิมพ์", xm = "เตรียมเอกสาร", Pm = "ยกเลิก", Lm = "เต็มจอ", ym = "เต็มจอ", Am = "ตัวเลือกเพิ่มเติม", Em = "หน้าแรก", Cm = "ไปที่หน้าแรก", Im = "หน้าสุดท้าย", km = "ไปที่หน้าสุดท้าย", Om = "หมุนตามเข็มนาฬิกา", Fm = "หมุนตามเข็มนาฬิกา", zm = "หมุนทวนเข็มนาฬิกา", Dm = "หมุนทวนเข็มนาฬิกา", Mm = "เครื่องมือเลือกข้อความ", Nm = "เปิดใช้การเลือกข้อความ", Rm = "เครื่องมือแฮนด์ทูล", Hm = "เปิดใช้แฮนด์ทูล", Bm = "คุณสมบัติของเอกสาร", Um = "ดูคุณสมบัติของเอกสาร", Wm = "การเลื่อนภายในหน้า", jm = "เปิดใช้การเลื่อนภายในหน้า", Gm = "การเลื่อนแนวตั้ง", Vm = "เปิดใช้การเลื่อนแนวตั้ง", Ym = "การเลื่อนแนวนอน", Km = "เปิดใช้การเลื่อนแนวนอน",
|
|
5225
|
+
annotationImageDeleteTooltip: qg
|
|
5226
|
+
}, Xg = "ค้นหาในเอกสาร", Jg = "กรอกคำค้นหา", Zg = "ค้นหา", $g = "ผลการค้นหาก่อนหน้า", _g = "ผลการค้นหาถัดไป", em = "ปิด", tm = "ข้อความที่มีคำ", om = "ค้นหาข้อความที่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก", nm = "ทั้งคำ", am = "ค้นหาคำที่ตรงตัวไม่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก", im = "หน้าก่อนหน้า", rm = "หน้าปัจจุบัน", lm = "หน้าถัดไป", sm = "ย่อ", cm = "ขยาย", um = "เลือกระดับซูม", pm = "ขนาดจริง", dm = "พอดีหน้า", gm = "พอดีความกว้าง", mm = "เปิดโหมดมืด", hm = "เปิดโหมดสว่าง", fm = "เปิดไฟล์", bm = "เปิดไฟล์", Tm = "ดาวน์โหลดเอกสาร", Sm = "ดาวน์โหลดเอกสาร", vm = "พิมพ์", wm = "พิมพ์", xm = "เตรียมเอกสาร", Pm = "ยกเลิก", Lm = "เต็มจอ", ym = "เต็มจอ", Am = "ตัวเลือกเพิ่มเติม", Em = "หน้าแรก", Cm = "ไปที่หน้าแรก", Im = "หน้าสุดท้าย", km = "ไปที่หน้าสุดท้าย", Om = "หมุนตามเข็มนาฬิกา", Fm = "หมุนตามเข็มนาฬิกา", zm = "หมุนทวนเข็มนาฬิกา", Dm = "หมุนทวนเข็มนาฬิกา", Mm = "เครื่องมือเลือกข้อความ", Nm = "เปิดใช้การเลือกข้อความ", Rm = "เครื่องมือแฮนด์ทูล", Hm = "เปิดใช้แฮนด์ทูล", Bm = "คุณสมบัติของเอกสาร", Um = "ดูคุณสมบัติของเอกสาร", Wm = "การเลื่อนภายในหน้า", jm = "เปิดใช้การเลื่อนภายในหน้า", Gm = "การเลื่อนแนวตั้ง", Vm = "เปิดใช้การเลื่อนแนวตั้ง", Ym = "การเลื่อนแนวนอน", Km = "เปิดใช้การเลื่อนแนวนอน", qm = "การเลื่อนแบบแรพ", Qm = "เปิดใช้การเลื่อนแบบแรพ", Xm = "หน้าเดี่ยว", Jm = "เปิดใช้หน้าเดี่ยว", Zm = "หน้าคู่", $m = "เปิดใช้หน้าคู่", _m = "หน้าคู่พร้อมปก", eh = "เปิดใช้หน้าคู่พร้อมปก", th = "ชื่อเอกสาร", oh = "ขนาดเอกสาร", nh = "ชื่อเรื่อง", ah = "ผู้เขียน", ih = "หัวข้อ", rh = "คำสำคัญ", lh = "ผู้สร้าง", sh = "วันที่สร้าง", ch = "วันที่แก้ไข", uh = "ผู้ผลิต PDF", ph = "เวอร์ชัน PDF", dh = "จำนวนหน้า", gh = "ภาพย่อ", mh = "กรุณากรอกรหัสผ่าน", hh = "เอกสารนี้ได้รับการป้องกันด้วยรหัสผ่าน กรุณาใส่รหัสผ่านเพื่อเปิดไฟล์", fh = "กรอกรหัสผ่าน", bh = "ส่ง", Th = "รหัสผ่านไม่ถูกต้อง", Sh = "ลากและวางไฟล์ PDF ที่นี่", vh = "ดูความคิดเห็น", wh = "ดูความคิดเห็น", xh = "หน้า", Ph = "", Lh = "ความคิดเห็น", yh = "ซ่อนความคิดเห็น", Ah = "เครื่องมือการออกแบบ", Eh = "แสดงเครื่องมือการออกแบบ", Ch = "ซ่อนเครื่องมือการออกแบบ", Ih = "เลือกข้อความ", kh = "การเลือกข้อความ", Oh = "ไฮไลท์", Fh = "ไฮไลท์", zh = "เปลี่ยนสีไฮไลท์", Dh = "สีไฮไลท์", Mh = "ลบไฮไลท์", Nh = "ขีดเส้นใต้", Rh = "ขีดเส้นใต้", Hh = "เปลี่ยนสีขีดเส้นใต้", Bh = "สีขีดเส้นใต้", Uh = "ลบขีดเส้นใต้", Wh = "ขีดฆ่า", jh = "ขีดฆ่า", Gh = "เปลี่ยนสีขีดฆ่า", Vh = "สีขีดฆ่า", Yh = "ลบขีดฆ่า", Kh = "ข้อความ", qh = "ข้อความ", Qh = "ลบข้อความ", Xh = "เปลี่ยนรูปแบบข้อความ", Jh = "รูปแบบข้อความ", Zh = "สีข้อความ", $h = "สีข้อความ", _h = "ขนาดข้อความ", ef = "ขนาดข้อความ", tf = "เลือกขนาดข้อความ", of = "ลายเซ็น", nf = "ลายเซ็น", af = "เพิ่มลายเซ็นใหม่", rf = "เพิ่มลายเซ็นใหม่", lf = "ความคิดเห็น", sf = "ความคิดเห็น", cf = "รูปภาพ", uf = "เพิ่มรูปภาพ", pf = "ประเภทไฟล์ไม่รองรับ", df = "ไฟล์ต้องมีขนาดไม่เกิน {size}", gf = "ลบรูปภาพ", mf = {
|
|
5227
5227
|
searchButtonTooltip: Xg,
|
|
5228
5228
|
searchInputPlaceholder: Jg,
|
|
5229
5229
|
searchInputTooltip: Zg,
|
|
@@ -5276,8 +5276,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5276
5276
|
verticalScrollingTooltip: Vm,
|
|
5277
5277
|
horizontalLabel: Ym,
|
|
5278
5278
|
horizontalTooltip: Km,
|
|
5279
|
-
wrappedScrollingLabel:
|
|
5280
|
-
wrappedScrollingTooltip:
|
|
5279
|
+
wrappedScrollingLabel: qm,
|
|
5280
|
+
wrappedScrollingTooltip: Qm,
|
|
5281
5281
|
singlePageLabel: Xm,
|
|
5282
5282
|
singlePageTooltip: Jm,
|
|
5283
5283
|
dualPageLabel: Zm,
|
|
@@ -5330,8 +5330,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5330
5330
|
annotationStrikethroughColorPickerLabel: Vh,
|
|
5331
5331
|
annotationStrikethroughDeleteTooltip: Yh,
|
|
5332
5332
|
annotationFreeTextLabel: Kh,
|
|
5333
|
-
annotationFreeTextTooltip:
|
|
5334
|
-
annotationFreeTextDeleteTooltip:
|
|
5333
|
+
annotationFreeTextTooltip: qh,
|
|
5334
|
+
annotationFreeTextDeleteTooltip: Qh,
|
|
5335
5335
|
annotationFreeTextTextStyleTooltip: Xh,
|
|
5336
5336
|
annotationFreeTextTextStyleLabel: Jh,
|
|
5337
5337
|
annotationFreeTextFontColorLabel: Zh,
|
|
@@ -5357,7 +5357,7 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5357
5357
|
en_US: Yr,
|
|
5358
5358
|
zh_CN: uc,
|
|
5359
5359
|
it_IT: Ip,
|
|
5360
|
-
pt_PT:
|
|
5360
|
+
pt_PT: Qg,
|
|
5361
5361
|
th_TH: mf
|
|
5362
5362
|
}, Db = Symbol("VPV Current Localization"), Mb = mt, Nb = ht, Pt = {
|
|
5363
5363
|
Black: "#000000",
|
|
@@ -5443,8 +5443,8 @@ const Ea = "Search in Document", Ca = "Enter to search", Ia = "Search", ka = "Pr
|
|
|
5443
5443
|
[ne.Yellow]: "Yellow",
|
|
5444
5444
|
[ne.Green]: "Green"
|
|
5445
5445
|
}, xe = "pdfjs_internal_editor_";
|
|
5446
|
-
|
|
5447
|
-
|
|
5446
|
+
E.Highlight, E.Underline, E.StrikeOut, E.Squiggly, E.FreeText, E.Stamp, E.Ink, E.Popup, E.Square, E.Circle, E.Line, E.Polygon, E.Polyline;
|
|
5447
|
+
E.Highlight + "", E.Underline + "", E.StrikeOut + "", E.Squiggly + "", E.FreeText + "", E.Stamp + "", E.Ink + "", E.Popup + "", E.Square + "", E.Circle + "", E.Line + "", E.Polygon + "", E.Polyline + "";
|
|
5448
5448
|
const Wb = {
|
|
5449
5449
|
SELECTING: "selecting",
|
|
5450
5450
|
FOCUS_IN: "focusin"
|
|
@@ -5471,7 +5471,7 @@ Ne.PageFit, ao.Vertical, Ze.SinglePage;
|
|
|
5471
5471
|
const Gb = {
|
|
5472
5472
|
left: 0,
|
|
5473
5473
|
top: 0
|
|
5474
|
-
}, Vb = 768, Yb = 100, Kb = 0.25,
|
|
5474
|
+
}, Vb = 768, Yb = 100, Kb = 0.25, qb = 10, Qb = 1.1, Xb = 25e-4, Jb = 25e-5, Zb = 0.075, Gt = 20, hf = 1, $b = 0, _b = 4, eT = 97, tT = Symbol(), oT = "vpv-highlight__text-current", nT = Symbol(), aT = Symbol(), iT = Symbol(), rT = Symbol(), lT = Symbol(), sT = Symbol(), cT = Symbol(), uT = Symbol(), pT = Symbol(), dT = Symbol(), gT = Symbol(), mT = Symbol("PagesContainer"), hT = Symbol(), fT = Symbol(), bT = Symbol(), TT = Symbol(), ST = Symbol(), vT = Symbol(), wT = Symbol(), Po = Symbol(), Lo = Symbol(), xT = Symbol(), PT = Symbol(), LT = Symbol(), yT = Symbol(), AT = Symbol(), ET = Symbol(), CT = Symbol(), IT = Symbol(), kT = Symbol(), OT = {
|
|
5475
5475
|
ANNOTATION_IMAGE_MANAGER: Symbol(
|
|
5476
5476
|
"AnnotationImageManager"
|
|
5477
5477
|
),
|
|
@@ -5547,7 +5547,7 @@ async function vf() {
|
|
|
5547
5547
|
const a = o.getImageData(0, 0, 1, 1);
|
|
5548
5548
|
return new Uint32Array(a.data.buffer)[0] === 0;
|
|
5549
5549
|
} catch (e) {
|
|
5550
|
-
return
|
|
5550
|
+
return H.debug("SVG fitting canvas check failed:", e), !1;
|
|
5551
5551
|
}
|
|
5552
5552
|
})(), Xe);
|
|
5553
5553
|
}
|
|
@@ -5585,7 +5585,7 @@ class wf {
|
|
|
5585
5585
|
throw new Error("Invalid raw data type");
|
|
5586
5586
|
return a.type === "image/svg+xml" ? await this.handleSvgImage(n, a) : n.bitmap = await createImageBitmap(a), n.refCounter = 1, this.cache.set(t, n), this.cache.set(n.id, n), n;
|
|
5587
5587
|
} catch (a) {
|
|
5588
|
-
return
|
|
5588
|
+
return H.debug("Failed to load image:", a), this.cache.set(t, null), null;
|
|
5589
5589
|
}
|
|
5590
5590
|
}
|
|
5591
5591
|
/**
|
|
@@ -5794,113 +5794,113 @@ function Pf(e, t = { borderWidth: 0, innerMargin: 0, isLTR: !0 }) {
|
|
|
5794
5794
|
const { borderWidth: o, innerMargin: n, isLTR: a } = t, i = [];
|
|
5795
5795
|
let s, r = [];
|
|
5796
5796
|
const l = [1 / 0, 1 / 0, -1 / 0, -1 / 0], c = 10 ** -4;
|
|
5797
|
-
for (const { x: A, y: S, width:
|
|
5798
|
-
const
|
|
5799
|
-
i.push(w,
|
|
5797
|
+
for (const { x: A, y: S, width: g, height: f } of e) {
|
|
5798
|
+
const O = Math.floor((A - o) / c) * c, y = Math.ceil((A + g + o) / c) * c, z = Math.floor((S - o) / c) * c, B = Math.ceil((S + f + o) / c) * c, w = [O, z, B, !0], k = [y, z, B, !1];
|
|
5799
|
+
i.push(w, k), Sa(O, z, y, B, l);
|
|
5800
5800
|
}
|
|
5801
|
-
const p = l[2] - l[0] + 2 * n, u = l[3] - l[1] + 2 * n, b = l[0] - n, T = l[1] - n, x = i.at(a ? -1 : -2),
|
|
5801
|
+
const p = l[2] - l[0] + 2 * n, u = l[3] - l[1] + 2 * n, b = l[0] - n, T = l[1] - n, x = i.at(a ? -1 : -2), C = [x?.[0], x?.[2]];
|
|
5802
5802
|
for (const A of i) {
|
|
5803
|
-
const [S,
|
|
5804
|
-
A[0] = (S - b) / p, A[1] = (
|
|
5803
|
+
const [S, g, f] = A;
|
|
5804
|
+
A[0] = (S - b) / p, A[1] = (g - T) / u, A[2] = (f - T) / u;
|
|
5805
5805
|
}
|
|
5806
5806
|
s = new Float32Array([b, T, p, u]);
|
|
5807
5807
|
const d = (A) => {
|
|
5808
5808
|
const S = r;
|
|
5809
|
-
let
|
|
5810
|
-
for (;
|
|
5811
|
-
const
|
|
5809
|
+
let g = 0, f = S.length - 1;
|
|
5810
|
+
for (; g <= f; ) {
|
|
5811
|
+
const O = g + f >> 1, y = S[O][0];
|
|
5812
5812
|
if (y === A)
|
|
5813
|
-
return
|
|
5814
|
-
y < A ?
|
|
5813
|
+
return O;
|
|
5814
|
+
y < A ? g = O + 1 : f = O - 1;
|
|
5815
5815
|
}
|
|
5816
5816
|
return f + 1;
|
|
5817
|
-
},
|
|
5818
|
-
const [S,
|
|
5819
|
-
for (let
|
|
5820
|
-
const [
|
|
5821
|
-
for (let
|
|
5822
|
-
const [,
|
|
5823
|
-
if (!(w <=
|
|
5824
|
-
if (
|
|
5817
|
+
}, m = (A) => {
|
|
5818
|
+
const [S, g, f] = A, O = [[S, g, f]], y = d(f);
|
|
5819
|
+
for (let z = 0; z < y; z++) {
|
|
5820
|
+
const [B, w] = r[z];
|
|
5821
|
+
for (let k = 0, N = O.length; k < N; k++) {
|
|
5822
|
+
const [, q, X] = O[k];
|
|
5823
|
+
if (!(w <= q || X <= B)) {
|
|
5824
|
+
if (q >= B) {
|
|
5825
5825
|
if (X > w)
|
|
5826
|
-
k
|
|
5826
|
+
O[k][1] = w;
|
|
5827
5827
|
else {
|
|
5828
|
-
if (
|
|
5828
|
+
if (N === 1)
|
|
5829
5829
|
return [];
|
|
5830
|
-
|
|
5830
|
+
O.splice(k, 1), k--, N--;
|
|
5831
5831
|
}
|
|
5832
5832
|
continue;
|
|
5833
5833
|
}
|
|
5834
|
-
k
|
|
5834
|
+
O[k][2] = B, X > w && O.push([S, w, X]);
|
|
5835
5835
|
}
|
|
5836
5836
|
}
|
|
5837
5837
|
}
|
|
5838
|
-
return
|
|
5838
|
+
return O;
|
|
5839
5839
|
}, h = ([, A, S]) => {
|
|
5840
|
-
const
|
|
5841
|
-
r.splice(
|
|
5840
|
+
const g = d(A);
|
|
5841
|
+
r.splice(g, 0, [A, S]);
|
|
5842
5842
|
}, v = ([, A, S]) => {
|
|
5843
|
-
const
|
|
5844
|
-
for (let f =
|
|
5845
|
-
const [
|
|
5846
|
-
if (
|
|
5843
|
+
const g = d(A);
|
|
5844
|
+
for (let f = g; f < r.length; f++) {
|
|
5845
|
+
const [O, y] = r[f];
|
|
5846
|
+
if (O !== A)
|
|
5847
5847
|
break;
|
|
5848
|
-
if (
|
|
5848
|
+
if (O === A && y === S) {
|
|
5849
5849
|
r.splice(f, 1);
|
|
5850
5850
|
return;
|
|
5851
5851
|
}
|
|
5852
5852
|
}
|
|
5853
|
-
for (let f =
|
|
5854
|
-
const [
|
|
5855
|
-
if (
|
|
5853
|
+
for (let f = g - 1; f >= 0; f--) {
|
|
5854
|
+
const [O, y] = r[f];
|
|
5855
|
+
if (O !== A)
|
|
5856
5856
|
break;
|
|
5857
|
-
if (
|
|
5857
|
+
if (O === A && y === S) {
|
|
5858
5858
|
r.splice(f, 1);
|
|
5859
5859
|
return;
|
|
5860
5860
|
}
|
|
5861
5861
|
}
|
|
5862
|
-
},
|
|
5863
|
-
i.sort((S,
|
|
5864
|
-
const f = S[0],
|
|
5865
|
-
return f -
|
|
5862
|
+
}, F = () => {
|
|
5863
|
+
i.sort((S, g) => {
|
|
5864
|
+
const f = S[0], O = g[0], y = S[1], z = g[1], B = S[2], w = g[2];
|
|
5865
|
+
return f - O || y - z || B - w;
|
|
5866
5866
|
});
|
|
5867
5867
|
const A = [];
|
|
5868
5868
|
for (const S of i)
|
|
5869
|
-
S[3] ? (A.push(...
|
|
5870
|
-
return
|
|
5871
|
-
},
|
|
5872
|
-
const S = [],
|
|
5869
|
+
S[3] ? (A.push(...m(S)), h(S)) : (v(S), A.push(...m(S)));
|
|
5870
|
+
return D(A);
|
|
5871
|
+
}, D = (A) => {
|
|
5872
|
+
const S = [], g = /* @__PURE__ */ new Set();
|
|
5873
5873
|
for (const y of A) {
|
|
5874
|
-
const [
|
|
5875
|
-
S.push([
|
|
5874
|
+
const [z, B, w] = y;
|
|
5875
|
+
S.push([z, B, y], [z, w, y]);
|
|
5876
5876
|
}
|
|
5877
|
-
S.sort((y,
|
|
5878
|
-
for (let y = 0,
|
|
5879
|
-
const
|
|
5880
|
-
|
|
5877
|
+
S.sort((y, z) => y[1] - z[1] || y[0] - z[0]);
|
|
5878
|
+
for (let y = 0, z = S.length; y < z; y += 2) {
|
|
5879
|
+
const B = S[y][2], w = S[y + 1][2];
|
|
5880
|
+
B.push(w), w.push(B), g.add(B), g.add(w);
|
|
5881
5881
|
}
|
|
5882
5882
|
const f = [];
|
|
5883
|
-
let
|
|
5884
|
-
for (;
|
|
5885
|
-
const y =
|
|
5886
|
-
let [
|
|
5887
|
-
|
|
5888
|
-
let
|
|
5889
|
-
for (
|
|
5883
|
+
let O;
|
|
5884
|
+
for (; g.size > 0; ) {
|
|
5885
|
+
const y = g.values().next().value;
|
|
5886
|
+
let [z, B, w, k, N] = y;
|
|
5887
|
+
g.delete(y);
|
|
5888
|
+
let q = z, X = B;
|
|
5889
|
+
for (O = [z, w], f.push(O); ; ) {
|
|
5890
5890
|
let $;
|
|
5891
|
-
if (
|
|
5892
|
-
$ =
|
|
5893
|
-
else if (
|
|
5894
|
-
$ =
|
|
5891
|
+
if (g.has(k))
|
|
5892
|
+
$ = k;
|
|
5893
|
+
else if (g.has(N))
|
|
5894
|
+
$ = N;
|
|
5895
5895
|
else
|
|
5896
5896
|
break;
|
|
5897
|
-
|
|
5897
|
+
g.delete($), [z, B, w, k, N] = $, q !== z && (O.push(q, X, z, X === B ? B : w), q = z), X = X === B ? w : B;
|
|
5898
5898
|
}
|
|
5899
|
-
|
|
5899
|
+
O.push(q, X);
|
|
5900
5900
|
}
|
|
5901
|
-
return new xf(f, s,
|
|
5901
|
+
return new xf(f, s, C);
|
|
5902
5902
|
};
|
|
5903
|
-
return { box: s, getOutlines:
|
|
5903
|
+
return { box: s, getOutlines: F };
|
|
5904
5904
|
}
|
|
5905
5905
|
function Lf(e, t) {
|
|
5906
5906
|
const [o, n, a, i] = [
|
|
@@ -6042,11 +6042,11 @@ let Yt = 0;
|
|
|
6042
6042
|
const _e = _(null), Af = _(/* @__PURE__ */ new Map());
|
|
6043
6043
|
let he = null;
|
|
6044
6044
|
const we = /* @__PURE__ */ new Map(), ze = _(0), Ef = _(0), Te = _(!1), lt = _(!1);
|
|
6045
|
-
async function
|
|
6045
|
+
async function qT(e, t) {
|
|
6046
6046
|
if (!_e.value) return;
|
|
6047
6047
|
const o = await e.getAnnotations({ intent: "display" }), n = re(_e.value);
|
|
6048
6048
|
for (const a of o) {
|
|
6049
|
-
if (a.annotationType !==
|
|
6049
|
+
if (a.annotationType !== E.Underline && a.annotationType !== E.StrikeOut)
|
|
6050
6050
|
continue;
|
|
6051
6051
|
const i = n.getRawValue(a.id);
|
|
6052
6052
|
i?.deleted || i?.editorKey || n.setValue(a.id, { ...a, noView: t });
|
|
@@ -6065,7 +6065,7 @@ async function Cf(e) {
|
|
|
6065
6065
|
};
|
|
6066
6066
|
if (e.borderStyle && (t.borderStyle = re(e.borderStyle)), e.contentsObj && (t.contentsObj = re(e.contentsObj)), e.contents && (t.popup = {
|
|
6067
6067
|
contents: e.contents
|
|
6068
|
-
}), e.hexColor ? t.color = Ao(e.hexColor) : e.color && (t.color = Array.from(e.color)), e.quadPoints && (t.quadPoints = Array.from(e.quadPoints)), e.outlines && (t.outlines = e.outlines), e.user && (t.user = e.user), e.deleted && (t.deleted = !0, t.noPrint = !0, e.popupRef && (t.popupRef = e.popupRef)), e.originalAnnotation && delete t.originalAnnotations, e.annotationType ===
|
|
6068
|
+
}), e.hexColor ? t.color = Ao(e.hexColor) : e.color && (t.color = Array.from(e.color)), e.quadPoints && (t.quadPoints = Array.from(e.quadPoints)), e.outlines && (t.outlines = e.outlines), e.user && (t.user = e.user), e.deleted && (t.deleted = !0, t.noPrint = !0, e.popupRef && (t.popupRef = e.popupRef)), e.originalAnnotation && delete t.originalAnnotations, e.annotationType === E.Stamp && e.bitmapId) {
|
|
6069
6069
|
t.bitmapId = e.bitmapId;
|
|
6070
6070
|
const o = await Vt.getFromId(e.bitmapId);
|
|
6071
6071
|
o?.isSvg ? t.bitmap = await Vt.serializeBitmap(o, {
|
|
@@ -6073,14 +6073,14 @@ async function Cf(e) {
|
|
|
6073
6073
|
height: e.height
|
|
6074
6074
|
}) : t.bitmap = await createImageBitmap(o.file);
|
|
6075
6075
|
}
|
|
6076
|
-
return e.annotationType ===
|
|
6076
|
+
return e.annotationType === E.FreeText && (t.structTreeParentId = null, t.value = e.value, t.fontSize = e.fontSize, delete t.opacity), e.annotationType === E.Widget && (t.noView = !1, t.noPrint = !1, e.checkBox && (t.value = e.value ?? !1)), t;
|
|
6077
6077
|
}
|
|
6078
|
-
function
|
|
6079
|
-
const e = _e, t = Af, o = () => e.value ? !0 : (
|
|
6078
|
+
function QT() {
|
|
6079
|
+
const e = _e, t = Af, o = () => e.value ? !0 : (H.warn("Annotation storage is not initialized. Please call setStorage first."), !1), n = (d) => (e.value = d.annotationStorage, Te.value = !1, e.value), a = () => {
|
|
6080
6080
|
he && (clearTimeout(he), he = null), we.clear(), lt.value = !0;
|
|
6081
6081
|
}, i = (d) => {
|
|
6082
|
-
lt.value = !1, d.forEach(({ key:
|
|
6083
|
-
we.set(
|
|
6082
|
+
lt.value = !1, d.forEach(({ key: m, value: h }) => {
|
|
6083
|
+
we.set(m, h);
|
|
6084
6084
|
}), he && clearTimeout(he), he = setTimeout(() => {
|
|
6085
6085
|
if (lt.value) {
|
|
6086
6086
|
we.clear(), he = null;
|
|
@@ -6090,38 +6090,38 @@ function qT() {
|
|
|
6090
6090
|
we.forEach((h, v) => {
|
|
6091
6091
|
re(e.value)?.setValue(v, h);
|
|
6092
6092
|
}), we.clear(), Te.value = !0, ze.value++;
|
|
6093
|
-
const
|
|
6093
|
+
const m = e.value;
|
|
6094
6094
|
e.value = null, Ce(() => {
|
|
6095
|
-
e.value =
|
|
6095
|
+
e.value = m;
|
|
6096
6096
|
}), he = null;
|
|
6097
6097
|
} else
|
|
6098
|
-
|
|
6098
|
+
H.warn("batchUpdate called but storage is null or no pending updates");
|
|
6099
6099
|
}, 50);
|
|
6100
|
-
}, s = (d,
|
|
6100
|
+
}, s = (d, m, h = !1) => {
|
|
6101
6101
|
if (o())
|
|
6102
6102
|
try {
|
|
6103
6103
|
if (h) {
|
|
6104
6104
|
const v = {
|
|
6105
|
-
...
|
|
6106
|
-
...
|
|
6107
|
-
rect: Array.isArray(
|
|
6105
|
+
...m,
|
|
6106
|
+
...m.rect && {
|
|
6107
|
+
rect: Array.isArray(m.rect) ? Array.from(m.rect) : m.rect
|
|
6108
6108
|
},
|
|
6109
|
-
...
|
|
6110
|
-
quadPoints: Array.isArray(
|
|
6109
|
+
...m.quadPoints && {
|
|
6110
|
+
quadPoints: Array.isArray(m.quadPoints) ? Array.from(m.quadPoints) : m.quadPoints
|
|
6111
6111
|
},
|
|
6112
|
-
...
|
|
6113
|
-
outlines: Array.isArray(
|
|
6112
|
+
...m.outlines && {
|
|
6113
|
+
outlines: Array.isArray(m.outlines) ? Array.from(m.outlines.map((F) => Array.from(F))) : m.outlines
|
|
6114
6114
|
},
|
|
6115
|
-
...
|
|
6116
|
-
hexColor:
|
|
6115
|
+
...m.hexColor && {
|
|
6116
|
+
hexColor: m.hexColor
|
|
6117
6117
|
}
|
|
6118
6118
|
};
|
|
6119
6119
|
v.hexColor ? (v.color = Ao(v.hexColor), delete v.hexColor) : v.color && (v.color = Array.from(v.color)), t.value.set(d, v);
|
|
6120
6120
|
} else
|
|
6121
|
-
re(e.value)?.setValue(d,
|
|
6122
|
-
Te.value = !0, ze.value++,
|
|
6121
|
+
re(e.value)?.setValue(d, m);
|
|
6122
|
+
Te.value = !0, ze.value++, H.debug("✅ setAnnotationValue completed successfully");
|
|
6123
6123
|
} catch (v) {
|
|
6124
|
-
|
|
6124
|
+
H.error("❌ Error in setAnnotationValue:", v);
|
|
6125
6125
|
}
|
|
6126
6126
|
}, r = () => Te.value || t.value.size > 0, l = (d) => {
|
|
6127
6127
|
try {
|
|
@@ -6129,65 +6129,68 @@ function qT() {
|
|
|
6129
6129
|
return !1;
|
|
6130
6130
|
if (d.rect) {
|
|
6131
6131
|
if (!Array.isArray(d.rect) && !ArrayBuffer.isView(d.rect))
|
|
6132
|
-
return
|
|
6132
|
+
return H.warn("Invalid rect property in annotation data - not an array or TypedArray"), !1;
|
|
6133
6133
|
if (d.rect.length !== 4)
|
|
6134
|
-
return
|
|
6135
|
-
if (!d.rect.every((
|
|
6136
|
-
return
|
|
6134
|
+
return H.warn("Invalid rect length in annotation data"), !1;
|
|
6135
|
+
if (!d.rect.every((m) => typeof m == "number" && !isNaN(m)))
|
|
6136
|
+
return H.warn("Invalid rect values in annotation data"), !1;
|
|
6137
6137
|
}
|
|
6138
6138
|
if (d.quadPoints) {
|
|
6139
6139
|
if (!Array.isArray(d.quadPoints) && !ArrayBuffer.isView(d.quadPoints))
|
|
6140
|
-
return
|
|
6140
|
+
return H.warn(
|
|
6141
6141
|
"Invalid quadPoints property in annotation data - not an array or TypedArray"
|
|
6142
6142
|
), !1;
|
|
6143
6143
|
if (d.quadPoints.length > 0 && d.quadPoints.length % 8 !== 0)
|
|
6144
|
-
return
|
|
6144
|
+
return H.warn(
|
|
6145
6145
|
`Invalid quadPoints length: ${d.quadPoints.length} (should be 0 or multiple of 8)`
|
|
6146
|
-
),
|
|
6147
|
-
if (d.quadPoints.length > 0 && !d.quadPoints.every((
|
|
6148
|
-
return
|
|
6146
|
+
), H.debug("quadPoints data:", d.quadPoints), !1;
|
|
6147
|
+
if (d.quadPoints.length > 0 && !d.quadPoints.every((m) => typeof m == "number" && !isNaN(m)))
|
|
6148
|
+
return H.warn("Invalid quadPoints values in annotation data"), H.debug("quadPoints data with non-numeric values:", d.quadPoints), !1;
|
|
6149
6149
|
}
|
|
6150
6150
|
if (d.color) {
|
|
6151
6151
|
if (!Array.isArray(d.color) && !ArrayBuffer.isView(d.color))
|
|
6152
|
-
return
|
|
6152
|
+
return H.warn("Invalid color property in annotation data - not an array or TypedArray"), !1;
|
|
6153
6153
|
if (d.color.length !== 3)
|
|
6154
|
-
return
|
|
6154
|
+
return H.warn("Invalid color length in annotation data"), !1;
|
|
6155
6155
|
if (!d.color.every(
|
|
6156
|
-
(
|
|
6156
|
+
(m) => typeof m == "number" && m >= 0 && m <= 255
|
|
6157
6157
|
))
|
|
6158
|
-
return
|
|
6158
|
+
return H.warn("Invalid color values in annotation data"), !1;
|
|
6159
6159
|
}
|
|
6160
6160
|
return !0;
|
|
6161
|
-
} catch (
|
|
6162
|
-
return
|
|
6161
|
+
} catch (m) {
|
|
6162
|
+
return H.warn("Annotation data validation failed:", m), !1;
|
|
6163
6163
|
}
|
|
6164
6164
|
}, c = async (d) => {
|
|
6165
6165
|
if (!e.value)
|
|
6166
6166
|
throw new Error("Annotation storage is not initialized");
|
|
6167
6167
|
try {
|
|
6168
|
-
const
|
|
6169
|
-
|
|
6168
|
+
const m = d.annotationStorage;
|
|
6169
|
+
H.debug(
|
|
6170
6170
|
"[saveAnnotationsToDocumentSimplified] documentStorage",
|
|
6171
|
-
|
|
6171
|
+
m.serializable
|
|
6172
6172
|
);
|
|
6173
6173
|
const h = re(t.value);
|
|
6174
|
-
for (let [
|
|
6175
|
-
if (
|
|
6174
|
+
for (let [F, D] of h.entries()) {
|
|
6175
|
+
if (D.annotationType === E.Underline || D.annotationType === E.StrikeOut || D.annotationType === E.Square || D.annotationType === E.Circle || D.annotationType === E.Line || D.annotationType === E.Polygon || D.annotationType === E.Polyline || D.annotationType === E.Squiggly || D.annotationType === E.Ink || // XFDF-imported FreeText lacks proper editor state (defaultAppearance, etc.);
|
|
6176
|
+
// PDF.js would render a white-filled rectangle that obscures the page content.
|
|
6177
|
+
// User-created FreeText has isModified: true and is allowed through.
|
|
6178
|
+
D.annotationType === E.FreeText && !D.isModified)
|
|
6176
6179
|
continue;
|
|
6177
|
-
let A = await Cf(
|
|
6178
|
-
|
|
6180
|
+
let A = await Cf(D);
|
|
6181
|
+
H.debug(
|
|
6179
6182
|
"[saveAnnotationsToDocumentSimplified] serializedAnnotation of",
|
|
6180
|
-
|
|
6183
|
+
F,
|
|
6181
6184
|
A
|
|
6182
|
-
),
|
|
6185
|
+
), D.annotationType === E.Widget && (F = D.id), m.setValue(F, A);
|
|
6183
6186
|
}
|
|
6184
|
-
return
|
|
6185
|
-
} catch (
|
|
6186
|
-
throw
|
|
6187
|
+
return H.debug(">>>documentStorage", m.serializable.map), await d.saveDocument();
|
|
6188
|
+
} catch (m) {
|
|
6189
|
+
throw H.error("Failed to save annotations:", m), m;
|
|
6187
6190
|
} finally {
|
|
6188
|
-
|
|
6189
|
-
for (const [
|
|
6190
|
-
|
|
6191
|
+
H.debug("[saveAnnotationsToDocumentSimplified] finally", re(e.value));
|
|
6192
|
+
for (const [m, h] of re(e.value)?.serializable?.map?.entries() || [])
|
|
6193
|
+
m.startsWith(xe) && re(e.value).remove(m);
|
|
6191
6194
|
}
|
|
6192
6195
|
};
|
|
6193
6196
|
return {
|
|
@@ -6199,52 +6202,55 @@ function qT() {
|
|
|
6199
6202
|
hasModifications: r,
|
|
6200
6203
|
// Main entry point - handles all annotations including underline/strikethrough
|
|
6201
6204
|
saveAnnotationsToDocument: async (d) => {
|
|
6202
|
-
const
|
|
6203
|
-
let
|
|
6204
|
-
for (const [S,
|
|
6205
|
-
if (
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6205
|
+
const m = re(t.value), h = [], v = [];
|
|
6206
|
+
let F = !1;
|
|
6207
|
+
for (const [S, g] of m.entries())
|
|
6208
|
+
if (!(g.annotationType === E.Square || g.annotationType === E.Circle || g.annotationType === E.Line || g.annotationType === E.Polygon || g.annotationType === E.Polyline || g.annotationType === E.Squiggly || g.annotationType === E.Ink || // XFDF-imported FreeText (no isModified flag) cannot be serialized by PDF.js
|
|
6209
|
+
// without causing a white-rectangle rendering artifact over the page content.
|
|
6210
|
+
g.annotationType === E.FreeText && !g.isModified))
|
|
6211
|
+
if (g.annotationType === E.Underline || g.annotationType === E.StrikeOut) {
|
|
6212
|
+
if (g.deleted) {
|
|
6213
|
+
g.id && !g.id.startsWith(xe) && v.push({
|
|
6214
|
+
id: g.id,
|
|
6215
|
+
pageIndex: g.pageIndex,
|
|
6216
|
+
annotationType: g.annotationType,
|
|
6217
|
+
rect: g.rect,
|
|
6218
|
+
quadPoints: g.quadPoints
|
|
6219
|
+
});
|
|
6220
|
+
continue;
|
|
6221
|
+
}
|
|
6222
|
+
g.id && !g.id.startsWith(xe) && v.push({
|
|
6223
|
+
id: g.id,
|
|
6224
|
+
pageIndex: g.pageIndex,
|
|
6225
|
+
annotationType: g.annotationType,
|
|
6226
|
+
rect: g.rect,
|
|
6227
|
+
quadPoints: g.quadPoints
|
|
6213
6228
|
});
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
pageIndex: m.pageIndex,
|
|
6219
|
-
annotationType: m.annotationType,
|
|
6220
|
-
rect: m.rect,
|
|
6221
|
-
quadPoints: m.quadPoints
|
|
6222
|
-
});
|
|
6223
|
-
const f = /* @__PURE__ */ new Date();
|
|
6224
|
-
m.creationDate || (m.creationDate = f), m.modificationDate = f, h.push(m);
|
|
6225
|
-
} else
|
|
6226
|
-
O = !0;
|
|
6229
|
+
const f = /* @__PURE__ */ new Date();
|
|
6230
|
+
g.creationDate || (g.creationDate = f), g.modificationDate = f, h.push(g);
|
|
6231
|
+
} else
|
|
6232
|
+
F = !0;
|
|
6227
6233
|
if (h.length === 0 && v.length === 0)
|
|
6228
6234
|
return c(d);
|
|
6229
|
-
const
|
|
6230
|
-
if (!
|
|
6231
|
-
return
|
|
6235
|
+
const D = ft.value;
|
|
6236
|
+
if (!D)
|
|
6237
|
+
return H.warn(
|
|
6232
6238
|
"[saveAnnotationsWithTextMarkup] No annotation plugin API available - text markup annotations will not be saved"
|
|
6233
6239
|
), c(d);
|
|
6234
|
-
const A = await
|
|
6240
|
+
const A = await D.exportToPdf(
|
|
6235
6241
|
h,
|
|
6236
6242
|
v
|
|
6237
6243
|
);
|
|
6238
6244
|
if (!A)
|
|
6239
|
-
return
|
|
6245
|
+
return H.error(
|
|
6240
6246
|
"[saveAnnotationsWithTextMarkup] Plugin failed to serialize text markup annotations - exportToPdf returned null (likely originalPdfBytes is null)"
|
|
6241
6247
|
), c(d);
|
|
6242
|
-
if (
|
|
6243
|
-
const
|
|
6248
|
+
if (F) {
|
|
6249
|
+
const g = await (await import("pdfjs-dist")).getDocument({ data: A }).promise;
|
|
6244
6250
|
try {
|
|
6245
|
-
return await c(
|
|
6251
|
+
return await c(g);
|
|
6246
6252
|
} finally {
|
|
6247
|
-
|
|
6253
|
+
g.destroy();
|
|
6248
6254
|
}
|
|
6249
6255
|
}
|
|
6250
6256
|
return A;
|
|
@@ -6259,16 +6265,16 @@ function qT() {
|
|
|
6259
6265
|
canvasRenderTrigger: Ef,
|
|
6260
6266
|
cancelBatchUpdate: a,
|
|
6261
6267
|
bulkImportAnnotations: (d) => {
|
|
6262
|
-
const
|
|
6268
|
+
const m = [];
|
|
6263
6269
|
for (const h of d) {
|
|
6264
|
-
const v = `${xe}${Yt++}`,
|
|
6265
|
-
if (
|
|
6266
|
-
const
|
|
6267
|
-
|
|
6270
|
+
const v = `${xe}${Yt++}`, F = { ...h, id: v };
|
|
6271
|
+
if (F.annotationType === E.Highlight && !F.outlines && F.quadPoints && F.rect) {
|
|
6272
|
+
const D = yf(F.quadPoints, F.rect);
|
|
6273
|
+
D && (F.outlines = D);
|
|
6268
6274
|
}
|
|
6269
|
-
t.value.set(v,
|
|
6275
|
+
t.value.set(v, F), m.push(v);
|
|
6270
6276
|
}
|
|
6271
|
-
return Te.value = !0, ze.value++,
|
|
6277
|
+
return Te.value = !0, ze.value++, m;
|
|
6272
6278
|
},
|
|
6273
6279
|
clearAllAnnotations: () => {
|
|
6274
6280
|
const d = t.value.size;
|
|
@@ -6280,12 +6286,12 @@ function qT() {
|
|
|
6280
6286
|
getEditorKey: () => `${xe}${Yt++}`,
|
|
6281
6287
|
getAnnotationById: (d) => o() ? re(e.value)?.getRawValue(d) : null,
|
|
6282
6288
|
findEditorAnnotationKey: (d) => Array.from(t.value.keys()).find(
|
|
6283
|
-
(
|
|
6289
|
+
(m) => t.value.get(m)?.id === d
|
|
6284
6290
|
)
|
|
6285
6291
|
};
|
|
6286
6292
|
}
|
|
6287
6293
|
let Eo = "";
|
|
6288
|
-
Eo = "https://unpkg.com/@vue-pdf-viewer/viewer@4.3.0-
|
|
6294
|
+
Eo = "https://unpkg.com/@vue-pdf-viewer/viewer@4.3.0-rc.1/dist/assets/pdf-annotations/";
|
|
6289
6295
|
const XT = Eo, If = 1, kf = 1e6, pe = {
|
|
6290
6296
|
ADD_TOAST: "ADD_TOAST",
|
|
6291
6297
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
@@ -6367,9 +6373,9 @@ function Ff(e) {
|
|
|
6367
6373
|
}
|
|
6368
6374
|
export {
|
|
6369
6375
|
nT as $,
|
|
6370
|
-
|
|
6376
|
+
E as A,
|
|
6371
6377
|
GT as B,
|
|
6372
|
-
|
|
6378
|
+
H as C,
|
|
6373
6379
|
jb as D,
|
|
6374
6380
|
Nb as E,
|
|
6375
6381
|
YT as F,
|
|
@@ -6393,7 +6399,7 @@ export {
|
|
|
6393
6399
|
Pn as X,
|
|
6394
6400
|
NT as Y,
|
|
6395
6401
|
Ne as Z,
|
|
6396
|
-
|
|
6402
|
+
qT as _,
|
|
6397
6403
|
no as a,
|
|
6398
6404
|
XT as a$,
|
|
6399
6405
|
oT as a0,
|
|
@@ -6441,8 +6447,8 @@ export {
|
|
|
6441
6447
|
wb as af,
|
|
6442
6448
|
dT as ag,
|
|
6443
6449
|
Kb as ah,
|
|
6444
|
-
|
|
6445
|
-
|
|
6450
|
+
qb as ai,
|
|
6451
|
+
Qb as aj,
|
|
6446
6452
|
PT as ak,
|
|
6447
6453
|
Pb as al,
|
|
6448
6454
|
cT as am,
|
|
@@ -6474,7 +6480,7 @@ export {
|
|
|
6474
6480
|
xn as d,
|
|
6475
6481
|
FT as e,
|
|
6476
6482
|
OT as f,
|
|
6477
|
-
|
|
6483
|
+
QT as g,
|
|
6478
6484
|
xe as h,
|
|
6479
6485
|
Db as i,
|
|
6480
6486
|
Cb as j,
|