useblocks 1.1.53 → 1.1.56
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 -7
- package/runtime/THIRD_PARTY_LICENSES.txt +0 -235
- package/runtime/index.js +0 -2
- package/runtime/package.json +0 -6
- package/runtime/plugin-dev-manifest.json +0 -4
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{d1eb3c68.js → 12a9aa4e.js} +12892 -12866
- package/static/core/{b9f47840.js → 17d3ee0b.js} +8 -8
- package/static/core/{6895dd352.js → 195ca4a32.js} +15 -15
- package/static/core/{dc1f9e4f.js → 2569fac8.js} +26 -26
- package/static/core/{4ca527032.js → 26ddf93e2.js} +2 -2
- package/static/core/{c3058168.js → 289ba982.js} +334 -323
- package/static/core/{9929a348.js → 30c5fe5f.js} +90 -90
- package/static/core/{e93d55b92.js → 3af8f3592.js} +4 -4
- package/static/core/{542ea53f2.js → 4a27bba92.js} +8 -8
- package/static/core/4a5f1756.js +466 -0
- package/static/core/{5318562c.js → 4d493eba.js} +3 -3
- package/static/core/{ebd852b6.js → 4dadf572.js} +1019 -1032
- package/static/core/{e1d239ab.js → 5345bef8.js} +42 -42
- package/static/core/{27544e7e.js → 581ce428.js} +37 -19
- package/static/core/58c4b8d7.js +3150 -0
- package/static/core/{d8daf1142.js → 6156301b2.js} +3 -3
- package/static/core/{c3849484.js → 64bea1a9.js} +5 -5
- package/static/core/{ce4fc17f2.js → 680236f4.js} +1 -1
- package/static/core/{4b75d16c2.js → 687795b52.js} +4 -4
- package/static/core/{70407ac0.js → 72f86b2d.js} +3 -3
- package/static/core/{b77f0769.js → 8432f11e.js} +5 -5
- package/static/core/{31e98e6e.js → 87969347.js} +247 -250
- package/static/core/{f3cff4c9.js → 8a496b64.js} +158 -158
- package/static/core/{4e1b970f.js → 8ba13f332.js} +1 -1
- package/static/core/{75737a9d.js → 951903fb.js} +9096 -9074
- package/static/core/{bc7e3d2b.js → 988589a5.js} +10 -10
- package/static/core/{a95c02bb.js → a1355a35.js} +5 -5
- package/static/core/{7c6fb2162.js → a36c3ab62.js} +3 -3
- package/static/core/{e5e07f1d.js → a4c19e27.js} +13 -13
- package/static/core/{2da1d66b.js → abd3f34c.js} +5 -5
- package/static/core/{528ad9282.js → ae20f0992.js} +16 -16
- package/static/core/{ee0ddb51.js → b9bb2c5f.js} +6403 -4842
- package/static/core/bf446743.js +761 -0
- package/static/core/{f96d2049.js → d1a1d4902.js} +1 -1
- package/static/core/{5b48fd69.js → d8d6485e.js} +5 -5
- package/static/core/{59e92cc3.js → d9398296.js} +5 -5
- package/static/core/{139e4380.js → eb23332a.js} +3 -3
- package/static/core/{b408f33a.js → fa354fb5.js} +25 -25
- package/static/core/{1e5bf73c.js → ffee9a77.js} +7 -7
- package/static/esm/{d180c108.js → 3cde7cb6.js} +51 -70
- package/static/esm/{448d4bb0.js → 550bf3cb.js} +1 -1
- package/two_step_headless_plugin.html +1 -1
- package/{useblocks-core.2a5dade1.js → useblocks-core.1279854f.js} +6 -6
- package/useblocks-esm.js +352 -392
- package/useblocks.js +67 -152
- package/runtime/prop-types/index.js +0 -4
- package/runtime/react-router-dom/index.js +0 -2
- package/static/core/1995fb0a2.js +0 -602
- package/static/core/1f5e1fc9.js +0 -3097
- package/static/core/ce0410b1.js +0 -467
- package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
- package/static/runtime/prop-types-p_yYKrF7.js +0 -47
- /package/iframe/{iframe-eblock.2a5dade1.html → iframe-eblock.1279854f.html} +0 -0
- /package/iframe/{iframe.2a5dade1.html → iframe.1279854f.html} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/289ba982.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/bd36b180.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/b9bb2c5f.js",
|
|
7
|
+
"static/core/4d493eba.js",
|
|
8
8
|
"static/core/ec11f92f.js",
|
|
9
|
-
"static/core/
|
|
10
|
-
], function(mt, L,
|
|
11
|
-
const Z = mt("./bd36b180.js"), O = mt("./
|
|
9
|
+
"static/core/eb23332a.js"
|
|
10
|
+
], function(mt, L, Vp) {
|
|
11
|
+
const Z = mt("./bd36b180.js"), O = mt("./b9bb2c5f.js"), Me = mt("./4d493eba.js"), Ki = mt("./ec11f92f.js"), Kt = mt("./eb23332a.js");
|
|
12
12
|
var rs = class {
|
|
13
13
|
_plugins = new Map();
|
|
14
14
|
_listeners = new Map();
|
|
@@ -3382,7 +3382,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3382
3382
|
extraQuery: { url: encodeURIComponent(t) }
|
|
3383
3383
|
}));
|
|
3384
3384
|
} }) })
|
|
3385
|
-
}), { useGetFileQuery:
|
|
3385
|
+
}), { useGetFileQuery: Zp, useLazyGetFileQuery: js } = Rt, Nt = O.createApi({
|
|
3386
3386
|
reducerPath: "promoApi",
|
|
3387
3387
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
3388
3388
|
endpoints: (e) => ({
|
|
@@ -3394,7 +3394,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3394
3394
|
return O.getClient(r).promo.get_code_info_list({ code: t });
|
|
3395
3395
|
} })
|
|
3396
3396
|
})
|
|
3397
|
-
}), { useCheckPromoMutation:
|
|
3397
|
+
}), { useCheckPromoMutation: Yp, useGetPromoInfoQuery: Jp } = Nt, si = "LOCALES", it = O.createApi({
|
|
3398
3398
|
reducerPath: "localesApi",
|
|
3399
3399
|
tagTypes: [si],
|
|
3400
3400
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.useblocks.io/api/wp-json/translations/v1" }),
|
|
@@ -3429,7 +3429,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3429
3429
|
}]
|
|
3430
3430
|
})
|
|
3431
3431
|
})
|
|
3432
|
-
}), { useGetLocalesQuery:
|
|
3432
|
+
}), { useGetLocalesQuery: Xp, useGetLocaleQuery: Kp, useLazyGetLocaleQuery: Ds, useLazyGetLocalesQuery: Ls } = it, Mt = O.createApi({
|
|
3433
3433
|
reducerPath: "saveFileApi",
|
|
3434
3434
|
tagTypes: ["Images"],
|
|
3435
3435
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/wp-json/save-file/v1/" }),
|
|
@@ -3460,7 +3460,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3460
3460
|
id: n
|
|
3461
3461
|
}]
|
|
3462
3462
|
}) })
|
|
3463
|
-
}), { useGetEmailRawQuery:
|
|
3463
|
+
}), { useGetEmailRawQuery: ef } = It, Cn = "Optimise", qs = "usage_limit_exceeded", Hs = async (e, t, r) => {
|
|
3464
3464
|
const n = await O.fetchBaseQueryApp({ baseUrl: `${O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
3465
3465
|
if (n.error) {
|
|
3466
3466
|
let i = n.error;
|
|
@@ -3546,7 +3546,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3546
3546
|
method: "POST",
|
|
3547
3547
|
body: t
|
|
3548
3548
|
}) }) })
|
|
3549
|
-
}), { useValidateYandexTokenMutation:
|
|
3549
|
+
}), { useValidateYandexTokenMutation: tf } = nr, ar = O.createApi({
|
|
3550
3550
|
reducerPath: "elamaAuthApi",
|
|
3551
3551
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3552
3552
|
endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
|
|
@@ -3554,7 +3554,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3554
3554
|
method: "POST",
|
|
3555
3555
|
body: t
|
|
3556
3556
|
}) }) })
|
|
3557
|
-
}), { useValidateElamaCodeMutation:
|
|
3557
|
+
}), { useValidateElamaCodeMutation: rf } = ar, or = O.createApi({
|
|
3558
3558
|
reducerPath: "googleAuthApi",
|
|
3559
3559
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.useblocks.io/api/v2" }),
|
|
3560
3560
|
endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
|
|
@@ -3562,7 +3562,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3562
3562
|
method: "POST",
|
|
3563
3563
|
body: t
|
|
3564
3564
|
}) }) })
|
|
3565
|
-
}), { useValidateGoogleTokenMutation:
|
|
3565
|
+
}), { useValidateGoogleTokenMutation: nf } = or, sr = O.createApi({
|
|
3566
3566
|
reducerPath: "webHookApi",
|
|
3567
3567
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
3568
3568
|
endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
|
|
@@ -4344,7 +4344,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4344
4344
|
body: t
|
|
4345
4345
|
}) })
|
|
4346
4346
|
})
|
|
4347
|
-
}), { useGenerateIdForTaskMutation:
|
|
4347
|
+
}), { useGenerateIdForTaskMutation: af, useGetGeneratedContentQuery: of, useLazyClearAiChatQuery: Il, useLazyGetGeneratedContentQuery: jl, useGetAiGenerateStatusMutation: Dl } = Sr, Rn = async (e) => {
|
|
4348
4348
|
const t = await e.text();
|
|
4349
4349
|
let r = t;
|
|
4350
4350
|
try {
|
|
@@ -4377,7 +4377,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4377
4377
|
getRequest: e.mutation({ query: (t) => Fl("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
4378
4378
|
getInvoiceRequest: e.mutation({ query: (t) => Ll("https://webhook.latenode.com/5868/prod/5c07527e-9d53-467a-a148-87220d46e9ae", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
4379
4379
|
})
|
|
4380
|
-
}), { useGetRequestMutation:
|
|
4380
|
+
}), { useGetRequestMutation: sf, useGetInvoiceRequestMutation: Ul } = Ar, zl = async (e, t, r) => {
|
|
4381
4381
|
try {
|
|
4382
4382
|
const { notification: n, ...i } = e, a = await O.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(i, t, r);
|
|
4383
4383
|
if (a.error) throw new Error();
|
|
@@ -4472,7 +4472,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4472
4472
|
endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
|
|
4473
4473
|
return O.getClient(r).userToProject.add_user_create(t, { type: O.ContentType$1.FormData });
|
|
4474
4474
|
} }) })
|
|
4475
|
-
}), { useAddUserToProjectMutation:
|
|
4475
|
+
}), { useAddUserToProjectMutation: lf } = Lt, Or = O.createApi({
|
|
4476
4476
|
reducerPath: "confirmationMailApi",
|
|
4477
4477
|
baseQuery: O.fetchBaseQuery({
|
|
4478
4478
|
baseUrl: "https://px0.useblocks.io/",
|
|
@@ -4483,11 +4483,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4483
4483
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
4484
4484
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4485
4485
|
endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/38815aec-cb5d-4b40-8dcb-75e7453573a0?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4486
|
-
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery:
|
|
4486
|
+
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery: cf } = Pr, Rr = O.createApi({
|
|
4487
4487
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
4488
4488
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.useblocks.io/" }),
|
|
4489
4489
|
endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/7ac13d46-e4af-4dea-ab21-aab55415575b?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4490
|
-
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery:
|
|
4490
|
+
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery: uf } = Rr, Nr = O.createApi({
|
|
4491
4491
|
reducerPath: "authApi",
|
|
4492
4492
|
baseQuery: O.fetchBaseQueryApp({
|
|
4493
4493
|
baseUrl: "https://app.useblocks.io/api/v2",
|
|
@@ -4536,7 +4536,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4536
4536
|
body: t
|
|
4537
4537
|
}) })
|
|
4538
4538
|
})
|
|
4539
|
-
}), { useLoginMutation:
|
|
4539
|
+
}), { useLoginMutation: df, useRegisterMutation: pf, useRefreshTokenMutation: ff, useLogoutMutation: Jl, useGetUserQuery: hf, useLazyGetUserQuery: mf, useChangePasswordMutation: Xl, useResetPasswordMutation: gf, useResetPasswordConfirmMutation: vf } = Nr, Kl = "https://app.useblocks.io/api/v2", Ft = "Integrations", Mr = "Webhook", Ir = "TestRecipients", ui = "Storage", Ut = O.createApi({
|
|
4540
4540
|
reducerPath: "projectSettingsV2Api",
|
|
4541
4541
|
tagTypes: [
|
|
4542
4542
|
Ft,
|
|
@@ -4651,7 +4651,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4651
4651
|
}]
|
|
4652
4652
|
})
|
|
4653
4653
|
})
|
|
4654
|
-
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation:
|
|
4654
|
+
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation: bf, useDeleteProjectIntegrationMutation: _f, useGetProjectWebhookQuery: nc, usePutProjectWebhookMutation: yf, useGetProjectTestRecipientsQuery: ac, usePutProjectTestRecipientsMutation: oc } = Ut, Mn = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
4655
4655
|
<html>
|
|
4656
4656
|
<head>
|
|
4657
4657
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -4795,6 +4795,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4795
4795
|
setNewEmailProject: (e, t) => {
|
|
4796
4796
|
e.email.project = t.payload.id, t.payload.title != null && (e.email.project_title = t.payload.title);
|
|
4797
4797
|
},
|
|
4798
|
+
promoteNewEmailAfterSave: (e, { payload: t }) => {
|
|
4799
|
+
e.email.id = String(t.id), e.email.isNew = !1, t.modified != null && (e.email.modified = t.modified), t.lock != null && (e.email.lock = t.lock);
|
|
4800
|
+
},
|
|
4798
4801
|
resetNewEmailSlice: (e) => ({
|
|
4799
4802
|
...zt,
|
|
4800
4803
|
email: {
|
|
@@ -4809,16 +4812,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4809
4812
|
e.addMatcher(O.projectsApi.endpoints.getProject.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
4810
4813
|
const i = String(n.arg.originalArgs), a = t.email.project;
|
|
4811
4814
|
a != null && String(a) === i && String(r.id) === i && (t.email.project_title = r.name ?? "");
|
|
4812
|
-
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t) =>
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
...zt
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4815
|
+
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
4816
|
+
const n = t.hasChanged && t.email.renderGuid != null && r.renderGuid != null && t.email.renderGuid === r.renderGuid, i = t.hasChanged && t.email.id != null && r.id != null && String(t.email.id) === String(r.id);
|
|
4817
|
+
if (!(n || i)) return {
|
|
4818
|
+
...zt,
|
|
4819
|
+
email: {
|
|
4820
|
+
...zt.email,
|
|
4821
|
+
project: t.email.project,
|
|
4822
|
+
project_title: t.email.project_title
|
|
4823
|
+
}
|
|
4824
|
+
};
|
|
4825
|
+
});
|
|
4820
4826
|
}
|
|
4821
|
-
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles:
|
|
4827
|
+
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles: wf, setNewEmailTags: mc, setNewEmailUtmSource: gc, setNewEmailUtmMedium: vc, setNewEmailUtmCampaign: bc, setNewEmailUtmContent: _c, setNewEmailUtmTerm: yc, resetNewEmailSlice: wc, setNewIsInited: Ec, setNewEmailIsAmp: xc, setNewEmailMeta: Sc, setNewEmailProject: Ac, promoteNewEmailAfterSave: Cc } = di.actions, kc = (e) => e[jr].email, Tc = (e) => e[jr].appliedShowToken, Oc = (e) => e[jr].hasChanged, In = `<tr em="block" class="empty-structure">
|
|
4822
4828
|
<td align="center">
|
|
4823
4829
|
<!--[if (gte mso 9)|(IE)]>
|
|
4824
4830
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4897,7 +4903,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4897
4903
|
}
|
|
4898
4904
|
}));
|
|
4899
4905
|
}
|
|
4900
|
-
}), { setNewBlockAll:
|
|
4906
|
+
}), { setNewBlockAll: Ef, setNewBlockTitle: xf, setNewBlockDescription: Pc, setNewBlockHtml: Sf, setNewBlockTags: Rc, resetNewBlockSlice: Nc, setBlockIsAmp: Af } = pi.actions, Mc = (e) => e[jn].hasChanged, Dn = O.createState({
|
|
4901
4907
|
emailsTotal: 0,
|
|
4902
4908
|
elementsList: [],
|
|
4903
4909
|
emailsTrashTotal: 0,
|
|
@@ -4948,7 +4954,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4948
4954
|
}) : n);
|
|
4949
4955
|
});
|
|
4950
4956
|
}
|
|
4951
|
-
}), { resetPagesAndTotal:
|
|
4957
|
+
}), { resetPagesAndTotal: Ic, toggleElementsView: jc, resetElementsList: Dc, removeEmailFromList: Lc } = fi.actions, Fc = (e) => e[nt].emailsTotal, Uc = (e) => e[nt].elementsView, zc = (e) => e[nt].elementsList, Bc = (e) => e[nt].customFolders, qc = (e) => e[nt].emailsTrashTotal, Hc = (e) => e[nt].elementsTrashList, Ln = O.createState({
|
|
4952
4958
|
blocksTotal: null,
|
|
4953
4959
|
blocksTotalPages: null,
|
|
4954
4960
|
parentEmailBlocksTotal: null,
|
|
@@ -5006,7 +5012,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5006
5012
|
}) : n);
|
|
5007
5013
|
});
|
|
5008
5014
|
}
|
|
5009
|
-
}), { resetPagesAndTotal:
|
|
5015
|
+
}), { resetPagesAndTotal: Cf, resetElementsList: kf, toggleElementsView: Tf, removeBlockFromList: Of } = hi.actions, $c = (e) => e[Dr].blocksTotal, Wc = (e) => e[Dr].templateBlocksTotal, Qc = (e) => e[Dr].parentEmailBlocksTotal, Fn = O.createState({
|
|
5010
5016
|
historyData: [],
|
|
5011
5017
|
elementHistoryTotalPages: 1
|
|
5012
5018
|
}), mi = "revisionHistorySlice", Lr = O.createSlice({
|
|
@@ -5025,7 +5031,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5025
5031
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
5026
5032
|
});
|
|
5027
5033
|
}
|
|
5028
|
-
}), { resetElementHistorySlice:
|
|
5034
|
+
}), { resetElementHistorySlice: Vc } = Lr.actions, { setElementHistory: Pf } = Lr.actions, Gc = (e) => e[mi].elementHistoryTotalPages, Zc = (e) => e[mi].historyData, Un = O.combineReducers({
|
|
5029
5035
|
[O.di.reducerPath]: O.di.reducer,
|
|
5030
5036
|
[Pt.reducerPath]: Pt.reducer,
|
|
5031
5037
|
[O.userSlice.name]: O.userSlice.reducer,
|
|
@@ -5090,7 +5096,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5090
5096
|
[Pr.reducerPath]: Pr.reducer,
|
|
5091
5097
|
[Nr.reducerPath]: Nr.reducer,
|
|
5092
5098
|
[Ut.reducerPath]: Ut.reducer
|
|
5093
|
-
}),
|
|
5099
|
+
}), Yc = (e, t) => t.type === "authorizationApi/resetApiState" ? Un({
|
|
5094
5100
|
[O.reducerPath]: e[O.reducerPath],
|
|
5095
5101
|
[it.reducerPath]: e[it.reducerPath]
|
|
5096
5102
|
}, t) : Un(e, t), zn = [
|
|
@@ -5144,14 +5150,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5144
5150
|
Rr,
|
|
5145
5151
|
Pr
|
|
5146
5152
|
];
|
|
5147
|
-
function
|
|
5153
|
+
function Jc(e) {
|
|
5148
5154
|
let t = {};
|
|
5149
5155
|
if (e) {
|
|
5150
5156
|
const n = O.createIdentifier$1();
|
|
5151
5157
|
O.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
5152
5158
|
}
|
|
5153
5159
|
const r = O.configureStore({
|
|
5154
|
-
reducer:
|
|
5160
|
+
reducer: Yc,
|
|
5155
5161
|
middleware: (n) => n({ serializableCheck: !1 }).concat(zn.map((i) => i.middleware)),
|
|
5156
5162
|
preloadedState: t
|
|
5157
5163
|
});
|
|
@@ -5171,13 +5177,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5171
5177
|
return O.getClient(r).jwtAuth.token_validate_create({ type: O.ContentType$1.Json });
|
|
5172
5178
|
} })
|
|
5173
5179
|
})
|
|
5174
|
-
}), { useTokenCreateMutation:
|
|
5180
|
+
}), { useTokenCreateMutation: Rf, useTokenValidateMutation: Nf } = Fr;
|
|
5175
5181
|
function Bn() {
|
|
5176
5182
|
const e = new Map();
|
|
5177
5183
|
for (const t of zn) e.set(t.reducerPath, t);
|
|
5178
5184
|
return e.set(Fr.reducerPath, Fr), [...e.values()];
|
|
5179
5185
|
}
|
|
5180
|
-
var
|
|
5186
|
+
var Xc = {
|
|
5181
5187
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5182
5188
|
imageApi: new Set([
|
|
5183
5189
|
"sendAiImageRequest",
|
|
@@ -5185,27 +5191,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5185
5191
|
"getAiImageSSE"
|
|
5186
5192
|
])
|
|
5187
5193
|
};
|
|
5188
|
-
function
|
|
5194
|
+
function Kc(e) {
|
|
5189
5195
|
return e.getState().configSlice?.config;
|
|
5190
5196
|
}
|
|
5191
|
-
function
|
|
5197
|
+
function eu(e) {
|
|
5192
5198
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5193
5199
|
}
|
|
5194
|
-
function
|
|
5195
|
-
return Kc(
|
|
5200
|
+
function tu(e) {
|
|
5201
|
+
return eu(Kc(e));
|
|
5196
5202
|
}
|
|
5197
|
-
function
|
|
5198
|
-
return
|
|
5203
|
+
function ru(e, t, r, n) {
|
|
5204
|
+
return Xc[t]?.has(r) ? (i) => tu(e) ? (a) => a(i) : n(i) : n;
|
|
5199
5205
|
}
|
|
5200
|
-
function
|
|
5206
|
+
function iu(e) {
|
|
5201
5207
|
const t = O.getOverrideApiFn(e);
|
|
5202
5208
|
return ((r, n) => {
|
|
5203
5209
|
if (!r || typeof r.reducerPath != "string") return new O.Disposable();
|
|
5204
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ?
|
|
5210
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? ru(e, r.reducerPath, a, s) : s]));
|
|
5205
5211
|
return t(r, i);
|
|
5206
5212
|
});
|
|
5207
5213
|
}
|
|
5208
|
-
function
|
|
5214
|
+
function nu(e) {
|
|
5209
5215
|
const t = `blocks_${O.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5210
5216
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
5211
5217
|
window[t] = function(a) {
|
|
@@ -5216,37 +5222,37 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5216
5222
|
r.remove(), delete window[t];
|
|
5217
5223
|
});
|
|
5218
5224
|
}
|
|
5219
|
-
function
|
|
5225
|
+
function au(e) {
|
|
5220
5226
|
if (!e) return;
|
|
5221
5227
|
const t = Me.decodeJwt(e)?.data?.scope;
|
|
5222
5228
|
return (Array.isArray(t) ? t.flatMap((r) => String(r).split(/\s+/)) : String(t || "").split(/\s+/)).find((r) => /^project_\d+$/.test(r))?.replace(/^project_/, "") || void 0;
|
|
5223
5229
|
}
|
|
5224
|
-
async function
|
|
5230
|
+
async function ou(e) {
|
|
5225
5231
|
const t = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), r = t ? void 0 : await O.di.getInstanceAsync(e, O.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
5226
5232
|
n && e.dispatch(O.setProject(xn(n)));
|
|
5227
5233
|
}
|
|
5228
|
-
async function
|
|
5234
|
+
async function su(e, t) {
|
|
5229
5235
|
try {
|
|
5230
5236
|
const r = function(s) {
|
|
5231
5237
|
const l = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), u = l ? Sn(l, s) : s;
|
|
5232
5238
|
O.di.injectFactory(e, O.APP_ID, async () => u);
|
|
5233
|
-
}, n =
|
|
5239
|
+
}, n = iu(e), i = await (await En.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5234
5240
|
if (typeof i != "string") return;
|
|
5235
|
-
const a = await
|
|
5241
|
+
const a = await nu(i);
|
|
5236
5242
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5237
5243
|
a.execute(r, n, Bn());
|
|
5238
5244
|
} catch {}
|
|
5239
5245
|
}
|
|
5240
|
-
function
|
|
5246
|
+
function lu(e, t) {
|
|
5241
5247
|
const r = Object.keys(t.endpoints);
|
|
5242
5248
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, O.standaloneTerminalGuardExecutor])));
|
|
5243
5249
|
}
|
|
5244
|
-
function
|
|
5250
|
+
function cu(e) {
|
|
5245
5251
|
O.markStandaloneMockGuardInstalled(e);
|
|
5246
5252
|
const t = O.getOverrideApiFn(e);
|
|
5247
|
-
for (const r of Bn())
|
|
5253
|
+
for (const r of Bn()) lu(t, r);
|
|
5248
5254
|
}
|
|
5249
|
-
var
|
|
5255
|
+
var uu = class extends O.Disposable {
|
|
5250
5256
|
_event;
|
|
5251
5257
|
_listener;
|
|
5252
5258
|
_disposeEvent;
|
|
@@ -5260,7 +5266,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5260
5266
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5261
5267
|
}
|
|
5262
5268
|
};
|
|
5263
|
-
function
|
|
5269
|
+
function du(e, t, r) {
|
|
5264
5270
|
const n = O.snapshot(e);
|
|
5265
5271
|
return (i, a, s) => {
|
|
5266
5272
|
const l = n(async (u) => {
|
|
@@ -5286,7 +5292,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5286
5292
|
"SUBJECT",
|
|
5287
5293
|
"INITED"
|
|
5288
5294
|
], vi = 2e4, Hn = vi + qn.reduce((e, t) => e + gi[t], 0) + 3e3;
|
|
5289
|
-
function
|
|
5295
|
+
function fu(e) {
|
|
5290
5296
|
return qn.reduce((t, r) => t + $n(r, e), 0);
|
|
5291
5297
|
}
|
|
5292
5298
|
function $n(e, t) {
|
|
@@ -5301,12 +5307,12 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5301
5307
|
const t = e?.sandboxReady;
|
|
5302
5308
|
return typeof t == "number" && t > 0 ? t : vi;
|
|
5303
5309
|
}
|
|
5304
|
-
var
|
|
5310
|
+
var hu = class extends Error {
|
|
5305
5311
|
showId;
|
|
5306
5312
|
constructor(e, t) {
|
|
5307
5313
|
super(`[useblocks] show() timed out after ${t}ms waiting for editor init (showId=${e}). Check earlier console errors: wrong host-plugin publicPath (chunks return HTML), mount element removed without destroy(), or sandbox init never completed. Search for [show-pipeline] and [AMD] messages.`), this.name = "ShowPipelineTimeoutError", this.showId = e;
|
|
5308
5314
|
}
|
|
5309
|
-
},
|
|
5315
|
+
}, mu = class {
|
|
5310
5316
|
_activeRequest = null;
|
|
5311
5317
|
_pending = new Map();
|
|
5312
5318
|
_listeners = new Set();
|
|
@@ -5322,7 +5328,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5322
5328
|
return this._rejectPending(Be("Superseded by newer show()")), r.aborted ? Promise.reject(Be(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
5323
5329
|
const a = setTimeout(() => {
|
|
5324
5330
|
this._settle(e.showId, () => {
|
|
5325
|
-
i(new
|
|
5331
|
+
i(new hu(e.showId, t));
|
|
5326
5332
|
});
|
|
5327
5333
|
}, t);
|
|
5328
5334
|
a.unref?.();
|
|
@@ -5370,7 +5376,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5370
5376
|
this._pending.clear();
|
|
5371
5377
|
}
|
|
5372
5378
|
};
|
|
5373
|
-
function
|
|
5379
|
+
function gu(e, t) {
|
|
5374
5380
|
return {
|
|
5375
5381
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5376
5382
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5380,16 +5386,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5380
5386
|
} : e?.sandbox
|
|
5381
5387
|
};
|
|
5382
5388
|
}
|
|
5383
|
-
function
|
|
5389
|
+
function vu(e) {
|
|
5384
5390
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5385
5391
|
Wn(e);
|
|
5386
|
-
Qn(e) +
|
|
5392
|
+
Qn(e) + fu(e.sandbox);
|
|
5387
5393
|
}
|
|
5388
5394
|
var Vn = class {
|
|
5389
5395
|
_controller = new AbortController();
|
|
5390
5396
|
_externalSignalDisposable = new O.Disposable();
|
|
5391
5397
|
_sessionChangeListeners = new Set();
|
|
5392
|
-
_showRegistry = new
|
|
5398
|
+
_showRegistry = new mu();
|
|
5393
5399
|
_timeouts;
|
|
5394
5400
|
_generation = 0;
|
|
5395
5401
|
_sessionStarted = !1;
|
|
@@ -5438,7 +5444,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5438
5444
|
};
|
|
5439
5445
|
}
|
|
5440
5446
|
configure(e) {
|
|
5441
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5447
|
+
e.timeouts !== void 0 && (this._timeouts = gu(this._timeouts, e.timeouts), vu(this._timeouts));
|
|
5442
5448
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5443
5449
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5444
5450
|
}
|
|
@@ -5465,18 +5471,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5465
5471
|
e.removeEventListener("abort", t);
|
|
5466
5472
|
});
|
|
5467
5473
|
}
|
|
5468
|
-
},
|
|
5474
|
+
}, bu = (() => {
|
|
5469
5475
|
const e = new Vn();
|
|
5470
5476
|
return e.configure({}), e;
|
|
5471
5477
|
})();
|
|
5472
|
-
function
|
|
5478
|
+
function _u(e = Hn) {
|
|
5473
5479
|
return e + 3e3;
|
|
5474
5480
|
}
|
|
5475
5481
|
var Gn = "PluginRegistry";
|
|
5476
|
-
function
|
|
5482
|
+
function yu(e = O.resolveContainer()) {
|
|
5477
5483
|
return e.getOrCreateInstance(Gn, () => new rs());
|
|
5478
5484
|
}
|
|
5479
|
-
var
|
|
5485
|
+
var wu = new is(() => yu()), Zn = {
|
|
5480
5486
|
"application/prs.cww": ["cww"],
|
|
5481
5487
|
"application/prs.xsf+xml": ["xsf"],
|
|
5482
5488
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6787,7 +6793,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6787
6793
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
6788
6794
|
if (typeof t == "function" ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6789
6795
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
6790
|
-
}, gt, qt, at,
|
|
6796
|
+
}, gt, qt, at, Eu = class {
|
|
6791
6797
|
constructor(...e) {
|
|
6792
6798
|
gt.set(this, new Map()), qt.set(this, new Map()), at.set(this, new Map());
|
|
6793
6799
|
for (const t of e) this.define(t);
|
|
@@ -6833,7 +6839,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6833
6839
|
}
|
|
6834
6840
|
};
|
|
6835
6841
|
gt = new WeakMap(), qt = new WeakMap(), at = new WeakMap();
|
|
6836
|
-
var bi = new
|
|
6842
|
+
var bi = new Eu(Yn, Zn)._freeze();
|
|
6837
6843
|
function Jn(e) {
|
|
6838
6844
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6839
6845
|
}
|
|
@@ -6867,22 +6873,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6867
6873
|
}
|
|
6868
6874
|
return r === 0;
|
|
6869
6875
|
}
|
|
6870
|
-
function
|
|
6876
|
+
function xu(e) {
|
|
6871
6877
|
return (t, r, n) => Ur(t) ? e(t, r, n) : !1;
|
|
6872
6878
|
}
|
|
6873
|
-
function
|
|
6879
|
+
function Su(e) {
|
|
6874
6880
|
return (t) => Ur(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6875
6881
|
}
|
|
6876
|
-
function
|
|
6882
|
+
function Au(e) {
|
|
6877
6883
|
return (t, r, n) => Ur(t) ? Jn(t) ? e(t, r, n) : t : !1;
|
|
6878
6884
|
}
|
|
6879
|
-
function
|
|
6885
|
+
function Cu(e) {
|
|
6880
6886
|
return (t) => {
|
|
6881
6887
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6882
6888
|
return Ur(r) ? Jn(r) ? e(t) : t : !1;
|
|
6883
6889
|
};
|
|
6884
6890
|
}
|
|
6885
|
-
function
|
|
6891
|
+
function ku(e) {
|
|
6886
6892
|
const t = /[<>&]/g;
|
|
6887
6893
|
for (; t.exec(e) !== null;) return !0;
|
|
6888
6894
|
return !1;
|
|
@@ -6895,7 +6901,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6895
6901
|
}
|
|
6896
6902
|
return !0;
|
|
6897
6903
|
}
|
|
6898
|
-
function
|
|
6904
|
+
function Tu(e) {
|
|
6899
6905
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
6900
6906
|
crypto.getRandomValues(n);
|
|
6901
6907
|
let i = "";
|
|
@@ -6905,34 +6911,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6905
6911
|
}
|
|
6906
6912
|
return i;
|
|
6907
6913
|
}
|
|
6908
|
-
var
|
|
6914
|
+
var Ou = 8, Pu = class {
|
|
6909
6915
|
_byKey = Object.create(null);
|
|
6910
6916
|
_byValue = Object.create(null);
|
|
6911
6917
|
getOrCreateByKey(e) {
|
|
6912
6918
|
let t = this._byKey[e];
|
|
6913
|
-
return t === void 0 && (t =
|
|
6919
|
+
return t === void 0 && (t = Tu(Ou), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6914
6920
|
}
|
|
6915
6921
|
getByValue(e) {
|
|
6916
6922
|
return this._byValue[e];
|
|
6917
6923
|
}
|
|
6918
|
-
}, zr = new
|
|
6924
|
+
}, zr = new Pu();
|
|
6919
6925
|
function Xn(e, t) {
|
|
6920
6926
|
return t !== void 0 && !_i(e, t) ? `%|{${zr.getOrCreateByKey(e)}}|%` : e;
|
|
6921
6927
|
}
|
|
6922
|
-
function
|
|
6928
|
+
function Ru(e) {
|
|
6923
6929
|
const t = zr.getByValue(e.slice(3, e.length - 3));
|
|
6924
6930
|
return t === void 0 ? e : t;
|
|
6925
6931
|
}
|
|
6926
6932
|
function we(e, t, r) {
|
|
6927
6933
|
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6928
6934
|
}
|
|
6929
|
-
function
|
|
6935
|
+
function Nu(e) {
|
|
6930
6936
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6931
6937
|
}
|
|
6932
6938
|
function be(e) {
|
|
6933
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6939
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Nu(e.slice(4, -3)) : e;
|
|
6934
6940
|
}
|
|
6935
|
-
function
|
|
6941
|
+
function Mu(e) {
|
|
6936
6942
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6937
6943
|
let n = e;
|
|
6938
6944
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6940,14 +6946,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6940
6946
|
const a = n.trim();
|
|
6941
6947
|
return t.test(a) || r.test(a);
|
|
6942
6948
|
}
|
|
6943
|
-
function
|
|
6944
|
-
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : r ||
|
|
6949
|
+
function Iu(e, t, r) {
|
|
6950
|
+
return t !== void 0 ? _i(e, t) ? e : `%|{${zr.getOrCreateByKey(e)}}|%` : r || ku(e) || Mu(e) ? `<!--${e}-->` : e;
|
|
6945
6951
|
}
|
|
6946
|
-
var ot =
|
|
6947
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6948
|
-
}, yi = "bare",
|
|
6949
|
-
function
|
|
6950
|
-
return e ?
|
|
6952
|
+
var ot = xu(we), st = Su(be), ju = Au(we), Du = Cu(be), Kn = (e) => {
|
|
6953
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Ru), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Xn, !0), e.escape("{{", "}}", Xn, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Iu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", ot).escape("#elseif", ")", ot).escape("#else", "", we).escape("#foreach", ")", ot).escape("#macro", ")", ot).escape("#set", ")", ju, !0).escape("#parse", ")", ot).escape("#include", ")", ot).escape("#evaluate", ")", ot).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", st).unescape("<!--#if", "-->", st).unescape("<!--#elseif", "-->", st).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", st).unescape("<!--#parse", "-->", st).unescape("<!--#include", "-->", st).unescape("<!--#evaluate", "-->", st).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", Du, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
6954
|
+
}, yi = "bare", Lu = new Map();
|
|
6955
|
+
function Fu(e) {
|
|
6956
|
+
return e ? Lu.get(e) ?? yi : yi;
|
|
6951
6957
|
}
|
|
6952
6958
|
var ea = [
|
|
6953
6959
|
"brace-percent",
|
|
@@ -6967,7 +6973,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6967
6973
|
function wi(e) {
|
|
6968
6974
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6969
6975
|
}
|
|
6970
|
-
function
|
|
6976
|
+
function Uu(e, t = (r) => {}) {
|
|
6971
6977
|
const r = {
|
|
6972
6978
|
output: {},
|
|
6973
6979
|
editor: {}
|
|
@@ -7055,7 +7061,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7055
7061
|
}
|
|
7056
7062
|
return s.sort((b, E) => b.range.start - E.range.start || b.range.end - E.range.end);
|
|
7057
7063
|
}
|
|
7058
|
-
function
|
|
7064
|
+
function zu(e, t) {
|
|
7059
7065
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: E, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7060
7066
|
value: b,
|
|
7061
7067
|
mapFn: u,
|
|
@@ -7076,7 +7082,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7076
7082
|
function Ei(e, t, r, n, i = !1) {
|
|
7077
7083
|
const a = [];
|
|
7078
7084
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7079
|
-
const s =
|
|
7085
|
+
const s = zu(e, t), l = {
|
|
7080
7086
|
insideTag: !1,
|
|
7081
7087
|
insideAttributeValue: !1,
|
|
7082
7088
|
attributeQuoteChar: void 0,
|
|
@@ -7129,7 +7135,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7129
7135
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
7130
7136
|
return n;
|
|
7131
7137
|
}
|
|
7132
|
-
var
|
|
7138
|
+
var Bu = class {
|
|
7133
7139
|
_disposables = [];
|
|
7134
7140
|
_escapes = [];
|
|
7135
7141
|
_unescapes = [];
|
|
@@ -7197,7 +7203,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7197
7203
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7198
7204
|
}
|
|
7199
7205
|
getRevertMappings(e, t, r) {
|
|
7200
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
7206
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Fu(i) === "html-comment";
|
|
7201
7207
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
7202
7208
|
}
|
|
7203
7209
|
getDetectedMappings(e, t, r) {
|
|
@@ -7225,7 +7231,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7225
7231
|
}
|
|
7226
7232
|
}, ke = (function(e) {
|
|
7227
7233
|
return e[e.HTML = 0] = "HTML", e[e.ELEMENT = 1] = "ELEMENT", e[e.ROOT = 2] = "ROOT", e[e.COMMENT = 3] = "COMMENT", e[e.DOCTYPE = 4] = "DOCTYPE", e[e.ADVANCED = 5] = "ADVANCED", e;
|
|
7228
|
-
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
7234
|
+
})({}), qr = (e) => e.type === 0 ? e.start - 1 : e.start, qu = (e) => e.type === 0 ? e.end + 1 : e.end, Ke = class ts {
|
|
7229
7235
|
start;
|
|
7230
7236
|
end;
|
|
7231
7237
|
children;
|
|
@@ -7273,7 +7279,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7273
7279
|
const r = aa(this.children, (n) => t <= qr(n)) - 1;
|
|
7274
7280
|
if (r >= 0) {
|
|
7275
7281
|
const n = this.children[r];
|
|
7276
|
-
if (t >= qr(n) && t <=
|
|
7282
|
+
if (t >= qr(n) && t <= qu(n)) return n.findNodeAt(t);
|
|
7277
7283
|
}
|
|
7278
7284
|
return this;
|
|
7279
7285
|
}
|
|
@@ -7307,7 +7313,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7307
7313
|
const i = this.start - r, a = new ts(r, this.end - i, [], t);
|
|
7308
7314
|
return a.children = n ? this.children.map((s) => s.clone(a, s.start - i)) : [], a.attributes = { ...this.attributes }, a.closed = this.closed, a.content = this.content, a.startTagEnd = this.startTagEnd, a.endTagStart = this.endTagStart, a.tag = this.tag, a.type = this.type, a;
|
|
7309
7315
|
}
|
|
7310
|
-
},
|
|
7316
|
+
}, Hu = new Set([
|
|
7311
7317
|
"area",
|
|
7312
7318
|
"br",
|
|
7313
7319
|
"col",
|
|
@@ -7320,20 +7326,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7320
7326
|
"param",
|
|
7321
7327
|
"vk-snippet-end"
|
|
7322
7328
|
]);
|
|
7323
|
-
function
|
|
7329
|
+
function $u(e) {
|
|
7324
7330
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7325
7331
|
}
|
|
7326
7332
|
var na = Object.create(null);
|
|
7327
|
-
function
|
|
7333
|
+
function Wu(e, t) {
|
|
7328
7334
|
const r = na[e] || (na[e] = Object.create(null));
|
|
7329
7335
|
let n = r[t];
|
|
7330
7336
|
if (typeof n != "boolean") {
|
|
7331
|
-
const i = document.createElement(e)[
|
|
7337
|
+
const i = document.createElement(e)[$u(t)];
|
|
7332
7338
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7333
7339
|
}
|
|
7334
7340
|
return n;
|
|
7335
7341
|
}
|
|
7336
|
-
function
|
|
7342
|
+
function Qu(e) {
|
|
7337
7343
|
const t = e.tag?.toLowerCase();
|
|
7338
7344
|
let r = "";
|
|
7339
7345
|
if (t) {
|
|
@@ -7342,15 +7348,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7342
7348
|
const i = Object.keys(n);
|
|
7343
7349
|
for (const a of i) {
|
|
7344
7350
|
const s = n[a] === null ? "" : n[a];
|
|
7345
|
-
typeof s == "string" && (r += s === "" && a !== "em" &&
|
|
7351
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !Wu(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7346
7352
|
}
|
|
7347
7353
|
}
|
|
7348
7354
|
}
|
|
7349
7355
|
return r;
|
|
7350
7356
|
}
|
|
7351
|
-
function
|
|
7357
|
+
function Vu(e, t) {
|
|
7352
7358
|
if (e.start !== e.startTagEnd || t) {
|
|
7353
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
7359
|
+
const r = e.tag?.toLowerCase() || "div", n = Qu(e);
|
|
7354
7360
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
7355
7361
|
}
|
|
7356
7362
|
return "";
|
|
@@ -7364,18 +7370,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7364
7370
|
}
|
|
7365
7371
|
return r;
|
|
7366
7372
|
}
|
|
7367
|
-
function
|
|
7373
|
+
function Gu(e) {
|
|
7368
7374
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7369
7375
|
}
|
|
7370
7376
|
function xi(e) {
|
|
7371
7377
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7372
7378
|
}
|
|
7373
7379
|
var oa = Object.create(null);
|
|
7374
|
-
function
|
|
7380
|
+
function Zu(e, t) {
|
|
7375
7381
|
const r = oa[e] || (oa[e] = Object.create(null));
|
|
7376
7382
|
let n = r[t];
|
|
7377
7383
|
if (typeof n != "boolean") {
|
|
7378
|
-
const i = document.createElement(e)[
|
|
7384
|
+
const i = document.createElement(e)[Gu(t)];
|
|
7379
7385
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7380
7386
|
}
|
|
7381
7387
|
return n;
|
|
@@ -7389,16 +7395,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7389
7395
|
function sa(e) {
|
|
7390
7396
|
return e.tagName === "IMG";
|
|
7391
7397
|
}
|
|
7392
|
-
function
|
|
7398
|
+
function Yu(e) {
|
|
7393
7399
|
return e.tagName === "AMP-IMG";
|
|
7394
7400
|
}
|
|
7395
|
-
function
|
|
7401
|
+
function Ju(e) {
|
|
7396
7402
|
return e.tagName === "BODY";
|
|
7397
7403
|
}
|
|
7398
|
-
function
|
|
7404
|
+
function Xu(e) {
|
|
7399
7405
|
return e.tagName === "FORM";
|
|
7400
7406
|
}
|
|
7401
|
-
function
|
|
7407
|
+
function Ku(e) {
|
|
7402
7408
|
return e.tagName === "HTML";
|
|
7403
7409
|
}
|
|
7404
7410
|
function la(e) {
|
|
@@ -7407,10 +7413,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7407
7413
|
function Ai(e) {
|
|
7408
7414
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7409
7415
|
}
|
|
7410
|
-
function
|
|
7416
|
+
function ed(e) {
|
|
7411
7417
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7412
7418
|
}
|
|
7413
|
-
function
|
|
7419
|
+
function td(e) {
|
|
7414
7420
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7415
7421
|
}
|
|
7416
7422
|
var Wt;
|
|
@@ -7463,16 +7469,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7463
7469
|
function Ci(e) {
|
|
7464
7470
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7465
7471
|
}
|
|
7466
|
-
function
|
|
7472
|
+
function rd(e) {
|
|
7467
7473
|
return e && !!e.host && !!e.mode;
|
|
7468
7474
|
}
|
|
7469
|
-
function
|
|
7475
|
+
function id(e) {
|
|
7470
7476
|
const t = e.getRootNode() || window.document;
|
|
7471
|
-
return
|
|
7477
|
+
return rd(t) ? t : null;
|
|
7472
7478
|
}
|
|
7473
|
-
var
|
|
7474
|
-
function
|
|
7475
|
-
const t = vt(e).matchAll(
|
|
7479
|
+
var nd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7480
|
+
function ad(e) {
|
|
7481
|
+
const t = vt(e).matchAll(nd);
|
|
7476
7482
|
if (t) for (const r of t) {
|
|
7477
7483
|
const [, n, , i, a] = r;
|
|
7478
7484
|
return {
|
|
@@ -7485,7 +7491,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7485
7491
|
function Qt(e) {
|
|
7486
7492
|
return e.nodeType === Node.TEXT_NODE;
|
|
7487
7493
|
}
|
|
7488
|
-
function
|
|
7494
|
+
function od(e) {
|
|
7489
7495
|
return e.tagName === "TABLE";
|
|
7490
7496
|
}
|
|
7491
7497
|
async function ca(e, t = 5e3) {
|
|
@@ -7494,18 +7500,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7494
7500
|
}) : getComputedStyle(e);
|
|
7495
7501
|
}
|
|
7496
7502
|
function vt(e) {
|
|
7497
|
-
if (et(e)) return
|
|
7503
|
+
if (et(e)) return ld(e);
|
|
7498
7504
|
if (Ai(e)) return [...e.childNodes].map((r) => vt(r)).join("");
|
|
7499
|
-
if (
|
|
7505
|
+
if (td(e)) return xi(e);
|
|
7500
7506
|
const t = document.createElement("div");
|
|
7501
7507
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7502
7508
|
}
|
|
7503
|
-
function
|
|
7509
|
+
function sd(e) {
|
|
7504
7510
|
const t = e.tagName.toLowerCase();
|
|
7505
7511
|
let r = "";
|
|
7506
7512
|
for (const n of e.attributes) {
|
|
7507
7513
|
const i = n.name, a = n.value;
|
|
7508
|
-
r += a === "" && i !== "em" && !
|
|
7514
|
+
r += a === "" && i !== "em" && !Zu(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
7509
7515
|
}
|
|
7510
7516
|
return r;
|
|
7511
7517
|
}
|
|
@@ -7514,13 +7520,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7514
7520
|
for (const r of e.childNodes) t += vt(r);
|
|
7515
7521
|
return t;
|
|
7516
7522
|
}
|
|
7517
|
-
function
|
|
7518
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7519
|
-
return
|
|
7523
|
+
function ld(e) {
|
|
7524
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = sd(e);
|
|
7525
|
+
return Hu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : la(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ua(e)}</${t}>`;
|
|
7520
7526
|
}
|
|
7521
7527
|
function da(e, t) {
|
|
7522
7528
|
for (const a of [...e.childNodes]) a.remove();
|
|
7523
|
-
let r = t.find((a) =>
|
|
7529
|
+
let r = t.find((a) => Ku(a)), n = t.find((a) => Ju(a)), i = e;
|
|
7524
7530
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
7525
7531
|
for (const a of t) {
|
|
7526
7532
|
if (i === e && Qt(a)) {
|
|
@@ -8480,7 +8486,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8480
8486
|
var go;
|
|
8481
8487
|
(function(e) {
|
|
8482
8488
|
function t(a, s, l, u) {
|
|
8483
|
-
return new
|
|
8489
|
+
return new cd(a, s, l, u);
|
|
8484
8490
|
}
|
|
8485
8491
|
e.create = t;
|
|
8486
8492
|
function r(a) {
|
|
@@ -8515,7 +8521,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8515
8521
|
return a;
|
|
8516
8522
|
}
|
|
8517
8523
|
})(go || (go = {}));
|
|
8518
|
-
var
|
|
8524
|
+
var cd = class {
|
|
8519
8525
|
constructor(e, t, r, n) {
|
|
8520
8526
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
8521
8527
|
}
|
|
@@ -8715,7 +8721,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8715
8721
|
}
|
|
8716
8722
|
e.update = r;
|
|
8717
8723
|
function n(i, a) {
|
|
8718
|
-
const s = i.getText(), l = zi(a.map(
|
|
8724
|
+
const s = i.getText(), l = zi(a.map(ud), (b, E) => {
|
|
8719
8725
|
const p = b.range.start.line - E.range.start.line;
|
|
8720
8726
|
return p === 0 ? b.range.start.character - E.range.start.character : p;
|
|
8721
8727
|
});
|
|
@@ -8758,7 +8764,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8758
8764
|
end: t
|
|
8759
8765
|
} : e;
|
|
8760
8766
|
}
|
|
8761
|
-
function
|
|
8767
|
+
function ud(e) {
|
|
8762
8768
|
const t = wo(e.range);
|
|
8763
8769
|
return t !== e.range ? {
|
|
8764
8770
|
newText: e.newText,
|
|
@@ -8786,7 +8792,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8786
8792
|
})(So || (So = {}));
|
|
8787
8793
|
var Pe = (function(e) {
|
|
8788
8794
|
return e[e.StartCommentTag = 0] = "StartCommentTag", e[e.Comment = 1] = "Comment", e[e.EndCommentTag = 2] = "EndCommentTag", e[e.StartTagOpen = 3] = "StartTagOpen", e[e.StartTagClose = 4] = "StartTagClose", e[e.StartTagSelfClose = 5] = "StartTagSelfClose", e[e.StartTag = 6] = "StartTag", e[e.EndTagOpen = 7] = "EndTagOpen", e[e.EndTagClose = 8] = "EndTagClose", e[e.EndTag = 9] = "EndTag", e[e.DelimiterAssign = 10] = "DelimiterAssign", e[e.AttributeName = 11] = "AttributeName", e[e.AttributeValue = 12] = "AttributeValue", e[e.StartDoctypeTag = 13] = "StartDoctypeTag", e[e.Doctype = 14] = "Doctype", e[e.EndDoctypeTag = 15] = "EndDoctypeTag", e[e.Content = 16] = "Content", e[e.Whitespace = 17] = "Whitespace", e[e.Unknown = 18] = "Unknown", e[e.Script = 19] = "Script", e[e.Styles = 20] = "Styles", e[e.EOS = 21] = "EOS", e[e.AdvancedStart = 100] = "AdvancedStart", e[e.AdvancedEnd = 101] = "AdvancedEnd", e;
|
|
8789
|
-
})({}),
|
|
8795
|
+
})({}), dd = class {
|
|
8790
8796
|
source;
|
|
8791
8797
|
len;
|
|
8792
8798
|
position;
|
|
@@ -8854,19 +8860,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8854
8860
|
return this.goToEnd(), !1;
|
|
8855
8861
|
}
|
|
8856
8862
|
skipWhitespace() {
|
|
8857
|
-
return this.advanceWhileChar((e) => e ===
|
|
8863
|
+
return this.advanceWhileChar((e) => e === bd || e === _d || e === md || e === vd || e === gd) > 0;
|
|
8858
8864
|
}
|
|
8859
8865
|
advanceWhileChar(e) {
|
|
8860
8866
|
const t = this.position;
|
|
8861
8867
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8862
8868
|
return this.position - t;
|
|
8863
8869
|
}
|
|
8864
|
-
}, Ao = 33, yt = 45, Zr = 60, Qe = 62, Bi = 47,
|
|
8870
|
+
}, Ao = 33, yt = 45, Zr = 60, Qe = 62, Bi = 47, pd = 61, fd = 34, hd = 39, md = 10, gd = 13, vd = 12, bd = 32, _d = 9, yd = {
|
|
8865
8871
|
"text/x-handlebars-template": !0,
|
|
8866
8872
|
"text/html": !0
|
|
8867
8873
|
};
|
|
8868
|
-
function
|
|
8869
|
-
const i = new
|
|
8874
|
+
function wd(e, t = 0, r = re.WithinContent, n = !1) {
|
|
8875
|
+
const i = new dd(e, t);
|
|
8870
8876
|
let a = r, s = 0, l = 18, u, m, b, E, p;
|
|
8871
8877
|
function c() {
|
|
8872
8878
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8917,14 +8923,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8917
8923
|
C = "Closing bracket expected.";
|
|
8918
8924
|
break;
|
|
8919
8925
|
case re.AfterOpeningStartTag: return b = c(), p = void 0, E = void 0, b.length > 0 ? (m = !1, a = re.WithinTag, w(_, 6)) : i.skipWhitespace() ? w(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinTag, i.advanceUntilChar(Qe), _ < i.pos() ? w(_, 18, "Start tag name expected.") : M());
|
|
8920
|
-
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([Bi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p &&
|
|
8921
|
-
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(
|
|
8926
|
+
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([Bi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p && yd[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, w(_, 4)) : n && i.peekChar() === Zr ? (a = re.WithinContent, w(_, 4, "Closing bracket missing.")) : (i.advance(1), w(_, 18, "Unexpected character in tag."));
|
|
8927
|
+
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(pd) ? (a = re.BeforeAttributeValue, w(_, 10)) : (a = re.WithinTag, M());
|
|
8922
8928
|
case re.BeforeAttributeValue:
|
|
8923
8929
|
if (i.skipWhitespace()) return w(_, 17);
|
|
8924
8930
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8925
8931
|
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) === Bi && (i.goBack(1), d = d.substr(0, d.length - 1)), E === "type" && (p = d), a = re.WithinTag, m = !1, w(_, 12);
|
|
8926
8932
|
const f = i.peekChar();
|
|
8927
|
-
return f ===
|
|
8933
|
+
return f === hd || f === fd ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), E === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, w(_, 12)) : (a = re.WithinTag, m = !1, M());
|
|
8928
8934
|
case re.WithinScriptContent:
|
|
8929
8935
|
let y = 1;
|
|
8930
8936
|
for (; !i.eos();) {
|
|
@@ -8955,7 +8961,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8955
8961
|
getTokenError: () => u
|
|
8956
8962
|
};
|
|
8957
8963
|
}
|
|
8958
|
-
function
|
|
8964
|
+
function Ed(e) {
|
|
8959
8965
|
if (typeof e == "string") {
|
|
8960
8966
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8961
8967
|
return e.substring(t, r);
|
|
@@ -9005,7 +9011,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9005
9011
|
this.dataManager = e;
|
|
9006
9012
|
}
|
|
9007
9013
|
parse(e, t = []) {
|
|
9008
|
-
const r =
|
|
9014
|
+
const r = wd(e, void 0, void 0, !0), n = new Ke(0, e.length, [], void 0);
|
|
9009
9015
|
n.type = ke.ROOT;
|
|
9010
9016
|
let i = n, a = -1, s, l = null, u = r.scan();
|
|
9011
9017
|
const m = () => {
|
|
@@ -9103,7 +9109,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9103
9109
|
}
|
|
9104
9110
|
case Pe.AttributeValue: {
|
|
9105
9111
|
const _ = r.getTokenText(), C = i.attributes;
|
|
9106
|
-
C && l && (C[l] =
|
|
9112
|
+
C && l && (C[l] = Ed(_), l = null);
|
|
9107
9113
|
break;
|
|
9108
9114
|
}
|
|
9109
9115
|
}
|
|
@@ -9142,7 +9148,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9142
9148
|
"wbr",
|
|
9143
9149
|
"vk-snippet-end"
|
|
9144
9150
|
]));
|
|
9145
|
-
var
|
|
9151
|
+
var xd = new ko(new pa([
|
|
9146
9152
|
"area",
|
|
9147
9153
|
"base",
|
|
9148
9154
|
"br",
|
|
@@ -9158,16 +9164,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9158
9164
|
"wbr",
|
|
9159
9165
|
"vk-snippet-end"
|
|
9160
9166
|
]));
|
|
9161
|
-
function xd(e) {
|
|
9162
|
-
return Ed.parse(e);
|
|
9163
|
-
}
|
|
9164
9167
|
function Sd(e) {
|
|
9168
|
+
return xd.parse(e);
|
|
9169
|
+
}
|
|
9170
|
+
function Ad(e) {
|
|
9165
9171
|
if (e) {
|
|
9166
9172
|
const t = document.createElement("div");
|
|
9167
9173
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9168
9174
|
} else return document.createTextNode("");
|
|
9169
9175
|
}
|
|
9170
|
-
function
|
|
9176
|
+
function Cd(e) {
|
|
9171
9177
|
let t;
|
|
9172
9178
|
switch (e?.toLowerCase()) {
|
|
9173
9179
|
case "tr":
|
|
@@ -9190,7 +9196,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9190
9196
|
}
|
|
9191
9197
|
return t;
|
|
9192
9198
|
}
|
|
9193
|
-
var
|
|
9199
|
+
var kd = new Set([
|
|
9194
9200
|
"onclick",
|
|
9195
9201
|
"onload",
|
|
9196
9202
|
"onchange",
|
|
@@ -9198,15 +9204,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9198
9204
|
"onmouseover",
|
|
9199
9205
|
"onkeydown",
|
|
9200
9206
|
"onerror"
|
|
9201
|
-
]),
|
|
9207
|
+
]), Td = new Set([
|
|
9202
9208
|
"script",
|
|
9203
9209
|
"style",
|
|
9204
9210
|
"xmp"
|
|
9205
9211
|
]);
|
|
9206
|
-
function
|
|
9207
|
-
return !(t &&
|
|
9212
|
+
function Od(e, t) {
|
|
9213
|
+
return !(t && Td.has(t.toLowerCase()) || kd.has(e.toLowerCase()));
|
|
9208
9214
|
}
|
|
9209
|
-
var
|
|
9215
|
+
var Pd = (e) => {
|
|
9210
9216
|
let t = e.indexOf("&");
|
|
9211
9217
|
for (; t !== -1;) {
|
|
9212
9218
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9217,7 +9223,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9217
9223
|
function To(e, t, r) {
|
|
9218
9224
|
let n = e.tagName.toLowerCase();
|
|
9219
9225
|
n === "html" && (n = "div");
|
|
9220
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
9226
|
+
const i = `<${n} ${t}="${r}"/>`, a = Cd(n);
|
|
9221
9227
|
if (a instanceof Document) return;
|
|
9222
9228
|
a.innerHTML = i;
|
|
9223
9229
|
const s = a.querySelector(n);
|
|
@@ -9227,7 +9233,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9227
9233
|
}
|
|
9228
9234
|
function wt(e, t, r) {
|
|
9229
9235
|
try {
|
|
9230
|
-
|
|
9236
|
+
Od(t, e.tagName) && !Pd(r) ? e.setAttribute(t, r) : To(e, t, r);
|
|
9231
9237
|
} catch {
|
|
9232
9238
|
To(e, t, r);
|
|
9233
9239
|
}
|
|
@@ -9260,28 +9266,28 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9260
9266
|
return n;
|
|
9261
9267
|
}
|
|
9262
9268
|
return document.createTextNode("<");
|
|
9263
|
-
case ke.HTML: return
|
|
9269
|
+
case ke.HTML: return Ad(r || "");
|
|
9264
9270
|
default: throw new Error("unsupported node");
|
|
9265
9271
|
}
|
|
9266
9272
|
}
|
|
9267
9273
|
function Hi(e) {
|
|
9268
|
-
return
|
|
9274
|
+
return Sd(e).roots.map((t) => qi(t));
|
|
9269
9275
|
}
|
|
9270
9276
|
var Oo = Symbol("Error");
|
|
9271
9277
|
function Vt(e) {
|
|
9272
9278
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Oo) : t)).then((t) => t.filter((r) => r !== Oo));
|
|
9273
9279
|
}
|
|
9274
|
-
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
9280
|
+
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Rd = new Set([
|
|
9275
9281
|
"https:",
|
|
9276
9282
|
"http:",
|
|
9277
9283
|
"file:"
|
|
9278
|
-
]),
|
|
9284
|
+
]), Nd = (e) => {
|
|
9279
9285
|
const t = e.indexOf(":");
|
|
9280
9286
|
if (t <= 0) return !1;
|
|
9281
9287
|
const r = e.substring(0, t + 1);
|
|
9282
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9288
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Rd.has(r) : !1;
|
|
9283
9289
|
};
|
|
9284
|
-
function
|
|
9290
|
+
function Md(e, t) {
|
|
9285
9291
|
if (t = {
|
|
9286
9292
|
defaultProtocol: "http",
|
|
9287
9293
|
normalizeProtocol: !0,
|
|
@@ -9299,7 +9305,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9299
9305
|
sortQueryParameters: !0,
|
|
9300
9306
|
...t
|
|
9301
9307
|
}, !e) return "";
|
|
9302
|
-
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
9308
|
+
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Nd(e)) return e;
|
|
9303
9309
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
9304
9310
|
let i;
|
|
9305
9311
|
try {
|
|
@@ -9349,22 +9355,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9349
9355
|
function Ro(e) {
|
|
9350
9356
|
if (!e) return !1;
|
|
9351
9357
|
const t = e[0];
|
|
9352
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9358
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Id(t);
|
|
9353
9359
|
}
|
|
9354
|
-
function
|
|
9360
|
+
function Id(e) {
|
|
9355
9361
|
const t = e.charCodeAt(0);
|
|
9356
9362
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9357
9363
|
}
|
|
9358
|
-
function
|
|
9364
|
+
function jd(e) {
|
|
9359
9365
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9360
9366
|
}
|
|
9361
9367
|
function dt(e) {
|
|
9362
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) ||
|
|
9368
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) || jd(e)) return e;
|
|
9363
9369
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9364
9370
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9365
9371
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9366
9372
|
}
|
|
9367
|
-
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi,
|
|
9373
|
+
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, Dd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, xt = /<style\b[^>]*>[\s\S]*?<\/style>/gi, No = /display:\s*none\s*!important/gi, Ld = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Fd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Ud = /height\s*:\s*100%\s*!important/i, zd = [
|
|
9368
9374
|
".socialshare,",
|
|
9369
9375
|
".advertisment,",
|
|
9370
9376
|
".adHolder,",
|
|
@@ -9381,57 +9387,57 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9381
9387
|
"#advblock",
|
|
9382
9388
|
"body { overflow: visible!important; }"
|
|
9383
9389
|
];
|
|
9384
|
-
function
|
|
9390
|
+
function Bd(e) {
|
|
9385
9391
|
return No.lastIndex = 0, (e.match(No) || []).length;
|
|
9386
9392
|
}
|
|
9387
9393
|
function Mo(e) {
|
|
9388
|
-
const t = e.trim(), r =
|
|
9394
|
+
const t = e.trim(), r = Bd(t);
|
|
9389
9395
|
if (r === 0) return !1;
|
|
9390
9396
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9391
|
-
const n =
|
|
9397
|
+
const n = zd.filter((i) => t.includes(i)).length;
|
|
9392
9398
|
return n >= 1 && (r >= 3 || t.length > 2e3) || r >= 5 && n >= 1 ? !0 : r >= 20 && /\b(?:\.ad(?:s|vert|vertisment|Holder|banner|box|Container|Wrapper)?[,{]|#ad[-_]|ins\.adsbygoogle)/i.test(t);
|
|
9393
9399
|
}
|
|
9394
|
-
function
|
|
9400
|
+
function qd(e) {
|
|
9395
9401
|
xt.lastIndex = 0;
|
|
9396
9402
|
for (const t of e.matchAll(xt)) if (Mo(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9397
9403
|
return !1;
|
|
9398
9404
|
}
|
|
9399
|
-
function
|
|
9405
|
+
function Hd(e) {
|
|
9400
9406
|
let t = !1;
|
|
9401
9407
|
return xt.lastIndex = 0, {
|
|
9402
9408
|
html: e.replace(xt, (r) => Mo(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9403
9409
|
found: t
|
|
9404
9410
|
};
|
|
9405
9411
|
}
|
|
9406
|
-
function
|
|
9407
|
-
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9412
|
+
function $d(e) {
|
|
9413
|
+
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || qd(e);
|
|
9408
9414
|
}
|
|
9409
9415
|
function Io(e) {
|
|
9410
|
-
if (
|
|
9416
|
+
if (!$d(e)) return {
|
|
9411
9417
|
html: e,
|
|
9412
9418
|
found: !1
|
|
9413
9419
|
};
|
|
9414
9420
|
let t = !1, r = e;
|
|
9415
|
-
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
9416
|
-
const n =
|
|
9421
|
+
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Dd, ""), t = !0);
|
|
9422
|
+
const n = Hd(r);
|
|
9417
9423
|
return r = n.html, t = t || n.found, {
|
|
9418
9424
|
html: r,
|
|
9419
9425
|
found: t
|
|
9420
9426
|
};
|
|
9421
9427
|
}
|
|
9422
|
-
function $d(e) {
|
|
9423
|
-
return !e || !Fd.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Dd, (r, n, i, a) => `${n}${i.replace(Ld, "")}${a}`)));
|
|
9424
|
-
}
|
|
9425
9428
|
function Wd(e) {
|
|
9429
|
+
return !e || !Ud.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Ld, (r, n, i, a) => `${n}${i.replace(Fd, "")}${a}`)));
|
|
9430
|
+
}
|
|
9431
|
+
function Qd(e) {
|
|
9426
9432
|
const t = Io(e.replaceAll(`\r
|
|
9427
9433
|
`, `
|
|
9428
9434
|
`));
|
|
9429
9435
|
return {
|
|
9430
|
-
html:
|
|
9436
|
+
html: Wd(t.html),
|
|
9431
9437
|
hasBrowserExtensionArtifacts: t.found
|
|
9432
9438
|
};
|
|
9433
9439
|
}
|
|
9434
|
-
var
|
|
9440
|
+
var Gd = Z.__commonJSMin(((e, t) => {
|
|
9435
9441
|
(function(r, n) {
|
|
9436
9442
|
typeof e == "object" && typeof t < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (r = typeof globalThis < "u" ? globalThis : r || self, n(r.MutationSummary = {}));
|
|
9437
9443
|
})(e, (function(r) {
|
|
@@ -10349,33 +10355,33 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10349
10355
|
r.ChildListChange = i, r.MutationProjection = m, r.MutationSummary = M, r.NodeChange = l, r.NodeMap = n, r.Qualifier = E, r.Selector = w, r.Summary = b, r.TreeChanges = u, r.TreeMirror = _, r.TreeMirrorClient = C, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
10350
10356
|
}));
|
|
10351
10357
|
}))(), St = 0, At = new Array(1e3);
|
|
10352
|
-
function
|
|
10358
|
+
function Zd() {
|
|
10353
10359
|
for (let e = 0; e < St; e += 2) {
|
|
10354
10360
|
const t = At[e], r = At[e + 1];
|
|
10355
10361
|
t(...r), At[e] = void 0, At[e + 1] = void 0;
|
|
10356
10362
|
}
|
|
10357
10363
|
St = 0;
|
|
10358
10364
|
}
|
|
10359
|
-
function
|
|
10360
|
-
At[St] = e, At[St + 1] = t, St += 2, St === 2 &&
|
|
10365
|
+
function Yd(e, ...t) {
|
|
10366
|
+
At[St] = e, At[St + 1] = t, St += 2, St === 2 && Xd();
|
|
10361
10367
|
}
|
|
10362
|
-
function
|
|
10368
|
+
function Jd() {
|
|
10363
10369
|
let e = 0;
|
|
10364
|
-
const t = new MutationObserver(
|
|
10370
|
+
const t = new MutationObserver(Zd), r = document.createTextNode("");
|
|
10365
10371
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10366
10372
|
r.data = String(e = ++e % 2);
|
|
10367
10373
|
};
|
|
10368
10374
|
}
|
|
10369
|
-
var
|
|
10375
|
+
var Xd = Jd();
|
|
10370
10376
|
function jo() {
|
|
10371
|
-
|
|
10377
|
+
Yd(() => {
|
|
10372
10378
|
$i.hasListeners() && ($i.fire(), jo());
|
|
10373
10379
|
});
|
|
10374
10380
|
}
|
|
10375
|
-
var $i = new O.Emitter({ onFirstListenerAdd: jo }), Wi = $i.once,
|
|
10381
|
+
var $i = new O.Emitter({ onFirstListenerAdd: jo }), Wi = $i.once, Kd = class extends O.Emitter {
|
|
10376
10382
|
_mutationSummary;
|
|
10377
10383
|
constructor(e = {}) {
|
|
10378
|
-
super(), this._mutationSummary = new
|
|
10384
|
+
super(), this._mutationSummary = new Gd.MutationSummary({
|
|
10379
10385
|
...e,
|
|
10380
10386
|
observeOwnChanges: !0,
|
|
10381
10387
|
callback: (t) => this.fire(t),
|
|
@@ -10389,7 +10395,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10389
10395
|
const t = this._mutationSummary.takeSummaries();
|
|
10390
10396
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10391
10397
|
}
|
|
10392
|
-
},
|
|
10398
|
+
}, ep = class extends O.Disposable {
|
|
10393
10399
|
_mutationEmitter;
|
|
10394
10400
|
_innerEmitter = this.addDisposable(new O.Emitter({ onFirstListenerAdd: () => {
|
|
10395
10401
|
this._nextTickHandler();
|
|
@@ -10404,7 +10410,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10404
10410
|
}, Number.MAX_VALUE);
|
|
10405
10411
|
}
|
|
10406
10412
|
constructor(e = {}) {
|
|
10407
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10413
|
+
super(), this._mutationEmitter = this.addDisposable(new Kd(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10408
10414
|
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Wi(() => {
|
|
10409
10415
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10410
10416
|
}, Number.MAX_VALUE)));
|
|
@@ -10432,7 +10438,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10432
10438
|
onLost = this._lostEmitter.event;
|
|
10433
10439
|
onNativeMutate;
|
|
10434
10440
|
};
|
|
10435
|
-
function
|
|
10441
|
+
function tp(e) {
|
|
10436
10442
|
for (const t of e) {
|
|
10437
10443
|
if (t.removed) for (const r of t.removed) {
|
|
10438
10444
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -10456,18 +10462,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10456
10462
|
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) || Ci(r) || Ci(r)) && (r.data = t.getOldCharacterData(r));
|
|
10457
10463
|
}
|
|
10458
10464
|
}
|
|
10459
|
-
var
|
|
10465
|
+
var rp = class extends O.Disposable {
|
|
10460
10466
|
_commitPromise;
|
|
10461
10467
|
_mutationCollector;
|
|
10462
10468
|
_onLostSummaries = (e) => {
|
|
10463
10469
|
try {
|
|
10464
|
-
this._mutationCollector.stop(),
|
|
10470
|
+
this._mutationCollector.stop(), tp(e);
|
|
10465
10471
|
} finally {
|
|
10466
10472
|
this._mutationCollector.start();
|
|
10467
10473
|
}
|
|
10468
10474
|
};
|
|
10469
10475
|
constructor(e) {
|
|
10470
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10476
|
+
super(), this._mutationCollector = this.addDisposable(new ep({
|
|
10471
10477
|
rootNode: e,
|
|
10472
10478
|
oldPreviousSibling: !0
|
|
10473
10479
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10505,7 +10511,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10505
10511
|
if (i.hasListeners()) {
|
|
10506
10512
|
const l = document.createElement("iframe");
|
|
10507
10513
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10508
|
-
const u = l.contentWindow.document, m = new
|
|
10514
|
+
const u = l.contentWindow.document, m = new rp(l.contentDocument);
|
|
10509
10515
|
let b;
|
|
10510
10516
|
try {
|
|
10511
10517
|
if (t) {
|
|
@@ -10540,8 +10546,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10540
10546
|
throw a;
|
|
10541
10547
|
}
|
|
10542
10548
|
}
|
|
10543
|
-
var
|
|
10544
|
-
function
|
|
10549
|
+
var ip = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10550
|
+
function np(e) {
|
|
10545
10551
|
return e.arrayBuffer().then((t) => {
|
|
10546
10552
|
const r = new Uint8Array(t);
|
|
10547
10553
|
let n = "";
|
|
@@ -10559,7 +10565,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10559
10565
|
function Yr(e) {
|
|
10560
10566
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10561
10567
|
}
|
|
10562
|
-
async function
|
|
10568
|
+
async function ap(e, t, r, n, i, a, s) {
|
|
10563
10569
|
const l = [];
|
|
10564
10570
|
a && (a.attachments = l);
|
|
10565
10571
|
let u = "";
|
|
@@ -10599,24 +10605,24 @@ ${E.base64}\r
|
|
|
10599
10605
|
\r
|
|
10600
10606
|
${u}`;
|
|
10601
10607
|
}
|
|
10602
|
-
function
|
|
10608
|
+
function op(e, t = !0) {
|
|
10603
10609
|
const r = Me.decodeFileNameFromPath(e);
|
|
10604
10610
|
return t ? Yr(r) : r;
|
|
10605
10611
|
}
|
|
10606
|
-
function
|
|
10612
|
+
function sp(e) {
|
|
10607
10613
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10608
10614
|
}
|
|
10609
10615
|
function Lo(e) {
|
|
10610
10616
|
const t = Me.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
10611
|
-
return r === -1 || !
|
|
10617
|
+
return r === -1 || !sp(n) ? [Yr(t), ""] : [Yr(t.slice(0, r)), n];
|
|
10612
10618
|
}
|
|
10613
|
-
function
|
|
10619
|
+
function lp(e) {
|
|
10614
10620
|
return Bo(e).then((t) => qo(t));
|
|
10615
10621
|
}
|
|
10616
10622
|
function Fo(e) {
|
|
10617
10623
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10618
10624
|
}
|
|
10619
|
-
var Ve = new
|
|
10625
|
+
var Ve = new Bu((e) => {
|
|
10620
10626
|
e.escape("<script", "<\/script>", (t) => Fo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Fo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), Kn(e);
|
|
10621
10627
|
});
|
|
10622
10628
|
async function Jr(e, t, r, n) {
|
|
@@ -10656,13 +10662,13 @@ ${u}`;
|
|
|
10656
10662
|
return Promise.reject(n);
|
|
10657
10663
|
}
|
|
10658
10664
|
}
|
|
10659
|
-
async function
|
|
10665
|
+
async function cp(e, t, r = new Map(), n) {
|
|
10660
10666
|
const i = (E) => {
|
|
10661
10667
|
let p = r.get(E);
|
|
10662
10668
|
return p || (p = t(E), r.set(E, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10663
10669
|
};
|
|
10664
10670
|
function a(E) {
|
|
10665
|
-
return Xr(E,
|
|
10671
|
+
return Xr(E, ip, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
|
|
10666
10672
|
}
|
|
10667
10673
|
async function s(E) {
|
|
10668
10674
|
const p = E.getAttribute("style");
|
|
@@ -10684,7 +10690,7 @@ ${u}`;
|
|
|
10684
10690
|
const p = E.getAttribute("background");
|
|
10685
10691
|
if (p && b.push(i(p).then((c) => {
|
|
10686
10692
|
E.setAttribute("background", c || p), n && n();
|
|
10687
|
-
})), sa(E) ||
|
|
10693
|
+
})), sa(E) || Yu(E)) {
|
|
10688
10694
|
const c = E.getAttribute("src"), h = c && Ve.hasDetectedMappings(c, !0, !0) ? c : ("src" in E ? E.src : "") || c;
|
|
10689
10695
|
h && b.push(i(h).then((w) => {
|
|
10690
10696
|
w || (w = h), E.setAttribute("src", w), n && n();
|
|
@@ -10697,7 +10703,7 @@ ${u}`;
|
|
|
10697
10703
|
}));
|
|
10698
10704
|
}
|
|
10699
10705
|
} else if (Ci(E)) {
|
|
10700
|
-
const p =
|
|
10706
|
+
const p = ad(E), c = p?.content;
|
|
10701
10707
|
c && b.push(Xr(c, /<v:fill.*>/gi, async (h) => Xr(await Xr(h, /src="([^"]*)"/gi, async (w, k) => `src="${await i(k) || k}"`), /src='([^']*)'/gi, async (w, k) => `src='${await i(k) || k}'`)).then((h) => {
|
|
10702
10708
|
c !== h && (E.replaceWith(Hi(`${p.open}${h}${p.close}`)[0]), n && n());
|
|
10703
10709
|
}));
|
|
@@ -10706,9 +10712,9 @@ ${u}`;
|
|
|
10706
10712
|
return Vt(b);
|
|
10707
10713
|
}
|
|
10708
10714
|
async function Gt(e, t, r = new Map(), n) {
|
|
10709
|
-
await
|
|
10715
|
+
await cp(e, t, r, n);
|
|
10710
10716
|
}
|
|
10711
|
-
function
|
|
10717
|
+
function up(e) {
|
|
10712
10718
|
const t = new Map();
|
|
10713
10719
|
let r = 0;
|
|
10714
10720
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10717,7 +10723,7 @@ ${u}`;
|
|
|
10717
10723
|
}
|
|
10718
10724
|
return t;
|
|
10719
10725
|
}
|
|
10720
|
-
function
|
|
10726
|
+
function dp(e) {
|
|
10721
10727
|
return !!e && Ve.hasDetectedMappings(e, !0, !0);
|
|
10722
10728
|
}
|
|
10723
10729
|
function Uo(e, t) {
|
|
@@ -10730,7 +10736,7 @@ ${u}`;
|
|
|
10730
10736
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10731
10737
|
return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
|
|
10732
10738
|
}
|
|
10733
|
-
function
|
|
10739
|
+
function pp(e) {
|
|
10734
10740
|
const t = Ve.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
|
|
10735
10741
|
let i = e;
|
|
10736
10742
|
for (const { range: a } of t) {
|
|
@@ -10746,9 +10752,9 @@ ${u}`;
|
|
|
10746
10752
|
restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10747
10753
|
};
|
|
10748
10754
|
}
|
|
10749
|
-
function
|
|
10755
|
+
function fp(e, t, r, n) {
|
|
10750
10756
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10751
|
-
const { masked: i, tokens: a, restore: s } =
|
|
10757
|
+
const { masked: i, tokens: a, restore: s } = pp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10752
10758
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10753
10759
|
const b = Uo(i, r);
|
|
10754
10760
|
if (b === i) return;
|
|
@@ -10757,13 +10763,13 @@ ${u}`;
|
|
|
10757
10763
|
}
|
|
10758
10764
|
function Vi(e, t, r) {
|
|
10759
10765
|
const n = e.getAttribute("href");
|
|
10760
|
-
if (
|
|
10761
|
-
|
|
10766
|
+
if (dp(n)) {
|
|
10767
|
+
fp(e, n, t, r);
|
|
10762
10768
|
return;
|
|
10763
10769
|
}
|
|
10764
10770
|
let i = e.href;
|
|
10765
10771
|
if (i = dt(i), i && e.protocol.startsWith("http")) {
|
|
10766
|
-
const a =
|
|
10772
|
+
const a = up(i);
|
|
10767
10773
|
if (a.forEach((s, l) => {
|
|
10768
10774
|
i = i.replaceAll(l, s);
|
|
10769
10775
|
}), e.host !== document.location.host) {
|
|
@@ -10774,7 +10780,7 @@ ${u}`;
|
|
|
10774
10780
|
}
|
|
10775
10781
|
}
|
|
10776
10782
|
}
|
|
10777
|
-
async function
|
|
10783
|
+
async function hp(e, t, r, n, i) {
|
|
10778
10784
|
let [a, s] = t || [800];
|
|
10779
10785
|
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Jr(e, async (l) => {
|
|
10780
10786
|
const u = l.document;
|
|
@@ -10797,7 +10803,7 @@ ${u}`;
|
|
|
10797
10803
|
isNaN(w) || c.setAttribute("height", String(w)), !isNaN(k) && !c.getAttribute("width") && c.setAttribute("width", String(k));
|
|
10798
10804
|
}
|
|
10799
10805
|
E.commit();
|
|
10800
|
-
} else if (
|
|
10806
|
+
} else if (od(c)) {
|
|
10801
10807
|
const h = parseInt(getComputedStyle(c).width);
|
|
10802
10808
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), E.commit();
|
|
10803
10809
|
} else c.tagName === "TD" || c.tagName === "A" && Vi(c, r, () => E.commit());
|
|
@@ -10836,7 +10842,7 @@ ${u}`;
|
|
|
10836
10842
|
return _;
|
|
10837
10843
|
}
|
|
10838
10844
|
try {
|
|
10839
|
-
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await
|
|
10845
|
+
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await np(C);
|
|
10840
10846
|
return E.push({
|
|
10841
10847
|
cid: d,
|
|
10842
10848
|
mimeType: C.type || "application/octet-stream",
|
|
@@ -10853,12 +10859,12 @@ ${u}`;
|
|
|
10853
10859
|
if (n) return n(u);
|
|
10854
10860
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10855
10861
|
}
|
|
10856
|
-
var
|
|
10857
|
-
function
|
|
10862
|
+
var mp = "images", gp = 40;
|
|
10863
|
+
function vp() {
|
|
10858
10864
|
const e = new Date();
|
|
10859
10865
|
return `${e.toISOString().slice(2, 10).replace(/-/g, "").concat("_", e.toTimeString().slice(0, 5).replace(/:/g, ""))}_${Array.from({ length: 8 }, () => "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(Math.random() * 62))).join("")}`;
|
|
10860
10866
|
}
|
|
10861
|
-
async function
|
|
10867
|
+
async function bp(e, t, r, n = lp, i, a) {
|
|
10862
10868
|
const s = Object.create(null);
|
|
10863
10869
|
let [l, u] = t || [800];
|
|
10864
10870
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
@@ -10868,13 +10874,13 @@ ${u}`;
|
|
|
10868
10874
|
Ve.getEscapedText(h) === h && (h = dt(h));
|
|
10869
10875
|
const w = await n(h);
|
|
10870
10876
|
let [k, M] = Lo(h);
|
|
10871
|
-
if (k.length >
|
|
10877
|
+
if (k.length > gp && (k = vp()), !M || !bi.getType(M)) try {
|
|
10872
10878
|
M = bi.getExtension(w.type);
|
|
10873
10879
|
} catch {}
|
|
10874
10880
|
let _ = `${k}.${M}`, C = 1;
|
|
10875
10881
|
for (; m.has(_);) _ = `${k}(${++C}).${M}`;
|
|
10876
10882
|
m.add(_);
|
|
10877
|
-
const d = `${
|
|
10883
|
+
const d = `${mp}/${_}`;
|
|
10878
10884
|
return s[d] = w, d;
|
|
10879
10885
|
});
|
|
10880
10886
|
const c = p.querySelectorAll("a");
|
|
@@ -10883,7 +10889,7 @@ ${u}`;
|
|
|
10883
10889
|
}, [l, u], a);
|
|
10884
10890
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10885
10891
|
}
|
|
10886
|
-
function
|
|
10892
|
+
function _p(e) {
|
|
10887
10893
|
const t = new En.default();
|
|
10888
10894
|
for (const r of Object.keys(e)) {
|
|
10889
10895
|
let n = t;
|
|
@@ -10906,7 +10912,7 @@ ${u}`;
|
|
|
10906
10912
|
const n = document.createElement("canvas");
|
|
10907
10913
|
return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((s) => s ? i(s) : a("blob is null"), t, Number(r) || 0));
|
|
10908
10914
|
}
|
|
10909
|
-
function
|
|
10915
|
+
function yp(e, t) {
|
|
10910
10916
|
do {
|
|
10911
10917
|
if (e === t) return !0;
|
|
10912
10918
|
e = e.parentNode;
|
|
@@ -10915,13 +10921,13 @@ ${u}`;
|
|
|
10915
10921
|
}
|
|
10916
10922
|
function Ho(e) {
|
|
10917
10923
|
const t = e.ownerDocument?.body;
|
|
10918
|
-
if (t &&
|
|
10924
|
+
if (t && yp(e, t)) {
|
|
10919
10925
|
if (et(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10920
10926
|
if (e.nodeName === "#text") return e.textContent;
|
|
10921
10927
|
}
|
|
10922
10928
|
return e.childNodes ? [...e.childNodes].map(Ho).join("") : "";
|
|
10923
10929
|
}
|
|
10924
|
-
function
|
|
10930
|
+
function wp(e) {
|
|
10925
10931
|
const { document: t } = Do(e);
|
|
10926
10932
|
try {
|
|
10927
10933
|
return Ho(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10948,22 +10954,22 @@ ${u}`;
|
|
|
10948
10954
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10949
10955
|
return t;
|
|
10950
10956
|
}
|
|
10951
|
-
function
|
|
10957
|
+
function Ep(e) {
|
|
10952
10958
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10953
10959
|
}
|
|
10954
|
-
function
|
|
10960
|
+
function xp(e) {
|
|
10955
10961
|
const t = Zt(e);
|
|
10956
10962
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10957
10963
|
const r = e.createElement("style");
|
|
10958
10964
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10959
10965
|
}
|
|
10960
10966
|
}
|
|
10961
|
-
function
|
|
10967
|
+
function Sp(e) {
|
|
10962
10968
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10963
10969
|
t && t.remove();
|
|
10964
10970
|
}
|
|
10965
10971
|
var Kr = "amp-custom";
|
|
10966
|
-
function
|
|
10972
|
+
function Ap(e, t) {
|
|
10967
10973
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10968
10974
|
}
|
|
10969
10975
|
function Qo(e, t, r) {
|
|
@@ -10987,7 +10993,7 @@ ${u}`;
|
|
|
10987
10993
|
if (r) {
|
|
10988
10994
|
const a = new Set();
|
|
10989
10995
|
Qo(e, r.cssRules, (s, l) => {
|
|
10990
|
-
const u =
|
|
10996
|
+
const u = Ap(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
10991
10997
|
return !m.find((E) => Wt.isStyleRule(E) && E.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
10992
10998
|
.${u} { ${s}: ${l} };
|
|
10993
10999
|
${t.innerHTML}`), u;
|
|
@@ -10999,7 +11005,7 @@ ${t.innerHTML}`);
|
|
|
10999
11005
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
11000
11006
|
n !== i && (t.innerHTML = i);
|
|
11001
11007
|
}
|
|
11002
|
-
function
|
|
11008
|
+
function Cp(e) {
|
|
11003
11009
|
const t = Zt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
11004
11010
|
if (n.length === 1) {
|
|
11005
11011
|
const a = n[0];
|
|
@@ -11018,12 +11024,12 @@ ${i.join("")}
|
|
|
11018
11024
|
}
|
|
11019
11025
|
for (const a of r) a.remove();
|
|
11020
11026
|
}
|
|
11021
|
-
function
|
|
11027
|
+
function kp(e) {
|
|
11022
11028
|
const t = e.querySelector(`style[${Kr}]`);
|
|
11023
11029
|
t && t.removeAttribute(Kr);
|
|
11024
11030
|
}
|
|
11025
|
-
var
|
|
11026
|
-
function
|
|
11031
|
+
var Tp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ei = "<!doctype html>";
|
|
11032
|
+
function Op(e) {
|
|
11027
11033
|
const t = e.doctype;
|
|
11028
11034
|
if (t) {
|
|
11029
11035
|
if (xi(t) === ei) return;
|
|
@@ -11034,10 +11040,10 @@ ${i.join("")}
|
|
|
11034
11040
|
e.insertBefore(r, e.firstChild);
|
|
11035
11041
|
}
|
|
11036
11042
|
}
|
|
11037
|
-
function
|
|
11043
|
+
function Pp(e) {
|
|
11038
11044
|
const t = e.doctype;
|
|
11039
11045
|
if (t && xi(t).toLowerCase() === ei) {
|
|
11040
|
-
const r = new DOMParser().parseFromString(
|
|
11046
|
+
const r = new DOMParser().parseFromString(Tp, "text/html").doctype;
|
|
11041
11047
|
e.replaceChild(r, t);
|
|
11042
11048
|
}
|
|
11043
11049
|
}
|
|
@@ -11046,7 +11052,7 @@ ${i.join("")}
|
|
|
11046
11052
|
try {
|
|
11047
11053
|
let a = e;
|
|
11048
11054
|
for (; a && Si(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
11049
|
-
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u =
|
|
11055
|
+
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = Ep(e);
|
|
11050
11056
|
let m = !1;
|
|
11051
11057
|
if (u) {
|
|
11052
11058
|
const E = u.getAttribute("width");
|
|
@@ -11073,12 +11079,12 @@ ${i.join("")}
|
|
|
11073
11079
|
}
|
|
11074
11080
|
return r;
|
|
11075
11081
|
}
|
|
11076
|
-
function
|
|
11082
|
+
function Rp(e) {
|
|
11077
11083
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Wo(e), a = r === "responsive";
|
|
11078
11084
|
for (const s of Object.keys(i)) wt(t, s, i[s]);
|
|
11079
11085
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
11080
11086
|
}
|
|
11081
|
-
async function
|
|
11087
|
+
async function Np(e, t) {
|
|
11082
11088
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
11083
11089
|
for (const a of r) n.push(Go(a).then((s) => [a, s], () => [a, void 0]));
|
|
11084
11090
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -11092,12 +11098,12 @@ ${i.join("")}
|
|
|
11092
11098
|
t?.();
|
|
11093
11099
|
}
|
|
11094
11100
|
}
|
|
11095
|
-
function
|
|
11101
|
+
function Mp(e, t) {
|
|
11096
11102
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11097
|
-
for (const n of r) n.replaceWith(
|
|
11103
|
+
for (const n of r) n.replaceWith(Rp(n));
|
|
11098
11104
|
r.length && t?.();
|
|
11099
11105
|
}
|
|
11100
|
-
function
|
|
11106
|
+
function Ip(e) {
|
|
11101
11107
|
const t = e.querySelectorAll("meta");
|
|
11102
11108
|
for (const i of t) {
|
|
11103
11109
|
const a = i.getAttribute("charset");
|
|
@@ -11109,25 +11115,25 @@ ${i.join("")}
|
|
|
11109
11115
|
const r = Zt(e), n = e.createElement("meta");
|
|
11110
11116
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
11111
11117
|
}
|
|
11112
|
-
function
|
|
11118
|
+
function jp(e, t, r) {
|
|
11113
11119
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
11114
11120
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
11115
11121
|
}
|
|
11116
|
-
var Gi = "https://cdn.ampproject.org/v0", Zo = `${Gi}.js`,
|
|
11117
|
-
function
|
|
11122
|
+
var Gi = "https://cdn.ampproject.org/v0", Zo = `${Gi}.js`, Dp = `script[src='${Zo}']`;
|
|
11123
|
+
function Lp(e, t) {
|
|
11118
11124
|
return `${Gi}/${e.toLowerCase()}-${t}.js`;
|
|
11119
11125
|
}
|
|
11120
|
-
async function
|
|
11126
|
+
async function Fp(e, t, r) {
|
|
11121
11127
|
for (const { name: n, versions: i } of t) {
|
|
11122
11128
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
11123
11129
|
if (!e.querySelector(a)) {
|
|
11124
|
-
const s = Zt(e), l = r.createElementFn("script"), u =
|
|
11130
|
+
const s = Zt(e), l = r.createElementFn("script"), u = Lp(n, i.findLast((m) => m !== "latest") || "v0");
|
|
11125
11131
|
l.setAttribute("async", ""), l.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
|
|
11126
11132
|
`));
|
|
11127
11133
|
}
|
|
11128
11134
|
}
|
|
11129
11135
|
}
|
|
11130
|
-
function
|
|
11136
|
+
function Up(e, t) {
|
|
11131
11137
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11132
11138
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
11133
11139
|
for (const i of r) Jo(i) && i.tagName !== "FORM" && i.remove();
|
|
@@ -11137,7 +11143,7 @@ ${i.join("")}
|
|
|
11137
11143
|
return Yo || (Yo = await Promise.resolve().then(() => mt("./881b2d5e2.js")).then((e) => e.default));
|
|
11138
11144
|
}
|
|
11139
11145
|
var Zi = new Map();
|
|
11140
|
-
async function
|
|
11146
|
+
async function zp() {
|
|
11141
11147
|
if (!Zi.size) {
|
|
11142
11148
|
const e = await ti(), t = e.tags;
|
|
11143
11149
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -11152,17 +11158,17 @@ ${i.join("")}
|
|
|
11152
11158
|
return Zi;
|
|
11153
11159
|
}
|
|
11154
11160
|
var Yi = new Map();
|
|
11155
|
-
async function
|
|
11161
|
+
async function Bp() {
|
|
11156
11162
|
if (!Yi.size) {
|
|
11157
11163
|
const e = await ti();
|
|
11158
11164
|
for (const t of e.declarations) Yi.set(t.name, t);
|
|
11159
11165
|
}
|
|
11160
11166
|
return Yi;
|
|
11161
11167
|
}
|
|
11162
|
-
var
|
|
11163
|
-
async function
|
|
11168
|
+
var qp = "$GLOBAL_ATTRS", Ji = new Map();
|
|
11169
|
+
async function Hp() {
|
|
11164
11170
|
if (!Ji.size) {
|
|
11165
|
-
const e = (await ti()).attrLists.find((t) => t.name ===
|
|
11171
|
+
const e = (await ti()).attrLists.find((t) => t.name === qp)?.attrs;
|
|
11166
11172
|
if (e) for (const t of e) Ji.set(t.name, t);
|
|
11167
11173
|
}
|
|
11168
11174
|
return Ji;
|
|
@@ -11200,17 +11206,17 @@ ${i.join("")}
|
|
|
11200
11206
|
}
|
|
11201
11207
|
else Ai(e) ? i() : Qt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Qt(e.nextSibling)) && n();
|
|
11202
11208
|
}
|
|
11203
|
-
async function
|
|
11209
|
+
async function $p(e, t) {
|
|
11204
11210
|
const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11205
|
-
if (t.replaceImages && await
|
|
11206
|
-
const c = t.replaceSelectors(
|
|
11211
|
+
if (t.replaceImages && await Np(e, n), t.injectExtensions) {
|
|
11212
|
+
const c = t.replaceSelectors(Dp);
|
|
11207
11213
|
if (!e.querySelector(c)) {
|
|
11208
11214
|
const h = t.createElementFn("script");
|
|
11209
11215
|
h.setAttribute("src", Zo), h.setAttribute("async", ""), Zt(e).appendChild(h), n?.();
|
|
11210
11216
|
}
|
|
11211
11217
|
}
|
|
11212
|
-
t.injectRequiredTags && (
|
|
11213
|
-
const a = await ti(), s = await
|
|
11218
|
+
t.injectRequiredTags && (jp(e, t.createElementFn, i), Op(e), xp(e), Ip(e), n?.()), t.replaceStylesAndLinks && (Cp(e), n?.());
|
|
11219
|
+
const a = await ti(), s = await zp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11214
11220
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11215
11221
|
c = i(c);
|
|
11216
11222
|
let w = [...e.querySelectorAll(c)].filter((k) => !u.has(k));
|
|
@@ -11230,7 +11236,7 @@ ${i.join("")}
|
|
|
11230
11236
|
if (t.injectExtensions && h.requiresExtension) for (const M of h.requiresExtension) r.add(M);
|
|
11231
11237
|
const w = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11232
11238
|
w && (!c.parentNode || t.moveInvalidTagPosition) ? w !== c.parentNode && (h.name === "HEAD" || et(w) && w.tagName === "HEAD" ? w.insertBefore(c, w.firstChild) : w.appendChild(c)) : c.parentNode || e.body.appendChild(c), t.removeUnsupportedTags && l.delete(c), n?.();
|
|
11233
|
-
const k = await
|
|
11239
|
+
const k = await Hp();
|
|
11234
11240
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11235
11241
|
const M = h.attrs, _ = t.injectRequiredAttributes ? new Set([...M].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
|
|
11236
11242
|
for (const d of C) {
|
|
@@ -11325,7 +11331,7 @@ ${i.join("")}
|
|
|
11325
11331
|
k(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (w(x.style), x.style.cssText || d.deleteRule(y)) : M(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
|
|
11326
11332
|
}
|
|
11327
11333
|
};
|
|
11328
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11334
|
+
const c = e.querySelectorAll("*"), h = await Bp();
|
|
11329
11335
|
for (const d of c) if (Si(d)) {
|
|
11330
11336
|
const f = d.getAttribute("style");
|
|
11331
11337
|
f && (w(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
@@ -11337,14 +11343,14 @@ ${i.join("")}
|
|
|
11337
11343
|
`)), n?.();
|
|
11338
11344
|
}
|
|
11339
11345
|
}
|
|
11340
|
-
await
|
|
11346
|
+
await Fp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11341
11347
|
}
|
|
11342
11348
|
function Ko(e, t) {
|
|
11343
11349
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
11344
11350
|
}
|
|
11345
|
-
function
|
|
11351
|
+
function Wp(e, t = {}) {
|
|
11346
11352
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
11347
|
-
return
|
|
11353
|
+
return $p(e, {
|
|
11348
11354
|
replaceImages: r,
|
|
11349
11355
|
replaceStylesAndLinks: r,
|
|
11350
11356
|
injectRequiredTags: r,
|
|
@@ -11360,14 +11366,14 @@ ${i.join("")}
|
|
|
11360
11366
|
commit: t.commit
|
|
11361
11367
|
});
|
|
11362
11368
|
}
|
|
11363
|
-
function
|
|
11369
|
+
function Qp(e, t = {}) {
|
|
11364
11370
|
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, s = (u) => e.createElement(i[u.toLowerCase()] || u), l = (u) => Ko(u, i);
|
|
11365
11371
|
if (r) {
|
|
11366
|
-
|
|
11372
|
+
Mp(e), Pp(e), kp(e), Sp(e);
|
|
11367
11373
|
const u = $o(e);
|
|
11368
11374
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11369
11375
|
}
|
|
11370
|
-
n && (
|
|
11376
|
+
n && (Up(e, {
|
|
11371
11377
|
formsAsAmpForms: t.removeExtensions,
|
|
11372
11378
|
createElementFn: s,
|
|
11373
11379
|
replaceSelectors: l
|
|
@@ -11391,7 +11397,7 @@ ${i.join("")}
|
|
|
11391
11397
|
}), Object.defineProperty(L, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11392
11398
|
enumerable: !0,
|
|
11393
11399
|
get: function() {
|
|
11394
|
-
return
|
|
11400
|
+
return bu;
|
|
11395
11401
|
}
|
|
11396
11402
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11397
11403
|
enumerable: !0,
|
|
@@ -11411,7 +11417,7 @@ ${i.join("")}
|
|
|
11411
11417
|
}), Object.defineProperty(L, "ListenerUpdater", {
|
|
11412
11418
|
enumerable: !0,
|
|
11413
11419
|
get: function() {
|
|
11414
|
-
return
|
|
11420
|
+
return uu;
|
|
11415
11421
|
}
|
|
11416
11422
|
}), Object.defineProperty(L, "PLUGIN_REGISTRY_ID", {
|
|
11417
11423
|
enumerable: !0,
|
|
@@ -11431,7 +11437,7 @@ ${i.join("")}
|
|
|
11431
11437
|
}), Object.defineProperty(L, "amp2html", {
|
|
11432
11438
|
enumerable: !0,
|
|
11433
11439
|
get: function() {
|
|
11434
|
-
return
|
|
11440
|
+
return Qp;
|
|
11435
11441
|
}
|
|
11436
11442
|
}), Object.defineProperty(L, "changeHtml", {
|
|
11437
11443
|
enumerable: !0,
|
|
@@ -11461,7 +11467,7 @@ ${i.join("")}
|
|
|
11461
11467
|
}), Object.defineProperty(L, "createStore", {
|
|
11462
11468
|
enumerable: !0,
|
|
11463
11469
|
get: function() {
|
|
11464
|
-
return
|
|
11470
|
+
return Jc;
|
|
11465
11471
|
}
|
|
11466
11472
|
}), Object.defineProperty(L, "emailRawApi", {
|
|
11467
11473
|
enumerable: !0,
|
|
@@ -11471,22 +11477,22 @@ ${i.join("")}
|
|
|
11471
11477
|
}), Object.defineProperty(L, "extractDocumentTextContent", {
|
|
11472
11478
|
enumerable: !0,
|
|
11473
11479
|
get: function() {
|
|
11474
|
-
return
|
|
11480
|
+
return wp;
|
|
11475
11481
|
}
|
|
11476
11482
|
}), Object.defineProperty(L, "extractServerProjectIdFromToken", {
|
|
11477
11483
|
enumerable: !0,
|
|
11478
11484
|
get: function() {
|
|
11479
|
-
return
|
|
11485
|
+
return au;
|
|
11480
11486
|
}
|
|
11481
11487
|
}), Object.defineProperty(L, "findShadowRoot", {
|
|
11482
11488
|
enumerable: !0,
|
|
11483
11489
|
get: function() {
|
|
11484
|
-
return
|
|
11490
|
+
return id;
|
|
11485
11491
|
}
|
|
11486
11492
|
}), Object.defineProperty(L, "getEML", {
|
|
11487
11493
|
enumerable: !0,
|
|
11488
11494
|
get: function() {
|
|
11489
|
-
return
|
|
11495
|
+
return ap;
|
|
11490
11496
|
}
|
|
11491
11497
|
}), Object.defineProperty(L, "getElementInnerHTML", {
|
|
11492
11498
|
enumerable: !0,
|
|
@@ -11496,7 +11502,7 @@ ${i.join("")}
|
|
|
11496
11502
|
}), Object.defineProperty(L, "getElementStartHtml_VDOM", {
|
|
11497
11503
|
enumerable: !0,
|
|
11498
11504
|
get: function() {
|
|
11499
|
-
return
|
|
11505
|
+
return Vu;
|
|
11500
11506
|
}
|
|
11501
11507
|
}), Object.defineProperty(L, "getFileNameAndExt", {
|
|
11502
11508
|
enumerable: !0,
|
|
@@ -11506,7 +11512,7 @@ ${i.join("")}
|
|
|
11506
11512
|
}), Object.defineProperty(L, "getFileNameWithExt", {
|
|
11507
11513
|
enumerable: !0,
|
|
11508
11514
|
get: function() {
|
|
11509
|
-
return
|
|
11515
|
+
return op;
|
|
11510
11516
|
}
|
|
11511
11517
|
}), Object.defineProperty(L, "getImageByUrl", {
|
|
11512
11518
|
enumerable: !0,
|
|
@@ -11521,22 +11527,22 @@ ${i.join("")}
|
|
|
11521
11527
|
}), Object.defineProperty(L, "getSaveTimeoutMs", {
|
|
11522
11528
|
enumerable: !0,
|
|
11523
11529
|
get: function() {
|
|
11524
|
-
return
|
|
11530
|
+
return _u;
|
|
11525
11531
|
}
|
|
11526
11532
|
}), Object.defineProperty(L, "html2amp", {
|
|
11527
11533
|
enumerable: !0,
|
|
11528
11534
|
get: function() {
|
|
11529
|
-
return
|
|
11535
|
+
return Wp;
|
|
11530
11536
|
}
|
|
11531
11537
|
}), Object.defineProperty(L, "htmlFilesToZip", {
|
|
11532
11538
|
enumerable: !0,
|
|
11533
11539
|
get: function() {
|
|
11534
|
-
return
|
|
11540
|
+
return _p;
|
|
11535
11541
|
}
|
|
11536
11542
|
}), Object.defineProperty(L, "htmlToFilesData", {
|
|
11537
11543
|
enumerable: !0,
|
|
11538
11544
|
get: function() {
|
|
11539
|
-
return
|
|
11545
|
+
return bp;
|
|
11540
11546
|
}
|
|
11541
11547
|
}), Object.defineProperty(L, "imageToBlob", {
|
|
11542
11548
|
enumerable: !0,
|
|
@@ -11546,12 +11552,12 @@ ${i.join("")}
|
|
|
11546
11552
|
}), Object.defineProperty(L, "injectStandaloneMocks", {
|
|
11547
11553
|
enumerable: !0,
|
|
11548
11554
|
get: function() {
|
|
11549
|
-
return
|
|
11555
|
+
return su;
|
|
11550
11556
|
}
|
|
11551
11557
|
}), Object.defineProperty(L, "installStandaloneMockGuard", {
|
|
11552
11558
|
enumerable: !0,
|
|
11553
11559
|
get: function() {
|
|
11554
|
-
return
|
|
11560
|
+
return cu;
|
|
11555
11561
|
}
|
|
11556
11562
|
}), Object.defineProperty(L, "isAmpElement", {
|
|
11557
11563
|
enumerable: !0,
|
|
@@ -11566,7 +11572,7 @@ ${i.join("")}
|
|
|
11566
11572
|
}), Object.defineProperty(L, "isDocumentFragment", {
|
|
11567
11573
|
enumerable: !0,
|
|
11568
11574
|
get: function() {
|
|
11569
|
-
return
|
|
11575
|
+
return ed;
|
|
11570
11576
|
}
|
|
11571
11577
|
}), Object.defineProperty(L, "isElement", {
|
|
11572
11578
|
enumerable: !0,
|
|
@@ -11576,7 +11582,7 @@ ${i.join("")}
|
|
|
11576
11582
|
}), Object.defineProperty(L, "isForm", {
|
|
11577
11583
|
enumerable: !0,
|
|
11578
11584
|
get: function() {
|
|
11579
|
-
return
|
|
11585
|
+
return Xu;
|
|
11580
11586
|
}
|
|
11581
11587
|
}), Object.defineProperty(L, "isTextNode", {
|
|
11582
11588
|
enumerable: !0,
|
|
@@ -11596,7 +11602,7 @@ ${i.join("")}
|
|
|
11596
11602
|
}), Object.defineProperty(L, "normalizeUrl", {
|
|
11597
11603
|
enumerable: !0,
|
|
11598
11604
|
get: function() {
|
|
11599
|
-
return
|
|
11605
|
+
return Md;
|
|
11600
11606
|
}
|
|
11601
11607
|
}), Object.defineProperty(L, "notificationsApi", {
|
|
11602
11608
|
enumerable: !0,
|
|
@@ -11611,22 +11617,22 @@ ${i.join("")}
|
|
|
11611
11617
|
}), Object.defineProperty(L, "pluginRegistry", {
|
|
11612
11618
|
enumerable: !0,
|
|
11613
11619
|
get: function() {
|
|
11614
|
-
return
|
|
11620
|
+
return wu;
|
|
11615
11621
|
}
|
|
11616
11622
|
}), Object.defineProperty(L, "prepareEmailHtmlForEditor", {
|
|
11617
11623
|
enumerable: !0,
|
|
11618
11624
|
get: function() {
|
|
11619
|
-
return
|
|
11625
|
+
return Qd;
|
|
11620
11626
|
}
|
|
11621
11627
|
}), Object.defineProperty(L, "prepareEvent", {
|
|
11622
11628
|
enumerable: !0,
|
|
11623
11629
|
get: function() {
|
|
11624
|
-
return
|
|
11630
|
+
return du;
|
|
11625
11631
|
}
|
|
11626
11632
|
}), Object.defineProperty(L, "prepareHTML", {
|
|
11627
11633
|
enumerable: !0,
|
|
11628
11634
|
get: function() {
|
|
11629
|
-
return
|
|
11635
|
+
return hp;
|
|
11630
11636
|
}
|
|
11631
11637
|
}), Object.defineProperty(L, "projectSettingsV2Api", {
|
|
11632
11638
|
enumerable: !0,
|
|
@@ -11638,6 +11644,11 @@ ${i.join("")}
|
|
|
11638
11644
|
get: function() {
|
|
11639
11645
|
return Nt;
|
|
11640
11646
|
}
|
|
11647
|
+
}), Object.defineProperty(L, "promoteNewEmailAfterSave", {
|
|
11648
|
+
enumerable: !0,
|
|
11649
|
+
get: function() {
|
|
11650
|
+
return Cc;
|
|
11651
|
+
}
|
|
11641
11652
|
}), Object.defineProperty(L, "proxyApi", {
|
|
11642
11653
|
enumerable: !0,
|
|
11643
11654
|
get: function() {
|
|
@@ -11656,7 +11667,7 @@ ${i.join("")}
|
|
|
11656
11667
|
}), Object.defineProperty(L, "removeEmailFromList", {
|
|
11657
11668
|
enumerable: !0,
|
|
11658
11669
|
get: function() {
|
|
11659
|
-
return
|
|
11670
|
+
return Lc;
|
|
11660
11671
|
}
|
|
11661
11672
|
}), Object.defineProperty(L, "replaceImagesInDocument", {
|
|
11662
11673
|
enumerable: !0,
|
|
@@ -11676,17 +11687,17 @@ ${i.join("")}
|
|
|
11676
11687
|
}), Object.defineProperty(L, "resetElementHistorySlice", {
|
|
11677
11688
|
enumerable: !0,
|
|
11678
11689
|
get: function() {
|
|
11679
|
-
return
|
|
11690
|
+
return Vc;
|
|
11680
11691
|
}
|
|
11681
11692
|
}), Object.defineProperty(L, "resetElementsList", {
|
|
11682
11693
|
enumerable: !0,
|
|
11683
11694
|
get: function() {
|
|
11684
|
-
return
|
|
11695
|
+
return Dc;
|
|
11685
11696
|
}
|
|
11686
11697
|
}), Object.defineProperty(L, "resetNewBlockSlice", {
|
|
11687
11698
|
enumerable: !0,
|
|
11688
11699
|
get: function() {
|
|
11689
|
-
return
|
|
11700
|
+
return Nc;
|
|
11690
11701
|
}
|
|
11691
11702
|
}), Object.defineProperty(L, "resetNewEmailSlice", {
|
|
11692
11703
|
enumerable: !0,
|
|
@@ -11696,12 +11707,12 @@ ${i.join("")}
|
|
|
11696
11707
|
}), Object.defineProperty(L, "resetPagesAndTotal", {
|
|
11697
11708
|
enumerable: !0,
|
|
11698
11709
|
get: function() {
|
|
11699
|
-
return
|
|
11710
|
+
return Ic;
|
|
11700
11711
|
}
|
|
11701
11712
|
}), Object.defineProperty(L, "resolveTemplateDirectivesConfig", {
|
|
11702
11713
|
enumerable: !0,
|
|
11703
11714
|
get: function() {
|
|
11704
|
-
return
|
|
11715
|
+
return Uu;
|
|
11705
11716
|
}
|
|
11706
11717
|
}), Object.defineProperty(L, "sanitizeFileName", {
|
|
11707
11718
|
enumerable: !0,
|
|
@@ -11716,87 +11727,87 @@ ${i.join("")}
|
|
|
11716
11727
|
}), Object.defineProperty(L, "selectBlocksTotal", {
|
|
11717
11728
|
enumerable: !0,
|
|
11718
11729
|
get: function() {
|
|
11719
|
-
return
|
|
11730
|
+
return $c;
|
|
11720
11731
|
}
|
|
11721
11732
|
}), Object.defineProperty(L, "selectCustomFolders", {
|
|
11722
11733
|
enumerable: !0,
|
|
11723
11734
|
get: function() {
|
|
11724
|
-
return
|
|
11735
|
+
return Bc;
|
|
11725
11736
|
}
|
|
11726
11737
|
}), Object.defineProperty(L, "selectElementHistoryTotalPages", {
|
|
11727
11738
|
enumerable: !0,
|
|
11728
11739
|
get: function() {
|
|
11729
|
-
return
|
|
11740
|
+
return Gc;
|
|
11730
11741
|
}
|
|
11731
11742
|
}), Object.defineProperty(L, "selectElementsList", {
|
|
11732
11743
|
enumerable: !0,
|
|
11733
11744
|
get: function() {
|
|
11734
|
-
return
|
|
11745
|
+
return zc;
|
|
11735
11746
|
}
|
|
11736
11747
|
}), Object.defineProperty(L, "selectElementsTrashList", {
|
|
11737
11748
|
enumerable: !0,
|
|
11738
11749
|
get: function() {
|
|
11739
|
-
return
|
|
11750
|
+
return Hc;
|
|
11740
11751
|
}
|
|
11741
11752
|
}), Object.defineProperty(L, "selectElementsView", {
|
|
11742
11753
|
enumerable: !0,
|
|
11743
11754
|
get: function() {
|
|
11744
|
-
return
|
|
11755
|
+
return Uc;
|
|
11745
11756
|
}
|
|
11746
11757
|
}), Object.defineProperty(L, "selectEmailsTotal", {
|
|
11747
11758
|
enumerable: !0,
|
|
11748
11759
|
get: function() {
|
|
11749
|
-
return
|
|
11760
|
+
return Fc;
|
|
11750
11761
|
}
|
|
11751
11762
|
}), Object.defineProperty(L, "selectEmailsTrashTotal", {
|
|
11752
11763
|
enumerable: !0,
|
|
11753
11764
|
get: function() {
|
|
11754
|
-
return
|
|
11765
|
+
return qc;
|
|
11755
11766
|
}
|
|
11756
11767
|
}), Object.defineProperty(L, "selectHistoryData", {
|
|
11757
11768
|
enumerable: !0,
|
|
11758
11769
|
get: function() {
|
|
11759
|
-
return
|
|
11770
|
+
return Zc;
|
|
11760
11771
|
}
|
|
11761
11772
|
}), Object.defineProperty(L, "selectNewBlockHasChanged", {
|
|
11762
11773
|
enumerable: !0,
|
|
11763
11774
|
get: function() {
|
|
11764
|
-
return
|
|
11775
|
+
return Mc;
|
|
11765
11776
|
}
|
|
11766
11777
|
}), Object.defineProperty(L, "selectNewEmailAppliedShowToken", {
|
|
11767
11778
|
enumerable: !0,
|
|
11768
11779
|
get: function() {
|
|
11769
|
-
return
|
|
11780
|
+
return Tc;
|
|
11770
11781
|
}
|
|
11771
11782
|
}), Object.defineProperty(L, "selectNewEmailHasChanged", {
|
|
11772
11783
|
enumerable: !0,
|
|
11773
11784
|
get: function() {
|
|
11774
|
-
return
|
|
11785
|
+
return Oc;
|
|
11775
11786
|
}
|
|
11776
11787
|
}), Object.defineProperty(L, "selectNewEmailSettings", {
|
|
11777
11788
|
enumerable: !0,
|
|
11778
11789
|
get: function() {
|
|
11779
|
-
return
|
|
11790
|
+
return kc;
|
|
11780
11791
|
}
|
|
11781
11792
|
}), Object.defineProperty(L, "selectParentEmailBlocksTotal", {
|
|
11782
11793
|
enumerable: !0,
|
|
11783
11794
|
get: function() {
|
|
11784
|
-
return
|
|
11795
|
+
return Qc;
|
|
11785
11796
|
}
|
|
11786
11797
|
}), Object.defineProperty(L, "selectTemplateBlocksTotal", {
|
|
11787
11798
|
enumerable: !0,
|
|
11788
11799
|
get: function() {
|
|
11789
|
-
return
|
|
11800
|
+
return Wc;
|
|
11790
11801
|
}
|
|
11791
11802
|
}), Object.defineProperty(L, "setNewBlockDescription", {
|
|
11792
11803
|
enumerable: !0,
|
|
11793
11804
|
get: function() {
|
|
11794
|
-
return
|
|
11805
|
+
return Pc;
|
|
11795
11806
|
}
|
|
11796
11807
|
}), Object.defineProperty(L, "setNewBlockTags", {
|
|
11797
11808
|
enumerable: !0,
|
|
11798
11809
|
get: function() {
|
|
11799
|
-
return
|
|
11810
|
+
return Rc;
|
|
11800
11811
|
}
|
|
11801
11812
|
}), Object.defineProperty(L, "setNewEmailAll", {
|
|
11802
11813
|
enumerable: !0,
|
|
@@ -11891,7 +11902,7 @@ ${i.join("")}
|
|
|
11891
11902
|
}), Object.defineProperty(L, "syncStandaloneProjectState", {
|
|
11892
11903
|
enumerable: !0,
|
|
11893
11904
|
get: function() {
|
|
11894
|
-
return
|
|
11905
|
+
return ou;
|
|
11895
11906
|
}
|
|
11896
11907
|
}), Object.defineProperty(L, "throwIfAborted", {
|
|
11897
11908
|
enumerable: !0,
|
|
@@ -11906,7 +11917,7 @@ ${i.join("")}
|
|
|
11906
11917
|
}), Object.defineProperty(L, "toggleElementsView", {
|
|
11907
11918
|
enumerable: !0,
|
|
11908
11919
|
get: function() {
|
|
11909
|
-
return
|
|
11920
|
+
return jc;
|
|
11910
11921
|
}
|
|
11911
11922
|
}), Object.defineProperty(L, "tokenApi", {
|
|
11912
11923
|
enumerable: !0,
|