@myissue/vue-website-page-builder 3.4.63 → 3.4.65
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/style.css +1 -1
- package/dist/vue-website-page-builder.js +685 -708
- package/dist/vue-website-page-builder.umd.cjs +37 -54
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var e1 = Object.defineProperty;
|
|
|
2
2
|
var t1 = (n, e, t) => e in n ? e1(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var de = (n, e, t) => t1(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import * as ya from "vue";
|
|
5
|
-
import { defineComponent as tt, computed as B, createBlock as oe, openBlock as y, Teleport as n1, createElementVNode as c, createElementBlock as w, createCommentVNode as E, normalizeClass as j, toDisplayString as C, renderSlot as xn, ref as k, watchEffect as ci, Fragment as K, withCtx as q, nextTick as te, readonly as i1, effectScope as rp, markRaw as Yt, toRaw as ze, hasInjectionContext as r1, inject as an, getCurrentInstance as op, watch as Y, unref as g, reactive as o1, isRef as $i, isReactive as fl, toRef as Qo, getCurrentScope as s1, onScopeDispose as l1, toRefs as va, withDirectives as le, renderList as ie, vModelSelect as Se, createTextVNode as Be, withKeys as As, vModelText as
|
|
5
|
+
import { defineComponent as tt, computed as B, createBlock as oe, openBlock as y, Teleport as n1, createElementVNode as c, createElementBlock as w, createCommentVNode as E, normalizeClass as j, toDisplayString as C, renderSlot as xn, ref as k, watchEffect as ci, Fragment as K, withCtx as q, nextTick as te, readonly as i1, effectScope as rp, markRaw as Yt, toRaw as ze, hasInjectionContext as r1, inject as an, getCurrentInstance as op, watch as Y, unref as g, reactive as o1, isRef as $i, isReactive as fl, toRef as Qo, getCurrentScope as s1, onScopeDispose as l1, toRefs as va, withDirectives as le, renderList as ie, vModelSelect as Se, createTextVNode as Be, withKeys as As, vModelText as Pn, withModifiers as Je, provide as Ut, resolveDynamicComponent as sp, createVNode as F, vShow as Is, onMounted as Ln, cloneVNode as a1, h as Bn, onUnmounted as d1, Transition as Ht, shallowRef as p1, onBeforeUnmount as lp, customRef as c1, onBeforeMount as u1, createStaticVNode as h1, normalizeStyle as f1 } from "vue";
|
|
6
6
|
const b1 = {
|
|
7
7
|
id: "pbx-modal",
|
|
8
8
|
class: "pbx-font-sans"
|
|
@@ -69,7 +69,7 @@ const b1 = {
|
|
|
69
69
|
onClick: r
|
|
70
70
|
}, null, 2),
|
|
71
71
|
c("div", {
|
|
72
|
-
class: j(["pbx-relative pbx-inline-block pbx-bg-white pbx-rounded-
|
|
72
|
+
class: j(["pbx-relative pbx-inline-block pbx-bg-white pbx-rounded-3xl pbx-text-left pbx-shadow-xl pbx-transform pbx-transition-all pbx-max-w-[96vh] lg:pbx-max-h-[98vh] pbx-max-h-[85vh] pbx-overflow-y-auto pbx-w-full", [
|
|
73
73
|
o.value ? o.value : "",
|
|
74
74
|
n.minHeight ? n.minHeight : "",
|
|
75
75
|
n.maxHeight ? n.maxHeight : ""
|
|
@@ -260,7 +260,7 @@ const b1 = {
|
|
|
260
260
|
"sm:pbx-grid-cols-1": n.gridColumnAmount === 1,
|
|
261
261
|
"sm:pbx-grid-cols-2": n.gridColumnAmount === 2,
|
|
262
262
|
"sm:pbx-grid-cols-3": n.gridColumnAmount === 3
|
|
263
|
-
}, "sm:pbx-items-end sm:pbx-justify-end pbx-flex
|
|
263
|
+
}, "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex pbx-flex-row pbx-myPrimaryGap pbx-w-full"])
|
|
264
264
|
}, [
|
|
265
265
|
n.firstButtonText ? (y(), w("button", {
|
|
266
266
|
key: 0,
|
|
@@ -1364,11 +1364,11 @@ const Zn = {
|
|
|
1364
1364
|
]
|
|
1365
1365
|
};
|
|
1366
1366
|
let ur;
|
|
1367
|
-
const
|
|
1368
|
-
function
|
|
1367
|
+
const P1 = new Uint8Array(16);
|
|
1368
|
+
function L1() {
|
|
1369
1369
|
if (!ur && (ur = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ur))
|
|
1370
1370
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1371
|
-
return ur(
|
|
1371
|
+
return ur(P1);
|
|
1372
1372
|
}
|
|
1373
1373
|
const $e = [];
|
|
1374
1374
|
for (let n = 0; n < 256; ++n)
|
|
@@ -1383,7 +1383,7 @@ function Ca(n, e, t) {
|
|
|
1383
1383
|
if (wa.randomUUID && !n)
|
|
1384
1384
|
return wa.randomUUID();
|
|
1385
1385
|
n = n || {};
|
|
1386
|
-
const i = n.random || (n.rng ||
|
|
1386
|
+
const i = n.random || (n.rng || L1)();
|
|
1387
1387
|
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, B1(i);
|
|
1388
1388
|
}
|
|
1389
1389
|
const ve = function(e = 200) {
|
|
@@ -1976,7 +1976,7 @@ class D1 {
|
|
|
1976
1976
|
const t = e.children[0];
|
|
1977
1977
|
Array.from(e.classList).some(
|
|
1978
1978
|
(r) => this.fontSizeRegex.test(r)
|
|
1979
|
-
) || (t.tagName === "H2" && e.classList.add("pbx-text-2xl", "lg:pbx-text-4xl", "pbx-font-medium"), t.tagName === "H3" && e.classList.add("pbx-text-1xl", "lg:pbx-text-3xl", "pbx-font-medium"));
|
|
1979
|
+
) || (t.tagName === "H2" && e.classList.add("pbx-text-2xl", "lg:pbx-text-4xl", "pbx-font-medium"), t.tagName === "H3" && e.classList.add("pbx-text-1xl", "lg:pbx-text-3xl", "pbx-font-medium"), t.tagName === "H4" && e.classList.add("pbx-text-1xl", "lg:pbx-text-2xl", "pbx-font-medium"), t.tagName === "H5" && e.classList.add("pbx-text-base", "lg:pbx-text-xl", "pbx-font-medium"), t.tagName === "H6" && e.classList.add("pbx-text-base", "lg:pbx-text-base", "pbx-font-medium"));
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
1982
|
/**
|
|
@@ -3212,7 +3212,7 @@ function Me() {
|
|
|
3212
3212
|
);
|
|
3213
3213
|
return Nr;
|
|
3214
3214
|
}
|
|
3215
|
-
const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up = "نشر", hp = "إغلاق", fp = "مكون", bp = "أنماط", mp = "الطباعة", xp = "اختر", gp = "الحشو", yp = "الهامش", vp = "عام", Sp = "محدد", wp = "الحدود", Cp = "شفاف", kp = "إضافة", Tp = "الخاصية", Mp = "القيمة", Ep = "التحرير",
|
|
3215
|
+
const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up = "نشر", hp = "إغلاق", fp = "مكون", bp = "أنماط", mp = "الطباعة", xp = "اختر", gp = "الحشو", yp = "الهامش", vp = "عام", Sp = "محدد", wp = "الحدود", Cp = "شفاف", kp = "إضافة", Tp = "الخاصية", Mp = "القيمة", Ep = "التحرير", Pp = "حذف", Lp = "معاينة", Bp = "الجوال", Ap = "غامق", Ip = "قائمة", Dp = "بحث", $p = "أفقي", Op = "عمودي", _p = "مربع", Np = "الصور", Hp = "السابق", Rp = "التالي", zp = "معلومات", Fp = "نص", Vp = "رابط", jp = "الأنواع", qp = "السمات", Wp = "التسويق", Up = "المنتجات", Gp = "المكونات", Kp = "مقالة", Jp = "مصفوفة", Yp = "المحتوى", Qp = "عنصر", Xp = "مكون", Zp = "الكل", ec = "صورة", O1 = {
|
|
3216
3216
|
"Reset Page": "إعادة تعيين الصفحة",
|
|
3217
3217
|
"Global Page Styles": "أنماط الصفحة العامة",
|
|
3218
3218
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "جرب منشئ الصفحات القوي بالنقر والإفلات - مصمم للمطورين والمبدعين الذين يريدون التحكم الكامل دون عناء. خصص التخطيطات والخطوط والألوان. حرر المحتوى بصريًا في الوقت الفعلي. أضف الوسائط، أو قم بتضمين مقاطع فيديو يوتيوب، أو صدر كل شيء كـ HTML نظيف. مع التحرير المتجاوب، والحفظ التلقائي المحلي، ودعم Tailwind، وتكامل Unsplash، إنه كل ما تحتاجه - مدمج في منشئ سلس واحد. ابنِ صفحات مذهلة في دقائق.",
|
|
@@ -3292,9 +3292,9 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3292
3292
|
"Default black": "أسود افتراضي",
|
|
3293
3293
|
"Remove Component?": "إزالة المكون؟",
|
|
3294
3294
|
"Are you sure you want to remove this Component?": "هل أنت متأكد من أنك تريد إزالة هذا المكون؟",
|
|
3295
|
-
Delete:
|
|
3295
|
+
Delete: Pp,
|
|
3296
3296
|
"Add to the bottom": "إضافة إلى الأسفل",
|
|
3297
|
-
Preview:
|
|
3297
|
+
Preview: Lp,
|
|
3298
3298
|
Mobile: Bp,
|
|
3299
3299
|
"Demo Content": "محتوى تجريبي",
|
|
3300
3300
|
"Demo Description": "تعرف على منشئ الصفحات الخفيف والمجاني بالنقر والإفلات لـ Vue. أنشئ وطوّر التجارب الرقمية بسهولة باستخدام Vue. ليس كل شيء قوي يجب أن يكون معقدًا. يوفر هذا المنشئ البسيط والخفيف واجهة أنيقة وبديهية تركز على البساطة والسرعة. ابنِ صفحات متجاوبة بالكامل مثل القوائم أو لوحات الوظائف أو منشورات المدونات، وأدر محتواك بسهولة باستخدام منشئ الصفحات المجاني بالنقر والإفلات.",
|
|
@@ -3420,7 +3420,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3420
3420
|
Component: Xp,
|
|
3421
3421
|
Components: Gp,
|
|
3422
3422
|
Content: Yp,
|
|
3423
|
-
Delete:
|
|
3423
|
+
Delete: Pp,
|
|
3424
3424
|
Editing: Ep,
|
|
3425
3425
|
Element: Qp,
|
|
3426
3426
|
Global: vp,
|
|
@@ -3438,7 +3438,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3438
3438
|
Padding: gp,
|
|
3439
3439
|
Portrait: Op,
|
|
3440
3440
|
Prev: Hp,
|
|
3441
|
-
Preview:
|
|
3441
|
+
Preview: Lp,
|
|
3442
3442
|
Products: Up,
|
|
3443
3443
|
Publish: up,
|
|
3444
3444
|
Save: dp,
|
|
@@ -3458,7 +3458,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3458
3458
|
default: O1,
|
|
3459
3459
|
property: Tp,
|
|
3460
3460
|
value: Mp
|
|
3461
|
-
}, Symbol.toStringTag, { value: "Module" })), tc = "Speichern", nc = "Optionen", ic = "Avatar", rc = "Veröffentlichen", oc = "Komponente", sc = "Stile", lc = "Typografie", ac = "Auswählen", dc = "Innenabstand", pc = "Außenabstand", cc = "Global", uc = "Spezifisch", hc = "Rand", fc = "Transparent", bc = "Hinzufügen", mc = "Eigenschaft", xc = "Wert", gc = "Schließen", yc = "Bearbeitung", vc = "Löschen", Sc = "Vorschau", wc = "Mobil", Cc = "Fett", kc = "Liste", Tc = "Suche", Mc = "Querformat", Ec = "Hochformat",
|
|
3461
|
+
}, Symbol.toStringTag, { value: "Module" })), tc = "Speichern", nc = "Optionen", ic = "Avatar", rc = "Veröffentlichen", oc = "Komponente", sc = "Stile", lc = "Typografie", ac = "Auswählen", dc = "Innenabstand", pc = "Außenabstand", cc = "Global", uc = "Spezifisch", hc = "Rand", fc = "Transparent", bc = "Hinzufügen", mc = "Eigenschaft", xc = "Wert", gc = "Schließen", yc = "Bearbeitung", vc = "Löschen", Sc = "Vorschau", wc = "Mobil", Cc = "Fett", kc = "Liste", Tc = "Suche", Mc = "Querformat", Ec = "Hochformat", Pc = "Quadratisch", Lc = "Bilder", Bc = "Zurück", Ac = "Weiter", Ic = "Informationen", Dc = "Text", $c = "Link", Oc = "Typen", _c = "Themen", Nc = "Marketing", Hc = "Produkte", Rc = "Komponenten", zc = "Artikel", Fc = "Array", Vc = "Inhalt", jc = "Element", qc = "Komponente", Wc = "Alle", Uc = "Bild", N1 = {
|
|
3462
3462
|
"Reset Page": "Seite zurücksetzen",
|
|
3463
3463
|
"Global Page Styles": "Globale Seitenstile",
|
|
3464
3464
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "Probieren Sie den leistungsstarken Click & Drop Page Builder aus – entwickelt für Entwickler und Kreative, die volle Kontrolle ohne Aufwand wünschen. Passen Sie Layouts, Schriftarten und Farben an. Bearbeiten Sie Inhalte visuell in Echtzeit. Fügen Sie Medien hinzu, betten Sie YouTube-Videos ein oder exportieren Sie alles als sauberes HTML. Mit responsiver Bearbeitung, lokalem automatischen Speichern, Tailwind-Unterstützung und Unsplash-Integration ist es alles, was Sie brauchen – verpackt in einem nahtlosen Builder. Erstellen Sie beeindruckende Seiten in Minuten.",
|
|
@@ -3568,9 +3568,9 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3568
3568
|
"Search...": "Suchen...",
|
|
3569
3569
|
Landscape: Mc,
|
|
3570
3570
|
Portrait: Ec,
|
|
3571
|
-
Squarish:
|
|
3571
|
+
Squarish: Pc,
|
|
3572
3572
|
"Total pages": "Gesamtseiten",
|
|
3573
|
-
Images:
|
|
3573
|
+
Images: Lc,
|
|
3574
3574
|
"First page": "Erste Seite",
|
|
3575
3575
|
Prev: Bc,
|
|
3576
3576
|
Next: Ac,
|
|
@@ -3671,7 +3671,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3671
3671
|
Element: jc,
|
|
3672
3672
|
Global: cc,
|
|
3673
3673
|
Image: Uc,
|
|
3674
|
-
Images:
|
|
3674
|
+
Images: Lc,
|
|
3675
3675
|
Information: Ic,
|
|
3676
3676
|
Landscape: Mc,
|
|
3677
3677
|
Link: $c,
|
|
@@ -3691,7 +3691,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3691
3691
|
Search: Tc,
|
|
3692
3692
|
Select: ac,
|
|
3693
3693
|
Specific: uc,
|
|
3694
|
-
Squarish:
|
|
3694
|
+
Squarish: Pc,
|
|
3695
3695
|
Styles: sc,
|
|
3696
3696
|
Text: Dc,
|
|
3697
3697
|
Themes: _c,
|
|
@@ -3704,7 +3704,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3704
3704
|
default: N1,
|
|
3705
3705
|
property: mc,
|
|
3706
3706
|
value: xc
|
|
3707
|
-
}, Symbol.toStringTag, { value: "Module" })), Gc = "Save", Kc = "Options", Jc = "Avatar", Yc = "Publish", Qc = "Component", Xc = "Styles", Zc = "Typography", eu = "Select", tu = "Padding", nu = "Margin", iu = "Global", ru = "Specific", ou = "Border", su = "Transparent", lu = "Add", au = "Property", du = "Value", pu = "Close", cu = "Editing", uu = "Delete", hu = "Preview", fu = "Mobile", bu = "Bold", mu = "Link", xu = "List", gu = "Search", yu = "Landscape", vu = "Portrait", Su = "Square", wu = "Images", Cu = "Previous", ku = "Next", Tu = "Information", Mu = "Text", Eu = "Types",
|
|
3707
|
+
}, Symbol.toStringTag, { value: "Module" })), Gc = "Save", Kc = "Options", Jc = "Avatar", Yc = "Publish", Qc = "Component", Xc = "Styles", Zc = "Typography", eu = "Select", tu = "Padding", nu = "Margin", iu = "Global", ru = "Specific", ou = "Border", su = "Transparent", lu = "Add", au = "Property", du = "Value", pu = "Close", cu = "Editing", uu = "Delete", hu = "Preview", fu = "Mobile", bu = "Bold", mu = "Link", xu = "List", gu = "Search", yu = "Landscape", vu = "Portrait", Su = "Square", wu = "Images", Cu = "Previous", ku = "Next", Tu = "Information", Mu = "Text", Eu = "Types", Pu = "Themes", Lu = "Marketing", Bu = "Products", Au = "Components", Iu = "Article", Du = "Array", $u = "Content", Ou = "Element", _u = "Component", Nu = "All", Hu = "Image", R1 = {
|
|
3708
3708
|
"Reset Page": "Reset Page",
|
|
3709
3709
|
"Global Page Styles": "Global Page Styles",
|
|
3710
3710
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and Unsplash integration, it's everything you need—wrapped in one seamless builder. Build stunning pages in minutes.",
|
|
@@ -3848,8 +3848,8 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3848
3848
|
"Element type:": "Element Type:",
|
|
3849
3849
|
"Component type:": "Component Type:",
|
|
3850
3850
|
"Components:": "Components:",
|
|
3851
|
-
Themes:
|
|
3852
|
-
Marketing:
|
|
3851
|
+
Themes: Pu,
|
|
3852
|
+
Marketing: Lu,
|
|
3853
3853
|
Products: Bu,
|
|
3854
3854
|
"Call To Action": "Call to Action",
|
|
3855
3855
|
Components: Au,
|
|
@@ -3923,7 +3923,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3923
3923
|
Link: mu,
|
|
3924
3924
|
List: xu,
|
|
3925
3925
|
Margin: nu,
|
|
3926
|
-
Marketing:
|
|
3926
|
+
Marketing: Lu,
|
|
3927
3927
|
Mobile: fu,
|
|
3928
3928
|
Next: ku,
|
|
3929
3929
|
Options: Kc,
|
|
@@ -3940,7 +3940,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3940
3940
|
Squarish: Su,
|
|
3941
3941
|
Styles: Xc,
|
|
3942
3942
|
Text: Mu,
|
|
3943
|
-
Themes:
|
|
3943
|
+
Themes: Pu,
|
|
3944
3944
|
Transparent: su,
|
|
3945
3945
|
Types: Eu,
|
|
3946
3946
|
Typographies: Zc,
|
|
@@ -3950,7 +3950,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
3950
3950
|
default: R1,
|
|
3951
3951
|
property: au,
|
|
3952
3952
|
value: du
|
|
3953
|
-
}, Symbol.toStringTag, { value: "Module" })), Ru = "Guardar", zu = "Opciones", Fu = "Avatar", Vu = "Publicar", ju = "Cerrar", qu = "Componente", Wu = "Estilos", Uu = "Tipografía", Gu = "Seleccionar", Ku = "Relleno", Ju = "Margen", Yu = "Global", Qu = "Específico", Xu = "Borde", Zu = "Transparente", eh = "Agregar", th = "Propiedad", nh = "Valor", ih = "Editando", rh = "Eliminar", oh = "Vista previa", sh = "Móvil", lh = "Negrita", ah = "Lista", dh = "Buscar", ph = "Horizontal", ch = "Vertical", uh = "Cuadrado", hh = "Imágenes", fh = "Anterior", bh = "Siguiente", mh = "Información", xh = "Texto", gh = "Enlace", yh = "Tipos", vh = "Artículo", Sh = "Temas", wh = "Marketing", Ch = "Productos", kh = "Componentes", Th = "Matriz", Mh = "Contenido", Eh = "Elemento",
|
|
3953
|
+
}, Symbol.toStringTag, { value: "Module" })), Ru = "Guardar", zu = "Opciones", Fu = "Avatar", Vu = "Publicar", ju = "Cerrar", qu = "Componente", Wu = "Estilos", Uu = "Tipografía", Gu = "Seleccionar", Ku = "Relleno", Ju = "Margen", Yu = "Global", Qu = "Específico", Xu = "Borde", Zu = "Transparente", eh = "Agregar", th = "Propiedad", nh = "Valor", ih = "Editando", rh = "Eliminar", oh = "Vista previa", sh = "Móvil", lh = "Negrita", ah = "Lista", dh = "Buscar", ph = "Horizontal", ch = "Vertical", uh = "Cuadrado", hh = "Imágenes", fh = "Anterior", bh = "Siguiente", mh = "Información", xh = "Texto", gh = "Enlace", yh = "Tipos", vh = "Artículo", Sh = "Temas", wh = "Marketing", Ch = "Productos", kh = "Componentes", Th = "Matriz", Mh = "Contenido", Eh = "Elemento", Ph = "Componente", Lh = "Todos", Bh = "Imagen", F1 = {
|
|
3954
3954
|
"Reset Page": "Restablecer página",
|
|
3955
3955
|
"Global Page Styles": "Estilos de página globales",
|
|
3956
3956
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "Prueba el potente Click & Drop Page Builder, diseñado para desarrolladores y creadores que desean control total sin complicaciones. Personaliza diseños, fuentes y colores. Edita contenido visualmente en tiempo real. Agrega medios, incrusta videos de YouTube o exporta todo como HTML limpio. Con edición responsiva, guardado automático local, soporte para Tailwind e integración con Unsplash, es todo lo que necesitas, integrado en un constructor fluido. Crea páginas impresionantes en minutos.",
|
|
@@ -4120,7 +4120,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4120
4120
|
array: Th,
|
|
4121
4121
|
Content: Mh,
|
|
4122
4122
|
Element: Eh,
|
|
4123
|
-
Component:
|
|
4123
|
+
Component: Ph,
|
|
4124
4124
|
"Components added": "Componentes añadidos",
|
|
4125
4125
|
"No Element selected": "Ningún elemento seleccionado",
|
|
4126
4126
|
"Selected HTML:": "HTML seleccionado:",
|
|
@@ -4131,7 +4131,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4131
4131
|
"Title:": "Título:",
|
|
4132
4132
|
"HTML Code:": "Código HTML:",
|
|
4133
4133
|
"No Components added yet": "Aún no se han añadido componentes",
|
|
4134
|
-
All:
|
|
4134
|
+
All: Lh,
|
|
4135
4135
|
Image: Bh,
|
|
4136
4136
|
"Image & Text": "Imagen y texto",
|
|
4137
4137
|
"Images & Text": "Imágenes y texto",
|
|
@@ -4150,12 +4150,12 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4150
4150
|
}, V1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4151
4151
|
__proto__: null,
|
|
4152
4152
|
Add: eh,
|
|
4153
|
-
All:
|
|
4153
|
+
All: Lh,
|
|
4154
4154
|
Article: vh,
|
|
4155
4155
|
Bold: lh,
|
|
4156
4156
|
Border: Xu,
|
|
4157
4157
|
Close: ju,
|
|
4158
|
-
Component:
|
|
4158
|
+
Component: Ph,
|
|
4159
4159
|
Components: kh,
|
|
4160
4160
|
Content: Mh,
|
|
4161
4161
|
Delete: rh,
|
|
@@ -4442,7 +4442,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4442
4442
|
default: j1,
|
|
4443
4443
|
property: Gh,
|
|
4444
4444
|
value: Kh
|
|
4445
|
-
}, Symbol.toStringTag, { value: "Module" })), kf = "सहेजें", Tf = "विकल्प", Mf = "अवतार", Ef = "प्रकाशित करें",
|
|
4445
|
+
}, Symbol.toStringTag, { value: "Module" })), kf = "सहेजें", Tf = "विकल्प", Mf = "अवतार", Ef = "प्रकाशित करें", Pf = "बंद करें", Lf = "घटक", Bf = "शैलियाँ", Af = "टाइपोग्राफ़ी", If = "चुनें", Df = "पैडिंग", $f = "मार्जिन", Of = "वैश्विक", _f = "विशिष्ट", Nf = "बॉर्डर", Hf = "पारदर्शी", Rf = "जोड़ें", zf = "गुण", Ff = "मूल्य", Vf = "संपादन", jf = "हटाएँ", qf = "पूर्वावलोकन", Wf = "मोबाइल", Uf = "बोल्ड", Gf = "सूची", Kf = "खोजें", Jf = "लैंडस्केप", Yf = "पोर्ट्रेट", Qf = "चौकोर", Xf = "छवियाँ", Zf = "पिछला", eb = "अगला", tb = "जानकारी", nb = "पाठ", ib = "लिंक", rb = "प्रकार", ob = "थीम्स", sb = "मार्केटिंग", lb = "उत्पाद", ab = "घटक", db = "लेख", pb = "सरणी", cb = "सामग्री", ub = "तत्व", hb = "घटक", fb = "सभी", bb = "छवि", W1 = {
|
|
4446
4446
|
"Reset Page": "पृष्ठ रीसेट करें",
|
|
4447
4447
|
"Global Page Styles": "वैश्विक पृष्ठ शैलियाँ",
|
|
4448
4448
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "शक्तिशाली Click & Drop Page Builder आज़माएँ—डेवलपर्स और क्रिएटर्स के लिए डिज़ाइन किया गया जो बिना किसी परेशानी के पूर्ण नियंत्रण चाहते हैं। लेआउट, फ़ॉन्ट और रंगों को अनुकूलित करें। सामग्री को वास्तविक समय में दृश्यात्मक रूप से संपादित करें। मीडिया जोड़ें, YouTube वीडियो एम्बेड करें, या सब कुछ स्वच्छ HTML के रूप में निर्यात करें। उत्तरदायी संपादन, स्थानीय ऑटो-सेव, Tailwind समर्थन और Unsplash एकीकरण के साथ, यह वह सब कुछ है जो आपको चाहिए—एक सहज बिल्डर में समाहित। मिनटों में शानदार पृष्ठ बनाएँ।",
|
|
@@ -4460,10 +4460,10 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4460
4460
|
avatar: Mf,
|
|
4461
4461
|
Publish: Ef,
|
|
4462
4462
|
"Add Components to Page": "पृष्ठ में घटक जोड़ें",
|
|
4463
|
-
Close:
|
|
4463
|
+
Close: Pf,
|
|
4464
4464
|
"Helper Components": "सहायक घटक",
|
|
4465
4465
|
"Click to add": "जोड़ने के लिए क्लिक करें",
|
|
4466
|
-
component:
|
|
4466
|
+
component: Lf,
|
|
4467
4467
|
"Layout Components": "लेआउट घटक",
|
|
4468
4468
|
"Click to add component": "घटक जोड़ने के लिए क्लिक करें",
|
|
4469
4469
|
"Remove all Components": "सभी घटकों को हटाएँ",
|
|
@@ -4646,7 +4646,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4646
4646
|
Article: db,
|
|
4647
4647
|
Bold: Uf,
|
|
4648
4648
|
Border: Nf,
|
|
4649
|
-
Close:
|
|
4649
|
+
Close: Pf,
|
|
4650
4650
|
Component: hb,
|
|
4651
4651
|
Components: ab,
|
|
4652
4652
|
Content: cb,
|
|
@@ -4684,11 +4684,11 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4684
4684
|
Typographies: Af,
|
|
4685
4685
|
array: pb,
|
|
4686
4686
|
avatar: Mf,
|
|
4687
|
-
component:
|
|
4687
|
+
component: Lf,
|
|
4688
4688
|
default: W1,
|
|
4689
4689
|
property: zf,
|
|
4690
4690
|
value: Ff
|
|
4691
|
-
}, Symbol.toStringTag, { value: "Module" })), mb = "保存", xb = "オプション", gb = "アバター", yb = "公開", vb = "閉じる", Sb = "コンポーネント", wb = "スタイル", Cb = "タイポグラフィ", kb = "選択", Tb = "パディング", Mb = "マージン", Eb = "グローバル",
|
|
4691
|
+
}, Symbol.toStringTag, { value: "Module" })), mb = "保存", xb = "オプション", gb = "アバター", yb = "公開", vb = "閉じる", Sb = "コンポーネント", wb = "スタイル", Cb = "タイポグラフィ", kb = "選択", Tb = "パディング", Mb = "マージン", Eb = "グローバル", Pb = "特定", Lb = "ボーダー", Bb = "透明", Ab = "追加", Ib = "プロパティ", Db = "値", $b = "編集中", Ob = "削除", _b = "プレビュー", Nb = "モバイル", Hb = "太字", Rb = "リンク", zb = "リスト", Fb = "検索", Vb = "横", jb = "縦", qb = "正方形", Wb = "画像", Ub = "前", Gb = "次", Kb = "情報", Jb = "テキスト", Yb = "タイプ", Qb = "テーマ", Xb = "マーケティング", Zb = "製品", em = "コンポーネント", tm = "記事", nm = "配列", im = "コンテンツ", rm = "要素", om = "コンポーネント", sm = "すべて", lm = "画像", G1 = {
|
|
4692
4692
|
"Reset Page": "ページをリセット",
|
|
4693
4693
|
"Global Page Styles": "グローバルページスタイル",
|
|
4694
4694
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "強力なClick & Drop Page Builderを試してみてください。開発者やクリエイター向けに設計されており、手間なく完全なコントロールを実現します。レイアウト、フォント、色をカスタマイズ。リアルタイムで視覚的にコンテンツを編集。メディアを追加、YouTube動画を埋め込み、すべてをクリーンなHTMLとしてエクスポート。レスポンシブ編集、ローカル自動保存、Tailwindサポート、Unsplash統合を備え、必要なすべてが1つのシームレスなビルダーにまとまっています。数分で魅力的なページを作成。",
|
|
@@ -4739,13 +4739,13 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4739
4739
|
"Horizontal Margin": "水平マージン",
|
|
4740
4740
|
"Border Radius": "ボーダー半径",
|
|
4741
4741
|
Global: Eb,
|
|
4742
|
-
Specific:
|
|
4742
|
+
Specific: Pb,
|
|
4743
4743
|
"Border Radius top left": "ボーダー半径 左上",
|
|
4744
4744
|
"Border Radius top right": "ボーダー半径 右上",
|
|
4745
4745
|
"Border Radius bottom left": "ボーダー半径 左下",
|
|
4746
4746
|
"Border Radius bottom right": "ボーダー半径 右下",
|
|
4747
4747
|
"Border Style, Width & Color": "ボーダーのスタイル、幅、色",
|
|
4748
|
-
Border:
|
|
4748
|
+
Border: Lb,
|
|
4749
4749
|
"Border Style": "ボーダースタイル",
|
|
4750
4750
|
"Border Width": "ボーダー幅",
|
|
4751
4751
|
"Border Color": "ボーダーの色",
|
|
@@ -4891,7 +4891,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4891
4891
|
All: sm,
|
|
4892
4892
|
Article: tm,
|
|
4893
4893
|
Bold: Hb,
|
|
4894
|
-
Border:
|
|
4894
|
+
Border: Lb,
|
|
4895
4895
|
Close: vb,
|
|
4896
4896
|
Component: om,
|
|
4897
4897
|
Components: em,
|
|
@@ -4920,7 +4920,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4920
4920
|
Save: mb,
|
|
4921
4921
|
Search: Fb,
|
|
4922
4922
|
Select: kb,
|
|
4923
|
-
Specific:
|
|
4923
|
+
Specific: Pb,
|
|
4924
4924
|
Squarish: qb,
|
|
4925
4925
|
Styles: wb,
|
|
4926
4926
|
Text: Jb,
|
|
@@ -4934,7 +4934,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
4934
4934
|
default: G1,
|
|
4935
4935
|
property: Ib,
|
|
4936
4936
|
value: Db
|
|
4937
|
-
}, Symbol.toStringTag, { value: "Module" })), am = "Salvar", dm = "Opções", pm = "Avatar", cm = "Publicar", um = "Fechar", hm = "Componente", fm = "Estilos", bm = "Tipografia", mm = "Selecionar", xm = "Preenchimento", gm = "Margem", ym = "Global", vm = "Específico", Sm = "Borda", wm = "Transparente", Cm = "Adicionar", km = "Propriedade", Tm = "Valor", Mm = "Editando", Em = "Excluir",
|
|
4937
|
+
}, Symbol.toStringTag, { value: "Module" })), am = "Salvar", dm = "Opções", pm = "Avatar", cm = "Publicar", um = "Fechar", hm = "Componente", fm = "Estilos", bm = "Tipografia", mm = "Selecionar", xm = "Preenchimento", gm = "Margem", ym = "Global", vm = "Específico", Sm = "Borda", wm = "Transparente", Cm = "Adicionar", km = "Propriedade", Tm = "Valor", Mm = "Editando", Em = "Excluir", Pm = "Pré-visualização", Lm = "Celular", Bm = "Negrito", Am = "Lista", Im = "Pesquisar", Dm = "Paisagem", $m = "Retrato", Om = "Quadrado", _m = "Imagens", Nm = "Anterior", Hm = "Próximo", Rm = "Informação", zm = "Texto", Fm = "Link", Vm = "Tipos", jm = "Temas", qm = "Marketing", Wm = "Produtos", Um = "Componentes", Gm = "Artigo", Km = "Array", Jm = "Conteúdo", Ym = "Elemento", Qm = "Componente", Xm = "Todos", Zm = "Imagem", J1 = {
|
|
4938
4938
|
"Reset Page": "Redefinir página",
|
|
4939
4939
|
"Global Page Styles": "Estilos globais de página",
|
|
4940
4940
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "Experimente o poderoso Click & Drop Page Builder – projetado para desenvolvedores e criadores que desejam controle total sem complicações. Personalize layouts, fontes e cores. Edite conteúdo visualmente em tempo real. Adicione mídia, incorpore vídeos do YouTube ou exporte tudo como HTML limpo. Com edição responsiva, salvamento automático local, suporte ao Tailwind e integração com o Unsplash, é tudo o que você precisa – integrado em um construtor fluido. Crie páginas impressionantes em minutos.",
|
|
@@ -5016,8 +5016,8 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5016
5016
|
"Are you sure you want to remove this Component?": "Tem certeza de que deseja remover este componente?",
|
|
5017
5017
|
Delete: Em,
|
|
5018
5018
|
"Add to the bottom": "Adicionar ao final",
|
|
5019
|
-
Preview:
|
|
5020
|
-
Mobile:
|
|
5019
|
+
Preview: Pm,
|
|
5020
|
+
Mobile: Lm,
|
|
5021
5021
|
"Demo Content": "Conteúdo de demonstração",
|
|
5022
5022
|
"Demo Description": "Descubra o construtor de páginas leve e gratuito Vue Click & Drop. Crie e aprimore experiências digitais sem esforço com Vue. Nem tudo que é poderoso precisa ser complexo. Este construtor de páginas minimalista e leve oferece uma interface elegante e intuitiva, focada em simplicidade e velocidade. Crie páginas totalmente responsivas, como listas, vagas de emprego ou postagens de blog, e gerencie seu conteúdo facilmente com o construtor gratuito de arrastar e soltar.",
|
|
5023
5023
|
"Demo Description Two": "Um construtor de páginas projetado para o crescimento. Crie páginas do seu site com componentes prontos, totalmente personalizáveis e sempre responsivos, projetados para atender a todas as necessidades. Um poderoso construtor de páginas para comerciantes, marcas e agências em crescimento.",
|
|
@@ -5154,13 +5154,13 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5154
5154
|
List: Am,
|
|
5155
5155
|
Margin: gm,
|
|
5156
5156
|
Marketing: qm,
|
|
5157
|
-
Mobile:
|
|
5157
|
+
Mobile: Lm,
|
|
5158
5158
|
Next: Hm,
|
|
5159
5159
|
Options: dm,
|
|
5160
5160
|
Padding: xm,
|
|
5161
5161
|
Portrait: $m,
|
|
5162
5162
|
Prev: Nm,
|
|
5163
|
-
Preview:
|
|
5163
|
+
Preview: Pm,
|
|
5164
5164
|
Products: Wm,
|
|
5165
5165
|
Publish: cm,
|
|
5166
5166
|
Save: am,
|
|
@@ -5180,7 +5180,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5180
5180
|
default: J1,
|
|
5181
5181
|
property: km,
|
|
5182
5182
|
value: Tm
|
|
5183
|
-
}, Symbol.toStringTag, { value: "Module" })), ex = "Сохранить", tx = "Настройки", nx = "Аватар", ix = "Опубликовать", rx = "Закрыть", ox = "Компонент", sx = "Стили", lx = "Типографика", ax = "Выбрать", dx = "Внутренний отступ", px = "Внешний отступ", cx = "Глобальный", ux = "Конкретный", hx = "Граница", fx = "Прозрачный", bx = "Добавить", mx = "Свойство", xx = "Значение", gx = "Редактирование", yx = "Удалить", vx = "Предпросмотр", Sx = "Мобильный", wx = "Жирный", Cx = "Список", kx = "Поиск", Tx = "Альбомный", Mx = "Портретный", Ex = "Квадратный",
|
|
5183
|
+
}, Symbol.toStringTag, { value: "Module" })), ex = "Сохранить", tx = "Настройки", nx = "Аватар", ix = "Опубликовать", rx = "Закрыть", ox = "Компонент", sx = "Стили", lx = "Типографика", ax = "Выбрать", dx = "Внутренний отступ", px = "Внешний отступ", cx = "Глобальный", ux = "Конкретный", hx = "Граница", fx = "Прозрачный", bx = "Добавить", mx = "Свойство", xx = "Значение", gx = "Редактирование", yx = "Удалить", vx = "Предпросмотр", Sx = "Мобильный", wx = "Жирный", Cx = "Список", kx = "Поиск", Tx = "Альбомный", Mx = "Портретный", Ex = "Квадратный", Px = "Изображения", Lx = "Назад", Bx = "Вперёд", Ax = "Информация", Ix = "Текст", Dx = "Ссылка", $x = "Типы", Ox = "Темы", _x = "Маркетинг", Nx = "Продукты", Hx = "Компоненты", Rx = "Статья", zx = "Массив", Fx = "Контент", Vx = "Элемент", jx = "Компонент", qx = "Все", Wx = "Изображение", Q1 = {
|
|
5184
5184
|
"Reset Page": "Сбросить страницу",
|
|
5185
5185
|
"Global Page Styles": "Глобальные стили страницы",
|
|
5186
5186
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "Попробуйте мощный конструктор страниц Click & Drop — создан для разработчиков и дизайнеров, желающих полного контроля без лишних сложностей. Настраивайте макеты, шрифты и цвета. Редактируйте контент визуально в реальном времени. Добавляйте медиа, встраивайте видео с YouTube или экспортируйте всё в чистый HTML. Благодаря адаптивному редактированию, локальному автосохранению, поддержке Tailwind и интеграции с Unsplash, это всё, что вам нужно — в одном удобном конструкторе. Создавайте потрясающие страницы за минуты.",
|
|
@@ -5292,9 +5292,9 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5292
5292
|
Portrait: Mx,
|
|
5293
5293
|
Squarish: Ex,
|
|
5294
5294
|
"Total pages": "Всего страниц",
|
|
5295
|
-
Images:
|
|
5295
|
+
Images: Px,
|
|
5296
5296
|
"First page": "Первая страница",
|
|
5297
|
-
Prev:
|
|
5297
|
+
Prev: Lx,
|
|
5298
5298
|
Next: Bx,
|
|
5299
5299
|
"By:": "От:",
|
|
5300
5300
|
"We did not find any images. Make a new search.": "Изображения не найдены. Выполните новый поиск.",
|
|
@@ -5393,7 +5393,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5393
5393
|
Element: Vx,
|
|
5394
5394
|
Global: cx,
|
|
5395
5395
|
Image: Wx,
|
|
5396
|
-
Images:
|
|
5396
|
+
Images: Px,
|
|
5397
5397
|
Information: Ax,
|
|
5398
5398
|
Landscape: Tx,
|
|
5399
5399
|
Link: Dx,
|
|
@@ -5405,7 +5405,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5405
5405
|
Options: tx,
|
|
5406
5406
|
Padding: dx,
|
|
5407
5407
|
Portrait: Mx,
|
|
5408
|
-
Prev:
|
|
5408
|
+
Prev: Lx,
|
|
5409
5409
|
Preview: vx,
|
|
5410
5410
|
Products: Nx,
|
|
5411
5411
|
Publish: ix,
|
|
@@ -5426,7 +5426,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5426
5426
|
default: Q1,
|
|
5427
5427
|
property: mx,
|
|
5428
5428
|
value: xx
|
|
5429
|
-
}, Symbol.toStringTag, { value: "Module" })), Ux = "保存", Gx = "选项", Kx = "头像", Jx = "发布", Yx = "组件", Qx = "样式", Xx = "排版", Zx = "选择", eg = "内边距", tg = "外边距", ng = "全局", ig = "具体", rg = "边框", og = "透明", sg = "添加", lg = "属性", ag = "值", dg = "关闭", pg = "编辑中", cg = "删除", ug = "预览", hg = "移动端", fg = "加粗", bg = "列表", mg = "搜索", xg = "横向", gg = "纵向", yg = "近似方形", vg = "图片", Sg = "上一页", wg = "下一页", Cg = "信息", kg = "文本", Tg = "链接", Mg = "类型", Eg = "主题",
|
|
5429
|
+
}, Symbol.toStringTag, { value: "Module" })), Ux = "保存", Gx = "选项", Kx = "头像", Jx = "发布", Yx = "组件", Qx = "样式", Xx = "排版", Zx = "选择", eg = "内边距", tg = "外边距", ng = "全局", ig = "具体", rg = "边框", og = "透明", sg = "添加", lg = "属性", ag = "值", dg = "关闭", pg = "编辑中", cg = "删除", ug = "预览", hg = "移动端", fg = "加粗", bg = "列表", mg = "搜索", xg = "横向", gg = "纵向", yg = "近似方形", vg = "图片", Sg = "上一页", wg = "下一页", Cg = "信息", kg = "文本", Tg = "链接", Mg = "类型", Eg = "主题", Pg = "营销", Lg = "产品", Bg = "组件", Ag = "文章", Ig = "数组", Dg = "内容", $g = "元素", Og = "组件", _g = "全部", Ng = "图片", Z1 = {
|
|
5430
5430
|
"Reset Page": "重置页面",
|
|
5431
5431
|
"Global Page Styles": "全局页面样式",
|
|
5432
5432
|
"Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "试试强大的Click & Drop页面构建器——专为希望完全控制且无需繁琐操作的开发者和创作者设计。自定义布局、字体和颜色。实时可视化编辑内容。添加媒体、嵌入YouTube视频,或将所有内容导出为干净的HTML。凭借响应式编辑、本地自动保存、Tailwind支持以及Unsplash集成,它包含您所需的一切——集成在一个无缝的构建器中。几分钟内打造令人惊叹的页面。",
|
|
@@ -5586,8 +5586,8 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5586
5586
|
"Component type:": "组件类型:",
|
|
5587
5587
|
"Components:": "组件:",
|
|
5588
5588
|
Themes: Eg,
|
|
5589
|
-
Marketing:
|
|
5590
|
-
Products:
|
|
5589
|
+
Marketing: Pg,
|
|
5590
|
+
Products: Lg,
|
|
5591
5591
|
"Call To Action": "号召行动",
|
|
5592
5592
|
Components: Bg,
|
|
5593
5593
|
Article: Ag,
|
|
@@ -5645,7 +5645,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5645
5645
|
Link: Tg,
|
|
5646
5646
|
List: bg,
|
|
5647
5647
|
Margin: tg,
|
|
5648
|
-
Marketing:
|
|
5648
|
+
Marketing: Pg,
|
|
5649
5649
|
Mobile: hg,
|
|
5650
5650
|
Next: wg,
|
|
5651
5651
|
Options: Gx,
|
|
@@ -5653,7 +5653,7 @@ const dp = "حفظ", pp = "خيارات", cp = "الصورة الرمزية", up
|
|
|
5653
5653
|
Portrait: gg,
|
|
5654
5654
|
Prev: Sg,
|
|
5655
5655
|
Preview: ug,
|
|
5656
|
-
Products:
|
|
5656
|
+
Products: Lg,
|
|
5657
5657
|
Publish: Jx,
|
|
5658
5658
|
Save: Ux,
|
|
5659
5659
|
Search: mg,
|
|
@@ -5891,7 +5891,7 @@ function uS(n, e, t, i) {
|
|
|
5891
5891
|
}, 4e4);
|
|
5892
5892
|
}
|
|
5893
5893
|
}
|
|
5894
|
-
function
|
|
5894
|
+
function Pe(n, e) {
|
|
5895
5895
|
const t = "🍍 " + n;
|
|
5896
5896
|
typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(t, e) : e === "error" ? console.error(t) : e === "warn" ? console.warn(t) : console.log(t);
|
|
5897
5897
|
}
|
|
@@ -5900,29 +5900,29 @@ function ml(n) {
|
|
|
5900
5900
|
}
|
|
5901
5901
|
function Wg() {
|
|
5902
5902
|
if (!("clipboard" in navigator))
|
|
5903
|
-
return
|
|
5903
|
+
return Pe("Your browser doesn't support the Clipboard API", "error"), !0;
|
|
5904
5904
|
}
|
|
5905
5905
|
function Ug(n) {
|
|
5906
|
-
return n instanceof Error && n.message.toLowerCase().includes("document is not focused") ? (
|
|
5906
|
+
return n instanceof Error && n.message.toLowerCase().includes("document is not focused") ? (Pe('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
|
|
5907
5907
|
}
|
|
5908
5908
|
async function hS(n) {
|
|
5909
5909
|
if (!Wg())
|
|
5910
5910
|
try {
|
|
5911
|
-
await navigator.clipboard.writeText(JSON.stringify(n.state.value)),
|
|
5911
|
+
await navigator.clipboard.writeText(JSON.stringify(n.state.value)), Pe("Global state copied to clipboard.");
|
|
5912
5912
|
} catch (e) {
|
|
5913
5913
|
if (Ug(e))
|
|
5914
5914
|
return;
|
|
5915
|
-
|
|
5915
|
+
Pe("Failed to serialize the state. Check the console for more details.", "error"), console.error(e);
|
|
5916
5916
|
}
|
|
5917
5917
|
}
|
|
5918
5918
|
async function fS(n) {
|
|
5919
5919
|
if (!Wg())
|
|
5920
5920
|
try {
|
|
5921
|
-
Gg(n, JSON.parse(await navigator.clipboard.readText())),
|
|
5921
|
+
Gg(n, JSON.parse(await navigator.clipboard.readText())), Pe("Global state pasted from clipboard.");
|
|
5922
5922
|
} catch (e) {
|
|
5923
5923
|
if (Ug(e))
|
|
5924
5924
|
return;
|
|
5925
|
-
|
|
5925
|
+
Pe("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e);
|
|
5926
5926
|
}
|
|
5927
5927
|
}
|
|
5928
5928
|
async function bS(n) {
|
|
@@ -5931,7 +5931,7 @@ async function bS(n) {
|
|
|
5931
5931
|
type: "text/plain;charset=utf-8"
|
|
5932
5932
|
}), "pinia-state.json");
|
|
5933
5933
|
} catch (e) {
|
|
5934
|
-
|
|
5934
|
+
Pe("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
|
|
5935
5935
|
}
|
|
5936
5936
|
}
|
|
5937
5937
|
let Et;
|
|
@@ -5956,9 +5956,9 @@ async function xS(n) {
|
|
|
5956
5956
|
if (!t)
|
|
5957
5957
|
return;
|
|
5958
5958
|
const { text: i, file: r } = t;
|
|
5959
|
-
Gg(n, JSON.parse(i)),
|
|
5959
|
+
Gg(n, JSON.parse(i)), Pe(`Global state imported from "${r.name}".`);
|
|
5960
5960
|
} catch (e) {
|
|
5961
|
-
|
|
5961
|
+
Pe("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(e);
|
|
5962
5962
|
}
|
|
5963
5963
|
}
|
|
5964
5964
|
function Gg(n, e) {
|
|
@@ -5974,10 +5974,10 @@ function ft(n) {
|
|
|
5974
5974
|
}
|
|
5975
5975
|
};
|
|
5976
5976
|
}
|
|
5977
|
-
const Kg = "🍍 Pinia (root)",
|
|
5977
|
+
const Kg = "🍍 Pinia (root)", Pr = "_root";
|
|
5978
5978
|
function gS(n) {
|
|
5979
5979
|
return ml(n) ? {
|
|
5980
|
-
id:
|
|
5980
|
+
id: Pr,
|
|
5981
5981
|
label: Kg
|
|
5982
5982
|
} : {
|
|
5983
5983
|
id: n.$id,
|
|
@@ -6046,7 +6046,7 @@ function SS(n) {
|
|
|
6046
6046
|
}
|
|
6047
6047
|
}
|
|
6048
6048
|
let ei = !0;
|
|
6049
|
-
const
|
|
6049
|
+
const Lr = [], bn = "pinia:mutations", Fe = "pinia", { assign: wS } = Object, Hr = (n) => "🍍 " + n;
|
|
6050
6050
|
function CS(n, e) {
|
|
6051
6051
|
zg({
|
|
6052
6052
|
id: "dev.esm.pinia",
|
|
@@ -6054,10 +6054,10 @@ function CS(n, e) {
|
|
|
6054
6054
|
logo: "https://pinia.vuejs.org/logo.svg",
|
|
6055
6055
|
packageName: "pinia",
|
|
6056
6056
|
homepage: "https://pinia.vuejs.org",
|
|
6057
|
-
componentStateTypes:
|
|
6057
|
+
componentStateTypes: Lr,
|
|
6058
6058
|
app: n
|
|
6059
6059
|
}, (t) => {
|
|
6060
|
-
typeof t.now != "function" &&
|
|
6060
|
+
typeof t.now != "function" && Pe("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), t.addTimelineLayer({
|
|
6061
6061
|
id: bn,
|
|
6062
6062
|
label: "Pinia 🍍",
|
|
6063
6063
|
color: 15064968
|
|
@@ -6102,7 +6102,7 @@ function CS(n, e) {
|
|
|
6102
6102
|
tooltip: 'Reset the state (with "$reset")',
|
|
6103
6103
|
action: (i) => {
|
|
6104
6104
|
const r = e._s.get(i);
|
|
6105
|
-
r ? typeof r.$reset != "function" ?
|
|
6105
|
+
r ? typeof r.$reset != "function" ? Pe(`Cannot reset "${i}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), Pe(`Store "${i}" reset.`)) : Pe(`Cannot reset "${i}" store because it wasn't found.`, "warn");
|
|
6106
6106
|
}
|
|
6107
6107
|
}
|
|
6108
6108
|
]
|
|
@@ -6152,16 +6152,16 @@ function CS(n, e) {
|
|
|
6152
6152
|
}
|
|
6153
6153
|
}), globalThis.$pinia = e, t.on.getInspectorState((i) => {
|
|
6154
6154
|
if (i.app === n && i.inspectorId === Fe) {
|
|
6155
|
-
const r = i.nodeId ===
|
|
6155
|
+
const r = i.nodeId === Pr ? e : e._s.get(i.nodeId);
|
|
6156
6156
|
if (!r)
|
|
6157
6157
|
return;
|
|
6158
|
-
r && (i.nodeId !==
|
|
6158
|
+
r && (i.nodeId !== Pr && (globalThis.$store = ze(r)), i.state = yS(r));
|
|
6159
6159
|
}
|
|
6160
6160
|
}), t.on.editInspectorState((i, r) => {
|
|
6161
6161
|
if (i.app === n && i.inspectorId === Fe) {
|
|
6162
|
-
const o = i.nodeId ===
|
|
6162
|
+
const o = i.nodeId === Pr ? e : e._s.get(i.nodeId);
|
|
6163
6163
|
if (!o)
|
|
6164
|
-
return
|
|
6164
|
+
return Pe(`store "${i.nodeId}" not found`, "error");
|
|
6165
6165
|
const { path: s } = i;
|
|
6166
6166
|
ml(o) ? s.unshift("state") : (s.length !== 1 || !o._customProperties.has(s[0]) || s[0] in o.$state) && s.unshift("$state"), ei = !1, i.set(o, s, i.state.value), ei = !0;
|
|
6167
6167
|
}
|
|
@@ -6169,10 +6169,10 @@ function CS(n, e) {
|
|
|
6169
6169
|
if (i.type.startsWith("🍍")) {
|
|
6170
6170
|
const r = i.type.replace(/^🍍\s*/, ""), o = e._s.get(r);
|
|
6171
6171
|
if (!o)
|
|
6172
|
-
return
|
|
6172
|
+
return Pe(`store "${r}" not found`, "error");
|
|
6173
6173
|
const { path: s } = i;
|
|
6174
6174
|
if (s[0] !== "state")
|
|
6175
|
-
return
|
|
6175
|
+
return Pe(`Invalid path for store "${r}":
|
|
6176
6176
|
${s}
|
|
6177
6177
|
Only state can be modified.`);
|
|
6178
6178
|
s[0] = "$state", ei = !1, i.set(o, s, i.state.value), ei = !0;
|
|
@@ -6181,13 +6181,13 @@ Only state can be modified.`);
|
|
|
6181
6181
|
});
|
|
6182
6182
|
}
|
|
6183
6183
|
function kS(n, e) {
|
|
6184
|
-
|
|
6184
|
+
Lr.includes(Hr(e.$id)) || Lr.push(Hr(e.$id)), zg({
|
|
6185
6185
|
id: "dev.esm.pinia",
|
|
6186
6186
|
label: "Pinia 🍍",
|
|
6187
6187
|
logo: "https://pinia.vuejs.org/logo.svg",
|
|
6188
6188
|
packageName: "pinia",
|
|
6189
6189
|
homepage: "https://pinia.vuejs.org",
|
|
6190
|
-
componentStateTypes:
|
|
6190
|
+
componentStateTypes: Lr,
|
|
6191
6191
|
app: n,
|
|
6192
6192
|
settings: {
|
|
6193
6193
|
logStoreChanges: {
|
|
@@ -6306,8 +6306,8 @@ function kS(n, e) {
|
|
|
6306
6306
|
});
|
|
6307
6307
|
const { $dispose: o } = e;
|
|
6308
6308
|
e.$dispose = () => {
|
|
6309
|
-
o(), t.notifyComponentUpdate(), t.sendInspectorTree(Fe), t.sendInspectorState(Fe), t.getSettings().logStoreChanges &&
|
|
6310
|
-
}, t.notifyComponentUpdate(), t.sendInspectorTree(Fe), t.sendInspectorState(Fe), t.getSettings().logStoreChanges &&
|
|
6309
|
+
o(), t.notifyComponentUpdate(), t.sendInspectorTree(Fe), t.sendInspectorState(Fe), t.getSettings().logStoreChanges && Pe(`Disposed "${e.$id}" store 🗑`);
|
|
6310
|
+
}, t.notifyComponentUpdate(), t.sendInspectorTree(Fe), t.sendInspectorState(Fe), t.getSettings().logStoreChanges && Pe(`"${e.$id}" store installed 🆕`);
|
|
6311
6311
|
});
|
|
6312
6312
|
}
|
|
6313
6313
|
let Jg = 0, Zt;
|
|
@@ -6400,18 +6400,18 @@ function Os(n, e) {
|
|
|
6400
6400
|
}
|
|
6401
6401
|
return n;
|
|
6402
6402
|
}
|
|
6403
|
-
const
|
|
6403
|
+
const PS = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
6404
6404
|
/* istanbul ignore next */
|
|
6405
6405
|
Symbol()
|
|
6406
6406
|
);
|
|
6407
|
-
function
|
|
6408
|
-
return !An(n) || !n.hasOwnProperty(
|
|
6407
|
+
function LS(n) {
|
|
6408
|
+
return !An(n) || !n.hasOwnProperty(PS);
|
|
6409
6409
|
}
|
|
6410
6410
|
const { assign: st } = Object;
|
|
6411
|
-
function
|
|
6411
|
+
function Pa(n) {
|
|
6412
6412
|
return !!($i(n) && n.effect);
|
|
6413
6413
|
}
|
|
6414
|
-
function
|
|
6414
|
+
function La(n, e, t, i) {
|
|
6415
6415
|
const { state: r, actions: o, getters: s } = e, l = t.state.value[n];
|
|
6416
6416
|
let a;
|
|
6417
6417
|
function d() {
|
|
@@ -6501,7 +6501,7 @@ function _s(n, e, t = {}, i, r, o) {
|
|
|
6501
6501
|
return ut instanceof Promise ? ut.then((se) => (Wn(O, se), se)).catch((se) => (Wn(ne, se), Promise.reject(se))) : (Wn(O, ut), ut);
|
|
6502
6502
|
};
|
|
6503
6503
|
return X[Ea] = !0, X[Zo] = _, X;
|
|
6504
|
-
},
|
|
6504
|
+
}, P = /* @__PURE__ */ Yt({
|
|
6505
6505
|
actions: {},
|
|
6506
6506
|
getters: {},
|
|
6507
6507
|
state: [],
|
|
@@ -6526,7 +6526,7 @@ function _s(n, e, t = {}, i, r, o) {
|
|
|
6526
6526
|
$dispose: S
|
|
6527
6527
|
}, I = o1(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Xt ? st(
|
|
6528
6528
|
{
|
|
6529
|
-
_hmrPayload:
|
|
6529
|
+
_hmrPayload: P,
|
|
6530
6530
|
_customProperties: Yt(/* @__PURE__ */ new Set())
|
|
6531
6531
|
// devtools custom properties
|
|
6532
6532
|
},
|
|
@@ -6538,12 +6538,12 @@ function _s(n, e, t = {}, i, r, o) {
|
|
|
6538
6538
|
const z = (i._a && i._a.runWithContext || ES)(() => i._e.run(() => (s = rp()).run(() => e({ action: M }))));
|
|
6539
6539
|
for (const D in z) {
|
|
6540
6540
|
const _ = z[D];
|
|
6541
|
-
if ($i(_) && !
|
|
6542
|
-
process.env.NODE_ENV !== "production" && r ? hr(m.value, D, Qo(z, D)) : o || (b &&
|
|
6541
|
+
if ($i(_) && !Pa(_) || fl(_))
|
|
6542
|
+
process.env.NODE_ENV !== "production" && r ? hr(m.value, D, Qo(z, D)) : o || (b && LS(_) && ($i(_) ? _.value = b[D] : Os(_, b[D])), i.state.value[n][D] = _), process.env.NODE_ENV !== "production" && P.state.push(D);
|
|
6543
6543
|
else if (typeof _ == "function") {
|
|
6544
6544
|
const X = process.env.NODE_ENV !== "production" && r ? _ : M(_, D);
|
|
6545
|
-
z[D] = X, process.env.NODE_ENV !== "production" && (
|
|
6546
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
6545
|
+
z[D] = X, process.env.NODE_ENV !== "production" && (P.actions[D] = _), l.actions[D] = _;
|
|
6546
|
+
} else process.env.NODE_ENV !== "production" && Pa(_) && (P.getters[D] = o ? (
|
|
6547
6547
|
// @ts-expect-error
|
|
6548
6548
|
t.getters[D]
|
|
6549
6549
|
) : _, Xt && (z._getters || // @ts-expect-error: same
|
|
@@ -6631,10 +6631,10 @@ function BS(n, e, t) {
|
|
|
6631
6631
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
6632
6632
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
6633
6633
|
This will fail in production.`);
|
|
6634
|
-
l = gi, l._s.has(i) || (o ? _s(i, e, r, l) :
|
|
6634
|
+
l = gi, l._s.has(i) || (o ? _s(i, e, r, l) : La(i, r, l), process.env.NODE_ENV !== "production" && (s._pinia = l));
|
|
6635
6635
|
const p = l._s.get(i);
|
|
6636
6636
|
if (process.env.NODE_ENV !== "production" && a) {
|
|
6637
|
-
const u = "__hot:" + i, h = o ? _s(u, e, r, l, !0) :
|
|
6637
|
+
const u = "__hot:" + i, h = o ? _s(u, e, r, l, !0) : La(u, st({}, r), l, !0);
|
|
6638
6638
|
a._hotUpdate(h), delete l.state.value[u], l._s.delete(u);
|
|
6639
6639
|
}
|
|
6640
6640
|
if (process.env.NODE_ENV !== "production" && Xt) {
|
|
@@ -7067,7 +7067,7 @@ const AS = /* @__PURE__ */ BS("pageBuilderState", {
|
|
|
7067
7067
|
}, uw = { class: "pbx-min-w-[30rem] pbx-w-max" }, hw = {
|
|
7068
7068
|
key: 2,
|
|
7069
7069
|
class: "pbx-mt-8"
|
|
7070
|
-
}, fw = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, bw = { class: "pbx-overflow-x-auto" }, mw = { class: "pbx-min-w-full" }, xw = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, gw = { key: 0 }, yw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, vw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Sw = { key: 1 }, ww = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Cw = { class: "pbx-min-w-[30rem] pbx-w-max" }, kw = { key: 2 }, Tw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Mw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Ew = { key: 3 },
|
|
7070
|
+
}, fw = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, bw = { class: "pbx-overflow-x-auto" }, mw = { class: "pbx-min-w-full" }, xw = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, gw = { key: 0 }, yw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, vw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Sw = { key: 1 }, ww = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Cw = { class: "pbx-min-w-[30rem] pbx-w-max" }, kw = { key: 2 }, Tw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Mw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Ew = { key: 3 }, Pw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Lw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Bw = {
|
|
7071
7071
|
key: 3,
|
|
7072
7072
|
class: "pbx-mt-8"
|
|
7073
7073
|
}, Aw = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, Iw = { class: "pbx-overflow-x-auto" }, Dw = { class: "pbx-min-w-full" }, $w = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Ow = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, _w = { class: "pbx-min-w-[30rem] pbx-w-max" }, Nw = { class: "pbx-flex pbx-items-center pbx-space-x-3" }, Hw = ["src"], Rw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, zw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Fw = { class: "pbx-flex pbx-items-center pbx-space-x-3" }, Vw = { class: "pbx-pr-6" }, jw = { class: "pbx-flex pbx-items-center pbx-space-x-3" }, qw = { class: "pbx-whitespace-nowrap" }, Ww = {
|
|
@@ -7076,9 +7076,9 @@ const AS = /* @__PURE__ */ BS("pageBuilderState", {
|
|
|
7076
7076
|
}, Uw = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, Gw = { class: "pbx-overflow-x-auto" }, Kw = { class: "pbx-w-max" }, Jw = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Yw = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, Qw = { class: "pbx-min-w-[30rem] pbx-w-max" }, Xw = { key: 0 }, Zw = { key: 1 }, e2 = { key: 0 }, t2 = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, n2 = { class: "pbx-min-w-[30rem] pbx-w-max" }, i2 = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium" }, r2 = { class: "pbx-mt-4 pbx-mb-4 pbx-py-8 pbx-px-2 pbx-border pbx-border-solid pbx-border-gray-600 pbx-rounded-xl" }, o2 = { class: "pbx-mt-4 pbx-whitespace-pre-wrap pbx-text-white pbx-overflow-hidden pbx-bg-gray-900" }, s2 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-white pbx-text-xs pbx-break-all" }, l2 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-text-white" }, a2 = {
|
|
7077
7077
|
__name: "PageBuilderSettings",
|
|
7078
7078
|
setup(n) {
|
|
7079
|
-
const e = "3.4.
|
|
7079
|
+
const e = "3.4.65", t = he, i = B(() => t.getPageBuilderConfig);
|
|
7080
7080
|
return (r, o) => {
|
|
7081
|
-
var s, l, a, d, p, u, h, f, b, m, x, v, T, S, M,
|
|
7081
|
+
var s, l, a, d, p, u, h, f, b, m, x, v, T, S, M, P;
|
|
7082
7082
|
return y(), w("div", IS, [
|
|
7083
7083
|
c("div", DS, [
|
|
7084
7084
|
c("div", null, [
|
|
@@ -7267,8 +7267,8 @@ const AS = /* @__PURE__ */ BS("pageBuilderState", {
|
|
|
7267
7267
|
o[15] || (o[15] = c("td", { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-font-medium pbx-text-gray-900" }, [
|
|
7268
7268
|
c("div", { class: "pbx-min-w-[30rem] pbx-w-max" }, "Notifications")
|
|
7269
7269
|
], -1)),
|
|
7270
|
-
c("td",
|
|
7271
|
-
c("div",
|
|
7270
|
+
c("td", Pw, [
|
|
7271
|
+
c("div", Lw, [
|
|
7272
7272
|
c("span", {
|
|
7273
7273
|
class: j([
|
|
7274
7274
|
"pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium",
|
|
@@ -7338,7 +7338,7 @@ const AS = /* @__PURE__ */ BS("pageBuilderState", {
|
|
|
7338
7338
|
])
|
|
7339
7339
|
])
|
|
7340
7340
|
])) : E("", !0),
|
|
7341
|
-
(
|
|
7341
|
+
(P = i.value) != null && P.updateOrCreate && !g(Gt)(i.value.updateOrCreate) ? (y(), w("div", Ww, [
|
|
7342
7342
|
o[25] || (o[25] = c("h4", { class: "pbx-myQuaternaryHeader pbx-text-sm pbx-mb-2" }, "Form Type", -1)),
|
|
7343
7343
|
c("div", Uw, [
|
|
7344
7344
|
c("div", Gw, [
|
|
@@ -7411,7 +7411,7 @@ const AS = /* @__PURE__ */ BS("pageBuilderState", {
|
|
|
7411
7411
|
]);
|
|
7412
7412
|
};
|
|
7413
7413
|
}
|
|
7414
|
-
},
|
|
7414
|
+
}, Po = (n, e) => {
|
|
7415
7415
|
const t = n.__vccOpts || n;
|
|
7416
7416
|
for (const [i, r] of e)
|
|
7417
7417
|
t[i] = r;
|
|
@@ -7452,7 +7452,7 @@ function h2(n, e, t, i, r, o) {
|
|
|
7452
7452
|
], 2)
|
|
7453
7453
|
], 2);
|
|
7454
7454
|
}
|
|
7455
|
-
const Rt = /* @__PURE__ */
|
|
7455
|
+
const Rt = /* @__PURE__ */ Po(d2, [["render", h2]]), f2 = { class: "pbx-myPrimaryParagraph pbx-font-medium pbx-py-0 pbx-my-4" }, b2 = { class: "pbx-my-2 pbx-py-2" }, m2 = {
|
|
7456
7456
|
for: "font-desktop",
|
|
7457
7457
|
class: "pbx-myPrimaryInputLabel"
|
|
7458
7458
|
}, x2 = {
|
|
@@ -7593,7 +7593,7 @@ const Rt = /* @__PURE__ */ Lo(d2, [["render", h2]]), f2 = { class: "pbx-myPrimar
|
|
|
7593
7593
|
_: 1
|
|
7594
7594
|
}));
|
|
7595
7595
|
}
|
|
7596
|
-
},
|
|
7596
|
+
}, P2 = { class: "pbx-myPrimaryInputLabel pbx-my-4" }, L2 = { class: "pbx-flex pbx-flex-row pbx-flex-wrap pbx-gap-2 pbx-mt-2 pbx-mb-4" }, B2 = ["onClick"], A2 = { class: "pbx-flex pbx-items-center pbx-gap-1" }, I2 = { class: "pbx-mr-1" }, D2 = { class: "pbx-my-2 pbx-py-2" }, $2 = {
|
|
7597
7597
|
for: "custom-css",
|
|
7598
7598
|
class: "pbx-myPrimaryInputLabel"
|
|
7599
7599
|
}, O2 = { class: "pbx-flex pbx-gap-2 pbx-item-center" }, _2 = ["placeholder"], N2 = {
|
|
@@ -7629,10 +7629,10 @@ const Rt = /* @__PURE__ */ Lo(d2, [["render", h2]]), f2 = { class: "pbx-myPrimar
|
|
|
7629
7629
|
Be(C(g(e)("Generated CSS")), 1)
|
|
7630
7630
|
]),
|
|
7631
7631
|
content: q(() => [
|
|
7632
|
-
c("p",
|
|
7632
|
+
c("p", P2, C(g(e)(
|
|
7633
7633
|
"This is the CSS applied by the builder. Add your own CSS and press Enter to apply it to the selected element."
|
|
7634
7634
|
)), 1),
|
|
7635
|
-
c("div",
|
|
7635
|
+
c("div", L2, [
|
|
7636
7636
|
(y(!0), w(K, null, ie(r.value, (u) => (y(), w("div", {
|
|
7637
7637
|
key: u,
|
|
7638
7638
|
class: "pbx-myPrimaryTag pbx-cursor-pointer hover:pbx-bg-myPrimaryErrorColor hover:pbx-text-white pbx-text-xs pbx-py-2 pbx-font-medium",
|
|
@@ -7662,7 +7662,7 @@ const Rt = /* @__PURE__ */ Lo(d2, [["render", h2]]), f2 = { class: "pbx-myPrimar
|
|
|
7662
7662
|
autocomplete: "off",
|
|
7663
7663
|
class: "pbx-myPrimaryInput"
|
|
7664
7664
|
}, null, 40, _2), [
|
|
7665
|
-
[
|
|
7665
|
+
[Pn, s.value]
|
|
7666
7666
|
]),
|
|
7667
7667
|
c("button", {
|
|
7668
7668
|
onClick: a,
|
|
@@ -7741,7 +7741,7 @@ const Rt = /* @__PURE__ */ Lo(d2, [["render", h2]]), f2 = { class: "pbx-myPrimar
|
|
|
7741
7741
|
autocomplete: "off",
|
|
7742
7742
|
class: "pbx-myPrimaryInput"
|
|
7743
7743
|
}, null, 40, U2), [
|
|
7744
|
-
[
|
|
7744
|
+
[Pn, s.value]
|
|
7745
7745
|
]),
|
|
7746
7746
|
le(c("input", {
|
|
7747
7747
|
id: "custom-style-value",
|
|
@@ -7754,7 +7754,7 @@ const Rt = /* @__PURE__ */ Lo(d2, [["render", h2]]), f2 = { class: "pbx-myPrimar
|
|
|
7754
7754
|
autocomplete: "off",
|
|
7755
7755
|
class: "pbx-myPrimaryInput"
|
|
7756
7756
|
}, null, 40, G2), [
|
|
7757
|
-
[
|
|
7757
|
+
[Pn, l.value]
|
|
7758
7758
|
]),
|
|
7759
7759
|
c("button", {
|
|
7760
7760
|
onClick: u,
|
|
@@ -7774,7 +7774,7 @@ function Q2(n, e) {
|
|
|
7774
7774
|
c("h3", { class: "pbx-myQuaternaryHeader pbx-my-0 pbx-py-0 pbx-text-black" }, " No media library has been provided. ", -1)
|
|
7775
7775
|
])]);
|
|
7776
7776
|
}
|
|
7777
|
-
const X2 = /* @__PURE__ */
|
|
7777
|
+
const X2 = /* @__PURE__ */ Po(J2, [["render", Q2]]), Z2 = {
|
|
7778
7778
|
key: 0,
|
|
7779
7779
|
class: "pbx-w-full"
|
|
7780
7780
|
}, eC = { key: 1 }, ty = {
|
|
@@ -7885,7 +7885,7 @@ function rC(n, e, t) {
|
|
|
7885
7885
|
}
|
|
7886
7886
|
var Ba;
|
|
7887
7887
|
let oC = Symbol("headlessui.useid"), sC = 0;
|
|
7888
|
-
const
|
|
7888
|
+
const Lo = (Ba = ya.useId) != null ? Ba : function() {
|
|
7889
7889
|
return ya.inject(oC, () => `${++sC}`)();
|
|
7890
7890
|
};
|
|
7891
7891
|
function ge(n) {
|
|
@@ -8016,7 +8016,7 @@ function Da(n, e) {
|
|
|
8016
8016
|
}
|
|
8017
8017
|
function SC(n, e) {
|
|
8018
8018
|
let t = k(Da(n.value.type, n.value.as));
|
|
8019
|
-
return
|
|
8019
|
+
return Ln(() => {
|
|
8020
8020
|
t.value = Da(n.value.type, n.value.as);
|
|
8021
8021
|
}), ci(() => {
|
|
8022
8022
|
var i;
|
|
@@ -8116,11 +8116,11 @@ var _i = ((n) => (n[n.Open = 1] = "Open", n[n.Closed = 2] = "Closed", n[n.Closin
|
|
|
8116
8116
|
function EC() {
|
|
8117
8117
|
return an(ly, null);
|
|
8118
8118
|
}
|
|
8119
|
-
function
|
|
8119
|
+
function PC(n) {
|
|
8120
8120
|
Ut(ly, n);
|
|
8121
8121
|
}
|
|
8122
8122
|
var Ee = ((n) => (n.Space = " ", n.Enter = "Enter", n.Escape = "Escape", n.Backspace = "Backspace", n.Delete = "Delete", n.ArrowLeft = "ArrowLeft", n.ArrowUp = "ArrowUp", n.ArrowRight = "ArrowRight", n.ArrowDown = "ArrowDown", n.Home = "Home", n.End = "End", n.PageUp = "PageUp", n.PageDown = "PageDown", n.Tab = "Tab", n))(Ee || {});
|
|
8123
|
-
function
|
|
8123
|
+
function LC(n) {
|
|
8124
8124
|
throw new Error("Unexpected object: " + n);
|
|
8125
8125
|
}
|
|
8126
8126
|
var qe = ((n) => (n[n.First = 0] = "First", n[n.Previous = 1] = "Previous", n[n.Next = 2] = "Next", n[n.Last = 3] = "Last", n[n.Specific = 4] = "Specific", n[n.Nothing = 5] = "Nothing", n))(qe || {});
|
|
@@ -8153,7 +8153,7 @@ function BC(n, e) {
|
|
|
8153
8153
|
case 5:
|
|
8154
8154
|
return null;
|
|
8155
8155
|
default:
|
|
8156
|
-
|
|
8156
|
+
LC(n);
|
|
8157
8157
|
}
|
|
8158
8158
|
}
|
|
8159
8159
|
function ay(n = {}, e = null, t = []) {
|
|
@@ -8224,57 +8224,57 @@ function Ki(n) {
|
|
|
8224
8224
|
let Ji = tt({ name: "Listbox", emits: { "update:modelValue": (n) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => DC }, horizontal: { type: [Boolean], default: !1 }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, multiple: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(n, { slots: e, attrs: t, emit: i }) {
|
|
8225
8225
|
let r = k(1), o = k(null), s = k(null), l = k(null), a = k([]), d = k(""), p = k(null), u = k(1);
|
|
8226
8226
|
function h(S = (M) => M) {
|
|
8227
|
-
let M = p.value !== null ? a.value[p.value] : null,
|
|
8228
|
-
return H === -1 && (H = null), { options:
|
|
8227
|
+
let M = p.value !== null ? a.value[p.value] : null, P = bC(S(a.value.slice()), (I) => ge(I.dataRef.domRef)), H = M ? P.indexOf(M) : null;
|
|
8228
|
+
return H === -1 && (H = null), { options: P, activeOptionIndex: H };
|
|
8229
8229
|
}
|
|
8230
8230
|
let f = B(() => n.multiple ? 1 : 0), [b, m] = rC(B(() => n.modelValue), (S) => i("update:modelValue", S), B(() => n.defaultValue)), x = B(() => b.value === void 0 ? xt(f.value, { 1: [], 0: void 0 }) : b.value), v = { listboxState: r, value: x, mode: f, compare(S, M) {
|
|
8231
8231
|
if (typeof n.by == "string") {
|
|
8232
|
-
let
|
|
8233
|
-
return (S == null ? void 0 : S[
|
|
8232
|
+
let P = n.by;
|
|
8233
|
+
return (S == null ? void 0 : S[P]) === (M == null ? void 0 : M[P]);
|
|
8234
8234
|
}
|
|
8235
8235
|
return n.by(S, M);
|
|
8236
8236
|
}, orientation: B(() => n.horizontal ? "horizontal" : "vertical"), labelRef: o, buttonRef: s, optionsRef: l, disabled: B(() => n.disabled), options: a, searchQuery: d, activeOptionIndex: p, activationTrigger: u, closeListbox() {
|
|
8237
8237
|
n.disabled || r.value !== 1 && (r.value = 1, p.value = null);
|
|
8238
8238
|
}, openListbox() {
|
|
8239
8239
|
n.disabled || r.value !== 0 && (r.value = 0);
|
|
8240
|
-
}, goToOption(S, M,
|
|
8240
|
+
}, goToOption(S, M, P) {
|
|
8241
8241
|
if (n.disabled || r.value === 1) return;
|
|
8242
8242
|
let H = h(), I = BC(S === qe.Specific ? { focus: qe.Specific, id: M } : { focus: S }, { resolveItems: () => H.options, resolveActiveIndex: () => H.activeOptionIndex, resolveId: (N) => N.id, resolveDisabled: (N) => N.dataRef.disabled });
|
|
8243
|
-
d.value = "", p.value = I, u.value =
|
|
8243
|
+
d.value = "", p.value = I, u.value = P ?? 1, a.value = H.options;
|
|
8244
8244
|
}, search(S) {
|
|
8245
8245
|
if (n.disabled || r.value === 1) return;
|
|
8246
8246
|
let M = d.value !== "" ? 0 : 1;
|
|
8247
8247
|
d.value += S.toLowerCase();
|
|
8248
|
-
let
|
|
8248
|
+
let P = (p.value !== null ? a.value.slice(p.value + M).concat(a.value.slice(0, p.value + M)) : a.value).find((I) => I.dataRef.textValue.startsWith(d.value) && !I.dataRef.disabled), H = P ? a.value.indexOf(P) : -1;
|
|
8249
8249
|
H === -1 || H === p.value || (p.value = H, u.value = 1);
|
|
8250
8250
|
}, clearSearch() {
|
|
8251
8251
|
n.disabled || r.value !== 1 && d.value !== "" && (d.value = "");
|
|
8252
8252
|
}, registerOption(S, M) {
|
|
8253
|
-
let
|
|
8254
|
-
a.value =
|
|
8253
|
+
let P = h((H) => [...H, { id: S, dataRef: M }]);
|
|
8254
|
+
a.value = P.options, p.value = P.activeOptionIndex;
|
|
8255
8255
|
}, unregisterOption(S) {
|
|
8256
|
-
let M = h((
|
|
8257
|
-
let H =
|
|
8258
|
-
return H !== -1 &&
|
|
8256
|
+
let M = h((P) => {
|
|
8257
|
+
let H = P.findIndex((I) => I.id === S);
|
|
8258
|
+
return H !== -1 && P.splice(H, 1), P;
|
|
8259
8259
|
});
|
|
8260
8260
|
a.value = M.options, p.value = M.activeOptionIndex, u.value = 1;
|
|
8261
8261
|
}, theirOnChange(S) {
|
|
8262
8262
|
n.disabled || m(S);
|
|
8263
8263
|
}, select(S) {
|
|
8264
8264
|
n.disabled || m(xt(f.value, { 0: () => S, 1: () => {
|
|
8265
|
-
let M = ze(v.value.value).slice(),
|
|
8266
|
-
return H === -1 ? M.push(
|
|
8265
|
+
let M = ze(v.value.value).slice(), P = ze(S), H = M.findIndex((I) => v.compare(P, ze(I)));
|
|
8266
|
+
return H === -1 ? M.push(P) : M.splice(H, 1), M;
|
|
8267
8267
|
} }));
|
|
8268
8268
|
} };
|
|
8269
8269
|
vC([s, l], (S, M) => {
|
|
8270
|
-
var
|
|
8271
|
-
v.closeListbox(), ny(M, gl.Loose) || (S.preventDefault(), (
|
|
8272
|
-
}, B(() => r.value === 0)), Ut(cy, v),
|
|
8270
|
+
var P;
|
|
8271
|
+
v.closeListbox(), ny(M, gl.Loose) || (S.preventDefault(), (P = ge(s)) == null || P.focus());
|
|
8272
|
+
}, B(() => r.value === 0)), Ut(cy, v), PC(B(() => xt(r.value, { 0: _i.Open, 1: _i.Closed })));
|
|
8273
8273
|
let T = B(() => {
|
|
8274
8274
|
var S;
|
|
8275
8275
|
return (S = ge(s)) == null ? void 0 : S.closest("form");
|
|
8276
8276
|
});
|
|
8277
|
-
return
|
|
8277
|
+
return Ln(() => {
|
|
8278
8278
|
Y([T], () => {
|
|
8279
8279
|
if (!T.value || n.defaultValue === void 0) return;
|
|
8280
8280
|
function S() {
|
|
@@ -8286,13 +8286,13 @@ let Ji = tt({ name: "Listbox", emits: { "update:modelValue": (n) => !0 }, props:
|
|
|
8286
8286
|
};
|
|
8287
8287
|
}, { immediate: !0 });
|
|
8288
8288
|
}), () => {
|
|
8289
|
-
let { name: S, modelValue: M, disabled:
|
|
8290
|
-
return Bn(K, [...S != null && x.value != null ? ay({ [S]: x.value }).map(([z, D]) => Bn(MC, kC({ features: sy.Hidden, key: z, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: H, disabled:
|
|
8289
|
+
let { name: S, modelValue: M, disabled: P, form: H, ...I } = n, N = { open: r.value === 0, disabled: P, value: x.value };
|
|
8290
|
+
return Bn(K, [...S != null && x.value != null ? ay({ [S]: x.value }).map(([z, D]) => Bn(MC, kC({ features: sy.Hidden, key: z, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: H, disabled: P, name: z, value: D }))) : [], ui({ ourProps: {}, theirProps: { ...t, ...oy(I, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: N, slots: e, attrs: t, name: "Listbox" })]);
|
|
8291
8291
|
};
|
|
8292
8292
|
} });
|
|
8293
8293
|
tt({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(n, { attrs: e, slots: t }) {
|
|
8294
8294
|
var i;
|
|
8295
|
-
let r = (i = n.id) != null ? i : `headlessui-listbox-label-${
|
|
8295
|
+
let r = (i = n.id) != null ? i : `headlessui-listbox-label-${Lo()}`, o = Ki("ListboxLabel");
|
|
8296
8296
|
function s() {
|
|
8297
8297
|
var l;
|
|
8298
8298
|
(l = ge(o.buttonRef)) == null || l.focus({ preventScroll: !0 });
|
|
@@ -8304,7 +8304,7 @@ tt({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "labe
|
|
|
8304
8304
|
} });
|
|
8305
8305
|
let In = tt({ name: "ListboxButton", props: { as: { type: [Object, String], default: "button" }, id: { type: String, default: null } }, setup(n, { attrs: e, slots: t, expose: i }) {
|
|
8306
8306
|
var r;
|
|
8307
|
-
let o = (r = n.id) != null ? r : `headlessui-listbox-button-${
|
|
8307
|
+
let o = (r = n.id) != null ? r : `headlessui-listbox-button-${Lo()}`, s = Ki("ListboxButton");
|
|
8308
8308
|
i({ el: s.buttonRef, $el: s.buttonRef });
|
|
8309
8309
|
function l(u) {
|
|
8310
8310
|
switch (u.key) {
|
|
@@ -8348,7 +8348,7 @@ let In = tt({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
8348
8348
|
};
|
|
8349
8349
|
} }), Yi = tt({ name: "ListboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null } }, setup(n, { attrs: e, slots: t, expose: i }) {
|
|
8350
8350
|
var r;
|
|
8351
|
-
let o = (r = n.id) != null ? r : `headlessui-listbox-options-${
|
|
8351
|
+
let o = (r = n.id) != null ? r : `headlessui-listbox-options-${Lo()}`, s = Ki("ListboxOptions"), l = k(null);
|
|
8352
8352
|
i({ el: s.optionsRef, $el: s.optionsRef });
|
|
8353
8353
|
function a(u) {
|
|
8354
8354
|
switch (l.value && clearTimeout(l.value), u.key) {
|
|
@@ -8396,16 +8396,16 @@ let In = tt({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
8396
8396
|
};
|
|
8397
8397
|
} }), Qi = tt({ name: "ListboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: null } }, setup(n, { slots: e, attrs: t, expose: i }) {
|
|
8398
8398
|
var r;
|
|
8399
|
-
let o = (r = n.id) != null ? r : `headlessui-listbox-option-${
|
|
8399
|
+
let o = (r = n.id) != null ? r : `headlessui-listbox-option-${Lo()}`, s = Ki("ListboxOption"), l = k(null);
|
|
8400
8400
|
i({ el: l, $el: l });
|
|
8401
8401
|
let a = B(() => s.activeOptionIndex.value !== null ? s.options.value[s.activeOptionIndex.value].id === o : !1), d = B(() => xt(s.mode.value, { 0: () => s.compare(ze(s.value.value), ze(n.value)), 1: () => ze(s.value.value).some((S) => s.compare(ze(S), ze(n.value))) })), p = B(() => xt(s.mode.value, { 1: () => {
|
|
8402
8402
|
var S;
|
|
8403
8403
|
let M = ze(s.value.value);
|
|
8404
|
-
return ((S = s.options.value.find((
|
|
8404
|
+
return ((S = s.options.value.find((P) => M.some((H) => s.compare(ze(H), ze(P.dataRef.value))))) == null ? void 0 : S.id) === o;
|
|
8405
8405
|
}, 0: () => d.value })), u = IC(l), h = B(() => ({ disabled: n.disabled, value: n.value, get textValue() {
|
|
8406
8406
|
return u();
|
|
8407
8407
|
}, domRef: l }));
|
|
8408
|
-
|
|
8408
|
+
Ln(() => s.registerOption(o, h)), d1(() => s.unregisterOption(o)), Ln(() => {
|
|
8409
8409
|
Y([s.listboxState, d], () => {
|
|
8410
8410
|
s.listboxState.value === 0 && d.value && xt(s.mode.value, { 1: () => {
|
|
8411
8411
|
p.value && s.goToOption(qe.Specific, o);
|
|
@@ -8441,7 +8441,7 @@ let In = tt({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
8441
8441
|
m.wasMoved(S) && (n.disabled || a.value && s.goToOption(qe.Nothing));
|
|
8442
8442
|
}
|
|
8443
8443
|
return () => {
|
|
8444
|
-
let { disabled: S } = n, M = { active: a.value, selected: d.value, disabled: S }, { value:
|
|
8444
|
+
let { disabled: S } = n, M = { active: a.value, selected: d.value, disabled: S }, { value: P, disabled: H, ...I } = n, N = { id: o, ref: l, role: "option", tabIndex: S === !0 ? void 0 : -1, "aria-disabled": S === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: f, onFocus: b, onPointerenter: x, onMouseenter: x, onPointermove: v, onMousemove: v, onPointerleave: T, onMouseleave: T };
|
|
8445
8445
|
return ui({ ourProps: N, theirProps: I, slot: M, attrs: t, slots: e, name: "ListboxOption" });
|
|
8446
8446
|
};
|
|
8447
8447
|
} });
|
|
@@ -8837,10 +8837,10 @@ const HC = { class: "pbx-my-2 pbx-py-2" }, RC = { class: "pbx-relative" }, zC =
|
|
|
8837
8837
|
}, Mk = {
|
|
8838
8838
|
disabled: "",
|
|
8839
8839
|
value: ""
|
|
8840
|
-
}, Ek = { class: "pbx-my-2 pbx-py-2" },
|
|
8840
|
+
}, Ek = { class: "pbx-my-2 pbx-py-2" }, Pk = {
|
|
8841
8841
|
for: "border-radius-top-right",
|
|
8842
8842
|
class: "pbx-myPrimaryInputLabel"
|
|
8843
|
-
},
|
|
8843
|
+
}, Lk = {
|
|
8844
8844
|
disabled: "",
|
|
8845
8845
|
value: ""
|
|
8846
8846
|
}, Bk = { class: "pbx-my-2 pbx-py-2" }, Ak = {
|
|
@@ -8927,14 +8927,14 @@ const HC = { class: "pbx-my-2 pbx-py-2" }, RC = { class: "pbx-relative" }, zC =
|
|
|
8927
8927
|
]),
|
|
8928
8928
|
m[11] || (m[11] = c("hr", null, null, -1)),
|
|
8929
8929
|
c("div", Ek, [
|
|
8930
|
-
c("label",
|
|
8930
|
+
c("label", Pk, C(g(e)("Border Radius top right")), 1),
|
|
8931
8931
|
le(c("select", {
|
|
8932
8932
|
id: "border-radius-top-right",
|
|
8933
8933
|
"onUpdate:modelValue": m[4] || (m[4] = (x) => s.value = x),
|
|
8934
8934
|
class: "pbx-myPrimarySelect",
|
|
8935
8935
|
onChange: m[5] || (m[5] = (x) => g(t).handleBorderRadiusTopRight(s.value))
|
|
8936
8936
|
}, [
|
|
8937
|
-
c("option",
|
|
8937
|
+
c("option", Lk, C(g(e)("Select")), 1),
|
|
8938
8938
|
(y(!0), w(K, null, ie(g(wt).roundedTopRight, (x) => (y(), w("option", { key: x }, C(x), 1))), 128))
|
|
8939
8939
|
], 544), [
|
|
8940
8940
|
[Se, s.value]
|
|
@@ -10819,7 +10819,7 @@ class Dn {
|
|
|
10819
10819
|
return Dn.empty;
|
|
10820
10820
|
let r = My(i);
|
|
10821
10821
|
i.next && i.err("Unexpected trailing text");
|
|
10822
|
-
let o = PT(
|
|
10822
|
+
let o = LT(PT(r));
|
|
10823
10823
|
return BT(o, i), o;
|
|
10824
10824
|
}
|
|
10825
10825
|
/**
|
|
@@ -11040,7 +11040,7 @@ function ET(n) {
|
|
|
11040
11040
|
return n.pos++, e.length == 1 ? e[0] : { type: "choice", exprs: e };
|
|
11041
11041
|
}
|
|
11042
11042
|
}
|
|
11043
|
-
function
|
|
11043
|
+
function PT(n) {
|
|
11044
11044
|
let e = [[]];
|
|
11045
11045
|
return r(o(n, 0), t()), e;
|
|
11046
11046
|
function t() {
|
|
@@ -11111,7 +11111,7 @@ function Ra(n, e) {
|
|
|
11111
11111
|
}
|
|
11112
11112
|
}
|
|
11113
11113
|
}
|
|
11114
|
-
function
|
|
11114
|
+
function LT(n) {
|
|
11115
11115
|
let e = /* @__PURE__ */ Object.create(null);
|
|
11116
11116
|
return t(Ra(n, 0));
|
|
11117
11117
|
function t(i) {
|
|
@@ -11146,7 +11146,7 @@ function BT(n, e) {
|
|
|
11146
11146
|
o && e.err("Only non-generatable nodes (" + s.join(", ") + ") in a required position (see https://prosemirror.net/docs/guide/#generatable)");
|
|
11147
11147
|
}
|
|
11148
11148
|
}
|
|
11149
|
-
function
|
|
11149
|
+
function Py(n) {
|
|
11150
11150
|
let e = /* @__PURE__ */ Object.create(null);
|
|
11151
11151
|
for (let t in n) {
|
|
11152
11152
|
let i = n[t];
|
|
@@ -11156,7 +11156,7 @@ function Ly(n) {
|
|
|
11156
11156
|
}
|
|
11157
11157
|
return e;
|
|
11158
11158
|
}
|
|
11159
|
-
function
|
|
11159
|
+
function Ly(n, e) {
|
|
11160
11160
|
let t = /* @__PURE__ */ Object.create(null);
|
|
11161
11161
|
for (let i in n) {
|
|
11162
11162
|
let r = e && e[i];
|
|
@@ -11192,7 +11192,7 @@ let za = class Iy {
|
|
|
11192
11192
|
@internal
|
|
11193
11193
|
*/
|
|
11194
11194
|
constructor(e, t, i) {
|
|
11195
|
-
this.name = e, this.schema = t, this.spec = i, this.markSet = null, this.groups = i.group ? i.group.split(" ") : [], this.attrs = Ay(e, i.attrs), this.defaultAttrs =
|
|
11195
|
+
this.name = e, this.schema = t, this.spec = i, this.markSet = null, this.groups = i.group ? i.group.split(" ") : [], this.attrs = Ay(e, i.attrs), this.defaultAttrs = Py(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(i.inline || e == "text"), this.isText = e == "text";
|
|
11196
11196
|
}
|
|
11197
11197
|
/**
|
|
11198
11198
|
True if this is an inline type.
|
|
@@ -11253,7 +11253,7 @@ let za = class Iy {
|
|
|
11253
11253
|
@internal
|
|
11254
11254
|
*/
|
|
11255
11255
|
computeAttrs(e) {
|
|
11256
|
-
return !e && this.defaultAttrs ? this.defaultAttrs :
|
|
11256
|
+
return !e && this.defaultAttrs ? this.defaultAttrs : Ly(this.attrs, e);
|
|
11257
11257
|
}
|
|
11258
11258
|
/**
|
|
11259
11259
|
Create a `Node` of this type. The given attributes are
|
|
@@ -11388,7 +11388,7 @@ class Bo {
|
|
|
11388
11388
|
*/
|
|
11389
11389
|
constructor(e, t, i, r) {
|
|
11390
11390
|
this.name = e, this.rank = t, this.schema = i, this.spec = r, this.attrs = Ay(e, r.attrs), this.excluded = null;
|
|
11391
|
-
let o =
|
|
11391
|
+
let o = Py(this.attrs);
|
|
11392
11392
|
this.instance = o ? new pe(this, o) : null;
|
|
11393
11393
|
}
|
|
11394
11394
|
/**
|
|
@@ -11397,7 +11397,7 @@ class Bo {
|
|
|
11397
11397
|
they have defaults, will be added.
|
|
11398
11398
|
*/
|
|
11399
11399
|
create(e = null) {
|
|
11400
|
-
return !e && this.instance ? this.instance : new pe(this,
|
|
11400
|
+
return !e && this.instance ? this.instance : new pe(this, Ly(this.attrs, e));
|
|
11401
11401
|
}
|
|
11402
11402
|
/**
|
|
11403
11403
|
@internal
|
|
@@ -12695,7 +12695,7 @@ class $n extends je {
|
|
|
12695
12695
|
}
|
|
12696
12696
|
}
|
|
12697
12697
|
je.jsonID("removeNodeMark", $n);
|
|
12698
|
-
class
|
|
12698
|
+
class Le extends je {
|
|
12699
12699
|
/**
|
|
12700
12700
|
The given `slice` should fit the 'gap' between `from` and
|
|
12701
12701
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -12715,21 +12715,21 @@ class Pe extends je {
|
|
|
12715
12715
|
return new Ze([this.from, this.to - this.from, this.slice.size]);
|
|
12716
12716
|
}
|
|
12717
12717
|
invert(e) {
|
|
12718
|
-
return new
|
|
12718
|
+
return new Le(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
|
|
12719
12719
|
}
|
|
12720
12720
|
map(e) {
|
|
12721
12721
|
let t = e.mapResult(this.from, 1), i = e.mapResult(this.to, -1);
|
|
12722
|
-
return t.deletedAcross && i.deletedAcross ? null : new
|
|
12722
|
+
return t.deletedAcross && i.deletedAcross ? null : new Le(t.pos, Math.max(t.pos, i.pos), this.slice, this.structure);
|
|
12723
12723
|
}
|
|
12724
12724
|
merge(e) {
|
|
12725
|
-
if (!(e instanceof
|
|
12725
|
+
if (!(e instanceof Le) || e.structure || this.structure)
|
|
12726
12726
|
return null;
|
|
12727
12727
|
if (this.from + this.slice.size == e.from && !this.slice.openEnd && !e.slice.openStart) {
|
|
12728
12728
|
let t = this.slice.size + e.slice.size == 0 ? R.empty : new R(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
|
|
12729
|
-
return new
|
|
12729
|
+
return new Le(this.from, this.to + (e.to - e.from), t, this.structure);
|
|
12730
12730
|
} else if (e.to == this.from && !this.slice.openStart && !e.slice.openEnd) {
|
|
12731
12731
|
let t = this.slice.size + e.slice.size == 0 ? R.empty : new R(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
|
|
12732
|
-
return new
|
|
12732
|
+
return new Le(e.from, this.to, t, this.structure);
|
|
12733
12733
|
} else
|
|
12734
12734
|
return null;
|
|
12735
12735
|
}
|
|
@@ -12743,10 +12743,10 @@ class Pe extends je {
|
|
|
12743
12743
|
static fromJSON(e, t) {
|
|
12744
12744
|
if (typeof t.from != "number" || typeof t.to != "number")
|
|
12745
12745
|
throw new RangeError("Invalid input for ReplaceStep.fromJSON");
|
|
12746
|
-
return new
|
|
12746
|
+
return new Le(t.from, t.to, R.fromJSON(e, t.slice), !!t.structure);
|
|
12747
12747
|
}
|
|
12748
12748
|
}
|
|
12749
|
-
je.jsonID("replace",
|
|
12749
|
+
je.jsonID("replace", Le);
|
|
12750
12750
|
class Ae extends je {
|
|
12751
12751
|
/**
|
|
12752
12752
|
Create a replace-around step with the given range and gap.
|
|
@@ -12863,7 +12863,7 @@ function vl(n, e, t, i = t.contentMatch, r = !0) {
|
|
|
12863
12863
|
for (let a = 0; a < o.childCount; a++) {
|
|
12864
12864
|
let d = o.child(a), p = l + d.nodeSize, u = i.matchType(d.type);
|
|
12865
12865
|
if (!u)
|
|
12866
|
-
s.push(new
|
|
12866
|
+
s.push(new Le(l, p, R.empty));
|
|
12867
12867
|
else {
|
|
12868
12868
|
i = u;
|
|
12869
12869
|
for (let h = 0; h < d.marks.length; h++)
|
|
@@ -12871,7 +12871,7 @@ function vl(n, e, t, i = t.contentMatch, r = !0) {
|
|
|
12871
12871
|
if (r && d.isText && t.whitespace != "pre") {
|
|
12872
12872
|
let h, f = /\r?\n|\r/g, b;
|
|
12873
12873
|
for (; h = f.exec(d.text); )
|
|
12874
|
-
b || (b = new R(A.from(t.schema.text(" ", t.allowedMarks(d.marks))), 0, 0)), s.push(new
|
|
12874
|
+
b || (b = new R(A.from(t.schema.text(" ", t.allowedMarks(d.marks))), 0, 0)), s.push(new Le(l + h.index, l + h.index + h[0].length, b));
|
|
12875
12875
|
}
|
|
12876
12876
|
}
|
|
12877
12877
|
l = p;
|
|
@@ -13020,7 +13020,7 @@ function XT(n, e, t = 1, i) {
|
|
|
13020
13020
|
let p = i && i[d];
|
|
13021
13021
|
s = A.from(p ? p.type.create(p.attrs, s) : r.node(l).copy(s));
|
|
13022
13022
|
}
|
|
13023
|
-
n.step(new
|
|
13023
|
+
n.step(new Le(e, e, new R(o.append(s), t, t), !0));
|
|
13024
13024
|
}
|
|
13025
13025
|
function cn(n, e) {
|
|
13026
13026
|
let t = n.resolve(e), i = t.index();
|
|
@@ -13063,7 +13063,7 @@ function eM(n, e, t) {
|
|
|
13063
13063
|
}
|
|
13064
13064
|
s.inlineContent && vl(n, e + t - 1, s, o.node().contentMatchAt(o.index()), i == null);
|
|
13065
13065
|
let a = n.mapping.slice(l), d = a.map(e - t);
|
|
13066
|
-
if (n.step(new
|
|
13066
|
+
if (n.step(new Le(d, a.map(e + t, -1), R.empty, !0)), i === !0) {
|
|
13067
13067
|
let p = n.doc.resolve(d);
|
|
13068
13068
|
Fy(n, p.node(), p.before(), n.steps.length);
|
|
13069
13069
|
}
|
|
@@ -13116,7 +13116,7 @@ function Io(n, e, t = e, i = R.empty) {
|
|
|
13116
13116
|
if (e == t && !i.size)
|
|
13117
13117
|
return null;
|
|
13118
13118
|
let r = n.resolve(e), o = n.resolve(t);
|
|
13119
|
-
return Wy(r, o, i) ? new
|
|
13119
|
+
return Wy(r, o, i) ? new Le(e, t, i) : new nM(r, o, i).fit();
|
|
13120
13120
|
}
|
|
13121
13121
|
function Wy(n, e, t) {
|
|
13122
13122
|
return !t.openStart && !t.openEnd && n.start() == e.start() && n.parent.canReplace(n.index(), e.index(), t.content);
|
|
@@ -13149,7 +13149,7 @@ class nM {
|
|
|
13149
13149
|
for (; s && l && o.childCount == 1; )
|
|
13150
13150
|
o = o.firstChild.content, s--, l--;
|
|
13151
13151
|
let a = new R(o, s, l);
|
|
13152
|
-
return e > -1 ? new Ae(i.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || i.pos != this.$to.pos ? new
|
|
13152
|
+
return e > -1 ? new Ae(i.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || i.pos != this.$to.pos ? new Le(i.pos, r.pos, a) : null;
|
|
13153
13153
|
}
|
|
13154
13154
|
// Find a position on the start spine of `this.unplaced` that has
|
|
13155
13155
|
// content that can be moved somewhere on the frontier. Returns two
|
|
@@ -13306,7 +13306,7 @@ function oM(n, e, t, i) {
|
|
|
13306
13306
|
return n.deleteRange(e, t);
|
|
13307
13307
|
let r = n.doc.resolve(e), o = n.doc.resolve(t);
|
|
13308
13308
|
if (Wy(r, o, i))
|
|
13309
|
-
return n.step(new
|
|
13309
|
+
return n.step(new Le(e, t, i));
|
|
13310
13310
|
let s = Ky(r, n.doc.resolve(t));
|
|
13311
13311
|
s[s.length - 1] == 0 && s.pop();
|
|
13312
13312
|
let l = -(r.depth + 1);
|
|
@@ -14084,7 +14084,7 @@ function Xa(n, e, t) {
|
|
|
14084
14084
|
if (i < e)
|
|
14085
14085
|
return;
|
|
14086
14086
|
let r = n.steps[i];
|
|
14087
|
-
if (!(r instanceof
|
|
14087
|
+
if (!(r instanceof Le || r instanceof Ae))
|
|
14088
14088
|
return;
|
|
14089
14089
|
let o = n.mapping.maps[i], s;
|
|
14090
14090
|
o.forEach((l, a, d, p) => {
|
|
@@ -14635,7 +14635,7 @@ function SM(n) {
|
|
|
14635
14635
|
bottom: n.documentElement.clientHeight
|
|
14636
14636
|
};
|
|
14637
14637
|
}
|
|
14638
|
-
function
|
|
14638
|
+
function Pt(n, e) {
|
|
14639
14639
|
return typeof n == "number" ? n : n[e];
|
|
14640
14640
|
}
|
|
14641
14641
|
function wM(n) {
|
|
@@ -14655,7 +14655,7 @@ function rd(n, e, t) {
|
|
|
14655
14655
|
continue;
|
|
14656
14656
|
}
|
|
14657
14657
|
let l = s, a = l == o.body, d = a ? SM(o) : wM(l), p = 0, u = 0;
|
|
14658
|
-
if (e.top < d.top +
|
|
14658
|
+
if (e.top < d.top + Pt(i, "top") ? u = -(d.top - e.top + Pt(r, "top")) : e.bottom > d.bottom - Pt(i, "bottom") && (u = e.bottom - e.top > d.bottom - d.top ? e.top + Pt(r, "top") - d.top : e.bottom - d.bottom + Pt(r, "bottom")), e.left < d.left + Pt(i, "left") ? p = -(d.left - e.left + Pt(r, "left")) : e.right > d.right - Pt(i, "right") && (p = e.right - d.right + Pt(r, "right")), p || u)
|
|
14659
14659
|
if (a)
|
|
14660
14660
|
o.defaultView.scrollBy(p, u);
|
|
14661
14661
|
else {
|
|
@@ -14758,7 +14758,7 @@ function EM(n, e) {
|
|
|
14758
14758
|
let t = n.parentNode;
|
|
14759
14759
|
return t && /^li$/i.test(t.nodeName) && e.left < n.getBoundingClientRect().left ? t : n;
|
|
14760
14760
|
}
|
|
14761
|
-
function
|
|
14761
|
+
function PM(n, e, t) {
|
|
14762
14762
|
let { node: i, offset: r } = nv(e, t), o = -1;
|
|
14763
14763
|
if (i.nodeType == 1 && !i.firstChild) {
|
|
14764
14764
|
let s = i.getBoundingClientRect();
|
|
@@ -14766,7 +14766,7 @@ function LM(n, e, t) {
|
|
|
14766
14766
|
}
|
|
14767
14767
|
return n.docView.posFromDOM(i, r, o);
|
|
14768
14768
|
}
|
|
14769
|
-
function
|
|
14769
|
+
function LM(n, e, t, i) {
|
|
14770
14770
|
let r = -1;
|
|
14771
14771
|
for (let o = e, s = !1; o != n.dom; ) {
|
|
14772
14772
|
let l = n.docView.nearestDesc(o, !0), a;
|
|
@@ -14815,9 +14815,9 @@ function BM(n, e) {
|
|
|
14815
14815
|
p.nodeName == "IMG" && (u = p.getBoundingClientRect()).right <= e.left && u.bottom > e.top && r++;
|
|
14816
14816
|
}
|
|
14817
14817
|
let d;
|
|
14818
|
-
Zi && r && i.nodeType == 1 && (d = i.childNodes[r - 1]).nodeType == 1 && d.contentEditable == "false" && d.getBoundingClientRect().top >= e.top && r--, i == n.dom && r == i.childNodes.length - 1 && i.lastChild.nodeType == 1 && e.top > i.lastChild.getBoundingClientRect().bottom ? l = n.state.doc.content.size : (r == 0 || i.nodeType != 1 || i.childNodes[r - 1].nodeName != "BR") && (l =
|
|
14818
|
+
Zi && r && i.nodeType == 1 && (d = i.childNodes[r - 1]).nodeType == 1 && d.contentEditable == "false" && d.getBoundingClientRect().top >= e.top && r--, i == n.dom && r == i.childNodes.length - 1 && i.lastChild.nodeType == 1 && e.top > i.lastChild.getBoundingClientRect().bottom ? l = n.state.doc.content.size : (r == 0 || i.nodeType != 1 || i.childNodes[r - 1].nodeName != "BR") && (l = LM(n, i, r, e));
|
|
14819
14819
|
}
|
|
14820
|
-
l == null && (l =
|
|
14820
|
+
l == null && (l = PM(n, s, e));
|
|
14821
14821
|
let a = n.docView.nearestDesc(s, !0);
|
|
14822
14822
|
return { pos: l, inside: a ? a.posAtStart - a.border : -1 };
|
|
14823
14823
|
}
|
|
@@ -16624,7 +16624,7 @@ function h3(n, e) {
|
|
|
16624
16624
|
let t = e.x - n.clientX, i = e.y - n.clientY;
|
|
16625
16625
|
return t * t + i * i < 100;
|
|
16626
16626
|
}
|
|
16627
|
-
function
|
|
16627
|
+
function Pl(n, e, t, i, r) {
|
|
16628
16628
|
if (i == -1)
|
|
16629
16629
|
return !1;
|
|
16630
16630
|
let o = n.state.doc.resolve(i);
|
|
@@ -16661,13 +16661,13 @@ function b3(n, e) {
|
|
|
16661
16661
|
return r != null ? (ri(n, U.create(n.state.doc, r)), !0) : !1;
|
|
16662
16662
|
}
|
|
16663
16663
|
function m3(n, e, t, i, r) {
|
|
16664
|
-
return
|
|
16664
|
+
return Pl(n, "handleClickOn", e, t, i) || n.someProp("handleClick", (o) => o(n, e, i)) || (r ? b3(n, t) : f3(n, t));
|
|
16665
16665
|
}
|
|
16666
16666
|
function x3(n, e, t, i) {
|
|
16667
|
-
return
|
|
16667
|
+
return Pl(n, "handleDoubleClickOn", e, t, i) || n.someProp("handleDoubleClick", (r) => r(n, e, i));
|
|
16668
16668
|
}
|
|
16669
16669
|
function g3(n, e, t, i) {
|
|
16670
|
-
return
|
|
16670
|
+
return Pl(n, "handleTripleClickOn", e, t, i) || n.someProp("handleTripleClick", (r) => r(n, e, i)) || y3(n, t, i);
|
|
16671
16671
|
}
|
|
16672
16672
|
function y3(n, e, t) {
|
|
16673
16673
|
if (t.button != 0)
|
|
@@ -16687,14 +16687,14 @@ function y3(n, e, t) {
|
|
|
16687
16687
|
return !0;
|
|
16688
16688
|
}
|
|
16689
16689
|
}
|
|
16690
|
-
function
|
|
16690
|
+
function Ll(n) {
|
|
16691
16691
|
return Ur(n);
|
|
16692
16692
|
}
|
|
16693
16693
|
const Sv = at ? "metaKey" : "ctrlKey";
|
|
16694
16694
|
Ge.mousedown = (n, e) => {
|
|
16695
16695
|
let t = e;
|
|
16696
16696
|
n.input.shiftKey = t.shiftKey;
|
|
16697
|
-
let i =
|
|
16697
|
+
let i = Ll(n), r = Date.now(), o = "singleClick";
|
|
16698
16698
|
r - n.input.lastClick.time < 500 && h3(t, n.input.lastClick) && !t[Sv] && n.input.lastClick.button == t.button && (n.input.lastClick.type == "singleClick" ? o = "doubleClick" : n.input.lastClick.type == "doubleClick" && (o = "tripleClick")), n.input.lastClick = { time: r, x: t.clientX, y: t.clientY, type: o, button: t.button };
|
|
16699
16699
|
let s = n.posAtCoords(_o(t));
|
|
16700
16700
|
s && (o == "singleClick" ? (n.input.mouseDown && n.input.mouseDown.done(), n.input.mouseDown = new v3(n, s, t, !!i)) : (o == "doubleClick" ? x3 : g3)(n, s.pos, s.inside, t) ? t.preventDefault() : nn(n, "pointer"));
|
|
@@ -16746,12 +16746,12 @@ class v3 {
|
|
|
16746
16746
|
}
|
|
16747
16747
|
}
|
|
16748
16748
|
Ge.touchstart = (n) => {
|
|
16749
|
-
n.input.lastTouch = Date.now(),
|
|
16749
|
+
n.input.lastTouch = Date.now(), Ll(n), nn(n, "pointer");
|
|
16750
16750
|
};
|
|
16751
16751
|
Ge.touchmove = (n) => {
|
|
16752
16752
|
n.input.lastTouch = Date.now(), nn(n, "pointer");
|
|
16753
16753
|
};
|
|
16754
|
-
Ge.contextmenu = (n) =>
|
|
16754
|
+
Ge.contextmenu = (n) => Ll(n);
|
|
16755
16755
|
function wv(n, e) {
|
|
16756
16756
|
return n.composing ? !0 : Ue && Math.abs(e.timeStamp - n.input.compositionEndedAt) < 500 ? (n.input.compositionEndedAt = -2e8, !0) : !1;
|
|
16757
16757
|
}
|
|
@@ -17166,7 +17166,7 @@ class fe {
|
|
|
17166
17166
|
let a = this.local[l].map(e, i, r);
|
|
17167
17167
|
a && a.type.valid(t, a) ? (s || (s = [])).push(a) : o.onRemove && o.onRemove(this.local[l].spec);
|
|
17168
17168
|
}
|
|
17169
|
-
return this.children.length ?
|
|
17169
|
+
return this.children.length ? P3(this.children, s || [], e, t, i, r, o) : s ? new fe(s.sort(Mn), Jn) : Re;
|
|
17170
17170
|
}
|
|
17171
17171
|
/**
|
|
17172
17172
|
Add the given array of decorations to the ones in the set,
|
|
@@ -17181,13 +17181,13 @@ class fe {
|
|
|
17181
17181
|
let r, o = 0;
|
|
17182
17182
|
e.forEach((l, a) => {
|
|
17183
17183
|
let d = a + i, p;
|
|
17184
|
-
if (p =
|
|
17184
|
+
if (p = Lv(t, l, d)) {
|
|
17185
17185
|
for (r || (r = this.children.slice()); o < r.length && r[o] < a; )
|
|
17186
17186
|
o += 3;
|
|
17187
17187
|
r[o] == a ? r[o + 2] = r[o + 2].addInner(l, p, d + 1) : r.splice(o, 0, a, a + l.nodeSize, Kr(p, l, d + 1, Tn)), o += 3;
|
|
17188
17188
|
}
|
|
17189
17189
|
});
|
|
17190
|
-
let s =
|
|
17190
|
+
let s = Pv(o ? Bv(t) : t, -i);
|
|
17191
17191
|
for (let l = 0; l < s.length; l++)
|
|
17192
17192
|
s[l].type.valid(e, s[l]) || s.splice(l--, 1);
|
|
17193
17193
|
return new fe(s.length ? this.local.concat(s).sort(Mn) : this.local, r || this.children);
|
|
@@ -17344,7 +17344,7 @@ class Kt {
|
|
|
17344
17344
|
this.members[t].forEachSet(e);
|
|
17345
17345
|
}
|
|
17346
17346
|
}
|
|
17347
|
-
function
|
|
17347
|
+
function P3(n, e, t, i, r, o, s) {
|
|
17348
17348
|
let l = n.slice();
|
|
17349
17349
|
for (let d = 0, p = o; d < t.maps.length; d++) {
|
|
17350
17350
|
let u = 0;
|
|
@@ -17380,7 +17380,7 @@ function L3(n, e, t, i, r, o, s) {
|
|
|
17380
17380
|
a = !0;
|
|
17381
17381
|
}
|
|
17382
17382
|
if (a) {
|
|
17383
|
-
let d =
|
|
17383
|
+
let d = L3(l, n, e, t, r, o, s), p = Kr(d, i, 0, s);
|
|
17384
17384
|
e = p.local;
|
|
17385
17385
|
for (let u = 0; u < l.length; u += 3)
|
|
17386
17386
|
l[u + 1] < 0 && (l.splice(u, 3), u -= 3);
|
|
@@ -17393,7 +17393,7 @@ function L3(n, e, t, i, r, o, s) {
|
|
|
17393
17393
|
}
|
|
17394
17394
|
return new fe(e.sort(Mn), l);
|
|
17395
17395
|
}
|
|
17396
|
-
function
|
|
17396
|
+
function Pv(n, e) {
|
|
17397
17397
|
if (!e || !n.length)
|
|
17398
17398
|
return n;
|
|
17399
17399
|
let t = [];
|
|
@@ -17403,7 +17403,7 @@ function Lv(n, e) {
|
|
|
17403
17403
|
}
|
|
17404
17404
|
return t;
|
|
17405
17405
|
}
|
|
17406
|
-
function
|
|
17406
|
+
function L3(n, e, t, i, r, o, s) {
|
|
17407
17407
|
function l(a, d) {
|
|
17408
17408
|
for (let p = 0; p < a.local.length; p++) {
|
|
17409
17409
|
let u = a.local[p].map(i, r, d);
|
|
@@ -17416,7 +17416,7 @@ function P3(n, e, t, i, r, o, s) {
|
|
|
17416
17416
|
n[a + 1] == -1 && l(n[a + 2], e[a] + o + 1);
|
|
17417
17417
|
return t;
|
|
17418
17418
|
}
|
|
17419
|
-
function
|
|
17419
|
+
function Lv(n, e, t) {
|
|
17420
17420
|
if (e.isLeaf)
|
|
17421
17421
|
return null;
|
|
17422
17422
|
let i = t + e.nodeSize, r = null;
|
|
@@ -17433,14 +17433,14 @@ function Bv(n) {
|
|
|
17433
17433
|
function Kr(n, e, t, i) {
|
|
17434
17434
|
let r = [], o = !1;
|
|
17435
17435
|
e.forEach((l, a) => {
|
|
17436
|
-
let d =
|
|
17436
|
+
let d = Lv(n, l, a + t);
|
|
17437
17437
|
if (d) {
|
|
17438
17438
|
o = !0;
|
|
17439
17439
|
let p = Kr(d, l, t + a + 1, i);
|
|
17440
17440
|
p != Re && r.push(a, a + l.nodeSize, p);
|
|
17441
17441
|
}
|
|
17442
17442
|
});
|
|
17443
|
-
let s =
|
|
17443
|
+
let s = Pv(o ? Bv(n) : n, -t).sort(Mn);
|
|
17444
17444
|
for (let l = 0; l < s.length; l++)
|
|
17445
17445
|
s[l].type.valid(e, s[l]) || (i.onRemove && i.onRemove(s[l].spec), s.splice(l--, 1));
|
|
17446
17446
|
return s.length || r.length ? new fe(s, r) : Re;
|
|
@@ -17744,7 +17744,7 @@ function z3(n, e, t, i, r) {
|
|
|
17744
17744
|
b = { start: a.from, endA: a.to, endB: a.to };
|
|
17745
17745
|
else {
|
|
17746
17746
|
if (d.sel) {
|
|
17747
|
-
let N =
|
|
17747
|
+
let N = Pd(n, n.state.doc, d.sel);
|
|
17748
17748
|
if (N && !N.eq(n.state.selection)) {
|
|
17749
17749
|
let z = n.state.tr.setSelection(N);
|
|
17750
17750
|
o && z.setMeta("composition", o), n.dispatch(z);
|
|
@@ -17767,33 +17767,33 @@ function z3(n, e, t, i, r) {
|
|
|
17767
17767
|
return N(n, mn(13, "Enter"));
|
|
17768
17768
|
});
|
|
17769
17769
|
}, 20));
|
|
17770
|
-
let M = b.start,
|
|
17771
|
-
let z = N || n.state.tr.replace(M,
|
|
17770
|
+
let M = b.start, P = b.endA, H = (N) => {
|
|
17771
|
+
let z = N || n.state.tr.replace(M, P, d.doc.slice(b.start - d.from, b.endB - d.from));
|
|
17772
17772
|
if (d.sel) {
|
|
17773
|
-
let D =
|
|
17774
|
-
D && !(Ve && n.composing && D.empty && (b.start != b.endB || n.input.lastChromeDelete < Date.now() - 100) && (D.head == M || D.head == z.mapping.map(
|
|
17773
|
+
let D = Pd(n, z.doc, d.sel);
|
|
17774
|
+
D && !(Ve && n.composing && D.empty && (b.start != b.endB || n.input.lastChromeDelete < Date.now() - 100) && (D.head == M || D.head == z.mapping.map(P) - 1) || Qe && D.empty && D.head == M) && z.setSelection(D);
|
|
17775
17775
|
}
|
|
17776
17776
|
return o && z.setMeta("composition", o), z.scrollIntoView();
|
|
17777
17777
|
}, I;
|
|
17778
17778
|
if (T) {
|
|
17779
17779
|
if (m.pos == x.pos) {
|
|
17780
17780
|
Qe && on <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Nt(n), 20));
|
|
17781
|
-
let N = H(n.state.tr.delete(M,
|
|
17781
|
+
let N = H(n.state.tr.delete(M, P)), z = p.resolve(b.start).marksAcross(p.resolve(b.endA));
|
|
17782
17782
|
z && N.ensureMarks(z), n.dispatch(N);
|
|
17783
17783
|
} else if (
|
|
17784
17784
|
// Adding or removing a mark
|
|
17785
17785
|
b.endA == b.endB && (I = F3(m.parent.content.cut(m.parentOffset, x.parentOffset), v.parent.content.cut(v.parentOffset, b.endA - v.start())))
|
|
17786
17786
|
) {
|
|
17787
17787
|
let N = H(n.state.tr);
|
|
17788
|
-
I.type == "add" ? N.addMark(M,
|
|
17788
|
+
I.type == "add" ? N.addMark(M, P, I.mark) : N.removeMark(M, P, I.mark), n.dispatch(N);
|
|
17789
17789
|
} else if (m.parent.child(m.index()).isText && m.index() == x.index() - (x.textOffset ? 0 : 1)) {
|
|
17790
|
-
let N = m.parent.textBetween(m.parentOffset, x.parentOffset), z = () => H(n.state.tr.insertText(N, M,
|
|
17791
|
-
n.someProp("handleTextInput", (D) => D(n, M,
|
|
17790
|
+
let N = m.parent.textBetween(m.parentOffset, x.parentOffset), z = () => H(n.state.tr.insertText(N, M, P));
|
|
17791
|
+
n.someProp("handleTextInput", (D) => D(n, M, P, N, z)) || n.dispatch(z());
|
|
17792
17792
|
}
|
|
17793
17793
|
} else
|
|
17794
17794
|
n.dispatch(H());
|
|
17795
17795
|
}
|
|
17796
|
-
function
|
|
17796
|
+
function Pd(n, e, t) {
|
|
17797
17797
|
return Math.max(t.anchor, t.head) > e.content.size ? null : Tl(n, e.resolve(t.anchor), e.resolve(t.head));
|
|
17798
17798
|
}
|
|
17799
17799
|
function F3(n, e) {
|
|
@@ -17853,14 +17853,14 @@ function j3(n, e, t, i, r) {
|
|
|
17853
17853
|
}
|
|
17854
17854
|
if (s < o && n.size < e.size) {
|
|
17855
17855
|
let a = i <= o && i >= s ? o - i : 0;
|
|
17856
|
-
o -= a, o && o < e.size &&
|
|
17856
|
+
o -= a, o && o < e.size && Ld(e.textBetween(o - 1, o + 1)) && (o += a ? 1 : -1), l = o + (l - s), s = o;
|
|
17857
17857
|
} else if (l < o) {
|
|
17858
17858
|
let a = i <= o && i >= l ? o - i : 0;
|
|
17859
|
-
o -= a, o && o < n.size &&
|
|
17859
|
+
o -= a, o && o < n.size && Ld(n.textBetween(o - 1, o + 1)) && (o += a ? 1 : -1), s = o + (s - l), l = o;
|
|
17860
17860
|
}
|
|
17861
17861
|
return { start: o, endA: s, endB: l };
|
|
17862
17862
|
}
|
|
17863
|
-
function
|
|
17863
|
+
function Ld(n) {
|
|
17864
17864
|
if (n.length != 2)
|
|
17865
17865
|
return !1;
|
|
17866
17866
|
let e = n.charCodeAt(0), t = n.charCodeAt(1);
|
|
@@ -18455,7 +18455,7 @@ function Ov(n, e, t) {
|
|
|
18455
18455
|
l = p;
|
|
18456
18456
|
}
|
|
18457
18457
|
let d = Io(n.doc, o, a, R.empty);
|
|
18458
|
-
if (!d || d.from != o || d instanceof
|
|
18458
|
+
if (!d || d.from != o || d instanceof Le && d.slice.size >= a - o)
|
|
18459
18459
|
return !1;
|
|
18460
18460
|
if (t) {
|
|
18461
18461
|
let p = n.tr.step(d);
|
|
@@ -19320,7 +19320,7 @@ function EE(n, e) {
|
|
|
19320
19320
|
marks: a
|
|
19321
19321
|
});
|
|
19322
19322
|
}
|
|
19323
|
-
function
|
|
19323
|
+
function PE(n) {
|
|
19324
19324
|
const e = n.filter((t, i) => n.indexOf(t) !== i);
|
|
19325
19325
|
return Array.from(new Set(e));
|
|
19326
19326
|
}
|
|
@@ -19331,7 +19331,7 @@ function Rl(n) {
|
|
|
19331
19331
|
});
|
|
19332
19332
|
}
|
|
19333
19333
|
function Yv(n) {
|
|
19334
|
-
const e = Rl(Nl(n)), t =
|
|
19334
|
+
const e = Rl(Nl(n)), t = PE(e.map((i) => i.name));
|
|
19335
19335
|
return t.length && console.warn(
|
|
19336
19336
|
`[tiptap warn]: Duplicate extension names found: [${t.map((i) => `'${i}'`).join(", ")}]. This can lead to issues.`
|
|
19337
19337
|
), e;
|
|
@@ -19356,7 +19356,7 @@ function Qv(n, e, t) {
|
|
|
19356
19356
|
a.isText && (l += (h = a == null ? void 0 : a.text) == null ? void 0 : h.slice(Math.max(i, d) - d, r - d));
|
|
19357
19357
|
}), l;
|
|
19358
19358
|
}
|
|
19359
|
-
function
|
|
19359
|
+
function LE(n, e) {
|
|
19360
19360
|
const t = {
|
|
19361
19361
|
from: 0,
|
|
19362
19362
|
to: n.content.size
|
|
@@ -19660,7 +19660,7 @@ function HE(n, e, t) {
|
|
|
19660
19660
|
if (i < e)
|
|
19661
19661
|
return;
|
|
19662
19662
|
const r = n.steps[i];
|
|
19663
|
-
if (!(r instanceof
|
|
19663
|
+
if (!(r instanceof Le || r instanceof Ae))
|
|
19664
19664
|
return;
|
|
19665
19665
|
const o = n.mapping.maps[i];
|
|
19666
19666
|
let s = 0;
|
|
@@ -19904,14 +19904,14 @@ function WE(n) {
|
|
|
19904
19904
|
var m, x, v, T, S;
|
|
19905
19905
|
if ((x = (m = f.type) == null ? void 0 : m.spec) != null && x.code || !(f.isText || f.isTextblock || f.isInline))
|
|
19906
19906
|
return;
|
|
19907
|
-
const M = (S = (T = (v = f.content) == null ? void 0 : v.size) != null ? T : f.nodeSize) != null ? S : 0,
|
|
19908
|
-
if (
|
|
19907
|
+
const M = (S = (T = (v = f.content) == null ? void 0 : v.size) != null ? T : f.nodeSize) != null ? S : 0, P = Math.max(i, b), H = Math.min(r, b + M);
|
|
19908
|
+
if (P >= H)
|
|
19909
19909
|
return;
|
|
19910
|
-
const I = f.isText ? f.text || "" : f.textBetween(
|
|
19910
|
+
const I = f.isText ? f.text || "" : f.textBetween(P - b, H - b, void 0, "");
|
|
19911
19911
|
qE(I, o.find, s).forEach((z) => {
|
|
19912
19912
|
if (z.index === void 0)
|
|
19913
19913
|
return;
|
|
19914
|
-
const D =
|
|
19914
|
+
const D = P + z.index + 1, _ = D + z[0].length, X = {
|
|
19915
19915
|
from: t.tr.mapping.map(D),
|
|
19916
19916
|
to: t.tr.mapping.map(_)
|
|
19917
19917
|
}, V = o.handler({
|
|
@@ -20010,9 +20010,9 @@ function GE(n) {
|
|
|
20010
20010
|
if (!m && !x && !T)
|
|
20011
20011
|
return;
|
|
20012
20012
|
if (T) {
|
|
20013
|
-
let { text:
|
|
20014
|
-
typeof
|
|
20015
|
-
const { from: H } = v, I = H +
|
|
20013
|
+
let { text: P } = v;
|
|
20014
|
+
typeof P == "string" ? P = P : P = Hl(A.from(P), f.schema);
|
|
20015
|
+
const { from: H } = v, I = H + P.length, N = UE(P);
|
|
20016
20016
|
return a({
|
|
20017
20017
|
rule: p,
|
|
20018
20018
|
state: f,
|
|
@@ -20182,7 +20182,7 @@ var jo = class {
|
|
|
20182
20182
|
extension: t,
|
|
20183
20183
|
HTMLAttributes: p,
|
|
20184
20184
|
updateAttributes: (u) => {
|
|
20185
|
-
|
|
20185
|
+
dP(l, n, u);
|
|
20186
20186
|
}
|
|
20187
20187
|
});
|
|
20188
20188
|
};
|
|
@@ -20307,8 +20307,8 @@ Wv(p0, {
|
|
|
20307
20307
|
lift: () => T4,
|
|
20308
20308
|
liftEmptyBlock: () => M4,
|
|
20309
20309
|
liftListItem: () => E4,
|
|
20310
|
-
newlineInCode: () =>
|
|
20311
|
-
resetAttributes: () =>
|
|
20310
|
+
newlineInCode: () => P4,
|
|
20311
|
+
resetAttributes: () => L4,
|
|
20312
20312
|
scrollIntoView: () => B4,
|
|
20313
20313
|
selectAll: () => A4,
|
|
20314
20314
|
selectNodeBackward: () => I4,
|
|
@@ -20332,9 +20332,9 @@ Wv(p0, {
|
|
|
20332
20332
|
undoInputRule: () => Q4,
|
|
20333
20333
|
unsetAllMarks: () => X4,
|
|
20334
20334
|
unsetMark: () => Z4,
|
|
20335
|
-
updateAttributes: () =>
|
|
20336
|
-
wrapIn: () =>
|
|
20337
|
-
wrapInList: () =>
|
|
20335
|
+
updateAttributes: () => eP,
|
|
20336
|
+
wrapIn: () => tP,
|
|
20337
|
+
wrapInList: () => nP
|
|
20338
20338
|
});
|
|
20339
20339
|
var JE = () => ({ editor: n, view: e }) => (requestAnimationFrame(() => {
|
|
20340
20340
|
var t;
|
|
@@ -20557,12 +20557,12 @@ var k4 = (n) => ({ editor: e, view: t, tr: i, dispatch: r }) => {
|
|
|
20557
20557
|
}, M4 = () => ({ state: n, dispatch: e }) => Vv(n, e), E4 = (n) => ({ state: e, dispatch: t }) => {
|
|
20558
20558
|
const i = ke(n, e.schema);
|
|
20559
20559
|
return mE(i)(e, t);
|
|
20560
|
-
},
|
|
20560
|
+
}, P4 = () => ({ state: n, dispatch: e }) => zv(n, e);
|
|
20561
20561
|
function Fd(n, e) {
|
|
20562
20562
|
const t = typeof e == "string" ? [e] : e;
|
|
20563
20563
|
return Object.keys(n).reduce((i, r) => (t.includes(r) || (i[r] = n[r]), i), {});
|
|
20564
20564
|
}
|
|
20565
|
-
var
|
|
20565
|
+
var L4 = (n, e) => ({ tr: t, state: i, dispatch: r }) => {
|
|
20566
20566
|
let o = null, s = null;
|
|
20567
20567
|
const l = zo(
|
|
20568
20568
|
typeof n == "string" ? n : n.name,
|
|
@@ -20721,8 +20721,8 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20721
20721
|
), M = {
|
|
20722
20722
|
...Ir(h, a.node().type.name, a.node().attrs),
|
|
20723
20723
|
...e
|
|
20724
|
-
},
|
|
20725
|
-
v = v.append(A.from(l.createAndFill(null,
|
|
20724
|
+
}, P = ((s = l.contentMatch.defaultType) == null ? void 0 : s.createAndFill(M)) || void 0;
|
|
20725
|
+
v = v.append(A.from(l.createAndFill(null, P) || void 0));
|
|
20726
20726
|
const H = a.before(a.depth - (T - 1));
|
|
20727
20727
|
t.replace(H, a.after(-S), new R(v, 4 - T, 0));
|
|
20728
20728
|
let I = -1;
|
|
@@ -20752,8 +20752,8 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20752
20752
|
const { selection: v, storedMarks: T } = i, { splittableMarks: S } = o.extensionManager, M = T || v.$to.parentOffset && v.$from.marks();
|
|
20753
20753
|
if (t.split(a.pos, 2, x).scrollIntoView(), !M || !r)
|
|
20754
20754
|
return !0;
|
|
20755
|
-
const
|
|
20756
|
-
t.ensureMarks(
|
|
20755
|
+
const P = M.filter((H) => S.includes(H.type.name));
|
|
20756
|
+
t.ensureMarks(P);
|
|
20757
20757
|
}
|
|
20758
20758
|
return !0;
|
|
20759
20759
|
}, gs = (n, e) => {
|
|
@@ -20778,12 +20778,12 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20778
20778
|
const { extensions: u, splittableMarks: h } = r.extensionManager, f = ke(n, s.schema), b = ke(e, s.schema), { selection: m, storedMarks: x } = s, { $from: v, $to: T } = m, S = v.blockRange(T), M = x || m.$to.parentOffset && m.$from.marks();
|
|
20779
20779
|
if (!S)
|
|
20780
20780
|
return !1;
|
|
20781
|
-
const
|
|
20782
|
-
if (S.depth >= 1 &&
|
|
20783
|
-
if (
|
|
20781
|
+
const P = Ro((H) => zd(H.type.name, u))(m);
|
|
20782
|
+
if (S.depth >= 1 && P && S.depth - P.depth <= 1) {
|
|
20783
|
+
if (P.node.type === f)
|
|
20784
20784
|
return d.liftListItem(b);
|
|
20785
|
-
if (zd(
|
|
20786
|
-
return a().command(() => (o.setNodeMarkup(
|
|
20785
|
+
if (zd(P.node.type.name, u) && f.validContent(P.node.content) && l)
|
|
20786
|
+
return a().command(() => (o.setNodeMarkup(P.pos, f), !0)).command(() => gs(o, f)).command(() => ys(o, f)).run();
|
|
20787
20787
|
}
|
|
20788
20788
|
return !t || !M || !l ? a().command(() => p().wrapInList(f, i) ? !0 : d.clearNodes()).wrapInList(f, i).command(() => gs(o, f)).command(() => ys(o, f)).run() : a().command(() => {
|
|
20789
20789
|
const H = p().wrapInList(f, i), I = M.filter((N) => h.includes(N.type.name));
|
|
@@ -20838,7 +20838,7 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20838
20838
|
t.removeMark(h.$from.pos, h.$to.pos, a);
|
|
20839
20839
|
});
|
|
20840
20840
|
return t.removeStoredMark(a), !0;
|
|
20841
|
-
},
|
|
20841
|
+
}, eP = (n, e = {}) => ({ tr: t, state: i, dispatch: r }) => {
|
|
20842
20842
|
let o = null, s = null;
|
|
20843
20843
|
const l = zo(
|
|
20844
20844
|
typeof n == "string" ? n : n.name,
|
|
@@ -20880,10 +20880,10 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20880
20880
|
);
|
|
20881
20881
|
}));
|
|
20882
20882
|
}), !0) : !1;
|
|
20883
|
-
},
|
|
20883
|
+
}, tP = (n, e = {}) => ({ state: t, dispatch: i }) => {
|
|
20884
20884
|
const r = ke(n, t.schema);
|
|
20885
20885
|
return uE(r, e)(t, i);
|
|
20886
|
-
},
|
|
20886
|
+
}, nP = (n, e = {}) => ({ state: t, dispatch: i }) => {
|
|
20887
20887
|
const r = ke(n, t.schema);
|
|
20888
20888
|
return hE(r, e)(t, i);
|
|
20889
20889
|
}, u0 = ye.create({
|
|
@@ -20925,7 +20925,7 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20925
20925
|
p.steps.forEach((f, b) => {
|
|
20926
20926
|
var m, x;
|
|
20927
20927
|
if (f instanceof mt) {
|
|
20928
|
-
const v = h.slice(b).map(f.from, -1), T = h.slice(b).map(f.to), S = h.invert().map(v, -1), M = h.invert().map(T),
|
|
20928
|
+
const v = h.slice(b).map(f.from, -1), T = h.slice(b).map(f.to), S = h.invert().map(v, -1), M = h.invert().map(T), P = (m = p.doc.nodeAt(v - 1)) == null ? void 0 : m.marks.some((I) => I.eq(f.mark)), H = (x = p.doc.nodeAt(T)) == null ? void 0 : x.marks.some((I) => I.eq(f.mark));
|
|
20929
20929
|
this.editor.emit("delete", {
|
|
20930
20930
|
type: "mark",
|
|
20931
20931
|
mark: f.mark,
|
|
@@ -20939,7 +20939,7 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
20939
20939
|
from: v,
|
|
20940
20940
|
to: T
|
|
20941
20941
|
},
|
|
20942
|
-
partial: !!(H ||
|
|
20942
|
+
partial: !!(H || P),
|
|
20943
20943
|
editor: this.editor,
|
|
20944
20944
|
transaction: n,
|
|
20945
20945
|
combinedTransform: p
|
|
@@ -21112,7 +21112,7 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
21112
21112
|
})
|
|
21113
21113
|
];
|
|
21114
21114
|
}
|
|
21115
|
-
}),
|
|
21115
|
+
}), iP = class Yn {
|
|
21116
21116
|
constructor(e, t, i = !1, r = null) {
|
|
21117
21117
|
this.currentNode = null, this.actualDepth = null, this.isBlock = i, this.resolvedPos = e, this.editor = t, this.currentNode = r;
|
|
21118
21118
|
}
|
|
@@ -21237,7 +21237,7 @@ var W4 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
21237
21237
|
...e
|
|
21238
21238
|
}), this.editor.view.dispatch(t);
|
|
21239
21239
|
}
|
|
21240
|
-
},
|
|
21240
|
+
}, rP = `.ProseMirror {
|
|
21241
21241
|
position: relative;
|
|
21242
21242
|
}
|
|
21243
21243
|
|
|
@@ -21308,14 +21308,14 @@ img.ProseMirror-separator {
|
|
|
21308
21308
|
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
21309
21309
|
display: block;
|
|
21310
21310
|
}`;
|
|
21311
|
-
function
|
|
21311
|
+
function oP(n, e, t) {
|
|
21312
21312
|
const i = document.querySelector("style[data-tiptap-style]");
|
|
21313
21313
|
if (i !== null)
|
|
21314
21314
|
return i;
|
|
21315
21315
|
const r = document.createElement("style");
|
|
21316
21316
|
return e && r.setAttribute("nonce", e), r.setAttribute("data-tiptap-style", ""), r.innerHTML = n, document.getElementsByTagName("head")[0].appendChild(r), r;
|
|
21317
21317
|
}
|
|
21318
|
-
var
|
|
21318
|
+
var sP = class extends SE {
|
|
21319
21319
|
constructor(e = {}) {
|
|
21320
21320
|
super(), this.css = null, this.editorView = null, this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.instanceId = Math.random().toString(36).slice(2, 9), this.options = {
|
|
21321
21321
|
element: typeof document < "u" ? document.createElement("div") : null,
|
|
@@ -21413,7 +21413,7 @@ var sL = class extends SE {
|
|
|
21413
21413
|
* Inject CSS styles.
|
|
21414
21414
|
*/
|
|
21415
21415
|
injectCSS() {
|
|
21416
|
-
this.options.injectCSS && typeof document < "u" && (this.css =
|
|
21416
|
+
this.options.injectCSS && typeof document < "u" && (this.css = oP(rP, this.options.injectNonce));
|
|
21417
21417
|
}
|
|
21418
21418
|
/**
|
|
21419
21419
|
* Update editor options.
|
|
@@ -21688,7 +21688,7 @@ var sL = class extends SE {
|
|
|
21688
21688
|
const { blockSeparator: t = `
|
|
21689
21689
|
|
|
21690
21690
|
`, textSerializers: i = {} } = e || {};
|
|
21691
|
-
return
|
|
21691
|
+
return LE(this.state.doc, {
|
|
21692
21692
|
blockSeparator: t,
|
|
21693
21693
|
textSerializers: {
|
|
21694
21694
|
...Xv(this.schema),
|
|
@@ -21725,7 +21725,7 @@ var sL = class extends SE {
|
|
|
21725
21725
|
}
|
|
21726
21726
|
$pos(e) {
|
|
21727
21727
|
const t = this.state.doc.resolve(e);
|
|
21728
|
-
return new
|
|
21728
|
+
return new iP(t, this);
|
|
21729
21729
|
}
|
|
21730
21730
|
get $doc() {
|
|
21731
21731
|
return this.$pos(0);
|
|
@@ -21750,7 +21750,7 @@ function di(n) {
|
|
|
21750
21750
|
}
|
|
21751
21751
|
});
|
|
21752
21752
|
}
|
|
21753
|
-
function
|
|
21753
|
+
function lP(n) {
|
|
21754
21754
|
return new Vo({
|
|
21755
21755
|
find: n.find,
|
|
21756
21756
|
handler: ({ state: e, range: t, match: i }) => {
|
|
@@ -21805,7 +21805,7 @@ function pi(n) {
|
|
|
21805
21805
|
}
|
|
21806
21806
|
});
|
|
21807
21807
|
}
|
|
21808
|
-
function
|
|
21808
|
+
function aP(n, e) {
|
|
21809
21809
|
const { selection: t } = n, { $from: i } = t;
|
|
21810
21810
|
if (t instanceof U) {
|
|
21811
21811
|
const o = i.index();
|
|
@@ -21820,7 +21820,7 @@ function aL(n, e) {
|
|
|
21820
21820
|
}
|
|
21821
21821
|
return !1;
|
|
21822
21822
|
}
|
|
21823
|
-
function
|
|
21823
|
+
function dP(n, e, t = {}) {
|
|
21824
21824
|
const { state: i } = e, { doc: r, tr: o } = i, s = n;
|
|
21825
21825
|
r.descendants((l, a) => {
|
|
21826
21826
|
const d = o.mapping.map(a), p = o.mapping.map(a) + l.nodeSize;
|
|
@@ -21895,7 +21895,7 @@ function jd(n) {
|
|
|
21895
21895
|
}
|
|
21896
21896
|
}));
|
|
21897
21897
|
}
|
|
21898
|
-
var
|
|
21898
|
+
var pP = class extends sP {
|
|
21899
21899
|
constructor(n = {}) {
|
|
21900
21900
|
return super(n), this.contentComponent = null, this.appContext = null, this.reactiveState = jd(this.view.state), this.reactiveExtensionStorage = jd(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
21901
21901
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
@@ -21921,7 +21921,7 @@ var pL = class extends sL {
|
|
|
21921
21921
|
const e = super.unregisterPlugin(n);
|
|
21922
21922
|
return this.reactiveState && e && (this.reactiveState.value = e), e;
|
|
21923
21923
|
}
|
|
21924
|
-
},
|
|
21924
|
+
}, cP = tt({
|
|
21925
21925
|
name: "EditorContent",
|
|
21926
21926
|
props: {
|
|
21927
21927
|
editor: {
|
|
@@ -22005,10 +22005,10 @@ tt({
|
|
|
22005
22005
|
);
|
|
22006
22006
|
}
|
|
22007
22007
|
});
|
|
22008
|
-
var
|
|
22008
|
+
var uP = (n = {}) => {
|
|
22009
22009
|
const e = p1();
|
|
22010
|
-
return
|
|
22011
|
-
e.value = new
|
|
22010
|
+
return Ln(() => {
|
|
22011
|
+
e.value = new pP(n);
|
|
22012
22012
|
}), lp(() => {
|
|
22013
22013
|
var t, i, r;
|
|
22014
22014
|
const o = (t = e.value) == null ? void 0 : t.options.element, s = o == null ? void 0 : o.cloneNode(!0);
|
|
@@ -22041,7 +22041,7 @@ var Xr = (n, e) => {
|
|
|
22041
22041
|
if (n === "svg")
|
|
22042
22042
|
throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");
|
|
22043
22043
|
return [n, i, t];
|
|
22044
|
-
},
|
|
22044
|
+
}, hP = /^\s*>\s$/, fP = nt.create({
|
|
22045
22045
|
name: "blockquote",
|
|
22046
22046
|
addOptions() {
|
|
22047
22047
|
return {
|
|
@@ -22072,12 +22072,12 @@ var Xr = (n, e) => {
|
|
|
22072
22072
|
addInputRules() {
|
|
22073
22073
|
return [
|
|
22074
22074
|
pi({
|
|
22075
|
-
find:
|
|
22075
|
+
find: hP,
|
|
22076
22076
|
type: this.type
|
|
22077
22077
|
})
|
|
22078
22078
|
];
|
|
22079
22079
|
}
|
|
22080
|
-
}),
|
|
22080
|
+
}), bP = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, mP = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, xP = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, gP = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, yP = Rn.create({
|
|
22081
22081
|
name: "bold",
|
|
22082
22082
|
addOptions() {
|
|
22083
22083
|
return {
|
|
@@ -22122,11 +22122,11 @@ var Xr = (n, e) => {
|
|
|
22122
22122
|
addInputRules() {
|
|
22123
22123
|
return [
|
|
22124
22124
|
di({
|
|
22125
|
-
find:
|
|
22125
|
+
find: bP,
|
|
22126
22126
|
type: this.type
|
|
22127
22127
|
}),
|
|
22128
22128
|
di({
|
|
22129
|
-
find:
|
|
22129
|
+
find: xP,
|
|
22130
22130
|
type: this.type
|
|
22131
22131
|
})
|
|
22132
22132
|
];
|
|
@@ -22134,16 +22134,16 @@ var Xr = (n, e) => {
|
|
|
22134
22134
|
addPasteRules() {
|
|
22135
22135
|
return [
|
|
22136
22136
|
Nn({
|
|
22137
|
-
find:
|
|
22137
|
+
find: mP,
|
|
22138
22138
|
type: this.type
|
|
22139
22139
|
}),
|
|
22140
22140
|
Nn({
|
|
22141
|
-
find:
|
|
22141
|
+
find: gP,
|
|
22142
22142
|
type: this.type
|
|
22143
22143
|
})
|
|
22144
22144
|
];
|
|
22145
22145
|
}
|
|
22146
|
-
}),
|
|
22146
|
+
}), vP = /(^|[^`])`([^`]+)`(?!`)$/, SP = /(^|[^`])`([^`]+)`(?!`)/g, wP = Rn.create({
|
|
22147
22147
|
name: "code",
|
|
22148
22148
|
addOptions() {
|
|
22149
22149
|
return {
|
|
@@ -22174,7 +22174,7 @@ var Xr = (n, e) => {
|
|
|
22174
22174
|
addInputRules() {
|
|
22175
22175
|
return [
|
|
22176
22176
|
di({
|
|
22177
|
-
find:
|
|
22177
|
+
find: vP,
|
|
22178
22178
|
type: this.type
|
|
22179
22179
|
})
|
|
22180
22180
|
];
|
|
@@ -22182,12 +22182,12 @@ var Xr = (n, e) => {
|
|
|
22182
22182
|
addPasteRules() {
|
|
22183
22183
|
return [
|
|
22184
22184
|
Nn({
|
|
22185
|
-
find:
|
|
22185
|
+
find: SP,
|
|
22186
22186
|
type: this.type
|
|
22187
22187
|
})
|
|
22188
22188
|
];
|
|
22189
22189
|
}
|
|
22190
|
-
}),
|
|
22190
|
+
}), CP = /^```([a-z]+)?[\s\n]$/, kP = /^~~~([a-z]+)?[\s\n]$/, TP = nt.create({
|
|
22191
22191
|
name: "codeBlock",
|
|
22192
22192
|
addOptions() {
|
|
22193
22193
|
return {
|
|
@@ -22337,14 +22337,14 @@ var Xr = (n, e) => {
|
|
|
22337
22337
|
addInputRules() {
|
|
22338
22338
|
return [
|
|
22339
22339
|
il({
|
|
22340
|
-
find:
|
|
22340
|
+
find: CP,
|
|
22341
22341
|
type: this.type,
|
|
22342
22342
|
getAttributes: (n) => ({
|
|
22343
22343
|
language: n[1]
|
|
22344
22344
|
})
|
|
22345
22345
|
}),
|
|
22346
22346
|
il({
|
|
22347
|
-
find:
|
|
22347
|
+
find: kP,
|
|
22348
22348
|
type: this.type,
|
|
22349
22349
|
getAttributes: (n) => ({
|
|
22350
22350
|
language: n[1]
|
|
@@ -22373,11 +22373,11 @@ var Xr = (n, e) => {
|
|
|
22373
22373
|
})
|
|
22374
22374
|
];
|
|
22375
22375
|
}
|
|
22376
|
-
}),
|
|
22376
|
+
}), MP = nt.create({
|
|
22377
22377
|
name: "doc",
|
|
22378
22378
|
topNode: !0,
|
|
22379
22379
|
content: "block+"
|
|
22380
|
-
}),
|
|
22380
|
+
}), EP = nt.create({
|
|
22381
22381
|
name: "hardBreak",
|
|
22382
22382
|
addOptions() {
|
|
22383
22383
|
return {
|
|
@@ -22425,7 +22425,7 @@ var Xr = (n, e) => {
|
|
|
22425
22425
|
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
22426
22426
|
};
|
|
22427
22427
|
}
|
|
22428
|
-
}),
|
|
22428
|
+
}), PP = nt.create({
|
|
22429
22429
|
name: "heading",
|
|
22430
22430
|
addOptions() {
|
|
22431
22431
|
return {
|
|
@@ -22477,7 +22477,7 @@ var Xr = (n, e) => {
|
|
|
22477
22477
|
}
|
|
22478
22478
|
}));
|
|
22479
22479
|
}
|
|
22480
|
-
}),
|
|
22480
|
+
}), LP = nt.create({
|
|
22481
22481
|
name: "horizontalRule",
|
|
22482
22482
|
addOptions() {
|
|
22483
22483
|
return {
|
|
@@ -22494,7 +22494,7 @@ var Xr = (n, e) => {
|
|
|
22494
22494
|
addCommands() {
|
|
22495
22495
|
return {
|
|
22496
22496
|
setHorizontalRule: () => ({ chain: n, state: e }) => {
|
|
22497
|
-
if (!
|
|
22497
|
+
if (!aP(e, e.schema.nodes[this.name]))
|
|
22498
22498
|
return !1;
|
|
22499
22499
|
const { selection: t } = e, { $to: i } = t, r = n();
|
|
22500
22500
|
return i0(t) ? r.insertContentAt(i.pos, {
|
|
@@ -22518,13 +22518,13 @@ var Xr = (n, e) => {
|
|
|
22518
22518
|
},
|
|
22519
22519
|
addInputRules() {
|
|
22520
22520
|
return [
|
|
22521
|
-
|
|
22521
|
+
lP({
|
|
22522
22522
|
find: /^(?:---|—-|___\s|\*\*\*\s)$/,
|
|
22523
22523
|
type: this.type
|
|
22524
22524
|
})
|
|
22525
22525
|
];
|
|
22526
22526
|
}
|
|
22527
|
-
}),
|
|
22527
|
+
}), BP = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, AP = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, IP = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, DP = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, $P = Rn.create({
|
|
22528
22528
|
name: "italic",
|
|
22529
22529
|
addOptions() {
|
|
22530
22530
|
return {
|
|
@@ -22568,11 +22568,11 @@ var Xr = (n, e) => {
|
|
|
22568
22568
|
addInputRules() {
|
|
22569
22569
|
return [
|
|
22570
22570
|
di({
|
|
22571
|
-
find:
|
|
22571
|
+
find: BP,
|
|
22572
22572
|
type: this.type
|
|
22573
22573
|
}),
|
|
22574
22574
|
di({
|
|
22575
|
-
find:
|
|
22575
|
+
find: IP,
|
|
22576
22576
|
type: this.type
|
|
22577
22577
|
})
|
|
22578
22578
|
];
|
|
@@ -22580,28 +22580,28 @@ var Xr = (n, e) => {
|
|
|
22580
22580
|
addPasteRules() {
|
|
22581
22581
|
return [
|
|
22582
22582
|
Nn({
|
|
22583
|
-
find:
|
|
22583
|
+
find: AP,
|
|
22584
22584
|
type: this.type
|
|
22585
22585
|
}),
|
|
22586
22586
|
Nn({
|
|
22587
|
-
find:
|
|
22587
|
+
find: DP,
|
|
22588
22588
|
type: this.type
|
|
22589
22589
|
})
|
|
22590
22590
|
];
|
|
22591
22591
|
}
|
|
22592
22592
|
});
|
|
22593
|
-
const
|
|
22594
|
-
function
|
|
22593
|
+
const OP = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", _P = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", rl = "numeric", ol = "ascii", sl = "alpha", Pi = "asciinumeric", wi = "alphanumeric", ll = "domain", w0 = "emoji", NP = "scheme", HP = "slashscheme", vs = "whitespace";
|
|
22594
|
+
function RP(n, e) {
|
|
22595
22595
|
return n in e || (e[n] = []), e[n];
|
|
22596
22596
|
}
|
|
22597
22597
|
function Sn(n, e, t) {
|
|
22598
|
-
e[rl] && (e[
|
|
22598
|
+
e[rl] && (e[Pi] = !0, e[wi] = !0), e[ol] && (e[Pi] = !0, e[sl] = !0), e[Pi] && (e[wi] = !0), e[sl] && (e[wi] = !0), e[wi] && (e[ll] = !0), e[w0] && (e[ll] = !0);
|
|
22599
22599
|
for (const i in e) {
|
|
22600
|
-
const r =
|
|
22600
|
+
const r = RP(i, t);
|
|
22601
22601
|
r.indexOf(n) < 0 && r.push(n);
|
|
22602
22602
|
}
|
|
22603
22603
|
}
|
|
22604
|
-
function
|
|
22604
|
+
function zP(n, e) {
|
|
22605
22605
|
const t = {};
|
|
22606
22606
|
for (const i in e)
|
|
22607
22607
|
e[i].indexOf(n) >= 0 && (t[i] = !0);
|
|
@@ -22723,7 +22723,7 @@ Ye.prototype = {
|
|
|
22723
22723
|
if (l ? (s = new Ye(), Object.assign(s.j, l.j), s.jr.push.apply(s.jr, l.jr), s.jd = l.jd, s.t = l.t) : s = new Ye(), o) {
|
|
22724
22724
|
if (i)
|
|
22725
22725
|
if (s.t && typeof s.t == "string") {
|
|
22726
|
-
const a = Object.assign(
|
|
22726
|
+
const a = Object.assign(zP(s.t, i), t);
|
|
22727
22727
|
Sn(o, a, i);
|
|
22728
22728
|
} else t && Sn(o, t, i);
|
|
22729
22729
|
s.t = o;
|
|
@@ -22731,7 +22731,7 @@ Ye.prototype = {
|
|
|
22731
22731
|
return r.j[n] = s, s;
|
|
22732
22732
|
}
|
|
22733
22733
|
};
|
|
22734
|
-
const ee = (n, e, t, i, r) => n.ta(e, t, i, r), be = (n, e, t, i, r) => n.tr(e, t, i, r), qd = (n, e, t, i, r) => n.ts(e, t, i, r), $ = (n, e, t, i, r) => n.tt(e, t, i, r), At = "WORD", al = "UWORD", C0 = "ASCIINUMERICAL", k0 = "ALPHANUMERICAL", Ui = "LOCALHOST", dl = "TLD", pl = "UTLD", Dr = "SCHEME", Qn = "SLASH_SCHEME", Wl = "NUM", cl = "WS", Ul = "NL",
|
|
22734
|
+
const ee = (n, e, t, i, r) => n.ta(e, t, i, r), be = (n, e, t, i, r) => n.tr(e, t, i, r), qd = (n, e, t, i, r) => n.ts(e, t, i, r), $ = (n, e, t, i, r) => n.tt(e, t, i, r), At = "WORD", al = "UWORD", C0 = "ASCIINUMERICAL", k0 = "ALPHANUMERICAL", Ui = "LOCALHOST", dl = "TLD", pl = "UTLD", Dr = "SCHEME", Qn = "SLASH_SCHEME", Wl = "NUM", cl = "WS", Ul = "NL", Li = "OPENBRACE", Bi = "CLOSEBRACE", Zr = "OPENBRACKET", eo = "CLOSEBRACKET", to = "OPENPAREN", no = "CLOSEPAREN", io = "OPENANGLEBRACKET", ro = "CLOSEANGLEBRACKET", oo = "FULLWIDTHLEFTPAREN", so = "FULLWIDTHRIGHTPAREN", lo = "LEFTCORNERBRACKET", ao = "RIGHTCORNERBRACKET", po = "LEFTWHITECORNERBRACKET", co = "RIGHTWHITECORNERBRACKET", uo = "FULLWIDTHLESSTHAN", ho = "FULLWIDTHGREATERTHAN", fo = "AMPERSAND", bo = "APOSTROPHE", mo = "ASTERISK", qt = "AT", xo = "BACKSLASH", go = "BACKTICK", yo = "CARET", Jt = "COLON", Gl = "COMMA", vo = "DOLLAR", yt = "DOT", So = "EQUALS", Kl = "EXCLAMATION", lt = "HYPHEN", Ai = "PERCENT", wo = "PIPE", Co = "PLUS", ko = "POUND", Ii = "QUERY", Jl = "QUOTE", T0 = "FULLWIDTHMIDDLEDOT", Yl = "SEMI", vt = "SLASH", Di = "TILDE", To = "UNDERSCORE", M0 = "EMOJI", Mo = "SYM";
|
|
22735
22735
|
var E0 = /* @__PURE__ */ Object.freeze({
|
|
22736
22736
|
__proto__: null,
|
|
22737
22737
|
ALPHANUMERICAL: k0,
|
|
@@ -22766,7 +22766,7 @@ var E0 = /* @__PURE__ */ Object.freeze({
|
|
|
22766
22766
|
NL: Ul,
|
|
22767
22767
|
NUM: Wl,
|
|
22768
22768
|
OPENANGLEBRACKET: io,
|
|
22769
|
-
OPENBRACE:
|
|
22769
|
+
OPENBRACE: Li,
|
|
22770
22770
|
OPENBRACKET: Zr,
|
|
22771
22771
|
OPENPAREN: to,
|
|
22772
22772
|
PERCENT: Ai,
|
|
@@ -22790,30 +22790,30 @@ var E0 = /* @__PURE__ */ Object.freeze({
|
|
|
22790
22790
|
WORD: At,
|
|
22791
22791
|
WS: cl
|
|
22792
22792
|
});
|
|
22793
|
-
const
|
|
22794
|
-
`,
|
|
22793
|
+
const Lt = /[a-z]/, xi = new RegExp("\\p{L}", "u"), Ss = new RegExp("\\p{Emoji}", "u"), Bt = /\d/, ws = /\s/, Wd = "\r", Cs = `
|
|
22794
|
+
`, FP = "️", VP = "", ks = "";
|
|
22795
22795
|
let wr = null, Cr = null;
|
|
22796
|
-
function
|
|
22796
|
+
function jP(n = []) {
|
|
22797
22797
|
const e = {};
|
|
22798
22798
|
Ye.groups = e;
|
|
22799
22799
|
const t = new Ye();
|
|
22800
|
-
wr == null && (wr = Ud(
|
|
22800
|
+
wr == null && (wr = Ud(OP)), Cr == null && (Cr = Ud(_P)), $(t, "'", bo), $(t, "{", Li), $(t, "}", Bi), $(t, "[", Zr), $(t, "]", eo), $(t, "(", to), $(t, ")", no), $(t, "<", io), $(t, ">", ro), $(t, "(", oo), $(t, ")", so), $(t, "「", lo), $(t, "」", ao), $(t, "『", po), $(t, "』", co), $(t, "<", uo), $(t, ">", ho), $(t, "&", fo), $(t, "*", mo), $(t, "@", qt), $(t, "`", go), $(t, "^", yo), $(t, ":", Jt), $(t, ",", Gl), $(t, "$", vo), $(t, ".", yt), $(t, "=", So), $(t, "!", Kl), $(t, "-", lt), $(t, "%", Ai), $(t, "|", wo), $(t, "+", Co), $(t, "#", ko), $(t, "?", Ii), $(t, '"', Jl), $(t, "/", vt), $(t, ";", Yl), $(t, "~", Di), $(t, "_", To), $(t, "\\", xo), $(t, "・", T0);
|
|
22801
22801
|
const i = be(t, Bt, Wl, {
|
|
22802
22802
|
[rl]: !0
|
|
22803
22803
|
});
|
|
22804
22804
|
be(i, Bt, i);
|
|
22805
|
-
const r = be(i,
|
|
22806
|
-
[
|
|
22805
|
+
const r = be(i, Lt, C0, {
|
|
22806
|
+
[Pi]: !0
|
|
22807
22807
|
}), o = be(i, xi, k0, {
|
|
22808
22808
|
[wi]: !0
|
|
22809
|
-
}), s = be(t,
|
|
22809
|
+
}), s = be(t, Lt, At, {
|
|
22810
22810
|
[ol]: !0
|
|
22811
22811
|
});
|
|
22812
|
-
be(s, Bt, r), be(s,
|
|
22812
|
+
be(s, Bt, r), be(s, Lt, s), be(r, Bt, r), be(r, Lt, r);
|
|
22813
22813
|
const l = be(t, xi, al, {
|
|
22814
22814
|
[sl]: !0
|
|
22815
22815
|
});
|
|
22816
|
-
be(l,
|
|
22816
|
+
be(l, Lt), be(l, Bt, o), be(l, xi, l), be(o, Bt, o), be(o, Lt), be(o, xi, o);
|
|
22817
22817
|
const a = $(t, Cs, Ul, {
|
|
22818
22818
|
[vs]: !0
|
|
22819
22819
|
}), d = $(t, Wd, cl, {
|
|
@@ -22825,10 +22825,10 @@ function jL(n = []) {
|
|
|
22825
22825
|
const u = be(t, Ss, M0, {
|
|
22826
22826
|
[w0]: !0
|
|
22827
22827
|
});
|
|
22828
|
-
$(u, "#"), be(u, Ss, u), $(u,
|
|
22829
|
-
const h = $(u,
|
|
22828
|
+
$(u, "#"), be(u, Ss, u), $(u, FP, u);
|
|
22829
|
+
const h = $(u, VP);
|
|
22830
22830
|
$(h, "#"), be(h, Ss, u);
|
|
22831
|
-
const f = [[
|
|
22831
|
+
const f = [[Lt, s], [Bt, r]], b = [[Lt, null], [xi, l], [Bt, o]];
|
|
22832
22832
|
for (let m = 0; m < wr.length; m++)
|
|
22833
22833
|
Ft(t, wr[m], dl, At, f);
|
|
22834
22834
|
for (let m = 0; m < Cr.length; m++)
|
|
@@ -22848,11 +22848,11 @@ function jL(n = []) {
|
|
|
22848
22848
|
}, e), n = n.sort((m, x) => m[0] > x[0] ? 1 : -1);
|
|
22849
22849
|
for (let m = 0; m < n.length; m++) {
|
|
22850
22850
|
const x = n[m][0], T = n[m][1] ? {
|
|
22851
|
-
[
|
|
22851
|
+
[NP]: !0
|
|
22852
22852
|
} : {
|
|
22853
|
-
[
|
|
22853
|
+
[HP]: !0
|
|
22854
22854
|
};
|
|
22855
|
-
x.indexOf("-") >= 0 ? T[ll] = !0 :
|
|
22855
|
+
x.indexOf("-") >= 0 ? T[ll] = !0 : Lt.test(x) ? Bt.test(x) ? T[Pi] = !0 : T[ol] = !0 : T[rl] = !0, qd(t, x, x, T);
|
|
22856
22856
|
}
|
|
22857
22857
|
return qd(t, "localhost", Ui, {
|
|
22858
22858
|
ascii: !0
|
|
@@ -22863,8 +22863,8 @@ function jL(n = []) {
|
|
|
22863
22863
|
}, E0)
|
|
22864
22864
|
};
|
|
22865
22865
|
}
|
|
22866
|
-
function
|
|
22867
|
-
const t =
|
|
22866
|
+
function P0(n, e) {
|
|
22867
|
+
const t = qP(e.replace(/[A-Z]/g, (l) => l.toLowerCase())), i = t.length, r = [];
|
|
22868
22868
|
let o = 0, s = 0;
|
|
22869
22869
|
for (; s < i; ) {
|
|
22870
22870
|
let l = n, a = null, d = 0, p = null, u = -1, h = -1;
|
|
@@ -22883,7 +22883,7 @@ function L0(n, e) {
|
|
|
22883
22883
|
}
|
|
22884
22884
|
return r;
|
|
22885
22885
|
}
|
|
22886
|
-
function
|
|
22886
|
+
function qP(n) {
|
|
22887
22887
|
const e = [], t = n.length;
|
|
22888
22888
|
let i = 0;
|
|
22889
22889
|
for (; i < t; ) {
|
|
@@ -23007,10 +23007,10 @@ Ql.prototype = {
|
|
|
23007
23007
|
function Gd(n) {
|
|
23008
23008
|
return n;
|
|
23009
23009
|
}
|
|
23010
|
-
function
|
|
23010
|
+
function L0(n, e) {
|
|
23011
23011
|
this.t = "token", this.v = n, this.tk = e;
|
|
23012
23012
|
}
|
|
23013
|
-
|
|
23013
|
+
L0.prototype = {
|
|
23014
23014
|
isLink: !1,
|
|
23015
23015
|
/**
|
|
23016
23016
|
* Return the string this token represents.
|
|
@@ -23115,7 +23115,7 @@ P0.prototype = {
|
|
|
23115
23115
|
}
|
|
23116
23116
|
};
|
|
23117
23117
|
function qo(n, e) {
|
|
23118
|
-
class t extends
|
|
23118
|
+
class t extends L0 {
|
|
23119
23119
|
constructor(r, o) {
|
|
23120
23120
|
super(r, o), this.t = n;
|
|
23121
23121
|
}
|
|
@@ -23129,7 +23129,7 @@ const Kd = qo("email", {
|
|
|
23129
23129
|
toHref() {
|
|
23130
23130
|
return "mailto:" + this.toString();
|
|
23131
23131
|
}
|
|
23132
|
-
}), Jd = qo("text"),
|
|
23132
|
+
}), Jd = qo("text"), WP = qo("nl"), kr = qo("url", {
|
|
23133
23133
|
isLink: !0,
|
|
23134
23134
|
/**
|
|
23135
23135
|
Lowercases relevant parts of the domain and adds the protocol if
|
|
@@ -23150,10 +23150,10 @@ const Kd = qo("email", {
|
|
|
23150
23150
|
return n.length >= 2 && n[0].t !== Ui && n[1].t === Jt;
|
|
23151
23151
|
}
|
|
23152
23152
|
}), rt = (n) => new Ye(n);
|
|
23153
|
-
function
|
|
23153
|
+
function UP({
|
|
23154
23154
|
groups: n
|
|
23155
23155
|
}) {
|
|
23156
|
-
const e = n.domain.concat([fo, mo, qt, xo, go, yo, vo, So, lt, Wl, Ai, wo, Co, ko, vt, Mo, Di, To]), t = [bo, Jt, Gl, yt, Kl, Ai, Ii, Jl, Yl, io, ro,
|
|
23156
|
+
const e = n.domain.concat([fo, mo, qt, xo, go, yo, vo, So, lt, Wl, Ai, wo, Co, ko, vt, Mo, Di, To]), t = [bo, Jt, Gl, yt, Kl, Ai, Ii, Jl, Yl, io, ro, Li, Bi, eo, Zr, to, no, oo, so, lo, ao, po, co, uo, ho], i = [fo, bo, mo, xo, go, yo, vo, So, lt, Li, Bi, Ai, wo, Co, ko, Ii, vt, Mo, Di, To], r = rt(), o = $(r, Di);
|
|
23157
23157
|
ee(o, i, o), ee(o, n.domain, o);
|
|
23158
23158
|
const s = rt(), l = rt(), a = rt();
|
|
23159
23159
|
ee(r, n.domain, s), ee(r, n.scheme, l), ee(r, n.slashscheme, a), ee(s, i, o), ee(s, n.domain, s);
|
|
@@ -23177,12 +23177,12 @@ function UL({
|
|
|
23177
23177
|
ee(v, n.tld, T), ee(v, n.utld, T), ee(T, n.domain, s), ee(T, i, o), $(T, yt, v), $(T, lt, x), $(T, qt, d);
|
|
23178
23178
|
const S = $(T, Jt), M = rt(kr);
|
|
23179
23179
|
ee(S, n.numeric, M);
|
|
23180
|
-
const
|
|
23181
|
-
ee(
|
|
23180
|
+
const P = rt(kr), H = rt();
|
|
23181
|
+
ee(P, e, P), ee(P, t, H), ee(H, e, P), ee(H, t, H), $(T, vt, P), $(M, vt, P);
|
|
23182
23182
|
const I = $(l, Jt), N = $(a, Jt), z = $(N, vt), D = $(z, vt);
|
|
23183
|
-
ee(l, n.domain, s), $(l, yt, v), $(l, lt, x), ee(a, n.domain, s), $(a, yt, v), $(a, lt, x), ee(I, n.domain,
|
|
23183
|
+
ee(l, n.domain, s), $(l, yt, v), $(l, lt, x), ee(a, n.domain, s), $(a, yt, v), $(a, lt, x), ee(I, n.domain, P), $(I, vt, P), $(I, Ii, P), ee(D, n.domain, P), ee(D, e, P), $(D, vt, P);
|
|
23184
23184
|
const _ = [
|
|
23185
|
-
[
|
|
23185
|
+
[Li, Bi],
|
|
23186
23186
|
// {}
|
|
23187
23187
|
[Zr, eo],
|
|
23188
23188
|
// []
|
|
@@ -23200,19 +23200,19 @@ function UL({
|
|
|
23200
23200
|
// <>
|
|
23201
23201
|
];
|
|
23202
23202
|
for (let X = 0; X < _.length; X++) {
|
|
23203
|
-
const [V, O] = _[X], ne = $(
|
|
23204
|
-
$(H, V, ne), $(ne, O,
|
|
23203
|
+
const [V, O] = _[X], ne = $(P, V);
|
|
23204
|
+
$(H, V, ne), $(ne, O, P);
|
|
23205
23205
|
const He = rt(kr);
|
|
23206
23206
|
ee(ne, e, He);
|
|
23207
23207
|
const it = rt();
|
|
23208
|
-
ee(ne, t), ee(He, e, He), ee(He, t, it), ee(it, e, He), ee(it, t, it), $(He, O,
|
|
23208
|
+
ee(ne, t), ee(He, e, He), ee(He, t, it), ee(it, e, He), ee(it, t, it), $(He, O, P), $(it, O, P);
|
|
23209
23209
|
}
|
|
23210
|
-
return $(r, Ui, T), $(r, Ul,
|
|
23210
|
+
return $(r, Ui, T), $(r, Ul, WP), {
|
|
23211
23211
|
start: r,
|
|
23212
23212
|
tokens: E0
|
|
23213
23213
|
};
|
|
23214
23214
|
}
|
|
23215
|
-
function
|
|
23215
|
+
function GP(n, e, t) {
|
|
23216
23216
|
let i = t.length, r = 0, o = [], s = [];
|
|
23217
23217
|
for (; r < i; ) {
|
|
23218
23218
|
let l = n, a = null, d = null, p = 0, u = null, h = -1;
|
|
@@ -23234,8 +23234,8 @@ function Ts(n, e, t) {
|
|
|
23234
23234
|
const i = t[0].s, r = t[t.length - 1].e, o = e.slice(i, r);
|
|
23235
23235
|
return new n(o, t);
|
|
23236
23236
|
}
|
|
23237
|
-
const
|
|
23238
|
-
}),
|
|
23237
|
+
const KP = typeof console < "u" && console && console.warn || (() => {
|
|
23238
|
+
}), JP = "until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.", ue = {
|
|
23239
23239
|
scanner: null,
|
|
23240
23240
|
parser: null,
|
|
23241
23241
|
tokenQueue: [],
|
|
@@ -23243,24 +23243,24 @@ const KL = typeof console < "u" && console && console.warn || (() => {
|
|
|
23243
23243
|
customSchemes: [],
|
|
23244
23244
|
initialized: !1
|
|
23245
23245
|
};
|
|
23246
|
-
function
|
|
23246
|
+
function YP() {
|
|
23247
23247
|
return Ye.groups = {}, ue.scanner = null, ue.parser = null, ue.tokenQueue = [], ue.pluginQueue = [], ue.customSchemes = [], ue.initialized = !1, ue;
|
|
23248
23248
|
}
|
|
23249
23249
|
function Yd(n, e = !1) {
|
|
23250
|
-
if (ue.initialized &&
|
|
23250
|
+
if (ue.initialized && KP(`linkifyjs: already initialized - will not register custom scheme "${n}" ${JP}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))
|
|
23251
23251
|
throw new Error(`linkifyjs: incorrect scheme format.
|
|
23252
23252
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
23253
23253
|
2. Cannot start or end with "-"
|
|
23254
23254
|
3. "-" cannot repeat`);
|
|
23255
23255
|
ue.customSchemes.push([n, e]);
|
|
23256
23256
|
}
|
|
23257
|
-
function
|
|
23258
|
-
ue.scanner =
|
|
23257
|
+
function QP() {
|
|
23258
|
+
ue.scanner = jP(ue.customSchemes);
|
|
23259
23259
|
for (let n = 0; n < ue.tokenQueue.length; n++)
|
|
23260
23260
|
ue.tokenQueue[n][1]({
|
|
23261
23261
|
scanner: ue.scanner
|
|
23262
23262
|
});
|
|
23263
|
-
ue.parser =
|
|
23263
|
+
ue.parser = UP(ue.scanner.tokens);
|
|
23264
23264
|
for (let n = 0; n < ue.pluginQueue.length; n++)
|
|
23265
23265
|
ue.pluginQueue[n][1]({
|
|
23266
23266
|
scanner: ue.scanner,
|
|
@@ -23269,9 +23269,9 @@ function QL() {
|
|
|
23269
23269
|
return ue.initialized = !0, ue;
|
|
23270
23270
|
}
|
|
23271
23271
|
function Xl(n) {
|
|
23272
|
-
return ue.initialized ||
|
|
23272
|
+
return ue.initialized || QP(), GP(ue.parser.start, n, P0(ue.scanner.start, n));
|
|
23273
23273
|
}
|
|
23274
|
-
Xl.scan =
|
|
23274
|
+
Xl.scan = P0;
|
|
23275
23275
|
function B0(n, e = null, t = null) {
|
|
23276
23276
|
if (e && typeof e == "object") {
|
|
23277
23277
|
if (t)
|
|
@@ -23285,11 +23285,11 @@ function B0(n, e = null, t = null) {
|
|
|
23285
23285
|
}
|
|
23286
23286
|
return o;
|
|
23287
23287
|
}
|
|
23288
|
-
var Zl = "[\0- -\u2029 ]",
|
|
23289
|
-
function
|
|
23288
|
+
var Zl = "[\0- -\u2029 ]", XP = new RegExp(Zl), ZP = new RegExp(`${Zl}$`), eL = new RegExp(Zl, "g");
|
|
23289
|
+
function tL(n) {
|
|
23290
23290
|
return n.length === 1 ? n[0].isLink : n.length === 3 && n[1].isLink ? ["()", "[]"].includes(n[0].value + n[2].value) : !1;
|
|
23291
23291
|
}
|
|
23292
|
-
function
|
|
23292
|
+
function nL(n) {
|
|
23293
23293
|
return new xe({
|
|
23294
23294
|
key: new De("autolink"),
|
|
23295
23295
|
appendTransaction: (e, t, i) => {
|
|
@@ -23309,19 +23309,19 @@ function nP(n) {
|
|
|
23309
23309
|
);
|
|
23310
23310
|
else if (p.length) {
|
|
23311
23311
|
const f = i.doc.textBetween(d.from, d.to, " ", " ");
|
|
23312
|
-
if (!
|
|
23312
|
+
if (!ZP.test(f))
|
|
23313
23313
|
return;
|
|
23314
23314
|
u = p[0], h = i.doc.textBetween(u.pos, d.to, void 0, " ");
|
|
23315
23315
|
}
|
|
23316
23316
|
if (u && h) {
|
|
23317
|
-
const f = h.split(
|
|
23317
|
+
const f = h.split(XP).filter(Boolean);
|
|
23318
23318
|
if (f.length <= 0)
|
|
23319
23319
|
return !1;
|
|
23320
23320
|
const b = f[f.length - 1], m = u.pos + h.lastIndexOf(b);
|
|
23321
23321
|
if (!b)
|
|
23322
23322
|
return !1;
|
|
23323
23323
|
const x = Xl(b).map((v) => v.toObject(n.defaultProtocol));
|
|
23324
|
-
if (!
|
|
23324
|
+
if (!tL(x))
|
|
23325
23325
|
return !1;
|
|
23326
23326
|
x.filter((v) => v.isLink).map((v) => ({
|
|
23327
23327
|
...v,
|
|
@@ -23342,7 +23342,7 @@ function nP(n) {
|
|
|
23342
23342
|
}
|
|
23343
23343
|
});
|
|
23344
23344
|
}
|
|
23345
|
-
function
|
|
23345
|
+
function iL(n) {
|
|
23346
23346
|
return new xe({
|
|
23347
23347
|
key: new De("handleClickLink"),
|
|
23348
23348
|
props: {
|
|
@@ -23368,7 +23368,7 @@ function iP(n) {
|
|
|
23368
23368
|
}
|
|
23369
23369
|
});
|
|
23370
23370
|
}
|
|
23371
|
-
function
|
|
23371
|
+
function rL(n) {
|
|
23372
23372
|
return new xe({
|
|
23373
23373
|
key: new De("handlePasteLink"),
|
|
23374
23374
|
props: {
|
|
@@ -23395,7 +23395,7 @@ function fn(n, e) {
|
|
|
23395
23395
|
return e && e.forEach((i) => {
|
|
23396
23396
|
const r = typeof i == "string" ? i : i.scheme;
|
|
23397
23397
|
r && t.push(r);
|
|
23398
|
-
}), !n || n.replace(
|
|
23398
|
+
}), !n || n.replace(eL, "").match(
|
|
23399
23399
|
new RegExp(
|
|
23400
23400
|
// eslint-disable-next-line no-useless-escape
|
|
23401
23401
|
`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,
|
|
@@ -23403,7 +23403,7 @@ function fn(n, e) {
|
|
|
23403
23403
|
)
|
|
23404
23404
|
);
|
|
23405
23405
|
}
|
|
23406
|
-
var
|
|
23406
|
+
var oL = Rn.create({
|
|
23407
23407
|
name: "link",
|
|
23408
23408
|
priority: 1e3,
|
|
23409
23409
|
keepOnSplit: !1,
|
|
@@ -23418,7 +23418,7 @@ var oP = Rn.create({
|
|
|
23418
23418
|
});
|
|
23419
23419
|
},
|
|
23420
23420
|
onDestroy() {
|
|
23421
|
-
|
|
23421
|
+
YP();
|
|
23422
23422
|
},
|
|
23423
23423
|
inclusive() {
|
|
23424
23424
|
return this.options.autolink;
|
|
@@ -23541,7 +23541,7 @@ var oP = Rn.create({
|
|
|
23541
23541
|
addProseMirrorPlugins() {
|
|
23542
23542
|
const n = [], { protocols: e, defaultProtocol: t } = this.options;
|
|
23543
23543
|
return this.options.autolink && n.push(
|
|
23544
|
-
|
|
23544
|
+
nL({
|
|
23545
23545
|
type: this.type,
|
|
23546
23546
|
defaultProtocol: this.options.defaultProtocol,
|
|
23547
23547
|
validate: (i) => this.options.isAllowedUri(i, {
|
|
@@ -23552,23 +23552,23 @@ var oP = Rn.create({
|
|
|
23552
23552
|
shouldAutoLink: this.options.shouldAutoLink
|
|
23553
23553
|
})
|
|
23554
23554
|
), this.options.openOnClick === !0 && n.push(
|
|
23555
|
-
|
|
23555
|
+
iL({
|
|
23556
23556
|
type: this.type,
|
|
23557
23557
|
editor: this.editor,
|
|
23558
23558
|
enableClickSelection: this.options.enableClickSelection
|
|
23559
23559
|
})
|
|
23560
23560
|
), this.options.linkOnPaste && n.push(
|
|
23561
|
-
|
|
23561
|
+
rL({
|
|
23562
23562
|
editor: this.editor,
|
|
23563
23563
|
defaultProtocol: this.options.defaultProtocol,
|
|
23564
23564
|
type: this.type
|
|
23565
23565
|
})
|
|
23566
23566
|
), n;
|
|
23567
23567
|
}
|
|
23568
|
-
}),
|
|
23568
|
+
}), sL = Object.defineProperty, lL = (n, e) => {
|
|
23569
23569
|
for (var t in e)
|
|
23570
|
-
|
|
23571
|
-
},
|
|
23570
|
+
sL(n, t, { get: e[t], enumerable: !0 });
|
|
23571
|
+
}, aL = "listItem", Qd = "textStyle", Xd = /^\s*([-+*])\s$/, A0 = nt.create({
|
|
23572
23572
|
name: "bulletList",
|
|
23573
23573
|
addOptions() {
|
|
23574
23574
|
return {
|
|
@@ -23590,7 +23590,7 @@ var oP = Rn.create({
|
|
|
23590
23590
|
},
|
|
23591
23591
|
addCommands() {
|
|
23592
23592
|
return {
|
|
23593
|
-
toggleBulletList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(
|
|
23593
|
+
toggleBulletList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(aL, this.editor.getAttributes(Qd)).run() : n.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
|
|
23594
23594
|
};
|
|
23595
23595
|
},
|
|
23596
23596
|
addKeyboardShortcuts() {
|
|
@@ -23640,14 +23640,14 @@ var oP = Rn.create({
|
|
|
23640
23640
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
23641
23641
|
};
|
|
23642
23642
|
}
|
|
23643
|
-
}),
|
|
23644
|
-
|
|
23643
|
+
}), dL = {};
|
|
23644
|
+
lL(dL, {
|
|
23645
23645
|
findListItemPos: () => tr,
|
|
23646
23646
|
getNextListDepth: () => ea,
|
|
23647
23647
|
handleBackspace: () => ul,
|
|
23648
23648
|
handleDelete: () => hl,
|
|
23649
23649
|
hasListBefore: () => D0,
|
|
23650
|
-
hasListItemAfter: () =>
|
|
23650
|
+
hasListItemAfter: () => pL,
|
|
23651
23651
|
hasListItemBefore: () => $0,
|
|
23652
23652
|
listItemHasSubList: () => O0,
|
|
23653
23653
|
nextListIsDeeper: () => _0,
|
|
@@ -23714,7 +23714,7 @@ var tr = (n, e) => {
|
|
|
23714
23714
|
return !1;
|
|
23715
23715
|
const { selection: t } = n.state, { $from: i, $to: r } = t;
|
|
23716
23716
|
return !t.empty && i.sameParent(r) ? !1 : _0(e, n.state) ? n.chain().focus(n.state.selection.from + 4).lift(e).joinBackward().run() : N0(e, n.state) ? n.chain().joinForward().joinBackward().run() : n.commands.joinItemForward();
|
|
23717
|
-
},
|
|
23717
|
+
}, pL = (n, e) => {
|
|
23718
23718
|
var t;
|
|
23719
23719
|
const { $anchor: i } = e.selection, r = e.doc.resolve(i.pos - i.parentOffset - 2);
|
|
23720
23720
|
return !(r.index() === r.parent.childCount - 1 || ((t = r.nodeAfter) == null ? void 0 : t.type.name) !== n);
|
|
@@ -23762,7 +23762,7 @@ var tr = (n, e) => {
|
|
|
23762
23762
|
}
|
|
23763
23763
|
};
|
|
23764
23764
|
}
|
|
23765
|
-
}),
|
|
23765
|
+
}), cL = "listItem", Zd = "textStyle", ep = /^(\d+)\.\s$/, R0 = nt.create({
|
|
23766
23766
|
name: "orderedList",
|
|
23767
23767
|
addOptions() {
|
|
23768
23768
|
return {
|
|
@@ -23801,7 +23801,7 @@ var tr = (n, e) => {
|
|
|
23801
23801
|
},
|
|
23802
23802
|
addCommands() {
|
|
23803
23803
|
return {
|
|
23804
|
-
toggleOrderedList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(
|
|
23804
|
+
toggleOrderedList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(cL, this.editor.getAttributes(Zd)).run() : n.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
|
|
23805
23805
|
};
|
|
23806
23806
|
},
|
|
23807
23807
|
addKeyboardShortcuts() {
|
|
@@ -23826,7 +23826,7 @@ var tr = (n, e) => {
|
|
|
23826
23826
|
editor: this.editor
|
|
23827
23827
|
})), [n];
|
|
23828
23828
|
}
|
|
23829
|
-
}),
|
|
23829
|
+
}), uL = /^\s*(\[([( |x])?\])\s$/, hL = nt.create({
|
|
23830
23830
|
name: "taskItem",
|
|
23831
23831
|
addOptions() {
|
|
23832
23832
|
return {
|
|
@@ -23929,7 +23929,7 @@ var tr = (n, e) => {
|
|
|
23929
23929
|
addInputRules() {
|
|
23930
23930
|
return [
|
|
23931
23931
|
pi({
|
|
23932
|
-
find:
|
|
23932
|
+
find: uL,
|
|
23933
23933
|
type: this.type,
|
|
23934
23934
|
getAttributes: (n) => ({
|
|
23935
23935
|
checked: n[n.length - 1] === "x"
|
|
@@ -23937,7 +23937,7 @@ var tr = (n, e) => {
|
|
|
23937
23937
|
})
|
|
23938
23938
|
];
|
|
23939
23939
|
}
|
|
23940
|
-
}),
|
|
23940
|
+
}), fL = nt.create({
|
|
23941
23941
|
name: "taskList",
|
|
23942
23942
|
addOptions() {
|
|
23943
23943
|
return {
|
|
@@ -23975,10 +23975,10 @@ ye.create({
|
|
|
23975
23975
|
name: "listKit",
|
|
23976
23976
|
addExtensions() {
|
|
23977
23977
|
const n = [];
|
|
23978
|
-
return this.options.bulletList !== !1 && n.push(A0.configure(this.options.bulletList)), this.options.listItem !== !1 && n.push(I0.configure(this.options.listItem)), this.options.listKeymap !== !1 && n.push(H0.configure(this.options.listKeymap)), this.options.orderedList !== !1 && n.push(R0.configure(this.options.orderedList)), this.options.taskItem !== !1 && n.push(
|
|
23978
|
+
return this.options.bulletList !== !1 && n.push(A0.configure(this.options.bulletList)), this.options.listItem !== !1 && n.push(I0.configure(this.options.listItem)), this.options.listKeymap !== !1 && n.push(H0.configure(this.options.listKeymap)), this.options.orderedList !== !1 && n.push(R0.configure(this.options.orderedList)), this.options.taskItem !== !1 && n.push(hL.configure(this.options.taskItem)), this.options.taskList !== !1 && n.push(fL.configure(this.options.taskList)), n;
|
|
23979
23979
|
}
|
|
23980
23980
|
});
|
|
23981
|
-
var
|
|
23981
|
+
var bL = nt.create({
|
|
23982
23982
|
name: "paragraph",
|
|
23983
23983
|
priority: 1e3,
|
|
23984
23984
|
addOptions() {
|
|
@@ -24004,7 +24004,7 @@ var bP = nt.create({
|
|
|
24004
24004
|
"Mod-Alt-0": () => this.editor.commands.setParagraph()
|
|
24005
24005
|
};
|
|
24006
24006
|
}
|
|
24007
|
-
}),
|
|
24007
|
+
}), mL = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, xL = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, gL = Rn.create({
|
|
24008
24008
|
name: "strike",
|
|
24009
24009
|
addOptions() {
|
|
24010
24010
|
return {
|
|
@@ -24047,7 +24047,7 @@ var bP = nt.create({
|
|
|
24047
24047
|
addInputRules() {
|
|
24048
24048
|
return [
|
|
24049
24049
|
di({
|
|
24050
|
-
find:
|
|
24050
|
+
find: mL,
|
|
24051
24051
|
type: this.type
|
|
24052
24052
|
})
|
|
24053
24053
|
];
|
|
@@ -24055,15 +24055,15 @@ var bP = nt.create({
|
|
|
24055
24055
|
addPasteRules() {
|
|
24056
24056
|
return [
|
|
24057
24057
|
Nn({
|
|
24058
|
-
find:
|
|
24058
|
+
find: xL,
|
|
24059
24059
|
type: this.type
|
|
24060
24060
|
})
|
|
24061
24061
|
];
|
|
24062
24062
|
}
|
|
24063
|
-
}),
|
|
24063
|
+
}), yL = nt.create({
|
|
24064
24064
|
name: "text",
|
|
24065
24065
|
group: "inline"
|
|
24066
|
-
}),
|
|
24066
|
+
}), vL = Rn.create({
|
|
24067
24067
|
name: "underline",
|
|
24068
24068
|
addOptions() {
|
|
24069
24069
|
return {
|
|
@@ -24099,14 +24099,14 @@ var bP = nt.create({
|
|
|
24099
24099
|
};
|
|
24100
24100
|
}
|
|
24101
24101
|
});
|
|
24102
|
-
function
|
|
24102
|
+
function SL(n = {}) {
|
|
24103
24103
|
return new xe({
|
|
24104
24104
|
view(e) {
|
|
24105
|
-
return new
|
|
24105
|
+
return new wL(e, n);
|
|
24106
24106
|
}
|
|
24107
24107
|
});
|
|
24108
24108
|
}
|
|
24109
|
-
class
|
|
24109
|
+
class wL {
|
|
24110
24110
|
constructor(e, t) {
|
|
24111
24111
|
var i;
|
|
24112
24112
|
this.editorView = e, this.cursorPos = null, this.element = null, this.timeout = -1, this.width = (i = t.width) !== null && i !== void 0 ? i : 1, this.color = t.color === !1 ? void 0 : t.color || "black", this.class = t.class, this.handlers = ["dragover", "dragend", "drop", "dragleave"].map((r) => {
|
|
@@ -24219,7 +24219,7 @@ class me extends Z {
|
|
|
24219
24219
|
*/
|
|
24220
24220
|
static valid(e) {
|
|
24221
24221
|
let t = e.parent;
|
|
24222
|
-
if (t.isTextblock || !
|
|
24222
|
+
if (t.isTextblock || !CL(e) || !kL(e))
|
|
24223
24223
|
return !1;
|
|
24224
24224
|
let i = t.type.spec.allowGapCursor;
|
|
24225
24225
|
if (i != null)
|
|
@@ -24280,7 +24280,7 @@ class ta {
|
|
|
24280
24280
|
return me.valid(t) ? new me(t) : Z.near(t);
|
|
24281
24281
|
}
|
|
24282
24282
|
}
|
|
24283
|
-
function
|
|
24283
|
+
function CL(n) {
|
|
24284
24284
|
for (let e = n.depth; e >= 0; e--) {
|
|
24285
24285
|
let t = n.index(e), i = n.node(e);
|
|
24286
24286
|
if (t == 0) {
|
|
@@ -24297,7 +24297,7 @@ function CP(n) {
|
|
|
24297
24297
|
}
|
|
24298
24298
|
return !0;
|
|
24299
24299
|
}
|
|
24300
|
-
function
|
|
24300
|
+
function kL(n) {
|
|
24301
24301
|
for (let e = n.depth; e >= 0; e--) {
|
|
24302
24302
|
let t = n.indexAfter(e), i = n.node(e);
|
|
24303
24303
|
if (t == i.childCount) {
|
|
@@ -24314,20 +24314,20 @@ function kP(n) {
|
|
|
24314
24314
|
}
|
|
24315
24315
|
return !0;
|
|
24316
24316
|
}
|
|
24317
|
-
function
|
|
24317
|
+
function TL() {
|
|
24318
24318
|
return new xe({
|
|
24319
24319
|
props: {
|
|
24320
|
-
decorations:
|
|
24320
|
+
decorations: LL,
|
|
24321
24321
|
createSelectionBetween(n, e, t) {
|
|
24322
24322
|
return e.pos == t.pos && me.valid(t) ? new me(t) : null;
|
|
24323
24323
|
},
|
|
24324
|
-
handleClick:
|
|
24325
|
-
handleKeyDown:
|
|
24326
|
-
handleDOMEvents: { beforeinput:
|
|
24324
|
+
handleClick: EL,
|
|
24325
|
+
handleKeyDown: ML,
|
|
24326
|
+
handleDOMEvents: { beforeinput: PL }
|
|
24327
24327
|
}
|
|
24328
24328
|
});
|
|
24329
24329
|
}
|
|
24330
|
-
const
|
|
24330
|
+
const ML = Iv({
|
|
24331
24331
|
ArrowLeft: Tr("horiz", -1),
|
|
24332
24332
|
ArrowRight: Tr("horiz", 1),
|
|
24333
24333
|
ArrowUp: Tr("vert", -1),
|
|
@@ -24346,7 +24346,7 @@ function Tr(n, e) {
|
|
|
24346
24346
|
return d ? (r && r(i.tr.setSelection(new me(d))), !0) : !1;
|
|
24347
24347
|
};
|
|
24348
24348
|
}
|
|
24349
|
-
function
|
|
24349
|
+
function EL(n, e, t) {
|
|
24350
24350
|
if (!n || !n.editable)
|
|
24351
24351
|
return !1;
|
|
24352
24352
|
let i = n.state.doc.resolve(e);
|
|
@@ -24355,7 +24355,7 @@ function EP(n, e, t) {
|
|
|
24355
24355
|
let r = n.posAtCoords({ left: t.clientX, top: t.clientY });
|
|
24356
24356
|
return r && r.inside > -1 && U.isSelectable(n.state.doc.nodeAt(r.inside)) ? !1 : (n.dispatch(n.state.tr.setSelection(new me(i))), !0);
|
|
24357
24357
|
}
|
|
24358
|
-
function
|
|
24358
|
+
function PL(n, e) {
|
|
24359
24359
|
if (e.inputType != "insertCompositionText" || !(n.state.selection instanceof me))
|
|
24360
24360
|
return !1;
|
|
24361
24361
|
let { $from: t } = n.state.selection, i = t.parent.contentMatchAt(t.index()).findWrapping(n.state.schema.nodes.text);
|
|
@@ -24367,7 +24367,7 @@ function LP(n, e) {
|
|
|
24367
24367
|
let o = n.state.tr.replace(t.pos, t.pos, new R(r, 0, 0));
|
|
24368
24368
|
return o.setSelection(Q.near(o.doc.resolve(t.pos + 1))), n.dispatch(o), !1;
|
|
24369
24369
|
}
|
|
24370
|
-
function
|
|
24370
|
+
function LL(n) {
|
|
24371
24371
|
if (!(n.selection instanceof me))
|
|
24372
24372
|
return null;
|
|
24373
24373
|
let e = document.createElement("div");
|
|
@@ -24382,7 +24382,7 @@ Ie.prototype.prepend = function(e) {
|
|
|
24382
24382
|
return e.length ? Ie.from(e).append(this) : this;
|
|
24383
24383
|
};
|
|
24384
24384
|
Ie.prototype.appendInner = function(e) {
|
|
24385
|
-
return new
|
|
24385
|
+
return new BL(this, e);
|
|
24386
24386
|
};
|
|
24387
24387
|
Ie.prototype.slice = function(e, t) {
|
|
24388
24388
|
return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? Ie.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
|
|
@@ -24437,7 +24437,7 @@ var z0 = /* @__PURE__ */ (function(n) {
|
|
|
24437
24437
|
}, Object.defineProperties(e.prototype, t), e;
|
|
24438
24438
|
})(Ie);
|
|
24439
24439
|
Ie.empty = new z0([]);
|
|
24440
|
-
var
|
|
24440
|
+
var BL = /* @__PURE__ */ (function(n) {
|
|
24441
24441
|
function e(t, i) {
|
|
24442
24442
|
n.call(this), this.left = t, this.right = i, this.length = t.length + i.length, this.depth = Math.max(t.depth, i.depth) + 1;
|
|
24443
24443
|
}
|
|
@@ -24470,7 +24470,7 @@ var BP = /* @__PURE__ */ (function(n) {
|
|
|
24470
24470
|
return this.left.depth >= Math.max(this.right.depth, i.depth) + 1 ? new e(this.left, new e(this.right, i)) : new e(this, i);
|
|
24471
24471
|
}, e;
|
|
24472
24472
|
})(Ie);
|
|
24473
|
-
const
|
|
24473
|
+
const AL = 500;
|
|
24474
24474
|
class bt {
|
|
24475
24475
|
constructor(e, t) {
|
|
24476
24476
|
this.items = e, this.eventCount = t;
|
|
@@ -24512,7 +24512,7 @@ class bt {
|
|
|
24512
24512
|
(f = a && a.merge(h)) && (h = f, p ? o.pop() : l = l.slice(0, l.length - 1)), o.push(h), t && (s++, t = void 0), r || (a = h);
|
|
24513
24513
|
}
|
|
24514
24514
|
let d = s - i.depth;
|
|
24515
|
-
return d >
|
|
24515
|
+
return d > DL && (l = IL(l, d), s -= d), new bt(l.append(o), s);
|
|
24516
24516
|
}
|
|
24517
24517
|
remapping(e, t) {
|
|
24518
24518
|
let i = new Ri();
|
|
@@ -24552,7 +24552,7 @@ class bt {
|
|
|
24552
24552
|
for (let h = t; h < s; h++)
|
|
24553
24553
|
d.push(new St(o.maps[h]));
|
|
24554
24554
|
let p = this.items.slice(0, r).append(d).append(i), u = new bt(p, l);
|
|
24555
|
-
return u.emptyItemCount() >
|
|
24555
|
+
return u.emptyItemCount() > AL && (u = u.compress(this.items.length - i.length)), u;
|
|
24556
24556
|
}
|
|
24557
24557
|
emptyItemCount() {
|
|
24558
24558
|
let e = 0;
|
|
@@ -24584,7 +24584,7 @@ class bt {
|
|
|
24584
24584
|
}
|
|
24585
24585
|
}
|
|
24586
24586
|
bt.empty = new bt(Ie.empty, 0);
|
|
24587
|
-
function
|
|
24587
|
+
function IL(n, e) {
|
|
24588
24588
|
let t;
|
|
24589
24589
|
return n.forEach((i, r) => {
|
|
24590
24590
|
if (i.selection && e-- == 0)
|
|
@@ -24608,23 +24608,23 @@ class Wt {
|
|
|
24608
24608
|
this.done = e, this.undone = t, this.prevRanges = i, this.prevTime = r, this.prevComposition = o;
|
|
24609
24609
|
}
|
|
24610
24610
|
}
|
|
24611
|
-
const
|
|
24612
|
-
function $
|
|
24611
|
+
const DL = 20;
|
|
24612
|
+
function $L(n, e, t, i) {
|
|
24613
24613
|
let r = t.getMeta(En), o;
|
|
24614
24614
|
if (r)
|
|
24615
24615
|
return r.historyState;
|
|
24616
|
-
t.getMeta(
|
|
24616
|
+
t.getMeta(NL) && (n = new Wt(n.done, n.undone, null, 0, -1));
|
|
24617
24617
|
let s = t.getMeta("appendedTransaction");
|
|
24618
24618
|
if (t.steps.length == 0)
|
|
24619
24619
|
return n;
|
|
24620
24620
|
if (s && s.getMeta(En))
|
|
24621
24621
|
return s.getMeta(En).redo ? new Wt(n.done.addTransform(t, void 0, i, $r(e)), n.undone, tp(t.mapping.maps), n.prevTime, n.prevComposition) : new Wt(n.done, n.undone.addTransform(t, void 0, i, $r(e)), null, n.prevTime, n.prevComposition);
|
|
24622
24622
|
if (t.getMeta("addToHistory") !== !1 && !(s && s.getMeta("addToHistory") === !1)) {
|
|
24623
|
-
let l = t.getMeta("composition"), a = n.prevTime == 0 || !s && n.prevComposition != l && (n.prevTime < (t.time || 0) - i.newGroupDelay || !
|
|
24623
|
+
let l = t.getMeta("composition"), a = n.prevTime == 0 || !s && n.prevComposition != l && (n.prevTime < (t.time || 0) - i.newGroupDelay || !OL(t, n.prevRanges)), d = s ? Ms(n.prevRanges, t.mapping) : tp(t.mapping.maps);
|
|
24624
24624
|
return new Wt(n.done.addTransform(t, a ? e.selection.getBookmark() : void 0, i, $r(e)), bt.empty, d, t.time, l ?? n.prevComposition);
|
|
24625
24625
|
} else return (o = t.getMeta("rebased")) ? new Wt(n.done.rebased(t, o), n.undone.rebased(t, o), Ms(n.prevRanges, t.mapping), n.prevTime, n.prevComposition) : new Wt(n.done.addMaps(t.mapping.maps), n.undone.addMaps(t.mapping.maps), Ms(n.prevRanges, t.mapping), n.prevTime, n.prevComposition);
|
|
24626
24626
|
}
|
|
24627
|
-
function
|
|
24627
|
+
function OL(n, e) {
|
|
24628
24628
|
if (!e)
|
|
24629
24629
|
return !1;
|
|
24630
24630
|
if (!n.docChanged)
|
|
@@ -24651,7 +24651,7 @@ function Ms(n, e) {
|
|
|
24651
24651
|
}
|
|
24652
24652
|
return t;
|
|
24653
24653
|
}
|
|
24654
|
-
function
|
|
24654
|
+
function _L(n, e, t) {
|
|
24655
24655
|
let i = $r(e), r = En.get(e).spec.config, o = (t ? n.undone : n.done).popEvent(e, i);
|
|
24656
24656
|
if (!o)
|
|
24657
24657
|
return null;
|
|
@@ -24671,8 +24671,8 @@ function $r(n) {
|
|
|
24671
24671
|
}
|
|
24672
24672
|
return Es;
|
|
24673
24673
|
}
|
|
24674
|
-
const En = new De("history"),
|
|
24675
|
-
function
|
|
24674
|
+
const En = new De("history"), NL = new De("closeHistory");
|
|
24675
|
+
function HL(n = {}) {
|
|
24676
24676
|
return n = {
|
|
24677
24677
|
depth: n.depth || 100,
|
|
24678
24678
|
newGroupDelay: n.newGroupDelay || 500
|
|
@@ -24683,7 +24683,7 @@ function HP(n = {}) {
|
|
|
24683
24683
|
return new Wt(bt.empty, bt.empty, null, 0, -1);
|
|
24684
24684
|
},
|
|
24685
24685
|
apply(e, t, i) {
|
|
24686
|
-
return $
|
|
24686
|
+
return $L(t, i, e, n);
|
|
24687
24687
|
}
|
|
24688
24688
|
},
|
|
24689
24689
|
config: n,
|
|
@@ -24703,7 +24703,7 @@ function F0(n, e) {
|
|
|
24703
24703
|
if (!r || (n ? r.undone : r.done).eventCount == 0)
|
|
24704
24704
|
return !1;
|
|
24705
24705
|
if (i) {
|
|
24706
|
-
let o =
|
|
24706
|
+
let o = _L(r, t, n);
|
|
24707
24707
|
o && i(e ? o.scrollIntoView() : o);
|
|
24708
24708
|
}
|
|
24709
24709
|
return !0;
|
|
@@ -24779,7 +24779,7 @@ ye.create({
|
|
|
24779
24779
|
];
|
|
24780
24780
|
}
|
|
24781
24781
|
});
|
|
24782
|
-
var
|
|
24782
|
+
var RL = ye.create({
|
|
24783
24783
|
name: "dropCursor",
|
|
24784
24784
|
addOptions() {
|
|
24785
24785
|
return {
|
|
@@ -24789,7 +24789,7 @@ var RP = ye.create({
|
|
|
24789
24789
|
};
|
|
24790
24790
|
},
|
|
24791
24791
|
addProseMirrorPlugins() {
|
|
24792
|
-
return [
|
|
24792
|
+
return [SL(this.options)];
|
|
24793
24793
|
}
|
|
24794
24794
|
});
|
|
24795
24795
|
ye.create({
|
|
@@ -24835,10 +24835,10 @@ ye.create({
|
|
|
24835
24835
|
];
|
|
24836
24836
|
}
|
|
24837
24837
|
});
|
|
24838
|
-
var
|
|
24838
|
+
var zL = ye.create({
|
|
24839
24839
|
name: "gapCursor",
|
|
24840
24840
|
addProseMirrorPlugins() {
|
|
24841
|
-
return [
|
|
24841
|
+
return [TL()];
|
|
24842
24842
|
},
|
|
24843
24843
|
extendNodeSchema(n) {
|
|
24844
24844
|
var e;
|
|
@@ -24926,7 +24926,7 @@ ye.create({
|
|
|
24926
24926
|
function ip({ types: n, node: e }) {
|
|
24927
24927
|
return e && Array.isArray(n) && n.includes(e.type) || (e == null ? void 0 : e.type) === n;
|
|
24928
24928
|
}
|
|
24929
|
-
var
|
|
24929
|
+
var FL = ye.create({
|
|
24930
24930
|
name: "trailingNode",
|
|
24931
24931
|
addOptions() {
|
|
24932
24932
|
return {
|
|
@@ -24959,7 +24959,7 @@ var FP = ye.create({
|
|
|
24959
24959
|
})
|
|
24960
24960
|
];
|
|
24961
24961
|
}
|
|
24962
|
-
}),
|
|
24962
|
+
}), VL = ye.create({
|
|
24963
24963
|
name: "undoRedo",
|
|
24964
24964
|
addOptions() {
|
|
24965
24965
|
return {
|
|
@@ -24974,7 +24974,7 @@ var FP = ye.create({
|
|
|
24974
24974
|
};
|
|
24975
24975
|
},
|
|
24976
24976
|
addProseMirrorPlugins() {
|
|
24977
|
-
return [
|
|
24977
|
+
return [HL(this.options)];
|
|
24978
24978
|
},
|
|
24979
24979
|
addKeyboardShortcuts() {
|
|
24980
24980
|
return {
|
|
@@ -24986,14 +24986,14 @@ var FP = ye.create({
|
|
|
24986
24986
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
24987
24987
|
};
|
|
24988
24988
|
}
|
|
24989
|
-
}),
|
|
24989
|
+
}), jL = ye.create({
|
|
24990
24990
|
name: "starterKit",
|
|
24991
24991
|
addExtensions() {
|
|
24992
24992
|
var n, e, t, i;
|
|
24993
24993
|
const r = [];
|
|
24994
|
-
return this.options.bold !== !1 && r.push(
|
|
24994
|
+
return this.options.bold !== !1 && r.push(yP.configure(this.options.bold)), this.options.blockquote !== !1 && r.push(fP.configure(this.options.blockquote)), this.options.bulletList !== !1 && r.push(A0.configure(this.options.bulletList)), this.options.code !== !1 && r.push(wP.configure(this.options.code)), this.options.codeBlock !== !1 && r.push(TP.configure(this.options.codeBlock)), this.options.document !== !1 && r.push(MP.configure(this.options.document)), this.options.dropcursor !== !1 && r.push(RL.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && r.push(zL.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && r.push(EP.configure(this.options.hardBreak)), this.options.heading !== !1 && r.push(PP.configure(this.options.heading)), this.options.undoRedo !== !1 && r.push(VL.configure(this.options.undoRedo)), this.options.horizontalRule !== !1 && r.push(LP.configure(this.options.horizontalRule)), this.options.italic !== !1 && r.push($P.configure(this.options.italic)), this.options.listItem !== !1 && r.push(I0.configure(this.options.listItem)), this.options.listKeymap !== !1 && r.push(H0.configure((n = this.options) == null ? void 0 : n.listKeymap)), this.options.link !== !1 && r.push(oL.configure((e = this.options) == null ? void 0 : e.link)), this.options.orderedList !== !1 && r.push(R0.configure(this.options.orderedList)), this.options.paragraph !== !1 && r.push(bL.configure(this.options.paragraph)), this.options.strike !== !1 && r.push(gL.configure(this.options.strike)), this.options.text !== !1 && r.push(yL.configure(this.options.text)), this.options.underline !== !1 && r.push(vL.configure((t = this.options) == null ? void 0 : t.underline)), this.options.trailingNode !== !1 && r.push(FL.configure((i = this.options) == null ? void 0 : i.trailingNode)), r;
|
|
24995
24995
|
}
|
|
24996
|
-
}),
|
|
24996
|
+
}), qL = jL, WL = ye.create({
|
|
24997
24997
|
name: "textAlign",
|
|
24998
24998
|
addOptions() {
|
|
24999
24999
|
return {
|
|
@@ -25034,20 +25034,20 @@ var FP = ye.create({
|
|
|
25034
25034
|
"Mod-Shift-j": () => this.editor.commands.setTextAlign("justify")
|
|
25035
25035
|
};
|
|
25036
25036
|
}
|
|
25037
|
-
}),
|
|
25038
|
-
const
|
|
25037
|
+
}), UL = WL;
|
|
25038
|
+
const GL = { class: "pbx-my-2 pbx-py-2" }, KL = {
|
|
25039
25039
|
for: "font-desktop",
|
|
25040
25040
|
class: "pbx-myPrimaryInputLabel"
|
|
25041
|
-
},
|
|
25041
|
+
}, JL = {
|
|
25042
25042
|
disabled: "",
|
|
25043
25043
|
value: ""
|
|
25044
|
-
},
|
|
25044
|
+
}, YL = { class: "pbx-my-2 pbx-py-2" }, QL = {
|
|
25045
25045
|
for: "font-weight",
|
|
25046
25046
|
class: "pbx-myPrimaryInputLabel"
|
|
25047
|
-
},
|
|
25047
|
+
}, XL = {
|
|
25048
25048
|
disabled: "",
|
|
25049
25049
|
value: ""
|
|
25050
|
-
},
|
|
25050
|
+
}, ZL = { class: "pbx-my-2 pbx-py-2" }, eB = {
|
|
25051
25051
|
for: "font-family",
|
|
25052
25052
|
class: "pbx-myPrimaryInputLabel"
|
|
25053
25053
|
}, tB = {
|
|
@@ -25107,15 +25107,15 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25107
25107
|
{ immediate: !0 }
|
|
25108
25108
|
), (T, S) => (y(), w("div", null, [
|
|
25109
25109
|
E("", !0),
|
|
25110
|
-
c("div",
|
|
25111
|
-
c("label",
|
|
25110
|
+
c("div", GL, [
|
|
25111
|
+
c("label", KL, C(g(e)("Font size")), 1),
|
|
25112
25112
|
le(c("select", {
|
|
25113
25113
|
id: "font-desktop",
|
|
25114
25114
|
"onUpdate:modelValue": S[2] || (S[2] = (M) => o.value = M),
|
|
25115
25115
|
class: "pbx-myPrimarySelect",
|
|
25116
25116
|
onChange: S[3] || (S[3] = (M) => g(t).handleFontSizeDesktop(o.value))
|
|
25117
25117
|
}, [
|
|
25118
|
-
c("option",
|
|
25118
|
+
c("option", JL, C(g(e)("Select")), 1),
|
|
25119
25119
|
(y(!0), w(K, null, ie(g(Zn).fontDesktop, (M) => (y(), w("option", { key: M }, C(M), 1))), 128))
|
|
25120
25120
|
], 544), [
|
|
25121
25121
|
[Se, o.value]
|
|
@@ -25123,22 +25123,22 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25123
25123
|
]),
|
|
25124
25124
|
E("", !0),
|
|
25125
25125
|
S[14] || (S[14] = c("hr", null, null, -1)),
|
|
25126
|
-
c("div",
|
|
25127
|
-
c("label",
|
|
25126
|
+
c("div", YL, [
|
|
25127
|
+
c("label", QL, C(g(e)("Font weight")), 1),
|
|
25128
25128
|
le(c("select", {
|
|
25129
25129
|
id: "font-weight",
|
|
25130
25130
|
"onUpdate:modelValue": S[8] || (S[8] = (M) => a.value = M),
|
|
25131
25131
|
class: "pbx-myPrimarySelect",
|
|
25132
25132
|
onChange: S[9] || (S[9] = (M) => g(t).handleFontWeight(a.value))
|
|
25133
25133
|
}, [
|
|
25134
|
-
c("option",
|
|
25134
|
+
c("option", XL, C(g(e)("Select")), 1),
|
|
25135
25135
|
(y(!0), w(K, null, ie(g(Ot).fontWeight, (M) => (y(), w("option", { key: M }, C(M), 1))), 128))
|
|
25136
25136
|
], 544), [
|
|
25137
25137
|
[Se, a.value]
|
|
25138
25138
|
])
|
|
25139
25139
|
]),
|
|
25140
25140
|
S[15] || (S[15] = c("hr", null, null, -1)),
|
|
25141
|
-
c("div",
|
|
25141
|
+
c("div", ZL, [
|
|
25142
25142
|
c("label", eB, C(g(e)("Font family")), 1),
|
|
25143
25143
|
le(c("select", {
|
|
25144
25144
|
id: "font-family",
|
|
@@ -25187,16 +25187,16 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25187
25187
|
T.value = ne.length;
|
|
25188
25188
|
}
|
|
25189
25189
|
});
|
|
25190
|
-
const S =
|
|
25190
|
+
const S = uP({
|
|
25191
25191
|
content: "",
|
|
25192
25192
|
extensions: [
|
|
25193
|
-
|
|
25193
|
+
qL.configure({
|
|
25194
25194
|
// Configure Link here if needed
|
|
25195
25195
|
link: {
|
|
25196
25196
|
openOnClick: !1
|
|
25197
25197
|
}
|
|
25198
25198
|
}),
|
|
25199
|
-
|
|
25199
|
+
UL.configure({
|
|
25200
25200
|
types: ["heading", "paragraph"]
|
|
25201
25201
|
})
|
|
25202
25202
|
],
|
|
@@ -25215,14 +25215,14 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25215
25215
|
Y(m, () => {
|
|
25216
25216
|
M();
|
|
25217
25217
|
});
|
|
25218
|
-
const
|
|
25219
|
-
Y(
|
|
25218
|
+
const P = k(""), H = k(""), I = k(null);
|
|
25219
|
+
Y(P, (V) => {
|
|
25220
25220
|
H.value = V;
|
|
25221
25221
|
});
|
|
25222
25222
|
const N = function() {
|
|
25223
|
-
|
|
25223
|
+
P.value = S.value.getAttributes("link").href, r.value = !0, o.value = "success", s.value = 2, l.value = t("Enter URL"), a.value = t(
|
|
25224
25224
|
"Add a valid URL to transform the selected text into a clickable hyperlink that directs users to the specified web address."
|
|
25225
|
-
), d.value = t("Close"), p.value =
|
|
25225
|
+
), d.value = t("Close"), p.value = P.value ? "Remove url" : null, u.value = t("Save"), h.value = function() {
|
|
25226
25226
|
r.value = !1, I.value = null;
|
|
25227
25227
|
}, f.value = function() {
|
|
25228
25228
|
S.value.chain().focus().extendMarkRange("link").unsetLink().run(), r.value = !1;
|
|
@@ -25242,7 +25242,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25242
25242
|
return u1(() => {
|
|
25243
25243
|
var V;
|
|
25244
25244
|
(V = S.value) == null || V.destroy();
|
|
25245
|
-
}),
|
|
25245
|
+
}), Ln(() => {
|
|
25246
25246
|
M();
|
|
25247
25247
|
}), (V, O) => (y(), w("div", null, [
|
|
25248
25248
|
F(wn, {
|
|
@@ -25267,12 +25267,12 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25267
25267
|
c("span", null, C(g(t)("Enter URL")), 1)
|
|
25268
25268
|
]),
|
|
25269
25269
|
le(c("input", {
|
|
25270
|
-
"onUpdate:modelValue": O[0] || (O[0] = (ne) =>
|
|
25270
|
+
"onUpdate:modelValue": O[0] || (O[0] = (ne) => P.value = ne),
|
|
25271
25271
|
class: "pbx-myPrimaryInput pbx-mt-1 pbx-w-full",
|
|
25272
25272
|
type: "url",
|
|
25273
25273
|
placeholder: "url"
|
|
25274
25274
|
}, null, 512), [
|
|
25275
|
-
[
|
|
25275
|
+
[Pn, P.value]
|
|
25276
25276
|
]),
|
|
25277
25277
|
I.value ? (y(), w("div", aB, [
|
|
25278
25278
|
c("p", dB, C(I.value), 1)
|
|
@@ -25411,7 +25411,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25411
25411
|
})
|
|
25412
25412
|
])
|
|
25413
25413
|
]),
|
|
25414
|
-
g(S) ? (y(), oe(g(
|
|
25414
|
+
g(S) ? (y(), oe(g(cP), {
|
|
25415
25415
|
key: 0,
|
|
25416
25416
|
id: "page-builder-editor",
|
|
25417
25417
|
editor: g(S),
|
|
@@ -25441,7 +25441,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25441
25441
|
}, MB = {
|
|
25442
25442
|
key: 0,
|
|
25443
25443
|
class: "pbx-absolute pbx-top-10 pbx-transform pbx-select-none pbx-bg-white pbx-rounded-2xl pbx-py-2 pbx-px-2 pbx-border-solid pbx-border pbx-border-gray-200 pbx-inset-x-auto pbx-z-40 pbx-w-56"
|
|
25444
|
-
}, EB = { class: "pbx-flex pbx-flex-col" },
|
|
25444
|
+
}, EB = { class: "pbx-flex pbx-flex-col" }, PB = ["disabled"], LB = { class: "pbx-text-sm" }, BB = ["disabled"], AB = { class: "pbx-text-sm" }, IB = { class: "pbx-text-sm" }, DB = { class: "pbx-h-10 pbx-w-10 pbx-rounded-sm pbx-flex pbx-items-center pbx-justify-center pbx-aspect-square pbx-text-myPrimaryDarkGrayColor hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white focus-visible:pbx-ring-0 pbx-cursor-pointer" }, $B = {
|
|
25445
25445
|
fill: "currentColor",
|
|
25446
25446
|
height: "22",
|
|
25447
25447
|
viewBox: "0 0 22 22",
|
|
@@ -25465,7 +25465,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25465
25465
|
}, S.value = function() {
|
|
25466
25466
|
t.toggleTipTapModal(!0);
|
|
25467
25467
|
};
|
|
25468
|
-
},
|
|
25468
|
+
}, P = B(() => i.getBasePrimaryImage), H = k(!1), I = k(""), N = k(""), z = k(""), D = k(null), _ = k(null), X = k(null), V = function() {
|
|
25469
25469
|
H.value = !0, I.value = e("Media Library"), N.value = null, z.value = e("Close"), D.value = e("Select image"), X.value = function() {
|
|
25470
25470
|
H.value = !1;
|
|
25471
25471
|
};
|
|
@@ -25524,7 +25524,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25524
25524
|
class: "pbx-myPrimaryInput",
|
|
25525
25525
|
name: "video"
|
|
25526
25526
|
}, null, 512), [
|
|
25527
|
-
[
|
|
25527
|
+
[Pn, ne.value]
|
|
25528
25528
|
]),
|
|
25529
25529
|
O.value ? (y(), w("div", gB, [
|
|
25530
25530
|
c("p", yB, C(O.value), 1)
|
|
@@ -25620,7 +25620,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25620
25620
|
]),
|
|
25621
25621
|
F(my)
|
|
25622
25622
|
], 64)) : E("", !0),
|
|
25623
|
-
o.value && d.value &&
|
|
25623
|
+
o.value && d.value && P.value && !g(t).ElOrFirstChildIsIframe() ? (y(), w("div", TB, [
|
|
25624
25624
|
c("div", {
|
|
25625
25625
|
onClick: V,
|
|
25626
25626
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-flex pbx-items-center pbx-justify-center hover:pbx-bg-gray-100 pbx-aspect-square pbx-text-myPrimaryDarkGrayColor pbx-bg-gray-100 pbx-rounded-xl hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white"
|
|
@@ -25628,7 +25628,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25628
25628
|
c("span", { class: "material-symbols-outlined" }, " add_photo_alternate ", -1)
|
|
25629
25629
|
])])
|
|
25630
25630
|
])) : E("", !0),
|
|
25631
|
-
o.value && o.value.nodeType === 1 && !
|
|
25631
|
+
o.value && o.value.nodeType === 1 && !P.value && !g(t).ElOrFirstChildIsIframe() ? (y(), oe(by, { key: 3 })) : E("", !0),
|
|
25632
25632
|
(o.value, E("", !0)),
|
|
25633
25633
|
o.value && d.value ? (y(), w("div", {
|
|
25634
25634
|
key: 5,
|
|
@@ -25667,8 +25667,8 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25667
25667
|
}, [...G[19] || (G[19] = [
|
|
25668
25668
|
c("span", { class: "material-symbols-outlined" }, " move_up ", -1)
|
|
25669
25669
|
])], 2),
|
|
25670
|
-
c("div",
|
|
25671
|
-
], 10,
|
|
25670
|
+
c("div", LB, C(g(e)("Move up")), 1)
|
|
25671
|
+
], 10, PB)) : E("", !0),
|
|
25672
25672
|
o.value && d.value ? (y(), w("div", {
|
|
25673
25673
|
key: 1,
|
|
25674
25674
|
onClick: G[5] || (G[5] = (ht) => g(t).reorderComponent(1)),
|
|
@@ -25770,13 +25770,13 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25770
25770
|
}, YB = { class: "pbx-myPrimaryParagraph pbx-mt-6 pbx-mb-10" }, QB = { class: "pbx-my-1" }, XB = { class: "pbx-my-1" }, ZB = { class: "pbx-my-1" }, e5 = { class: "pbx-my-1" }, t5 = { class: "pbx-my-1" }, n5 = { class: "pbx-my-1" }, i5 = { class: "pbx-my-1" }, r5 = { class: "pbx-my-1" }, o5 = { class: "pbx-my-1" }, s5 = { class: "pbx-my-1" }, l5 = {
|
|
25771
25771
|
key: 2,
|
|
25772
25772
|
class: "pbx-min-h-screen"
|
|
25773
|
-
}, a5 = { class: "pbx-myPrimaryParagraph pbx-mt-6 pbx-mb-10" }, d5 = { class: "pbx-w-full pbx-inset-x-0 pbx-h-[90vh] pbx-bg-white pbx-overflow-x-scroll lg:pbx-pt-2 pbx-pt-2" }, p5 = { class: "pbx-flex pbx-items-left pbx-flex-col pbx-myPrimaryGap pbx-border-myPrimaryMediumGrayColor" }, c5 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-pb-2" }, u5 = { class: "pbx-text-gray-100 pbx-overflow-hidden pbx-bg-gray-900" }, h5 = { class: "pbx-flex pbx-bg-gray-900 pbx-ring-1 ring-white/5" }, f5 = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, b5 = { class: "pbx-px-4 pbx-py-4 pbx-text-gray-100" }, m5 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-gray-100 pbx-text-xs" }, x5 = { class: "pbx-text-xs pbx-pb-2" }, g5 = { class: "pbx-text-xs pbx-pb-2" }, y5 = { class: "pbx-text-xs pbx-pb-2" }, v5 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-pb-2" }, S5 = { class: "pbx-overflow-hidden pbx-bg-gray-900" }, w5 = { class: "pbx-flex pbx-bg-gray-900 pbx-ring-1 ring-white/5" }, C5 = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, k5 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-gray-100 pbx-text-xs pbx-break-all" }, T5 = { key: 0 }, M5 = { key: 0 }, E5 = { class: "pbx-pb-2 pbx-text-xs" },
|
|
25773
|
+
}, a5 = { class: "pbx-myPrimaryParagraph pbx-mt-6 pbx-mb-10" }, d5 = { class: "pbx-w-full pbx-inset-x-0 pbx-h-[90vh] pbx-bg-white pbx-overflow-x-scroll lg:pbx-pt-2 pbx-pt-2" }, p5 = { class: "pbx-flex pbx-items-left pbx-flex-col pbx-myPrimaryGap pbx-border-myPrimaryMediumGrayColor" }, c5 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-pb-2" }, u5 = { class: "pbx-text-gray-100 pbx-overflow-hidden pbx-bg-gray-900" }, h5 = { class: "pbx-flex pbx-bg-gray-900 pbx-ring-1 ring-white/5" }, f5 = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, b5 = { class: "pbx-px-4 pbx-py-4 pbx-text-gray-100" }, m5 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-gray-100 pbx-text-xs" }, x5 = { class: "pbx-text-xs pbx-pb-2" }, g5 = { class: "pbx-text-xs pbx-pb-2" }, y5 = { class: "pbx-text-xs pbx-pb-2" }, v5 = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-pb-2" }, S5 = { class: "pbx-overflow-hidden pbx-bg-gray-900" }, w5 = { class: "pbx-flex pbx-bg-gray-900 pbx-ring-1 ring-white/5" }, C5 = { class: "pbx-mb-px pbx-flex pbx-text-xs pbx-font-medium pbx-text-myPrimaryMediumGrayColor" }, k5 = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-gray-100 pbx-text-xs pbx-break-all" }, T5 = { key: 0 }, M5 = { key: 0 }, E5 = { class: "pbx-pb-2 pbx-text-xs" }, P5 = {
|
|
25774
25774
|
key: 1,
|
|
25775
25775
|
class: "pbx-overflow-hidden pbx-border-solid pbx-border pbx-border-gray-100 pbx-mb-6"
|
|
25776
|
-
},
|
|
25776
|
+
}, L5 = { class: "pbx-border-0 pbx-bg-gray-900 pbx-pt-4 pbx-1 pbx-border-solid pbx-border-b pbx-border-gray-200" }, B5 = { class: "pbx-overflow-x-auto" }, A5 = { class: "pbx-min-w-full" }, I5 = { class: "pbx-bg-gray-900" }, D5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, $5 = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, O5 = { class: "pbx-border-0 pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-border-solid pbx-border-b" }, _5 = { class: "pbx-overflow-x-auto" }, N5 = { class: "pbx-min-w-full" }, H5 = { class: "pbx-bg-gray-900" }, R5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, z5 = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, F5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-whitespace-pre-line" }, V5 = { class: "pbx-overflow-x-auto" }, j5 = { class: "pbx-min-w-full" }, q5 = { class: "pbx-bg-gray-900" }, W5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, U5 = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, G5 = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, K5 = { key: 1 }, J5 = { key: 0 }, Y5 = { class: "pbx-pb-2 pbx-text-xs" }, Q5 = {
|
|
25777
25777
|
key: 1,
|
|
25778
25778
|
class: "pbx-overflow-hidden pbx-border-solid pbx-border pbx-border-gray-100 pbx-mb-6"
|
|
25779
|
-
}, X5 = { class: "pbx-border-0 pbx-bg-gray-900 pbx-pt-4 pbx-1 pbx-border-solid pbx-border-b pbx-border-gray-200" }, Z5 = { class: "pbx-overflow-x-auto" }, eA = { class: "pbx-min-w-full" }, tA = { class: "pbx-bg-gray-900" }, nA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, iA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, rA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, oA = { class: "pbx-overflow-x-auto" }, sA = { class: "pbx-min-w-full" }, lA = { class: "pbx-bg-gray-900" }, aA = { class: "pbx-border-0 pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-border-solid pbx-border-t pbx-border-gray-200" }, dA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, pA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-whitespace-pre-line" }, cA = { class: "pbx-overflow-x-auto" }, uA = { class: "pbx-min-w-full" }, hA = { class: "pbx-bg-gray-900" }, fA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, bA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, mA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, xA = { class: "pbx-text-xs pbx-text-gray-100 pbx-whitespace-pre-wrap pbx-font-sans pbx-flex pbx-items-start pbx-justify-left" }, gA = ["innerHTML"], yA = { key: 2 }, vA = { key: 0 }, SA = { class: "pbx-pb-2 pbx-text-xs" }, wA = { key: 1 }, CA = { class: "pbx-border-0 pbx-bg-gray-900 pbx-pt-4 pbx-1 pbx-border-solid pbx-border-b pbx-border-gray-200" }, kA = { class: "pbx-overflow-x-auto" }, TA = { class: "pbx-min-w-full" }, MA = { class: "pbx-bg-gray-900" }, EA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" },
|
|
25779
|
+
}, X5 = { class: "pbx-border-0 pbx-bg-gray-900 pbx-pt-4 pbx-1 pbx-border-solid pbx-border-b pbx-border-gray-200" }, Z5 = { class: "pbx-overflow-x-auto" }, eA = { class: "pbx-min-w-full" }, tA = { class: "pbx-bg-gray-900" }, nA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, iA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, rA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, oA = { class: "pbx-overflow-x-auto" }, sA = { class: "pbx-min-w-full" }, lA = { class: "pbx-bg-gray-900" }, aA = { class: "pbx-border-0 pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-border-solid pbx-border-t pbx-border-gray-200" }, dA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, pA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-whitespace-pre-line" }, cA = { class: "pbx-overflow-x-auto" }, uA = { class: "pbx-min-w-full" }, hA = { class: "pbx-bg-gray-900" }, fA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, bA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, mA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, xA = { class: "pbx-text-xs pbx-text-gray-100 pbx-whitespace-pre-wrap pbx-font-sans pbx-flex pbx-items-start pbx-justify-left" }, gA = ["innerHTML"], yA = { key: 2 }, vA = { key: 0 }, SA = { class: "pbx-pb-2 pbx-text-xs" }, wA = { key: 1 }, CA = { class: "pbx-border-0 pbx-bg-gray-900 pbx-pt-4 pbx-1 pbx-border-solid pbx-border-b pbx-border-gray-200" }, kA = { class: "pbx-overflow-x-auto" }, TA = { class: "pbx-min-w-full" }, MA = { class: "pbx-bg-gray-900" }, EA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, PA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, LA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, BA = { class: "pbx-overflow-x-auto" }, AA = { class: "pbx-min-w-full" }, IA = { class: "pbx-bg-gray-900" }, DA = { class: "pbx-border-0 pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-border-solid pbx-border-t pbx-border-gray-200" }, $A = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, OA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal pbx-whitespace-pre-line" }, _A = { class: "pbx-overflow-x-auto" }, NA = { class: "pbx-min-w-full" }, HA = { class: "pbx-bg-gray-900" }, RA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, zA = { class: "pbx-bg-gray-900 pbx-divide-y pbx-divide-gray-200" }, FA = { class: "pbx-px-6 pbx-py-3 pbx-text-left pbx-text-xs pbx-text-gray-100 pbx-font-normal" }, VA = { class: "pbx-text-xs pbx-text-gray-100 pbx-whitespace-pre-wrap pbx-font-sans pbx-flex pbx-items-start pbx-justify-left" }, jA = ["innerHTML"], qA = {
|
|
25780
25780
|
__name: "AdvancedPageBuilderSettings",
|
|
25781
25781
|
props: {
|
|
25782
25782
|
isLoading: {
|
|
@@ -25810,11 +25810,11 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25810
25810
|
"<wbr"
|
|
25811
25811
|
];
|
|
25812
25812
|
return T.forEach((M) => {
|
|
25813
|
-
const
|
|
25814
|
-
if (!
|
|
25815
|
-
const H =
|
|
25813
|
+
const P = M.trim();
|
|
25814
|
+
if (!P) return;
|
|
25815
|
+
const H = P.startsWith("<") && P.endsWith(">"), I = H && P.startsWith("</");
|
|
25816
25816
|
I && (m = Math.max(0, m - 1));
|
|
25817
|
-
let N = b.repeat(m) +
|
|
25817
|
+
let N = b.repeat(m) + P;
|
|
25818
25818
|
H && (N = N.replace(/(<\/?[[\w\s="/.':;#-\/\?]+>)/g, (z) => {
|
|
25819
25819
|
var X;
|
|
25820
25820
|
const D = (X = z.match(/<\/?([\w-]+)/)) == null ? void 0 : X[1];
|
|
@@ -25827,7 +25827,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25827
25827
|
'<span class="html-attribute-name">$1</span><span class="html-operator">=</span><span class="html-attribute-value">$2</span>'
|
|
25828
25828
|
), _ + '<span class="html-tag-symbol">></span>';
|
|
25829
25829
|
})), x += N + `
|
|
25830
|
-
`, H && !I && (
|
|
25830
|
+
`, H && !I && (P.endsWith("/>") || S.some((D) => P.startsWith(D)) || m++);
|
|
25831
25831
|
}), x;
|
|
25832
25832
|
}
|
|
25833
25833
|
const d = function(f, b) {
|
|
@@ -25886,7 +25886,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
25886
25886
|
u.value = f;
|
|
25887
25887
|
}
|
|
25888
25888
|
return (f, b) => {
|
|
25889
|
-
var m, x, v, T, S, M,
|
|
25889
|
+
var m, x, v, T, S, M, P, H, I, N;
|
|
25890
25890
|
return y(), w("div", null, [
|
|
25891
25891
|
c("div", null, [
|
|
25892
25892
|
c("div", FB, [
|
|
@@ -26041,8 +26041,8 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26041
26041
|
r.value ? E("", !0) : (y(), w("div", M5, [
|
|
26042
26042
|
c("p", E5, C(r.value === null ? g(e)("No Element selected") : typeof r.value), 1)
|
|
26043
26043
|
])),
|
|
26044
|
-
i.value ? (y(), w("div",
|
|
26045
|
-
c("div",
|
|
26044
|
+
i.value ? (y(), w("div", P5, [
|
|
26045
|
+
c("div", L5, [
|
|
26046
26046
|
c("div", B5, [
|
|
26047
26047
|
c("table", A5, [
|
|
26048
26048
|
c("thead", I5, [
|
|
@@ -26081,7 +26081,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26081
26081
|
]),
|
|
26082
26082
|
c("tbody", U5, [
|
|
26083
26083
|
c("tr", null, [
|
|
26084
|
-
c("td", G5, C((S = i.value) != null && S.classList ? (M = i.value) == null ? void 0 : M.classList : typeof ((
|
|
26084
|
+
c("td", G5, C((S = i.value) != null && S.classList ? (M = i.value) == null ? void 0 : M.classList : typeof ((P = i.value) == null ? void 0 : P.classList)), 1)
|
|
26085
26085
|
])
|
|
26086
26086
|
])
|
|
26087
26087
|
])
|
|
@@ -26166,9 +26166,9 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26166
26166
|
c("th", EA, C(g(e)("ID:")), 1)
|
|
26167
26167
|
])
|
|
26168
26168
|
]),
|
|
26169
|
-
c("tbody",
|
|
26169
|
+
c("tbody", PA, [
|
|
26170
26170
|
c("tr", null, [
|
|
26171
|
-
c("td",
|
|
26171
|
+
c("td", LA, C(z.id), 1)
|
|
26172
26172
|
])
|
|
26173
26173
|
])
|
|
26174
26174
|
])
|
|
@@ -26229,19 +26229,19 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26229
26229
|
}, WA = { class: "pbx-flex pbx-flex-col pbx-items-center pbx-justify-center pbx-myPrimaryGap" }, UA = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center pbx-relative" }, GA = {
|
|
26230
26230
|
key: 0,
|
|
26231
26231
|
class: "pbx-top-0 pbx-left-full pbx-absolute pbx-z-40 lg:pbx-w-[35rem] pbx-w-[30rem]"
|
|
26232
|
-
}, KA = { class: "lg:pbx-mr-10 pbx-rounded-3xl pbx-border pbx-border-gray-100 pbx-bg-white pbx-shadow-lg pbx-pt-4 pbx-pb-4 pbx-flex pbx-flex-col pbx-min-h-[35rem] pbx-max-h-[35rem] pbx-mx-4 pbx-pl-2 pbx-pr-4" }, JA = { class: "pbx-overflow-y-auto" }, YA = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, QA = { class: "pbx-lg:pbx-text-base pbx-text-sm pbx-font-semibold pbx-text-center pbx-min-h-14 pbx-flex pbx-justify-center pbx-items-center" }, XA = { class: "pbx-bg-gray-100 pbx-rounded-full pbx-w-32 pbx-h-32 pbx-flex pbx-items-center pbx-justify-center" }, ZA = { class: "text-center" },
|
|
26232
|
+
}, KA = { class: "lg:pbx-mr-10 pbx-rounded-3xl pbx-border pbx-border-gray-100 pbx-bg-white pbx-shadow-lg pbx-pt-4 pbx-pb-4 pbx-flex pbx-flex-col pbx-min-h-[35rem] pbx-max-h-[35rem] pbx-mx-4 pbx-pl-2 pbx-pr-4" }, JA = { class: "pbx-overflow-y-auto" }, YA = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, QA = { class: "pbx-lg:pbx-text-base pbx-text-sm pbx-font-semibold pbx-text-center pbx-min-h-14 pbx-flex pbx-justify-center pbx-items-center" }, XA = { class: "pbx-bg-gray-100 pbx-rounded-full pbx-w-32 pbx-h-32 pbx-flex pbx-items-center pbx-justify-center" }, ZA = { class: "text-center" }, eI = { class: "pbx-lg:pbx-text-7xl pbx-text-5xl" }, tI = {
|
|
26233
26233
|
key: 0,
|
|
26234
26234
|
class: "pbx-w-full"
|
|
26235
|
-
},
|
|
26235
|
+
}, nI = { class: "pbx-text-xl pbx-font-semibold pbx-mb-4 pbx-text-center" }, iI = { class: "pbx-space-y-4" }, rI = { class: "pbx-flex-shrink-0 pbx-mt-1" }, oI = {
|
|
26236
26236
|
key: 0,
|
|
26237
26237
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-myPrimaryLinkColor pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-white hover:pbx-text-white"
|
|
26238
|
-
},
|
|
26238
|
+
}, sI = {
|
|
26239
26239
|
key: 1,
|
|
26240
26240
|
class: "pbx-select-none pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-myPrimaryErrorColor pbx-aspect-square hover:pbx-bg-myPrimaryErrorColor hover:pbx-text-white pbx-text-white"
|
|
26241
|
-
},
|
|
26241
|
+
}, lI = { class: "pbx-flex-1" }, aI = { class: "pbx-text-sm pbx-text-gray-600" }, dI = {
|
|
26242
26242
|
key: 1,
|
|
26243
26243
|
class: "pbx-text-gray-500 pbx-text-center"
|
|
26244
|
-
},
|
|
26244
|
+
}, pI = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, cI = {
|
|
26245
26245
|
__name: "ComponentTopMenu",
|
|
26246
26246
|
setup(n) {
|
|
26247
26247
|
const { translate: e } = Te(), t = he, i = Me(), r = k(!1), o = k(!1), s = k(""), l = k(1), a = k(""), d = k(""), p = k(""), u = k(null), h = k(null), f = k(null), b = k(null), m = k(null), x = function() {
|
|
@@ -26257,10 +26257,10 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26257
26257
|
T.value = !0, await ve(200), await i.handleManualSave();
|
|
26258
26258
|
const X = document.querySelector("#pagebuilder");
|
|
26259
26259
|
X && X.removeAttribute("data-global-selected"), v.value = !1, T.value = !1;
|
|
26260
|
-
},
|
|
26261
|
-
|
|
26260
|
+
}, P = k(!1), H = function() {
|
|
26261
|
+
P.value = !1;
|
|
26262
26262
|
}, I = function() {
|
|
26263
|
-
|
|
26263
|
+
P.value = !0;
|
|
26264
26264
|
}, N = k(null), z = k(!1), D = async function() {
|
|
26265
26265
|
z.value = !z.value, z.value && (N.value = await i.analyzeSEO());
|
|
26266
26266
|
}, _ = function() {
|
|
@@ -26311,37 +26311,37 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26311
26311
|
}, [
|
|
26312
26312
|
c("div", XA, [
|
|
26313
26313
|
c("div", ZA, [
|
|
26314
|
-
c("span",
|
|
26314
|
+
c("span", eI, C(N.value.score), 1),
|
|
26315
26315
|
V[5] || (V[5] = c("span", { class: "pbx-text-xl" }, "%", -1))
|
|
26316
26316
|
])
|
|
26317
26317
|
])
|
|
26318
26318
|
], 4)) : E("", !0)
|
|
26319
26319
|
])
|
|
26320
26320
|
]),
|
|
26321
|
-
N.value && N.value.checks && N.value.checks.length ? (y(), w("div",
|
|
26322
|
-
c("h3",
|
|
26323
|
-
c("ul",
|
|
26321
|
+
N.value && N.value.checks && N.value.checks.length ? (y(), w("div", tI, [
|
|
26322
|
+
c("h3", nI, C(g(e)("SEO Check Results")), 1),
|
|
26323
|
+
c("ul", iI, [
|
|
26324
26324
|
(y(!0), w(K, null, ie(N.value.checks, (O, ne) => (y(), w("li", {
|
|
26325
26325
|
key: ne,
|
|
26326
26326
|
class: j(["pbx-flex pbx-items-start pbx-gap-4 pbx-p-4 pbx-bg-white pbx-rounded-lg pbx-border-solid pbx-border-2", O.passed ? "pbx-border-emerald-500" : "pbx-border-red-600"])
|
|
26327
26327
|
}, [
|
|
26328
|
-
c("div",
|
|
26329
|
-
O.passed ? (y(), w("div",
|
|
26328
|
+
c("div", rI, [
|
|
26329
|
+
O.passed ? (y(), w("div", oI, [...V[6] || (V[6] = [
|
|
26330
26330
|
c("span", { class: "material-symbols-outlined" }, " check ", -1)
|
|
26331
26331
|
])])) : E("", !0),
|
|
26332
|
-
O.passed ? E("", !0) : (y(), w("div",
|
|
26332
|
+
O.passed ? E("", !0) : (y(), w("div", sI, [...V[7] || (V[7] = [
|
|
26333
26333
|
c("span", { class: "material-symbols-outlined" }, " check_indeterminate_small ", -1)
|
|
26334
26334
|
])]))
|
|
26335
26335
|
]),
|
|
26336
|
-
c("div",
|
|
26336
|
+
c("div", lI, [
|
|
26337
26337
|
c("p", {
|
|
26338
26338
|
class: j(["pbx-text-lg pbx-font-medium", O.passed ? "pbx-text-green-700" : "pbx-text-red-700"])
|
|
26339
26339
|
}, C(O.check), 3),
|
|
26340
|
-
c("p",
|
|
26340
|
+
c("p", aI, C(O.details), 1)
|
|
26341
26341
|
])
|
|
26342
26342
|
], 2))), 128))
|
|
26343
26343
|
])
|
|
26344
|
-
])) : (y(), w("div",
|
|
26344
|
+
])) : (y(), w("div", dI, " No SEO checks available. "))
|
|
26345
26345
|
])
|
|
26346
26346
|
])
|
|
26347
26347
|
])
|
|
@@ -26368,7 +26368,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26368
26368
|
c("span", { class: "material-symbols-outlined" }, " deployed_code ", -1)
|
|
26369
26369
|
])])
|
|
26370
26370
|
]),
|
|
26371
|
-
c("div",
|
|
26371
|
+
c("div", pI, [
|
|
26372
26372
|
c("div", {
|
|
26373
26373
|
onClick: V[1] || (V[1] = async () => {
|
|
26374
26374
|
await g(i).clearHtmlSelection(), I();
|
|
@@ -26427,7 +26427,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26427
26427
|
}, 8, ["showModalBuilder", "title"]),
|
|
26428
26428
|
F(Dt, {
|
|
26429
26429
|
maxWidth: "5xl",
|
|
26430
|
-
showModalBuilder:
|
|
26430
|
+
showModalBuilder: P.value,
|
|
26431
26431
|
title: "Main Settings",
|
|
26432
26432
|
onCloseMainModalBuilder: H,
|
|
26433
26433
|
minHeight: "",
|
|
@@ -26440,7 +26440,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26440
26440
|
}, 8, ["showModalBuilder"])
|
|
26441
26441
|
]));
|
|
26442
26442
|
}
|
|
26443
|
-
},
|
|
26443
|
+
}, uI = [
|
|
26444
26444
|
{
|
|
26445
26445
|
html_code: `
|
|
26446
26446
|
<section>
|
|
@@ -26591,7 +26591,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26591
26591
|
<polygon class="fg" points="110 90.01 122.5 75.01 135 90.01"/>
|
|
26592
26592
|
<circle class="fg" cx="122.5" cy="64.15" r="4.16"/>
|
|
26593
26593
|
</svg>
|
|
26594
|
-
`.trim())}`,
|
|
26594
|
+
`.trim())}`, Ps = [
|
|
26595
26595
|
{
|
|
26596
26596
|
components: {
|
|
26597
26597
|
data: [
|
|
@@ -26941,32 +26941,9 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26941
26941
|
</svg>
|
|
26942
26942
|
`
|
|
26943
26943
|
},
|
|
26944
|
-
{
|
|
26945
|
-
title: "Stats Split with Image",
|
|
26946
|
-
html_code: '<section> <div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2 pbx-bg-gray-900" > <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="pbx-mx-auto pbx-max-w-2xl lg:pbx-mx-0 lg:pbx-max-w-none"> <div class="pbx-text-base/7 pbx-font-semibold pbx-text-indigo-400"> <p>Layouts and visual.</p> </div> <div class="pbx-mt-2 pbx-text-pretty pbx-tracking-tight pbx-text-white pbx-text-2xl lg:pbx-text-4xl pbx-font-medium" > <h1>Layouts and visual.</h1> </div> <div class="pbx-mt-10 pbx-grid pbx-max-w-xl pbx-grid-cols-1 pbx-gap-8 pbx-text-base/7 pbx-text-gray-300 lg:pbx-max-w-none lg:pbx-grid-cols-2" > <div> <div> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> <div class="pbx-mt-8"> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> </div> <div> <div> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> <div class="pbx-mt-8"> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> </div> </div> <div class="pbx-mt-16 pbx-grid pbx-grid-cols-1 pbx-gap-x-8 pbx-gap-y-12 sm:pbx-mt-20 sm:pbx-grid-cols-2 sm:pbx-gap-y-16 lg:pbx-mt-28 lg:pbx-grid-cols-4" > <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div class="pbx-text-base/7 pbx-text-white"><p>Layouts and visual.</p></div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight pbx-text-white"> <p>2021</p> </div> </div> <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div class="pbx-text-base/7 pbx-text-white"><p>Layouts and visual.</p></div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight pbx-text-white"> <p>37</p> </div> </div> <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div class="pbx-text-base/7 pbx-text-white"><p>Layouts and visual.</p></div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight pbx-text-white"> <p>12</p> </div> </div> <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div class="pbx-text-base/7 pbx-text-white"><p>Layouts and visual.</p></div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight pbx-text-white"> <p>$25M</p> </div> </div> </div> </div> </div> </div> </section>',
|
|
26947
|
-
category: "Marketing",
|
|
26948
|
-
cover_image: `
|
|
26949
|
-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 369.55 129.8">
|
|
26950
|
-
<g>
|
|
26951
|
-
<rect fill="#394152" width="173.06" height="129.8"/>
|
|
26952
|
-
<polygon fill="#718096" points="56.24 77.89 77.88 51.93 99.51 77.89 56.24 77.89"/>
|
|
26953
|
-
<polygon fill="#718096" points="95.19 77.89 106 64.91 116.82 77.89 95.19 77.89"/>
|
|
26954
|
-
<circle fill="#718096" cx="106" cy="55.51" r="3.6"/>
|
|
26955
|
-
</g>
|
|
26956
|
-
<rect fill="#394152" x="196.48" y="26.58" width="173.07" height="4.91"/>
|
|
26957
|
-
<rect fill="#394152" x="196.48" y="13.3" width="173.07" height="4.91"/>
|
|
26958
|
-
<rect fill="#394152" x="196.48" y="0" width="173.07" height="4.91"/>
|
|
26959
|
-
<rect fill="#394152" x="196.48" y="39.87" width="173.07" height="4.91"/>
|
|
26960
|
-
<rect fill="#394152" x="196.48" y="65.78" width="24.01" height="4.91"/>
|
|
26961
|
-
<rect fill="#394152" x="286.48" y="65.78" width="24.01" height="4.91"/>
|
|
26962
|
-
<rect fill="#394152" x="196.48" y="91.26" width="24.01" height="4.91"/>
|
|
26963
|
-
<rect fill="#394152" x="286.48" y="91.26" width="24.01" height="4.91"/>
|
|
26964
|
-
</svg>
|
|
26965
|
-
`
|
|
26966
|
-
},
|
|
26967
26944
|
{
|
|
26968
26945
|
title: "Stats Stepped",
|
|
26969
|
-
html_code: '<section> <div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="
|
|
26946
|
+
html_code: '<section> <div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="lg:pbx-mx-0"> <div class="pbx-text-2xl lg:pbx-text-4xl pbx-font-medium"> <h2>Start customizing by editing this default text directly in the editor.</h2> </div> <div> <p>Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor.</p> </div> </div> <div class="pbx-flex pbx-justify-between lg:pbx-items-center pbx-gap-4 pbx-mt-12 lg:pbx-flex-row pbx-flex-col" > <div class="pbx-text-2xl pbx-font-semibold"><p>250k</p></div> <div class="pbx-text-2xl pbx-font-semibold"><p>$8.9</p></div> <div class="pbx-text-2xl pbx-font-semibold"><p>401k</p></div> </div> </div> </div> </section>',
|
|
26970
26947
|
category: "Marketing",
|
|
26971
26948
|
cover_image: `
|
|
26972
26949
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 285.5 87.89">
|
|
@@ -26983,7 +26960,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
26983
26960
|
},
|
|
26984
26961
|
{
|
|
26985
26962
|
title: "Stats With Two Column",
|
|
26986
|
-
html_code: '<section
|
|
26963
|
+
html_code: '<section> <div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="lg:pbx-mx-0"> <div class="pbx-break-words pbx-text-2xl lg:pbx-text-4xl pbx-font-medium"><h2>Layouts and visual.</h2></div> <div class="pbx-mt-10 pbx-grid pbx-grid-cols-1 pbx-gap-8 lg:pbx-grid-cols-2"> <div> <div> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> <div class="pbx-mt-8"> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> </div> <div> <div> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> <div class="pbx-mt-8"> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> </div> </div> <div class="pbx-mt-16 pbx-grid pbx-grid-cols-1 pbx-gap-x-8 pbx-gap-y-12 sm:pbx-mt-20 sm:pbx-grid-cols-2 sm:pbx-gap-y-16 lg:pbx-mt-28 lg:pbx-grid-cols-4" > <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div> <p>Layouts and visual.</p> </div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight"> <p>2021</p> </div> </div> <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div> <p>Layouts and visual.</p> </div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight"> <p>37</p> </div> </div> <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div> <p>Layouts and visual.</p> </div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight"> <p>12</p> </div> </div> <div class="pbx-flex pbx-flex-col-reverse pbx-gap-y-3 pbx-border-l pbx-border-white/20 pbx-pl-6" > <div> <p>Layouts and visual.</p> </div> <div class="pbx-text-3xl pbx-font-semibold pbx-tracking-tight"> <p>$25M</p> </div> </div> </div> </div> </div> </div> </section>',
|
|
26987
26964
|
category: "Marketing",
|
|
26988
26965
|
cover_image: `
|
|
26989
26966
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 285.5 103.47">
|
|
@@ -27008,7 +26985,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
27008
26985
|
},
|
|
27009
26986
|
{
|
|
27010
26987
|
title: "Timeline Simple",
|
|
27011
|
-
html_code: '<section><div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="pbx-mx-auto pbx-grid
|
|
26988
|
+
html_code: '<section><div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="pbx-mx-auto pbx-grid pbx-grid-cols-1 pbx-gap-8 pbx-overflow-hidden lg:pbx-mx-0 lg:pbx-grid-cols-4"> <div> <div class="pbx-mt-6 pbx-text-lg/8 pbx-font-semibold pbx-tracking-tight pbx-text-black"><p>Layouts and visual.</p></div> <div class="pbx-mt-1 pbx-text-black"><p>Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor.</p></div> </div> <div> <div class="pbx-mt-6 pbx-text-lg/8 pbx-font-semibold pbx-tracking-tight pbx-text-black"><p>Layouts and visual.</p></div> <div class="pbx-mt-1 pbx-text-black"> <p>Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor.</p> </div> </div> <div> <div class="pbx-mt-6 pbx-text-lg/8 pbx-font-semibold pbx-tracking-tight pbx-text-black"><p>Layouts and visual.</p></div> <div class="pbx-mt-1 pbx-text-black"> <p>Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor.</p> </div> </div> <div> <div class="pbx-mt-6 pbx-text-lg/8 pbx-font-semibold pbx-tracking-tight pbx-text-black"> <p>Layouts and visual.</p> </div> <div class="pbx-mt-1 pbx-text-black"><p>Start customizing by editing this default text directly in the editor.</p></div> </div> </div> </div> </div></section>',
|
|
27012
26989
|
category: "Marketing",
|
|
27013
26990
|
cover_image: `
|
|
27014
26991
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 440.22 66.6">
|
|
@@ -27132,7 +27109,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
27132
27109
|
},
|
|
27133
27110
|
{
|
|
27134
27111
|
title: "Image & Left CTA",
|
|
27135
|
-
html_code: `<section> <div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="pbx-myPrimaryGap pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 lg:pbx-grid-cols-2" > <img class="pbx-object-cover pbx-w-full pbx-object-top pbx-aspect-square" src="${re()}" alt="provider" /> <div class="pbx-
|
|
27112
|
+
html_code: `<section> <div class="md:pbx-pt-16 md:pbx-pb-16 pbx-pt-6 pbx-pb-6 lg:pbx-px-4 pbx-px-2"> <div class="pbx-mx-auto pbx-max-w-7xl"> <div class="pbx-myPrimaryGap pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 lg:pbx-grid-cols-2" > <img class="pbx-object-cover pbx-w-full pbx-object-top pbx-aspect-square" src="${re()}" alt="provider" /> <div class="pbx-py-12"> <div class="pbx-break-words pbx-text-2xl lg:pbx-text-4xl pbx-font-medium"> <h2>Start customizing by editing this default text directly in the editor.</h2> </div> <div class="pbx-pt-12 pbx-pb-4"> <p> Start customizing by editing this default text directly in the editor. Start customizing by editing this default text directly in the editor. </p> </div> <div class="pbx-font-semibold pbx-py-4"> <p> <a target="_blank" rel="noopener noreferrer nofollow" href="https://www.google.com" >Layouts and visual.</a > </p> </div> </div> </div> </div> </div> </section>`,
|
|
27136
27113
|
category: "Call To Action",
|
|
27137
27114
|
cover_image: `
|
|
27138
27115
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 482.23 129.8">
|
|
@@ -27165,7 +27142,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
27165
27142
|
<polygon class="fg" points="110 90.01 122.5 75.01 135 90.01"/>
|
|
27166
27143
|
<circle class="fg" cx="122.5" cy="64.15" r="4.16"/>
|
|
27167
27144
|
</svg>
|
|
27168
|
-
`.trim())}`,
|
|
27145
|
+
`.trim())}`, Ls = [
|
|
27169
27146
|
{
|
|
27170
27147
|
themes: {
|
|
27171
27148
|
data: [
|
|
@@ -27385,7 +27362,7 @@ const GP = { class: "pbx-my-2 pbx-py-2" }, KP = {
|
|
|
27385
27362
|
}
|
|
27386
27363
|
}
|
|
27387
27364
|
];
|
|
27388
|
-
function
|
|
27365
|
+
function hI() {
|
|
27389
27366
|
const n = an("closeAddComponentModal", null), e = an("closeMediaLibraryModal", null);
|
|
27390
27367
|
return {
|
|
27391
27368
|
closeAddComponentModal: n || (() => {
|
|
@@ -27400,13 +27377,13 @@ function h6() {
|
|
|
27400
27377
|
})
|
|
27401
27378
|
};
|
|
27402
27379
|
}
|
|
27403
|
-
const
|
|
27380
|
+
const fI = {
|
|
27404
27381
|
key: 0,
|
|
27405
27382
|
class: "pbx-min-h-[90vh] pbx-h-[90vh]"
|
|
27406
|
-
},
|
|
27383
|
+
}, bI = { class: "pbx-flex pbx-items-center pbx-justify-center" }, mI = { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, xI = { class: "!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]" }, gI = { key: 1 }, yI = { class: "pbx-mb-4 pbx-flex pbx-jusitify-left pbx-items-center pbx-gap-2 pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-pb-4 pbx-overflow-auto" }, vI = ["onClick"], SI = {
|
|
27407
27384
|
key: 0,
|
|
27408
27385
|
class: "pbx-mb-8"
|
|
27409
|
-
},
|
|
27386
|
+
}, wI = { class: "pbx-myQuaternaryHeader pbx-mb-4" }, CI = { class: "pbx-mb-4 pbx-flex pbx-jusitify-left pbx-items-center pbx-gap-2 pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-pb-4 pbx-overflow-auto" }, kI = ["onClick"], TI = { class: "pbx-min-h-[96rem]" }, MI = { class: "pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 md:pbx-grid-cols-3 pbx-gap-4 pbx-pb-4" }, EI = ["onClick"], PI = { class: "pbx-overflow-hidden pbx-whitespace-pre-line pbx-flex-1 pbx-h-auto pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-py-2 pbx-px-2" }, LI = ["innerHTML"], BI = { class: "pbx-p-3" }, AI = { class: "pbx-myPrimaryParagraph pbx-text-sm pbx-font-normal" }, II = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-pt-2" }, DI = { class: "pbx-mb-8" }, $I = { class: "pbx-myQuaternaryHeader pbx-mb-4" }, OI = { class: "pbx-px-2 pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 md:pbx-grid-cols-3 lg:pbx-grid-cols-4 pbx-gap-4" }, _I = ["onClick"], NI = { class: "pbx-max-h-72 pbx-cursor-pointer pbx-object-contain pbx-bg-white pbx-mx-auto" }, HI = { class: "pbx-myPrimaryParagraph pbx-text-base pbx-font-medium" }, RI = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-pt-2" }, zI = { class: "pbx-px-2" }, FI = { class: "pbx-myQuaternaryHeader pbx-mb-4" }, VI = { class: "pbx-mb-4 pbx-flex pbx-jusitify-left pbx-items-center pbx-gap-2 pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-pb-4 pbx-overflow-auto" }, jI = ["onClick"], qI = { class: "pbx-min-h-[96rem]" }, WI = { class: "pbx-grid pbx-grid-cols-1 sm:pbx-grid-cols-2 md:pbx-grid-cols-3 pbx-gap-4 pbx-pb-4" }, UI = ["onClick"], GI = { class: "pbx-overflow-hidden pbx-whitespace-pre-line pbx-flex-1 pbx-h-auto pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-py-2 pbx-px-2" }, KI = ["innerHTML"], JI = { class: "pbx-p-3" }, YI = { class: "pbx-myPrimaryParagraph pbx-text-sm pbx-font-normal" }, QI = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-pt-2" }, XI = /* @__PURE__ */ tt({
|
|
27410
27387
|
__name: "DefaultBuilderComponents",
|
|
27411
27388
|
props: {
|
|
27412
27389
|
customMediaComponent: {
|
|
@@ -27416,12 +27393,12 @@ const f6 = {
|
|
|
27416
27393
|
},
|
|
27417
27394
|
setup(n) {
|
|
27418
27395
|
const { translate: e } = Te(), t = Me(), i = k(!1), r = k("Components"), o = B(() => ["Components", "Themes"]), s = k("All"), l = B(() => {
|
|
27419
|
-
const x =
|
|
27396
|
+
const x = Ps[0].components.data.map((v) => v.category);
|
|
27420
27397
|
return ["All", ...new Set(x)];
|
|
27421
|
-
}), a = B(() => s.value === "All" ?
|
|
27422
|
-
const x =
|
|
27398
|
+
}), a = B(() => s.value === "All" ? Ps[0].components.data : Ps[0].components.data.filter((x) => x.category === s.value)), d = k("All"), p = B(() => {
|
|
27399
|
+
const x = Ls[0].themes.data.map((v) => v.category);
|
|
27423
27400
|
return ["All", ...new Set(x)];
|
|
27424
|
-
}), u = B(() => d.value === "All" ?
|
|
27401
|
+
}), u = B(() => d.value === "All" ? Ls[0].themes.data : Ls[0].themes.data.filter((x) => x.category === d.value)), { closeAddComponentModal: h } = hI(), f = async function(x) {
|
|
27425
27402
|
i.value = !0;
|
|
27426
27403
|
const v = x.replace(/Layouts and visual\./g, e("Layouts and visual.")).replace(
|
|
27427
27404
|
/Start customizing by editing this default text directly in the editor\./g,
|
|
@@ -27448,15 +27425,15 @@ const f6 = {
|
|
|
27448
27425
|
};
|
|
27449
27426
|
};
|
|
27450
27427
|
return (x, v) => (y(), w("div", null, [
|
|
27451
|
-
i.value ? (y(), w("div",
|
|
27452
|
-
c("div",
|
|
27453
|
-
c("div",
|
|
27454
|
-
c("span",
|
|
27428
|
+
i.value ? (y(), w("div", fI, [
|
|
27429
|
+
c("div", bI, [
|
|
27430
|
+
c("div", mI, [
|
|
27431
|
+
c("span", xI, C(g(e)("Loading...")), 1)
|
|
27455
27432
|
])
|
|
27456
27433
|
])
|
|
27457
27434
|
])) : E("", !0),
|
|
27458
|
-
i.value ? E("", !0) : (y(), w("div",
|
|
27459
|
-
c("div",
|
|
27435
|
+
i.value ? E("", !0) : (y(), w("div", gI, [
|
|
27436
|
+
c("div", yI, [
|
|
27460
27437
|
(y(!0), w(K, null, ie(o.value, (T) => (y(), w("button", {
|
|
27461
27438
|
key: T,
|
|
27462
27439
|
onClick: (S) => r.value = T,
|
|
@@ -27477,86 +27454,86 @@ const f6 = {
|
|
|
27477
27454
|
])
|
|
27478
27455
|
], -1)),
|
|
27479
27456
|
c("span", null, C(g(e)(T)), 1)
|
|
27480
|
-
], 10,
|
|
27457
|
+
], 10, vI))), 128))
|
|
27481
27458
|
]),
|
|
27482
|
-
r.value === "Themes" ? (y(), w("div",
|
|
27483
|
-
c("h3",
|
|
27484
|
-
c("div",
|
|
27459
|
+
r.value === "Themes" ? (y(), w("div", SI, [
|
|
27460
|
+
c("h3", wI, C(g(e)("Themes")), 1),
|
|
27461
|
+
c("div", CI, [
|
|
27485
27462
|
(y(!0), w(K, null, ie(p.value, (T) => (y(), w("button", {
|
|
27486
27463
|
key: T,
|
|
27487
27464
|
onClick: (S) => d.value = T,
|
|
27488
27465
|
class: j(["pbx-mySecondaryButton pbx-text-xs pbx-px-4", [
|
|
27489
27466
|
d.value === T ? "pbx-bg-myPrimaryLinkColor pbx-text-white hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white" : "hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white"
|
|
27490
27467
|
]])
|
|
27491
|
-
}, C(g(e)(T)), 11,
|
|
27468
|
+
}, C(g(e)(T)), 11, kI))), 128))
|
|
27492
27469
|
]),
|
|
27493
|
-
c("div",
|
|
27494
|
-
c("div",
|
|
27470
|
+
c("div", TI, [
|
|
27471
|
+
c("div", MI, [
|
|
27495
27472
|
(y(!0), w(K, null, ie(u.value, (T) => (y(), w("div", {
|
|
27496
27473
|
key: T.title,
|
|
27497
27474
|
class: "pbx-border-solid pbx-border pbx-border-gray-400 pbx-overflow-hidden hover:pbx-border-myPrimaryLinkColor pbx-duration-100 pbx-cursor-pointer pbx-max-h-[30rem]",
|
|
27498
27475
|
onClick: (S) => f(T.html_code)
|
|
27499
27476
|
}, [
|
|
27500
|
-
c("div",
|
|
27477
|
+
c("div", PI, [
|
|
27501
27478
|
c("div", {
|
|
27502
27479
|
class: "pbx-w-64 pbx-h-96 pbx-object-cover pbx-cursor-pointer pbx-bg-white pbx-mx-auto pbx-flex pbx-items-center pbx-justify-center pbx-theme-cover",
|
|
27503
27480
|
innerHTML: T.cover_image
|
|
27504
|
-
}, null, 8,
|
|
27481
|
+
}, null, 8, LI)
|
|
27505
27482
|
]),
|
|
27506
|
-
c("div",
|
|
27507
|
-
c("h4",
|
|
27508
|
-
c("div",
|
|
27483
|
+
c("div", BI, [
|
|
27484
|
+
c("h4", AI, C(g(e)(T.title)), 1),
|
|
27485
|
+
c("div", II, C(g(e)("Click to add theme")), 1)
|
|
27509
27486
|
])
|
|
27510
|
-
], 8,
|
|
27487
|
+
], 8, EI))), 128))
|
|
27511
27488
|
])
|
|
27512
27489
|
])
|
|
27513
27490
|
])) : E("", !0),
|
|
27514
27491
|
r.value === "Components" ? (y(), w(K, { key: 1 }, [
|
|
27515
|
-
c("div",
|
|
27516
|
-
c("h3", $
|
|
27517
|
-
c("div",
|
|
27518
|
-
(y(!0), w(K, null, ie(g(
|
|
27492
|
+
c("div", DI, [
|
|
27493
|
+
c("h3", $I, C(g(e)("Helper Components")), 1),
|
|
27494
|
+
c("div", OI, [
|
|
27495
|
+
(y(!0), w(K, null, ie(g(uI), (T) => (y(), w("div", {
|
|
27519
27496
|
key: T.title,
|
|
27520
27497
|
class: "pbx-border-solid pbx-border pbx-border-gray-400 pbx-overflow-hidden hover:pbx-border-myPrimaryLinkColor pbx-duration-100 pbx-cursor-pointer pbx-max-h-96 pbx-p-4",
|
|
27521
27498
|
onClick: (S) => b(T)
|
|
27522
27499
|
}, [
|
|
27523
|
-
c("div",
|
|
27500
|
+
c("div", NI, [
|
|
27524
27501
|
E("", !0),
|
|
27525
|
-
c("h4",
|
|
27502
|
+
c("h4", HI, C(g(e)(T.title)), 1)
|
|
27526
27503
|
]),
|
|
27527
|
-
c("div",
|
|
27528
|
-
], 8,
|
|
27504
|
+
c("div", RI, C(g(e)("Click to add")) + " " + C(T.title.toLowerCase()) + " " + C(g(e)("component")), 1)
|
|
27505
|
+
], 8, _I))), 128))
|
|
27529
27506
|
])
|
|
27530
27507
|
]),
|
|
27531
|
-
c("div",
|
|
27532
|
-
c("h3",
|
|
27533
|
-
c("div",
|
|
27508
|
+
c("div", zI, [
|
|
27509
|
+
c("h3", FI, C(g(e)("Layout Components")), 1),
|
|
27510
|
+
c("div", VI, [
|
|
27534
27511
|
(y(!0), w(K, null, ie(l.value, (T) => (y(), w("button", {
|
|
27535
27512
|
key: T,
|
|
27536
27513
|
onClick: (S) => s.value = T,
|
|
27537
27514
|
class: j(["pbx-mySecondaryButton pbx-text-xs pbx-px-4", [
|
|
27538
27515
|
s.value === T ? "pbx-bg-myPrimaryLinkColor pbx-text-white hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white" : "hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white"
|
|
27539
27516
|
]])
|
|
27540
|
-
}, C(g(e)(T)), 11,
|
|
27517
|
+
}, C(g(e)(T)), 11, jI))), 128))
|
|
27541
27518
|
]),
|
|
27542
|
-
c("div",
|
|
27543
|
-
c("div",
|
|
27519
|
+
c("div", qI, [
|
|
27520
|
+
c("div", WI, [
|
|
27544
27521
|
(y(!0), w(K, null, ie(a.value, (T) => (y(), w("div", {
|
|
27545
27522
|
key: T.title,
|
|
27546
27523
|
class: "pbx-border-solid pbx-border pbx-border-gray-400 pbx-overflow-hidden hover:pbx-border-myPrimaryLinkColor pbx-duration-100 pbx-cursor-pointer pbx-max-h-96",
|
|
27547
27524
|
onClick: (S) => b(m(T))
|
|
27548
27525
|
}, [
|
|
27549
|
-
c("div",
|
|
27526
|
+
c("div", GI, [
|
|
27550
27527
|
c("div", {
|
|
27551
27528
|
class: "pbx-w-64 pbx-h-64 pbx-object-cover pbx-cursor-pointer pbx-bg-white pbx-mx-auto pbx-flex pbx-items-center pbx-justify-center pbx-theme-cover",
|
|
27552
27529
|
innerHTML: T.cover_image
|
|
27553
|
-
}, null, 8,
|
|
27530
|
+
}, null, 8, KI)
|
|
27554
27531
|
]),
|
|
27555
|
-
c("div",
|
|
27556
|
-
c("h4",
|
|
27557
|
-
c("div",
|
|
27532
|
+
c("div", JI, [
|
|
27533
|
+
c("h4", YI, C(g(e)(T.title)), 1),
|
|
27534
|
+
c("div", QI, C(g(e)("Click to add component")), 1)
|
|
27558
27535
|
])
|
|
27559
|
-
], 8,
|
|
27536
|
+
], 8, UI))), 128))
|
|
27560
27537
|
])
|
|
27561
27538
|
])
|
|
27562
27539
|
])
|
|
@@ -27567,7 +27544,7 @@ const f6 = {
|
|
|
27567
27544
|
]))
|
|
27568
27545
|
]));
|
|
27569
27546
|
}
|
|
27570
|
-
}),
|
|
27547
|
+
}), ZI = /* @__PURE__ */ Po(XI, [["__scopeId", "data-v-c528d716"]]), eD = { class: "pbx-w-full pbx-inset-x-0 pbx-bg-white pbx-overflow-x-auto lg:pbx-pt-2 pbx-pt-2" }, tD = { key: 0 }, nD = { key: 1 }, iD = {
|
|
27571
27548
|
__name: "BuilderComponents",
|
|
27572
27549
|
props: {
|
|
27573
27550
|
firstButtonText: {
|
|
@@ -27600,12 +27577,12 @@ const f6 = {
|
|
|
27600
27577
|
maxHeight: ""
|
|
27601
27578
|
}, {
|
|
27602
27579
|
default: q(() => [
|
|
27603
|
-
c("div",
|
|
27580
|
+
c("div", eD, [
|
|
27604
27581
|
c("div", null, [
|
|
27605
|
-
n.CustomBuilderComponents ? (y(), w("div",
|
|
27582
|
+
n.CustomBuilderComponents ? (y(), w("div", tD, [
|
|
27606
27583
|
(y(), oe(sp(n.CustomBuilderComponents)))
|
|
27607
|
-
])) : (y(), w("div",
|
|
27608
|
-
F(
|
|
27584
|
+
])) : (y(), w("div", nD, [
|
|
27585
|
+
F(ZI, { customMediaComponent: g(t) }, null, 8, ["customMediaComponent"])
|
|
27609
27586
|
]))
|
|
27610
27587
|
])
|
|
27611
27588
|
])
|
|
@@ -27613,7 +27590,7 @@ const f6 = {
|
|
|
27613
27590
|
_: 1
|
|
27614
27591
|
}, 8, ["title", "showModalBuilder"]));
|
|
27615
27592
|
}
|
|
27616
|
-
},
|
|
27593
|
+
}, rD = { class: "pbx-flex pbx-h-full pbx-flex-col" }, oD = { class: "pbx-flex pbx-flex-row pbx-justify-between pbx-pt-7 pbx-pr-4 pbx-pl-4 pbx-items-center pbx-mb-3" }, sD = { class: "pbx-font-medium pbx-text-sm" }, lD = { class: "pbx-lowercase" }, aD = { class: "pbx-mb-1" }, dD = { class: "pbx-my-1" }, pD = { class: "pbx-my-1" }, cD = { class: "pbx-my-1" }, uD = { class: "pbx-my-1" }, hD = { class: "pbx-my-1" }, fD = { class: "pbx-my-1" }, bD = { class: "pbx-my-1" }, mD = {
|
|
27617
27594
|
__name: "RightSidebarEditor",
|
|
27618
27595
|
emits: ["closeEditor"],
|
|
27619
27596
|
setup(n) {
|
|
@@ -27634,8 +27611,8 @@ const f6 = {
|
|
|
27634
27611
|
function a() {
|
|
27635
27612
|
s.value && (l = s.value.scrollTop);
|
|
27636
27613
|
}
|
|
27637
|
-
return (d, p) => (y(), w("div",
|
|
27638
|
-
c("div",
|
|
27614
|
+
return (d, p) => (y(), w("div", rD, [
|
|
27615
|
+
c("div", oD, [
|
|
27639
27616
|
c("button", {
|
|
27640
27617
|
type: "button",
|
|
27641
27618
|
onClick: p[0] || (p[0] = (u) => d.$emit("closeEditor")),
|
|
@@ -27643,9 +27620,9 @@ const f6 = {
|
|
|
27643
27620
|
}, [...p[1] || (p[1] = [
|
|
27644
27621
|
c("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
27645
27622
|
])]),
|
|
27646
|
-
c("p",
|
|
27623
|
+
c("p", sD, [
|
|
27647
27624
|
Be(C(g(e)("Editing")) + " ", 1),
|
|
27648
|
-
c("span",
|
|
27625
|
+
c("span", lD, "<" + C(o.value) + ">", 1)
|
|
27649
27626
|
])
|
|
27650
27627
|
]),
|
|
27651
27628
|
c("div", {
|
|
@@ -27655,28 +27632,28 @@ const f6 = {
|
|
|
27655
27632
|
class: "pbx-pl-3 pbx-pr-3 pbx-mb-4 pbx-overflow-y-scroll"
|
|
27656
27633
|
}, [
|
|
27657
27634
|
le(c("div", null, [
|
|
27658
|
-
c("article",
|
|
27635
|
+
c("article", aD, [
|
|
27659
27636
|
F(iC)
|
|
27660
27637
|
]),
|
|
27661
|
-
c("article",
|
|
27638
|
+
c("article", dD, [
|
|
27662
27639
|
F(nk)
|
|
27663
27640
|
]),
|
|
27664
|
-
c("article",
|
|
27641
|
+
c("article", pD, [
|
|
27665
27642
|
F(uy)
|
|
27666
27643
|
]),
|
|
27667
|
-
c("article",
|
|
27644
|
+
c("article", cD, [
|
|
27668
27645
|
F(hy)
|
|
27669
27646
|
]),
|
|
27670
|
-
c("article",
|
|
27647
|
+
c("article", uD, [
|
|
27671
27648
|
F(fy)
|
|
27672
27649
|
]),
|
|
27673
|
-
c("article",
|
|
27650
|
+
c("article", hD, [
|
|
27674
27651
|
F(xy)
|
|
27675
27652
|
]),
|
|
27676
|
-
c("article",
|
|
27653
|
+
c("article", fD, [
|
|
27677
27654
|
F(Zg)
|
|
27678
27655
|
]),
|
|
27679
|
-
c("article",
|
|
27656
|
+
c("article", bD, [
|
|
27680
27657
|
F(ey)
|
|
27681
27658
|
])
|
|
27682
27659
|
], 512), [
|
|
@@ -27685,34 +27662,34 @@ const f6 = {
|
|
|
27685
27662
|
], 544)
|
|
27686
27663
|
]));
|
|
27687
27664
|
}
|
|
27688
|
-
},
|
|
27665
|
+
}, xD = { class: "pbx-flex pbx-items-center pbx-justify-center" }, gD = { class: "pbx-mr-2" }, yD = {
|
|
27689
27666
|
key: 0,
|
|
27690
27667
|
class: "pbx-flex pbx-items-center pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-2"
|
|
27691
|
-
},
|
|
27668
|
+
}, vD = { class: "pbx-text-white pbx-rounded-full pbx-bg-myPrimaryBrandColor pbx-flex pbx-justify-center pbx-items-center pbx-text-xs pbx-d pbx-min-d pbx-max-d lg:pbx-w-8 lg:pbx-h-8 lg:pbx-min-w-8 lg:pbx-max-w-8 pbx-w-8 pbx-h-8 pbx-min-w-8 pbx-max-w-8 pbx-font-normal" }, SD = { class: "pbx-hidden pbx-text-xs pbx-d lg:pbx-flex pbx-items-center pbx-font-normal pbx-w-max pbx-break-keep" }, wD = {
|
|
27692
27669
|
key: 1,
|
|
27693
27670
|
class: "pbx-flex pbx-items-center lg:pbx-myPrimaryTag pbx-whitespace-nowrap pbx-py-0 pbx-gap-4 pbx-w-max pbx-h-12 pbx-ml-2"
|
|
27694
|
-
},
|
|
27671
|
+
}, CD = { class: "pbx-text-white pbx-flex-shrink-0 pbx-d pbx-w-10 pbx-h-10 pbx-rounded-full pbx-flex pbx-justify-center pbx-items-center pbx-text-xs pbx-rounded-l-full" }, kD = ["src"], TD = { class: "pbx-hidden pbx-text-xs pbx-d lg:pbx-flex pbx-items-center pbx-font-normal pbx-w-max pbx-break-keep" }, MD = {
|
|
27695
27672
|
__name: "ToolbarOption",
|
|
27696
27673
|
setup(n) {
|
|
27697
27674
|
const e = he, t = B(() => e.getPageBuilderConfig);
|
|
27698
27675
|
return (i, r) => {
|
|
27699
27676
|
var o;
|
|
27700
27677
|
return y(), w("div", null, [
|
|
27701
|
-
c("div",
|
|
27702
|
-
c("div",
|
|
27703
|
-
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && (!t.value.userForPageBuilder.image || typeof t.value.userForPageBuilder.image == "string" && ((o = t.value.userForPageBuilder.image) == null ? void 0 : o.length) < 2) ? (y(), w("div",
|
|
27704
|
-
c("div",
|
|
27705
|
-
c("div",
|
|
27678
|
+
c("div", xD, [
|
|
27679
|
+
c("div", gD, [
|
|
27680
|
+
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && (!t.value.userForPageBuilder.image || typeof t.value.userForPageBuilder.image == "string" && ((o = t.value.userForPageBuilder.image) == null ? void 0 : o.length) < 2) ? (y(), w("div", yD, [
|
|
27681
|
+
c("div", vD, C(typeof t.value.userForPageBuilder.name == "string" && t.value.userForPageBuilder.name[0]), 1),
|
|
27682
|
+
c("div", SD, C(t.value.userForPageBuilder.name), 1)
|
|
27706
27683
|
])) : E("", !0),
|
|
27707
|
-
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && t.value.userForPageBuilder.image && typeof t.value.userForPageBuilder.image == "string" && t.value.userForPageBuilder.image.length > 2 ? (y(), w("div",
|
|
27708
|
-
c("div",
|
|
27684
|
+
t.value && t.value.userForPageBuilder && t.value.userForPageBuilder.name && t.value.userForPageBuilder.image && typeof t.value.userForPageBuilder.image == "string" && t.value.userForPageBuilder.image.length > 2 ? (y(), w("div", wD, [
|
|
27685
|
+
c("div", CD, [
|
|
27709
27686
|
c("img", {
|
|
27710
27687
|
alt: "Avatar",
|
|
27711
27688
|
src: `${t.value.userForPageBuilder.image}`,
|
|
27712
27689
|
class: "pbx-block pbx-inset-0 pbx-object-top pbx-d pbx-min-d pbx-max-d lg:pbx-w-8 lg:pbx-h-8 lg:pbx-min-w-8 lg:pbx-max-w-8 pbx-w-8 pbx-h-8 pbx-min-w-8 pbx-max-w-8 pbx-object-cover pbx-rounded-full"
|
|
27713
|
-
}, null, 8,
|
|
27690
|
+
}, null, 8, kD)
|
|
27714
27691
|
]),
|
|
27715
|
-
c("div",
|
|
27692
|
+
c("div", TD, C(t.value.userForPageBuilder.name), 1)
|
|
27716
27693
|
])) : E("", !0)
|
|
27717
27694
|
])
|
|
27718
27695
|
])
|
|
@@ -27721,14 +27698,14 @@ const f6 = {
|
|
|
27721
27698
|
}
|
|
27722
27699
|
};
|
|
27723
27700
|
let Bs = null;
|
|
27724
|
-
function
|
|
27701
|
+
function ED() {
|
|
27725
27702
|
return (n, e = 300) => {
|
|
27726
27703
|
Bs && clearTimeout(Bs), Bs = setTimeout(n, e);
|
|
27727
27704
|
};
|
|
27728
27705
|
}
|
|
27729
|
-
const
|
|
27730
|
-
function
|
|
27731
|
-
return y(), w("div",
|
|
27706
|
+
const PD = {}, LD = { class: "pbx-bg-white pbx-flex pbx-justify-center pbx-items-center min-pbx-h-screen pbx-h-screen pbx-w-screen pbx-fixed pbx-inset-0 pbx-z-[10000]" };
|
|
27707
|
+
function BD(n, e) {
|
|
27708
|
+
return y(), w("div", LD, [...e[0] || (e[0] = [
|
|
27732
27709
|
c("div", { class: "pbx-absolute pbx-top-1/3" }, [
|
|
27733
27710
|
c("div", { class: "pbx-flex pbx-items-center pbx-justify-center pbx-mt-4" }, [
|
|
27734
27711
|
c("div", { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, [
|
|
@@ -27738,7 +27715,7 @@ function B9(n, e) {
|
|
|
27738
27715
|
], -1)
|
|
27739
27716
|
])]);
|
|
27740
27717
|
}
|
|
27741
|
-
const q0 = /* @__PURE__ */
|
|
27718
|
+
const q0 = /* @__PURE__ */ Po(PD, [["render", BD]]), AD = { class: "pbx-text-xs pbx-text-gray-600 pbx-mx-2 pbx-py-3 pbx-px-2 pbx-border-solid pbx-border pbx-border-gray-200 pbx-rounded-full" }, ID = /* @__PURE__ */ tt({
|
|
27742
27719
|
__name: "UndoRedo",
|
|
27743
27720
|
emits: ["toolbar-hide-request"],
|
|
27744
27721
|
setup(n, { emit: e }) {
|
|
@@ -27764,7 +27741,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
27764
27741
|
}, [...f[1] || (f[1] = [
|
|
27765
27742
|
c("span", { class: "material-symbols-outlined" }, " undo ", -1)
|
|
27766
27743
|
])], 2),
|
|
27767
|
-
c("div",
|
|
27744
|
+
c("div", AD, C(s.value + 1) + "/" + C(l.value), 1),
|
|
27768
27745
|
c("div", {
|
|
27769
27746
|
onClick: u,
|
|
27770
27747
|
class: j(["pbx-h-10 pbx-w-10 pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square pbx-text-black hover:pbx-text-white", [
|
|
@@ -27776,76 +27753,76 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
27776
27753
|
])
|
|
27777
27754
|
], 64));
|
|
27778
27755
|
}
|
|
27779
|
-
}),
|
|
27756
|
+
}), DD = { class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-mx-auto pbx-flex pbx-flex-col pbx-font-sans pbx-text-black pbx-border-solid pbx-border pbx-border-gray-400 pbx-inset-x-0 pbx-z-10 pbx-bg-white pbx-overflow-x-auto pbx-h-full" }, $D = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, OD = {
|
|
27780
27757
|
key: 0,
|
|
27781
27758
|
class: "pbx-myPrimaryParagraphError"
|
|
27782
|
-
},
|
|
27759
|
+
}, _D = { class: "pbx-border-0 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-flex pbx-items-center pbx-justify-end" }, ND = { class: "pbx-py-4 pbx-flex sm:pbx-justify-end pbx-justify-center" }, HD = { class: "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex pbx-flex-row pbx-myPrimaryGap pbx-w-full" }, RD = {
|
|
27783
27760
|
key: 1,
|
|
27784
27761
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
27785
|
-
},
|
|
27762
|
+
}, zD = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, FD = {
|
|
27786
27763
|
key: 0,
|
|
27787
27764
|
class: "pbx-myPrimaryParagraphError"
|
|
27788
|
-
},
|
|
27765
|
+
}, VD = { class: "pbx-border-0 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-flex pbx-items-center pbx-justify-end" }, jD = { class: "pbx-py-4 pbx-flex sm:pbx-justify-end pbx-justify-center" }, qD = { class: "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex pbx-flex-row pbx-myPrimaryGap pbx-w-full" }, WD = {
|
|
27789
27766
|
key: 1,
|
|
27790
27767
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
27791
|
-
},
|
|
27768
|
+
}, UD = {
|
|
27792
27769
|
id: "pagebuilder-navbar",
|
|
27793
27770
|
class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-min-w-[64rem] pbx-max-w-[64rem] pbx-w-[64rem] pbx-flex-1 pbx-bg-myPrimaryLightGrayColor pbx-flex pbx-items-center pbx-justify-between pbx-border-0 pbx-border-solid pbx-border-b pbx-border-gray-200 pbx-mb-2 pbx-font-sans pbx-min-h-20"
|
|
27794
|
-
},
|
|
27771
|
+
}, GD = ["src"], KD = { class: "pbx-flex pbx-items-center pbx-justify-center" }, JD = ["disabled"], YD = {
|
|
27795
27772
|
key: 0,
|
|
27796
27773
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27797
|
-
},
|
|
27774
|
+
}, QD = {
|
|
27798
27775
|
key: 1,
|
|
27799
27776
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27800
|
-
},
|
|
27777
|
+
}, XD = ["disabled"], ZD = {
|
|
27801
27778
|
key: 0,
|
|
27802
27779
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27803
|
-
},
|
|
27780
|
+
}, e6 = {
|
|
27804
27781
|
key: 1,
|
|
27805
27782
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
27806
|
-
},
|
|
27783
|
+
}, t6 = { class: "lg:pbx-block pbx-hidden" }, n6 = { class: "lg:pbx-hidden pbx-block" }, i6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-border-gray-200" }, r6 = { class: "lg:pbx-block pbx-hidden" }, o6 = { class: "pbx-whitespace-nowrap pbx-cursor-pointer" }, s6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-mr-2" }, l6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, a6 = { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, d6 = {
|
|
27807
27784
|
fill: "currentColor",
|
|
27808
27785
|
height: "22",
|
|
27809
27786
|
viewBox: "0 0 22 22",
|
|
27810
27787
|
width: "22",
|
|
27811
27788
|
xmlns: "http://www.w3.org/2000/svg",
|
|
27812
27789
|
style: { display: "block" }
|
|
27813
|
-
},
|
|
27790
|
+
}, p6 = { class: "lg:pbx-flex pbx-hidden pbx-items-center pbx-justify-center" }, c6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, u6 = { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, h6 = {
|
|
27814
27791
|
fill: "currentColor",
|
|
27815
27792
|
height: "22",
|
|
27816
27793
|
viewBox: "0 0 22 22",
|
|
27817
27794
|
width: "22",
|
|
27818
27795
|
xmlns: "http://www.w3.org/2000/svg",
|
|
27819
27796
|
style: { display: "block" }
|
|
27820
|
-
},
|
|
27797
|
+
}, f6 = { class: "pbx-flex-1 pbx-flex gap-2 pbx-items-center pbx-justify-end" }, b6 = {
|
|
27821
27798
|
key: 0,
|
|
27822
27799
|
class: "pbx-flex-1 pbx-ml-2"
|
|
27823
|
-
},
|
|
27800
|
+
}, m6 = {
|
|
27824
27801
|
key: 0,
|
|
27825
27802
|
class: "pbx-flex-1 pbx-flex pbx-justify-end pbx-items-center pbx-ml-2 lg:pbx-mr-4 pbx-mr-2"
|
|
27826
|
-
},
|
|
27803
|
+
}, x6 = ["value"], g6 = ["value"], y6 = {
|
|
27827
27804
|
key: 2,
|
|
27828
27805
|
class: "pbx-flex-1 pbx-ml-2 pbx-mr-2"
|
|
27829
|
-
},
|
|
27806
|
+
}, v6 = {
|
|
27830
27807
|
id: "pagebuilder-main",
|
|
27831
27808
|
class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-min-w-[64rem] pbx-max-w-[64rem] pbx-w-[64rem] pbx-flex-1 pbx-relative pbx-h-full pbx-flex pbx-pb-2 pbx-gap-2"
|
|
27832
|
-
},
|
|
27809
|
+
}, S6 = { class: "pbx-mx-2 pbx-flex pbx-flex-col pbx-myPrimaryGap pbx-items-stretch" }, w6 = { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, C6 = {
|
|
27833
27810
|
id: "pbxEditToolbar",
|
|
27834
27811
|
class: "pbx-z-30 pbx-flex pbx-gap-2 pbx-justify-center pbx-items-center pbx-rounded-sm pbx-px-2 pbx-h-0 pbx-min-w-52 pbx-relative"
|
|
27835
|
-
},
|
|
27812
|
+
}, k6 = {
|
|
27836
27813
|
id: "pagebuilder",
|
|
27837
27814
|
class: "pbx-text-black pbx-font-sans"
|
|
27838
|
-
},
|
|
27815
|
+
}, T6 = ["innerHTML", "onMouseup"], M6 = {
|
|
27839
27816
|
fill: "currentColor",
|
|
27840
27817
|
height: "22",
|
|
27841
27818
|
viewBox: "0 0 22 22",
|
|
27842
27819
|
width: "22",
|
|
27843
27820
|
xmlns: "http://www.w3.org/2000/svg",
|
|
27844
27821
|
style: { display: "block" }
|
|
27845
|
-
},
|
|
27822
|
+
}, E6 = {
|
|
27846
27823
|
id: "pagebuilder-footer",
|
|
27847
27824
|
class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-min-w-[64rem] pbx-max-w-[64rem] pbx-w-[64rem] pbx-flex-1 pbx-flex pbx-items-center pbx-justify-center pbx-border-0 pbx-border-t pbx-border-t-gray-200 pbx-border-solid pbx-bg-myPrimaryLightGrayColor pbx-py-4"
|
|
27848
|
-
},
|
|
27825
|
+
}, P6 = { class: "lg:pbx-block pbx-hidden" }, L6 = { class: "pbx-whitespace-nowrap" }, O6 = {
|
|
27849
27826
|
__name: "PageBuilder",
|
|
27850
27827
|
props: {
|
|
27851
27828
|
CustomMediaLibraryComponent: {
|
|
@@ -27883,14 +27860,14 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
27883
27860
|
Y(h, async (J) => {
|
|
27884
27861
|
if (J && !f) {
|
|
27885
27862
|
b.value = !0, await ve(200), await o(J), t.changeLanguage(J);
|
|
27886
|
-
const
|
|
27887
|
-
|
|
27863
|
+
const L = JSON.parse(localStorage.getItem("userSettingsPageBuilder")) || {};
|
|
27864
|
+
L.lang = J, localStorage.setItem("userSettingsPageBuilder", JSON.stringify(L)), b.value = !1;
|
|
27888
27865
|
}
|
|
27889
27866
|
});
|
|
27890
|
-
const m = B(() => l.getBuilderStarted), x = B(() => l.getPageBuilderConfig), v = B(() => l.getMenuRight), T = k(!1), S = k(""), M = k(""),
|
|
27867
|
+
const m = B(() => l.getBuilderStarted), x = B(() => l.getPageBuilderConfig), v = B(() => l.getMenuRight), T = k(!1), S = k(""), M = k(""), P = function() {
|
|
27891
27868
|
t.previewCurrentDesign();
|
|
27892
27869
|
}, H = function() {
|
|
27893
|
-
S.value = r("Preview"),
|
|
27870
|
+
S.value = r("Preview"), P(), T.value = !0;
|
|
27894
27871
|
}, I = k(!1), N = function() {
|
|
27895
27872
|
t.previewCurrentDesign();
|
|
27896
27873
|
}, z = function() {
|
|
@@ -27915,9 +27892,9 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
27915
27892
|
style: se.value.getAttribute("style"),
|
|
27916
27893
|
class: se.value.getAttribute("class"),
|
|
27917
27894
|
dataImage: se.value.getAttribute("data-image")
|
|
27918
|
-
}), ir =
|
|
27919
|
-
Y(nr, async (J,
|
|
27920
|
-
((J == null ? void 0 : J.src) !== (
|
|
27895
|
+
}), ir = ED();
|
|
27896
|
+
Y(nr, async (J, L) => {
|
|
27897
|
+
((J == null ? void 0 : J.src) !== (L == null ? void 0 : L.src) || (J == null ? void 0 : J.href) !== (L == null ? void 0 : L.href) || (J == null ? void 0 : J.style) !== (L == null ? void 0 : L.style) || (J == null ? void 0 : J.class) !== (L == null ? void 0 : L.class) || (J == null ? void 0 : J.dataImage) !== (L == null ? void 0 : L.dataImage)) && ir(async () => {
|
|
27921
27898
|
await t.initializeElementStyles();
|
|
27922
27899
|
}, 200);
|
|
27923
27900
|
});
|
|
@@ -27976,24 +27953,24 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
27976
27953
|
J && (J.classList.remove("is-visible"), J.removeAttribute("style"));
|
|
27977
27954
|
};
|
|
27978
27955
|
function pr() {
|
|
27979
|
-
const J = Jo.value,
|
|
27980
|
-
if (!J || !
|
|
27956
|
+
const J = Jo.value, L = J && J.querySelector("#pbxEditToolbar");
|
|
27957
|
+
if (!J || !L) return;
|
|
27981
27958
|
const ce = J.querySelector("[selected]");
|
|
27982
27959
|
if (ce && typeof ce.getBoundingClientRect == "function") {
|
|
27983
27960
|
const cr = ce.getBoundingClientRect(), xa = J.getBoundingClientRect();
|
|
27984
|
-
let Yo = cr.left - xa.left + cr.width / 2 -
|
|
27961
|
+
let Yo = cr.left - xa.left + cr.width / 2 - L.offsetWidth / 2;
|
|
27985
27962
|
const ga = 20;
|
|
27986
27963
|
Yo = Math.max(
|
|
27987
27964
|
ga,
|
|
27988
|
-
Math.min(Yo, J.offsetWidth -
|
|
27965
|
+
Math.min(Yo, J.offsetWidth - L.offsetWidth - ga)
|
|
27989
27966
|
);
|
|
27990
|
-
const X0 = cr.top - xa.top + J.scrollTop -
|
|
27991
|
-
|
|
27967
|
+
const X0 = cr.top - xa.top + J.scrollTop - L.offsetHeight - 20, Z0 = Math.max(0, X0);
|
|
27968
|
+
L.style.position = "absolute", L.style.left = `${Yo}px`, L.style.top = `${Z0}px`, L.classList.add("is-visible");
|
|
27992
27969
|
} else
|
|
27993
|
-
|
|
27970
|
+
L.classList.remove("is-visible"), L.removeAttribute("style");
|
|
27994
27971
|
}
|
|
27995
27972
|
const bi = JSON.parse(localStorage.getItem("userSettingsPageBuilder"));
|
|
27996
|
-
return
|
|
27973
|
+
return Ln(async () => {
|
|
27997
27974
|
await t.completeBuilderInitialization(void 0, !0), bi && bi.lang && (h.value = bi.lang), x.value && x.value.userSettings && x.value.userSettings.language && x.value.userSettings.language.default && (!bi || !bi.lang) && (h.value = x.value.userSettings.language.default), await o(h.value), f = !1, pr();
|
|
27998
27975
|
const J = Jo.value;
|
|
27999
27976
|
if (!J) return;
|
|
@@ -28003,7 +27980,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28003
27980
|
attributes: !0,
|
|
28004
27981
|
attributeFilter: ["selected"]
|
|
28005
27982
|
}), window.addEventListener("scroll", pr), window.addEventListener("resize", pr), await ve(1e4), Ko(), await ve(1e4), Ko(), await ve(1e4), Ko();
|
|
28006
|
-
}), (J,
|
|
27983
|
+
}), (J, L) => (y(), w("div", DD, [
|
|
28007
27984
|
or.value && !D.value || b.value ? (y(), oe(q0, { key: 0 })) : E("", !0),
|
|
28008
27985
|
F(Dt, {
|
|
28009
27986
|
title: "The builder hasn’t started yet",
|
|
@@ -28013,12 +27990,12 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28013
27990
|
maxWidth: "2xl",
|
|
28014
27991
|
noBackgroundOpacity: !0
|
|
28015
27992
|
}, {
|
|
28016
|
-
default: q(() => [...
|
|
27993
|
+
default: q(() => [...L[23] || (L[23] = [
|
|
28017
27994
|
Be(" The builder hasn’t started yet. If this screen doesn’t go away soon, it may just need a little setup in the background. You can safely contact support and ask them to initialize the builder by running the startBuilder method for this resource. ", -1)
|
|
28018
27995
|
])]),
|
|
28019
27996
|
_: 1
|
|
28020
27997
|
}, 8, ["showModalBuilder"]),
|
|
28021
|
-
O.value ? (y(), oe(
|
|
27998
|
+
O.value ? (y(), oe(iD, {
|
|
28022
27999
|
key: 1,
|
|
28023
28000
|
show: O.value,
|
|
28024
28001
|
firstButtonText: He.value,
|
|
@@ -28062,7 +28039,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28062
28039
|
onSecondModalButtonFunctionDynamicModalBuilder: oa.value,
|
|
28063
28040
|
onThirdModalButtonFunctionDynamicModalBuilder: sa.value
|
|
28064
28041
|
}, {
|
|
28065
|
-
default: q(() => [...
|
|
28042
|
+
default: q(() => [...L[24] || (L[24] = [
|
|
28066
28043
|
c("header", null, null, -1),
|
|
28067
28044
|
c("main", null, null, -1)
|
|
28068
28045
|
])]),
|
|
@@ -28082,7 +28059,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28082
28059
|
onSecondModalButtonFunctionDynamicModalBuilder: fa.value,
|
|
28083
28060
|
onThirdModalButtonFunctionDynamicModalBuilder: ba.value
|
|
28084
28061
|
}, {
|
|
28085
|
-
default: q(() => [...
|
|
28062
|
+
default: q(() => [...L[25] || (L[25] = [
|
|
28086
28063
|
c("header", null, null, -1),
|
|
28087
28064
|
c("main", null, null, -1)
|
|
28088
28065
|
])]),
|
|
@@ -28098,18 +28075,18 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28098
28075
|
Fn.value ? E("", !0) : (y(), w(K, { key: 0 }, [
|
|
28099
28076
|
le(c("textarea", {
|
|
28100
28077
|
id: "html-editor",
|
|
28101
|
-
"onUpdate:modelValue":
|
|
28078
|
+
"onUpdate:modelValue": L[0] || (L[0] = (ce) => ar.value = ce),
|
|
28102
28079
|
class: "pbx-h-full pbx-font-sans pbx-bg-gray-900 pbx-text-white pbx-w-full",
|
|
28103
28080
|
style: { overflow: "auto", "min-height": "400px" }
|
|
28104
28081
|
}, null, 512), [
|
|
28105
|
-
[
|
|
28082
|
+
[Pn, ar.value]
|
|
28106
28083
|
]),
|
|
28107
|
-
c("div", $
|
|
28108
|
-
Mt.value ? (y(), w("p",
|
|
28084
|
+
c("div", $D, [
|
|
28085
|
+
Mt.value ? (y(), w("p", OD, " Error: " + C(Mt.value), 1)) : E("", !0)
|
|
28109
28086
|
]),
|
|
28110
|
-
c("div",
|
|
28111
|
-
c("div",
|
|
28112
|
-
c("div",
|
|
28087
|
+
c("div", _D, [
|
|
28088
|
+
c("div", ND, [
|
|
28089
|
+
c("div", HD, [
|
|
28113
28090
|
gt.value ? E("", !0) : (y(), w(K, { key: 0 }, [
|
|
28114
28091
|
c("button", {
|
|
28115
28092
|
onClick: Go,
|
|
@@ -28122,7 +28099,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28122
28099
|
class: "pbx-myPrimaryButton"
|
|
28123
28100
|
}, C(g(r)("Save")), 1)
|
|
28124
28101
|
], 64)),
|
|
28125
|
-
gt.value ? (y(), w("div",
|
|
28102
|
+
gt.value ? (y(), w("div", RD, [...L[26] || (L[26] = [
|
|
28126
28103
|
c("div", { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, [
|
|
28127
28104
|
c("span", { class: "!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]" }, "Loading...")
|
|
28128
28105
|
], -1)
|
|
@@ -28134,18 +28111,18 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28134
28111
|
Fn.value ? (y(), w(K, { key: 1 }, [
|
|
28135
28112
|
le(c("textarea", {
|
|
28136
28113
|
id: "html-editor",
|
|
28137
|
-
"onUpdate:modelValue":
|
|
28114
|
+
"onUpdate:modelValue": L[1] || (L[1] = (ce) => dr.value = ce),
|
|
28138
28115
|
class: "pbx-h-full pbx-font-sans pbx-bg-gray-900 pbx-text-white pbx-w-full",
|
|
28139
28116
|
style: { overflow: "auto", "min-height": "400px" }
|
|
28140
28117
|
}, null, 512), [
|
|
28141
|
-
[
|
|
28118
|
+
[Pn, dr.value]
|
|
28142
28119
|
]),
|
|
28143
|
-
c("div",
|
|
28144
|
-
Mt.value ? (y(), w("p",
|
|
28120
|
+
c("div", zD, [
|
|
28121
|
+
Mt.value ? (y(), w("p", FD, " Error: " + C(Mt.value), 1)) : E("", !0)
|
|
28145
28122
|
]),
|
|
28146
|
-
c("div",
|
|
28147
|
-
c("div",
|
|
28148
|
-
c("div",
|
|
28123
|
+
c("div", VD, [
|
|
28124
|
+
c("div", jD, [
|
|
28125
|
+
c("div", qD, [
|
|
28149
28126
|
gt.value ? E("", !0) : (y(), w(K, { key: 0 }, [
|
|
28150
28127
|
c("button", {
|
|
28151
28128
|
onClick: Go,
|
|
@@ -28158,7 +28135,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28158
28135
|
class: "pbx-myPrimaryButton"
|
|
28159
28136
|
}, C(g(r)("Save")), 1)
|
|
28160
28137
|
], 64)),
|
|
28161
|
-
gt.value ? (y(), w("div",
|
|
28138
|
+
gt.value ? (y(), w("div", WD, [...L[27] || (L[27] = [
|
|
28162
28139
|
c("div", { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, [
|
|
28163
28140
|
c("span", { class: "!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]" }, "Loading...")
|
|
28164
28141
|
], -1)
|
|
@@ -28170,10 +28147,10 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28170
28147
|
]),
|
|
28171
28148
|
_: 1
|
|
28172
28149
|
}, 8, ["showModalBuilder", "title"]),
|
|
28173
|
-
c("div",
|
|
28150
|
+
c("div", UD, [
|
|
28174
28151
|
x.value && x.value.pageBuilderLogo && x.value.pageBuilderLogo.src ? (y(), w("div", {
|
|
28175
28152
|
key: 0,
|
|
28176
|
-
onClick:
|
|
28153
|
+
onClick: L[2] || (L[2] = Je(
|
|
28177
28154
|
async () => {
|
|
28178
28155
|
await g(t).clearHtmlSelection();
|
|
28179
28156
|
},
|
|
@@ -28185,11 +28162,11 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28185
28162
|
class: "pbx-h-6",
|
|
28186
28163
|
src: x.value.pageBuilderLogo.src,
|
|
28187
28164
|
alt: "Logo"
|
|
28188
|
-
}, null, 8,
|
|
28165
|
+
}, null, 8, GD)
|
|
28189
28166
|
])) : E("", !0),
|
|
28190
|
-
F(
|
|
28167
|
+
F(ID, { onToolbarHideRequest: Q0 }),
|
|
28191
28168
|
c("div", {
|
|
28192
|
-
onClick:
|
|
28169
|
+
onClick: L[5] || (L[5] = Je(
|
|
28193
28170
|
async () => {
|
|
28194
28171
|
await g(t).clearHtmlSelection();
|
|
28195
28172
|
},
|
|
@@ -28197,10 +28174,10 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28197
28174
|
)),
|
|
28198
28175
|
class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full"
|
|
28199
28176
|
}, [
|
|
28200
|
-
c("div",
|
|
28177
|
+
c("div", KD, [
|
|
28201
28178
|
c("button", {
|
|
28202
28179
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 pbx-mr-2",
|
|
28203
|
-
onClick:
|
|
28180
|
+
onClick: L[3] || (L[3] = Je(
|
|
28204
28181
|
async () => {
|
|
28205
28182
|
await g(t).clearHtmlSelection(), await g(t).handleManualSave();
|
|
28206
28183
|
},
|
|
@@ -28209,21 +28186,21 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28209
28186
|
type: "button",
|
|
28210
28187
|
disabled: Vn.value
|
|
28211
28188
|
}, [
|
|
28212
|
-
Vn.value ? E("", !0) : (y(), w("div",
|
|
28189
|
+
Vn.value ? E("", !0) : (y(), w("div", YD, [...L[28] || (L[28] = [
|
|
28213
28190
|
c("span", { class: "material-symbols-outlined" }, "save", -1)
|
|
28214
28191
|
])])),
|
|
28215
|
-
Vn.value ? (y(), w("div",
|
|
28192
|
+
Vn.value ? (y(), w("div", QD, [...L[29] || (L[29] = [
|
|
28216
28193
|
c("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28217
28194
|
c("span", { class: "pbx-absolute pbx-inline-flex pbx-h-full pbx-w-full pbx-animate-ping pbx-rounded-full pbx-bg-gray-400 pbx-opacity-75" }),
|
|
28218
28195
|
c("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
28219
28196
|
], -1)
|
|
28220
28197
|
])])) : E("", !0),
|
|
28221
28198
|
c("div", null, C(g(r)("Save")), 1)
|
|
28222
|
-
], 8,
|
|
28199
|
+
], 8, JD),
|
|
28223
28200
|
x.value && x.value.updateOrCreate && x.value.updateOrCreate.formType === "update" ? (y(), w("button", {
|
|
28224
28201
|
key: 0,
|
|
28225
28202
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 lg:pbx-mr-2 pbx-mr-2",
|
|
28226
|
-
onClick:
|
|
28203
|
+
onClick: L[4] || (L[4] = Je(
|
|
28227
28204
|
async () => {
|
|
28228
28205
|
await g(t).clearHtmlSelection(), await G0();
|
|
28229
28206
|
},
|
|
@@ -28232,26 +28209,26 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28232
28209
|
type: "button",
|
|
28233
28210
|
disabled: hn.value
|
|
28234
28211
|
}, [
|
|
28235
|
-
hn.value ? E("", !0) : (y(), w("div",
|
|
28212
|
+
hn.value ? E("", !0) : (y(), w("div", ZD, [...L[30] || (L[30] = [
|
|
28236
28213
|
c("span", { class: "material-symbols-outlined" }, " settings_backup_restore ", -1)
|
|
28237
28214
|
])])),
|
|
28238
|
-
hn.value ? (y(), w("div",
|
|
28215
|
+
hn.value ? (y(), w("div", e6, [...L[31] || (L[31] = [
|
|
28239
28216
|
c("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28240
28217
|
c("span", { class: "pbx-absolute pbx-inline-flex pbx-h-full pbx-w-full pbx-animate-ping pbx-rounded-full pbx-bg-gray-400 pbx-opacity-75" }),
|
|
28241
28218
|
c("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
28242
28219
|
], -1)
|
|
28243
28220
|
])])) : E("", !0),
|
|
28244
|
-
c("div",
|
|
28221
|
+
c("div", t6, [
|
|
28245
28222
|
c("span", null, C(g(r)("Reset Page")), 1)
|
|
28246
28223
|
]),
|
|
28247
|
-
c("div",
|
|
28224
|
+
c("div", n6, [
|
|
28248
28225
|
c("span", null, C(g(r)("Reset")), 1)
|
|
28249
28226
|
])
|
|
28250
|
-
], 8,
|
|
28227
|
+
], 8, XD)) : E("", !0)
|
|
28251
28228
|
])
|
|
28252
28229
|
]),
|
|
28253
28230
|
c("div", {
|
|
28254
|
-
onClick:
|
|
28231
|
+
onClick: L[10] || (L[10] = Je(
|
|
28255
28232
|
async () => {
|
|
28256
28233
|
await g(t).clearHtmlSelection();
|
|
28257
28234
|
},
|
|
@@ -28260,7 +28237,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28260
28237
|
class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full"
|
|
28261
28238
|
}, [
|
|
28262
28239
|
c("div", {
|
|
28263
|
-
onClick:
|
|
28240
|
+
onClick: L[9] || (L[9] = Je(
|
|
28264
28241
|
async () => {
|
|
28265
28242
|
await g(t).clearHtmlSelection();
|
|
28266
28243
|
},
|
|
@@ -28270,29 +28247,29 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28270
28247
|
}, [
|
|
28271
28248
|
c("div", {
|
|
28272
28249
|
class: "pbx-mr-2",
|
|
28273
|
-
onClick:
|
|
28250
|
+
onClick: L[6] || (L[6] = () => {
|
|
28274
28251
|
g(l).setComponentArrayAddMethod("unshift"), ut();
|
|
28275
28252
|
})
|
|
28276
28253
|
}, [
|
|
28277
|
-
c("div",
|
|
28278
|
-
c("span",
|
|
28279
|
-
c("div",
|
|
28254
|
+
c("div", i6, [
|
|
28255
|
+
c("span", r6, [
|
|
28256
|
+
c("div", o6, C(g(r)("Add new Components")), 1)
|
|
28280
28257
|
]),
|
|
28281
|
-
|
|
28258
|
+
L[32] || (L[32] = c("span", { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, [
|
|
28282
28259
|
c("span", { class: "pbx-myMediumIcon material-symbols-outlined" }, " interests ")
|
|
28283
28260
|
], -1))
|
|
28284
28261
|
])
|
|
28285
28262
|
]),
|
|
28286
|
-
c("div",
|
|
28263
|
+
c("div", s6, [
|
|
28287
28264
|
c("div", {
|
|
28288
|
-
onClick:
|
|
28265
|
+
onClick: L[7] || (L[7] = async () => {
|
|
28289
28266
|
g(l).setMenuRight(!1), g(l).setElement(null), await g(t).clearHtmlSelection(), H();
|
|
28290
28267
|
})
|
|
28291
28268
|
}, [
|
|
28292
|
-
c("div",
|
|
28293
|
-
c("span",
|
|
28269
|
+
c("div", l6, [
|
|
28270
|
+
c("span", a6, [
|
|
28294
28271
|
c("span", null, [
|
|
28295
|
-
(y(), w("svg",
|
|
28272
|
+
(y(), w("svg", d6, [...L[33] || (L[33] = [
|
|
28296
28273
|
c("path", {
|
|
28297
28274
|
"clip-rule": "evenodd",
|
|
28298
28275
|
d: "M2 3h18v13h-8v2h3v2H7v-2h3v-2H2V3zm2 2v9h14V5H4z",
|
|
@@ -28304,15 +28281,15 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28304
28281
|
])
|
|
28305
28282
|
])
|
|
28306
28283
|
]),
|
|
28307
|
-
c("div",
|
|
28284
|
+
c("div", p6, [
|
|
28308
28285
|
c("div", {
|
|
28309
|
-
onClick:
|
|
28286
|
+
onClick: L[8] || (L[8] = async () => {
|
|
28310
28287
|
g(l).setMenuRight(!1), g(l).setElement(null), await g(t).clearHtmlSelection(), z();
|
|
28311
28288
|
})
|
|
28312
28289
|
}, [
|
|
28313
|
-
c("div",
|
|
28314
|
-
c("span",
|
|
28315
|
-
(y(), w("svg",
|
|
28290
|
+
c("div", c6, [
|
|
28291
|
+
c("span", u6, [
|
|
28292
|
+
(y(), w("svg", h6, [...L[34] || (L[34] = [
|
|
28316
28293
|
c("path", { d: "M14 16H8v2h6v-2z" }, null, -1),
|
|
28317
28294
|
c("path", { d: "M14 1H8a3 3 0 00-3 3v14a3 3 0 003 3h6a3 3 0 003-3V4a3 3 0 00-3-3zM7 4a1 1 0 011-1h6a1 1 0 011 1v14a1 1 0 01-1 1H8a1 1 0 01-1-1V4z" }, null, -1)
|
|
28318
28295
|
])]))
|
|
@@ -28322,9 +28299,9 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28322
28299
|
])
|
|
28323
28300
|
])
|
|
28324
28301
|
]),
|
|
28325
|
-
c("div",
|
|
28302
|
+
c("div", f6, [
|
|
28326
28303
|
c("div", {
|
|
28327
|
-
onClick:
|
|
28304
|
+
onClick: L[11] || (L[11] = Je(
|
|
28328
28305
|
async () => {
|
|
28329
28306
|
await g(t).clearHtmlSelection();
|
|
28330
28307
|
},
|
|
@@ -28332,51 +28309,51 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28332
28309
|
)),
|
|
28333
28310
|
class: j(["pbx-flex pbx-items-center pbx-py-2 pbx-w-full", [n.showCloseButton ? "pbx-justify-between" : "pbx-justify-end"]])
|
|
28334
28311
|
}, [
|
|
28335
|
-
F(
|
|
28312
|
+
F(MD)
|
|
28336
28313
|
], 2),
|
|
28337
|
-
n.showPublishButton ? (y(), w("div",
|
|
28314
|
+
n.showPublishButton ? (y(), w("div", b6, [
|
|
28338
28315
|
c("button", {
|
|
28339
28316
|
class: "pbx-myPrimaryButton",
|
|
28340
|
-
onClick:
|
|
28317
|
+
onClick: L[12] || (L[12] = async () => {
|
|
28341
28318
|
p();
|
|
28342
28319
|
})
|
|
28343
28320
|
}, C(g(r)("Publish")), 1)
|
|
28344
28321
|
])) : E("", !0),
|
|
28345
28322
|
g(t) && x.value && x.value.userSettings && x.value.userSettings.language && !x.value.userSettings.language.disableLanguageDropDown ? (y(), w(K, { key: 1 }, [
|
|
28346
|
-
x.value && x.value.userSettings && x.value.userSettings.language ? (y(), w("div",
|
|
28323
|
+
x.value && x.value.userSettings && x.value.userSettings.language ? (y(), w("div", m6, [
|
|
28347
28324
|
le(c("select", {
|
|
28348
28325
|
id: "pbx-lang",
|
|
28349
28326
|
class: "pbx-myPrimarySelect pbx-min-w-20",
|
|
28350
|
-
"onUpdate:modelValue":
|
|
28327
|
+
"onUpdate:modelValue": L[13] || (L[13] = (ce) => h.value = ce)
|
|
28351
28328
|
}, [
|
|
28352
28329
|
Array.isArray(x.value.userSettings.language.enable) && x.value.userSettings.language.enable.length >= 1 ? (y(!0), w(K, { key: 0 }, ie(g(t).availableLanguage().filter((ce) => x.value.userSettings.language.enable.includes(ce)), (ce) => (y(), w("option", {
|
|
28353
28330
|
key: ce,
|
|
28354
28331
|
value: ce
|
|
28355
|
-
}, C(ce), 9,
|
|
28332
|
+
}, C(ce), 9, x6))), 128)) : E("", !0),
|
|
28356
28333
|
!x.value.userSettings.language.enable || Array.isArray(x.value.userSettings.language.enable) && x.value.userSettings.language.enable.length === 0 ? (y(!0), w(K, { key: 1 }, ie(g(t).availableLanguage(), (ce) => (y(), w("option", {
|
|
28357
28334
|
key: ce,
|
|
28358
28335
|
value: ce
|
|
28359
|
-
}, C(ce), 9,
|
|
28336
|
+
}, C(ce), 9, g6))), 128)) : E("", !0)
|
|
28360
28337
|
], 512), [
|
|
28361
28338
|
[Se, h.value]
|
|
28362
28339
|
])
|
|
28363
28340
|
])) : E("", !0)
|
|
28364
28341
|
], 64)) : E("", !0),
|
|
28365
|
-
n.showCloseButton ? (y(), w("div",
|
|
28342
|
+
n.showCloseButton ? (y(), w("div", y6, [
|
|
28366
28343
|
c("button", {
|
|
28367
28344
|
class: "pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white hover:pbx-fill-white focus-visible:pbx-ring-0",
|
|
28368
|
-
onClick:
|
|
28345
|
+
onClick: L[14] || (L[14] = async () => {
|
|
28369
28346
|
d(), await g(t).clearHtmlSelection();
|
|
28370
28347
|
})
|
|
28371
|
-
}, [...
|
|
28348
|
+
}, [...L[35] || (L[35] = [
|
|
28372
28349
|
c("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
28373
28350
|
])])
|
|
28374
28351
|
])) : E("", !0)
|
|
28375
28352
|
])
|
|
28376
28353
|
]),
|
|
28377
|
-
c("div",
|
|
28354
|
+
c("div", v6, [
|
|
28378
28355
|
c("div", {
|
|
28379
|
-
onClick:
|
|
28356
|
+
onClick: L[17] || (L[17] = Je(
|
|
28380
28357
|
async () => {
|
|
28381
28358
|
await g(t).clearHtmlSelection();
|
|
28382
28359
|
},
|
|
@@ -28385,27 +28362,27 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28385
28362
|
id: "pagebuilder-left-menu",
|
|
28386
28363
|
class: "pbx-w-16 pbx-pt-7 pbx-pb-2 pbx-bg-myPrimaryLightGrayColor pbx-rounded-r-2xl pbx-shadow-sm"
|
|
28387
28364
|
}, [
|
|
28388
|
-
c("div",
|
|
28389
|
-
c("div",
|
|
28365
|
+
c("div", S6, [
|
|
28366
|
+
c("div", w6, [
|
|
28390
28367
|
c("button", {
|
|
28391
28368
|
type: "button",
|
|
28392
|
-
onClick:
|
|
28369
|
+
onClick: L[15] || (L[15] = () => {
|
|
28393
28370
|
g(l).setComponentArrayAddMethod("unshift"), ut();
|
|
28394
28371
|
}),
|
|
28395
28372
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
28396
|
-
}, [...
|
|
28373
|
+
}, [...L[36] || (L[36] = [
|
|
28397
28374
|
c("span", { class: "pbx-myMediumIcon material-symbols-outlined" }, " interests ", -1)
|
|
28398
28375
|
])])
|
|
28399
28376
|
]),
|
|
28400
28377
|
c("div", {
|
|
28401
|
-
onClick:
|
|
28378
|
+
onClick: L[16] || (L[16] = Je(
|
|
28402
28379
|
async () => {
|
|
28403
28380
|
await g(t).clearHtmlSelection();
|
|
28404
28381
|
},
|
|
28405
28382
|
["self"]
|
|
28406
28383
|
))
|
|
28407
28384
|
}, [
|
|
28408
|
-
F(
|
|
28385
|
+
F(cI)
|
|
28409
28386
|
])
|
|
28410
28387
|
])
|
|
28411
28388
|
]),
|
|
@@ -28415,10 +28392,10 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28415
28392
|
id: "page-builder-wrapper",
|
|
28416
28393
|
class: j(["pbx-transition-all pbx-duration-300 pbx-font-sans pbx-p-1 pbx-flex pbx-flex-col pbx-grow pbx-rounded-tr-2xl pbx-rounded-tl-2xl pbx-border-solid pbx-border pbx-border-gray-200 pbx-items-stretch pbx-text-black pbx-h-[100vh] pbx-overflow-y-scroll pbx-relative pbx-pt-16", [(v.value, "pbx-w-full")]])
|
|
28417
28394
|
}, [
|
|
28418
|
-
c("div",
|
|
28395
|
+
c("div", C6, [
|
|
28419
28396
|
se.value ? (y(), oe(NB, { key: 0 })) : E("", !0)
|
|
28420
28397
|
]),
|
|
28421
|
-
c("div",
|
|
28398
|
+
c("div", k6, [
|
|
28422
28399
|
(y(!0), w(K, null, ie(Wo.value, (ce) => (y(), w(K, {
|
|
28423
28400
|
key: ce.id
|
|
28424
28401
|
}, [
|
|
@@ -28426,7 +28403,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28426
28403
|
key: 0,
|
|
28427
28404
|
innerHTML: ce.html_code,
|
|
28428
28405
|
onMouseup: (cr) => rr(ce)
|
|
28429
|
-
}, null, 40,
|
|
28406
|
+
}, null, 40, T6)) : E("", !0)
|
|
28430
28407
|
], 64))), 128))
|
|
28431
28408
|
])
|
|
28432
28409
|
], 2),
|
|
@@ -28444,12 +28421,12 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28444
28421
|
v.value ? "pbx-w-80 pbx-bg-myPrimaryLightGrayColor pbx-items-stretch" : "bpx-w-0 pbx-mr-0"
|
|
28445
28422
|
]])
|
|
28446
28423
|
}, [
|
|
28447
|
-
F(
|
|
28448
|
-
onCloseEditor:
|
|
28424
|
+
F(mD, {
|
|
28425
|
+
onCloseEditor: L[18] || (L[18] = (ce) => g(l).setMenuRight(!1))
|
|
28449
28426
|
})
|
|
28450
28427
|
], 2)) : (y(), w("div", {
|
|
28451
28428
|
key: 1,
|
|
28452
|
-
onClick:
|
|
28429
|
+
onClick: L[21] || (L[21] = Je(
|
|
28453
28430
|
async () => {
|
|
28454
28431
|
await g(t).clearHtmlSelection();
|
|
28455
28432
|
},
|
|
@@ -28458,7 +28435,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28458
28435
|
class: "pbx-w-18 pbx-bg-myPrimaryLightGrayColor pbx-pt-5 pbx-z-20 pbx-flex-shrink-0 pbx-overflow-hidden pbx-border-0 pbx-border-solid pbx-border-l-0 pbx-border-l-gray-600 pbx-rounded-l-2xl pbx-h-[100vh] pbx-pl-2 pbx-pr-2"
|
|
28459
28436
|
}, [
|
|
28460
28437
|
c("div", {
|
|
28461
|
-
onClick:
|
|
28438
|
+
onClick: L[20] || (L[20] = Je(
|
|
28462
28439
|
async () => {
|
|
28463
28440
|
await g(t).clearHtmlSelection();
|
|
28464
28441
|
},
|
|
@@ -28468,12 +28445,12 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28468
28445
|
}, [
|
|
28469
28446
|
v.value ? E("", !0) : (y(), w("button", {
|
|
28470
28447
|
key: 0,
|
|
28471
|
-
onClick:
|
|
28448
|
+
onClick: L[19] || (L[19] = (ce) => g(l).setMenuRight(!0)),
|
|
28472
28449
|
type: "button",
|
|
28473
28450
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
28474
28451
|
}, [
|
|
28475
28452
|
c("span", null, [
|
|
28476
|
-
(y(), w("svg",
|
|
28453
|
+
(y(), w("svg", M6, [...L[37] || (L[37] = [
|
|
28477
28454
|
c("g", { "clip-path": "url(#prefix__clip0_1645_485)" }, [
|
|
28478
28455
|
c("path", {
|
|
28479
28456
|
"clip-rule": "evenodd",
|
|
@@ -28498,17 +28475,17 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28498
28475
|
_: 1
|
|
28499
28476
|
})
|
|
28500
28477
|
]),
|
|
28501
|
-
c("div",
|
|
28478
|
+
c("div", E6, [
|
|
28502
28479
|
c("div", {
|
|
28503
|
-
onClick:
|
|
28480
|
+
onClick: L[22] || (L[22] = () => {
|
|
28504
28481
|
g(l).setComponentArrayAddMethod("push"), ut();
|
|
28505
28482
|
}),
|
|
28506
28483
|
class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-cursor-pointer"
|
|
28507
28484
|
}, [
|
|
28508
|
-
c("span",
|
|
28509
|
-
c("div",
|
|
28485
|
+
c("span", P6, [
|
|
28486
|
+
c("div", L6, C(g(r)("Add to the bottom")), 1)
|
|
28510
28487
|
]),
|
|
28511
|
-
|
|
28488
|
+
L[38] || (L[38] = c("div", { class: "pbx-flex pbx-gap-2 pbx-items-center pbx-justify-center" }, [
|
|
28512
28489
|
c("button", {
|
|
28513
28490
|
type: "button",
|
|
28514
28491
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
@@ -28520,7 +28497,7 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28520
28497
|
])
|
|
28521
28498
|
]));
|
|
28522
28499
|
}
|
|
28523
|
-
},
|
|
28500
|
+
}, _6 = {
|
|
28524
28501
|
install: (n) => {
|
|
28525
28502
|
if (!n.config.globalProperties.$pageBuilder) {
|
|
28526
28503
|
const e = he, t = new D1(e);
|
|
@@ -28529,13 +28506,13 @@ const q0 = /* @__PURE__ */ Lo(L9, [["render", B9]]), A9 = { class: "pbx-text-xs
|
|
|
28529
28506
|
}
|
|
28530
28507
|
};
|
|
28531
28508
|
export {
|
|
28532
|
-
|
|
28509
|
+
O6 as PageBuilder,
|
|
28533
28510
|
Sa as Preview,
|
|
28534
28511
|
MS as createPinia,
|
|
28535
28512
|
Me as getPageBuilder,
|
|
28536
|
-
|
|
28513
|
+
_6 as pageBuilder,
|
|
28537
28514
|
Xg as sharedPageBuilderPinia,
|
|
28538
28515
|
he as sharedPageBuilderStore,
|
|
28539
|
-
|
|
28516
|
+
hI as usePageBuilderModal,
|
|
28540
28517
|
AS as usePageBuilderStateStore
|
|
28541
28518
|
};
|