@bluepic/embed 0.6.9 → 0.6.10
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/bluepic-embed.iife.js +96 -96
- package/dist/bluepic-embed.umd.js +96 -96
- package/dist/main.cjs +7 -7
- package/dist/main.mjs +172 -122
- package/dist/util/gallery.d.ts +63 -26
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -41466,7 +41466,7 @@ var AT = ["data-bx-popover-id"], jT = ["data-origin", "data-placement"], MT = {
|
|
|
41466
41466
|
}
|
|
41467
41467
|
}), [["__scopeId", "data-v-9cf50f47"]]);
|
|
41468
41468
|
window.addEventListener("load", () => {
|
|
41469
|
-
let e = document.querySelector(
|
|
41469
|
+
let e = document.querySelector(bZ);
|
|
41470
41470
|
e && (e.classList.add("bluepic-popup-app-wrapper"), e.parentElement?.classList.add("bluepic-popup-body"));
|
|
41471
41471
|
});
|
|
41472
41472
|
function LT(e) {
|
|
@@ -41917,7 +41917,7 @@ var QT = /* @__PURE__ */ y({
|
|
|
41917
41917
|
});
|
|
41918
41918
|
let g = window.bluepicPopupProvider;
|
|
41919
41919
|
return F(() => {
|
|
41920
|
-
let e = document.querySelector(
|
|
41920
|
+
let e = document.querySelector(bZ);
|
|
41921
41921
|
e && (e.classList.add("bluepic-popup-app-wrapper"), e.parentElement?.classList.add("bluepic-popup-body"));
|
|
41922
41922
|
}), (e, t) => (L(!0), p(a, null, re(U(u), (e, t) => (L(), d(ie(e), {
|
|
41923
41923
|
ref_for: !0,
|
|
@@ -49654,7 +49654,7 @@ var TD = wD.exports, ED = ["contenteditable", "data-ghost"], DD = ["data-paragra
|
|
|
49654
49654
|
});
|
|
49655
49655
|
let ee = window.bluepicPopupProvider;
|
|
49656
49656
|
F(() => {
|
|
49657
|
-
let e = document.querySelector(
|
|
49657
|
+
let e = document.querySelector(bZ);
|
|
49658
49658
|
e && (e.classList.add("bluepic-popup-app-wrapper"), e.parentElement?.classList.add("bluepic-popup-body"));
|
|
49659
49659
|
}), I(() => {
|
|
49660
49660
|
for (let e of u.value) e.removeEventListener("click", x);
|
|
@@ -57635,7 +57635,7 @@ var II = ["data-overlay-id"], LI = ["data-overlay-id"], RI = /*#__PURE__*/ q(/*
|
|
|
57635
57635
|
return t;
|
|
57636
57636
|
}
|
|
57637
57637
|
W(m, () => {
|
|
57638
|
-
let e = document.querySelector(
|
|
57638
|
+
let e = document.querySelector(bZ);
|
|
57639
57639
|
e && (m.value.length > 0 ? e.classList.add("bluepic-popup-app-wrapper-in-background") : e.classList.remove("bluepic-popup-app-wrapper-in-background"));
|
|
57640
57640
|
});
|
|
57641
57641
|
function g(e) {
|
|
@@ -73349,7 +73349,7 @@ function MJ(e, t, n) {
|
|
|
73349
73349
|
[data-bx-style-target='${e.uid}'], .bluepic-popup-provider__wrapper { ${i} ${r} }`;
|
|
73350
73350
|
}
|
|
73351
73351
|
function NJ(e, t = {}) {
|
|
73352
|
-
let n = jJ(t.wrapperSelector ??
|
|
73352
|
+
let n = jJ(t.wrapperSelector ?? bZ), r = l(() => {
|
|
73353
73353
|
let n = ue(e), r = ue(t.legacyCustomStyle);
|
|
73354
73354
|
return yJ(n ?? (r ? EJ(r) : void 0));
|
|
73355
73355
|
});
|
|
@@ -73363,14 +73363,14 @@ function NJ(e, t = {}) {
|
|
|
73363
73363
|
};
|
|
73364
73364
|
}
|
|
73365
73365
|
function PJ(e, t = {}) {
|
|
73366
|
-
let n = jJ(t.wrapperSelector ??
|
|
73366
|
+
let n = jJ(t.wrapperSelector ?? bZ);
|
|
73367
73367
|
return MJ(n, CJ(e), {
|
|
73368
73368
|
colorScheme: e.mode,
|
|
73369
73369
|
fontUrl: t.fontUrl,
|
|
73370
73370
|
extraFontUrls: e.fontUrls
|
|
73371
73371
|
}), n.uid;
|
|
73372
73372
|
}
|
|
73373
|
-
function FJ(e =
|
|
73373
|
+
function FJ(e = bZ, t = "auto", n, r) {
|
|
73374
73374
|
if (TJ(n)) {
|
|
73375
73375
|
let { theme: i } = NJ({
|
|
73376
73376
|
preset: t === "light" ? "light" : "dark",
|
|
@@ -74323,28 +74323,78 @@ var IY = "Other";
|
|
|
74323
74323
|
function LY(e) {
|
|
74324
74324
|
return [...e].sort((e, t) => e.title.toLowerCase().localeCompare(t.title.toLowerCase()));
|
|
74325
74325
|
}
|
|
74326
|
-
function RY(e, t
|
|
74327
|
-
let
|
|
74326
|
+
function RY(e, t) {
|
|
74327
|
+
let n = e[t];
|
|
74328
|
+
return PY(n) ? t : n.name;
|
|
74329
|
+
}
|
|
74330
|
+
function zY(e, t) {
|
|
74331
|
+
return [...Object.entries(e).map(([e, t]) => ({
|
|
74332
|
+
kind: "template",
|
|
74333
|
+
key: e,
|
|
74334
|
+
templates: t
|
|
74335
|
+
})), ...t.map((e) => ({
|
|
74336
|
+
kind: "asset",
|
|
74337
|
+
asset: e
|
|
74338
|
+
}))];
|
|
74339
|
+
}
|
|
74340
|
+
function BY(e, t, n) {
|
|
74341
|
+
let r = FY(e), i = new Map(t.map((e) => [e.id, e])), a = [], o = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
74342
|
+
for (let t of n) if (e[t]) {
|
|
74343
|
+
let i = RY(e, t);
|
|
74344
|
+
if (o.has(i)) continue;
|
|
74345
|
+
o.add(i);
|
|
74346
|
+
let s = r[i], c = Object.keys(s).sort((e, t) => VY(n, e) - VY(n, t));
|
|
74347
|
+
a.push({
|
|
74348
|
+
kind: "template",
|
|
74349
|
+
key: i,
|
|
74350
|
+
templates: Object.fromEntries(c.map((e) => [e, s[e]]))
|
|
74351
|
+
});
|
|
74352
|
+
} else i.has(t) && !s.has(t) && (s.add(t), a.push({
|
|
74353
|
+
kind: "asset",
|
|
74354
|
+
asset: i.get(t)
|
|
74355
|
+
}));
|
|
74356
|
+
for (let [e, t] of Object.entries(r)) o.has(e) || a.push({
|
|
74357
|
+
kind: "template",
|
|
74358
|
+
key: e,
|
|
74359
|
+
templates: t
|
|
74360
|
+
});
|
|
74361
|
+
for (let e of LY(t)) s.has(e.id) || a.push({
|
|
74362
|
+
kind: "asset",
|
|
74363
|
+
asset: e
|
|
74364
|
+
});
|
|
74365
|
+
return a;
|
|
74366
|
+
}
|
|
74367
|
+
function VY(e, t) {
|
|
74368
|
+
let n = e.indexOf(t);
|
|
74369
|
+
return n < 0 ? 2 ** 53 - 1 : n;
|
|
74370
|
+
}
|
|
74371
|
+
function HY(e, t, n, r = {}) {
|
|
74372
|
+
let i = t ?? [], a = new Set((n ?? []).flatMap((e) => e.items)), o = Array.isArray(r.order) ? r.order : null, s = (t) => {
|
|
74328
74373
|
let n = {};
|
|
74329
74374
|
for (let r in e) e[r] && t(r) && (n[r] = e[r]);
|
|
74330
74375
|
return n;
|
|
74331
|
-
},
|
|
74332
|
-
|
|
74333
|
-
|
|
74334
|
-
|
|
74335
|
-
|
|
74336
|
-
|
|
74337
|
-
|
|
74338
|
-
|
|
74339
|
-
|
|
74340
|
-
}
|
|
74341
|
-
|
|
74342
|
-
|
|
74343
|
-
|
|
74376
|
+
}, c = (e, t, n, r, i) => {
|
|
74377
|
+
let a = FY(n), o = LY(r);
|
|
74378
|
+
return {
|
|
74379
|
+
category: e,
|
|
74380
|
+
categoryIndex: t,
|
|
74381
|
+
templatesByName: a,
|
|
74382
|
+
assets: o,
|
|
74383
|
+
items: i ? BY(n, r, i) : zY(a, o)
|
|
74384
|
+
};
|
|
74385
|
+
}, l = (n ?? []).map((e, t) => c(e.label, t, s((t) => e.items.includes(t)), i.filter((t) => e.items.includes(t.id)), o ? e.items : null)), u = s((e) => !a.has(e)), d = i.filter((e) => !a.has(e.id));
|
|
74386
|
+
return (Object.keys(u).length > 0 || d.length > 0) && l.push(c(IY, null, u, d, o)), r.includeEmpty ? l : l.filter((e) => e.items.length > 0);
|
|
74387
|
+
}
|
|
74388
|
+
function UY(e, t, n) {
|
|
74389
|
+
let r = t ?? [];
|
|
74390
|
+
return Array.isArray(n) ? BY(e, r, n) : zY(FY(e), LY(r));
|
|
74391
|
+
}
|
|
74392
|
+
function WY(e, t, n) {
|
|
74393
|
+
return HY(e, t, n).map((e) => e.category);
|
|
74344
74394
|
}
|
|
74345
74395
|
//#endregion
|
|
74346
74396
|
//#region src/util/aspectRatio.ts
|
|
74347
|
-
function
|
|
74397
|
+
function GY(e, t) {
|
|
74348
74398
|
let n = [0, 1], r = [1, 0];
|
|
74349
74399
|
for (;;) {
|
|
74350
74400
|
let i = [n[0] + r[0], n[1] + r[1]];
|
|
@@ -74358,51 +74408,51 @@ function BY(e, t) {
|
|
|
74358
74408
|
}
|
|
74359
74409
|
}
|
|
74360
74410
|
}
|
|
74361
|
-
var
|
|
74362
|
-
let n =
|
|
74411
|
+
var KY = (e, t) => {
|
|
74412
|
+
let n = GY(e / t, 50);
|
|
74363
74413
|
return `${n[0]}:${n[1]}`;
|
|
74364
74414
|
};
|
|
74365
|
-
function
|
|
74415
|
+
function qY(e) {
|
|
74366
74416
|
let t = e.meta.width, n = e.meta.height, r = mY(t, n, 300);
|
|
74367
|
-
return r ? r.level :
|
|
74417
|
+
return r ? r.level : KY(t, n);
|
|
74368
74418
|
}
|
|
74369
74419
|
//#endregion
|
|
74370
74420
|
//#region src/util/assetAuth.ts
|
|
74371
|
-
var
|
|
74372
|
-
function
|
|
74421
|
+
var JY = "password", YY = "access_token";
|
|
74422
|
+
function XY(e) {
|
|
74373
74423
|
return {
|
|
74374
74424
|
...e?.password ? { "X-Bluepic-Password": e.password } : {},
|
|
74375
74425
|
...e?.accessToken ? { Authorization: `Bearer ${e.accessToken}` } : {}
|
|
74376
74426
|
};
|
|
74377
74427
|
}
|
|
74378
|
-
function
|
|
74428
|
+
function ZY(e, t) {
|
|
74379
74429
|
if (!t?.password && !t?.accessToken) return e;
|
|
74380
|
-
let [n, r] =
|
|
74381
|
-
return t.password && a.set(
|
|
74430
|
+
let [n, r] = QY(e), i = n.includes("?") ? "&" : "?", a = new URLSearchParams();
|
|
74431
|
+
return t.password && a.set(JY, t.password), t.accessToken && a.set(YY, t.accessToken), `${n}${i}${a.toString()}${r}`;
|
|
74382
74432
|
}
|
|
74383
|
-
function
|
|
74433
|
+
function QY(e) {
|
|
74384
74434
|
let t = e.indexOf("#");
|
|
74385
74435
|
return t === -1 ? [e, ""] : [e.slice(0, t), e.slice(t)];
|
|
74386
74436
|
}
|
|
74387
74437
|
//#endregion
|
|
74388
74438
|
//#region src/components/AssetViewer/AssetViewer.vue?vue&type=script&setup=true&lang.ts
|
|
74389
|
-
var
|
|
74439
|
+
var $Y = { class: "viewer-header-tools" }, eX = ["aria-pressed"], tX = ["disabled"], nX = { class: "page-label" }, rX = ["disabled"], iX = ["aria-label"], aX = {
|
|
74390
74440
|
key: 0,
|
|
74391
74441
|
class: "page-rail",
|
|
74392
74442
|
"aria-label": "Pages"
|
|
74393
|
-
},
|
|
74443
|
+
}, oX = [
|
|
74394
74444
|
"aria-current",
|
|
74395
74445
|
"aria-label",
|
|
74396
74446
|
"onClick"
|
|
74397
|
-
],
|
|
74447
|
+
], sX = { class: "rail-number" }, cX = ["src"], lX = ["src", "alt"], uX = ["src", "poster"], dX = {
|
|
74398
74448
|
key: 4,
|
|
74399
74449
|
class: "audio-player"
|
|
74400
|
-
},
|
|
74450
|
+
}, fX = { class: "transport" }, pX = ["aria-label"], mX = {
|
|
74401
74451
|
viewBox: "0 0 24 24",
|
|
74402
74452
|
width: "22",
|
|
74403
74453
|
height: "22",
|
|
74404
74454
|
"aria-hidden": "true"
|
|
74405
|
-
},
|
|
74455
|
+
}, hX = {
|
|
74406
74456
|
key: 0,
|
|
74407
74457
|
x: "6",
|
|
74408
74458
|
y: "5",
|
|
@@ -74410,7 +74460,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74410
74460
|
height: "14",
|
|
74411
74461
|
rx: "1.5",
|
|
74412
74462
|
fill: "currentColor"
|
|
74413
|
-
},
|
|
74463
|
+
}, gX = {
|
|
74414
74464
|
key: 1,
|
|
74415
74465
|
x: "14",
|
|
74416
74466
|
y: "5",
|
|
@@ -74418,75 +74468,75 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74418
74468
|
height: "14",
|
|
74419
74469
|
rx: "1.5",
|
|
74420
74470
|
fill: "currentColor"
|
|
74421
|
-
},
|
|
74471
|
+
}, _X = {
|
|
74422
74472
|
key: 2,
|
|
74423
74473
|
d: "M8 5.5v13l11-6.5z",
|
|
74424
74474
|
fill: "currentColor"
|
|
74425
|
-
},
|
|
74475
|
+
}, vX = { class: "time" }, yX = { class: "time total" }, bX = ["src"], xX = {
|
|
74426
74476
|
key: 5,
|
|
74427
74477
|
class: "sheet-view"
|
|
74428
|
-
},
|
|
74478
|
+
}, SX = {
|
|
74429
74479
|
key: 0,
|
|
74430
74480
|
class: "text-status"
|
|
74431
|
-
},
|
|
74481
|
+
}, CX = {
|
|
74432
74482
|
key: 0,
|
|
74433
74483
|
class: "doc-toolbar"
|
|
74434
|
-
},
|
|
74484
|
+
}, wX = { class: "sheet-scroll" }, TX = { class: "sheet-table" }, EX = { class: "row-number" }, DX = {
|
|
74435
74485
|
key: 1,
|
|
74436
74486
|
class: "text-status"
|
|
74437
|
-
},
|
|
74487
|
+
}, OX = {
|
|
74438
74488
|
key: 2,
|
|
74439
74489
|
class: "text-status"
|
|
74440
|
-
},
|
|
74490
|
+
}, kX = {
|
|
74441
74491
|
key: 6,
|
|
74442
74492
|
class: "email-view"
|
|
74443
|
-
},
|
|
74493
|
+
}, AX = {
|
|
74444
74494
|
key: 0,
|
|
74445
74495
|
class: "text-status"
|
|
74446
|
-
},
|
|
74496
|
+
}, jX = { class: "email-headers" }, MX = { key: 0 }, NX = { key: 1 }, PX = {
|
|
74447
74497
|
key: 0,
|
|
74448
74498
|
class: "email-attachments"
|
|
74449
|
-
},
|
|
74499
|
+
}, FX = { class: "attachment-label" }, IX = ["innerHTML"], LX = {
|
|
74450
74500
|
key: 2,
|
|
74451
74501
|
class: "text-status"
|
|
74452
|
-
},
|
|
74502
|
+
}, RX = {
|
|
74453
74503
|
key: 7,
|
|
74454
74504
|
class: "markdown-view"
|
|
74455
|
-
},
|
|
74505
|
+
}, zX = {
|
|
74456
74506
|
key: 0,
|
|
74457
74507
|
class: "text-status"
|
|
74458
|
-
},
|
|
74508
|
+
}, BX = ["innerHTML"], VX = {
|
|
74459
74509
|
key: 2,
|
|
74460
74510
|
class: "text-status"
|
|
74461
|
-
},
|
|
74511
|
+
}, HX = {
|
|
74462
74512
|
key: 8,
|
|
74463
74513
|
class: "text-view"
|
|
74464
|
-
},
|
|
74514
|
+
}, UX = {
|
|
74465
74515
|
key: 0,
|
|
74466
74516
|
class: "text-status"
|
|
74467
|
-
},
|
|
74517
|
+
}, WX = { class: "text-body" }, GX = {
|
|
74468
74518
|
key: 0,
|
|
74469
74519
|
class: "text-status"
|
|
74470
|
-
},
|
|
74520
|
+
}, KX = {
|
|
74471
74521
|
key: 2,
|
|
74472
74522
|
class: "text-status"
|
|
74473
|
-
},
|
|
74523
|
+
}, qX = {
|
|
74474
74524
|
key: 0,
|
|
74475
74525
|
class: "font-error"
|
|
74476
|
-
},
|
|
74526
|
+
}, JX = { class: "specimen-controls" }, YX = { class: "specimen-scale" }, XX = { class: "scale-label" }, ZX = {
|
|
74477
74527
|
key: 2,
|
|
74478
74528
|
class: "font-loading"
|
|
74479
|
-
},
|
|
74529
|
+
}, QX = ["src", "alt"], $X = {
|
|
74480
74530
|
key: 11,
|
|
74481
74531
|
class: "no-preview"
|
|
74482
|
-
},
|
|
74532
|
+
}, eZ = { class: "ext-badge" }, tZ = { class: "name" }, nZ = {
|
|
74483
74533
|
key: 12,
|
|
74484
74534
|
class: "rendering",
|
|
74485
74535
|
"aria-live": "polite"
|
|
74486
|
-
},
|
|
74536
|
+
}, rZ = {
|
|
74487
74537
|
key: 1,
|
|
74488
74538
|
class: "description"
|
|
74489
|
-
},
|
|
74539
|
+
}, iZ = 3, aZ = 2, oZ = 524288, sZ = 500, cZ = /*#__PURE__*/ q(/* @__PURE__ */ y({
|
|
74490
74540
|
__name: "AssetViewer",
|
|
74491
74541
|
props: {
|
|
74492
74542
|
asset: {},
|
|
@@ -74499,9 +74549,9 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74499
74549
|
let n = e, r = t, i = /pdf|postscript|illustrator|photoshop|eps|psd/, s = /csv|tab-separated|spreadsheet|ms-excel/, c = /font|opentype|truetype|woff/, u = l(() => {
|
|
74500
74550
|
let e = n.asset.mime;
|
|
74501
74551
|
return n.asset.kind === "image" ? "image" : e.startsWith("video/") ? "video" : e.startsWith("audio/") ? "audio" : c.test(e) ? "font" : s.test(e) || /\.(csv|tsv|xlsx?|ods)$/i.test(n.asset.filename) ? "sheet" : e === "message/rfc822" || /\.eml$/i.test(n.asset.filename) ? "email" : e === "text/markdown" || /\.mdx?$/i.test(n.asset.filename) ? "markdown" : e.startsWith("text/") || e === "application/json" ? "text" : n.renderPage && (n.asset.documentUrl || i.test(e)) ? "page" : "none";
|
|
74502
|
-
}), h = l(() => n.asset.downloadUrl.replace(/\/download(?=$|\?)/, "/preview")), g = l(() =>
|
|
74552
|
+
}), h = l(() => n.asset.downloadUrl.replace(/\/download(?=$|\?)/, "/preview")), g = l(() => ZY(h.value, n.assetAuth)), _ = l(() => ({
|
|
74503
74553
|
credentials: "omit",
|
|
74504
|
-
headers:
|
|
74554
|
+
headers: XY(n.assetAuth)
|
|
74505
74555
|
})), y = B(), b = B(), x = B(), S = B(!1), C = B();
|
|
74506
74556
|
async function w() {
|
|
74507
74557
|
if (!(u.value !== "text" && u.value !== "markdown" || x.value !== void 0)) {
|
|
@@ -74510,7 +74560,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74510
74560
|
let e = await fetch(h.value, _.value);
|
|
74511
74561
|
if (!e.ok) throw Error(`Could not load the file (${e.status})`);
|
|
74512
74562
|
let t = await e.arrayBuffer();
|
|
74513
|
-
S.value = t.byteLength >
|
|
74563
|
+
S.value = t.byteLength > oZ, x.value = new TextDecoder("utf-8", { fatal: !1 }).decode(t.slice(0, oZ)), qe.value = !0, u.value === "markdown" && await pe(x.value);
|
|
74514
74564
|
} catch (e) {
|
|
74515
74565
|
console.warn("[AssetViewer] text could not be loaded", e), C.value = "This file could not be loaded for preview. You can still download it.";
|
|
74516
74566
|
}
|
|
@@ -74531,7 +74581,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74531
74581
|
if (s === "\"") a = !0;
|
|
74532
74582
|
else if (s === t) r.push(i), i = "";
|
|
74533
74583
|
else if (s === "\n") {
|
|
74534
|
-
if (r.push(i), n.push(r), r = [], i = "", n.length >
|
|
74584
|
+
if (r.push(i), n.push(r), r = [], i = "", n.length > sZ) break;
|
|
74535
74585
|
} else s !== "\r" && (i += s);
|
|
74536
74586
|
}
|
|
74537
74587
|
return (i !== "" || r.length) && (r.push(i), n.push(r)), n;
|
|
@@ -74560,7 +74610,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74560
74610
|
raw: !1,
|
|
74561
74611
|
defval: ""
|
|
74562
74612
|
});
|
|
74563
|
-
O.value = r.length >
|
|
74613
|
+
O.value = r.length > sZ, T.value = r.slice(0, sZ).map((e) => e.map((e) => String(e ?? "")));
|
|
74564
74614
|
}
|
|
74565
74615
|
async function ne() {
|
|
74566
74616
|
if (!(u.value !== "sheet" || T.value.length || k.value)) try {
|
|
@@ -74570,7 +74620,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74570
74620
|
if (/sheet|ms-excel/.test(n.asset.mime) || /\.(xlsx?|ods)$/i.test(n.asset.filename)) j = (await import("./xlsx-Bm1OL5B8.js")).read(t, { type: "array" }), E.value = j.SheetNames, D.value = E.value[0] ?? "", D.value && await R(D.value);
|
|
74571
74621
|
else {
|
|
74572
74622
|
let e = new TextDecoder("utf-8", { fatal: !1 }).decode(t), n = ee(e, I(e));
|
|
74573
|
-
O.value = n.length >
|
|
74623
|
+
O.value = n.length > sZ, T.value = n.slice(0, sZ);
|
|
74574
74624
|
}
|
|
74575
74625
|
qe.value = !0;
|
|
74576
74626
|
} catch (e) {
|
|
@@ -74797,12 +74847,12 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74797
74847
|
if (it || t !== rt) return;
|
|
74798
74848
|
let i = b.value;
|
|
74799
74849
|
if (!i) return;
|
|
74800
|
-
let a = Math.min(typeof window < "u" && window.devicePixelRatio || 1,
|
|
74850
|
+
let a = Math.min(typeof window < "u" && window.devicePixelRatio || 1, aZ);
|
|
74801
74851
|
if (await n.renderPage(r, i, {
|
|
74802
74852
|
page: e,
|
|
74803
74853
|
dpi: 96 * a
|
|
74804
74854
|
}), it || t !== rt) return;
|
|
74805
|
-
if (i.width && i.height && (Ge.value = i.width / i.height), qe.value = !0, nt.set(e, i), nt.size >
|
|
74855
|
+
if (i.width && i.height && (Ge.value = i.width / i.height), qe.value = !0, nt.set(e, i), nt.size > iZ) {
|
|
74806
74856
|
let e = nt.keys().next().value;
|
|
74807
74857
|
e !== void 0 && nt.delete(e);
|
|
74808
74858
|
}
|
|
@@ -74859,7 +74909,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74859
74909
|
key: 0,
|
|
74860
74910
|
to: U(ge) || void 0
|
|
74861
74911
|
}, {
|
|
74862
|
-
default: G(() => [m("div",
|
|
74912
|
+
default: G(() => [m("div", $Y, [
|
|
74863
74913
|
u.value === "page" && Ze.value > 1 ? (L(), p(a, { key: 0 }, [
|
|
74864
74914
|
m("button", {
|
|
74865
74915
|
class: A(["tool-btn rail-toggle", { active: st.value }]),
|
|
@@ -74899,22 +74949,22 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74899
74949
|
stroke: "currentColor",
|
|
74900
74950
|
"stroke-width": "1.6"
|
|
74901
74951
|
})
|
|
74902
|
-
], -1)]], 10,
|
|
74952
|
+
], -1)]], 10, eX),
|
|
74903
74953
|
m("button", {
|
|
74904
74954
|
class: "tool-btn",
|
|
74905
74955
|
type: "button",
|
|
74906
74956
|
disabled: Xe.value <= 1,
|
|
74907
74957
|
"aria-label": "Previous page",
|
|
74908
74958
|
onClick: n[1] ||= (e) => mt(Xe.value - 1)
|
|
74909
|
-
}, "‹", 8,
|
|
74910
|
-
m("span",
|
|
74959
|
+
}, "‹", 8, tX),
|
|
74960
|
+
m("span", nX, H(Xe.value) + " / " + H(Ze.value), 1),
|
|
74911
74961
|
m("button", {
|
|
74912
74962
|
class: "tool-btn",
|
|
74913
74963
|
type: "button",
|
|
74914
74964
|
disabled: Xe.value >= Ze.value,
|
|
74915
74965
|
"aria-label": "Next page",
|
|
74916
74966
|
onClick: n[2] ||= (e) => mt(Xe.value + 1)
|
|
74917
|
-
}, "›", 8,
|
|
74967
|
+
}, "›", 8, rX)
|
|
74918
74968
|
], 64)) : f("", !0),
|
|
74919
74969
|
u.value === "markdown" ? (L(), d(vF, {
|
|
74920
74970
|
key: 1,
|
|
@@ -74956,7 +75006,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74956
75006
|
"aria-modal": "true",
|
|
74957
75007
|
"aria-label": e.asset.title
|
|
74958
75008
|
}, [
|
|
74959
|
-
ct.value ? (L(), p("aside",
|
|
75009
|
+
ct.value ? (L(), p("aside", aX, [(L(!0), p(a, null, re(Ze.value, (e) => (L(), p("button", {
|
|
74960
75010
|
key: e,
|
|
74961
75011
|
class: A(["rail-item", { current: e === Xe.value }]),
|
|
74962
75012
|
type: "button",
|
|
@@ -74967,7 +75017,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74967
75017
|
ref_for: !0,
|
|
74968
75018
|
ref: (t) => ft(e, t),
|
|
74969
75019
|
class: "rail-thumb"
|
|
74970
|
-
}, null, 512), m("span",
|
|
75020
|
+
}, null, 512), m("span", sX, H(e), 1)], 10, oX))), 128))])) : f("", !0),
|
|
74971
75021
|
m("div", {
|
|
74972
75022
|
ref_key: "stageRef",
|
|
74973
75023
|
ref: y,
|
|
@@ -74979,14 +75029,14 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74979
75029
|
src: e.asset.previewUrl,
|
|
74980
75030
|
alt: "",
|
|
74981
75031
|
"aria-hidden": "true"
|
|
74982
|
-
}, null, 8,
|
|
75032
|
+
}, null, 8, cX)) : f("", !0),
|
|
74983
75033
|
u.value === "image" ? (L(), p("img", {
|
|
74984
75034
|
key: 1,
|
|
74985
75035
|
class: "full",
|
|
74986
75036
|
src: g.value,
|
|
74987
75037
|
alt: e.asset.title,
|
|
74988
75038
|
onLoad: Ke
|
|
74989
|
-
}, null, 40,
|
|
75039
|
+
}, null, 40, lX)) : u.value === "page" && !Ye.value ? (L(), p("canvas", {
|
|
74990
75040
|
key: 2,
|
|
74991
75041
|
ref_key: "canvasRef",
|
|
74992
75042
|
ref: b,
|
|
@@ -74999,21 +75049,21 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
74999
75049
|
controls: "",
|
|
75000
75050
|
playsinline: "",
|
|
75001
75051
|
onLoadeddata: n[5] ||= (e) => qe.value = !0
|
|
75002
|
-
}, null, 40,
|
|
75052
|
+
}, null, 40, uX)) : u.value === "audio" ? (L(), p("div", dX, [
|
|
75003
75053
|
m("canvas", {
|
|
75004
75054
|
ref_key: "waveCanvasRef",
|
|
75005
75055
|
ref: ke,
|
|
75006
75056
|
class: "wave",
|
|
75007
75057
|
"aria-hidden": "true"
|
|
75008
75058
|
}, null, 512),
|
|
75009
|
-
m("div",
|
|
75059
|
+
m("div", fX, [
|
|
75010
75060
|
m("button", {
|
|
75011
75061
|
class: "play",
|
|
75012
75062
|
type: "button",
|
|
75013
75063
|
"aria-label": Ae.value ? "Pause" : "Play",
|
|
75014
75064
|
onClick: Ue
|
|
75015
|
-
}, [(L(), p("svg",
|
|
75016
|
-
m("span",
|
|
75065
|
+
}, [(L(), p("svg", mX, [Ae.value ? (L(), p("rect", hX)) : f("", !0), Ae.value ? (L(), p("rect", gX)) : (L(), p("path", _X))]))], 8, pX),
|
|
75066
|
+
m("span", vX, H(We(Me.value)), 1),
|
|
75017
75067
|
v(eo, {
|
|
75018
75068
|
class: "seek",
|
|
75019
75069
|
"model-value": Me.value,
|
|
@@ -75028,7 +75078,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
75028
75078
|
"max",
|
|
75029
75079
|
"aria-valuetext"
|
|
75030
75080
|
]),
|
|
75031
|
-
m("span",
|
|
75081
|
+
m("span", yX, H(We(je.value)), 1)
|
|
75032
75082
|
]),
|
|
75033
75083
|
m("audio", {
|
|
75034
75084
|
ref_key: "audioRef",
|
|
@@ -75043,37 +75093,37 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
75043
75093
|
onPlay: Re,
|
|
75044
75094
|
onPause: n[8] ||= (e) => Ae.value = !1,
|
|
75045
75095
|
onEnded: n[9] ||= (e) => Ae.value = !1
|
|
75046
|
-
}, null, 40,
|
|
75047
|
-
])) : u.value === "sheet" ? (L(), p("div",
|
|
75048
|
-
E.value.length > 1 ? (L(), p("div",
|
|
75096
|
+
}, null, 40, bX)
|
|
75097
|
+
])) : u.value === "sheet" ? (L(), p("div", xX, [k.value ? (L(), p("div", SX, H(k.value), 1)) : T.value.length ? (L(), p(a, { key: 1 }, [
|
|
75098
|
+
E.value.length > 1 ? (L(), p("div", CX, [v(vF, {
|
|
75049
75099
|
"model-value": D.value,
|
|
75050
75100
|
tabs: me.value,
|
|
75051
75101
|
size: "small",
|
|
75052
75102
|
"aria-label": "Sheets",
|
|
75053
75103
|
"onUpdate:modelValue": te
|
|
75054
75104
|
}, null, 8, ["model-value", "tabs"])])) : f("", !0),
|
|
75055
|
-
m("div",
|
|
75105
|
+
m("div", wX, [m("table", TX, [m("thead", null, [m("tr", null, [n[14] ||= m("th", {
|
|
75056
75106
|
class: "row-number",
|
|
75057
75107
|
scope: "col"
|
|
75058
75108
|
}, null, -1), (L(!0), p(a, null, re(T.value[0], (e, t) => (L(), p("th", {
|
|
75059
75109
|
key: t,
|
|
75060
75110
|
scope: "col"
|
|
75061
|
-
}, H(e), 1))), 128))])]), m("tbody", null, [(L(!0), p(a, null, re(T.value.slice(1), (e, t) => (L(), p("tr", { key: t }, [m("td",
|
|
75111
|
+
}, H(e), 1))), 128))])]), m("tbody", null, [(L(!0), p(a, null, re(T.value.slice(1), (e, t) => (L(), p("tr", { key: t }, [m("td", EX, H(t + 2), 1), (L(!0), p(a, null, re(e, (e, t) => (L(), p("td", {
|
|
75062
75112
|
key: t,
|
|
75063
75113
|
class: A({ numeric: P(e) })
|
|
75064
75114
|
}, H(e), 3))), 128))]))), 128))])])]),
|
|
75065
|
-
O.value ? (L(), p("div",
|
|
75066
|
-
], 64)) : (L(), p("div",
|
|
75067
|
-
m("dl",
|
|
75068
|
-
V.value.attachments.length ? (L(), p("div",
|
|
75115
|
+
O.value ? (L(), p("div", DX, "Showing the first " + H(sZ) + " rows — download the file for the rest.")) : f("", !0)
|
|
75116
|
+
], 64)) : (L(), p("div", OX, "Loading…"))])) : u.value === "email" ? (L(), p("div", kX, [ae.value ? (L(), p("div", AX, H(ae.value), 1)) : V.value ? (L(), p(a, { key: 1 }, [
|
|
75117
|
+
m("dl", jX, [(L(!0), p(a, null, re(oe.value, (e) => (L(), p(a, { key: e.label }, [e.value ? (L(), p("dt", MX, H(e.label), 1)) : f("", !0), e.value ? (L(), p("dd", NX, H(e.value), 1)) : f("", !0)], 64))), 128))]),
|
|
75118
|
+
V.value.attachments.length ? (L(), p("div", PX, [m("span", FX, H(V.value.attachments.length) + " attachment" + H(V.value.attachments.length === 1 ? "" : "s") + ":", 1), (L(!0), p(a, null, re(V.value.attachments, (e) => (L(), p("span", {
|
|
75069
75119
|
key: e,
|
|
75070
75120
|
class: "attachment-chip"
|
|
75071
75121
|
}, H(e), 1))), 128))])) : f("", !0),
|
|
75072
75122
|
m("div", {
|
|
75073
75123
|
class: "email-body",
|
|
75074
75124
|
innerHTML: V.value.bodyHtml
|
|
75075
|
-
}, null, 8,
|
|
75076
|
-
], 64)) : (L(), p("div",
|
|
75125
|
+
}, null, 8, IX)
|
|
75126
|
+
], 64)) : (L(), p("div", LX, "Loading…"))])) : u.value === "markdown" ? (L(), p("div", RX, [C.value ? (L(), p("div", zX, H(C.value), 1)) : x.value === void 0 ? (L(), p("div", VX, "Loading…")) : (L(), p(a, { key: 1 }, [ue.value ? (L(), d(oG, {
|
|
75077
75127
|
key: 1,
|
|
75078
75128
|
code: x.value,
|
|
75079
75129
|
language: "markdown",
|
|
@@ -75082,12 +75132,12 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
75082
75132
|
key: 0,
|
|
75083
75133
|
class: "markdown-body",
|
|
75084
75134
|
innerHTML: de.value
|
|
75085
|
-
}, null, 8,
|
|
75135
|
+
}, null, 8, BX))], 64))])) : u.value === "text" ? (L(), p("div", HX, [C.value ? (L(), p("div", UX, H(C.value), 1)) : x.value === void 0 ? (L(), p("div", KX, "Loading…")) : (L(), p(a, { key: 1 }, [m("pre", WX, H(x.value), 1), S.value ? (L(), p("div", GX, " Showing the first " + H(Math.round(oZ / 1024)) + " KB — download the file for the rest. ", 1)) : f("", !0)], 64))])) : u.value === "font" ? (L(), p("div", {
|
|
75086
75136
|
key: 9,
|
|
75087
75137
|
class: "font-book",
|
|
75088
75138
|
style: M({ "--specimen-family": we.value })
|
|
75089
|
-
}, [Ce.value ? (L(), p("div",
|
|
75090
|
-
m("div",
|
|
75139
|
+
}, [Ce.value ? (L(), p("div", qX, H(Ce.value), 1)) : Se.value ? (L(), p(a, { key: 1 }, [
|
|
75140
|
+
m("div", JX, [v(TO, {
|
|
75091
75141
|
modelValue: be.value,
|
|
75092
75142
|
"onUpdate:modelValue": n[10] ||= (e) => be.value = e,
|
|
75093
75143
|
class: "specimen-input",
|
|
@@ -75112,7 +75162,7 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
75112
75162
|
m("div", { class: "glyph-row" }, "abcdefghijklmnopqrstuvwxyz"),
|
|
75113
75163
|
m("div", { class: "glyph-row" }, "0123456789 & ! ? @ # € $ % ( ) [ ] { } / \\ — “ ” ‘ ’")
|
|
75114
75164
|
], -1),
|
|
75115
|
-
m("div",
|
|
75165
|
+
m("div", YX, [(L(), p(a, null, re([
|
|
75116
75166
|
12,
|
|
75117
75167
|
16,
|
|
75118
75168
|
24,
|
|
@@ -75122,31 +75172,31 @@ var JY = { class: "viewer-header-tools" }, YY = ["aria-pressed"], XY = ["disable
|
|
|
75122
75172
|
key: e,
|
|
75123
75173
|
class: "scale-row",
|
|
75124
75174
|
style: M({ fontSize: `${e}px` })
|
|
75125
|
-
}, [m("span",
|
|
75126
|
-
], 64)) : (L(), p("div",
|
|
75175
|
+
}, [m("span", XX, H(e), 1), n[15] ||= m("span", { class: "scale-sample" }, "The quick brown fox jumps over the lazy dog", -1)], 4)), 64))])
|
|
75176
|
+
], 64)) : (L(), p("div", ZX, "Loading typeface…"))], 4)) : e.asset.previewUrl ? (L(), p("img", {
|
|
75127
75177
|
key: 10,
|
|
75128
75178
|
class: "full generated-preview",
|
|
75129
75179
|
src: e.asset.previewUrl,
|
|
75130
75180
|
alt: e.asset.title,
|
|
75131
75181
|
onLoad: n[12] ||= (e) => qe.value = !0
|
|
75132
|
-
}, null, 40,
|
|
75133
|
-
m("div",
|
|
75134
|
-
m("p",
|
|
75182
|
+
}, null, 40, QX)) : (L(), p("div", $X, [
|
|
75183
|
+
m("div", eZ, H(Qe.value), 1),
|
|
75184
|
+
m("p", tZ, H(e.asset.filename), 1),
|
|
75135
75185
|
n[17] ||= m("p", { class: "hint" }, "This file type can’t be previewed here.", -1)
|
|
75136
75186
|
])),
|
|
75137
|
-
Je.value ? (L(), p("div",
|
|
75187
|
+
Je.value ? (L(), p("div", nZ, "Rendering…")) : f("", !0)
|
|
75138
75188
|
], 2),
|
|
75139
|
-
e.asset.description ? (L(), p("p",
|
|
75140
|
-
], 14,
|
|
75189
|
+
e.asset.description ? (L(), p("p", rZ, H(e.asset.description), 1)) : f("", !0)
|
|
75190
|
+
], 14, iX)], 64));
|
|
75141
75191
|
}
|
|
75142
|
-
}), [["__scopeId", "data-v-fcc6d687"]]),
|
|
75143
|
-
function
|
|
75192
|
+
}), [["__scopeId", "data-v-fcc6d687"]]), lZ;
|
|
75193
|
+
function uZ() {
|
|
75144
75194
|
let e = B(!1), t = B(!1), n = B(0), r = B(!1), i, a, o = 0;
|
|
75145
75195
|
function s() {
|
|
75146
75196
|
a &&= (URL.revokeObjectURL(a), void 0), i &&= (i.pause(), i.removeAttribute("src"), i.load(), void 0), r.value = !1, e.value = !1, t.value = !1, n.value = 0;
|
|
75147
75197
|
}
|
|
75148
75198
|
function c() {
|
|
75149
|
-
o++,
|
|
75199
|
+
o++, lZ === s && (lZ = void 0), s();
|
|
75150
75200
|
}
|
|
75151
75201
|
async function l(c, l) {
|
|
75152
75202
|
if (i) {
|
|
@@ -75154,7 +75204,7 @@ function aZ() {
|
|
|
75154
75204
|
return;
|
|
75155
75205
|
}
|
|
75156
75206
|
let u = ++o;
|
|
75157
|
-
|
|
75207
|
+
lZ?.(), lZ = s, t.value = !0;
|
|
75158
75208
|
let d;
|
|
75159
75209
|
try {
|
|
75160
75210
|
d = typeof c == "function" ? await c() : c;
|
|
@@ -75198,19 +75248,19 @@ function aZ() {
|
|
|
75198
75248
|
}
|
|
75199
75249
|
//#endregion
|
|
75200
75250
|
//#region src/components/BxAudioPlayButton.vue?vue&type=script&setup=true&lang.ts
|
|
75201
|
-
var
|
|
75251
|
+
var dZ = ["aria-label", "aria-busy"], fZ = {
|
|
75202
75252
|
class: "ring",
|
|
75203
75253
|
viewBox: "0 0 44 44",
|
|
75204
75254
|
"aria-hidden": "true"
|
|
75205
|
-
},
|
|
75255
|
+
}, pZ = ["stroke-dashoffset"], mZ = {
|
|
75206
75256
|
class: "glyph",
|
|
75207
75257
|
viewBox: "0 0 24 24",
|
|
75208
75258
|
"aria-hidden": "true"
|
|
75209
|
-
},
|
|
75259
|
+
}, hZ = {
|
|
75210
75260
|
key: 1,
|
|
75211
75261
|
d: "M8.5 5.5v13l10-6.5z",
|
|
75212
75262
|
fill: "currentColor"
|
|
75213
|
-
},
|
|
75263
|
+
}, gZ = /*#__PURE__*/ q(/* @__PURE__ */ y({
|
|
75214
75264
|
__name: "BxAudioPlayButton",
|
|
75215
75265
|
props: {
|
|
75216
75266
|
playing: {
|
|
@@ -75235,7 +75285,7 @@ var oZ = ["aria-label", "aria-busy"], sZ = {
|
|
|
75235
75285
|
"aria-label": e.playing ? "Pause" : "Play",
|
|
75236
75286
|
"aria-busy": e.loading || void 0,
|
|
75237
75287
|
onClick: n[0] ||= ye((e) => r("toggle"), ["stop"])
|
|
75238
|
-
}, [(L(), p("svg",
|
|
75288
|
+
}, [(L(), p("svg", fZ, [n[1] ||= m("circle", {
|
|
75239
75289
|
class: "track",
|
|
75240
75290
|
cx: "22",
|
|
75241
75291
|
cy: "22",
|
|
@@ -75247,7 +75297,7 @@ var oZ = ["aria-label", "aria-busy"], sZ = {
|
|
|
75247
75297
|
r: "20",
|
|
75248
75298
|
"stroke-dasharray": i,
|
|
75249
75299
|
"stroke-dashoffset": i * (1 - o.value)
|
|
75250
|
-
}, null, 8,
|
|
75300
|
+
}, null, 8, pZ)])), (L(), p("svg", mZ, [e.playing ? (L(), p(a, { key: 0 }, [n[2] ||= m("rect", {
|
|
75251
75301
|
x: "7",
|
|
75252
75302
|
y: "5",
|
|
75253
75303
|
width: "3.5",
|
|
@@ -75261,9 +75311,9 @@ var oZ = ["aria-label", "aria-busy"], sZ = {
|
|
|
75261
75311
|
height: "14",
|
|
75262
75312
|
rx: "1.25",
|
|
75263
75313
|
fill: "currentColor"
|
|
75264
|
-
}, null, -1)], 64)) : (L(), p("path",
|
|
75314
|
+
}, null, -1)], 64)) : (L(), p("path", hZ))]))], 10, dZ));
|
|
75265
75315
|
}
|
|
75266
|
-
}), [["__scopeId", "data-v-09ee9555"]]),
|
|
75316
|
+
}), [["__scopeId", "data-v-09ee9555"]]), _Z = ["aria-label"], vZ = /*#__PURE__*/ q(/* @__PURE__ */ y({
|
|
75267
75317
|
__name: "BxWaveformThumb",
|
|
75268
75318
|
props: {
|
|
75269
75319
|
src: {},
|
|
@@ -75275,9 +75325,9 @@ var oZ = ["aria-label", "aria-busy"], sZ = {
|
|
|
75275
75325
|
style: M({ "--bx-waveform-src": `url(${JSON.stringify(e.src)})` }),
|
|
75276
75326
|
role: "img",
|
|
75277
75327
|
"aria-label": e.alt
|
|
75278
|
-
}, null, 12,
|
|
75328
|
+
}, null, 12, _Z));
|
|
75279
75329
|
}
|
|
75280
|
-
}), [["__scopeId", "data-v-69c139e5"]]),
|
|
75330
|
+
}), [["__scopeId", "data-v-69c139e5"]]), yZ = "bluepic-app-wrapper", bZ = `.${yZ}`;
|
|
75281
75331
|
oO(), window.bluepicPopupProvider = new BI();
|
|
75282
75332
|
//#endregion
|
|
75283
|
-
export {
|
|
75333
|
+
export { YY as ASSET_AUTH_QUERY_ACCESS_TOKEN, JY as ASSET_AUTH_QUERY_PASSWORD, Ub as ASSET_PROXY_KEY, GJ as BluepicEmbed, wI as BluepicFieldComponents, WL as BluepicLogo, jG as BluepicSpinner, wR as BxAlert, cZ as BxAssetViewer, gZ as BxAudioPlayButton, EG as BxAvatar, DG as BxBadge, Yb as BxButton, iI as BxButtonGroup, cE as BxCard, tj as BxCheckbox, oG as BxCode, KF as BxColorPicker, ZF as BxColorPickerPopover, lA as BxCropper, CK as BxDatePicker, FK as BxDatePickerPopover, _G as BxDrawer, yk as BxDropdown, IJ as BxEmbedThemeDarkmode, RJ as BxEmbedThemeDarkmodeWcag, LJ as BxEmbedThemeLightmode, zJ as BxEmbedThemeLightmodeWcag, PO as BxEmpty, MI as BxFields, XS as BxIcon, mA as BxImageCropper, TO as BxInput, sk as BxList, fk as BxListItem, oL as BxLiveTemplate, WD as BxMenu, eI as BxNumberInput, ID as BxPopover, QT as BxPopup, $I as BxPreviewLayer, XT as BxProgress, qK as BxRadio, WK as BxRadioGroup, dT as BxScrollbar, QD as BxSelect, eo as BxSlider, Kb as BxSpin, gG as BxStepper, sG as BxSwitch, zK as BxTab, QL as BxTable, vF as BxTabs, LR as BxTag, tG as BxTemplateEditor, lO as BxTooltip, mE as BxUpload, vZ as BxWaveformThumb, yF as CSS_COLOR_NAMES, qL as CircularProgress, HI as CollectionFieldPopup, aY as DIN_LEVELS, BR as ExportAnalytics, gA as FACE_VERTICAL_ANCHOR, $P as FieldIcons, yZ as GLOBAL_APP_WRAPPER_CLASS, bZ as GLOBAL_APP_WRAPPER_SELECTOR, bJ as LEGACY_BRIDGE, hA as MIN_FACE_SCORE, lF as MapboxMap, IY as OTHER_CATEGORY, NY as RichText, cq as SEMANTIC_PREFIX, lq as SEMANTIC_TOKEN_GROUPS, sq as SEMANTIC_TOKEN_NAMES, fq as STATUS_BASES, BL as SlidesNavigation, dq as THEME_HOUSE_PRESETS, uq as THEME_PRESETS, iY as Tabs, zL as TemplateView, aq as UserAvatar, eY as UserInfo, kE as anyTextToRichText, EA as applyAutoCrop, Rb as applyColorMatricesToImage, Hb as applyColorMatrix, Lb as applyColorMatrixToColor, PJ as applyTheme, GY as aspectRatio, KY as aspectRatioStr, XY as assetRequestHeaders, VR as canvasLabel, HR as canvasSizeToken, CE as cloneDeep, WY as collectPortalCategories, UI as convertDeprecatedField, TR as cropImage, Bb as cropToVisibleBBox, vb as cssFontsCache, CF as cyrb53, wF as cyrb53ToHex, WR as deliverableFileNames, pY as dinPixels, Nb as exportSVGDocument, RR as extractHost, BJ as fetchWithProgress, VJ as fetchWithProgressV1, UR as fitCanvasBox, UY as flatPortalItems, GP as flattenFieldTable, JP as flattenFields, eF as getDefaultValueForFieldModel, ZP as getFieldDescription, QP as getFieldsDescription, $K as getInitials, OE as getRawText, qY as getTemplateAspectRatioHumanReadable, ZK as getTemplateLiveUrl, XK as getTemplatePreviewUrl, YK as getTemplateSerialUrl, DJ as getThemeStyle, zb as getVisibleBBox, TE as groupFeatureByLinebreaks, HY as groupPortalItemsByCategory, FY as groupTemplatesByName, xA as hasFaceDetector, bF as hslToRgb, mY as identifyDin, bk as imageInfo, yb as imagesCache, qJ as initEmbeds, oO as initInputModality, GT as injectPortal, SF as isDark, PY as isMultiCanvasTemplateDescriptor, TJ as looksLikeThemeInput, KP as modelField, Sk as normalizeAdjust, xk as normalizeCrop, QK as optimizePreviewUrl, BY as orderPortalItems, EF as parseColor, Vb as rasterize, tF as realizeField, rF as renderFieldIcon, Ib as renderSVG, Wv as resolveAssetUrl, wb as resolveCSSFontFile, Eb as resolveImage, yJ as resolveTheme, kJ as resolveThemeStyle, OF as rgbToHex, kF as rgbToHsv, xF as rgba, bA as setFaceDetector, iO as setInputModality, vA as solveAutoCrop, LY as sortPortalAssetsByTitle, TF as stringToHslColor, nF as stringifyField, xb as textIsInUnicodeRange, pq as themeColor, EJ as themeInputFromLegacyCustomStyle, wJ as themeToCssText, CJ as themeToCssVars, DF as toHex2, EE as ungroupFeaturesDividedByLinebreaks, Wb as useAssetProxy, uZ as useAudioPlayback, XP as useFields, YP as useMobileFields, WT as usePopup, FJ as useTheme, NJ as useThemeV2, Sa as useUpload, oq as waitUntil, ZY as withAssetAuthQuery };
|