@bluepic/embed 0.4.0-next.87 → 0.4.0-next.89
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 +47 -47
- package/dist/bluepic-embed.umd.js +47 -47
- package/dist/main.cjs +42 -42
- package/dist/main.mjs +160 -120
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/main.mjs
CHANGED
|
@@ -13,7 +13,7 @@ var p1 = (e, t, r, n) => ({
|
|
|
13
13
|
return Le(e, t, n);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { ref as me, onMounted as
|
|
16
|
+
import { ref as me, onMounted as Dn, nextTick as _n, getCurrentScope as Lv, onScopeDispose as $y, watch as Ke, getCurrentInstance as n2, hasInjectionContext as Py, inject as $n, shallowRef as wn, computed as pe, toValue as xn, watchEffect as oi, unref as ye, defineComponent as Te, useModel as ar, onUnmounted as Sn, openBlock as Z, createElementBlock as X, normalizeStyle as Et, createElementVNode as H, mergeModels as Yt, normalizeClass as Ze, useSlots as Er, createBlock as qe, resolveDynamicComponent as gr, withCtx as ue, renderSlot as pt, createCommentVNode as Re, createStaticVNode as Zi, provide as Jn, createVNode as fe, normalizeProps as ho, guardReactiveProps as mo, toDisplayString as tt, onBeforeUnmount as Ll, shallowReadonly as uu, h as It, Fragment as ht, renderList as Bt, createTextVNode as Ot, toRef as wr, toRaw as KL, createSlots as vs, withDirectives as cf, vModelText as JL, vModelDynamic as QL, withModifiers as Qr, Transition as df, mergeProps as $l, TransitionGroup as My, createApp as $v, vShow as n6, isRef as e$, onUpdated as Dy, onBeforeUpdate as t$, withKeys as h1 } from "vue";
|
|
17
17
|
let r$ = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", mn = (e = 21) => {
|
|
18
18
|
let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
19
19
|
for (; e--; )
|
|
@@ -813,7 +813,7 @@ function O$(e) {
|
|
|
813
813
|
return n2();
|
|
814
814
|
}
|
|
815
815
|
function Ny(e, t = !0, r) {
|
|
816
|
-
O$() ?
|
|
816
|
+
O$() ? Dn(e, r) : t ? e() : _n(e);
|
|
817
817
|
}
|
|
818
818
|
function L$(e, t, r) {
|
|
819
819
|
return Ke(e, t, {
|
|
@@ -857,7 +857,7 @@ function _0(...e) {
|
|
|
857
857
|
// @__NO_SIDE_EFFECTS__
|
|
858
858
|
function P$() {
|
|
859
859
|
const e = wn(!1), t = n2();
|
|
860
|
-
return t &&
|
|
860
|
+
return t && Dn(() => {
|
|
861
861
|
e.value = !0;
|
|
862
862
|
}, t), e;
|
|
863
863
|
}
|
|
@@ -3670,7 +3670,7 @@ class Bm {
|
|
|
3670
3670
|
function fa(e, t, r) {
|
|
3671
3671
|
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
3672
3672
|
}
|
|
3673
|
-
function
|
|
3673
|
+
function Tn(e, t, r, n) {
|
|
3674
3674
|
var a = arguments.length, i = a < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, r) : n, o;
|
|
3675
3675
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(e, t, r, n);
|
|
3676
3676
|
else for (var c = e.length - 1; c >= 0; c--) (o = e[c]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, r, i) : o(t, r)) || i);
|
|
@@ -6874,7 +6874,7 @@ let yf = "en";
|
|
|
6874
6874
|
function IM(e = "en") {
|
|
6875
6875
|
yf = e;
|
|
6876
6876
|
}
|
|
6877
|
-
function
|
|
6877
|
+
function Bn(e, t, r) {
|
|
6878
6878
|
if (r.get) {
|
|
6879
6879
|
let n = r.get;
|
|
6880
6880
|
r.get = function() {
|
|
@@ -11863,11 +11863,11 @@ class Kv {
|
|
|
11863
11863
|
]), this.uvs && this.uvs.version !== 14 && (this.uvs = null);
|
|
11864
11864
|
}
|
|
11865
11865
|
}
|
|
11866
|
-
|
|
11867
|
-
|
|
11866
|
+
Tn([
|
|
11867
|
+
Bn
|
|
11868
11868
|
], Kv.prototype, "getCharacterSet", null);
|
|
11869
|
-
|
|
11870
|
-
|
|
11869
|
+
Tn([
|
|
11870
|
+
Bn
|
|
11871
11871
|
], Kv.prototype, "codePointsForGlyph", null);
|
|
11872
11872
|
class FB {
|
|
11873
11873
|
process(t, r) {
|
|
@@ -12892,8 +12892,8 @@ class o0 {
|
|
|
12892
12892
|
this.table = t;
|
|
12893
12893
|
}
|
|
12894
12894
|
}
|
|
12895
|
-
|
|
12896
|
-
|
|
12895
|
+
Tn([
|
|
12896
|
+
Bn
|
|
12897
12897
|
], o0.prototype, "glyphsForValue", null);
|
|
12898
12898
|
const YB = 0, f7 = 0, p7 = 1, h7 = 2, KB = 16384;
|
|
12899
12899
|
class JB {
|
|
@@ -13087,8 +13087,8 @@ class R9 {
|
|
|
13087
13087
|
this.processIndicRearragement = this.processIndicRearragement.bind(this), this.processContextualSubstitution = this.processContextualSubstitution.bind(this), this.processLigature = this.processLigature.bind(this), this.processNoncontextualSubstitutions = this.processNoncontextualSubstitutions.bind(this), this.processGlyphInsertion = this.processGlyphInsertion.bind(this), this.font = t, this.morx = t.morx, this.inputCache = null;
|
|
13088
13088
|
}
|
|
13089
13089
|
}
|
|
13090
|
-
|
|
13091
|
-
|
|
13090
|
+
Tn([
|
|
13091
|
+
Bn
|
|
13092
13092
|
], R9.prototype, "getStateMachine", null);
|
|
13093
13093
|
function Gn(e, t, r, n = !1, a = !1) {
|
|
13094
13094
|
let i = e.splice(r[0] - (r[1] - 1), r[1]);
|
|
@@ -15680,23 +15680,23 @@ class ji {
|
|
|
15680
15680
|
this.id = t, this.codePoints = r, this._font = n, this.isMark = this.codePoints.length > 0 && this.codePoints.every(s9), this.isLigature = this.codePoints.length > 1;
|
|
15681
15681
|
}
|
|
15682
15682
|
}
|
|
15683
|
-
|
|
15684
|
-
|
|
15683
|
+
Tn([
|
|
15684
|
+
Bn
|
|
15685
15685
|
], ji.prototype, "cbox", null);
|
|
15686
|
-
|
|
15687
|
-
|
|
15686
|
+
Tn([
|
|
15687
|
+
Bn
|
|
15688
15688
|
], ji.prototype, "bbox", null);
|
|
15689
|
-
|
|
15690
|
-
|
|
15689
|
+
Tn([
|
|
15690
|
+
Bn
|
|
15691
15691
|
], ji.prototype, "path", null);
|
|
15692
|
-
|
|
15693
|
-
|
|
15692
|
+
Tn([
|
|
15693
|
+
Bn
|
|
15694
15694
|
], ji.prototype, "advanceWidth", null);
|
|
15695
|
-
|
|
15696
|
-
|
|
15695
|
+
Tn([
|
|
15696
|
+
Bn
|
|
15697
15697
|
], ji.prototype, "advanceHeight", null);
|
|
15698
|
-
|
|
15699
|
-
|
|
15698
|
+
Tn([
|
|
15699
|
+
Bn
|
|
15700
15700
|
], ji.prototype, "name", null);
|
|
15701
15701
|
let k7 = new Oe({
|
|
15702
15702
|
numberOfContours: Ye,
|
|
@@ -16659,7 +16659,7 @@ class GR extends G9 {
|
|
|
16659
16659
|
if (super(t), this.cff = this.font["CFF "], !this.cff) throw new Error("Not a CFF Font");
|
|
16660
16660
|
}
|
|
16661
16661
|
}
|
|
16662
|
-
class
|
|
16662
|
+
class Un {
|
|
16663
16663
|
static probe(t) {
|
|
16664
16664
|
let r = p2.decode(t.slice(0, 4));
|
|
16665
16665
|
return r === "true" || r === "OTTO" || r === "\0\0\0";
|
|
@@ -16990,7 +16990,7 @@ class Nn {
|
|
|
16990
16990
|
return c in t ? Math.max(i.minValue, Math.min(i.maxValue, t[c])) : i.defaultValue;
|
|
16991
16991
|
}), n = new Pn(this.stream.buffer);
|
|
16992
16992
|
n.pos = this._directoryPos;
|
|
16993
|
-
let a = new
|
|
16993
|
+
let a = new Un(n, r);
|
|
16994
16994
|
return a._tables = this._tables, a;
|
|
16995
16995
|
}
|
|
16996
16996
|
get _variationProcessor() {
|
|
@@ -17012,27 +17012,27 @@ class Nn {
|
|
|
17012
17012
|
}
|
|
17013
17013
|
}
|
|
17014
17014
|
}
|
|
17015
|
-
|
|
17016
|
-
|
|
17017
|
-
],
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
],
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
],
|
|
17024
|
-
|
|
17025
|
-
|
|
17026
|
-
],
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
],
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
],
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
],
|
|
17015
|
+
Tn([
|
|
17016
|
+
Bn
|
|
17017
|
+
], Un.prototype, "bbox", null);
|
|
17018
|
+
Tn([
|
|
17019
|
+
Bn
|
|
17020
|
+
], Un.prototype, "_cmapProcessor", null);
|
|
17021
|
+
Tn([
|
|
17022
|
+
Bn
|
|
17023
|
+
], Un.prototype, "characterSet", null);
|
|
17024
|
+
Tn([
|
|
17025
|
+
Bn
|
|
17026
|
+
], Un.prototype, "_layoutEngine", null);
|
|
17027
|
+
Tn([
|
|
17028
|
+
Bn
|
|
17029
|
+
], Un.prototype, "variationAxes", null);
|
|
17030
|
+
Tn([
|
|
17031
|
+
Bn
|
|
17032
|
+
], Un.prototype, "namedVariations", null);
|
|
17033
|
+
Tn([
|
|
17034
|
+
Bn
|
|
17035
|
+
], Un.prototype, "_variationProcessor", null);
|
|
17036
17036
|
let XR = new Oe({
|
|
17037
17037
|
tag: new Cr(4),
|
|
17038
17038
|
offset: new _e(ke, "void", {
|
|
@@ -17063,7 +17063,7 @@ X9.process = function() {
|
|
|
17063
17063
|
this.tables = e;
|
|
17064
17064
|
};
|
|
17065
17065
|
var YR = X9;
|
|
17066
|
-
class KR extends
|
|
17066
|
+
class KR extends Un {
|
|
17067
17067
|
static probe(t) {
|
|
17068
17068
|
return p2.decode(t.slice(0, 4)) === "wOFF";
|
|
17069
17069
|
}
|
|
@@ -17212,7 +17212,7 @@ Y9.process = function() {
|
|
|
17212
17212
|
return this.tables = e;
|
|
17213
17213
|
};
|
|
17214
17214
|
var tF = Y9;
|
|
17215
|
-
class rF extends
|
|
17215
|
+
class rF extends Un {
|
|
17216
17216
|
static probe(t) {
|
|
17217
17217
|
return p2.decode(t.slice(0, 4)) === "wOF2";
|
|
17218
17218
|
}
|
|
@@ -17347,7 +17347,7 @@ class uF {
|
|
|
17347
17347
|
for (let r of this.header.offsets) {
|
|
17348
17348
|
let n = new Pn(this.stream.buffer);
|
|
17349
17349
|
n.pos = r;
|
|
17350
|
-
let a = new
|
|
17350
|
+
let a = new Un(n);
|
|
17351
17351
|
if (a.postscriptName === t || a.postscriptName instanceof Uint8Array && t instanceof Uint8Array && a.postscriptName.every((i, o) => t[o] === i)) return a;
|
|
17352
17352
|
}
|
|
17353
17353
|
return null;
|
|
@@ -17356,7 +17356,7 @@ class uF {
|
|
|
17356
17356
|
let t = [];
|
|
17357
17357
|
for (let r of this.header.offsets) {
|
|
17358
17358
|
let n = new Pn(this.stream.buffer);
|
|
17359
|
-
n.pos = r, t.push(new
|
|
17359
|
+
n.pos = r, t.push(new Un(n));
|
|
17360
17360
|
}
|
|
17361
17361
|
return t;
|
|
17362
17362
|
}
|
|
@@ -17410,7 +17410,7 @@ class mF {
|
|
|
17410
17410
|
getFont(t) {
|
|
17411
17411
|
if (!this.sfnt) return null;
|
|
17412
17412
|
for (let r of this.sfnt.refList) {
|
|
17413
|
-
let n = this.header.dataOffset + r.dataOffset + 4, a = new Pn(this.stream.buffer.slice(n)), i = new
|
|
17413
|
+
let n = this.header.dataOffset + r.dataOffset + 4, a = new Pn(this.stream.buffer.slice(n)), i = new Un(a);
|
|
17414
17414
|
if (i.postscriptName === t || i.postscriptName instanceof Uint8Array && t instanceof Uint8Array && i.postscriptName.every((o, c) => t[c] === o)) return i;
|
|
17415
17415
|
}
|
|
17416
17416
|
return null;
|
|
@@ -17419,7 +17419,7 @@ class mF {
|
|
|
17419
17419
|
let t = [];
|
|
17420
17420
|
for (let r of this.sfnt.refList) {
|
|
17421
17421
|
let n = this.header.dataOffset + r.dataOffset + 4, a = new Pn(this.stream.buffer.slice(n));
|
|
17422
|
-
t.push(new
|
|
17422
|
+
t.push(new Un(a));
|
|
17423
17423
|
}
|
|
17424
17424
|
return t;
|
|
17425
17425
|
}
|
|
@@ -17431,7 +17431,7 @@ class mF {
|
|
|
17431
17431
|
}
|
|
17432
17432
|
}
|
|
17433
17433
|
}
|
|
17434
|
-
ic(
|
|
17434
|
+
ic(Un);
|
|
17435
17435
|
ic(KR);
|
|
17436
17436
|
ic(rF);
|
|
17437
17437
|
ic(uF);
|
|
@@ -17618,7 +17618,7 @@ var gF = {
|
|
|
17618
17618
|
t.m41 * e.m12 + t.m42 * e.m22 + t.m43 * e.m32 + t.m44 * e.m42,
|
|
17619
17619
|
t.m41 * e.m13 + t.m42 * e.m23 + t.m43 * e.m33 + t.m44 * e.m43,
|
|
17620
17620
|
t.m41 * e.m14 + t.m42 * e.m24 + t.m43 * e.m34 + t.m44 * e.m44
|
|
17621
|
-
]),
|
|
17621
|
+
]), Nn, di = (Nn = class {
|
|
17622
17622
|
constructor(e) {
|
|
17623
17623
|
return this.a = 1, this.b = 0, this.c = 0, this.d = 1, this.e = 0, this.f = 0, this.m11 = 1, this.m12 = 0, this.m13 = 0, this.m14 = 0, this.m21 = 0, this.m22 = 1, this.m23 = 0, this.m24 = 0, this.m31 = 0, this.m32 = 0, this.m33 = 1, this.m34 = 0, this.m41 = 0, this.m42 = 0, this.m43 = 0, this.m44 = 1, e ? this.setMatrixValue(e) : this;
|
|
17624
17624
|
}
|
|
@@ -17721,7 +17721,7 @@ var gF = {
|
|
|
17721
17721
|
w: a
|
|
17722
17722
|
};
|
|
17723
17723
|
}
|
|
17724
|
-
}, ve(
|
|
17724
|
+
}, ve(Nn, "Translate", Vh), ve(Nn, "Rotate", qh), ve(Nn, "RotateAxisAngle", Hh), ve(Nn, "Scale", Wh), ve(Nn, "SkewX", Gh), ve(Nn, "SkewY", Xh), ve(Nn, "Skew", u0), ve(Nn, "Multiply", Yh), ve(Nn, "fromArray", A0), ve(Nn, "fromMatrix", Uh), ve(Nn, "fromString", B7), ve(Nn, "toArray", Zh), ve(Nn, "isCompatibleArray", K9), ve(Nn, "isCompatibleObject", J9), Nn);
|
|
17725
17725
|
/*!
|
|
17726
17726
|
* SVGPathCommander v2.2.1 (http://thednp.github.io/svg-path-commander)
|
|
17727
17727
|
* Copyright 2026 © thednp
|
|
@@ -25473,7 +25473,7 @@ function X1(e) {
|
|
|
25473
25473
|
const t = me(), r = () => {
|
|
25474
25474
|
e.value && (t.value = e.value.getBoundingClientRect());
|
|
25475
25475
|
};
|
|
25476
|
-
|
|
25476
|
+
Dn(() => {
|
|
25477
25477
|
r(), window.addEventListener("resize", r);
|
|
25478
25478
|
});
|
|
25479
25479
|
const n = new ResizeObserver(() => {
|
|
@@ -27168,7 +27168,7 @@ const sc = /* @__PURE__ */ Te({
|
|
|
27168
27168
|
h.removeEventListener("click", p);
|
|
27169
27169
|
});
|
|
27170
27170
|
const l = window.bluepicPopupProvider;
|
|
27171
|
-
return
|
|
27171
|
+
return Dn(() => {
|
|
27172
27172
|
var g;
|
|
27173
27173
|
const h = document.querySelector(xd);
|
|
27174
27174
|
h && (h.classList.add("bluepic-popup-app-wrapper"), (g = h.parentElement) == null || g.classList.add("bluepic-popup-body"));
|
|
@@ -29085,7 +29085,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29085
29085
|
return m({}, "", {}), m;
|
|
29086
29086
|
} catch {
|
|
29087
29087
|
}
|
|
29088
|
-
}(), Gk = Ne.clearTimeout !== zn.clearTimeout && Ne.clearTimeout, Xk = xt && xt.now !== zn.Date.now && xt.now, Yk = Ne.setTimeout !== zn.setTimeout && Ne.setTimeout, Fd = on.ceil, Nd = on.floor, mp = Ir.getOwnPropertySymbols, Kk = Dd ? Dd.isBuffer : r, b5 = Ne.isFinite, Jk = Ld.join, Qk = d5(Ir.keys, Ir), sn = on.max,
|
|
29088
|
+
}(), Gk = Ne.clearTimeout !== zn.clearTimeout && Ne.clearTimeout, Xk = xt && xt.now !== zn.Date.now && xt.now, Yk = Ne.setTimeout !== zn.setTimeout && Ne.setTimeout, Fd = on.ceil, Nd = on.floor, mp = Ir.getOwnPropertySymbols, Kk = Dd ? Dd.isBuffer : r, b5 = Ne.isFinite, Jk = Ld.join, Qk = d5(Ir.keys, Ir), sn = on.max, jn = on.min, ez = xt.now, tz = Ne.parseInt, y5 = on.random, rz = Ld.reverse, gp = Vs(Ne, "DataView"), mc = Vs(Ne, "Map"), vp = Vs(Ne, "Promise"), tu = Vs(Ne, "Set"), gc = Vs(Ne, "WeakMap"), vc = Vs(Ir, "create"), Ud = gc && new gc(), ru = {}, nz = qs(gp), az = qs(mc), iz = qs(vp), oz = qs(tu), sz = qs(gc), Zd = Mo ? Mo.prototype : r, bc = Zd ? Zd.valueOf : r, w5 = Zd ? Zd.toString : r;
|
|
29089
29089
|
function ee(m) {
|
|
29090
29090
|
if (qr(m) && !qt(m) && !(m instanceof sr)) {
|
|
29091
29091
|
if (m instanceof Ea)
|
|
@@ -29138,7 +29138,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29138
29138
|
return m;
|
|
29139
29139
|
}
|
|
29140
29140
|
function cz() {
|
|
29141
|
-
var m = this.__wrapped__.value(), v = this.__dir__, z = qt(m), R = v < 0, G = z ? m.length : 0, ae = CE(0, G, this.__views__), de = ae.start, ge = ae.end, Se = ge - de, We = R ? ge : de - 1, Ge = this.__iteratees__, Je = Ge.length, mt = 0, kt =
|
|
29141
|
+
var m = this.__wrapped__.value(), v = this.__dir__, z = qt(m), R = v < 0, G = z ? m.length : 0, ae = CE(0, G, this.__views__), de = ae.start, ge = ae.end, Se = ge - de, We = R ? ge : de - 1, Ge = this.__iteratees__, Je = Ge.length, mt = 0, kt = jn(Se, this.__takeCount__);
|
|
29142
29142
|
if (!z || !R && G == Se && kt == Se)
|
|
29143
29143
|
return V5(m, this.__actions__);
|
|
29144
29144
|
var Mt = [];
|
|
@@ -29356,7 +29356,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29356
29356
|
if (de = SE(m), !ge)
|
|
29357
29357
|
return ta(m, de);
|
|
29358
29358
|
} else {
|
|
29359
|
-
var Je =
|
|
29359
|
+
var Je = Rn(m), mt = Je == Q || Je == se;
|
|
29360
29360
|
if (Ro(m))
|
|
29361
29361
|
return W5(m, ge);
|
|
29362
29362
|
if (Je == Ie || Je == ce || mt && !G) {
|
|
@@ -29494,12 +29494,12 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29494
29494
|
return m != null && v in Ir(m);
|
|
29495
29495
|
}
|
|
29496
29496
|
function Uz(m, v, z) {
|
|
29497
|
-
return m >=
|
|
29497
|
+
return m >= jn(v, z) && m < sn(v, z);
|
|
29498
29498
|
}
|
|
29499
29499
|
function _p(m, v, z) {
|
|
29500
29500
|
for (var R = z ? ip : Id, G = m[0].length, ae = m.length, de = ae, ge = Pe(ae), Se = 1 / 0, We = []; de--; ) {
|
|
29501
29501
|
var Ge = m[de];
|
|
29502
|
-
de && v && (Ge = Br(Ge, ma(v))), Se =
|
|
29502
|
+
de && v && (Ge = Br(Ge, ma(v))), Se = jn(Ge.length, Se), ge[de] = !z && (v || G >= 120 && Ge.length >= 120) ? new Ns(de && Ge) : r;
|
|
29503
29503
|
}
|
|
29504
29504
|
Ge = m[0];
|
|
29505
29505
|
var Je = -1, mt = ge[0];
|
|
@@ -29540,7 +29540,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29540
29540
|
return m === v ? !0 : m == null || v == null || !qr(m) && !qr(v) ? m !== m && v !== v : Hz(m, v, z, R, Cc, G);
|
|
29541
29541
|
}
|
|
29542
29542
|
function Hz(m, v, z, R, G, ae) {
|
|
29543
|
-
var de = qt(m), ge = qt(v), Se = de ? xe :
|
|
29543
|
+
var de = qt(m), ge = qt(v), Se = de ? xe : Rn(m), We = ge ? xe : Rn(v);
|
|
29544
29544
|
Se = Se == ce ? Ie : Se, We = We == ce ? Ie : We;
|
|
29545
29545
|
var Ge = Se == Ie, Je = We == Ie, mt = Se == We;
|
|
29546
29546
|
if (mt && Ro(m)) {
|
|
@@ -29560,7 +29560,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29560
29560
|
return mt ? (ae || (ae = new qa()), wE(m, v, z, R, G, ae)) : !1;
|
|
29561
29561
|
}
|
|
29562
29562
|
function Wz(m) {
|
|
29563
|
-
return qr(m) &&
|
|
29563
|
+
return qr(m) && Rn(m) == le;
|
|
29564
29564
|
}
|
|
29565
29565
|
function Sp(m, v, z, R) {
|
|
29566
29566
|
var G = z.length, ae = G, de = !R;
|
|
@@ -29597,7 +29597,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29597
29597
|
return qr(m) && qn(m) == at;
|
|
29598
29598
|
}
|
|
29599
29599
|
function Xz(m) {
|
|
29600
|
-
return qr(m) &&
|
|
29600
|
+
return qr(m) && Rn(m) == Xe;
|
|
29601
29601
|
}
|
|
29602
29602
|
function Yz(m) {
|
|
29603
29603
|
return qr(m) && c1(m.length) && !!Pr[qn(m)];
|
|
@@ -29815,7 +29815,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29815
29815
|
We ? Dt = Mt && (R || mt) : ge ? Dt = Mt && mt && (R || !kt) : Se ? Dt = Mt && mt && !kt && (R || !Gt) : kt || Gt ? Dt = !1 : Dt = R ? Je <= v : Je < v;
|
|
29816
29816
|
Dt ? G = Ge + 1 : ae = Ge;
|
|
29817
29817
|
}
|
|
29818
|
-
return
|
|
29818
|
+
return jn(ae, J);
|
|
29819
29819
|
}
|
|
29820
29820
|
function N5(m, v) {
|
|
29821
29821
|
for (var z = -1, R = m.length, G = 0, ae = []; ++z < R; ) {
|
|
@@ -30248,7 +30248,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30248
30248
|
function Bp(m) {
|
|
30249
30249
|
var v = on[m];
|
|
30250
30250
|
return function(z, R) {
|
|
30251
|
-
if (z = La(z), R = R == null ? 0 :
|
|
30251
|
+
if (z = La(z), R = R == null ? 0 : jn(Ht(R), 292), R && b5(z)) {
|
|
30252
30252
|
var G = (yr(z) + "e").split("e"), ae = v(G[0] + "e" + (+G[1] + R));
|
|
30253
30253
|
return G = (yr(ae) + "e").split("e"), +(G[0] + "e" + (+G[1] - R));
|
|
30254
30254
|
}
|
|
@@ -30260,7 +30260,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30260
30260
|
} : ih;
|
|
30261
30261
|
function o4(m) {
|
|
30262
30262
|
return function(v) {
|
|
30263
|
-
var z =
|
|
30263
|
+
var z = Rn(v);
|
|
30264
30264
|
return z == le ? pp(v) : z == Xe ? Mk(v) : zk(v, m(v));
|
|
30265
30265
|
};
|
|
30266
30266
|
}
|
|
@@ -30461,8 +30461,8 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30461
30461
|
for (var v = []; m; )
|
|
30462
30462
|
$o(v, Up(m)), m = Bd(m);
|
|
30463
30463
|
return v;
|
|
30464
|
-
} : oh,
|
|
30465
|
-
(gp &&
|
|
30464
|
+
} : oh, Rn = qn;
|
|
30465
|
+
(gp && Rn(new gp(new ArrayBuffer(1))) != yt || mc && Rn(new mc()) != le || vp && Rn(vp.resolve()) != ze || tu && Rn(new tu()) != Xe || gc && Rn(new gc()) != ft) && (Rn = function(m) {
|
|
30466
30466
|
var v = qn(m), z = v == Ie ? m.constructor : r, R = z ? qs(z) : "";
|
|
30467
30467
|
if (R)
|
|
30468
30468
|
switch (R) {
|
|
@@ -30490,7 +30490,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30490
30490
|
v -= de;
|
|
30491
30491
|
break;
|
|
30492
30492
|
case "take":
|
|
30493
|
-
v =
|
|
30493
|
+
v = jn(v, m + de);
|
|
30494
30494
|
break;
|
|
30495
30495
|
case "takeRight":
|
|
30496
30496
|
m = sn(m, v - de);
|
|
@@ -30626,7 +30626,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30626
30626
|
var Se = m[3];
|
|
30627
30627
|
m[3] = Se ? Y5(Se, ge, v[4]) : ge, m[4] = Se ? Po(m[3], d) : v[4];
|
|
30628
30628
|
}
|
|
30629
|
-
return ge = v[5], ge && (Se = m[5], m[5] = Se ? K5(Se, ge, v[6]) : ge, m[6] = Se ? Po(m[5], d) : v[6]), ge = v[7], ge && (m[7] = ge), R & O && (m[8] = m[8] == null ? v[8] :
|
|
30629
|
+
return ge = v[5], ge && (Se = m[5], m[5] = Se ? K5(Se, ge, v[6]) : ge, m[6] = Se ? Po(m[5], d) : v[6]), ge = v[7], ge && (m[7] = ge), R & O && (m[8] = m[8] == null ? v[8] : jn(m[8], v[8])), m[9] == null && (m[9] = v[9]), m[0] = v[0], m[1] = G, m;
|
|
30630
30630
|
}
|
|
30631
30631
|
function PE(m) {
|
|
30632
30632
|
var v = [];
|
|
@@ -30652,7 +30652,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30652
30652
|
return v.length < 2 ? m : Zs(m, Aa(v, 0, -1));
|
|
30653
30653
|
}
|
|
30654
30654
|
function DE(m, v) {
|
|
30655
|
-
for (var z = m.length, R =
|
|
30655
|
+
for (var z = m.length, R = jn(v.length, z), G = ta(m); R--; ) {
|
|
30656
30656
|
var ae = v[R];
|
|
30657
30657
|
m[R] = Ji(ae, z) ? G[ae] : r;
|
|
30658
30658
|
}
|
|
@@ -30789,7 +30789,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30789
30789
|
if (!R)
|
|
30790
30790
|
return -1;
|
|
30791
30791
|
var G = R - 1;
|
|
30792
|
-
return z !== r && (G = Ht(z), G = z < 0 ? sn(R + G, 0) :
|
|
30792
|
+
return z !== r && (G = Ht(z), G = z < 0 ? sn(R + G, 0) : jn(G, R - 1)), Ad(m, $t(v, 3), G, !0);
|
|
30793
30793
|
}
|
|
30794
30794
|
function S4(m) {
|
|
30795
30795
|
var v = m == null ? 0 : m.length;
|
|
@@ -30846,7 +30846,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30846
30846
|
if (!R)
|
|
30847
30847
|
return -1;
|
|
30848
30848
|
var G = R;
|
|
30849
|
-
return z !== r && (G = Ht(z), G = G < 0 ? sn(R + G, 0) :
|
|
30849
|
+
return z !== r && (G = Ht(z), G = G < 0 ? sn(R + G, 0) : jn(G, R - 1)), v === v ? Tk(m, v, G) : Ad(m, i5, G, !0);
|
|
30850
30850
|
}
|
|
30851
30851
|
function aI(m, v) {
|
|
30852
30852
|
return m && m.length ? T5(m, Ht(v)) : r;
|
|
@@ -31143,7 +31143,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31143
31143
|
return 0;
|
|
31144
31144
|
if (ra(m))
|
|
31145
31145
|
return d1(m) ? Jl(m) : m.length;
|
|
31146
|
-
var v =
|
|
31146
|
+
var v = Rn(m);
|
|
31147
31147
|
return v == le || v == Xe ? m.size : kp(m).length;
|
|
31148
31148
|
}
|
|
31149
31149
|
function hA(m, v, z) {
|
|
@@ -31216,7 +31216,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31216
31216
|
}
|
|
31217
31217
|
function Gt(Kr) {
|
|
31218
31218
|
var Wa = Kr - Se, to = Kr - We, t6 = v - Wa;
|
|
31219
|
-
return Je ?
|
|
31219
|
+
return Je ? jn(t6, ae - to) : t6;
|
|
31220
31220
|
}
|
|
31221
31221
|
function Dt(Kr) {
|
|
31222
31222
|
var Wa = Kr - Se, to = Kr - We;
|
|
@@ -31295,7 +31295,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31295
31295
|
v = v.length == 1 && qt(v[0]) ? Br(v[0], ma($t())) : Br(En(v, 1), ma($t()));
|
|
31296
31296
|
var z = v.length;
|
|
31297
31297
|
return Kt(function(R) {
|
|
31298
|
-
for (var G = -1, ae =
|
|
31298
|
+
for (var G = -1, ae = jn(R.length, z); ++G < ae; )
|
|
31299
31299
|
R[G] = v[G].call(this, R[G]);
|
|
31300
31300
|
return ha(m, this, R);
|
|
31301
31301
|
});
|
|
@@ -31386,7 +31386,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31386
31386
|
return !0;
|
|
31387
31387
|
if (ra(m) && (qt(m) || typeof m == "string" || typeof m.splice == "function" || Ro(m) || su(m) || Hs(m)))
|
|
31388
31388
|
return !m.length;
|
|
31389
|
-
var v =
|
|
31389
|
+
var v = Rn(m);
|
|
31390
31390
|
if (v == le || v == Xe)
|
|
31391
31391
|
return !m.size;
|
|
31392
31392
|
if (kc(m))
|
|
@@ -31481,7 +31481,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31481
31481
|
return m === r;
|
|
31482
31482
|
}
|
|
31483
31483
|
function JA(m) {
|
|
31484
|
-
return qr(m) &&
|
|
31484
|
+
return qr(m) && Rn(m) == ft;
|
|
31485
31485
|
}
|
|
31486
31486
|
function QA(m) {
|
|
31487
31487
|
return qr(m) && qn(m) == je;
|
|
@@ -31496,7 +31496,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31496
31496
|
return d1(m) ? Va(m) : ta(m);
|
|
31497
31497
|
if (hc && m[hc])
|
|
31498
31498
|
return Pk(m[hc]());
|
|
31499
|
-
var v =
|
|
31499
|
+
var v = Rn(m), z = v == le ? pp : v == Xe ? Od : lu;
|
|
31500
31500
|
return z(m);
|
|
31501
31501
|
}
|
|
31502
31502
|
function eo(m) {
|
|
@@ -31712,7 +31712,7 @@ var Bc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31712
31712
|
}
|
|
31713
31713
|
if (z || m % 1 || v % 1) {
|
|
31714
31714
|
var G = y5();
|
|
31715
|
-
return
|
|
31715
|
+
return jn(m + G * (v - m + mk("1e-" + ((G + "").length - 1))), v);
|
|
31716
31716
|
}
|
|
31717
31717
|
return Ip(m, v);
|
|
31718
31718
|
}
|
|
@@ -32007,7 +32007,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
32007
32007
|
function LL(m, v) {
|
|
32008
32008
|
if (m = Ht(m), m < 1 || m > $)
|
|
32009
32009
|
return [];
|
|
32010
|
-
var z = q, R =
|
|
32010
|
+
var z = q, R = jn(m, q);
|
|
32011
32011
|
v = $t(v), m -= q;
|
|
32012
32012
|
for (var G = dp(R, v); ++z < m; )
|
|
32013
32013
|
v(z);
|
|
@@ -32065,8 +32065,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
32065
32065
|
sr.prototype[m] = function(z) {
|
|
32066
32066
|
z = z === r ? 1 : sn(Ht(z), 0);
|
|
32067
32067
|
var R = this.__filtered__ && !v ? new sr(this) : this.clone();
|
|
32068
|
-
return R.__filtered__ ? R.__takeCount__ =
|
|
32069
|
-
size:
|
|
32068
|
+
return R.__filtered__ ? R.__takeCount__ = jn(z, R.__takeCount__) : R.__views__.push({
|
|
32069
|
+
size: jn(z, q),
|
|
32070
32070
|
type: m + (R.__dir__ < 0 ? "Right" : "")
|
|
32071
32071
|
}), R;
|
|
32072
32072
|
}, sr.prototype[m + "Right"] = function(z) {
|
|
@@ -33403,7 +33403,7 @@ const Pq = fx.exports, Mq = ["contenteditable", "data-ghost"], Dq = ["data-parag
|
|
|
33403
33403
|
h.value && k.preventDefault();
|
|
33404
33404
|
});
|
|
33405
33405
|
let S;
|
|
33406
|
-
return
|
|
33406
|
+
return Dn(() => {
|
|
33407
33407
|
var k;
|
|
33408
33408
|
if (!((k = i.value) != null && k.richTextEditorDivRef))
|
|
33409
33409
|
return;
|
|
@@ -33561,7 +33561,7 @@ const Pq = fx.exports, Mq = ["contenteditable", "data-ghost"], Dq = ["data-parag
|
|
|
33561
33561
|
C && (C.setAttribute("role", "textbox"), C.setAttribute("aria-multiline", String(a.multiline)), C.hasAttribute("tabindex") || C.setAttribute("tabindex", "0"), a.ariaLabelledby ? (C.setAttribute("aria-labelledby", a.ariaLabelledby), C.removeAttribute("aria-label")) : a.ariaLabel ? (C.setAttribute("aria-label", a.ariaLabel), C.removeAttribute("aria-labelledby")) : (C.removeAttribute("aria-label"), C.removeAttribute("aria-labelledby")));
|
|
33562
33562
|
}
|
|
33563
33563
|
let b;
|
|
33564
|
-
|
|
33564
|
+
Dn(() => {
|
|
33565
33565
|
var S, k;
|
|
33566
33566
|
_n(g);
|
|
33567
33567
|
const w = (S = h.value) == null ? void 0 : S.$el, C = (k = w == null ? void 0 : w.querySelector) == null ? void 0 : k.call(w, ".rich-text-wrapper");
|
|
@@ -33705,7 +33705,7 @@ const Pq = fx.exports, Mq = ["contenteditable", "data-ghost"], Dq = ["data-parag
|
|
|
33705
33705
|
_ = N;
|
|
33706
33706
|
});
|
|
33707
33707
|
const P = window.bluepicPopupProvider;
|
|
33708
|
-
|
|
33708
|
+
Dn(() => {
|
|
33709
33709
|
var f;
|
|
33710
33710
|
const N = document.querySelector(xd);
|
|
33711
33711
|
N && (N.classList.add("bluepic-popup-app-wrapper"), (f = N.parentElement) == null || f.classList.add("bluepic-popup-body"));
|
|
@@ -33856,7 +33856,7 @@ const Pq = fx.exports, Mq = ["contenteditable", "data-ghost"], Dq = ["data-parag
|
|
|
33856
33856
|
}
|
|
33857
33857
|
g.preventDefault(), u(b[w].index);
|
|
33858
33858
|
}
|
|
33859
|
-
|
|
33859
|
+
Dn(() => {
|
|
33860
33860
|
r.autofocusItem && r.ariaRole && _n(() => {
|
|
33861
33861
|
const g = c.value;
|
|
33862
33862
|
g >= 0 && u(g);
|
|
@@ -35591,7 +35591,7 @@ const zW = { class: "canvas" }, EW = { class: "matrix" }, IW = /* @__PURE__ */ T
|
|
|
35591
35591
|
const s = me(() => {
|
|
35592
35592
|
throw new Error("Not initialized yet");
|
|
35593
35593
|
}), u = me(0), d = me(0);
|
|
35594
|
-
|
|
35594
|
+
Dn(() => {
|
|
35595
35595
|
i.value && (o.value = new kW(i.value, n.offset, n.transform.translateX, n.transform.translateY, n.transform.scale, n.transform.rotate, n.minScale, n.maxScale, n.clampBounds, n.rotation), n.zoomSpeed !== void 0 && (o.value.zoomSpeed = n.zoomSpeed), n.translateSpeed !== void 0 && (o.value.translateSpeed = n.translateSpeed), n.zoomSpeedAppleTrackpad !== void 0 && (o.value.zoomSpeedAppleTrackpad = n.zoomSpeedAppleTrackpad), n.translateSpeedAppleTrackpad !== void 0 && (o.value.translateSpeedAppleTrackpad = n.translateSpeedAppleTrackpad), o.value.addEventListener("init", () => {
|
|
35596
35596
|
a("init");
|
|
35597
35597
|
}), o.value.addEventListener("update", () => {
|
|
@@ -37938,7 +37938,7 @@ function Xn(e) {
|
|
|
37938
37938
|
newDraggableIndex: Ko
|
|
37939
37939
|
}, e));
|
|
37940
37940
|
}
|
|
37941
|
-
var ct, Wr, Zt, jr, rl, K1, Nr, es, Iu, xa, m0, Ko, L1, On, xu = !1, Rf = !1, Ff = [], Ks, Ga, um, cm, M8, D8, Qc, pu, g0, v0 = !1, $1 = !1, J1,
|
|
37941
|
+
var ct, Wr, Zt, jr, rl, K1, Nr, es, Iu, xa, m0, Ko, L1, On, xu = !1, Rf = !1, Ff = [], Ks, Ga, um, cm, M8, D8, Qc, pu, g0, v0 = !1, $1 = !1, J1, Fn, dm = [], kg = !1, Nf = [], B2 = typeof document < "u", P1 = Cb, T8 = ud || So ? "cssFloat" : "float", cX = B2 && !wx && !Cb && "draggable" in document.createElement("div"), Ex = function() {
|
|
37942
37942
|
if (B2) {
|
|
37943
37943
|
if (So)
|
|
37944
37944
|
return !1;
|
|
@@ -38209,7 +38209,7 @@ Tt.prototype = /** @lends Sortable.prototype */
|
|
|
38209
38209
|
},
|
|
38210
38210
|
_onTouchMove: function(t) {
|
|
38211
38211
|
if (Ks) {
|
|
38212
|
-
var r = this.options, n = r.fallbackTolerance, a = r.fallbackOffset, i = t.touches ? t.touches[0] : t, o = Zt && xl(Zt, !0), c = Zt && o && o.a, s = Zt && o && o.d, u = P1 &&
|
|
38212
|
+
var r = this.options, n = r.fallbackTolerance, a = r.fallbackOffset, i = t.touches ? t.touches[0] : t, o = Zt && xl(Zt, !0), c = Zt && o && o.a, s = Zt && o && o.d, u = P1 && Fn && $8(Fn), d = (i.clientX - Ks.clientX + a.x) / (c || 1) + (u ? u[0] - dm[0] : 0) / (c || 1), p = (i.clientY - Ks.clientY + a.y) / (s || 1) + (u ? u[1] - dm[1] : 0) / (s || 1);
|
|
38213
38213
|
if (!Tt.active && !xu) {
|
|
38214
38214
|
if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n)
|
|
38215
38215
|
return;
|
|
@@ -38234,9 +38234,9 @@ Tt.prototype = /** @lends Sortable.prototype */
|
|
|
38234
38234
|
if (!Zt) {
|
|
38235
38235
|
var t = this.options.fallbackOnBody ? document.body : jr, r = Mr(ct, !0, P1, !0, t), n = this.options;
|
|
38236
38236
|
if (P1) {
|
|
38237
|
-
for (
|
|
38238
|
-
|
|
38239
|
-
|
|
38237
|
+
for (Fn = t; St(Fn, "position") === "static" && St(Fn, "transform") === "none" && Fn !== document; )
|
|
38238
|
+
Fn = Fn.parentNode;
|
|
38239
|
+
Fn !== document.body && Fn !== document.documentElement ? (Fn === document && (Fn = Di()), r.top += Fn.scrollTop, r.left += Fn.scrollLeft) : Fn = Di(), dm = $8(Fn);
|
|
38240
38240
|
}
|
|
38241
38241
|
Zt = ct.cloneNode(!0), Ur(Zt, n.ghostClass, !1), Ur(Zt, n.fallbackClass, !0), Ur(Zt, n.dragClass, !0), St(Zt, "transition", ""), St(Zt, "transform", ""), St(Zt, "box-sizing", "border-box"), St(Zt, "margin", 0), St(Zt, "top", r.top), St(Zt, "left", r.left), St(Zt, "width", r.width), St(Zt, "height", r.height), St(Zt, "opacity", "0.8"), St(Zt, "position", P1 ? "absolute" : "fixed"), St(Zt, "zIndex", "100000"), St(Zt, "pointerEvents", "none"), Tt.ghost = Zt, t.appendChild(Zt), St(Zt, "transform-origin", M8 / parseInt(Zt.style.width) * 100 + "% " + D8 / parseInt(Zt.style.height) * 100 + "%");
|
|
38242
38242
|
}
|
|
@@ -39497,7 +39497,7 @@ const zY = { class: "label" }, EY = { class: "actions-right" }, IY = { class: "a
|
|
|
39497
39497
|
emits: ["update:modelValue"],
|
|
39498
39498
|
setup(e) {
|
|
39499
39499
|
const t = e, r = me(mn()), n = ar(e, "modelValue"), a = me();
|
|
39500
|
-
|
|
39500
|
+
Dn(() => {
|
|
39501
39501
|
a.value && Tt.create(a.value, {
|
|
39502
39502
|
animation: 500,
|
|
39503
39503
|
handle: ".drag-btn",
|
|
@@ -39658,7 +39658,7 @@ const zY = { class: "label" }, EY = { class: "actions-right" }, IY = { class: "a
|
|
|
39658
39658
|
let c;
|
|
39659
39659
|
const s = () => {
|
|
39660
39660
|
};
|
|
39661
|
-
|
|
39661
|
+
Dn(() => {
|
|
39662
39662
|
}), Ke(
|
|
39663
39663
|
() => r.mapboxStyle,
|
|
39664
39664
|
() => {
|
|
@@ -42270,7 +42270,7 @@ const wJ = /* @__PURE__ */ Te({
|
|
|
42270
42270
|
b.value = null, document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", $);
|
|
42271
42271
|
}
|
|
42272
42272
|
let D = null;
|
|
42273
|
-
return
|
|
42273
|
+
return Dn(() => {
|
|
42274
42274
|
if (T(), D = new ResizeObserver(() => T()), a.value) {
|
|
42275
42275
|
D.observe(a.value);
|
|
42276
42276
|
const j = a.value.firstElementChild;
|
|
@@ -46434,7 +46434,7 @@ const Eee = {
|
|
|
46434
46434
|
_n(() => {
|
|
46435
46435
|
kee(d.value);
|
|
46436
46436
|
});
|
|
46437
|
-
}),
|
|
46437
|
+
}), Dn(() => {
|
|
46438
46438
|
u.value && (_ee({
|
|
46439
46439
|
el: u.value,
|
|
46440
46440
|
nextEl: g.value,
|
|
@@ -46517,7 +46517,7 @@ const Eee = {
|
|
|
46517
46517
|
function c(d, p, l) {
|
|
46518
46518
|
p === a.value && (i.value = l);
|
|
46519
46519
|
}
|
|
46520
|
-
|
|
46520
|
+
Dn(() => {
|
|
46521
46521
|
!n || !n.value || (n.value.on("_slideClass", c), r = !0);
|
|
46522
46522
|
}), t$(() => {
|
|
46523
46523
|
r || !n || !n.value || (n.value.on("_slideClass", c), r = !0);
|
|
@@ -62035,7 +62035,7 @@ function Nce(e) {
|
|
|
62035
62035
|
})(er);
|
|
62036
62036
|
var b3 = {};
|
|
62037
62037
|
(function(e) {
|
|
62038
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.
|
|
62038
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.setUserUsageCapRequestBodySchema = e.modifySubscriptionResponseSchema = e.modifySubscriptionRequestBodySchema = e.subscriptionModificationProrationSchema = e.subscriptionModificationKindSchema = e.subscriptionModificationIntentSchema = e.listInvoicesResponseSchema = e.listInvoicesRequestQuerySchema = e.billingInvoiceSchema = e.invoiceCategorySchema = e.invoiceStatusSchema = e.tierUsageResponseSchema = e.upgradeInvoicedBreakdownSchema = e.appSumoTierDescriptorSchema = e.upcomingScheduledChangeSchema = e.usageBalanceSchema = e.userCapReachedErrorSchema = e.capReachedErrorSchema = e.FREE_TIER_DESCRIPTOR = e.TIERS = e.TEAM_MEMBER_SEAT_ANNUAL_EUR = e.TEAM_MEMBER_SEAT_PRICE_ID = e.TEAM_MEMBER_SEATS_PRODUCT_ID = e.INVOICE_ITEM_METADATA_KEYS = e.INVOICE_METADATA_KEYS = e.INVOICE_KIND_TIER_UPGRADE_FEE = e.INVOICE_KIND_CREDIT_OVERAGE = e.developerPlanDescriptorSchema = e.DEVELOPER_PLAN_PRESETS = e.DEVELOPER_API_PRICE_ID = e.DEVELOPER_API_PRODUCT_ID = e.UNLIMITED_TIER_DEFAULT_PRICE_ID = e.UNLIMITED_TIER_PRODUCT_ID = e.PRO_TIER_PRICE_ID = e.PRO_TIER_PRODUCT_ID = e.STARTER_TIER_PRICE_ID = e.STARTER_TIER_PRODUCT_ID = e.INFINITE_NUMBER = e.tierDescriptorSchema = e.tierBalanceConfigSchema = e.tierCapSchema = e.subscriptionMetadataKeys = e.stripeIdPairSchema = e.balanceNameSchema = e.balanceNames = e.stripeEnvSchema = e.paidTierIdSchema = e.paidTierIds = e.tierIdSchema = e.tierIds = void 0, e.tierSchema = e.additionalTeamMemberSeatsProductId = e.tierNames = e.tierAutoUpgradedNotificationDataSchema = e.tierThresholdNotificationDataSchema = e.tierAutoUpgradedNotificationName = e.tierCapReachedNotificationName = e.tierThresholdNotificationName = e.portalSessionResponseSchema = e.portalSessionRequestBodySchema = e.cancelTierRequestBodySchema = e.createCheckoutResponseSchema = e.createCheckoutRequestBodySchema = e.createCheckoutRequestQuerySchema = e.setAutoUpgradeOnCapRequestBodySchema = void 0, e.tierByProductId = r, e.nextTierAbove = n, e.computeUpgradeFeeEur = a, e.sumUpgradeInvoicedBreakdownEur = i, e.classifyModification = o, e.computeModificationProration = c, e.suggestAdditionalSeatsForTargetTier = s, e.getThisYearTimestampSeconds = u, e.freeBucketCycle = d;
|
|
62039
62039
|
const t = er;
|
|
62040
62040
|
e.tierIds = ["FREE", "STARTER", "PRO", "UNLIMITED"], e.tierIdSchema = t.z.enum(e.tierIds), e.paidTierIds = ["STARTER", "PRO", "UNLIMITED"], e.paidTierIdSchema = t.z.enum(e.paidTierIds), e.stripeEnvSchema = t.z.enum(["dev", "prod"]), e.balanceNames = ["EMBED", "API"], e.balanceNameSchema = t.z.enum(e.balanceNames), e.stripeIdPairSchema = t.z.object({
|
|
62041
62041
|
dev: t.z.string(),
|
|
@@ -62100,7 +62100,26 @@ var b3 = {};
|
|
|
62100
62100
|
}, e.UNLIMITED_TIER_DEFAULT_PRICE_ID = {
|
|
62101
62101
|
dev: "price_1TaCRhLGRgBAxN0CgW2SlAM7",
|
|
62102
62102
|
prod: "price_1Tf10ALGRgBAxN0Cikb91GXn"
|
|
62103
|
-
}, e.
|
|
62103
|
+
}, e.DEVELOPER_API_PRODUCT_ID = {
|
|
62104
|
+
dev: "prod_Uxitoef0Kw9F7E",
|
|
62105
|
+
prod: "prod_UxjK1ifQfKiFLE"
|
|
62106
|
+
}, e.DEVELOPER_API_PRICE_ID = {
|
|
62107
|
+
dev: "price_1TxnTBLGRgBAxN0CtLWdB90k",
|
|
62108
|
+
prod: "price_1TxnsGLGRgBAxN0CNS7OqvqF"
|
|
62109
|
+
}, e.DEVELOPER_PLAN_PRESETS = [
|
|
62110
|
+
{ id: "STARTER", credits: 1e3, monthlyPriceUsd: 10 },
|
|
62111
|
+
{ id: "PRO", credits: 5e3, monthlyPriceUsd: 50 },
|
|
62112
|
+
{ id: "ENTERPRISE", credits: 25e3, monthlyPriceUsd: 250 }
|
|
62113
|
+
], e.developerPlanDescriptorSchema = t.z.object({
|
|
62114
|
+
subscriptionId: t.z.string(),
|
|
62115
|
+
/** Monthly API-credit allotment = the subscription item quantity. */
|
|
62116
|
+
monthlyCredits: t.z.number(),
|
|
62117
|
+
/** Unix-seconds monthly emit anchor (the Stripe billing_cycle_anchor). */
|
|
62118
|
+
anchor: t.z.number(),
|
|
62119
|
+
/** Current Stripe billing period bounds (drives the gauge + resetsAt). */
|
|
62120
|
+
currentPeriodStart: t.z.number(),
|
|
62121
|
+
currentPeriodEnd: t.z.number()
|
|
62122
|
+
}), e.INVOICE_KIND_CREDIT_OVERAGE = "credit_overage", e.INVOICE_KIND_TIER_UPGRADE_FEE = "tier_upgrade_fee", e.INVOICE_METADATA_KEYS = {
|
|
62104
62123
|
/** Set on every Bluepic-created invoice; absent on Stripe-generated invoices. */
|
|
62105
62124
|
kind: "bluepic_kind",
|
|
62106
62125
|
/** The subscription id this invoice is logically linked to (for analytics). */
|
|
@@ -64905,7 +64924,7 @@ var fS = {};
|
|
|
64905
64924
|
})(fS);
|
|
64906
64925
|
var pS = {};
|
|
64907
64926
|
(function(e) {
|
|
64908
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.campaignEventRowSchema = e.ingestCampaignEventsResponseSchema = e.ingestCampaignEventsRequestBodySchema = e.campaignEventSchema = e.campaignEventTypeSchema = e.campaignEventRenderLocationSchema = e.campaignEventTriggerSchema = e.campaignEventStatusSchema = e.campaignEventPlatformSchema = e.recordSocialShareResponseSchema = e.recordSocialShareRequestBodySchema = e.getOverviewAnalyticsResponseSchema = e.getOverviewAnalyticsRequestQuerySchema = e.campaignPerformanceSchema = e.getCampaignAnalyticsResponseSchema = e.getCampaignAnalyticsRequestQuerySchema = e.campaignSocialShareSchema = e.socialNetworkSchema = e.getRenderFeedResponseSchema = e.getRenderFeedRequestQuerySchema = e.getAnalyticsResponseSchema = e.getAnalyticsRequestQuerySchema = e.renderFeed = e.feedItemLocationInfoSchema = e.ipInfoSchema = void 0;
|
|
64927
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.campaignEventRowSchema = e.ingestCampaignEventsResponseSchema = e.ingestCampaignEventsRequestBodySchema = e.campaignEventSchema = e.campaignEventTypeSchema = e.campaignEventRenderLocationSchema = e.campaignEventTriggerSchema = e.campaignEventStatusSchema = e.campaignEventPlatformSchema = e.recordSocialShareResponseSchema = e.recordSocialShareRequestBodySchema = e.getOverviewAnalyticsResponseSchema = e.getOverviewAnalyticsRequestQuerySchema = e.campaignPerformanceSchema = e.getCampaignAnalyticsResponseSchema = e.getCampaignAnalyticsRequestQuerySchema = e.campaignSocialShareSchema = e.socialNetworkSchema = e.getRenderFeedResponseSchema = e.getRenderFeedRequestQuerySchema = e.getAnalyticsResponseSchema = e.getAnalyticsRequestQuerySchema = e.superAdminTargetUserId = e.renderFeed = e.feedItemLocationInfoSchema = e.ipInfoSchema = void 0;
|
|
64909
64928
|
const t = er;
|
|
64910
64929
|
e.ipInfoSchema = t.z.object({
|
|
64911
64930
|
status: t.z.string(),
|
|
@@ -64942,7 +64961,9 @@ var pS = {};
|
|
|
64942
64961
|
location: e.feedItemLocationInfoSchema.optional().openapi({
|
|
64943
64962
|
description: "Location information derived from the user's IP address"
|
|
64944
64963
|
})
|
|
64945
|
-
}).array(), e.
|
|
64964
|
+
}).array(), e.superAdminTargetUserId = t.z.string().optional().openapi({
|
|
64965
|
+
description: "Super-admin only: view another account's analytics by its Auth0 user id (e.g. 'auth0|123'). Ignored/forbidden for non-super-admins."
|
|
64966
|
+
}), e.getAnalyticsRequestQuerySchema = t.z.object({
|
|
64946
64967
|
from: t.z.string().openapi({ description: "From date in ISO format" }),
|
|
64947
64968
|
to: t.z.string().openapi({ description: "To date in ISO format" }),
|
|
64948
64969
|
aggregation: t.z.enum(["day", "week", "month", "year"]).openapi({
|
|
@@ -64953,7 +64974,8 @@ var pS = {};
|
|
|
64953
64974
|
}),
|
|
64954
64975
|
stripeEnv: t.z.enum(["prod", "dev"]).openapi({
|
|
64955
64976
|
description: "Stripe environment to filter by"
|
|
64956
|
-
})
|
|
64977
|
+
}),
|
|
64978
|
+
targetUserId: e.superAdminTargetUserId
|
|
64957
64979
|
}), e.getAnalyticsResponseSchema = t.z.object({
|
|
64958
64980
|
analytics: t.z.record(t.z.string(), t.z.number()).openapi({
|
|
64959
64981
|
description: "Analytics data, where keys are dates in ISO format and values are counts"
|
|
@@ -64967,7 +64989,8 @@ var pS = {};
|
|
|
64967
64989
|
}),
|
|
64968
64990
|
stripeEnv: t.z.enum(["prod", "dev"]).openapi({
|
|
64969
64991
|
description: "Stripe environment to filter by"
|
|
64970
|
-
})
|
|
64992
|
+
}),
|
|
64993
|
+
targetUserId: e.superAdminTargetUserId
|
|
64971
64994
|
}), e.getRenderFeedResponseSchema = t.z.object({
|
|
64972
64995
|
feed: e.renderFeed
|
|
64973
64996
|
}), e.socialNetworkSchema = t.z.enum(["linkedin"]), e.campaignSocialShareSchema = t.z.object({
|
|
@@ -65005,7 +65028,8 @@ var pS = {};
|
|
|
65005
65028
|
from: t.z.string().openapi({ description: "From date in ISO format" }),
|
|
65006
65029
|
to: t.z.string().openapi({ description: "To date in ISO format" }),
|
|
65007
65030
|
aggregation: t.z.enum(["day", "week", "month", "year"]),
|
|
65008
|
-
stripeEnv: t.z.enum(["prod", "dev"])
|
|
65031
|
+
stripeEnv: t.z.enum(["prod", "dev"]),
|
|
65032
|
+
targetUserId: e.superAdminTargetUserId
|
|
65009
65033
|
}), e.getCampaignAnalyticsResponseSchema = t.z.object({
|
|
65010
65034
|
/** Aggregated render counts keyed by bucket (e.g. '2026-05-26' for day-level). */
|
|
65011
65035
|
analytics: t.z.record(t.z.string(), t.z.number()),
|
|
@@ -65125,6 +65149,14 @@ var pS = {};
|
|
|
65125
65149
|
format: t.z.string().optional().openapi({ description: "Export format, e.g. png / jpeg / mp4" }),
|
|
65126
65150
|
mediaType: t.z.enum(["image", "video"]).optional(),
|
|
65127
65151
|
renderLocation: e.campaignEventRenderLocationSchema.optional(),
|
|
65152
|
+
/**
|
|
65153
|
+
* Number of assets produced by this render (a serial/personalised export
|
|
65154
|
+
* yields many from one press). Set on `render_success`. NOTE: the "generated
|
|
65155
|
+
* designs" metric counts one per export press (one `render_success` row), so
|
|
65156
|
+
* this does NOT feed that number — it is stored for asset-level insight
|
|
65157
|
+
* (e.g. total assets produced, batch-size distribution).
|
|
65158
|
+
*/
|
|
65159
|
+
fileCount: t.z.number().int().nonnegative().optional().openapi({ description: "Assets produced by this render (render_success); metric counts per-export, not per-file" }),
|
|
65128
65160
|
// Action context (download / webhook / redirect).
|
|
65129
65161
|
trigger: e.campaignEventTriggerSchema.optional(),
|
|
65130
65162
|
withinSocialShare: t.z.boolean().optional().openapi({ description: "download only — whether it happened inside a social copy-share flow" }),
|
|
@@ -65460,8 +65492,10 @@ var gS = {}, E3 = {};
|
|
|
65460
65492
|
areaPx: 2048 * 1080,
|
|
65461
65493
|
/** Reference frame rate. */
|
|
65462
65494
|
fps: 24,
|
|
65463
|
-
/** Credits per second at the reference (2K @ 24fps). Tunable.
|
|
65464
|
-
|
|
65495
|
+
/** Credits per second at the reference (2K @ 24fps). Tunable.
|
|
65496
|
+
* 0.1 → a 10-second 2K@24fps clip costs 1 credit ($0.01 at $0.01/credit),
|
|
65497
|
+
* which keeps video competitive with the cheapest per-second render APIs. */
|
|
65498
|
+
creditsPerSecond: 0.1
|
|
65465
65499
|
};
|
|
65466
65500
|
function r(n) {
|
|
65467
65501
|
const a = n.creditsPerSecond ?? e.VIDEO_CREDIT_REFERENCE.creditsPerSecond, i = n.width * n.height / e.VIDEO_CREDIT_REFERENCE.areaPx, o = n.fps / e.VIDEO_CREDIT_REFERENCE.fps, c = n.durationSeconds * a * i * o;
|
|
@@ -65536,7 +65570,9 @@ function qce(e, t, r, n) {
|
|
|
65536
65570
|
return (0, Vce.hashObj)({
|
|
65537
65571
|
campaignId: e,
|
|
65538
65572
|
templateId: t,
|
|
65539
|
-
data: n.fields.length > 0 ? r : {
|
|
65573
|
+
data: n.fields.length > 0 ? r : {
|
|
65574
|
+
SEED: Math.random()
|
|
65575
|
+
}
|
|
65540
65576
|
});
|
|
65541
65577
|
}
|
|
65542
65578
|
(function(e) {
|
|
@@ -66909,10 +66945,10 @@ const Yce = { class: "export-popup" }, Kce = {
|
|
|
66909
66945
|
async function l(k) {
|
|
66910
66946
|
switch (k) {
|
|
66911
66947
|
case "instagram":
|
|
66912
|
-
window.open("https://www.instagram.com/
|
|
66948
|
+
window.open("https://www.instagram.com/", "_blank");
|
|
66913
66949
|
break;
|
|
66914
66950
|
case "facebook":
|
|
66915
|
-
window.open("https://www.facebook.com/
|
|
66951
|
+
window.open("https://www.facebook.com/", "_blank");
|
|
66916
66952
|
break;
|
|
66917
66953
|
case "mail":
|
|
66918
66954
|
window.open(
|
|
@@ -67388,7 +67424,7 @@ const Yce = { class: "export-popup" }, Kce = {
|
|
|
67388
67424
|
]))
|
|
67389
67425
|
]));
|
|
67390
67426
|
}
|
|
67391
|
-
}), C0e = /* @__PURE__ */ nt(x0e, [["__scopeId", "data-v-
|
|
67427
|
+
}), C0e = /* @__PURE__ */ nt(x0e, [["__scopeId", "data-v-4efe4c5c"]]);
|
|
67392
67428
|
var xS = { exports: {} };
|
|
67393
67429
|
(function(e, t) {
|
|
67394
67430
|
(function(r, n) {
|
|
@@ -67716,7 +67752,7 @@ function A0e(e, t, r, n, a, i, o, c, s, u, d, p, l, h, g, b, y, w = me(void 0))
|
|
|
67716
67752
|
}), k = /* @__PURE__ */ new Set();
|
|
67717
67753
|
function x(W, V) {
|
|
67718
67754
|
return async () => {
|
|
67719
|
-
if (l.value && !(!o.value || W === null) && !k.has(W)) {
|
|
67755
|
+
if (console.log("consumeCreditsOnRender", l.value), !!l.value && !(!o.value || W === null) && !k.has(W)) {
|
|
67720
67756
|
k.add(W);
|
|
67721
67757
|
try {
|
|
67722
67758
|
await O0e(
|
|
@@ -68145,7 +68181,11 @@ const D0e = ["data-preview"], T0e = { class: "back-btn-wrapper" }, B0e = {
|
|
|
68145
68181
|
},
|
|
68146
68182
|
emits: ["back", "update:data"],
|
|
68147
68183
|
setup(e, { expose: t, emit: r }) {
|
|
68148
|
-
const n = e, a = r, i = Er()
|
|
68184
|
+
const n = e, a = r, i = Er();
|
|
68185
|
+
Dn(() => {
|
|
68186
|
+
console.log("consumeCreditsOnRender", n.consumeCreditsOnRender);
|
|
68187
|
+
});
|
|
68188
|
+
const { createMessage: o, createPopup: c } = wb(), { width: s } = /* @__PURE__ */ N$(), u = pe(() => n.serial), d = pe(() => n.layout ? n.layout : s.value <= 550 ? "mobile" : "desktop"), p = pe(() => {
|
|
68149
68189
|
var F;
|
|
68150
68190
|
return ((F = u.value) == null ? void 0 : F.frames) ?? { x: 1, y: 1 };
|
|
68151
68191
|
}), l = pe(() => Object.values(p.value).reduce((F, Q) => Q * F, 1)), h = pe(() => l.value > 1), g = me(), b = pe(() => {
|
|
@@ -68556,7 +68596,7 @@ const D0e = ["data-preview"], T0e = { class: "back-btn-wrapper" }, B0e = {
|
|
|
68556
68596
|
], 10, D0e);
|
|
68557
68597
|
};
|
|
68558
68598
|
}
|
|
68559
|
-
}), Y0e = /* @__PURE__ */ nt(X0e, [["__scopeId", "data-v-
|
|
68599
|
+
}), Y0e = /* @__PURE__ */ nt(X0e, [["__scopeId", "data-v-616d519f"]]);
|
|
68560
68600
|
function ES(e) {
|
|
68561
68601
|
return e instanceof Map ? e.clear = e.delete = e.set = function() {
|
|
68562
68602
|
throw new Error("map is read-only");
|
|
@@ -69667,7 +69707,7 @@ const U1 = /* @__PURE__ */ Vi(Zde), Vde = {
|
|
|
69667
69707
|
const u = n.value;
|
|
69668
69708
|
u && (U1.getLanguage(s) ? u.innerHTML = U1.highlight(r.code, { language: s, ignoreIllegals: !0 }).value : u.textContent = r.code);
|
|
69669
69709
|
}
|
|
69670
|
-
|
|
69710
|
+
Dn(o), Ke(() => [r.code, r.language], o);
|
|
69671
69711
|
async function c() {
|
|
69672
69712
|
try {
|
|
69673
69713
|
await navigator.clipboard.writeText(r.code), a.value = !0, setTimeout(() => a.value = !1, 1600);
|
|
@@ -74026,7 +74066,7 @@ const w2e = ["contenteditable", "data-ghost"], x2e = ["data-paragraph"], C2e = /
|
|
|
74026
74066
|
g.value && x.preventDefault();
|
|
74027
74067
|
});
|
|
74028
74068
|
let k;
|
|
74029
|
-
return
|
|
74069
|
+
return Dn(() => {
|
|
74030
74070
|
var I;
|
|
74031
74071
|
if (!((I = o.value) != null && I.richTextEditorDivRef)) return;
|
|
74032
74072
|
const x = (O, _) => {
|