useblocks 1.1.56 → 1.1.60
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/iframe/js/amp.BP7EklKo.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{4d493eba.js → 161d1254.js} +268 -257
- package/static/core/{4dadf572.js → 40f73dfb.js} +3 -3
- package/static/core/{289ba982.js → 43c3f160.js} +3270 -3187
- package/static/core/{58c4b8d7.js → 4c39852e.js} +5 -5
- package/static/core/{a4c19e27.js → 4e75b331.js} +4 -4
- package/static/core/{87969347.js → 53463a60.js} +675 -677
- package/static/core/{eb23332a.js → 7a15fa8b.js} +3 -3
- package/static/core/{12a9aa4e.js → 8815eb5b.js} +11514 -11159
- package/static/core/{4a5f1756.js → ba6c356e.js} +104 -104
- package/static/core/{b9bb2c5f.js → c9e59b34.js} +4634 -4271
- package/static/core/{fa354fb5.js → d9baa55e.js} +7 -7
- package/static/core/{bf446743.js → dbf19c2e.js} +248 -198
- package/static/core/{988589a5.js → f953827c.js} +7 -7
- package/static/esm/2474de05.js +131 -0
- package/static/esm/{3cde7cb6.js → 53b688bd.js} +48 -48
- package/two_step_headless_plugin.html +1 -1
- package/useblocks-core.f6bb8947.js +673 -0
- package/useblocks-esm.js +892 -529
- package/useblocks.d.ts +8 -0
- package/useblocks.js +698 -330
- package/static/esm/550bf3cb.js +0 -127
- package/useblocks-core.1279854f.js +0 -643
- /package/iframe/{iframe-eblock.1279854f.html → iframe-eblock.f6bb8947.html} +0 -0
- /package/iframe/{iframe.1279854f.html → iframe.f6bb8947.html} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(){try{if(typeof document<"u"){var o=document.createElement("style");o.setAttribute("data-useblocks","true"),o.appendChild(document.createTextNode('@import "https://fonts.googleapis.com/css2?family=Geologica:wght@300;600&display=swap";.blocks-app .ant-modal.premium-features-modal .ant-modal-container{border-radius:calc(var(--borderRadiusXL) * 2px);padding:20px 19px}.blocks-app .premium-features-modal .modal-title{text-align:center;margin-bottom:0;font-size:32px}.blocks-app .premium-features-modal .ant-carousel .slick-dots li button{opacity:.5;background:#fff}.blocks-app .premium-features-modal .ant-carousel .slick-dots li.slick-active button{opacity:1}.blocks-app .premium-features-modal .modal-subtitle{text-align:center;margin-bottom:20px;font-size:18px}.blocks-app .premium-features-modal .carousel-slider{margin-bottom:20px}.blocks-app .premium-features-modal .slick-list{border-radius:calc(var(--borderRadiusXL) * 1.5px)}.blocks-app .premium-features-modal .slick-slide{padding:0 5px}.blocks-app .premium-features-modal .carousel-slide{border-radius:calc(var(--borderRadiusXL) * 1.5px);justify-content:flex-end;align-items:center;height:480px;display:flex}.blocks-app .premium-features-modal .slide-item-image{width:50%;padding:24px 0 24px 32px}.blocks-app .premium-features-modal .slide-item-image img{border-radius:calc(var(--borderRadiusXL) * 1.3px);width:100%}.blocks-app .premium-features-modal .slide-item-content{width:50%;padding:48px}.blocks-app .premium-features-modal .slide-title{margin-bottom:48px;font-size:50px;font-weight:700;line-height:1}.blocks-app .premium-features-modal .slide-description{font-size:22px}.blocks-app .premium-features-modal .modal-buttons{justify-content:center;gap:10px;display:flex}.blocks-app .premium-features-modal .modal-buttons button{padding:0 30px}.blocks-app .trial-suggest-modal .ant-modal-
|
|
2
|
-
__useblocks__.define("static/core/
|
|
1
|
+
(function(){try{if(typeof document<"u"){var o=document.createElement("style");o.setAttribute("data-useblocks","true"),o.appendChild(document.createTextNode('@import "https://fonts.googleapis.com/css2?family=Geologica:wght@300;600&display=swap";.blocks-app .ant-modal.premium-features-modal .ant-modal-container{border-radius:calc(var(--borderRadiusXL) * 2px);padding:20px 19px}.blocks-app .premium-features-modal .modal-title{text-align:center;margin-bottom:0;font-size:32px}.blocks-app .premium-features-modal .ant-carousel .slick-dots li button{opacity:.5;background:#fff}.blocks-app .premium-features-modal .ant-carousel .slick-dots li.slick-active button{opacity:1}.blocks-app .premium-features-modal .modal-subtitle{text-align:center;margin-bottom:20px;font-size:18px}.blocks-app .premium-features-modal .carousel-slider{margin-bottom:20px}.blocks-app .premium-features-modal .slick-list{border-radius:calc(var(--borderRadiusXL) * 1.5px)}.blocks-app .premium-features-modal .slick-slide{padding:0 5px}.blocks-app .premium-features-modal .carousel-slide{border-radius:calc(var(--borderRadiusXL) * 1.5px);justify-content:flex-end;align-items:center;height:480px;display:flex}.blocks-app .premium-features-modal .slide-item-image{width:50%;padding:24px 0 24px 32px}.blocks-app .premium-features-modal .slide-item-image img{border-radius:calc(var(--borderRadiusXL) * 1.3px);width:100%}.blocks-app .premium-features-modal .slide-item-content{width:50%;padding:48px}.blocks-app .premium-features-modal .slide-title{margin-bottom:48px;font-size:50px;font-weight:700;line-height:1}.blocks-app .premium-features-modal .slide-description{font-size:22px}.blocks-app .premium-features-modal .modal-buttons{justify-content:center;gap:10px;display:flex}.blocks-app .premium-features-modal .modal-buttons button{padding:0 30px}.blocks-app .trial-suggest-modal{max-width:calc(100vw - 24px)}.blocks-app .trial-suggest-modal .ant-modal-container{border-radius:16px;padding:0;overflow:hidden}.blocks-app .trial-suggest-modal__layout{align-items:stretch;display:flex}.blocks-app .trial-suggest-modal__gallery{background:var(--colorFillQuaternary);flex:0 0 300px;width:300px;max-width:300px;position:relative;overflow:hidden}.blocks-app .trial-suggest-modal__slide-image{border-right:1px solid var(--colorFillSecondary);background-repeat:no-repeat;background-size:cover;transition:opacity .4s;position:absolute;inset:0}.blocks-app .trial-suggest-modal__content{flex:auto;min-width:0;max-width:100%;padding:32px}.blocks-app .trial-suggest-modal__badge{background:var(--colorPrimaryBg);color:var(--colorPrimary);border-radius:12px;margin-bottom:12px;padding:2px 10px;font-size:12px;font-weight:600;line-height:20px;display:inline-block}.blocks-app .trial-suggest-modal__title{color:var(--colorText);margin:0 0 8px;font-size:22px;font-weight:600;line-height:1.25}.blocks-app .trial-suggest-modal__intro{color:var(--colorTextSecondary);margin:0 0 16px}.blocks-app .trial-suggest-modal__features{margin:0 0 20px;padding:0;list-style:none}.blocks-app .trial-suggest-modal__features li{color:var(--colorText);align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.blocks-app .trial-suggest-modal__feature-icon,.blocks-app .trial-suggest-modal__promise-icon{flex:none;width:20px;height:20px;margin-top:2px;font-size:20px;line-height:20px}.blocks-app .trial-suggest-modal__feature-icon svg,.blocks-app .trial-suggest-modal__promise-icon svg{width:100%;height:100%}.blocks-app .trial-suggest-modal__feature-icon{color:var(--colorPrimary)}.blocks-app .trial-suggest-modal__promise{background:var(--colorFillQuaternary);color:var(--colorText);border-radius:8px;align-items:flex-start;gap:10px;margin:0 0 8px;padding:12px;display:flex}.blocks-app .trial-suggest-modal__promise-icon{color:var(--colorSuccess)}.blocks-app .trial-suggest-modal__note{color:var(--colorTextTertiary);margin:0 0 24px;font-size:12px;line-height:140%}.blocks-app .trial-suggest-modal__buttons{justify-content:space-between;align-items:center;gap:8px;display:flex}.blocks-app .trial-suggest-modal__decline.ant-btn{box-shadow:none;color:var(--colorTextSecondary);border:1px solid #0000}.blocks-app .trial-suggest-modal__decline.ant-btn:hover,.blocks-app .trial-suggest-modal__decline.ant-btn:focus,.blocks-app .trial-suggest-modal__decline.ant-btn:focus-visible,.blocks-app .trial-suggest-modal__decline.ant-btn:active{box-shadow:none;border:1px solid #0000;transform:none}.blocks-app .trial-suggest-modal__decline.ant-btn:hover:not(:disabled){background:var(--colorFillTertiary);color:var(--colorText)}@media (width<=720px){.blocks-app .trial-suggest-modal__layout{flex-direction:column}.blocks-app .trial-suggest-modal__gallery{flex:none;width:auto;max-width:none;height:180px}.blocks-app .trial-suggest-modal__content{padding:24px}}.blocks-app .limit-upgrade-modal.ant-modal{max-width:calc(100vw - 24px)}.blocks-app .limit-upgrade-modal .ant-modal-content{border-radius:16px;padding:0;overflow:hidden;box-shadow:0 12px 24px -4px #191d3a14}.blocks-app .limit-upgrade-modal .ant-modal-header{display:none}.blocks-app .limit-upgrade-modal .ant-modal-content .ant-modal-body{padding:0}.blocks-app .limit-upgrade-modal__wrap{background:var(--colorBgContainer);flex-direction:column;align-items:center;width:400px;max-width:100%;display:flex}.blocks-app .limit-upgrade-modal__header{box-sizing:border-box;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;min-height:34px;padding:8px 8px 0;display:flex}.blocks-app .limit-upgrade-modal__close{background:var(--colorBgContainer);width:34px;height:34px;color:var(--colorTextSecondary);cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;margin:0;padding:0;transition:background .15s,color .15s;display:flex}.blocks-app .limit-upgrade-modal__close:hover{background:var(--colorFillTertiary);color:var(--colorText)}.blocks-app .limit-upgrade-modal__close .anticon{font-size:16px}.blocks-app .limit-upgrade-modal__body{box-sizing:border-box;flex-direction:column;align-items:center;gap:16px;width:100%;padding:0 40px 24px;display:flex}.blocks-app .limit-upgrade-modal__title{text-align:center;max-width:320px;color:var(--colorText);margin:0;font-size:18px;font-weight:400;line-height:130%}.blocks-app .limit-upgrade-modal__subtitle{text-align:center;max-width:320px;color:var(--colorTextSecondary);margin:0;font-size:14px;font-weight:100;line-height:120%}.blocks-app .limit-upgrade-modal__limits-row{flex-flow:wrap;justify-content:center;align-items:center;gap:8px;width:100%;max-width:320px;display:flex}.blocks-app .limit-upgrade-modal__icon-circle{box-sizing:border-box;border:1px solid var(--colorText);width:34px;height:34px;color:var(--colorText);border-radius:32px;flex:none;justify-content:center;align-items:center;padding:8px;display:flex}.blocks-app .limit-upgrade-modal__icon-circle .anticon{font-size:18px}.blocks-app .limit-upgrade-modal__icon-circle svg{flex-shrink:0;width:18px;height:18px;display:block}.blocks-app .limit-upgrade-modal__limit-old{color:#f85243;flex-shrink:0;font-size:40px;font-weight:100;line-height:100%}.blocks-app .limit-upgrade-modal__arrow-btn{color:#fff;background:#8946fb;border-radius:38px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.blocks-app .limit-upgrade-modal__arrow-icon{font-size:16px;transform:rotate(45deg)}.blocks-app .limit-upgrade-modal__limit-new{color:#7ed846;flex-shrink:0;font-size:40px;font-weight:400;line-height:100%}.blocks-app .limit-upgrade-modal__limit-new--infinity{font-size:36px;line-height:40px}.blocks-app .limit-upgrade-modal__divider{border:none;border-top:1px solid var(--colorBorderSecondary);width:100%;height:0;margin:0}.blocks-app .limit-upgrade-modal__footer{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;width:100%;padding:16px 0;display:flex}.blocks-app .limit-upgrade-modal__footer--dual{flex-flow:wrap;justify-content:center;align-items:center;gap:8px;padding:16px}.blocks-app .limit-upgrade-modal__cta.ant-btn-primary{min-width:147px;height:32px;box-shadow:none;background:#2884ff;border-color:#2884ff;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:400;line-height:19px}.blocks-app .limit-upgrade-modal__cta.ant-btn-primary:hover{background:#1a75f0;border-color:#1a75f0}.blocks-app .limit-upgrade-modal__cta-secondary.ant-btn-default{border-color:var(--colorBorder);min-width:147px;height:32px;color:var(--colorText);box-shadow:none;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:400;line-height:19px}.blocks-app .limit-upgrade-modal__cta-secondary.ant-btn-default:hover{color:#2884ff;border-color:#2884ff}')),document.head.appendChild(o)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
+
__useblocks__.define("static/core/dbf19c2e.js", [
|
|
3
3
|
"require",
|
|
4
4
|
"exports",
|
|
5
5
|
"module",
|
|
6
6
|
"static/core/bd36b180.js",
|
|
7
|
-
"static/core/
|
|
8
|
-
"static/core/
|
|
9
|
-
"static/core/
|
|
7
|
+
"static/core/c9e59b34.js",
|
|
8
|
+
"static/core/161d1254.js",
|
|
9
|
+
"static/core/40f73dfb.js",
|
|
10
10
|
"static/core/951903fb.js",
|
|
11
11
|
"react",
|
|
12
12
|
"react-dom",
|
|
@@ -15,18 +15,18 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
15
15
|
"react-dom/client",
|
|
16
16
|
"@ant-design/icons",
|
|
17
17
|
"@ant-design/cssinjs"
|
|
18
|
-
], function(y,
|
|
19
|
-
const
|
|
18
|
+
], function(y, p, re) {
|
|
19
|
+
const A = y("./bd36b180.js"), m = y("./c9e59b34.js"), k = y("./161d1254.js"), h = y("./40f73dfb.js");
|
|
20
20
|
y("./951903fb.js");
|
|
21
21
|
let u = y("react");
|
|
22
|
-
u =
|
|
22
|
+
u = A.__toESM(u);
|
|
23
23
|
y("react-dom");
|
|
24
24
|
let a = y("react/jsx-runtime");
|
|
25
25
|
y("antd");
|
|
26
26
|
y("react-dom/client");
|
|
27
27
|
y("@ant-design/icons");
|
|
28
28
|
y("@ant-design/cssinjs");
|
|
29
|
-
function
|
|
29
|
+
function R(e, i) {
|
|
30
30
|
return e == null || i == null ? !1 : String(e) === String(i);
|
|
31
31
|
}
|
|
32
32
|
function x(e, i) {
|
|
@@ -34,23 +34,27 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
34
34
|
if (e?.myRole === "user" || e?.myRole === "viewer") return "user";
|
|
35
35
|
const r = Array.isArray(e?.members) ? e.members : [], n = Array.isArray(e?.invites) ? e.invites : [];
|
|
36
36
|
if (i?.id == null || i.id === "") return null;
|
|
37
|
-
const t = r.find((
|
|
37
|
+
const t = r.find((s) => R(s?.userId, i.id));
|
|
38
38
|
if (t) {
|
|
39
39
|
if (t.role === "owner" || t.role === "admin") return t.role;
|
|
40
40
|
if (t.role === "user" || t.role === "viewer") return "user";
|
|
41
41
|
}
|
|
42
|
-
const
|
|
43
|
-
return
|
|
42
|
+
const l = i.email?.trim().toLowerCase();
|
|
43
|
+
return l && n.some((s) => s?.email?.trim().toLowerCase() === l) ? "invited" : null;
|
|
44
44
|
}
|
|
45
45
|
function j(e, i) {
|
|
46
|
-
return
|
|
46
|
+
return i.isPlugin ? !1 : e?.ownerPlan?.isPaid !== !0;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
const
|
|
50
|
-
return
|
|
48
|
+
function T(e, i) {
|
|
49
|
+
const r = x(e, i);
|
|
50
|
+
return r === null || r === "owner";
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
function O(e) {
|
|
53
|
+
const { isPlanLocked: i, trialEnabled: r, canStartTrial: n } = e;
|
|
54
|
+
return !i || r || !n ? "upsell" : "trial";
|
|
55
|
+
}
|
|
56
|
+
var P = () => m.di.useInstance(m.COOKIE_MANAGER_ID);
|
|
57
|
+
function M(e, i, r) {
|
|
54
58
|
const n = e.data?.status, t = typeof e.status == "number" ? e.status : void 0;
|
|
55
59
|
return n === 403 || t === 403 ? {
|
|
56
60
|
kind: "failure",
|
|
@@ -61,60 +65,61 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
61
65
|
description: e.message && String(e.message).trim() || void 0
|
|
62
66
|
};
|
|
63
67
|
}
|
|
64
|
-
async function
|
|
65
|
-
const d = await i(e),
|
|
68
|
+
async function K(e, i, r, n, t, l, s) {
|
|
69
|
+
const d = await i(e), c = r("Could not activate the trial. Please try again later or contact support.");
|
|
66
70
|
if ("error" in d && d.error) {
|
|
67
|
-
const
|
|
68
|
-
return
|
|
71
|
+
const o = d.error, g = "data" in o ? o.data : void 0;
|
|
72
|
+
return s((g && typeof g == "object" && g !== null && "message" in g ? String(g.message) : void 0) || c), !1;
|
|
69
73
|
}
|
|
70
74
|
if ("data" in d && d.data && typeof d.data == "object") {
|
|
71
|
-
const
|
|
72
|
-
return
|
|
73
|
-
title:
|
|
74
|
-
description:
|
|
75
|
-
}) :
|
|
75
|
+
const o = M(d.data, c, r("Trial period activated."));
|
|
76
|
+
return o.kind === "failure" ? (s(o.userMessage), !1) : (n(m.changeConfig("pro")), await t(void 0), o.description ? l({
|
|
77
|
+
title: o.title,
|
|
78
|
+
description: o.description
|
|
79
|
+
}) : l(o.title), !0);
|
|
76
80
|
}
|
|
77
|
-
return n(
|
|
81
|
+
return n(m.changeConfig("pro")), await t(void 0), l(r("Trial period activated.")), !0;
|
|
78
82
|
}
|
|
79
|
-
function
|
|
80
|
-
const { __: e } = h.useI18n(), i =
|
|
83
|
+
function Y() {
|
|
84
|
+
const { __: e } = h.useI18n(), i = m.useDispatch(), r = P(), { success: n, notify: t } = h.useNotification(), l = m.usePushToDataLayer(), [s] = m.useLazyGetMeQuery(), [d, { isLoading: c }] = m.useActivateTrialMutation(), [o] = k.useInvalidatePlanCacheMutation(), g = (0, u.useCallback)((f) => {
|
|
81
85
|
t({
|
|
82
|
-
title:
|
|
86
|
+
title: f,
|
|
83
87
|
type: "error"
|
|
84
88
|
});
|
|
85
89
|
}, [t]);
|
|
86
90
|
return {
|
|
87
91
|
activate: (0, u.useCallback)(async () => {
|
|
88
|
-
const
|
|
89
|
-
if (!
|
|
92
|
+
const f = r.get(m.APP_COOKIES.em_token);
|
|
93
|
+
if (!f) return g(e("Sign in to your account to activate the trial period.")), !1;
|
|
90
94
|
try {
|
|
91
|
-
const
|
|
92
|
-
return
|
|
95
|
+
const _ = await K(f, d, e, i, s, n, g);
|
|
96
|
+
return _ && (await o(), i(m.projectsApi.util.invalidateTags(["project"])), l({
|
|
93
97
|
event: "change",
|
|
94
98
|
action: "activate_trial"
|
|
95
|
-
}),
|
|
96
|
-
} catch (
|
|
97
|
-
return
|
|
99
|
+
})), _;
|
|
100
|
+
} catch (_) {
|
|
101
|
+
return g(_?.data?.message || e("Could not activate the trial. Please try again later or contact support.")), !1;
|
|
98
102
|
}
|
|
99
103
|
}, [
|
|
100
104
|
e,
|
|
101
105
|
d,
|
|
102
106
|
r,
|
|
103
107
|
i,
|
|
104
|
-
o,
|
|
105
108
|
s,
|
|
109
|
+
o,
|
|
110
|
+
g,
|
|
106
111
|
n,
|
|
107
|
-
|
|
112
|
+
l
|
|
108
113
|
]),
|
|
109
|
-
isActivating:
|
|
114
|
+
isActivating: c
|
|
110
115
|
};
|
|
111
116
|
}
|
|
112
|
-
var
|
|
113
|
-
const { __: t } = h.useI18n(),
|
|
114
|
-
i && i(),
|
|
117
|
+
var B = ({ open: e, sideOnOk: i, onCancel: r, initialSlide: n = 0 }) => {
|
|
118
|
+
const { __: t } = h.useI18n(), l = m.useNavigate(), [s, d] = (0, u.useState)(n), c = (0, u.useRef)(null), o = m.usePushToDataLayer(), g = () => {
|
|
119
|
+
i && i(), l("/billing"), r(!1);
|
|
115
120
|
};
|
|
116
121
|
(0, u.useEffect)(() => {
|
|
117
|
-
e &&
|
|
122
|
+
e && c.current && (c.current.goTo(n, !0), d(n));
|
|
118
123
|
}, [e, n]);
|
|
119
124
|
const f = (0, u.useMemo)(() => [
|
|
120
125
|
{
|
|
@@ -179,10 +184,10 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
179
184
|
}
|
|
180
185
|
], [t]);
|
|
181
186
|
return (0, u.useEffect)(() => {
|
|
182
|
-
if (e &&
|
|
183
|
-
|
|
187
|
+
if (e && c.current) {
|
|
188
|
+
c.current.goTo(n, !0), d(n);
|
|
184
189
|
const _ = f[n];
|
|
185
|
-
|
|
190
|
+
o({
|
|
186
191
|
event: "open_modal",
|
|
187
192
|
action: "open_premium-features_modal",
|
|
188
193
|
modal_id: "premium-features",
|
|
@@ -193,7 +198,7 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
193
198
|
e,
|
|
194
199
|
f,
|
|
195
200
|
n,
|
|
196
|
-
|
|
201
|
+
o
|
|
197
202
|
]), (0, a.jsxs)(h.Modal, {
|
|
198
203
|
open: e,
|
|
199
204
|
footer: null,
|
|
@@ -213,8 +218,8 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
213
218
|
className: "carousel-slider",
|
|
214
219
|
draggable: !0,
|
|
215
220
|
autoplaySpeed: 5e3,
|
|
216
|
-
initialSlide:
|
|
217
|
-
ref:
|
|
221
|
+
initialSlide: s,
|
|
222
|
+
ref: c,
|
|
218
223
|
children: f.map((_, v) => (0, a.jsx)("div", { children: (0, a.jsxs)("div", {
|
|
219
224
|
className: "carousel-slide",
|
|
220
225
|
style: { background: `${_.backgroundColor}` },
|
|
@@ -249,125 +254,170 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
249
254
|
}), (0, a.jsx)(h.Button, {
|
|
250
255
|
type: "primary",
|
|
251
256
|
size: "large",
|
|
252
|
-
onClick:
|
|
257
|
+
onClick: g,
|
|
253
258
|
style: { padding: "0 30px" },
|
|
254
259
|
children: t("Select plan")
|
|
255
260
|
})]
|
|
256
261
|
})
|
|
257
262
|
]
|
|
258
263
|
});
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
return (
|
|
264
|
+
};
|
|
265
|
+
function w(e) {
|
|
266
|
+
return e = e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim, ""), e = e.replace(/<\/?(?:script|embed|object|frameset|frame|iframe|applet|meta)[^>]*>/gi, ""), e = e.replace(/ on\w+="[^"]*"/g, ""), e = e.replace(/ on\w+='[^']*'/g, ""), e;
|
|
267
|
+
}
|
|
268
|
+
var b = u.default.forwardRef(({ icon: e, ...i }, r) => {
|
|
269
|
+
const n = m.useAppConfig();
|
|
270
|
+
return (0, a.jsx)(h.EmIcons, {
|
|
271
|
+
ref: r,
|
|
272
|
+
icon: e,
|
|
273
|
+
configIcons: (0, u.useMemo)(() => {
|
|
274
|
+
if (!n?.icons) return;
|
|
275
|
+
const t = {};
|
|
276
|
+
for (const [l, s] of Object.entries(n.icons)) typeof s == "string" && (t[l] = w(s));
|
|
277
|
+
return Object.keys(t).length > 0 ? t : void 0;
|
|
278
|
+
}, [n?.icons]),
|
|
279
|
+
strokeWidth: n?.iconStrokeWidth,
|
|
280
|
+
...i
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
b.displayName = "EmIcons";
|
|
284
|
+
var D = "CheckCircleVerified", F = [
|
|
285
|
+
"Export to HTML, AMP, PDF and PNG",
|
|
286
|
+
"Code editing and version history",
|
|
287
|
+
"AI assistant and AI image generation",
|
|
288
|
+
"Stock photos, GIFs and icons, plus the image editor",
|
|
289
|
+
"Email checks and teamwork"
|
|
290
|
+
], L = [
|
|
291
|
+
"https://cdn.useblocks.io/1351/241017_18_1sGjUaZ.png",
|
|
292
|
+
"https://cdn.useblocks.io/1351/241017_18_J7QtvZ3.png",
|
|
293
|
+
"https://cdn.useblocks.io/1351/241017_18_2fjDRfL.png",
|
|
294
|
+
"https://cdn.useblocks.io/1351/241017_18_D5C25Zp.png",
|
|
295
|
+
"https://cdn.useblocks.io/1351/241017_18_NDYloAO.png",
|
|
296
|
+
"https://cdn.useblocks.io/1351/241017_18_g5mVlmh.png",
|
|
297
|
+
"https://cdn.useblocks.io/1351/241017_18_ur8Lh3W.png",
|
|
298
|
+
"https://cdn.useblocks.io/1351/241017_18_S5Pld9p.png",
|
|
299
|
+
"https://cdn.useblocks.io/1351/241017_18_tGbb2j9.png",
|
|
300
|
+
"https://cdn.useblocks.io/1351/241017_18_gDXi4uM.png"
|
|
301
|
+
], U = 5e3, G = ({ open: e, onCancel: i, onConfirm: r, loading: n = !1 }) => {
|
|
302
|
+
const { __: t } = h.useI18n(), [l, s] = (0, u.useState)(0), d = (0, u.useMemo)(() => L.map((c) => ({ backgroundImage: `url(${t(c)})` })), [t]);
|
|
303
|
+
return (0, u.useEffect)(() => {
|
|
304
|
+
if (!e) {
|
|
305
|
+
s(0);
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
const c = setInterval(() => s((o) => (o + 1) % L.length), U);
|
|
309
|
+
return () => clearInterval(c);
|
|
310
|
+
}, [e]), (0, a.jsx)(h.Modal, {
|
|
262
311
|
open: e,
|
|
263
312
|
onCancel: i,
|
|
264
313
|
footer: null,
|
|
265
314
|
closable: !1,
|
|
266
315
|
centered: !0,
|
|
267
|
-
width:
|
|
316
|
+
width: 760,
|
|
268
317
|
className: "trial-suggest-modal",
|
|
269
|
-
children:
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}),
|
|
278
|
-
|
|
279
|
-
className: "trial-suggest-modal__features",
|
|
318
|
+
children: (0, a.jsxs)("div", {
|
|
319
|
+
className: "trial-suggest-modal__layout",
|
|
320
|
+
children: [(0, a.jsx)("div", {
|
|
321
|
+
className: "trial-suggest-modal__gallery",
|
|
322
|
+
children: (0, a.jsx)("div", {
|
|
323
|
+
className: "trial-suggest-modal__slide-image",
|
|
324
|
+
style: d[l]
|
|
325
|
+
})
|
|
326
|
+
}), (0, a.jsxs)("div", {
|
|
327
|
+
className: "trial-suggest-modal__content",
|
|
280
328
|
children: [
|
|
281
|
-
(0, a.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
(0, a.
|
|
329
|
+
(0, a.jsxs)("span", {
|
|
330
|
+
className: "trial-suggest-modal__badge",
|
|
331
|
+
children: [t("14 days free"), " "]
|
|
332
|
+
}),
|
|
333
|
+
(0, a.jsxs)("h2", {
|
|
334
|
+
className: "trial-suggest-modal__title",
|
|
335
|
+
children: [t("Try every editor feature — free"), " "]
|
|
336
|
+
}),
|
|
337
|
+
(0, a.jsx)("p", {
|
|
338
|
+
className: "trial-suggest-modal__intro",
|
|
339
|
+
children: t("Turn on a 14-day trial and the whole editor opens up:")
|
|
340
|
+
}),
|
|
341
|
+
(0, a.jsx)("ul", {
|
|
342
|
+
className: "trial-suggest-modal__features",
|
|
343
|
+
children: F.map((c) => (0, a.jsxs)("li", { children: [(0, a.jsx)(b, {
|
|
344
|
+
icon: D,
|
|
345
|
+
className: "trial-suggest-modal__feature-icon"
|
|
346
|
+
}), (0, a.jsx)("span", { children: t(c) })] }, c))
|
|
347
|
+
}),
|
|
348
|
+
(0, a.jsxs)("p", {
|
|
349
|
+
className: "trial-suggest-modal__promise",
|
|
350
|
+
children: [(0, a.jsx)(b, {
|
|
351
|
+
icon: "ShieldTickIcon",
|
|
352
|
+
className: "trial-suggest-modal__promise-icon"
|
|
353
|
+
}), (0, a.jsx)("span", { children: t("No card required: we ask for no payment or personal details.") })]
|
|
354
|
+
}),
|
|
355
|
+
(0, a.jsx)("p", {
|
|
356
|
+
className: "trial-suggest-modal__note",
|
|
357
|
+
children: t("When the trial ends, the service switches to the free plan.")
|
|
358
|
+
}),
|
|
359
|
+
(0, a.jsxs)("div", {
|
|
360
|
+
className: "trial-suggest-modal__buttons",
|
|
361
|
+
children: [(0, a.jsxs)(h.Button, {
|
|
362
|
+
type: "text",
|
|
363
|
+
size: "large",
|
|
364
|
+
onClick: i,
|
|
365
|
+
className: "trial-suggest-modal__decline",
|
|
366
|
+
children: [t("Not now"), " "]
|
|
367
|
+
}), (0, a.jsxs)(h.Button, {
|
|
368
|
+
type: "primary",
|
|
369
|
+
size: "large",
|
|
370
|
+
loading: n,
|
|
371
|
+
onClick: r,
|
|
372
|
+
children: [t("Start the trial"), " "]
|
|
373
|
+
})]
|
|
374
|
+
})
|
|
286
375
|
]
|
|
287
|
-
})
|
|
288
|
-
|
|
289
|
-
className: "trial-suggest-modal__disclaimer",
|
|
290
|
-
children: t("No card required: we ask for no payment or personal details. When the trial ends, the service switches to the free plan.")
|
|
291
|
-
}),
|
|
292
|
-
(0, a.jsxs)("div", {
|
|
293
|
-
className: "trial-suggest-modal__buttons",
|
|
294
|
-
children: [(0, a.jsxs)(h.Button, {
|
|
295
|
-
size: "large",
|
|
296
|
-
onClick: i,
|
|
297
|
-
children: [t("Not now"), " "]
|
|
298
|
-
}), (0, a.jsxs)(h.Button, {
|
|
299
|
-
type: "primary",
|
|
300
|
-
size: "large",
|
|
301
|
-
loading: n,
|
|
302
|
-
onClick: r,
|
|
303
|
-
children: [t("Start the trial"), " "]
|
|
304
|
-
})]
|
|
305
|
-
})
|
|
306
|
-
]
|
|
376
|
+
})]
|
|
377
|
+
})
|
|
307
378
|
});
|
|
308
|
-
},
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
isPlugin: l.PLUGIN.isPlugin
|
|
379
|
+
}, z = ({ open: e, onCancel: i, initialSlide: r = 0, onTrialActivated: n, sideOnOk: t }) => {
|
|
380
|
+
const l = m.useSelector(m.selectedCurrentUser), s = m.useSelector(m.selectProject), d = m.usePushToDataLayer(), { activate: c, isActivating: o } = Y(), g = O({
|
|
381
|
+
isPlanLocked: j(s, { isPlugin: m.PLUGIN.isPlugin }),
|
|
382
|
+
trialEnabled: !!l?.trial_enabled,
|
|
383
|
+
canStartTrial: T(s, l)
|
|
314
384
|
}) === "trial";
|
|
315
385
|
(0, u.useEffect)(() => {
|
|
316
|
-
!e || !
|
|
386
|
+
!e || !g || d({
|
|
317
387
|
event: "open_modal",
|
|
318
388
|
action: "open_trial-suggest_modal",
|
|
319
389
|
modal_id: "trial-suggest"
|
|
320
390
|
});
|
|
321
391
|
}, [
|
|
322
392
|
e,
|
|
323
|
-
|
|
324
|
-
|
|
393
|
+
g,
|
|
394
|
+
d
|
|
325
395
|
]);
|
|
326
|
-
const
|
|
396
|
+
const f = (0, u.useCallback)(() => {
|
|
327
397
|
(async () => {
|
|
328
|
-
if (await
|
|
398
|
+
if (await c()) {
|
|
329
399
|
(n ?? i)();
|
|
330
400
|
return;
|
|
331
401
|
}
|
|
332
402
|
i();
|
|
333
403
|
})();
|
|
334
404
|
}, [
|
|
335
|
-
|
|
405
|
+
c,
|
|
336
406
|
i,
|
|
337
407
|
n
|
|
338
408
|
]);
|
|
339
|
-
return
|
|
409
|
+
return g ? (0, a.jsx)(G, {
|
|
340
410
|
open: e,
|
|
341
411
|
onCancel: i,
|
|
342
|
-
onConfirm:
|
|
343
|
-
loading:
|
|
344
|
-
}) : (0, a.jsx)(
|
|
412
|
+
onConfirm: f,
|
|
413
|
+
loading: o
|
|
414
|
+
}) : (0, a.jsx)(B, {
|
|
345
415
|
open: e,
|
|
346
416
|
onCancel: i,
|
|
347
417
|
initialSlide: r,
|
|
348
418
|
sideOnOk: t
|
|
349
419
|
});
|
|
350
|
-
}
|
|
351
|
-
function w(e) {
|
|
352
|
-
return e = e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim, ""), e = e.replace(/<\/?(?:script|embed|object|frameset|frame|iframe|applet|meta)[^>]*>/gi, ""), e = e.replace(/ on\w+="[^"]*"/g, ""), e = e.replace(/ on\w+='[^']*'/g, ""), e;
|
|
353
|
-
}
|
|
354
|
-
var b = u.default.forwardRef(({ icon: e, ...i }, r) => {
|
|
355
|
-
const n = l.useAppConfig();
|
|
356
|
-
return (0, a.jsx)(h.EmIcons, {
|
|
357
|
-
ref: r,
|
|
358
|
-
icon: e,
|
|
359
|
-
configIcons: (0, u.useMemo)(() => {
|
|
360
|
-
if (!n?.icons) return;
|
|
361
|
-
const t = {};
|
|
362
|
-
for (const [c, o] of Object.entries(n.icons)) typeof o == "string" && (t[c] = w(o));
|
|
363
|
-
return Object.keys(t).length > 0 ? t : void 0;
|
|
364
|
-
}, [n?.icons]),
|
|
365
|
-
strokeWidth: n?.iconStrokeWidth,
|
|
366
|
-
...i
|
|
367
|
-
});
|
|
368
|
-
});
|
|
369
|
-
b.displayName = "EmIcons";
|
|
370
|
-
var L = {
|
|
420
|
+
}, I = {
|
|
371
421
|
ai: "AIRequests",
|
|
372
422
|
email_generate: "EmailEnvelope",
|
|
373
423
|
image_generate: "Image",
|
|
@@ -381,7 +431,7 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
381
431
|
blocks: "Block",
|
|
382
432
|
users: "SliderGroup"
|
|
383
433
|
};
|
|
384
|
-
function
|
|
434
|
+
function C(e, i) {
|
|
385
435
|
if (e == null) return null;
|
|
386
436
|
if (typeof e == "number" || typeof e == "string") {
|
|
387
437
|
const r = e === "∞" || typeof e == "string" && e.toLowerCase() === "infinity";
|
|
@@ -392,8 +442,8 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
392
442
|
}
|
|
393
443
|
return e;
|
|
394
444
|
}
|
|
395
|
-
var
|
|
396
|
-
const { __: f } = h.useI18n(), _ =
|
|
445
|
+
var W = ({ open: e, onClose: i, title: r, subtitle: n, usageResource: t, icon: l, previousDisplay: s, nextDisplay: d, onChangePlan: c, secondaryAction: o, changePlanLabel: g }) => {
|
|
446
|
+
const { __: f } = h.useI18n(), _ = g ?? f("Change plan"), v = !!o, ae = t != null ? (0, a.jsx)(b, { icon: I[t] }) : l ?? null;
|
|
397
447
|
return (0, a.jsx)(h.Modal, {
|
|
398
448
|
open: e,
|
|
399
449
|
onCancel: i,
|
|
@@ -434,9 +484,9 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
434
484
|
(0, a.jsx)("div", {
|
|
435
485
|
className: "limit-upgrade-modal__icon-circle",
|
|
436
486
|
"aria-hidden": !0,
|
|
437
|
-
children:
|
|
487
|
+
children: ae
|
|
438
488
|
}),
|
|
439
|
-
|
|
489
|
+
C(s, "old"),
|
|
440
490
|
(0, a.jsx)("div", {
|
|
441
491
|
className: "limit-upgrade-modal__arrow-btn",
|
|
442
492
|
"aria-hidden": !0,
|
|
@@ -445,7 +495,7 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
445
495
|
className: "limit-upgrade-modal__arrow-icon"
|
|
446
496
|
})
|
|
447
497
|
}),
|
|
448
|
-
|
|
498
|
+
C(d, "new")
|
|
449
499
|
]
|
|
450
500
|
})
|
|
451
501
|
]
|
|
@@ -453,26 +503,26 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
453
503
|
(0, a.jsx)("hr", { className: "limit-upgrade-modal__divider" }),
|
|
454
504
|
(0, a.jsx)("div", {
|
|
455
505
|
className: v ? "limit-upgrade-modal__footer limit-upgrade-modal__footer--dual" : "limit-upgrade-modal__footer",
|
|
456
|
-
children:
|
|
506
|
+
children: o ? (0, a.jsxs)(a.Fragment, { children: [(0, a.jsx)(h.Button, {
|
|
457
507
|
className: "limit-upgrade-modal__cta-secondary",
|
|
458
|
-
onClick:
|
|
459
|
-
children:
|
|
508
|
+
onClick: o.onClick,
|
|
509
|
+
children: o.label
|
|
460
510
|
}), (0, a.jsx)(h.Button, {
|
|
461
511
|
type: "primary",
|
|
462
512
|
className: "limit-upgrade-modal__cta",
|
|
463
|
-
onClick:
|
|
513
|
+
onClick: c,
|
|
464
514
|
children: _
|
|
465
515
|
})] }) : (0, a.jsx)(h.Button, {
|
|
466
516
|
type: "primary",
|
|
467
517
|
className: "limit-upgrade-modal__cta",
|
|
468
|
-
onClick:
|
|
518
|
+
onClick: c,
|
|
469
519
|
children: _
|
|
470
520
|
})
|
|
471
521
|
})
|
|
472
522
|
]
|
|
473
523
|
})
|
|
474
524
|
});
|
|
475
|
-
},
|
|
525
|
+
}, H = {
|
|
476
526
|
email_10_30: {
|
|
477
527
|
id: "email_10_30",
|
|
478
528
|
titleKey: "You have used up the number of emails you can create on your current plan",
|
|
@@ -594,13 +644,13 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
594
644
|
debugLabelKey: "Limit modal: spam_check exhausted"
|
|
595
645
|
}
|
|
596
646
|
};
|
|
597
|
-
function
|
|
598
|
-
return
|
|
647
|
+
function Z(e) {
|
|
648
|
+
return H[e];
|
|
599
649
|
}
|
|
600
|
-
function
|
|
650
|
+
function V(e) {
|
|
601
651
|
return e === "infinity" ? "∞" : e;
|
|
602
652
|
}
|
|
603
|
-
var
|
|
653
|
+
var $ = {
|
|
604
654
|
ai: "ai_150_inf",
|
|
605
655
|
email_generate: "email_300_inf",
|
|
606
656
|
image_generate: "image_generate_exceeded",
|
|
@@ -609,153 +659,153 @@ __useblocks__.define("static/core/bf446743.js", [
|
|
|
609
659
|
image_check: "image_check_exceeded",
|
|
610
660
|
spam_check: "spam_check_exceeded"
|
|
611
661
|
};
|
|
612
|
-
function
|
|
662
|
+
function N(e) {
|
|
613
663
|
return !e || e.is_unlimited || e.total_limit <= 0 ? !1 : e.remaining <= 0 || e.used >= e.total_limit;
|
|
614
664
|
}
|
|
615
665
|
function S(e, i) {
|
|
616
|
-
return
|
|
617
|
-
presetId:
|
|
666
|
+
return N(i) ? {
|
|
667
|
+
presetId: $[e],
|
|
618
668
|
previousLimit: i?.total_limit ?? 0,
|
|
619
669
|
nextLimit: "infinity"
|
|
620
670
|
} : null;
|
|
621
671
|
}
|
|
622
|
-
function
|
|
672
|
+
function Q(e, i) {
|
|
623
673
|
return S(e, i);
|
|
624
674
|
}
|
|
625
|
-
function
|
|
675
|
+
function X(e) {
|
|
626
676
|
for (let i = e.length - 1; i >= 0; i--) {
|
|
627
677
|
const r = e[i];
|
|
628
678
|
if (typeof r == "string" && r) return r;
|
|
629
679
|
}
|
|
630
680
|
}
|
|
631
|
-
function
|
|
681
|
+
function J(e) {
|
|
632
682
|
for (let i = 0; i < e.length; i++) {
|
|
633
683
|
const r = e[i];
|
|
634
684
|
if (r instanceof Blob) return r;
|
|
635
685
|
}
|
|
636
686
|
}
|
|
637
|
-
function
|
|
687
|
+
function q(e, i) {
|
|
638
688
|
for (let r = e.length - 1; r >= 0; r--) {
|
|
639
689
|
const n = e[r];
|
|
640
690
|
if (typeof n == "string" && n && n !== i) return n;
|
|
641
691
|
}
|
|
642
692
|
}
|
|
643
|
-
var
|
|
644
|
-
const i =
|
|
645
|
-
|
|
646
|
-
}, []), d = (0, u.useCallback)((
|
|
647
|
-
|
|
648
|
-
})), [i,
|
|
693
|
+
var E = (0, u.createContext)(null), ee = (e) => e.includes("UPLOAD_IMAGE_") || e.includes("UPLOAD_BACKGROUND_"), te = ({ children: e }) => {
|
|
694
|
+
const i = m.useDispatch(), r = m.useSelector(k.selectActiveModal), [n, t] = (0, u.useState)(null), l = (0, u.useRef)(null), s = (0, u.useCallback)((o) => {
|
|
695
|
+
l.current?.(o), l.current = null;
|
|
696
|
+
}, []), d = (0, u.useCallback)((o) => (s(null), t(o), i(k.openModal(o.entryModal)), new Promise((g) => {
|
|
697
|
+
l.current = g;
|
|
698
|
+
})), [i, s]);
|
|
649
699
|
(0, u.useEffect)(() => {
|
|
650
|
-
|
|
651
|
-
}, [r,
|
|
652
|
-
const
|
|
700
|
+
ee(r) || (t(null), l.current && s(null));
|
|
701
|
+
}, [r, s]);
|
|
702
|
+
const c = (0, u.useMemo)(() => ({
|
|
653
703
|
request: n,
|
|
654
704
|
openImagePicker: d,
|
|
655
|
-
resolveImagePicker:
|
|
705
|
+
resolveImagePicker: s
|
|
656
706
|
}), [
|
|
657
707
|
n,
|
|
658
708
|
d,
|
|
659
|
-
|
|
709
|
+
s
|
|
660
710
|
]);
|
|
661
|
-
return (0, a.jsx)(
|
|
662
|
-
value:
|
|
711
|
+
return (0, a.jsx)(E.Provider, {
|
|
712
|
+
value: c,
|
|
663
713
|
children: e
|
|
664
714
|
});
|
|
665
|
-
},
|
|
666
|
-
const e = (0, u.useContext)(
|
|
715
|
+
}, ie = () => {
|
|
716
|
+
const e = (0, u.useContext)(E);
|
|
667
717
|
if (!e) throw new Error("useImagePicker must be used within ImagePickerProvider");
|
|
668
718
|
return e;
|
|
669
719
|
};
|
|
670
|
-
Object.defineProperty(
|
|
720
|
+
Object.defineProperty(p, "EmIcons", {
|
|
671
721
|
enumerable: !0,
|
|
672
722
|
get: function() {
|
|
673
723
|
return b;
|
|
674
724
|
}
|
|
675
|
-
}), Object.defineProperty(
|
|
725
|
+
}), Object.defineProperty(p, "ImagePickerProvider", {
|
|
676
726
|
enumerable: !0,
|
|
677
727
|
get: function() {
|
|
678
|
-
return
|
|
728
|
+
return te;
|
|
679
729
|
}
|
|
680
|
-
}), Object.defineProperty(
|
|
730
|
+
}), Object.defineProperty(p, "LIMIT_TYPE_TO_USAGE_CARD_ICON", {
|
|
681
731
|
enumerable: !0,
|
|
682
732
|
get: function() {
|
|
683
|
-
return
|
|
733
|
+
return I;
|
|
684
734
|
}
|
|
685
|
-
}), Object.defineProperty(
|
|
735
|
+
}), Object.defineProperty(p, "LimitUpgradeModal", {
|
|
686
736
|
enumerable: !0,
|
|
687
737
|
get: function() {
|
|
688
|
-
return
|
|
738
|
+
return W;
|
|
689
739
|
}
|
|
690
|
-
}), Object.defineProperty(
|
|
740
|
+
}), Object.defineProperty(p, "PlanUpgradePrompt", {
|
|
691
741
|
enumerable: !0,
|
|
692
742
|
get: function() {
|
|
693
|
-
return
|
|
743
|
+
return z;
|
|
694
744
|
}
|
|
695
|
-
}), Object.defineProperty(
|
|
745
|
+
}), Object.defineProperty(p, "getLimitUpgradePresetDefinition", {
|
|
696
746
|
enumerable: !0,
|
|
697
747
|
get: function() {
|
|
698
|
-
return
|
|
748
|
+
return Z;
|
|
699
749
|
}
|
|
700
|
-
}), Object.defineProperty(
|
|
750
|
+
}), Object.defineProperty(p, "getMyProjectRole", {
|
|
701
751
|
enumerable: !0,
|
|
702
752
|
get: function() {
|
|
703
753
|
return x;
|
|
704
754
|
}
|
|
705
|
-
}), Object.defineProperty(
|
|
755
|
+
}), Object.defineProperty(p, "isEditorLockedByPlan", {
|
|
706
756
|
enumerable: !0,
|
|
707
757
|
get: function() {
|
|
708
|
-
return
|
|
758
|
+
return j;
|
|
709
759
|
}
|
|
710
|
-
}), Object.defineProperty(
|
|
760
|
+
}), Object.defineProperty(p, "isLimitStatsBlockExhausted", {
|
|
711
761
|
enumerable: !0,
|
|
712
762
|
get: function() {
|
|
713
|
-
return
|
|
763
|
+
return N;
|
|
714
764
|
}
|
|
715
|
-
}), Object.defineProperty(
|
|
765
|
+
}), Object.defineProperty(p, "pickFileProxyBlobFromFireResults", {
|
|
716
766
|
enumerable: !0,
|
|
717
767
|
get: function() {
|
|
718
|
-
return
|
|
768
|
+
return J;
|
|
719
769
|
}
|
|
720
|
-
}), Object.defineProperty(
|
|
770
|
+
}), Object.defineProperty(p, "pickProxyUrlOverrideFromFireResults", {
|
|
721
771
|
enumerable: !0,
|
|
722
772
|
get: function() {
|
|
723
|
-
return
|
|
773
|
+
return q;
|
|
724
774
|
}
|
|
725
|
-
}), Object.defineProperty(
|
|
775
|
+
}), Object.defineProperty(p, "pickUploadImageUrlFromFireResults", {
|
|
726
776
|
enumerable: !0,
|
|
727
777
|
get: function() {
|
|
728
|
-
return
|
|
778
|
+
return X;
|
|
729
779
|
}
|
|
730
|
-
}), Object.defineProperty(
|
|
780
|
+
}), Object.defineProperty(p, "presetLimitDisplay", {
|
|
731
781
|
enumerable: !0,
|
|
732
782
|
get: function() {
|
|
733
|
-
return
|
|
783
|
+
return V;
|
|
734
784
|
}
|
|
735
|
-
}), Object.defineProperty(
|
|
785
|
+
}), Object.defineProperty(p, "resolveLimitActionPreflightExceeded", {
|
|
736
786
|
enumerable: !0,
|
|
737
787
|
get: function() {
|
|
738
788
|
return S;
|
|
739
789
|
}
|
|
740
|
-
}), Object.defineProperty(
|
|
790
|
+
}), Object.defineProperty(p, "resolveLimitActionPreflightExceededForType", {
|
|
741
791
|
enumerable: !0,
|
|
742
792
|
get: function() {
|
|
743
|
-
return
|
|
793
|
+
return Q;
|
|
744
794
|
}
|
|
745
|
-
}), Object.defineProperty(
|
|
795
|
+
}), Object.defineProperty(p, "sanitizeHtml", {
|
|
746
796
|
enumerable: !0,
|
|
747
797
|
get: function() {
|
|
748
798
|
return w;
|
|
749
799
|
}
|
|
750
|
-
}), Object.defineProperty(
|
|
800
|
+
}), Object.defineProperty(p, "useCookieManager", {
|
|
751
801
|
enumerable: !0,
|
|
752
802
|
get: function() {
|
|
753
803
|
return P;
|
|
754
804
|
}
|
|
755
|
-
}), Object.defineProperty(
|
|
805
|
+
}), Object.defineProperty(p, "useImagePicker", {
|
|
756
806
|
enumerable: !0,
|
|
757
807
|
get: function() {
|
|
758
|
-
return
|
|
808
|
+
return ie;
|
|
759
809
|
}
|
|
760
810
|
});
|
|
761
811
|
});
|