useblocks 1.1.45 → 1.1.46
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.CVC2Iq48.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.4N5s3OV-.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{5e0828e3.js → 350eac23.js} +3 -3
- package/static/core/{2f2019c1.js → 35e13192.js} +253 -239
- package/static/core/{bc098620.js → 4a2af478.js} +3 -3
- package/static/core/{ed0ecf0a.js → 4eb628d3.js} +5 -5
- package/static/core/{d14cb6e2.js → 526b23c2.js} +7 -7
- package/static/core/{48b80eec.js → 6b8432a3.js} +3 -3
- package/static/core/{b7a9d262.js → 6df04323.js} +248 -248
- package/static/core/{94f2c0df.js → 6e2d88d5.js} +8959 -8844
- package/static/core/{6450546e2.js → 90ec6d2b2.js} +7 -7
- package/static/core/{632d894f.js → 9421a704.js} +3 -3
- package/static/core/{fd4fa049.js → 9c1c1b89.js} +4 -4
- package/static/core/{ff830d19.js → 9c79239d.js} +899 -882
- package/static/core/{7d884291.js → a321a57d.js} +32 -32
- package/static/core/{8c84cc76.js → b8b730b2.js} +15 -15
- package/static/core/{af153381.js → b9529b8a.js} +6405 -6131
- package/static/core/{cb72ea5e.js → cc8f145d.js} +86 -86
- package/static/core/{bb774fb9.js → cefd6620.js} +636 -603
- package/static/core/df0652cc.js +1119 -0
- package/two_step_headless_plugin.html +1 -1
- package/{useblocks-core.ecd1a3b0.js → useblocks-core.2116f1b9.js} +6 -6
- package/useblocks-esm.js +5 -4
- package/useblocks.d.ts +6 -0
- package/useblocks.js +5 -4
- package/static/core/c28bc42e.js +0 -46
- /package/iframe/{iframe-eblock.ecd1a3b0.html → iframe-eblock.2116f1b9.html} +0 -0
- /package/iframe/{iframe.ecd1a3b0.html → iframe.2116f1b9.html} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__useblocks__.define("static/core/
|
|
1
|
+
__useblocks__.define("static/core/cefd6620.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
@@ -12,9 +12,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
12
12
|
const me = Tt("./bd36b180.js"), Mr = Tt("./ec11f92f.js");
|
|
13
13
|
let M = Tt("react");
|
|
14
14
|
M = me.__toESM(M);
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
let
|
|
15
|
+
let ya = Tt("prop-types");
|
|
16
|
+
ya = me.__toESM(ya);
|
|
17
|
+
let va = Tt("react-dom"), Rn = Tt("react-router-dom");
|
|
18
18
|
var be = class Bu {
|
|
19
19
|
_inner;
|
|
20
20
|
_isDisposed = !1;
|
|
@@ -46,7 +46,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
46
46
|
function Lr(e) {
|
|
47
47
|
return `service_container_${e}`;
|
|
48
48
|
}
|
|
49
|
-
var Bt = class
|
|
49
|
+
var Bt = class ha extends be {
|
|
50
50
|
_parent;
|
|
51
51
|
_injectCallbacks = [];
|
|
52
52
|
_injections = Object.create(null);
|
|
@@ -113,41 +113,41 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
113
113
|
return [...this.getInstance(r, !1) || [], ...this._parent?.getServices(t) || []];
|
|
114
114
|
}
|
|
115
115
|
createChild() {
|
|
116
|
-
return new
|
|
116
|
+
return new ha(this);
|
|
117
117
|
}
|
|
118
118
|
getOrCreateIsolatedContainer(t) {
|
|
119
119
|
return this.getOrCreateInstance(t, () => {
|
|
120
120
|
const r = this._parent?.getOrCreateIsolatedContainer(t);
|
|
121
|
-
return new
|
|
121
|
+
return new ha(r);
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
dispose() {
|
|
125
125
|
this._injections = Object.create(null);
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
|
-
function
|
|
128
|
+
function Mn(e) {
|
|
129
129
|
return e.startsWith("__") ? e : `__${e}__`;
|
|
130
130
|
}
|
|
131
131
|
function Fu(e) {
|
|
132
132
|
if (typeof globalThis > "u") throw new Error("[di] globalThis is required for namespace container access.");
|
|
133
|
-
const t =
|
|
133
|
+
const t = Mn(e), r = globalThis;
|
|
134
134
|
return r[t] ??= {};
|
|
135
135
|
}
|
|
136
136
|
function Uu(e) {
|
|
137
137
|
return e != null && typeof e == "object" && typeof e.inject == "function" && typeof e.getInstance == "function";
|
|
138
138
|
}
|
|
139
139
|
function Hu(e) {
|
|
140
|
-
if (e) return
|
|
141
|
-
return
|
|
140
|
+
if (e) return Mn(e);
|
|
141
|
+
return Mn("useblocks".trim());
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ga(e) {
|
|
144
144
|
const t = Fu(Hu(e));
|
|
145
145
|
if (Uu(t.container)) return t.container;
|
|
146
146
|
const r = new Bt(null);
|
|
147
147
|
return t.container = r, r;
|
|
148
148
|
}
|
|
149
149
|
function Qu(e) {
|
|
150
|
-
return
|
|
150
|
+
return ga(e);
|
|
151
151
|
}
|
|
152
152
|
function zu() {
|
|
153
153
|
let e = new Date().getTime(), t = typeof performance < "u" && performance.now && performance.now() * 1e3 || 0;
|
|
@@ -162,12 +162,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
162
162
|
function W(e = Qe()) {
|
|
163
163
|
return e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function _a() {
|
|
166
166
|
return "core".trim();
|
|
167
167
|
}
|
|
168
168
|
function Ku(e) {
|
|
169
169
|
if (typeof globalThis > "u") return;
|
|
170
|
-
const t =
|
|
170
|
+
const t = _a(), r = globalThis[e] ?? {};
|
|
171
171
|
globalThis[e] = r;
|
|
172
172
|
const n = r.__diagnostics ??= {}, o = n.diModuleEval ??= {
|
|
173
173
|
evalCount: 0,
|
|
@@ -187,7 +187,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
187
187
|
}
|
|
188
188
|
function Wu(e, t) {
|
|
189
189
|
if (Ku(t), typeof globalThis > "u") return e;
|
|
190
|
-
const r =
|
|
190
|
+
const r = _a(), n = globalThis, o = n[t] = n[t] || {}, a = o.__diagnostics = o.__diagnostics || {}, i = a.dependencyResolver = a.dependencyResolver || {
|
|
191
191
|
entries: [],
|
|
192
192
|
warnings: []
|
|
193
193
|
}, u = {
|
|
@@ -216,12 +216,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
216
216
|
function Xu() {
|
|
217
217
|
if (kr) return kr;
|
|
218
218
|
const e = Vu();
|
|
219
|
-
return kr = Wu(
|
|
219
|
+
return kr = Wu(ga(e), e), kr;
|
|
220
220
|
}
|
|
221
221
|
var ft = new Proxy({}, { get(e, t, r) {
|
|
222
222
|
const n = Xu(), o = Reflect.get(n, t, r);
|
|
223
223
|
return typeof o == "function" ? o.bind(n) : o;
|
|
224
|
-
} }),
|
|
224
|
+
} }), ba = class extends be {
|
|
225
225
|
_options;
|
|
226
226
|
_listeners = [];
|
|
227
227
|
constructor(e = {}) {
|
|
@@ -256,7 +256,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
256
256
|
dispose() {
|
|
257
257
|
this._listeners.splice(0, this._listeners.length), this._options.onLastListenerRemove && this._options.onLastListenerRemove(), super.dispose();
|
|
258
258
|
}
|
|
259
|
-
}, St = class extends
|
|
259
|
+
}, St = class extends ba {
|
|
260
260
|
execute(e, t) {
|
|
261
261
|
for (const r of t) try {
|
|
262
262
|
r(...e);
|
|
@@ -299,7 +299,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
function Zu(e, t = 0) {
|
|
302
|
-
const r = new
|
|
302
|
+
const r = new ba(), n = e(r, t);
|
|
303
303
|
return n && r.addDisposable(n), r.event;
|
|
304
304
|
}
|
|
305
305
|
function el(e, t, r = 0) {
|
|
@@ -338,17 +338,17 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
338
338
|
}
|
|
339
339
|
return e;
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, Ea = W("ELEMENT_INSERT_HTML_PIPELINE"), wa = W("BLOCK_INSERT_HTML_PIPELINE");
|
|
342
342
|
function rl(e) {
|
|
343
|
-
return e.getOrCreateInstance(
|
|
343
|
+
return e.getOrCreateInstance(Ea, () => new Nr());
|
|
344
344
|
}
|
|
345
345
|
function nl(e) {
|
|
346
|
-
return e.getOrCreateInstance(
|
|
346
|
+
return e.getOrCreateInstance(wa, () => new Nr());
|
|
347
347
|
}
|
|
348
|
-
async function
|
|
348
|
+
async function Ta(e, t) {
|
|
349
349
|
return e ? rl(e).run({ ...t }) : t;
|
|
350
350
|
}
|
|
351
|
-
async function
|
|
351
|
+
async function Sa(e, t) {
|
|
352
352
|
return e ? nl(e).run({ ...t }) : t;
|
|
353
353
|
}
|
|
354
354
|
function ol(e) {
|
|
@@ -360,8 +360,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
360
360
|
function il(e, t) {
|
|
361
361
|
return e && typeof e == "object" && e.operationId === t;
|
|
362
362
|
}
|
|
363
|
-
var Ft = "INIT_MESSAGE",
|
|
364
|
-
function
|
|
363
|
+
var Ft = "INIT_MESSAGE", Ln = "";
|
|
364
|
+
function Pa() {
|
|
365
365
|
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
|
366
366
|
}
|
|
367
367
|
var sl = class extends be {
|
|
@@ -405,7 +405,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
405
405
|
_onReceiveMessage = (e) => {
|
|
406
406
|
const t = e.data;
|
|
407
407
|
if (al(t) && e.source == this.target || this._singleton && il(t, Ft)) {
|
|
408
|
-
const r = this._emitter.fireAsync(t.operationId ||
|
|
408
|
+
const r = this._emitter.fireAsync(t.operationId || Ln, t.operationId === void 0 ? e : t.data), n = t.result, o = t.error;
|
|
409
409
|
n && o && Promise.resolve(r).then((a) => this._sendMessage(n, a), (a) => this._sendMessage(o, a));
|
|
410
410
|
}
|
|
411
411
|
};
|
|
@@ -444,11 +444,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
444
444
|
}));
|
|
445
445
|
}
|
|
446
446
|
send(e, t, r) {
|
|
447
|
-
return typeof e == "string" ? this._sendMessage(e, t, r) : this._sendMessage(
|
|
447
|
+
return typeof e == "string" ? this._sendMessage(e, t, r) : this._sendMessage(Ln, e, t);
|
|
448
448
|
}
|
|
449
449
|
sendAsync(e, t, r = !0) {
|
|
450
450
|
if (!r && !this.isInited()) return Promise.resolve();
|
|
451
|
-
const n =
|
|
451
|
+
const n = Pa(), o = Pa();
|
|
452
452
|
return new Promise((a, i) => {
|
|
453
453
|
const u = this.addDisposable(new be());
|
|
454
454
|
u.addDisposable(this.onInit((s) => {
|
|
@@ -475,7 +475,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
475
475
|
return this._emitter.addListener(e, t, r);
|
|
476
476
|
}
|
|
477
477
|
addListener(e, t, r) {
|
|
478
|
-
return t ? this._onMessage(e, t, r) : this._onMessage(
|
|
478
|
+
return t ? this._onMessage(e, t, r) : this._onMessage(Ln, e);
|
|
479
479
|
}
|
|
480
480
|
addListenerAsyncPipe(e, t, r = 0) {
|
|
481
481
|
return this._emitter.addListenerAsync(e, t, r);
|
|
@@ -507,7 +507,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
507
507
|
function Ht(e) {
|
|
508
508
|
return W(e);
|
|
509
509
|
}
|
|
510
|
-
var Qt = W(),
|
|
510
|
+
var Qt = W(), Oa = Ht("HANDLE_ATOM_INSERT"), zt = W(), ul = "SANDBOX_EXTENSION_SCRIPT_STATUS", Kt = W("MESSAGE_SERVICE"), kn = Ht("SETTINGS_PANEL_EVENT"), Aa = "advanced", ja = Ht("MODAL_SHOW_EVENT"), Ia = Ht("MODAL_CLOSE_EVENT"), Ca = Ht("MODAL_UPDATE_EVENT"), ll = "application_block_inserted", cl = class {
|
|
511
511
|
_context;
|
|
512
512
|
constructor(e) {
|
|
513
513
|
this._context = e;
|
|
@@ -516,7 +516,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
516
516
|
return this._context.container;
|
|
517
517
|
}
|
|
518
518
|
handleBeforeInject(e, t, r) {
|
|
519
|
-
return this._container.getOrCreateInstance(
|
|
519
|
+
return this._container.getOrCreateInstance(wa, () => new Nr()).add(e, t ?? 0, r);
|
|
520
520
|
}
|
|
521
521
|
handleInject(e, t, r) {
|
|
522
522
|
const n = this._container.getOrCreateInstance(Kt, () => new Ut()), o = r ? e.bind(r) : e;
|
|
@@ -533,8 +533,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
533
533
|
get(e) {
|
|
534
534
|
return this._factories.get(e);
|
|
535
535
|
}
|
|
536
|
-
},
|
|
537
|
-
function fl(e, t =
|
|
536
|
+
}, Da = W("DomComponentRegistry");
|
|
537
|
+
function fl(e, t = Da) {
|
|
538
538
|
return ft.getOrCreateInstance(t, () => new dl());
|
|
539
539
|
}
|
|
540
540
|
function pl(e) {
|
|
@@ -549,7 +549,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
549
549
|
function hl(e) {
|
|
550
550
|
return typeof e == "object" && e !== null && "type" in e && "props" in e && !Pt(e);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Nn(e, t) {
|
|
553
553
|
return (0, M.createElement)(e, t);
|
|
554
554
|
}
|
|
555
555
|
function yl(e) {
|
|
@@ -619,12 +619,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
619
619
|
if (typeof e == "number" || typeof e == "boolean" || Pt(e)) return e;
|
|
620
620
|
if (typeof e == "string") {
|
|
621
621
|
const t = this.get(e);
|
|
622
|
-
return Pt(t) ? t : t ?
|
|
622
|
+
return Pt(t) ? t : t ? Nn(t) : e;
|
|
623
623
|
}
|
|
624
|
-
if (pl(e)) return
|
|
624
|
+
if (pl(e)) return Nn(e);
|
|
625
625
|
if (hl(e)) {
|
|
626
626
|
const t = this.get(e.type);
|
|
627
|
-
return Pt(t) ? t : t ?
|
|
627
|
+
return Pt(t) ? t : t ? Nn(t, e.props) : null;
|
|
628
628
|
}
|
|
629
629
|
return null;
|
|
630
630
|
}
|
|
@@ -637,7 +637,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
637
637
|
}
|
|
638
638
|
}, gl = W("ComponentRegistry");
|
|
639
639
|
function Ot(e, t = gl) {
|
|
640
|
-
return ft.getOrCreateInstance(t, () => new vl(fl(ft,
|
|
640
|
+
return ft.getOrCreateInstance(t, () => new vl(fl(ft, Da)));
|
|
641
641
|
}
|
|
642
642
|
function At(e, t) {
|
|
643
643
|
return e.getOrCreateInstance(t, () => new ze());
|
|
@@ -688,10 +688,10 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
688
688
|
} });
|
|
689
689
|
}
|
|
690
690
|
handleBeforeInject(e, t, r) {
|
|
691
|
-
return this._container.getOrCreateInstance(
|
|
691
|
+
return this._container.getOrCreateInstance(Ea, () => new Nr()).add(e, t ?? 0, r);
|
|
692
692
|
}
|
|
693
693
|
handleInject(e, t, r) {
|
|
694
|
-
return At(this._container,
|
|
694
|
+
return At(this._container, Oa).event((n) => {
|
|
695
695
|
e({
|
|
696
696
|
name: n.name,
|
|
697
697
|
className: n.className || "",
|
|
@@ -734,7 +734,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
734
734
|
constructor(e) {
|
|
735
735
|
this._context = e;
|
|
736
736
|
const t = e.container;
|
|
737
|
-
this._showModalEmitter = At(t,
|
|
737
|
+
this._showModalEmitter = At(t, ja), this._closeModalEmitter = At(t, Ia), this._updateModalEmitter = At(t, Ca);
|
|
738
738
|
}
|
|
739
739
|
get _container() {
|
|
740
740
|
return this._context.container;
|
|
@@ -897,7 +897,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
897
897
|
return this._createScriptHandle(e, r);
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
|
-
function
|
|
900
|
+
function qa() {
|
|
901
901
|
const e = globalThis.crypto;
|
|
902
902
|
if (e && typeof e.randomUUID == "function") return e.randomUUID();
|
|
903
903
|
if (e && typeof e.getRandomValues == "function") {
|
|
@@ -906,37 +906,37 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
906
906
|
}
|
|
907
907
|
return `nohwcrypto-${Date.now()}`;
|
|
908
908
|
}
|
|
909
|
-
function
|
|
910
|
-
return `__settingsPanel:${
|
|
909
|
+
function xn() {
|
|
910
|
+
return `__settingsPanel:${qa()}`;
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Gn(e, t) {
|
|
913
913
|
return {
|
|
914
914
|
type: e,
|
|
915
915
|
props: t
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function $n(e) {
|
|
919
919
|
return (0, M.isValidElement)(e);
|
|
920
920
|
}
|
|
921
921
|
function Pl(e) {
|
|
922
|
-
return typeof e == "object" && e !== null && "type" in e && "props" in e &&
|
|
922
|
+
return typeof e == "object" && e !== null && "type" in e && "props" in e && !$n(e);
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function Ra(e, t, r) {
|
|
925
925
|
if (t == null || typeof t == "number" || typeof t == "boolean" || typeof t == "string") return t;
|
|
926
|
-
if (
|
|
927
|
-
const n =
|
|
928
|
-
return r(e.add(n, t)),
|
|
926
|
+
if ($n(t)) {
|
|
927
|
+
const n = xn();
|
|
928
|
+
return r(e.add(n, t)), Gn(n, {});
|
|
929
929
|
}
|
|
930
930
|
if (typeof t == "function") {
|
|
931
|
-
const n =
|
|
932
|
-
return r(e.add(n, t)),
|
|
931
|
+
const n = xn();
|
|
932
|
+
return r(e.add(n, t)), Gn(n, {});
|
|
933
933
|
}
|
|
934
934
|
if (Pl(t)) {
|
|
935
935
|
const n = t.type;
|
|
936
936
|
if (typeof n == "string") return t;
|
|
937
|
-
if (
|
|
938
|
-
const o =
|
|
939
|
-
return r(e.add(o, n)),
|
|
937
|
+
if ($n(n) || typeof n == "function") {
|
|
938
|
+
const o = xn();
|
|
939
|
+
return r(e.add(o, n)), Gn(o, t.props);
|
|
940
940
|
}
|
|
941
941
|
return t;
|
|
942
942
|
}
|
|
@@ -960,20 +960,20 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
960
960
|
}
|
|
961
961
|
showSettingsPanel(e) {
|
|
962
962
|
this._clearPanelRegistrations();
|
|
963
|
-
const t = Ot(this._container), r = (i) => this._trackRegistration(i), n =
|
|
963
|
+
const t = Ot(this._container), r = (i) => this._trackRegistration(i), n = Ra(t, e.content, r), o = e.advancedTabs?.map((i) => ({
|
|
964
964
|
...i,
|
|
965
|
-
content:
|
|
966
|
-
})), a = e.instanceKey ??
|
|
967
|
-
At(this._container,
|
|
965
|
+
content: Ra(t, i.content, r)
|
|
966
|
+
})), a = e.instanceKey ?? qa();
|
|
967
|
+
At(this._container, kn).fire({
|
|
968
968
|
...e,
|
|
969
969
|
content: n,
|
|
970
970
|
advancedTabs: o,
|
|
971
971
|
instanceKey: a,
|
|
972
|
-
type:
|
|
972
|
+
type: Aa
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
975
|
closeSettingsPanel() {
|
|
976
|
-
this._clearPanelRegistrations(), At(this._container,
|
|
976
|
+
this._clearPanelRegistrations(), At(this._container, kn).fire(null);
|
|
977
977
|
}
|
|
978
978
|
}, Al = {
|
|
979
979
|
SandboxScriptApi: Sl,
|
|
@@ -1003,7 +1003,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
1003
1003
|
meta: jl(e)
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function Bn(e, t) {
|
|
1007
1007
|
return t ? Il(t, e) : {
|
|
1008
1008
|
type: e.type,
|
|
1009
1009
|
name: e.name,
|
|
@@ -1015,17 +1015,17 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
1015
1015
|
function X(e) {
|
|
1016
1016
|
return W(e);
|
|
1017
1017
|
}
|
|
1018
|
-
var
|
|
1018
|
+
var Fn;
|
|
1019
1019
|
(function(e) {
|
|
1020
1020
|
e.BEFORE_SAVE_EMAIL = X(), e.ON_SAVEBUTTON_CLICK_ID = X(), e.ON_NEXTBUTTON_CLICK_ID = X(), e.ON_PREVIOUSBUTTON_CLICK_ID = X(), e.ON_MODEL_CHANGE = X(), e.WILL_EMAIL_INIT_ID = X(), e.ON_EMAIL_INIT_ID = X(), e.ON_BLOCK_INIT_ID = X(), e.ON_CONTENT_CHANGED_ID = X(), e.ON_PREHEADER_CHANGED_ID = X(), e.ON_SUBJECT_CHANGED_ID = X(), e.ON_EMAIL_CHANGED_ID = X(), e.ON_BLOCK_CHANGED_ID = X(), e.ON_CHUNKS_LOADED = X(), e.ON_SEND_TESTEMAIL_ID = X(), e.ON_SEND_LIVEPREVIEW_ID = X(), e.ON_SHARE_ID = X(), e.ON_SHOW_PREVIEW_ID = X(), e.ON_EMAIL_CLONE_ID = X(), e.ON_SEND_EMAIL_MODAL_ID = X(), e.ON_NOTIFICATION = X(), e.READ_LOCALE = X(), e.ON_TRANSLATE_ID = X(), e.ON_CODE_VALIDATE_ID = X(), e.UPLOAD_EVENT_ID = X(), e.PROXY_URL_EVENT_ID = X(), e.FILE_PROXY_EVENT_ID = X(), e.ON_LIMIT_ID = X(), e.ON_BROWSER_EXTENSION_DETECTED_ID = X(), e.ON_LAYOUT_CONVERT_REQUEST_ID = X(), e.ON_BROWSER_TRANSLATE_DETECTED_ID = X();
|
|
1021
|
-
})(
|
|
1021
|
+
})(Fn || (Fn = {}));
|
|
1022
1022
|
function Cl(e, t) {
|
|
1023
1023
|
return e.getOrCreateInstance(t, () => new ze()).event;
|
|
1024
1024
|
}
|
|
1025
1025
|
function Dl(e, t) {
|
|
1026
1026
|
return e.getOrCreateInstance(t, () => new ze());
|
|
1027
1027
|
}
|
|
1028
|
-
var ql = "Not implemented in plugin", Rl = W(),
|
|
1028
|
+
var ql = "Not implemented in plugin", Rl = W(), Ma = W(), Ml = W("InitPipelineContext"), Ll = W(), Un = W(), kl = W(), Nl = W(), Hn = W(), xl = W("PluginCollection"), Gl = X("APP_LOAD_EVENT"), $l = X("CONFIG_CHANGED_EVENT"), ge = (function(e) {
|
|
1029
1029
|
return e.Json = "application/json", e.FormData = "multipart/form-data", e.UrlEncoded = "application/x-www-form-urlencoded", e.Text = "text/plain", e;
|
|
1030
1030
|
})({}), Bl = class {
|
|
1031
1031
|
baseUrl = "https://api.emailmaker.ru/wp-json";
|
|
@@ -1713,64 +1713,6 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
1713
1713
|
type: "application/x-www-form-urlencoded",
|
|
1714
1714
|
...t
|
|
1715
1715
|
}),
|
|
1716
|
-
profile_options_list: (e = {}) => this.request({
|
|
1717
|
-
path: "/projects/v1/profile/options",
|
|
1718
|
-
method: "GET",
|
|
1719
|
-
...e
|
|
1720
|
-
}),
|
|
1721
|
-
profile_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1722
|
-
path: `/projects/v1/profile/${e}`,
|
|
1723
|
-
method: "GET",
|
|
1724
|
-
...r
|
|
1725
|
-
}),
|
|
1726
|
-
profile_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1727
|
-
path: `/projects/v1/profile/${e}`,
|
|
1728
|
-
method: "PATCH",
|
|
1729
|
-
...r
|
|
1730
|
-
}),
|
|
1731
|
-
storage_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1732
|
-
path: `/projects/v1/storage/${e}`,
|
|
1733
|
-
method: "GET",
|
|
1734
|
-
...r
|
|
1735
|
-
}),
|
|
1736
|
-
storage_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1737
|
-
path: `/projects/v1/storage/${e}`,
|
|
1738
|
-
method: "PATCH",
|
|
1739
|
-
...r
|
|
1740
|
-
}),
|
|
1741
|
-
storage_test_create: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1742
|
-
path: `/projects/v1/storage/${e}/test`,
|
|
1743
|
-
method: "POST",
|
|
1744
|
-
...r
|
|
1745
|
-
}),
|
|
1746
|
-
integrations_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1747
|
-
path: `/projects/v1/integrations/${e}`,
|
|
1748
|
-
method: "GET",
|
|
1749
|
-
query: t,
|
|
1750
|
-
...r
|
|
1751
|
-
}),
|
|
1752
|
-
integrations_partial_update: ({ projectId: e, ...t }, r, n = {}) => this.request({
|
|
1753
|
-
path: `/projects/v1/integrations/${e}`,
|
|
1754
|
-
method: "PATCH",
|
|
1755
|
-
body: r,
|
|
1756
|
-
type: "application/x-www-form-urlencoded",
|
|
1757
|
-
...n
|
|
1758
|
-
}),
|
|
1759
|
-
members_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1760
|
-
path: `/projects/v1/members/${e}`,
|
|
1761
|
-
method: "GET",
|
|
1762
|
-
...r
|
|
1763
|
-
}),
|
|
1764
|
-
social_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1765
|
-
path: `/projects/v1/social/${e}`,
|
|
1766
|
-
method: "GET",
|
|
1767
|
-
...r
|
|
1768
|
-
}),
|
|
1769
|
-
social_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1770
|
-
path: `/projects/v1/social/${e}`,
|
|
1771
|
-
method: "PATCH",
|
|
1772
|
-
...r
|
|
1773
|
-
}),
|
|
1774
1716
|
developer_credentials_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1775
1717
|
path: `/projects/v1/developer-credentials/${e}`,
|
|
1776
1718
|
method: "GET",
|
|
@@ -1823,6 +1765,61 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
1823
1765
|
method: "GET",
|
|
1824
1766
|
...r
|
|
1825
1767
|
}),
|
|
1768
|
+
profile_options_list: (e = {}) => this.request({
|
|
1769
|
+
path: "/projects/v1/profile/options",
|
|
1770
|
+
method: "GET",
|
|
1771
|
+
...e
|
|
1772
|
+
}),
|
|
1773
|
+
profile_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1774
|
+
path: `/projects/v1/profile/${e}`,
|
|
1775
|
+
method: "GET",
|
|
1776
|
+
format: "json",
|
|
1777
|
+
...r
|
|
1778
|
+
}),
|
|
1779
|
+
profile_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1780
|
+
path: `/projects/v1/profile/${e}`,
|
|
1781
|
+
method: "PATCH",
|
|
1782
|
+
format: "json",
|
|
1783
|
+
...r
|
|
1784
|
+
}),
|
|
1785
|
+
storage_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1786
|
+
path: `/projects/v1/storage/${e}`,
|
|
1787
|
+
method: "GET",
|
|
1788
|
+
format: "json",
|
|
1789
|
+
...r
|
|
1790
|
+
}),
|
|
1791
|
+
storage_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1792
|
+
path: `/projects/v1/storage/${e}`,
|
|
1793
|
+
method: "PATCH",
|
|
1794
|
+
format: "json",
|
|
1795
|
+
...r
|
|
1796
|
+
}),
|
|
1797
|
+
storage_test_create: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1798
|
+
path: `/projects/v1/storage/${e}/test`,
|
|
1799
|
+
method: "POST",
|
|
1800
|
+
...r
|
|
1801
|
+
}),
|
|
1802
|
+
integrations_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1803
|
+
path: `/projects/v1/integrations/${e}`,
|
|
1804
|
+
method: "GET",
|
|
1805
|
+
query: t,
|
|
1806
|
+
format: "json",
|
|
1807
|
+
...r
|
|
1808
|
+
}),
|
|
1809
|
+
integrations_partial_update: ({ projectId: e, ...t }, r, n = {}) => this.request({
|
|
1810
|
+
path: `/projects/v1/integrations/${e}`,
|
|
1811
|
+
method: "PATCH",
|
|
1812
|
+
body: r,
|
|
1813
|
+
type: "application/x-www-form-urlencoded",
|
|
1814
|
+
format: "json",
|
|
1815
|
+
...n
|
|
1816
|
+
}),
|
|
1817
|
+
members_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1818
|
+
path: `/projects/v1/members/${e}`,
|
|
1819
|
+
method: "GET",
|
|
1820
|
+
format: "json",
|
|
1821
|
+
...r
|
|
1822
|
+
}),
|
|
1826
1823
|
styles_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1827
1824
|
path: `/projects/v1/styles/${e}`,
|
|
1828
1825
|
method: "GET",
|
|
@@ -1840,6 +1837,18 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
1840
1837
|
method: "POST",
|
|
1841
1838
|
format: "json",
|
|
1842
1839
|
...r
|
|
1840
|
+
}),
|
|
1841
|
+
social_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1842
|
+
path: `/projects/v1/social/${e}`,
|
|
1843
|
+
method: "GET",
|
|
1844
|
+
format: "json",
|
|
1845
|
+
...r
|
|
1846
|
+
}),
|
|
1847
|
+
social_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1848
|
+
path: `/projects/v1/social/${e}`,
|
|
1849
|
+
method: "PATCH",
|
|
1850
|
+
format: "json",
|
|
1851
|
+
...r
|
|
1843
1852
|
})
|
|
1844
1853
|
};
|
|
1845
1854
|
wp = {
|
|
@@ -4484,6 +4493,19 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4484
4493
|
...t
|
|
4485
4494
|
})
|
|
4486
4495
|
};
|
|
4496
|
+
emMigration = {
|
|
4497
|
+
get_em_migration: (e, t = {}) => this.request({
|
|
4498
|
+
path: "/em-migration/v1",
|
|
4499
|
+
method: "GET",
|
|
4500
|
+
query: e,
|
|
4501
|
+
...t
|
|
4502
|
+
}),
|
|
4503
|
+
export_user_create: (e = {}) => this.request({
|
|
4504
|
+
path: "/em-migration/v1/export-user",
|
|
4505
|
+
method: "POST",
|
|
4506
|
+
...e
|
|
4507
|
+
})
|
|
4508
|
+
};
|
|
4487
4509
|
wpOpenapi = {
|
|
4488
4510
|
wp_openapi_list: (e, t = {}) => this.request({
|
|
4489
4511
|
path: "/wp-openapi",
|
|
@@ -4845,13 +4867,13 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4845
4867
|
...r
|
|
4846
4868
|
})
|
|
4847
4869
|
};
|
|
4848
|
-
}, xr = W("client"), Ul = W("ai_client"), Hl = W(),
|
|
4849
|
-
function
|
|
4870
|
+
}, xr = W("client"), Ul = W("ai_client"), Hl = W(), La = W(), ka = "INJECTION";
|
|
4871
|
+
function Qn(e) {
|
|
4850
4872
|
return e.getState;
|
|
4851
4873
|
}
|
|
4852
4874
|
function re(e) {
|
|
4853
|
-
if (
|
|
4854
|
-
const t = e.getState()[
|
|
4875
|
+
if (Qn(e)) {
|
|
4876
|
+
const t = e.getState()[ka];
|
|
4855
4877
|
return t && ft.getInstance(t);
|
|
4856
4878
|
} else return e;
|
|
4857
4879
|
}
|
|
@@ -4859,7 +4881,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4859
4881
|
function Gr(e, t) {
|
|
4860
4882
|
for (const r of e) if (r && t in r) return r[t];
|
|
4861
4883
|
}
|
|
4862
|
-
function
|
|
4884
|
+
function zn(e) {
|
|
4863
4885
|
return Object.assign({}, ...e);
|
|
4864
4886
|
}
|
|
4865
4887
|
var Na = [
|
|
@@ -4868,11 +4890,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4868
4890
|
"emFiles",
|
|
4869
4891
|
"cdn"
|
|
4870
4892
|
];
|
|
4871
|
-
function
|
|
4893
|
+
function Kn(e) {
|
|
4872
4894
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
4873
4895
|
}
|
|
4874
4896
|
function xa(e) {
|
|
4875
|
-
return !
|
|
4897
|
+
return !Kn(e) || "match" in e || "rewrite" in e || "proxyBase" in e ? !1 : Object.keys(e).some((t) => Na.includes(t));
|
|
4876
4898
|
}
|
|
4877
4899
|
function Ga(e) {
|
|
4878
4900
|
return e.length === 0 ? [] : e.length === 1 ? e[0] : e;
|
|
@@ -4889,7 +4911,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4889
4911
|
if (t) return Ga(r);
|
|
4890
4912
|
}
|
|
4891
4913
|
function Ql(e) {
|
|
4892
|
-
return
|
|
4914
|
+
return Kn(e) && ("value" in e || "replace" in e);
|
|
4893
4915
|
}
|
|
4894
4916
|
function Ba(e, t) {
|
|
4895
4917
|
return t === void 0 ? e : Array.isArray(t) ? [...t, ...e] : [t, ...e];
|
|
@@ -4929,7 +4951,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4929
4951
|
replace: !1,
|
|
4930
4952
|
hosts: e
|
|
4931
4953
|
};
|
|
4932
|
-
if (
|
|
4954
|
+
if (Kn(e) && Array.isArray(e.value)) return {
|
|
4933
4955
|
replace: !!e.replace,
|
|
4934
4956
|
hosts: e.value
|
|
4935
4957
|
};
|
|
@@ -4956,7 +4978,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
4956
4978
|
function Jl(e) {
|
|
4957
4979
|
const t = e.filter((o) => o !== void 0);
|
|
4958
4980
|
if (t.length === 0) return;
|
|
4959
|
-
const r =
|
|
4981
|
+
const r = zn(t.map(({ directHosts: o, ...a }) => a)), n = Xl(t.map((o) => o?.directHosts));
|
|
4960
4982
|
return n !== void 0 && (r.directHosts = n), r;
|
|
4961
4983
|
}
|
|
4962
4984
|
var Yl = 3e5, pt = new Map(), Vt = new Map(), Ua = new Set([
|
|
@@ -5063,13 +5085,13 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5063
5085
|
}
|
|
5064
5086
|
return r;
|
|
5065
5087
|
}
|
|
5066
|
-
function
|
|
5088
|
+
function Vn(e) {
|
|
5067
5089
|
return e?.backendProxy;
|
|
5068
5090
|
}
|
|
5069
5091
|
function Ke(e) {
|
|
5070
5092
|
return e.replace(/\/$/, "");
|
|
5071
5093
|
}
|
|
5072
|
-
function
|
|
5094
|
+
function Wn(e) {
|
|
5073
5095
|
return /^https?:\/\//i.test(e);
|
|
5074
5096
|
}
|
|
5075
5097
|
function hc(e) {
|
|
@@ -5078,11 +5100,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5078
5100
|
function Wt(e) {
|
|
5079
5101
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
5080
5102
|
}
|
|
5081
|
-
function
|
|
5103
|
+
function Xn(e) {
|
|
5082
5104
|
const t = new Set();
|
|
5083
5105
|
return e.filter((r) => !r.url || t.has(r.url) ? !1 : (t.add(r.url), !0));
|
|
5084
5106
|
}
|
|
5085
|
-
function
|
|
5107
|
+
function Jn() {
|
|
5086
5108
|
return "https://cdn.useblocks.io";
|
|
5087
5109
|
}
|
|
5088
5110
|
function za(e) {
|
|
@@ -5100,7 +5122,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5100
5122
|
return r ? za(r) ? Object.keys(r).filter((n) => Ua.has(n)).map((n) => Ka(r[n])).filter(Boolean) : [r] : [];
|
|
5101
5123
|
}
|
|
5102
5124
|
function yc(e) {
|
|
5103
|
-
const t =
|
|
5125
|
+
const t = Vn(e);
|
|
5104
5126
|
return t ? [t] : [];
|
|
5105
5127
|
}
|
|
5106
5128
|
function vc(e, t = !1) {
|
|
@@ -5176,7 +5198,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5176
5198
|
proxyAi: !1
|
|
5177
5199
|
};
|
|
5178
5200
|
}
|
|
5179
|
-
function
|
|
5201
|
+
function Yn(e, t, r, n = !1) {
|
|
5180
5202
|
const o = Xt(r, n);
|
|
5181
5203
|
if (t === "display") return e === "stockImages" ? o.proxyStockImages : o.proxyImgSrc;
|
|
5182
5204
|
switch (e) {
|
|
@@ -5187,7 +5209,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5187
5209
|
}
|
|
5188
5210
|
}
|
|
5189
5211
|
function Tc(e, t, r, n = !1) {
|
|
5190
|
-
return e === "stockImages" &&
|
|
5212
|
+
return e === "stockImages" && Yn("stockImages", t, r, n);
|
|
5191
5213
|
}
|
|
5192
5214
|
function Sc(e, t) {
|
|
5193
5215
|
const r = wc(t), n = t?.backendProxyPolicy;
|
|
@@ -5324,7 +5346,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5324
5346
|
}
|
|
5325
5347
|
function Fr(e, t) {
|
|
5326
5348
|
const r = Ke(e);
|
|
5327
|
-
return t ?
|
|
5349
|
+
return t ? Wn(t) ? t : t.startsWith("?") || t.startsWith("#") ? `${r}${t}` : `${r}${t.startsWith("/") ? "" : "/"}${t}` : r;
|
|
5328
5350
|
}
|
|
5329
5351
|
function Ya(e, t, r, n) {
|
|
5330
5352
|
const o = e.match;
|
|
@@ -5363,7 +5385,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5363
5385
|
resourceType: o,
|
|
5364
5386
|
intent: a,
|
|
5365
5387
|
...d
|
|
5366
|
-
}), S = p && !
|
|
5388
|
+
}), S = p && !Wn(b) ? Fr(p, b) : b;
|
|
5367
5389
|
return S.includes("{") && S.includes("}") ? Xe(S, t, d) : S;
|
|
5368
5390
|
})() : p ? Xe(Fr(p, m), t, d) : m.includes("{") && m.includes("}") ? Xe(m, t, d) : Br(m, t);
|
|
5369
5391
|
u.push({
|
|
@@ -5372,7 +5394,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5372
5394
|
source: n
|
|
5373
5395
|
});
|
|
5374
5396
|
});
|
|
5375
|
-
}),
|
|
5397
|
+
}), Xn(u);
|
|
5376
5398
|
}
|
|
5377
5399
|
function Za(e, t, r, n) {
|
|
5378
5400
|
const o = e.match;
|
|
@@ -5411,7 +5433,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5411
5433
|
method: r,
|
|
5412
5434
|
requestType: n,
|
|
5413
5435
|
...l
|
|
5414
|
-
}), _ = f && !
|
|
5436
|
+
}), _ = f && !Wn(g) ? Fr(f, g) : g;
|
|
5415
5437
|
return _.includes("{") && _.includes("}") ? Xe(_, t, l) : _;
|
|
5416
5438
|
})() : f ? Xe(Fr(f, d), t, l) : d.includes("{") && d.includes("}") ? Xe(d, t, l) : Br(d, t);
|
|
5417
5439
|
a.push({
|
|
@@ -5420,7 +5442,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5420
5442
|
source: "resource"
|
|
5421
5443
|
});
|
|
5422
5444
|
});
|
|
5423
|
-
}),
|
|
5445
|
+
}), Xn(a);
|
|
5424
5446
|
}
|
|
5425
5447
|
function Rc(e, t, r) {
|
|
5426
5448
|
return [e, ...r.map((n) => n.url)].join("|");
|
|
@@ -5479,11 +5501,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5479
5501
|
function xc(e) {
|
|
5480
5502
|
return Zl.test(e) || ec.test(e);
|
|
5481
5503
|
}
|
|
5482
|
-
function
|
|
5504
|
+
function Zn(e) {
|
|
5483
5505
|
return Nc(e) || xc(e);
|
|
5484
5506
|
}
|
|
5485
|
-
function
|
|
5486
|
-
const r =
|
|
5507
|
+
function eo(e, t) {
|
|
5508
|
+
const r = Jn();
|
|
5487
5509
|
return r && e.startsWith(Ke(r)) ? "cdn" : tc.test(e) || rc.test(e) ? "stockImages" : "generic";
|
|
5488
5510
|
}
|
|
5489
5511
|
function Gc(e) {
|
|
@@ -5510,7 +5532,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5510
5532
|
return null;
|
|
5511
5533
|
}
|
|
5512
5534
|
}
|
|
5513
|
-
function
|
|
5535
|
+
function to(e, t = []) {
|
|
5514
5536
|
return e == null || (Array.isArray(e) ? e : [e]).forEach((r) => {
|
|
5515
5537
|
if (r) {
|
|
5516
5538
|
if (typeof r == "string") {
|
|
@@ -5527,13 +5549,13 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5527
5549
|
}), t;
|
|
5528
5550
|
}
|
|
5529
5551
|
function Bc(e, t, r = !1) {
|
|
5530
|
-
return Wa(t, r).flatMap((n) =>
|
|
5552
|
+
return Wa(t, r).flatMap((n) => to(n)).filter(Boolean).some((n) => n && e.startsWith(n));
|
|
5531
5553
|
}
|
|
5532
5554
|
function Fc(e, t) {
|
|
5533
|
-
return yc(t).flatMap((r) =>
|
|
5555
|
+
return yc(t).flatMap((r) => to(r)).filter(Boolean).some((r) => r && e.startsWith(r));
|
|
5534
5556
|
}
|
|
5535
5557
|
function Uc(e, t, r = !1) {
|
|
5536
|
-
const n = Wa(t, r).flatMap((o) =>
|
|
5558
|
+
const n = Wa(t, r).flatMap((o) => to(o)).filter(Boolean);
|
|
5537
5559
|
for (const o of n) {
|
|
5538
5560
|
const a = $c(e, o);
|
|
5539
5561
|
if (a) return a;
|
|
@@ -5547,17 +5569,17 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5547
5569
|
return Uc(e, t, r) || e;
|
|
5548
5570
|
}
|
|
5549
5571
|
function Hc(e, t, r, n = !1) {
|
|
5550
|
-
return !!Va(r, e, n) &&
|
|
5572
|
+
return !!Va(r, e, n) && Yn(e, t, r, n);
|
|
5551
5573
|
}
|
|
5552
5574
|
function Qc(e, t) {
|
|
5553
|
-
return !!
|
|
5575
|
+
return !!Vn(t) && Sc(e, t);
|
|
5554
5576
|
}
|
|
5555
5577
|
function zc(e, t, r, n = !1) {
|
|
5556
|
-
return Qa(n) || t === "downloadBlob" ? !1 : e === "stockImages" ?
|
|
5578
|
+
return Qa(n) || t === "downloadBlob" ? !1 : e === "stockImages" ? Yn(e, t, r, n) : !1;
|
|
5557
5579
|
}
|
|
5558
5580
|
function Kc(e, t = {}) {
|
|
5559
|
-
const r = t.config, n = Yt(e, r, t.standalone), o = t.resourceType ||
|
|
5560
|
-
if (
|
|
5581
|
+
const r = t.config, n = Yt(e, r, t.standalone), o = t.resourceType || eo(n, r), a = t.intent || "display";
|
|
5582
|
+
if (Zn(n)) return {
|
|
5561
5583
|
resourceType: "generic",
|
|
5562
5584
|
intent: a,
|
|
5563
5585
|
candidates: []
|
|
@@ -5572,12 +5594,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5572
5594
|
}
|
|
5573
5595
|
function Vc(e, t = {}) {
|
|
5574
5596
|
const r = t.requestType || Gc(e);
|
|
5575
|
-
return Qc(r, t.config) ? qc(
|
|
5597
|
+
return Qc(r, t.config) ? qc(Vn(t.config), e, t.method, r) : [];
|
|
5576
5598
|
}
|
|
5577
5599
|
function Zt(e, t = {}, r) {
|
|
5578
5600
|
const n = t.intent || r;
|
|
5579
5601
|
if (oi(e, t.config, t.standalone)) {
|
|
5580
|
-
const s = Yt(e, t.config, t.standalone), l = t.resourceType ||
|
|
5602
|
+
const s = Yt(e, t.config, t.standalone), l = t.resourceType || eo(s, t.config), f = {
|
|
5581
5603
|
key: "already-proxied",
|
|
5582
5604
|
url: e,
|
|
5583
5605
|
source: "direct"
|
|
@@ -5591,8 +5613,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5591
5613
|
candidates: [f]
|
|
5592
5614
|
};
|
|
5593
5615
|
}
|
|
5594
|
-
const o = Yt(e, t.config, t.standalone), a = t.resourceType ||
|
|
5595
|
-
if (cc(n, i) && !
|
|
5616
|
+
const o = Yt(e, t.config, t.standalone), a = t.resourceType || eo(o, t.config), i = zc(a, n, t.config, t.standalone);
|
|
5617
|
+
if (cc(n, i) && !Zn(o) && !Tc(a, n, t.config, t.standalone)) {
|
|
5596
5618
|
const s = fc(o, Xt(t.config, t.standalone));
|
|
5597
5619
|
if (s) {
|
|
5598
5620
|
const l = {
|
|
@@ -5618,7 +5640,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5618
5640
|
});
|
|
5619
5641
|
return {
|
|
5620
5642
|
chain: u,
|
|
5621
|
-
candidates:
|
|
5643
|
+
candidates: Xn([...kc(u.stabilityKey, u.candidates), ...i ? [] : [{
|
|
5622
5644
|
key: "direct",
|
|
5623
5645
|
url: o,
|
|
5624
5646
|
source: "direct"
|
|
@@ -5680,7 +5702,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5680
5702
|
return e.length > 0 && e.every((t) => t.source === "direct");
|
|
5681
5703
|
}
|
|
5682
5704
|
function rd(e, t, r) {
|
|
5683
|
-
return e.directShortCircuit ? e.directShortCircuit.skipReason : t.length === 1 && t[0]?.source === "direct" &&
|
|
5705
|
+
return e.directShortCircuit ? e.directShortCircuit.skipReason : t.length === 1 && t[0]?.source === "direct" && Zn(r) ? "direct-only-vendor" : null;
|
|
5684
5706
|
}
|
|
5685
5707
|
function nd(e, t, r) {
|
|
5686
5708
|
return e.directShortCircuit || r === "direct-only-vendor" || td(t) ? "direct" : "proxy";
|
|
@@ -5761,11 +5783,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5761
5783
|
return Fc(e, t.config) ? [e] : Vc(e, t).map((r) => r.url);
|
|
5762
5784
|
}
|
|
5763
5785
|
function sd(e, t) {
|
|
5764
|
-
const r =
|
|
5786
|
+
const r = Jn(), n = t.filter(Boolean).map((o) => String(o).replace(/^\/+|\/+$/g, ""));
|
|
5765
5787
|
return r ? `${Ke(r)}/${n.join("/")}` : n.join("/");
|
|
5766
5788
|
}
|
|
5767
5789
|
function ud(e, t) {
|
|
5768
|
-
const r =
|
|
5790
|
+
const r = Jn();
|
|
5769
5791
|
return !!r && e.startsWith(Ke(r));
|
|
5770
5792
|
}
|
|
5771
5793
|
var ld = (e) => {
|
|
@@ -5830,9 +5852,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5830
5852
|
}
|
|
5831
5853
|
getBackendProxyCandidates(e, t) {
|
|
5832
5854
|
const r = ii(e, {
|
|
5833
|
-
config: dd(this.container?.getInstance(
|
|
5855
|
+
config: dd(this.container?.getInstance(Un)),
|
|
5834
5856
|
method: t,
|
|
5835
|
-
standalone: this.container?.getInstance(
|
|
5857
|
+
standalone: this.container?.getInstance(Hn) !== void 0
|
|
5836
5858
|
}), n = r.length > 0 ? r : [e], o = this.buildRequestKey(e, t), a = jt.get(o);
|
|
5837
5859
|
return !a || !n.includes(a) ? n : [a, ...n.filter((i) => i !== a)];
|
|
5838
5860
|
}
|
|
@@ -5892,11 +5914,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5892
5914
|
return e.getOrCreateInstance(ui, () => pd());
|
|
5893
5915
|
}
|
|
5894
5916
|
function li(e, t = {}) {
|
|
5895
|
-
const r =
|
|
5917
|
+
const r = Qn(e) ? re(e) : e;
|
|
5896
5918
|
return md(r).create(t, r);
|
|
5897
5919
|
}
|
|
5898
|
-
var ci = W(), hd = W(),
|
|
5899
|
-
e.inject(
|
|
5920
|
+
var ci = W(), hd = W(), Hr = W(), yd = (e) => {
|
|
5921
|
+
e.inject(Hr, { execute: async (t, r = {}) => {
|
|
5900
5922
|
const n = e.getServices(ci);
|
|
5901
5923
|
let o = t instanceof Request ? t : new Request(t, r);
|
|
5902
5924
|
for (const u of n) {
|
|
@@ -5910,9 +5932,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5910
5932
|
} });
|
|
5911
5933
|
}, vd = (e) => {
|
|
5912
5934
|
yd(e);
|
|
5913
|
-
const t = e.getInstance(
|
|
5935
|
+
const t = e.getInstance(Hr);
|
|
5914
5936
|
e.inject(xr, li(e, { customFetch: t?.execute || fetch }));
|
|
5915
|
-
},
|
|
5937
|
+
}, ro;
|
|
5916
5938
|
(function(e) {
|
|
5917
5939
|
const t = "https://racs.rest/v3";
|
|
5918
5940
|
function r(o, a) {
|
|
@@ -5939,7 +5961,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5939
5961
|
return await (await fetch(`${t}/get?resource=${o}&dataset=${document.location.hostname}`, i)).json();
|
|
5940
5962
|
}
|
|
5941
5963
|
e.getAll = n;
|
|
5942
|
-
})(
|
|
5964
|
+
})(ro || (ro = {}));
|
|
5943
5965
|
function di(e) {
|
|
5944
5966
|
if (typeof e == "object" && e) {
|
|
5945
5967
|
const t = {};
|
|
@@ -5999,7 +6021,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
5999
6021
|
em_active_tab: "em_active_tab",
|
|
6000
6022
|
em_ai_settings: "em_ai_settings",
|
|
6001
6023
|
em_last_active_page: "em_last_active_page",
|
|
6002
|
-
em_layout_convert_never_suggest: "em_layout_convert_never_suggest"
|
|
6024
|
+
em_layout_convert_never_suggest: "em_layout_convert_never_suggest",
|
|
6025
|
+
em_filemanager_v2: "em_filemanager_v2"
|
|
6003
6026
|
}, Ed = "deleted", wd = "not all", Td = "light", Sd = "dark", Pd = "system", Od = "(prefers-color-scheme: light)", Ad = "(prefers-color-scheme: dark)", jd = {
|
|
6004
6027
|
auth: "/auth",
|
|
6005
6028
|
projects_index: "/",
|
|
@@ -6157,7 +6180,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6157
6180
|
ALL: "All",
|
|
6158
6181
|
STANDARD: "Standard",
|
|
6159
6182
|
PROJECT: "Project"
|
|
6160
|
-
}, Rd = "Appearance", Md = "Structure", Ld = "Settings", kd = "Properties", Nd = "History", xd = "Disabled_tab", pi = "Edit selected element", Gd = "UTM parameters", $d = "Table properties", Bd = "Edit selected table cells", Fd = "#b9b1b1", Ud = "Edit", Hd = "AiChat",
|
|
6183
|
+
}, Rd = "Appearance", Md = "Structure", Ld = "Settings", kd = "Properties", Nd = "History", xd = "Disabled_tab", pi = "Edit selected element", Gd = "UTM parameters", $d = "Table properties", Bd = "Edit selected table cells", Fd = "#b9b1b1", Ud = "Edit", Hd = "AiChat", no = "Build", Qd = "Styles", zd = "Discuss", Kd = "Blocks", Vd = "Atoms", Wd = "Optimise", Xd = {
|
|
6161
6184
|
top: {
|
|
6162
6185
|
width: null,
|
|
6163
6186
|
style: null,
|
|
@@ -6188,7 +6211,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6188
6211
|
IMAGES: "Images",
|
|
6189
6212
|
SPAM_ASSASSIN: "Spam assassin",
|
|
6190
6213
|
PROBLEMS: "Problems"
|
|
6191
|
-
}, uf = "1865", lf = 6892,
|
|
6214
|
+
}, uf = "1865", lf = 6892, oo = "desktop", mi = "mobile", cf = "emailtags", df = "blocktags", ff = (e) => ({
|
|
6192
6215
|
REORDER_ATOM: e("Reorder element"),
|
|
6193
6216
|
CLONE_ATOM: e("Clone element"),
|
|
6194
6217
|
REMOVE_ATOM: e("Remove element"),
|
|
@@ -6309,7 +6332,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6309
6332
|
if (n === null) return !0;
|
|
6310
6333
|
var o = Object.hasOwnProperty.call(n, "constructor") && n.constructor;
|
|
6311
6334
|
return o === Object || typeof o == "function" && Function.toString.call(o) === Tf;
|
|
6312
|
-
})(e) || Array.isArray(e) || !!e[or] || !!(!((t = e.constructor) === null || t === void 0) && t[or]) ||
|
|
6335
|
+
})(e) || Array.isArray(e) || !!e[or] || !!(!((t = e.constructor) === null || t === void 0) && t[or]) || zr(e) || Kr(e));
|
|
6313
6336
|
}
|
|
6314
6337
|
function hf(e) {
|
|
6315
6338
|
return Me(e) || fe(23, e), e[ne].t;
|
|
@@ -6323,12 +6346,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6323
6346
|
}
|
|
6324
6347
|
function Ze(e) {
|
|
6325
6348
|
var t = e[ne];
|
|
6326
|
-
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 :
|
|
6349
|
+
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : zr(e) ? 2 : Kr(e) ? 3 : 0;
|
|
6327
6350
|
}
|
|
6328
6351
|
function et(e, t) {
|
|
6329
6352
|
return Ze(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
6330
6353
|
}
|
|
6331
|
-
function
|
|
6354
|
+
function Qr(e, t) {
|
|
6332
6355
|
return Ze(e) === 2 ? e.get(t) : e[t];
|
|
6333
6356
|
}
|
|
6334
6357
|
function hi(e, t, r) {
|
|
@@ -6338,16 +6361,16 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6338
6361
|
function yi(e, t) {
|
|
6339
6362
|
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
6340
6363
|
}
|
|
6341
|
-
function
|
|
6364
|
+
function zr(e) {
|
|
6342
6365
|
return Ef && e instanceof Map;
|
|
6343
6366
|
}
|
|
6344
|
-
function
|
|
6367
|
+
function Kr(e) {
|
|
6345
6368
|
return wf && e instanceof Set;
|
|
6346
6369
|
}
|
|
6347
6370
|
function ht(e) {
|
|
6348
6371
|
return e.o || e.t;
|
|
6349
6372
|
}
|
|
6350
|
-
function
|
|
6373
|
+
function ao(e) {
|
|
6351
6374
|
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
6352
6375
|
var t = Si(e);
|
|
6353
6376
|
delete t[ne];
|
|
@@ -6362,34 +6385,34 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6362
6385
|
}
|
|
6363
6386
|
return Object.create(Object.getPrototypeOf(e), t);
|
|
6364
6387
|
}
|
|
6365
|
-
function
|
|
6366
|
-
return t === void 0 && (t = !1),
|
|
6367
|
-
return
|
|
6388
|
+
function io(e, t) {
|
|
6389
|
+
return t === void 0 && (t = !1), so(e) || Me(e) || !Le(e) || (Ze(e) > 1 && (e.set = e.add = e.clear = e.delete = yf), Object.freeze(e), t && Ye(e, (function(r, n) {
|
|
6390
|
+
return io(n, !0);
|
|
6368
6391
|
}), !0)), e;
|
|
6369
6392
|
}
|
|
6370
6393
|
function yf() {
|
|
6371
6394
|
fe(2);
|
|
6372
6395
|
}
|
|
6373
|
-
function
|
|
6396
|
+
function so(e) {
|
|
6374
6397
|
return e == null || typeof e != "object" || Object.isFrozen(e);
|
|
6375
6398
|
}
|
|
6376
6399
|
function Be(e) {
|
|
6377
|
-
var t =
|
|
6400
|
+
var t = go[e];
|
|
6378
6401
|
return t || fe(18, e), t;
|
|
6379
6402
|
}
|
|
6380
6403
|
function vi(e, t) {
|
|
6381
|
-
|
|
6404
|
+
go[e] || (go[e] = t);
|
|
6382
6405
|
}
|
|
6383
|
-
function
|
|
6406
|
+
function uo() {
|
|
6384
6407
|
return nr;
|
|
6385
6408
|
}
|
|
6386
|
-
function
|
|
6409
|
+
function lo(e, t) {
|
|
6387
6410
|
t && (Be("Patches"), e.u = [], e.s = [], e.v = t);
|
|
6388
6411
|
}
|
|
6389
|
-
function
|
|
6390
|
-
|
|
6412
|
+
function Vr(e) {
|
|
6413
|
+
co(e), e.p.forEach(vf), e.p = null;
|
|
6391
6414
|
}
|
|
6392
|
-
function
|
|
6415
|
+
function co(e) {
|
|
6393
6416
|
e === nr && (nr = e.l);
|
|
6394
6417
|
}
|
|
6395
6418
|
function gi(e) {
|
|
@@ -6405,43 +6428,43 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6405
6428
|
var t = e[ne];
|
|
6406
6429
|
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
6407
6430
|
}
|
|
6408
|
-
function
|
|
6431
|
+
function fo(e, t) {
|
|
6409
6432
|
t._ = t.p.length;
|
|
6410
6433
|
var r = t.p[0], n = e !== void 0 && e !== r;
|
|
6411
|
-
return t.h.O || Be("ES5").S(t, e, n), n ? (r[ne].P && (
|
|
6434
|
+
return t.h.O || Be("ES5").S(t, e, n), n ? (r[ne].P && (Vr(t), fe(4)), Le(e) && (e = Wr(t, e), t.l || Xr(t, e)), t.u && Be("Patches").M(r[ne].t, e, t.u, t.s)) : e = Wr(t, r, []), Vr(t), t.u && t.v(t.u, t.s), e !== vo ? e : void 0;
|
|
6412
6435
|
}
|
|
6413
|
-
function
|
|
6414
|
-
if (
|
|
6436
|
+
function Wr(e, t, r) {
|
|
6437
|
+
if (so(t)) return t;
|
|
6415
6438
|
var n = t[ne];
|
|
6416
6439
|
if (!n) return Ye(t, (function(u, s) {
|
|
6417
6440
|
return _i(e, n, t, u, s, r);
|
|
6418
6441
|
}), !0), t;
|
|
6419
6442
|
if (n.A !== e) return t;
|
|
6420
|
-
if (!n.P) return
|
|
6443
|
+
if (!n.P) return Xr(e, n.t, !0), n.t;
|
|
6421
6444
|
if (!n.I) {
|
|
6422
6445
|
n.I = !0, n.A._--;
|
|
6423
|
-
var o = n.i === 4 || n.i === 5 ? n.o =
|
|
6446
|
+
var o = n.i === 4 || n.i === 5 ? n.o = ao(n.k) : n.o, a = o, i = !1;
|
|
6424
6447
|
n.i === 3 && (a = new Set(o), o.clear(), i = !0), Ye(a, (function(u, s) {
|
|
6425
6448
|
return _i(e, n, o, u, s, r, i);
|
|
6426
|
-
})),
|
|
6449
|
+
})), Xr(e, o, !1), r && e.u && Be("Patches").N(n, r, e.u, e.s);
|
|
6427
6450
|
}
|
|
6428
6451
|
return n.o;
|
|
6429
6452
|
}
|
|
6430
6453
|
function _i(e, t, r, n, o, a, i) {
|
|
6431
6454
|
if (Me(o)) {
|
|
6432
|
-
var u =
|
|
6455
|
+
var u = Wr(e, o, a && t && t.i !== 3 && !et(t.R, n) ? a.concat(n) : void 0);
|
|
6433
6456
|
if (hi(r, n, u), !Me(u)) return;
|
|
6434
6457
|
e.m = !1;
|
|
6435
6458
|
} else i && r.add(o);
|
|
6436
|
-
if (Le(o) && !
|
|
6459
|
+
if (Le(o) && !so(o)) {
|
|
6437
6460
|
if (!e.h.D && e._ < 1) return;
|
|
6438
|
-
|
|
6461
|
+
Wr(e, o), t && t.A.l || Xr(e, o);
|
|
6439
6462
|
}
|
|
6440
6463
|
}
|
|
6441
|
-
function
|
|
6442
|
-
r === void 0 && (r = !1), !e.l && e.h.D && e.m &&
|
|
6464
|
+
function Xr(e, t, r) {
|
|
6465
|
+
r === void 0 && (r = !1), !e.l && e.h.D && e.m && io(t, r);
|
|
6443
6466
|
}
|
|
6444
|
-
function
|
|
6467
|
+
function po(e, t) {
|
|
6445
6468
|
var r = e[ne];
|
|
6446
6469
|
return (r ? ht(r) : e)[t];
|
|
6447
6470
|
}
|
|
@@ -6455,14 +6478,14 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6455
6478
|
function tt(e) {
|
|
6456
6479
|
e.P || (e.P = !0, e.l && tt(e.l));
|
|
6457
6480
|
}
|
|
6458
|
-
function
|
|
6459
|
-
e.o || (e.o =
|
|
6481
|
+
function mo(e) {
|
|
6482
|
+
e.o || (e.o = ao(e.t));
|
|
6460
6483
|
}
|
|
6461
|
-
function
|
|
6462
|
-
var n =
|
|
6484
|
+
function ho(e, t, r) {
|
|
6485
|
+
var n = zr(t) ? Be("MapSet").F(t, r) : Kr(t) ? Be("MapSet").T(t, r) : e.O ? (function(o, a) {
|
|
6463
6486
|
var i = Array.isArray(o), u = {
|
|
6464
6487
|
i: i ? 1 : 0,
|
|
6465
|
-
A: a ? a.A :
|
|
6488
|
+
A: a ? a.A : uo(),
|
|
6466
6489
|
P: !1,
|
|
6467
6490
|
I: !1,
|
|
6468
6491
|
R: {},
|
|
@@ -6477,7 +6500,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6477
6500
|
var f = Proxy.revocable(s, l), d = f.revoke, p = f.proxy;
|
|
6478
6501
|
return u.k = p, u.j = d, p;
|
|
6479
6502
|
})(t, r) : Be("ES5").J(t, r);
|
|
6480
|
-
return (r ? r.A :
|
|
6503
|
+
return (r ? r.A : uo()).p.push(n), n;
|
|
6481
6504
|
}
|
|
6482
6505
|
function gf(e) {
|
|
6483
6506
|
return Me(e) || fe(22, e), (function t(r) {
|
|
@@ -6488,7 +6511,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6488
6511
|
o.I = !0, n = Ei(r, a), o.I = !1;
|
|
6489
6512
|
} else n = Ei(r, a);
|
|
6490
6513
|
return Ye(n, (function(i, u) {
|
|
6491
|
-
o &&
|
|
6514
|
+
o && Qr(o.t, i) === u || hi(n, i, t(u));
|
|
6492
6515
|
})), a === 3 ? new Set(n) : n;
|
|
6493
6516
|
})(e);
|
|
6494
6517
|
}
|
|
@@ -6497,7 +6520,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6497
6520
|
case 2: return new Map(e);
|
|
6498
6521
|
case 3: return Array.from(e);
|
|
6499
6522
|
}
|
|
6500
|
-
return
|
|
6523
|
+
return ao(e);
|
|
6501
6524
|
}
|
|
6502
6525
|
function _f() {
|
|
6503
6526
|
function e(a, i) {
|
|
@@ -6564,7 +6587,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6564
6587
|
return Object.create(Object.getPrototypeOf(d), g);
|
|
6565
6588
|
})(u, a), l = {
|
|
6566
6589
|
i: u ? 5 : 4,
|
|
6567
|
-
A: i ? i.A :
|
|
6590
|
+
A: i ? i.A : uo(),
|
|
6568
6591
|
P: !1,
|
|
6569
6592
|
I: !1,
|
|
6570
6593
|
R: {},
|
|
@@ -6609,10 +6632,10 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6609
6632
|
function e(n) {
|
|
6610
6633
|
if (!Le(n)) return n;
|
|
6611
6634
|
if (Array.isArray(n)) return n.map(e);
|
|
6612
|
-
if (
|
|
6635
|
+
if (zr(n)) return new Map(Array.from(n.entries()).map((function(i) {
|
|
6613
6636
|
return [i[0], e(i[1])];
|
|
6614
6637
|
})));
|
|
6615
|
-
if (
|
|
6638
|
+
if (Kr(n)) return new Set(Array.from(n).map(e));
|
|
6616
6639
|
var o = Object.create(Object.getPrototypeOf(n));
|
|
6617
6640
|
for (var a in n) o[a] = e(n[a]);
|
|
6618
6641
|
return et(n, or) && (o[or] = n[or]), o;
|
|
@@ -6626,7 +6649,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6626
6649
|
return o.forEach((function(a) {
|
|
6627
6650
|
for (var i = a.path, u = a.op, s = n, l = 0; l < i.length - 1; l++) {
|
|
6628
6651
|
var f = Ze(s), d = i[l];
|
|
6629
|
-
typeof d != "string" && typeof d != "number" && (d = "" + d), f !== 0 && f !== 1 || d !== "__proto__" && d !== "constructor" || fe(24), typeof s == "function" && d === "prototype" && fe(24), typeof (s =
|
|
6652
|
+
typeof d != "string" && typeof d != "number" && (d = "" + d), f !== 0 && f !== 1 || d !== "__proto__" && d !== "constructor" || fe(24), typeof s == "function" && d === "prototype" && fe(24), typeof (s = Qr(s, d)) != "object" && fe(15, i.join("/"));
|
|
6630
6653
|
}
|
|
6631
6654
|
var p = Ze(s), m = e(a.value), g = i[i.length - 1];
|
|
6632
6655
|
switch (u) {
|
|
@@ -6658,7 +6681,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6658
6681
|
case 2: return (function(u, s, l, f) {
|
|
6659
6682
|
var d = u.t, p = u.o;
|
|
6660
6683
|
Ye(u.R, (function(m, g) {
|
|
6661
|
-
var _ =
|
|
6684
|
+
var _ = Qr(d, m), b = Qr(p, m), S = g ? et(d, m) ? "replace" : r : "remove";
|
|
6662
6685
|
if (_ !== b || S !== "replace") {
|
|
6663
6686
|
var w = s.concat(m);
|
|
6664
6687
|
l.push(S === "remove" ? {
|
|
@@ -6756,7 +6779,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6756
6779
|
a.push({
|
|
6757
6780
|
op: "replace",
|
|
6758
6781
|
path: [],
|
|
6759
|
-
value: o ===
|
|
6782
|
+
value: o === vo ? void 0 : o
|
|
6760
6783
|
}), i.push({
|
|
6761
6784
|
op: "replace",
|
|
6762
6785
|
path: [],
|
|
@@ -6765,14 +6788,14 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6765
6788
|
}
|
|
6766
6789
|
});
|
|
6767
6790
|
}
|
|
6768
|
-
var wi, nr,
|
|
6791
|
+
var wi, nr, yo = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Ef = typeof Map < "u", wf = typeof Set < "u", Ti = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", vo = yo ? Symbol.for("immer-nothing") : ((wi = {})["immer-nothing"] = !0, wi), or = yo ? Symbol.for("immer-draftable") : "__$immer_draftable", ne = yo ? Symbol.for("immer-state") : "__$immer_state", Tf = "" + Object.prototype.constructor, It = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols !== void 0 ? function(e) {
|
|
6769
6792
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
6770
6793
|
} : Object.getOwnPropertyNames, Si = Object.getOwnPropertyDescriptors || function(e) {
|
|
6771
6794
|
var t = {};
|
|
6772
6795
|
return It(e).forEach((function(r) {
|
|
6773
6796
|
t[r] = Object.getOwnPropertyDescriptor(e, r);
|
|
6774
6797
|
})), t;
|
|
6775
|
-
},
|
|
6798
|
+
}, go = {}, ar = {
|
|
6776
6799
|
get: function(e, t) {
|
|
6777
6800
|
if (t === ne) return e;
|
|
6778
6801
|
var r = ht(e);
|
|
@@ -6781,7 +6804,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6781
6804
|
return s ? "value" in s ? s.value : (u = s.get) === null || u === void 0 ? void 0 : u.call(o.k) : void 0;
|
|
6782
6805
|
})(e, r, t);
|
|
6783
6806
|
var n = r[t];
|
|
6784
|
-
return e.I || !Le(n) ? n : n ===
|
|
6807
|
+
return e.I || !Le(n) ? n : n === po(e.t, t) ? (mo(e), e.o[t] = ho(e.A.h, n, e)) : n;
|
|
6785
6808
|
},
|
|
6786
6809
|
has: function(e, t) {
|
|
6787
6810
|
return t in ht(e);
|
|
@@ -6793,15 +6816,15 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6793
6816
|
var n = bi(ht(e), t);
|
|
6794
6817
|
if (n?.set) return n.set.call(e.k, r), !0;
|
|
6795
6818
|
if (!e.P) {
|
|
6796
|
-
var o =
|
|
6819
|
+
var o = po(ht(e), t), a = o?.[ne];
|
|
6797
6820
|
if (a && a.t === r) return e.o[t] = r, e.R[t] = !1, !0;
|
|
6798
6821
|
if (yi(r, o) && (r !== void 0 || et(e.t, t))) return !0;
|
|
6799
|
-
|
|
6822
|
+
mo(e), tt(e);
|
|
6800
6823
|
}
|
|
6801
6824
|
return e.o[t] === r && (r !== void 0 || t in e.o) || Number.isNaN(r) && Number.isNaN(e.o[t]) || (e.o[t] = r, e.R[t] = !0), !0;
|
|
6802
6825
|
},
|
|
6803
6826
|
deleteProperty: function(e, t) {
|
|
6804
|
-
return
|
|
6827
|
+
return po(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, mo(e), tt(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
6805
6828
|
},
|
|
6806
6829
|
getOwnPropertyDescriptor: function(e, t) {
|
|
6807
6830
|
var r = ht(e), n = Reflect.getOwnPropertyDescriptor(r, t);
|
|
@@ -6851,20 +6874,20 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6851
6874
|
}
|
|
6852
6875
|
var l;
|
|
6853
6876
|
if (typeof a != "function" && fe(6), i !== void 0 && typeof i != "function" && fe(7), Le(o)) {
|
|
6854
|
-
var f = gi(n), d =
|
|
6877
|
+
var f = gi(n), d = ho(n, o, void 0), p = !0;
|
|
6855
6878
|
try {
|
|
6856
6879
|
l = a(d), p = !1;
|
|
6857
6880
|
} finally {
|
|
6858
|
-
p ?
|
|
6881
|
+
p ? Vr(f) : co(f);
|
|
6859
6882
|
}
|
|
6860
6883
|
return typeof Promise < "u" && l instanceof Promise ? l.then((function(_) {
|
|
6861
|
-
return
|
|
6884
|
+
return lo(f, i), fo(_, f);
|
|
6862
6885
|
}), (function(_) {
|
|
6863
|
-
throw
|
|
6864
|
-
})) : (
|
|
6886
|
+
throw Vr(f), _;
|
|
6887
|
+
})) : (lo(f, i), fo(l, f));
|
|
6865
6888
|
}
|
|
6866
6889
|
if (!o || typeof o != "object") {
|
|
6867
|
-
if ((l = a(o)) === void 0 && (l = o), l ===
|
|
6890
|
+
if ((l = a(o)) === void 0 && (l = o), l === vo && (l = void 0), n.D && io(l, !0), i) {
|
|
6868
6891
|
var m = [], g = [];
|
|
6869
6892
|
Be("Patches").M(o, l, m, g), i(m, g);
|
|
6870
6893
|
}
|
|
@@ -6897,11 +6920,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6897
6920
|
var t = e.prototype;
|
|
6898
6921
|
return t.createDraft = function(r) {
|
|
6899
6922
|
Le(r) || fe(8), Me(r) && (r = gf(r));
|
|
6900
|
-
var n = gi(this), o =
|
|
6901
|
-
return o[ne].C = !0,
|
|
6923
|
+
var n = gi(this), o = ho(this, r, void 0);
|
|
6924
|
+
return o[ne].C = !0, co(n), o;
|
|
6902
6925
|
}, t.finishDraft = function(r, n) {
|
|
6903
6926
|
var o = (r && r[ne]).A;
|
|
6904
|
-
return
|
|
6927
|
+
return lo(o, n), fo(void 0, o);
|
|
6905
6928
|
}, t.setAutoFreeze = function(r) {
|
|
6906
6929
|
this.D = r;
|
|
6907
6930
|
}, t.setUseProxies = function(r) {
|
|
@@ -6983,13 +7006,13 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
6983
7006
|
}
|
|
6984
7007
|
var Ii = (function() {
|
|
6985
7008
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
6986
|
-
})(),
|
|
7009
|
+
})(), _o = function() {
|
|
6987
7010
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
6988
|
-
},
|
|
6989
|
-
INIT: "@@redux/INIT" +
|
|
6990
|
-
REPLACE: "@@redux/REPLACE" +
|
|
7011
|
+
}, Jr = {
|
|
7012
|
+
INIT: "@@redux/INIT" + _o(),
|
|
7013
|
+
REPLACE: "@@redux/REPLACE" + _o(),
|
|
6991
7014
|
PROBE_UNKNOWN_ACTION: function() {
|
|
6992
|
-
return "@@redux/PROBE_UNKNOWN_ACTION" +
|
|
7015
|
+
return "@@redux/PROBE_UNKNOWN_ACTION" + _o();
|
|
6993
7016
|
}
|
|
6994
7017
|
};
|
|
6995
7018
|
function jf(e) {
|
|
@@ -7043,7 +7066,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7043
7066
|
}
|
|
7044
7067
|
function m(_) {
|
|
7045
7068
|
if (typeof _ != "function") throw new Error(he(10));
|
|
7046
|
-
o = _, p({ type:
|
|
7069
|
+
o = _, p({ type: Jr.REPLACE });
|
|
7047
7070
|
}
|
|
7048
7071
|
function g() {
|
|
7049
7072
|
var _, b = d;
|
|
@@ -7057,7 +7080,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7057
7080
|
return this;
|
|
7058
7081
|
}, _;
|
|
7059
7082
|
}
|
|
7060
|
-
return p({ type:
|
|
7083
|
+
return p({ type: Jr.INIT }), n = {
|
|
7061
7084
|
dispatch: p,
|
|
7062
7085
|
subscribe: d,
|
|
7063
7086
|
getState: f,
|
|
@@ -7067,11 +7090,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7067
7090
|
function If(e) {
|
|
7068
7091
|
Object.keys(e).forEach(function(t) {
|
|
7069
7092
|
var r = e[t];
|
|
7070
|
-
if (typeof r(void 0, { type:
|
|
7071
|
-
if (typeof r(void 0, { type:
|
|
7093
|
+
if (typeof r(void 0, { type: Jr.INIT }) > "u") throw new Error(he(12));
|
|
7094
|
+
if (typeof r(void 0, { type: Jr.PROBE_UNKNOWN_ACTION() }) > "u") throw new Error(he(13));
|
|
7072
7095
|
});
|
|
7073
7096
|
}
|
|
7074
|
-
function
|
|
7097
|
+
function bo(e) {
|
|
7075
7098
|
for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) {
|
|
7076
7099
|
var o = t[n];
|
|
7077
7100
|
typeof e[o] == "function" && (r[o] = e[o]);
|
|
@@ -7092,7 +7115,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7092
7115
|
return f = f || a.length !== Object.keys(s).length, f ? d : s;
|
|
7093
7116
|
};
|
|
7094
7117
|
}
|
|
7095
|
-
function
|
|
7118
|
+
function Yr() {
|
|
7096
7119
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
|
|
7097
7120
|
return t.length === 0 ? function(n) {
|
|
7098
7121
|
return n;
|
|
@@ -7116,16 +7139,16 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7116
7139
|
}, u = t.map(function(s) {
|
|
7117
7140
|
return s(i);
|
|
7118
7141
|
});
|
|
7119
|
-
return a =
|
|
7142
|
+
return a = Yr.apply(void 0, u)(o.dispatch), ji(ji({}, o), {}, { dispatch: a });
|
|
7120
7143
|
};
|
|
7121
7144
|
};
|
|
7122
7145
|
}
|
|
7123
|
-
var
|
|
7146
|
+
var Zr = "NOT_FOUND";
|
|
7124
7147
|
function Df(e) {
|
|
7125
7148
|
var t;
|
|
7126
7149
|
return {
|
|
7127
7150
|
get: function(n) {
|
|
7128
|
-
return t && e(t.key, n) ? t.value :
|
|
7151
|
+
return t && e(t.key, n) ? t.value : Zr;
|
|
7129
7152
|
},
|
|
7130
7153
|
put: function(n, o) {
|
|
7131
7154
|
t = {
|
|
@@ -7151,10 +7174,10 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7151
7174
|
var l = r[s];
|
|
7152
7175
|
return s > 0 && (r.splice(s, 1), r.unshift(l)), l.value;
|
|
7153
7176
|
}
|
|
7154
|
-
return
|
|
7177
|
+
return Zr;
|
|
7155
7178
|
}
|
|
7156
7179
|
function o(u, s) {
|
|
7157
|
-
n(u) ===
|
|
7180
|
+
n(u) === Zr && (r.unshift({
|
|
7158
7181
|
key: u,
|
|
7159
7182
|
value: s
|
|
7160
7183
|
}), r.length > e && r.pop());
|
|
@@ -7182,11 +7205,11 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7182
7205
|
return !0;
|
|
7183
7206
|
};
|
|
7184
7207
|
}
|
|
7185
|
-
function
|
|
7208
|
+
function Eo(e, t) {
|
|
7186
7209
|
var r = typeof t == "object" ? t : { equalityCheck: t }, n = r.equalityCheck, o = n === void 0 ? Rf : n, a = r.maxSize, i = a === void 0 ? 1 : a, u = r.resultEqualityCheck, s = Mf(o), l = i === 1 ? Df(s) : qf(i, s);
|
|
7187
7210
|
function f() {
|
|
7188
7211
|
var d = l.get(arguments);
|
|
7189
|
-
if (d ===
|
|
7212
|
+
if (d === Zr) {
|
|
7190
7213
|
if (d = e.apply(null, arguments), u) {
|
|
7191
7214
|
var p = l.getEntries().find(function(m) {
|
|
7192
7215
|
return u(m.value, d);
|
|
@@ -7241,7 +7264,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7241
7264
|
}), S;
|
|
7242
7265
|
};
|
|
7243
7266
|
}
|
|
7244
|
-
var Dt = kf(
|
|
7267
|
+
var Dt = kf(Eo);
|
|
7245
7268
|
function Di(e) {
|
|
7246
7269
|
return function(r) {
|
|
7247
7270
|
var n = r.dispatch, o = r.getState;
|
|
@@ -7252,8 +7275,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7252
7275
|
};
|
|
7253
7276
|
};
|
|
7254
7277
|
}
|
|
7255
|
-
var
|
|
7256
|
-
|
|
7278
|
+
var wo = Di();
|
|
7279
|
+
wo.withExtraArgument = Di;
|
|
7257
7280
|
var qi = (function() {
|
|
7258
7281
|
var e = function(t, r) {
|
|
7259
7282
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, o) {
|
|
@@ -7360,7 +7383,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7360
7383
|
Ff.call(t, r) && Mi(e, r, t[r]);
|
|
7361
7384
|
}
|
|
7362
7385
|
return e;
|
|
7363
|
-
},
|
|
7386
|
+
}, To = function(e, t) {
|
|
7364
7387
|
return Gf(e, $f(t));
|
|
7365
7388
|
}, Uf = function(e, t, r) {
|
|
7366
7389
|
return new Promise(function(n, o) {
|
|
@@ -7382,7 +7405,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7382
7405
|
u((r = r.apply(e, t)).next());
|
|
7383
7406
|
});
|
|
7384
7407
|
}, Hf = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
|
|
7385
|
-
if (arguments.length !== 0) return typeof arguments[0] == "object" ?
|
|
7408
|
+
if (arguments.length !== 0) return typeof arguments[0] == "object" ? Yr : Yr.apply(null, arguments);
|
|
7386
7409
|
};
|
|
7387
7410
|
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
7388
7411
|
function nt(e) {
|
|
@@ -7458,7 +7481,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7458
7481
|
return r.length === 1 && Array.isArray(r[0]) ? new (t.bind.apply(t, qt([void 0], r[0].concat(this))))() : new (t.bind.apply(t, qt([void 0], r.concat(this))))();
|
|
7459
7482
|
}, t;
|
|
7460
7483
|
})(Array);
|
|
7461
|
-
function
|
|
7484
|
+
function So(e) {
|
|
7462
7485
|
return Le(e) ? sr(e, function() {}) : e;
|
|
7463
7486
|
}
|
|
7464
7487
|
function Vf(e) {
|
|
@@ -7474,21 +7497,21 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7474
7497
|
var t = e.thunk, r = t === void 0 ? !0 : t;
|
|
7475
7498
|
e.immutableCheck, e.serializableCheck, e.actionCreatorCheck;
|
|
7476
7499
|
var n = new zf();
|
|
7477
|
-
return r && (Vf(r) ? n.push(
|
|
7500
|
+
return r && (Vf(r) ? n.push(wo) : n.push(wo.withExtraArgument(r.extraArgument))), n;
|
|
7478
7501
|
}
|
|
7479
|
-
var
|
|
7502
|
+
var Po = !0;
|
|
7480
7503
|
function Jf(e) {
|
|
7481
7504
|
var t = Wf(), r = e || {}, n = r.reducer, o = n === void 0 ? void 0 : n, a = r.middleware, i = a === void 0 ? t() : a, u = r.devTools, s = u === void 0 ? !0 : u, l = r.preloadedState, f = l === void 0 ? void 0 : l, d = r.enhancers, p = d === void 0 ? void 0 : d, m;
|
|
7482
7505
|
if (typeof o == "function") m = o;
|
|
7483
|
-
else if (nt(o)) m =
|
|
7506
|
+
else if (nt(o)) m = bo(o);
|
|
7484
7507
|
else throw new Error("\"reducer\" is a required argument, and must be a function or an object of functions that can be passed to combineReducers");
|
|
7485
7508
|
var g = i;
|
|
7486
|
-
if (typeof g == "function" && (g = g(t), !
|
|
7487
|
-
if (!
|
|
7509
|
+
if (typeof g == "function" && (g = g(t), !Po && !Array.isArray(g))) throw new Error("when using a middleware builder function, an array of middleware must be returned");
|
|
7510
|
+
if (!Po && g.some(function(y) {
|
|
7488
7511
|
return typeof y != "function";
|
|
7489
7512
|
})) throw new Error("each middleware provided to configureStore must be a function");
|
|
7490
|
-
var _ = Cf.apply(void 0, g), b =
|
|
7491
|
-
s && (b = Hf(rt({ trace: !
|
|
7513
|
+
var _ = Cf.apply(void 0, g), b = Yr;
|
|
7514
|
+
s && (b = Hf(rt({ trace: !Po }, typeof s == "object" && s)));
|
|
7492
7515
|
var S = new Kf(_), w = S;
|
|
7493
7516
|
Array.isArray(p) ? w = qt([_], p) : typeof p == "function" && (w = p(S));
|
|
7494
7517
|
var O = b.apply(void 0, w);
|
|
@@ -7529,10 +7552,10 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7529
7552
|
n
|
|
7530
7553
|
], a = o[0], i = o[1], u = o[2], s;
|
|
7531
7554
|
if (Yf(e)) s = function() {
|
|
7532
|
-
return
|
|
7555
|
+
return So(e());
|
|
7533
7556
|
};
|
|
7534
7557
|
else {
|
|
7535
|
-
var l =
|
|
7558
|
+
var l = So(e);
|
|
7536
7559
|
s = function() {
|
|
7537
7560
|
return l;
|
|
7538
7561
|
};
|
|
@@ -7573,7 +7596,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7573
7596
|
function Pe(e) {
|
|
7574
7597
|
var t = e.name;
|
|
7575
7598
|
if (!t) throw new Error("`name` is a required option for createSlice");
|
|
7576
|
-
var r = typeof e.initialState == "function" ? e.initialState :
|
|
7599
|
+
var r = typeof e.initialState == "function" ? e.initialState : So(e.initialState), n = e.reducers || {}, o = Object.keys(n), a = {}, i = {}, u = {};
|
|
7577
7600
|
o.forEach(function(f) {
|
|
7578
7601
|
var d = n[f], p = ep(t, f), m, g;
|
|
7579
7602
|
"reducer" in d ? (m = d.reducer, g = d.prepare) : m = d, a[f] = m, i[p] = m, u[f] = g ? Ee(p, g) : Ee(p);
|
|
@@ -7611,7 +7634,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7611
7634
|
"message",
|
|
7612
7635
|
"stack",
|
|
7613
7636
|
"code"
|
|
7614
|
-
],
|
|
7637
|
+
], Oo = (function() {
|
|
7615
7638
|
function e(t, r) {
|
|
7616
7639
|
this.payload = t, this.meta = r;
|
|
7617
7640
|
}
|
|
@@ -7630,12 +7653,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7630
7653
|
return t;
|
|
7631
7654
|
}
|
|
7632
7655
|
return { message: String(e) };
|
|
7633
|
-
},
|
|
7656
|
+
}, en = (function() {
|
|
7634
7657
|
function e(t, r, n) {
|
|
7635
7658
|
var o = Ee(t + "/fulfilled", function(l, f, d, p) {
|
|
7636
7659
|
return {
|
|
7637
7660
|
payload: l,
|
|
7638
|
-
meta:
|
|
7661
|
+
meta: To(rt({}, p || {}), {
|
|
7639
7662
|
arg: d,
|
|
7640
7663
|
requestId: f,
|
|
7641
7664
|
requestStatus: "fulfilled"
|
|
@@ -7644,7 +7667,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7644
7667
|
}), a = Ee(t + "/pending", function(l, f, d) {
|
|
7645
7668
|
return {
|
|
7646
7669
|
payload: void 0,
|
|
7647
|
-
meta:
|
|
7670
|
+
meta: To(rt({}, d || {}), {
|
|
7648
7671
|
arg: f,
|
|
7649
7672
|
requestId: l,
|
|
7650
7673
|
requestStatus: "pending"
|
|
@@ -7654,7 +7677,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7654
7677
|
return {
|
|
7655
7678
|
payload: p,
|
|
7656
7679
|
error: (n && n.serializeError || np)(l || "Rejected"),
|
|
7657
|
-
meta:
|
|
7680
|
+
meta: To(rt({}, m || {}), {
|
|
7658
7681
|
arg: d,
|
|
7659
7682
|
requestId: f,
|
|
7660
7683
|
rejectedWithValue: !!p,
|
|
@@ -7726,17 +7749,17 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7726
7749
|
signal: g.signal,
|
|
7727
7750
|
abort: b,
|
|
7728
7751
|
rejectWithValue: function(j, D) {
|
|
7729
|
-
return new
|
|
7752
|
+
return new Oo(j, D);
|
|
7730
7753
|
},
|
|
7731
7754
|
fulfillWithValue: function(j, D) {
|
|
7732
7755
|
return new Ni(j, D);
|
|
7733
7756
|
}
|
|
7734
7757
|
})).then(function(j) {
|
|
7735
|
-
if (j instanceof
|
|
7758
|
+
if (j instanceof Oo) throw j;
|
|
7736
7759
|
return j instanceof Ni ? o(j.payload, m, l, j.meta) : o(j, m, l);
|
|
7737
7760
|
})])];
|
|
7738
7761
|
case 3: return y = I.sent(), [3, 5];
|
|
7739
|
-
case 4: return A = I.sent(), y = A instanceof
|
|
7762
|
+
case 4: return A = I.sent(), y = A instanceof Oo ? i(null, m, l, A.payload, A.meta) : i(A, m, l), [3, 5];
|
|
7740
7763
|
case 5: return P = n && !n.dispatchConditionRejection && i.match(y) && y.meta.condition, P || f(y), [2, y];
|
|
7741
7764
|
}
|
|
7742
7765
|
});
|
|
@@ -7790,7 +7813,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7790
7813
|
});
|
|
7791
7814
|
};
|
|
7792
7815
|
}
|
|
7793
|
-
function
|
|
7816
|
+
function tn(e, t) {
|
|
7794
7817
|
if (!e || !e.meta) return !1;
|
|
7795
7818
|
var r = typeof e.meta.requestId == "string", n = t.indexOf(e.meta.requestStatus) > -1;
|
|
7796
7819
|
return r && n;
|
|
@@ -7798,21 +7821,21 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7798
7821
|
function lr(e) {
|
|
7799
7822
|
return typeof e[0] == "function" && "pending" in e[0] && "fulfilled" in e[0] && "rejected" in e[0];
|
|
7800
7823
|
}
|
|
7801
|
-
function
|
|
7824
|
+
function Ao() {
|
|
7802
7825
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7803
7826
|
return e.length === 0 ? function(r) {
|
|
7804
|
-
return
|
|
7827
|
+
return tn(r, ["pending"]);
|
|
7805
7828
|
} : lr(e) ? function(r) {
|
|
7806
7829
|
var n = e.map(function(o) {
|
|
7807
7830
|
return o.pending;
|
|
7808
7831
|
});
|
|
7809
7832
|
return Rt.apply(void 0, n)(r);
|
|
7810
|
-
} :
|
|
7833
|
+
} : Ao()(e[0]);
|
|
7811
7834
|
}
|
|
7812
7835
|
function cr() {
|
|
7813
7836
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7814
7837
|
return e.length === 0 ? function(r) {
|
|
7815
|
-
return
|
|
7838
|
+
return tn(r, ["rejected"]);
|
|
7816
7839
|
} : lr(e) ? function(r) {
|
|
7817
7840
|
var n = e.map(function(o) {
|
|
7818
7841
|
return o.rejected;
|
|
@@ -7820,7 +7843,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7820
7843
|
return Rt.apply(void 0, n)(r);
|
|
7821
7844
|
} : cr()(e[0]);
|
|
7822
7845
|
}
|
|
7823
|
-
function
|
|
7846
|
+
function rn() {
|
|
7824
7847
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7825
7848
|
var r = function(n) {
|
|
7826
7849
|
return n && n.meta && n.meta.rejectedWithValue;
|
|
@@ -7829,12 +7852,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7829
7852
|
return ur(cr.apply(void 0, e), r)(n);
|
|
7830
7853
|
} : lr(e) ? function(n) {
|
|
7831
7854
|
return ur(cr.apply(void 0, e), r)(n);
|
|
7832
|
-
} :
|
|
7855
|
+
} : rn()(e[0]);
|
|
7833
7856
|
}
|
|
7834
7857
|
function yt() {
|
|
7835
7858
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7836
7859
|
return e.length === 0 ? function(r) {
|
|
7837
|
-
return
|
|
7860
|
+
return tn(r, ["fulfilled"]);
|
|
7838
7861
|
} : lr(e) ? function(r) {
|
|
7839
7862
|
var n = e.map(function(o) {
|
|
7840
7863
|
return o.fulfilled;
|
|
@@ -7842,10 +7865,10 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7842
7865
|
return Rt.apply(void 0, n)(r);
|
|
7843
7866
|
} : yt()(e[0]);
|
|
7844
7867
|
}
|
|
7845
|
-
function
|
|
7868
|
+
function jo() {
|
|
7846
7869
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7847
7870
|
return e.length === 0 ? function(r) {
|
|
7848
|
-
return
|
|
7871
|
+
return tn(r, [
|
|
7849
7872
|
"pending",
|
|
7850
7873
|
"fulfilled",
|
|
7851
7874
|
"rejected"
|
|
@@ -7856,17 +7879,17 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7856
7879
|
n.push(i.pending, i.rejected, i.fulfilled);
|
|
7857
7880
|
}
|
|
7858
7881
|
return Rt.apply(void 0, n)(r);
|
|
7859
|
-
} :
|
|
7882
|
+
} : jo()(e[0]);
|
|
7860
7883
|
}
|
|
7861
7884
|
var Gi = "listener", $i = "completed", Bi = "cancelled";
|
|
7862
7885
|
"" + Bi;
|
|
7863
7886
|
"" + $i;
|
|
7864
7887
|
Gi + "" + Bi;
|
|
7865
7888
|
Gi + "" + $i;
|
|
7866
|
-
var
|
|
7867
|
-
Ee(
|
|
7868
|
-
Ee(
|
|
7869
|
-
Ee(
|
|
7889
|
+
var Io = "listenerMiddleware";
|
|
7890
|
+
Ee(Io + "/add");
|
|
7891
|
+
Ee(Io + "/removeAll");
|
|
7892
|
+
Ee(Io + "/remove");
|
|
7870
7893
|
var dr = "RTK_autoBatch", fr = function() {
|
|
7871
7894
|
return function(e) {
|
|
7872
7895
|
var t;
|
|
@@ -7879,7 +7902,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7879
7902
|
typeof queueMicrotask == "function" && queueMicrotask.bind(typeof window < "u" ? window : typeof me._polyfill_node_global_default < "u" ? me._polyfill_node_global_default : globalThis);
|
|
7880
7903
|
typeof window < "u" && window.requestAnimationFrame && window.requestAnimationFrame;
|
|
7881
7904
|
_f(), me.init__polyfill_node_global();
|
|
7882
|
-
var
|
|
7905
|
+
var nn = function(e, t) {
|
|
7883
7906
|
var r = {
|
|
7884
7907
|
label: 0,
|
|
7885
7908
|
sent: function() {
|
|
@@ -7952,10 +7975,10 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7952
7975
|
done: !0
|
|
7953
7976
|
};
|
|
7954
7977
|
}
|
|
7955
|
-
},
|
|
7978
|
+
}, on = function(e, t) {
|
|
7956
7979
|
for (var r = 0, n = t.length, o = e.length; r < n; r++, o++) e[o] = t[r];
|
|
7957
7980
|
return e;
|
|
7958
|
-
}, sp = Object.defineProperty, up = Object.defineProperties, lp = Object.getOwnPropertyDescriptors,
|
|
7981
|
+
}, sp = Object.defineProperty, up = Object.defineProperties, lp = Object.getOwnPropertyDescriptors, an = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Qi = function(e, t, r) {
|
|
7959
7982
|
return t in e ? sp(e, t, {
|
|
7960
7983
|
enumerable: !0,
|
|
7961
7984
|
configurable: !0,
|
|
@@ -7964,7 +7987,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7964
7987
|
}) : e[t] = r;
|
|
7965
7988
|
}, ae = function(e, t) {
|
|
7966
7989
|
for (var r in t || (t = {})) Ui.call(t, r) && Qi(e, r, t[r]);
|
|
7967
|
-
if (
|
|
7990
|
+
if (an) for (var n = 0, o = an(t); n < o.length; n++) {
|
|
7968
7991
|
var r = o[n];
|
|
7969
7992
|
Hi.call(t, r) && Qi(e, r, t[r]);
|
|
7970
7993
|
}
|
|
@@ -7974,12 +7997,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
7974
7997
|
}, zi = function(e, t) {
|
|
7975
7998
|
var r = {};
|
|
7976
7999
|
for (var n in e) Ui.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
7977
|
-
if (e != null &&
|
|
8000
|
+
if (e != null && an) for (var o = 0, a = an(e); o < a.length; o++) {
|
|
7978
8001
|
var n = a[o];
|
|
7979
8002
|
t.indexOf(n) < 0 && Hi.call(e, n) && (r[n] = e[n]);
|
|
7980
8003
|
}
|
|
7981
8004
|
return r;
|
|
7982
|
-
},
|
|
8005
|
+
}, sn = function(e, t, r) {
|
|
7983
8006
|
return new Promise(function(n, o) {
|
|
7984
8007
|
var a = function(s) {
|
|
7985
8008
|
try {
|
|
@@ -8078,9 +8101,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8078
8101
|
"validateStatus"
|
|
8079
8102
|
]);
|
|
8080
8103
|
return function(O, y) {
|
|
8081
|
-
return
|
|
8082
|
-
var E, v, A, P, I, j, D, R, L, N, x, H, Q, F, U, K, ee, z, Z, J, V, ve, Ge, ie, Te, De, Ie, qe, Ir, Cr, Dr, xt, Gt, qr, Rr,
|
|
8083
|
-
return
|
|
8104
|
+
return sn(t, null, function() {
|
|
8105
|
+
var E, v, A, P, I, j, D, R, L, N, x, H, Q, F, U, K, ee, z, Z, J, V, ve, Ge, ie, Te, De, Ie, qe, Ir, Cr, Dr, xt, Gt, qr, Rr, qn;
|
|
8106
|
+
return nn(this, function(Re) {
|
|
8084
8107
|
switch (Re.label) {
|
|
8085
8108
|
case 0: return E = y.signal, v = y.getState, A = y.extra, P = y.endpoint, I = y.forced, j = y.type, R = typeof O == "string" ? { url: O } : O, L = R.url, N = R.headers, x = N === void 0 ? new Headers(S.headers) : N, H = R.params, Q = H === void 0 ? void 0 : H, F = R.responseHandler, U = F === void 0 ? _ ?? "json" : F, K = R.validateStatus, ee = K === void 0 ? b ?? vp : K, z = R.timeout, Z = z === void 0 ? g : z, J = zi(R, [
|
|
8086
8109
|
"url",
|
|
@@ -8132,12 +8155,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8132
8155
|
case 8:
|
|
8133
8156
|
if (Re.sent(), Rr) throw Rr;
|
|
8134
8157
|
return [3, 10];
|
|
8135
|
-
case 9: return
|
|
8158
|
+
case 9: return qn = Re.sent(), [2, {
|
|
8136
8159
|
error: {
|
|
8137
8160
|
status: "PARSING_ERROR",
|
|
8138
8161
|
originalStatus: qe.status,
|
|
8139
8162
|
data: qr,
|
|
8140
|
-
error: String(
|
|
8163
|
+
error: String(qn)
|
|
8141
8164
|
},
|
|
8142
8165
|
meta: D
|
|
8143
8166
|
}];
|
|
@@ -8156,9 +8179,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8156
8179
|
});
|
|
8157
8180
|
};
|
|
8158
8181
|
function w(O, y) {
|
|
8159
|
-
return
|
|
8182
|
+
return sn(this, null, function() {
|
|
8160
8183
|
var E;
|
|
8161
|
-
return
|
|
8184
|
+
return nn(this, function(v) {
|
|
8162
8185
|
switch (v.label) {
|
|
8163
8186
|
case 0: return typeof y == "function" ? [2, y(O)] : (y === "content-type" && (y = f(O.headers) ? "json" : "text"), y !== "json" ? [3, 2] : [4, O.text()]);
|
|
8164
8187
|
case 1: return E = v.sent(), [2, E.length ? JSON.parse(E) : null];
|
|
@@ -8173,30 +8196,30 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8173
8196
|
r === void 0 && (r = void 0), this.value = t, this.meta = r;
|
|
8174
8197
|
}
|
|
8175
8198
|
return e;
|
|
8176
|
-
})(), pr = Ee("__rtkq/focused"),
|
|
8199
|
+
})(), pr = Ee("__rtkq/focused"), un = Ee("__rtkq/unfocused"), mr = Ee("__rtkq/online"), ln = Ee("__rtkq/offline"), Co = !1;
|
|
8177
8200
|
function _p(e, t) {
|
|
8178
8201
|
function r() {
|
|
8179
8202
|
var n = function() {
|
|
8180
8203
|
return e(pr());
|
|
8181
8204
|
}, o = function() {
|
|
8182
|
-
return e(
|
|
8205
|
+
return e(un());
|
|
8183
8206
|
}, a = function() {
|
|
8184
8207
|
return e(mr());
|
|
8185
8208
|
}, i = function() {
|
|
8186
|
-
return e(
|
|
8209
|
+
return e(ln());
|
|
8187
8210
|
}, u = function() {
|
|
8188
8211
|
window.document.visibilityState === "visible" ? n() : o();
|
|
8189
8212
|
};
|
|
8190
|
-
|
|
8213
|
+
Co || typeof window < "u" && window.addEventListener && (window.addEventListener("visibilitychange", u, !1), window.addEventListener("focus", n, !1), window.addEventListener("online", a, !1), window.addEventListener("offline", i, !1), Co = !0);
|
|
8191
8214
|
var s = function() {
|
|
8192
|
-
window.removeEventListener("focus", n), window.removeEventListener("visibilitychange", u), window.removeEventListener("online", a), window.removeEventListener("offline", i),
|
|
8215
|
+
window.removeEventListener("focus", n), window.removeEventListener("visibilitychange", u), window.removeEventListener("online", a), window.removeEventListener("offline", i), Co = !1;
|
|
8193
8216
|
};
|
|
8194
8217
|
return s;
|
|
8195
8218
|
}
|
|
8196
8219
|
return t ? t(e, {
|
|
8197
8220
|
onFocus: pr,
|
|
8198
|
-
onFocusLost:
|
|
8199
|
-
onOffline:
|
|
8221
|
+
onFocusLost: un,
|
|
8222
|
+
onOffline: ln,
|
|
8200
8223
|
onOnline: mr
|
|
8201
8224
|
}) : r();
|
|
8202
8225
|
}
|
|
@@ -8210,19 +8233,19 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8210
8233
|
function bp(e) {
|
|
8211
8234
|
return e.type === Ue.mutation;
|
|
8212
8235
|
}
|
|
8213
|
-
function
|
|
8214
|
-
return Ep(e) ? e(t, r, n, o).map(
|
|
8236
|
+
function Do(e, t, r, n, o, a) {
|
|
8237
|
+
return Ep(e) ? e(t, r, n, o).map(qo).map(a) : Array.isArray(e) ? e.map(qo).map(a) : [];
|
|
8215
8238
|
}
|
|
8216
8239
|
function Ep(e) {
|
|
8217
8240
|
return typeof e == "function";
|
|
8218
8241
|
}
|
|
8219
|
-
function
|
|
8242
|
+
function qo(e) {
|
|
8220
8243
|
return typeof e == "string" ? { type: e } : e;
|
|
8221
8244
|
}
|
|
8222
|
-
function
|
|
8245
|
+
function Ro(e) {
|
|
8223
8246
|
return e != null;
|
|
8224
8247
|
}
|
|
8225
|
-
var hr = Symbol("forceQueryFn"),
|
|
8248
|
+
var hr = Symbol("forceQueryFn"), Mo = function(e) {
|
|
8226
8249
|
return typeof e[hr] == "function";
|
|
8227
8250
|
};
|
|
8228
8251
|
function wp(e) {
|
|
@@ -8248,7 +8271,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8248
8271
|
return v ? Object.values(v) : [];
|
|
8249
8272
|
});
|
|
8250
8273
|
};
|
|
8251
|
-
return
|
|
8274
|
+
return on(on([], y(i)), y(u)).filter(Ro);
|
|
8252
8275
|
}
|
|
8253
8276
|
function g(y, E) {
|
|
8254
8277
|
return function(v) {
|
|
@@ -8268,12 +8291,12 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8268
8291
|
}
|
|
8269
8292
|
function b() {
|
|
8270
8293
|
return function(y) {
|
|
8271
|
-
return Object.values(i.get(y) || {}).filter(
|
|
8294
|
+
return Object.values(i.get(y) || {}).filter(Ro);
|
|
8272
8295
|
};
|
|
8273
8296
|
}
|
|
8274
8297
|
function S() {
|
|
8275
8298
|
return function(y) {
|
|
8276
|
-
return Object.values(u.get(y) || {}).filter(
|
|
8299
|
+
return Object.values(u.get(y) || {}).filter(Ro);
|
|
8277
8300
|
};
|
|
8278
8301
|
}
|
|
8279
8302
|
function w(y, E) {
|
|
@@ -8301,9 +8324,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8301
8324
|
queryCacheKey: U,
|
|
8302
8325
|
abort: V,
|
|
8303
8326
|
unwrap: function() {
|
|
8304
|
-
return
|
|
8327
|
+
return sn(this, null, function() {
|
|
8305
8328
|
var Ie;
|
|
8306
|
-
return
|
|
8329
|
+
return nn(this, function(qe) {
|
|
8307
8330
|
switch (qe.label) {
|
|
8308
8331
|
case 0: return [4, Te];
|
|
8309
8332
|
case 1:
|
|
@@ -8396,7 +8419,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8396
8419
|
queryCacheKey: D,
|
|
8397
8420
|
patches: v
|
|
8398
8421
|
})), !!A) {
|
|
8399
|
-
var R = i.endpoints[y].select(E)(I()), L =
|
|
8422
|
+
var R = i.endpoints[y].select(E)(I()), L = Do(j.providesTags, R.data, void 0, E, {}, u);
|
|
8400
8423
|
P(i.internalActions.updateProvidedBy({
|
|
8401
8424
|
queryCacheKey: D,
|
|
8402
8425
|
providedTags: L
|
|
@@ -8439,9 +8462,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8439
8462
|
}, P)));
|
|
8440
8463
|
};
|
|
8441
8464
|
}, d = function(y, E) {
|
|
8442
|
-
return
|
|
8465
|
+
return sn(t, [y, E], function(v, A) {
|
|
8443
8466
|
var P, I, j, D, R, L, N, x, H, Q, F, U, K, ee = A.signal, z = A.abort, Z = A.rejectWithValue, J = A.fulfillWithValue, V = A.dispatch, ve = A.getState, Ge = A.extra;
|
|
8444
|
-
return
|
|
8467
|
+
return nn(this, function(ie) {
|
|
8445
8468
|
switch (ie.label) {
|
|
8446
8469
|
case 0: P = o[v.endpointName], ie.label = 1;
|
|
8447
8470
|
case 1: return ie.trys.push([
|
|
@@ -8493,14 +8516,14 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8493
8516
|
var v, A, P, I, j = (A = (v = E[r]) == null ? void 0 : v.queries) == null ? void 0 : A[y.queryCacheKey], D = (P = E[r]) == null ? void 0 : P.config.refetchOnMountOrArgChange, R = j?.fulfilledTimeStamp, L = (I = y.forceRefetch) != null ? I : y.subscribe && D;
|
|
8494
8517
|
return L ? L === !0 || (Number(new Date()) - Number(R)) / 1e3 >= L : !1;
|
|
8495
8518
|
}
|
|
8496
|
-
var m =
|
|
8519
|
+
var m = en(r + "/executeQuery", d, {
|
|
8497
8520
|
getPendingMeta: function() {
|
|
8498
8521
|
var y;
|
|
8499
8522
|
return y = { startedTimeStamp: Date.now() }, y[dr] = !0, y;
|
|
8500
8523
|
},
|
|
8501
8524
|
condition: function(y, E) {
|
|
8502
8525
|
var v = E.getState, A, P, I, j = v(), D = (P = (A = j[r]) == null ? void 0 : A.queries) == null ? void 0 : P[y.queryCacheKey], R = D?.fulfilledTimeStamp, L = y.originalArgs, N = D?.originalArgs, x = o[y.endpointName];
|
|
8503
|
-
return
|
|
8526
|
+
return Mo(y) ? !0 : D?.status === "pending" ? !1 : p(y, j) || es(x) && (I = x?.forceRefetch) != null && I.call(x, {
|
|
8504
8527
|
currentArg: L,
|
|
8505
8528
|
previousArg: N,
|
|
8506
8529
|
endpointState: D,
|
|
@@ -8508,7 +8531,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8508
8531
|
}) ? !0 : !R;
|
|
8509
8532
|
},
|
|
8510
8533
|
dispatchConditionRejection: !0
|
|
8511
|
-
}), g =
|
|
8534
|
+
}), g = en(r + "/executeMutation", d, { getPendingMeta: function() {
|
|
8512
8535
|
var y;
|
|
8513
8536
|
return y = { startedTimeStamp: Date.now() }, y[dr] = !0, y;
|
|
8514
8537
|
} }), _ = function(y) {
|
|
@@ -8539,7 +8562,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8539
8562
|
}
|
|
8540
8563
|
function O(y, E) {
|
|
8541
8564
|
return {
|
|
8542
|
-
matchPending: ur(
|
|
8565
|
+
matchPending: ur(Ao(y), w(E)),
|
|
8543
8566
|
matchFulfilled: ur(yt(y), w(E)),
|
|
8544
8567
|
matchRejected: ur(cr(y), w(E))
|
|
8545
8568
|
};
|
|
@@ -8555,9 +8578,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8555
8578
|
};
|
|
8556
8579
|
}
|
|
8557
8580
|
function rs(e, t, r, n) {
|
|
8558
|
-
return
|
|
8581
|
+
return Do(r[e.meta.arg.endpointName][t], yt(e) ? e.payload : void 0, rn(e) ? e.payload : void 0, e.meta.arg.originalArgs, "baseQueryMeta" in e.meta ? e.meta.baseQueryMeta : void 0, n);
|
|
8559
8582
|
}
|
|
8560
|
-
function
|
|
8583
|
+
function cn(e, t, r) {
|
|
8561
8584
|
var n = e[t];
|
|
8562
8585
|
n && r(n);
|
|
8563
8586
|
}
|
|
@@ -8585,7 +8608,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8585
8608
|
queryResultPatched: {
|
|
8586
8609
|
reducer: function(y, E) {
|
|
8587
8610
|
var v = E.payload, A = v.queryCacheKey, P = v.patches;
|
|
8588
|
-
|
|
8611
|
+
cn(y, A, function(I) {
|
|
8589
8612
|
I.data = Oi(I.data, P.concat());
|
|
8590
8613
|
});
|
|
8591
8614
|
},
|
|
@@ -8594,18 +8617,18 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8594
8617
|
},
|
|
8595
8618
|
extraReducers: function(y) {
|
|
8596
8619
|
y.addCase(r.pending, function(E, v) {
|
|
8597
|
-
var A = v.meta, P = v.meta.arg, I, j =
|
|
8620
|
+
var A = v.meta, P = v.meta.arg, I, j = Mo(P);
|
|
8598
8621
|
(P.subscribe || j) && (E[I = P.queryCacheKey] ?? (E[I] = {
|
|
8599
8622
|
status: oe.uninitialized,
|
|
8600
8623
|
endpointName: P.endpointName
|
|
8601
|
-
})),
|
|
8624
|
+
})), cn(E, P.queryCacheKey, function(D) {
|
|
8602
8625
|
D.status = oe.pending, D.requestId = j && D.requestId ? D.requestId : A.requestId, P.originalArgs !== void 0 && (D.originalArgs = P.originalArgs), D.startedTimeStamp = A.startedTimeStamp;
|
|
8603
8626
|
});
|
|
8604
8627
|
}).addCase(r.fulfilled, function(E, v) {
|
|
8605
8628
|
var A = v.meta, P = v.payload;
|
|
8606
|
-
|
|
8629
|
+
cn(E, A.arg.queryCacheKey, function(I) {
|
|
8607
8630
|
var j;
|
|
8608
|
-
if (!(I.requestId !== A.requestId && !
|
|
8631
|
+
if (!(I.requestId !== A.requestId && !Mo(A.arg))) {
|
|
8609
8632
|
var D = a[A.arg.endpointName].merge;
|
|
8610
8633
|
if (I.status = oe.fulfilled, D) if (I.data !== void 0) {
|
|
8611
8634
|
var R = A.fulfilledTimeStamp, L = A.arg, N = A.baseQueryMeta, x = A.requestId;
|
|
@@ -8624,7 +8647,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8624
8647
|
});
|
|
8625
8648
|
}).addCase(r.rejected, function(E, v) {
|
|
8626
8649
|
var A = v.meta, P = A.condition, I = A.arg, j = A.requestId, D = v.error, R = v.payload;
|
|
8627
|
-
|
|
8650
|
+
cn(E, I.queryCacheKey, function(L) {
|
|
8628
8651
|
if (!P) {
|
|
8629
8652
|
if (L.requestId !== j) return;
|
|
8630
8653
|
L.status = oe.rejected, L.error = R ?? D;
|
|
@@ -8700,7 +8723,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8700
8723
|
var V = J[Z];
|
|
8701
8724
|
z.includes(V) || z.push(V);
|
|
8702
8725
|
}
|
|
8703
|
-
}).addMatcher(Rt(yt(r),
|
|
8726
|
+
}).addMatcher(Rt(yt(r), rn(r)), function(E, v) {
|
|
8704
8727
|
var A = rs(v, "providesTags", a, l), P = v.meta.arg.queryCacheKey;
|
|
8705
8728
|
g.caseReducers.updateProvidedBy(E, g.actions.updateProvidedBy({
|
|
8706
8729
|
queryCacheKey: P,
|
|
@@ -8739,17 +8762,17 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8739
8762
|
extraReducers: function(y) {
|
|
8740
8763
|
y.addCase(mr, function(E) {
|
|
8741
8764
|
E.online = !0;
|
|
8742
|
-
}).addCase(
|
|
8765
|
+
}).addCase(ln, function(E) {
|
|
8743
8766
|
E.online = !1;
|
|
8744
8767
|
}).addCase(pr, function(E) {
|
|
8745
8768
|
E.focused = !0;
|
|
8746
|
-
}).addCase(
|
|
8769
|
+
}).addCase(un, function(E) {
|
|
8747
8770
|
E.focused = !1;
|
|
8748
8771
|
}).addMatcher(s, function(E) {
|
|
8749
8772
|
return ae({}, E);
|
|
8750
8773
|
});
|
|
8751
8774
|
}
|
|
8752
|
-
}), w =
|
|
8775
|
+
}), w = bo({
|
|
8753
8776
|
queries: p.reducer,
|
|
8754
8777
|
mutations: m.reducer,
|
|
8755
8778
|
provided: g.reducer,
|
|
@@ -8809,7 +8832,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8809
8832
|
};
|
|
8810
8833
|
}
|
|
8811
8834
|
function l(f, d) {
|
|
8812
|
-
for (var p, m = f[r], g = new Set(), _ = 0, b = d.map(
|
|
8835
|
+
for (var p, m = f[r], g = new Set(), _ = 0, b = d.map(qo); _ < b.length; _++) {
|
|
8813
8836
|
var S = b[_], w = m.provided[S.type];
|
|
8814
8837
|
if (w) for (var O = (p = S.id !== void 0 ? w[S.id] : Ki(Object.values(w))) != null ? p : [], y = 0, E = O; y < E.length; y++) {
|
|
8815
8838
|
var v = E[y];
|
|
@@ -8826,8 +8849,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8826
8849
|
}));
|
|
8827
8850
|
}
|
|
8828
8851
|
}
|
|
8829
|
-
var
|
|
8830
|
-
var t = e.endpointName, r = e.queryArgs, n = "", o =
|
|
8852
|
+
var Lo = WeakMap ? new WeakMap() : void 0, ss = function(e) {
|
|
8853
|
+
var t = e.endpointName, r = e.queryArgs, n = "", o = Lo?.get(r);
|
|
8831
8854
|
if (typeof o == "string") n = o;
|
|
8832
8855
|
else {
|
|
8833
8856
|
var a = JSON.stringify(r, function(i, u) {
|
|
@@ -8835,14 +8858,14 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8835
8858
|
return s[l] = u[l], s;
|
|
8836
8859
|
}, {}) : u;
|
|
8837
8860
|
});
|
|
8838
|
-
nt(r) &&
|
|
8861
|
+
nt(r) && Lo?.set(r, a), n = a;
|
|
8839
8862
|
}
|
|
8840
8863
|
return t + "(" + n + ")";
|
|
8841
8864
|
};
|
|
8842
8865
|
function us() {
|
|
8843
8866
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
8844
8867
|
return function(n) {
|
|
8845
|
-
var o =
|
|
8868
|
+
var o = Eo(function(f) {
|
|
8846
8869
|
var d, p;
|
|
8847
8870
|
return (p = n.extractRehydrationInfo) == null ? void 0 : p.call(n, f, { reducerPath: (d = n.reducerPath) != null ? d : "api" });
|
|
8848
8871
|
}), a = Fe(ae({
|
|
@@ -8864,7 +8887,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8864
8887
|
} else n.serializeQueryArgs && (d = n.serializeQueryArgs);
|
|
8865
8888
|
return d(f);
|
|
8866
8889
|
},
|
|
8867
|
-
tagTypes:
|
|
8890
|
+
tagTypes: on([], n.tagTypes || [])
|
|
8868
8891
|
}), i = {
|
|
8869
8892
|
endpointDefinitions: {},
|
|
8870
8893
|
batch: function(f) {
|
|
@@ -8872,7 +8895,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8872
8895
|
},
|
|
8873
8896
|
apiUid: ki(),
|
|
8874
8897
|
extractRehydrationInfo: o,
|
|
8875
|
-
hasRehydrationInfo:
|
|
8898
|
+
hasRehydrationInfo: Eo(function(f) {
|
|
8876
8899
|
return o(f) != null;
|
|
8877
8900
|
})
|
|
8878
8901
|
}, u = {
|
|
@@ -8951,8 +8974,8 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
8951
8974
|
}
|
|
8952
8975
|
return f;
|
|
8953
8976
|
}, Ip = function(e) {
|
|
8954
|
-
var t = e.reducerPath, r = e.context, n = e.context.endpointDefinitions, o = e.mutationThunk, a = e.api, i = e.assertTagType, u = e.refetchQuery, s = a.internalActions.removeQueryResult, l = Rt(yt(o),
|
|
8955
|
-
l(p) && d(rs(p, "invalidatesTags", n, i), m), a.util.invalidateTags.match(p) && d(
|
|
8977
|
+
var t = e.reducerPath, r = e.context, n = e.context.endpointDefinitions, o = e.mutationThunk, a = e.api, i = e.assertTagType, u = e.refetchQuery, s = a.internalActions.removeQueryResult, l = Rt(yt(o), rn(o)), f = function(p, m) {
|
|
8978
|
+
l(p) && d(rs(p, "invalidatesTags", n, i), m), a.util.invalidateTags.match(p) && d(Do(p.payload, void 0, void 0, void 0, void 0, i), m);
|
|
8956
8979
|
};
|
|
8957
8980
|
function d(p, m) {
|
|
8958
8981
|
var g = m.getState(), _ = g[t], b = a.util.selectInvalidatedBy(g, p);
|
|
@@ -9035,7 +9058,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9035
9058
|
}, ls = new Error("Promise never resolved before cacheEntryRemoved."), qp = function(e) {
|
|
9036
9059
|
var t = e.api, r = e.reducerPath, n = e.context, o = e.queryThunk, a = e.mutationThunk;
|
|
9037
9060
|
e.internalState;
|
|
9038
|
-
var i =
|
|
9061
|
+
var i = jo(o), u = jo(a), s = yt(o, a), l = {}, f = function(m, g, _) {
|
|
9039
9062
|
var b = d(m);
|
|
9040
9063
|
if (o.pending.match(m)) {
|
|
9041
9064
|
var S = _[r].queries[b], w = g.getState()[r].queries[b];
|
|
@@ -9092,7 +9115,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9092
9115
|
}
|
|
9093
9116
|
return f;
|
|
9094
9117
|
}, Rp = function(e) {
|
|
9095
|
-
var t = e.api, r = e.context, n = e.queryThunk, o = e.mutationThunk, a =
|
|
9118
|
+
var t = e.api, r = e.context, n = e.queryThunk, o = e.mutationThunk, a = Ao(n, o), i = cr(n, o), u = yt(n, o), s = {}, l = function(f, d) {
|
|
9096
9119
|
var p, m, g;
|
|
9097
9120
|
if (a(f)) {
|
|
9098
9121
|
var _ = f.meta, b = _.requestId, S = _.arg, w = S.endpointName, O = S.originalArgs, y = r.endpointDefinitions[w], E = y?.onQueryStarted;
|
|
@@ -9237,7 +9260,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9237
9260
|
}
|
|
9238
9261
|
function ot(e) {
|
|
9239
9262
|
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
9240
|
-
Object.assign.apply(Object,
|
|
9263
|
+
Object.assign.apply(Object, on([e], t));
|
|
9241
9264
|
}
|
|
9242
9265
|
var ds = Symbol(), fs = function() {
|
|
9243
9266
|
return {
|
|
@@ -9255,9 +9278,9 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9255
9278
|
endpoints: {},
|
|
9256
9279
|
internalActions: {
|
|
9257
9280
|
onOnline: mr,
|
|
9258
|
-
onOffline:
|
|
9281
|
+
onOffline: ln,
|
|
9259
9282
|
onFocus: pr,
|
|
9260
|
-
onFocusLost:
|
|
9283
|
+
onFocusLost: un
|
|
9261
9284
|
},
|
|
9262
9285
|
util: {}
|
|
9263
9286
|
});
|
|
@@ -9414,7 +9437,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9414
9437
|
};
|
|
9415
9438
|
return f;
|
|
9416
9439
|
}
|
|
9417
|
-
var
|
|
9440
|
+
var ko = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? M.useLayoutEffect : M.useEffect;
|
|
9418
9441
|
function Fp(e) {
|
|
9419
9442
|
var t = e.store, r = e.context, n = e.children, o = (0, M.useMemo)(function() {
|
|
9420
9443
|
return {
|
|
@@ -9424,7 +9447,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9424
9447
|
}, [t]), a = (0, M.useMemo)(function() {
|
|
9425
9448
|
return t.getState();
|
|
9426
9449
|
}, [t]);
|
|
9427
|
-
|
|
9450
|
+
ko(function() {
|
|
9428
9451
|
var u = o.subscription;
|
|
9429
9452
|
return u.onStateChange = u.notifyNestedSubs, u.trySubscribe(), a !== t.getState() && u.notifyNestedSubs(), function() {
|
|
9430
9453
|
u.tryUnsubscribe(), u.onStateChange = null;
|
|
@@ -9565,7 +9588,7 @@ __useblocks__.define("static/core/bb774fb9.js", [
|
|
|
9565
9588
|
function ys(e, t) {
|
|
9566
9589
|
return e === t ? e !== 0 || t !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
9567
9590
|
}
|
|
9568
|
-
function
|
|
9591
|
+
function dn(e, t) {
|
|
9569
9592
|
if (ys(e, t)) return !0;
|
|
9570
9593
|
if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
|
|
9571
9594
|
var r = Object.keys(e), n = Object.keys(t);
|
|
@@ -9614,9 +9637,9 @@ The error may be correlated with this previous error:
|
|
|
9614
9637
|
|
|
9615
9638
|
`), m;
|
|
9616
9639
|
}
|
|
9617
|
-
return
|
|
9640
|
+
return ko(function() {
|
|
9618
9641
|
u.current = e, s.current = f, l.current = d, i.current = void 0;
|
|
9619
|
-
}),
|
|
9642
|
+
}), ko(function() {
|
|
9620
9643
|
function m() {
|
|
9621
9644
|
try {
|
|
9622
9645
|
var g = r.getState();
|
|
@@ -9646,7 +9669,7 @@ The error may be correlated with this previous error:
|
|
|
9646
9669
|
};
|
|
9647
9670
|
}
|
|
9648
9671
|
var gt = Jp();
|
|
9649
|
-
Gp(
|
|
9672
|
+
Gp(va.unstable_batchedUpdates);
|
|
9650
9673
|
var Yp = function(e, t) {
|
|
9651
9674
|
for (var r = 0, n = t.length, o = e.length; r < n; r++, o++) e[o] = t[r];
|
|
9652
9675
|
return e;
|
|
@@ -9664,7 +9687,7 @@ The error may be correlated with this previous error:
|
|
|
9664
9687
|
nm.call(t, r) && Es(e, r, t[r]);
|
|
9665
9688
|
}
|
|
9666
9689
|
return e;
|
|
9667
|
-
},
|
|
9690
|
+
}, fn = function(e, t) {
|
|
9668
9691
|
return em(e, tm(t));
|
|
9669
9692
|
};
|
|
9670
9693
|
function ws(e, t, r, n) {
|
|
@@ -9687,15 +9710,15 @@ The error may be correlated with this previous error:
|
|
|
9687
9710
|
a.current.serialized !== o.serialized && (a.current = o);
|
|
9688
9711
|
}, [o]), a.current.serialized === o.serialized ? a.current.queryArgs : e;
|
|
9689
9712
|
}
|
|
9690
|
-
var
|
|
9691
|
-
function
|
|
9713
|
+
var No = Symbol();
|
|
9714
|
+
function xo(e) {
|
|
9692
9715
|
var t = (0, M.useRef)(e);
|
|
9693
9716
|
return (0, M.useEffect)(function() {
|
|
9694
|
-
|
|
9695
|
-
}, [e]),
|
|
9717
|
+
dn(t.current, e) || (t.current = e);
|
|
9718
|
+
}, [e]), dn(t.current, e) ? t.current : e;
|
|
9696
9719
|
}
|
|
9697
|
-
var
|
|
9698
|
-
var t = e.endpointName, r = e.queryArgs, n = "", o =
|
|
9720
|
+
var Go = WeakMap ? new WeakMap() : void 0, om = function(e) {
|
|
9721
|
+
var t = e.endpointName, r = e.queryArgs, n = "", o = Go?.get(r);
|
|
9699
9722
|
if (typeof o == "string") n = o;
|
|
9700
9723
|
else {
|
|
9701
9724
|
var a = JSON.stringify(r, function(i, u) {
|
|
@@ -9703,13 +9726,13 @@ The error may be correlated with this previous error:
|
|
|
9703
9726
|
return s[l] = u[l], s;
|
|
9704
9727
|
}, {}) : u;
|
|
9705
9728
|
});
|
|
9706
|
-
nt(r) &&
|
|
9729
|
+
nt(r) && Go?.set(r, a), n = a;
|
|
9707
9730
|
}
|
|
9708
9731
|
return t + "(" + n + ")";
|
|
9709
9732
|
}, am = typeof window < "u" && window.document && window.document.createElement ? M.useLayoutEffect : M.useEffect, im = function(e) {
|
|
9710
9733
|
return e;
|
|
9711
9734
|
}, sm = function(e) {
|
|
9712
|
-
return e.isUninitialized ?
|
|
9735
|
+
return e.isUninitialized ? fn(Ve({}, e), {
|
|
9713
9736
|
isUninitialized: !1,
|
|
9714
9737
|
isFetching: !0,
|
|
9715
9738
|
isLoading: e.data === void 0,
|
|
@@ -9741,7 +9764,7 @@ The error may be correlated with this previous error:
|
|
|
9741
9764
|
var y = _.isSuccess ? _.data : b?.data;
|
|
9742
9765
|
y === void 0 && (y = _.data);
|
|
9743
9766
|
var E = y !== void 0, v = _.isLoading, A = !E && v, P = _.isSuccess || v && E;
|
|
9744
|
-
return
|
|
9767
|
+
return fn(Ve({}, _), {
|
|
9745
9768
|
data: y,
|
|
9746
9769
|
currentData: _.data,
|
|
9747
9770
|
isFetching: v,
|
|
@@ -9750,7 +9773,7 @@ The error may be correlated with this previous error:
|
|
|
9750
9773
|
});
|
|
9751
9774
|
}
|
|
9752
9775
|
function p(_, b) {
|
|
9753
|
-
var S = o(), w =
|
|
9776
|
+
var S = o(), w = xo(b);
|
|
9754
9777
|
return (0, M.useCallback)(function(O, y) {
|
|
9755
9778
|
return S(t.util.prefetch(_, O, Ve(Ve({}, w), y)));
|
|
9756
9779
|
}, [
|
|
@@ -9761,7 +9784,7 @@ The error may be correlated with this previous error:
|
|
|
9761
9784
|
}
|
|
9762
9785
|
function m(_) {
|
|
9763
9786
|
var b = function(O, y) {
|
|
9764
|
-
var E = y === void 0 ? {} : y, v = E.refetchOnReconnect, A = E.refetchOnFocus, P = E.refetchOnMountOrArgChange, I = E.skip, j = I === void 0 ? !1 : I, D = E.pollingInterval, R = D === void 0 ? 0 : D, L = t.endpoints[_].initiate, N = o(), x = ws(j ? vt : O, om, l.endpointDefinitions[_], _), H =
|
|
9787
|
+
var E = y === void 0 ? {} : y, v = E.refetchOnReconnect, A = E.refetchOnFocus, P = E.refetchOnMountOrArgChange, I = E.skip, j = I === void 0 ? !1 : I, D = E.pollingInterval, R = D === void 0 ? 0 : D, L = t.endpoints[_].initiate, N = o(), x = ws(j ? vt : O, om, l.endpointDefinitions[_], _), H = xo({
|
|
9765
9788
|
refetchOnReconnect: v,
|
|
9766
9789
|
refetchOnFocus: A,
|
|
9767
9790
|
pollingInterval: R
|
|
@@ -9806,7 +9829,7 @@ The error may be correlated with this previous error:
|
|
|
9806
9829
|
} };
|
|
9807
9830
|
}, []);
|
|
9808
9831
|
}, S = function(O) {
|
|
9809
|
-
var y = O === void 0 ? {} : O, E = y.refetchOnReconnect, v = y.refetchOnFocus, A = y.pollingInterval, P = A === void 0 ? 0 : A, I = t.endpoints[_].initiate, j = o(), D = (0, M.useState)(
|
|
9832
|
+
var y = O === void 0 ? {} : O, E = y.refetchOnReconnect, v = y.refetchOnFocus, A = y.pollingInterval, P = A === void 0 ? 0 : A, I = t.endpoints[_].initiate, j = o(), D = (0, M.useState)(No), R = D[0], L = D[1], N = (0, M.useRef)(), x = xo({
|
|
9810
9833
|
refetchOnReconnect: E,
|
|
9811
9834
|
refetchOnFocus: v,
|
|
9812
9835
|
pollingInterval: P
|
|
@@ -9836,7 +9859,7 @@ The error may be correlated with this previous error:
|
|
|
9836
9859
|
(F = N?.current) == null || F.unsubscribe();
|
|
9837
9860
|
};
|
|
9838
9861
|
}, []), (0, M.useEffect)(function() {
|
|
9839
|
-
R !==
|
|
9862
|
+
R !== No && !N.current && Q(R, !0);
|
|
9840
9863
|
}, [R, Q]), (0, M.useMemo)(function() {
|
|
9841
9864
|
return [Q, R];
|
|
9842
9865
|
}, [Q, R]);
|
|
@@ -9855,7 +9878,7 @@ The error may be correlated with this previous error:
|
|
|
9855
9878
|
return P ? Dt([R], P) : R;
|
|
9856
9879
|
}, [R, P]), N = a(function(H) {
|
|
9857
9880
|
return L(H, D.current);
|
|
9858
|
-
},
|
|
9881
|
+
}, dn), x = R(i().getState(), D.current);
|
|
9859
9882
|
return am(function() {
|
|
9860
9883
|
D.current = x;
|
|
9861
9884
|
}, [x]), N;
|
|
@@ -9865,7 +9888,7 @@ The error may be correlated with this previous error:
|
|
|
9865
9888
|
useQuerySubscription: b,
|
|
9866
9889
|
useLazyQuerySubscription: S,
|
|
9867
9890
|
useLazyQuery: function(O) {
|
|
9868
|
-
var y = S(O), E = y[0], v = y[1], A = w(v,
|
|
9891
|
+
var y = S(O), E = y[0], v = y[1], A = w(v, fn(Ve({}, O), { skip: v === No })), P = (0, M.useMemo)(function() {
|
|
9869
9892
|
return { lastArg: v };
|
|
9870
9893
|
}, [v]);
|
|
9871
9894
|
return (0, M.useMemo)(function() {
|
|
@@ -9920,7 +9943,7 @@ The error may be correlated with this previous error:
|
|
|
9920
9943
|
j,
|
|
9921
9944
|
O,
|
|
9922
9945
|
y
|
|
9923
|
-
]),
|
|
9946
|
+
]), dn), x = y == null ? j?.arg.originalArgs : void 0, H = (0, M.useCallback)(function() {
|
|
9924
9947
|
n(function() {
|
|
9925
9948
|
j && D(void 0), y && P(t.internalActions.removeMutationResult({
|
|
9926
9949
|
requestId: L,
|
|
@@ -9943,7 +9966,7 @@ The error may be correlated with this previous error:
|
|
|
9943
9966
|
error: Z
|
|
9944
9967
|
});
|
|
9945
9968
|
var J = (0, M.useMemo)(function() {
|
|
9946
|
-
return
|
|
9969
|
+
return fn(Ve({}, N), {
|
|
9947
9970
|
originalArgs: x,
|
|
9948
9971
|
reset: H
|
|
9949
9972
|
});
|
|
@@ -9958,25 +9981,25 @@ The error may be correlated with this previous error:
|
|
|
9958
9981
|
};
|
|
9959
9982
|
}
|
|
9960
9983
|
}
|
|
9961
|
-
var
|
|
9984
|
+
var pn;
|
|
9962
9985
|
(function(e) {
|
|
9963
9986
|
e.query = "query", e.mutation = "mutation";
|
|
9964
|
-
})(
|
|
9987
|
+
})(pn || (pn = {}));
|
|
9965
9988
|
function lm(e) {
|
|
9966
|
-
return e.type ===
|
|
9989
|
+
return e.type === pn.query;
|
|
9967
9990
|
}
|
|
9968
9991
|
function cm(e) {
|
|
9969
|
-
return e.type ===
|
|
9992
|
+
return e.type === pn.mutation;
|
|
9970
9993
|
}
|
|
9971
|
-
function
|
|
9994
|
+
function $o(e) {
|
|
9972
9995
|
return e.replace(e[0], e[0].toUpperCase());
|
|
9973
9996
|
}
|
|
9974
|
-
function
|
|
9997
|
+
function mn(e) {
|
|
9975
9998
|
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
9976
9999
|
Object.assign.apply(Object, Yp([e], t));
|
|
9977
10000
|
}
|
|
9978
10001
|
var dm = Symbol(), fm = function(e) {
|
|
9979
|
-
var t = e === void 0 ? {} : e, r = t.batch, n = r === void 0 ?
|
|
10002
|
+
var t = e === void 0 ? {} : e, r = t.batch, n = r === void 0 ? va.unstable_batchedUpdates : r, o = t.useDispatch, a = o === void 0 ? _s : o, i = t.useSelector, u = i === void 0 ? gt : i, s = t.useStore, l = s === void 0 ? ce : s, f = t.unstable__sideEffectsInRender, d = f === void 0 ? !1 : f;
|
|
9980
10003
|
return {
|
|
9981
10004
|
name: dm,
|
|
9982
10005
|
init: function(p, m, g) {
|
|
@@ -9992,24 +10015,24 @@ The error may be correlated with this previous error:
|
|
|
9992
10015
|
serializeQueryArgs: _,
|
|
9993
10016
|
context: g
|
|
9994
10017
|
}), w = S.buildQueryHooks, O = S.buildMutationHook, y = S.usePrefetch;
|
|
9995
|
-
return
|
|
10018
|
+
return mn(b, { usePrefetch: y }), mn(g, { batch: n }), { injectEndpoint: function(E, v) {
|
|
9996
10019
|
if (lm(v)) {
|
|
9997
10020
|
var A = w(E), P = A.useQuery, I = A.useLazyQuery, j = A.useLazyQuerySubscription, D = A.useQueryState, R = A.useQuerySubscription;
|
|
9998
|
-
|
|
10021
|
+
mn(b.endpoints[E], {
|
|
9999
10022
|
useQuery: P,
|
|
10000
10023
|
useLazyQuery: I,
|
|
10001
10024
|
useLazyQuerySubscription: j,
|
|
10002
10025
|
useQueryState: D,
|
|
10003
10026
|
useQuerySubscription: R
|
|
10004
|
-
}), p["use" +
|
|
10027
|
+
}), p["use" + $o(E) + "Query"] = P, p["useLazy" + $o(E) + "Query"] = I;
|
|
10005
10028
|
} else if (cm(v)) {
|
|
10006
10029
|
var L = O(E);
|
|
10007
|
-
|
|
10030
|
+
mn(b.endpoints[E], { useMutation: L }), p["use" + $o(E) + "Mutation"] = L;
|
|
10008
10031
|
}
|
|
10009
10032
|
} };
|
|
10010
10033
|
}
|
|
10011
10034
|
};
|
|
10012
|
-
}, _t = us(fs(), fm()), Ts =
|
|
10035
|
+
}, _t = us(fs(), fm()), Ts = ka, pm = (e, t) => {
|
|
10013
10036
|
if (!e) {
|
|
10014
10037
|
const r = ft.createChild(), n = W();
|
|
10015
10038
|
return ft.inject(n, r), n;
|
|
@@ -10318,7 +10341,7 @@ The error may be correlated with this previous error:
|
|
|
10318
10341
|
};
|
|
10319
10342
|
function bt(e) {
|
|
10320
10343
|
return (t, r, n) => {
|
|
10321
|
-
const o = we.getInstance(r,
|
|
10344
|
+
const o = we.getInstance(r, Hr);
|
|
10322
10345
|
return Yi({
|
|
10323
10346
|
...e,
|
|
10324
10347
|
fetchFn: o?.execute || fetch
|
|
@@ -10327,7 +10350,7 @@ The error may be correlated with this previous error:
|
|
|
10327
10350
|
}
|
|
10328
10351
|
var Dm = () => {
|
|
10329
10352
|
const e = ce();
|
|
10330
|
-
return (0, M.useMemo)(() => we.getInstance(e,
|
|
10353
|
+
return (0, M.useMemo)(() => we.getInstance(e, La), [e]);
|
|
10331
10354
|
};
|
|
10332
10355
|
function Mt(e, t = !1) {
|
|
10333
10356
|
const r = {};
|
|
@@ -10435,7 +10458,7 @@ The error may be correlated with this previous error:
|
|
|
10435
10458
|
function Mm(e) {
|
|
10436
10459
|
return e;
|
|
10437
10460
|
}
|
|
10438
|
-
function
|
|
10461
|
+
function hn({ data: e, ...t }, r) {
|
|
10439
10462
|
return t.error ? t : {
|
|
10440
10463
|
data: r(e, t.meta),
|
|
10441
10464
|
...t
|
|
@@ -10448,18 +10471,18 @@ The error may be correlated with this previous error:
|
|
|
10448
10471
|
};
|
|
10449
10472
|
}
|
|
10450
10473
|
function de(e) {
|
|
10451
|
-
return (t) =>
|
|
10474
|
+
return (t) => hn(t, e);
|
|
10452
10475
|
}
|
|
10453
10476
|
function km(e) {
|
|
10454
10477
|
return !e.hasOwnProperty("previous");
|
|
10455
10478
|
}
|
|
10456
|
-
function
|
|
10457
|
-
return (t) =>
|
|
10479
|
+
function yn(e) {
|
|
10480
|
+
return (t) => hn(t, (r, n) => km(r) ? e(r, n) : e(r.previous, n));
|
|
10458
10481
|
}
|
|
10459
10482
|
function Ae(e) {
|
|
10460
10483
|
return (t) => Lm(t, e);
|
|
10461
10484
|
}
|
|
10462
|
-
var Ne = "Projects",
|
|
10485
|
+
var Ne = "Projects", vn = "LIST";
|
|
10463
10486
|
function Nm(e) {
|
|
10464
10487
|
if (Array.isArray(e)) return e;
|
|
10465
10488
|
if (e != null && typeof e == "object") {
|
|
@@ -10511,10 +10534,10 @@ The error may be correlated with this previous error:
|
|
|
10511
10534
|
id: r
|
|
10512
10535
|
})), {
|
|
10513
10536
|
type: Ne,
|
|
10514
|
-
id:
|
|
10537
|
+
id: vn
|
|
10515
10538
|
}] : [{
|
|
10516
10539
|
type: Ne,
|
|
10517
|
-
id:
|
|
10540
|
+
id: vn
|
|
10518
10541
|
}]
|
|
10519
10542
|
}),
|
|
10520
10543
|
getProject: e.query({
|
|
@@ -10535,7 +10558,7 @@ The error may be correlated with this previous error:
|
|
|
10535
10558
|
},
|
|
10536
10559
|
invalidatesTags: [{
|
|
10537
10560
|
type: Ne,
|
|
10538
|
-
id:
|
|
10561
|
+
id: vn
|
|
10539
10562
|
}]
|
|
10540
10563
|
}),
|
|
10541
10564
|
editProject: e.mutation({
|
|
@@ -10553,7 +10576,7 @@ The error may be correlated with this previous error:
|
|
|
10553
10576
|
}),
|
|
10554
10577
|
deleteProject: e.mutation({
|
|
10555
10578
|
queryFn(t, r) {
|
|
10556
|
-
return $(r).wp.project_delete({ id: t }, {}).then(
|
|
10579
|
+
return $(r).wp.project_delete({ id: t }, {}).then(yn(Lt));
|
|
10557
10580
|
},
|
|
10558
10581
|
invalidatesTags: (t, r, n) => [
|
|
10559
10582
|
{
|
|
@@ -10566,7 +10589,7 @@ The error may be correlated with this previous error:
|
|
|
10566
10589
|
},
|
|
10567
10590
|
{
|
|
10568
10591
|
type: Ne,
|
|
10569
|
-
id:
|
|
10592
|
+
id: vn
|
|
10570
10593
|
}
|
|
10571
10594
|
]
|
|
10572
10595
|
}),
|
|
@@ -10680,7 +10703,7 @@ The error may be correlated with this previous error:
|
|
|
10680
10703
|
"acf[common_styles]": i
|
|
10681
10704
|
};
|
|
10682
10705
|
}
|
|
10683
|
-
function
|
|
10706
|
+
function Bo(e) {
|
|
10684
10707
|
return (t, r, n, o) => e(re(r))(t, r, n, o);
|
|
10685
10708
|
}
|
|
10686
10709
|
var _r = "autosaveRecovery", js = Pe({
|
|
@@ -10724,7 +10747,7 @@ The error may be correlated with this previous error:
|
|
|
10724
10747
|
e.forcedHeaderSync = null;
|
|
10725
10748
|
}
|
|
10726
10749
|
}
|
|
10727
|
-
}), { setRevisionToApply: br, clearRevisionToApply: Km, setIsRecovering:
|
|
10750
|
+
}), { setRevisionToApply: br, clearRevisionToApply: Km, setIsRecovering: Fo, markContentReady: Uo, markEmailInited: Nb, resetContentReady: xb, resetEmailInited: Gb, resetShowReady: Vm, beginForcedHeaderSync: Wm, endForcedHeaderSync: Xm } = js.actions, Jm = (e) => e[_r].revisionToApply, Ym = (e) => e[_r].isRecovering, Zm = (e) => e[_r].contentReadyEmailId, eh = (e) => e[_r].forcedHeaderSync, th = "Taxonomies", it = () => window.location.toString().includes("/blocks") ? "block" : "", rh = () => window.location.toString().includes("/blocks") ? "block" : "email", Ho = _t({
|
|
10728
10751
|
reducerPath: "taxonomiesApi",
|
|
10729
10752
|
tagTypes: [
|
|
10730
10753
|
th,
|
|
@@ -10792,11 +10815,11 @@ The error may be correlated with this previous error:
|
|
|
10792
10815
|
}).then((n) => n);
|
|
10793
10816
|
} })
|
|
10794
10817
|
})
|
|
10795
|
-
}), { useGetFoldersQuery: nh, useGetGroupsQuery: oh, useLazyGetGroupsQuery: ah, useDeleteGroupMutation: ih, useEditGroupMutation: sh, useAddGroupMutation: uh, useGetTagsQuery: $b, useLazyGetFoldersQuery: Bb, useAddFolderMutation: Fb, useEditFolderMutation: Ub } =
|
|
10818
|
+
}), { useGetFoldersQuery: nh, useGetGroupsQuery: oh, useLazyGetGroupsQuery: ah, useDeleteGroupMutation: ih, useEditGroupMutation: sh, useAddGroupMutation: uh, useGetTagsQuery: $b, useLazyGetFoldersQuery: Bb, useAddFolderMutation: Fb, useEditFolderMutation: Ub } = Ho;
|
|
10796
10819
|
function lh(e) {
|
|
10797
10820
|
return e != null && Object.prototype.hasOwnProperty.call(e, "meta");
|
|
10798
10821
|
}
|
|
10799
|
-
function
|
|
10822
|
+
function Qo(e, t) {
|
|
10800
10823
|
return lh(e) ? e.meta : t;
|
|
10801
10824
|
}
|
|
10802
10825
|
var Er = {
|
|
@@ -10873,7 +10896,7 @@ The error may be correlated with this previous error:
|
|
|
10873
10896
|
},
|
|
10874
10897
|
setEmailFromHistory: (e, { payload: t }) => {
|
|
10875
10898
|
if (!t) return;
|
|
10876
|
-
const r = e.email, n = t?.preheader === void 0, o = t?.subject === void 0, a =
|
|
10899
|
+
const r = e.email, n = t?.preheader === void 0, o = t?.subject === void 0, a = Qo(t, r.meta);
|
|
10877
10900
|
e.email = {
|
|
10878
10901
|
...r,
|
|
10879
10902
|
html: t?.html,
|
|
@@ -10977,7 +11000,7 @@ The error may be correlated with this previous error:
|
|
|
10977
11000
|
if (r.payload[0].id === +t.invalidateEmailId) return Er;
|
|
10978
11001
|
}), e.addMatcher(He.endpoints.editEmail.matchFulfilled, (t, { payload: r }) => {
|
|
10979
11002
|
t.invalidateEmailId = null;
|
|
10980
|
-
const n =
|
|
11003
|
+
const n = Qo(r, t.email.meta);
|
|
10981
11004
|
t.email = {
|
|
10982
11005
|
...t.email,
|
|
10983
11006
|
...r,
|
|
@@ -10987,7 +11010,7 @@ The error may be correlated with this previous error:
|
|
|
10987
11010
|
}), e.addMatcher(He.endpoints.autoSaveEmail.matchFulfilled, (t, r) => {
|
|
10988
11011
|
t.email.id?.toString() === r.payload.parent?.toString() && (t.email.html = r.payload.html, r.payload.modified && (t.email.modified = r.payload.modified, t.emailAutosaveTimestamps[r.payload.parent] = r.payload.modified));
|
|
10989
11012
|
}), e.addMatcher(He.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
10990
|
-
const n = t.email, o =
|
|
11013
|
+
const n = t.email, o = Qo(r, r.id === n?.id ? n.meta : void 0), a = n?.id != null && n.id === r.id, i = r.showToken, u = r.showId, s = tr.isPlugin && u != null && u !== "";
|
|
10991
11014
|
if (tr.isPlugin && !s && i === void 0 && a && t.appliedShowToken > 0) {
|
|
10992
11015
|
r.id, t.appliedShowToken, n?.id, n?.showId;
|
|
10993
11016
|
return;
|
|
@@ -11014,7 +11037,7 @@ The error may be correlated with this previous error:
|
|
|
11014
11037
|
common_styles: typeof r?.common_styles == "string" && r?.common_styles.startsWith("{") ? r?.common_styles : "{}",
|
|
11015
11038
|
...o !== void 0 ? { meta: o } : {}
|
|
11016
11039
|
}, i !== void 0 ? t.appliedShowToken = i : (!a || n.is_inited !== !0 || !f) && (t.appliedShowToken += 1), r.id, t.appliedShowToken, n?.id, t.emailIsEdit = !1;
|
|
11017
|
-
}), e.addMatcher(
|
|
11040
|
+
}), e.addMatcher(Ho.endpoints.getGroups.matchFulfilled, (t, { meta: r, payload: n }) => {
|
|
11018
11041
|
const o = t.email.group, a = r.arg.originalArgs.parent, i = n;
|
|
11019
11042
|
a && (t.parentGroupOfProject = a, t.projectGroups = i);
|
|
11020
11043
|
const u = {};
|
|
@@ -11042,36 +11065,36 @@ The error may be correlated with this previous error:
|
|
|
11042
11065
|
});
|
|
11043
11066
|
}
|
|
11044
11067
|
var Vh = "em_autosave_pending", Wh = 2e3, Xh = 5, Jh = 5e3, Yh = 4, Zh = 6e4, ey = 5e3;
|
|
11045
|
-
function
|
|
11068
|
+
function gn(e) {
|
|
11046
11069
|
return `${Vh}_${e}`;
|
|
11047
11070
|
}
|
|
11048
11071
|
function ty(e, t) {
|
|
11049
11072
|
try {
|
|
11050
|
-
sessionStorage.setItem(
|
|
11073
|
+
sessionStorage.setItem(gn(e), JSON.stringify(t));
|
|
11051
11074
|
} catch {}
|
|
11052
11075
|
}
|
|
11053
11076
|
function ry(e) {
|
|
11054
11077
|
try {
|
|
11055
|
-
const t = sessionStorage.getItem(
|
|
11078
|
+
const t = sessionStorage.getItem(gn(e));
|
|
11056
11079
|
if (!t) return null;
|
|
11057
11080
|
const r = JSON.parse(t);
|
|
11058
|
-
return Date.now() - r.sentAt > Zh ? (sessionStorage.removeItem(
|
|
11081
|
+
return Date.now() - r.sentAt > Zh ? (sessionStorage.removeItem(gn(e)), null) : r;
|
|
11059
11082
|
} catch {
|
|
11060
11083
|
return null;
|
|
11061
11084
|
}
|
|
11062
11085
|
}
|
|
11063
11086
|
function wr(e) {
|
|
11064
11087
|
try {
|
|
11065
|
-
sessionStorage.removeItem(
|
|
11088
|
+
sessionStorage.removeItem(gn(e));
|
|
11066
11089
|
} catch {}
|
|
11067
11090
|
}
|
|
11068
11091
|
function Cs(e) {
|
|
11069
11092
|
return !!e?.slug?.includes("autosave");
|
|
11070
11093
|
}
|
|
11071
|
-
function
|
|
11094
|
+
function zo(e, t) {
|
|
11072
11095
|
return Cs(e) && Date.parse(e.modified) >= t - ey;
|
|
11073
11096
|
}
|
|
11074
|
-
function
|
|
11097
|
+
function _n(e) {
|
|
11075
11098
|
return Cs(e) && !!e?.html?.trim();
|
|
11076
11099
|
}
|
|
11077
11100
|
function ny(e) {
|
|
@@ -11101,7 +11124,7 @@ The error may be correlated with this previous error:
|
|
|
11101
11124
|
onHistoryFetched(e, t, r, n, o = !1, a = null) {
|
|
11102
11125
|
const i = ny(t), u = this.polls.get(e);
|
|
11103
11126
|
if (u && (u.triggerRefetch = n, u.dispatch = r), o && u?.phase === "fast") {
|
|
11104
|
-
|
|
11127
|
+
_n(i) && zo(i, u.pending.sentAt) && (wr(e), this.cancelPolling(e), r(br({
|
|
11105
11128
|
emailId: e,
|
|
11106
11129
|
payload: i,
|
|
11107
11130
|
phase: "found"
|
|
@@ -11109,7 +11132,7 @@ The error may be correlated with this previous error:
|
|
|
11109
11132
|
return;
|
|
11110
11133
|
}
|
|
11111
11134
|
if (o && u?.phase === "bg") {
|
|
11112
|
-
|
|
11135
|
+
_n(i) && zo(i, u.pending.sentAt) && (wr(e), this.cancelPolling(e), r(br({
|
|
11113
11136
|
emailId: e,
|
|
11114
11137
|
payload: i,
|
|
11115
11138
|
phase: "bg"
|
|
@@ -11118,25 +11141,25 @@ The error may be correlated with this previous error:
|
|
|
11118
11141
|
}
|
|
11119
11142
|
if (this.processedEmails.has(e)) return;
|
|
11120
11143
|
const s = o ? ry(e) : null, l = s && (s.sentAt < this.pageLoadTs || !ay(s.html, a)) ? s : null;
|
|
11121
|
-
l ?
|
|
11144
|
+
l ? _n(i) && zo(i, l.sentAt) ? (wr(e), r(br({
|
|
11122
11145
|
emailId: e,
|
|
11123
11146
|
payload: i,
|
|
11124
11147
|
phase: "found"
|
|
11125
|
-
})), this.processedEmails.add(e)) : this.startFastPoll(e, l, r, n) : (
|
|
11148
|
+
})), this.processedEmails.add(e)) : this.startFastPoll(e, l, r, n) : (_n(i) ? r(br({
|
|
11126
11149
|
emailId: e,
|
|
11127
11150
|
payload: i,
|
|
11128
11151
|
phase: "normal"
|
|
11129
|
-
})) : r(
|
|
11152
|
+
})) : r(Uo(e)), this.processedEmails.add(e));
|
|
11130
11153
|
}
|
|
11131
11154
|
onHistoryFetchError(e, t) {
|
|
11132
|
-
this.polls.has(e) || t(
|
|
11155
|
+
this.polls.has(e) || t(Uo(e));
|
|
11133
11156
|
}
|
|
11134
11157
|
cancelPolling(e) {
|
|
11135
11158
|
const t = this.polls.get(e);
|
|
11136
|
-
t?.timer && clearTimeout(t.timer), t && t.dispatch(
|
|
11159
|
+
t?.timer && clearTimeout(t.timer), t && t.dispatch(Fo(!1)), this.polls.delete(e), this.processedEmails.delete(e);
|
|
11137
11160
|
}
|
|
11138
11161
|
startFastPoll(e, t, r, n) {
|
|
11139
|
-
r(
|
|
11162
|
+
r(Fo(!0));
|
|
11140
11163
|
const o = {
|
|
11141
11164
|
phase: "fast",
|
|
11142
11165
|
attempts: 0,
|
|
@@ -11155,7 +11178,7 @@ The error may be correlated with this previous error:
|
|
|
11155
11178
|
const a = this.polls.get(e);
|
|
11156
11179
|
if (a) if (a.attempts++, a.triggerRefetch(), r && a.attempts >= o) {
|
|
11157
11180
|
const { pending: i, dispatch: u } = a;
|
|
11158
|
-
wr(e), u(
|
|
11181
|
+
wr(e), u(Fo(!1)), u(br({
|
|
11159
11182
|
emailId: e,
|
|
11160
11183
|
payload: {
|
|
11161
11184
|
html: i.html,
|
|
@@ -12002,7 +12025,7 @@ The error may be correlated with this previous error:
|
|
|
12002
12025
|
parent: t,
|
|
12003
12026
|
per_page: 20,
|
|
12004
12027
|
page: r
|
|
12005
|
-
}, { extraQuery: { _fields: "author,slug,date,modified,title,acf.html,acf.common_styles,id" } }).then((o) =>
|
|
12028
|
+
}, { extraQuery: { _fields: "author,slug,date,modified,title,acf.html,acf.common_styles,id" } }).then((o) => hn(o, (a, i) => ({
|
|
12006
12029
|
data: a.filter((u) => u.acf.html).map((u) => ({
|
|
12007
12030
|
...u,
|
|
12008
12031
|
acf: {
|
|
@@ -12031,7 +12054,7 @@ The error may be correlated with this previous error:
|
|
|
12031
12054
|
id: "LIST"
|
|
12032
12055
|
}]
|
|
12033
12056
|
}),
|
|
12034
|
-
editBlock: e.mutation({ queryFn:
|
|
12057
|
+
editBlock: e.mutation({ queryFn: Bo((t) => ({ blockId: r, source: n, ...o }, a) => {
|
|
12035
12058
|
const i = $(t), u = Mt(Rs(o));
|
|
12036
12059
|
return i.wp.eblock_partial_update({ id: r }, u, {
|
|
12037
12060
|
type: ge.Json,
|
|
@@ -12042,7 +12065,7 @@ The error may be correlated with this previous error:
|
|
|
12042
12065
|
queryFn(t, r) {
|
|
12043
12066
|
const n = $(r);
|
|
12044
12067
|
let o, a;
|
|
12045
|
-
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.eblock_delete({ id: o }, { force: a }).then(
|
|
12068
|
+
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.eblock_delete({ id: o }, { force: a }).then(yn(st));
|
|
12046
12069
|
},
|
|
12047
12070
|
invalidatesTags: (t, r, n) => [{
|
|
12048
12071
|
type: "Blocks",
|
|
@@ -12065,20 +12088,20 @@ The error may be correlated with this previous error:
|
|
|
12065
12088
|
return o.wp.eblock_autosaves_create({ id: t }, a, { type: ge.FormData }).then(de(Ms));
|
|
12066
12089
|
} })
|
|
12067
12090
|
})
|
|
12068
|
-
}), { useGetBlocksQuery: fy, useGetBlockQuery: Qb, useLazyGetBlockQuery: zb, useGetBlockHistoryQuery: Kb, useLazyGetBlockHistoryQuery: py, useGetBlocksSchemaQuery: my, useGetParentEmailBlocksQuery: hy, useAddBlockMutation: yy, useEditBlockMutation: vy, useAddTagMutation: gy, useAutoSaveBlockMutation: _y, useGetTemplateBlocksQuery: by } = Tr, Ls = window.localStorage?.getItem(Je.em_code_mode_settings),
|
|
12091
|
+
}), { useGetBlocksQuery: fy, useGetBlockQuery: Qb, useLazyGetBlockQuery: zb, useGetBlockHistoryQuery: Kb, useLazyGetBlockHistoryQuery: py, useGetBlocksSchemaQuery: my, useGetParentEmailBlocksQuery: hy, useAddBlockMutation: yy, useEditBlockMutation: vy, useAddTagMutation: gy, useAutoSaveBlockMutation: _y, useGetTemplateBlocksQuery: by } = Tr, Ls = window.localStorage?.getItem(Je.em_code_mode_settings), Ko = Ls && JSON.parse(Ls), Vo = {
|
|
12069
12092
|
activeModal: "",
|
|
12070
|
-
lastActiveSettingsTab:
|
|
12071
|
-
activeSettingsTab:
|
|
12093
|
+
lastActiveSettingsTab: no,
|
|
12094
|
+
activeSettingsTab: no,
|
|
12072
12095
|
isPanelHistoryCollapsed: !0,
|
|
12073
12096
|
monacoHeight: 0,
|
|
12074
|
-
isCodeMode:
|
|
12075
|
-
codeModeDirection:
|
|
12097
|
+
isCodeMode: Ko?.isCodeMode || tr.isPlugin && Ko?.isCodeMode === void 0,
|
|
12098
|
+
codeModeDirection: Ko?.codeModeDirection || "left",
|
|
12076
12099
|
isHeaderCodeMenuOpen: {
|
|
12077
12100
|
current: !1,
|
|
12078
12101
|
switched: !1
|
|
12079
12102
|
},
|
|
12080
12103
|
emailWidth: "100%",
|
|
12081
|
-
emailViewType:
|
|
12104
|
+
emailViewType: oo,
|
|
12082
12105
|
mobileViewActive: {
|
|
12083
12106
|
shutdown: !0,
|
|
12084
12107
|
styles: !0
|
|
@@ -12089,12 +12112,12 @@ The error may be correlated with this previous error:
|
|
|
12089
12112
|
isGlobalLoading: !1
|
|
12090
12113
|
};
|
|
12091
12114
|
localStorage.getItem(Je.em_code_mode_settings) || window.localStorage.setItem(Je.em_code_mode_settings, JSON.stringify({
|
|
12092
|
-
codeModeDirection:
|
|
12093
|
-
isCodeMode:
|
|
12115
|
+
codeModeDirection: Vo.codeModeDirection,
|
|
12116
|
+
isCodeMode: Vo.isCodeMode
|
|
12094
12117
|
}));
|
|
12095
12118
|
var je = "emailPageSlice", ks = Pe({
|
|
12096
12119
|
name: je,
|
|
12097
|
-
initialState:
|
|
12120
|
+
initialState: Vo,
|
|
12098
12121
|
reducers: {
|
|
12099
12122
|
openModal: (e, t) => {
|
|
12100
12123
|
e.activeModal = t.payload;
|
|
@@ -12112,7 +12135,7 @@ The error may be correlated with this previous error:
|
|
|
12112
12135
|
e.isPanelHistoryCollapsed = t.payload || !e.isPanelHistoryCollapsed;
|
|
12113
12136
|
},
|
|
12114
12137
|
setEmailWidth: (e, { payload: t }) => {
|
|
12115
|
-
e.emailWidth = t, e.emailViewType = t > e.emailMaxWidthSize || t === "100%" ?
|
|
12138
|
+
e.emailWidth = t, e.emailViewType = t > e.emailMaxWidthSize || t === "100%" ? oo : mi, window.localStorage.setItem(Je.em_default_sizes, JSON.stringify(t));
|
|
12116
12139
|
},
|
|
12117
12140
|
setEmailMaxWidthSize: (e, { payload: t }) => {
|
|
12118
12141
|
e.emailMaxWidthSize = t;
|
|
@@ -12165,7 +12188,7 @@ The error may be correlated with this previous error:
|
|
|
12165
12188
|
});
|
|
12166
12189
|
}
|
|
12167
12190
|
}), { openModal: Ey, closeModal: wy, setActiveSettingsTab: Ty, resetToLastActiveSettingsTab: Sy, switchIsPanelHistoryCollapsed: Py, setEmailWidth: Oy, switchCodeMode: Ay, switchCodeModeDirection: jy, setMobileViewActive: Iy, setEmailViewType: Cy, setCodeMode: Ns, setEmailMaxWidthSize: Vb, setPropertiesPanelKey: Dy, resetParentBlocks: qy, setIsGlobalLoading: Ry, setHeaderCodeMenuOpen: My } = ks.actions, Ly = (e) => e[je].isCodeMode, ky = (e) => e[je].emailWidth, Ny = (e) => e[je].activeModal, xy = (e) => e[je].parentBlocks, Gy = (e) => e[je].emailViewType, $y = (e) => e[je].isGlobalLoading, By = (e) => e[je].mobileViewActive, Fy = (e) => e[je].codeModeDirection, Uy = (e) => e[je].activeSettingsTab, Hy = (e) => e[je].propertiesPanelKey, Qy = (e) => e[je].isHeaderCodeMenuOpen, zy = (e) => e[je].isPanelHistoryCollapsed;
|
|
12168
|
-
function
|
|
12191
|
+
function bn(e) {
|
|
12169
12192
|
for (var t = 1; t < arguments.length; t++) {
|
|
12170
12193
|
var r = arguments[t];
|
|
12171
12194
|
for (var n in r) n !== "__proto__" && (e[n] = r[n]);
|
|
@@ -12180,10 +12203,10 @@ The error may be correlated with this previous error:
|
|
|
12180
12203
|
return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
|
|
12181
12204
|
}
|
|
12182
12205
|
};
|
|
12183
|
-
function
|
|
12206
|
+
function Wo(e, t) {
|
|
12184
12207
|
function r(o, a, i) {
|
|
12185
12208
|
if (!(typeof document > "u")) {
|
|
12186
|
-
i =
|
|
12209
|
+
i = bn({}, t, i), typeof i.expires == "number" && (i.expires = new Date(Date.now() + i.expires * 864e5)), i.expires && (i.expires = i.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
12187
12210
|
var u = "";
|
|
12188
12211
|
for (var s in i) i[s] && (u += "; " + s, i[s] !== !0 && (u += "=" + i[s].split(";")[0]));
|
|
12189
12212
|
return document.cookie = o + "=" + e.write(a, o) + u;
|
|
@@ -12205,26 +12228,26 @@ The error may be correlated with this previous error:
|
|
|
12205
12228
|
set: r,
|
|
12206
12229
|
get: n,
|
|
12207
12230
|
remove: function(o, a) {
|
|
12208
|
-
r(o, "",
|
|
12231
|
+
r(o, "", bn({}, a, { expires: -1 }));
|
|
12209
12232
|
},
|
|
12210
12233
|
withAttributes: function(o) {
|
|
12211
|
-
return
|
|
12234
|
+
return Wo(this.converter, bn({}, this.attributes, o));
|
|
12212
12235
|
},
|
|
12213
12236
|
withConverter: function(o) {
|
|
12214
|
-
return
|
|
12237
|
+
return Wo(bn({}, this.converter, o), this.attributes);
|
|
12215
12238
|
}
|
|
12216
12239
|
}, {
|
|
12217
12240
|
attributes: { value: Object.freeze(t) },
|
|
12218
12241
|
converter: { value: Object.freeze(e) }
|
|
12219
12242
|
});
|
|
12220
12243
|
}
|
|
12221
|
-
var xs =
|
|
12244
|
+
var xs = Wo(Ky, { path: "/" }), Vy = [
|
|
12222
12245
|
"is_paying",
|
|
12223
12246
|
"is_paying_user",
|
|
12224
12247
|
"paying",
|
|
12225
12248
|
"paying_user"
|
|
12226
12249
|
];
|
|
12227
|
-
function
|
|
12250
|
+
function Xo(e) {
|
|
12228
12251
|
if (!e || typeof e != "object") return !1;
|
|
12229
12252
|
const t = e;
|
|
12230
12253
|
for (const r of Vy) {
|
|
@@ -12233,7 +12256,7 @@ The error may be correlated with this previous error:
|
|
|
12233
12256
|
}
|
|
12234
12257
|
return !1;
|
|
12235
12258
|
}
|
|
12236
|
-
function
|
|
12259
|
+
function En(e) {
|
|
12237
12260
|
if (e === void 0) return;
|
|
12238
12261
|
if (e === null || e === "") return null;
|
|
12239
12262
|
const t = Number(e);
|
|
@@ -12244,8 +12267,8 @@ The error may be correlated with this previous error:
|
|
|
12244
12267
|
const t = e, r = t.trial_enabled ?? t.trial ?? t.is_get_trial;
|
|
12245
12268
|
return r === !0 || r === 1 || r === "1" || typeof r == "string" && r.toLowerCase() === "true";
|
|
12246
12269
|
}
|
|
12247
|
-
function
|
|
12248
|
-
const t = e.acf ?? {}, { autosaves: r, hide_mergetags: n, theme: o, newsletter_consent: a, code_editor: i, counters: u, subscription: s, subscription_end: l, recurring_payments: f, subscription_id: d, promocode: p, subscription_amount: m, enterprise_users_limit: g, enterprise_price: _, enterprise_12_price: b, privacy_policy_agreement: S, last_used_project: w, email_confirmation: O, email_builder_config: y } = t, { id: E, acf: v, ...A } = e, P = Wy(t), I = u ?? {}, j =
|
|
12270
|
+
function wn(e) {
|
|
12271
|
+
const t = e.acf ?? {}, { autosaves: r, hide_mergetags: n, theme: o, newsletter_consent: a, code_editor: i, counters: u, subscription: s, subscription_end: l, recurring_payments: f, subscription_id: d, promocode: p, subscription_amount: m, enterprise_users_limit: g, enterprise_price: _, enterprise_12_price: b, privacy_policy_agreement: S, last_used_project: w, email_confirmation: O, email_builder_config: y } = t, { id: E, acf: v, ...A } = e, P = Wy(t), I = u ?? {}, j = Xo(t) || Xo(A) || Xo(e.meta);
|
|
12249
12272
|
return {
|
|
12250
12273
|
...A,
|
|
12251
12274
|
id: le(E),
|
|
@@ -12268,10 +12291,10 @@ The error may be correlated with this previous error:
|
|
|
12268
12291
|
recurring_payments: f,
|
|
12269
12292
|
subscription_id: d,
|
|
12270
12293
|
promocode: p,
|
|
12271
|
-
subscription_amount:
|
|
12272
|
-
enterprise_users_limit:
|
|
12273
|
-
enterprise_price:
|
|
12274
|
-
enterprise_12_price:
|
|
12294
|
+
subscription_amount: En(m),
|
|
12295
|
+
enterprise_users_limit: En(g),
|
|
12296
|
+
enterprise_price: En(_),
|
|
12297
|
+
enterprise_12_price: En(b),
|
|
12275
12298
|
privacy_policy_agreement: S,
|
|
12276
12299
|
last_used_project: w,
|
|
12277
12300
|
email_confirmation: O,
|
|
@@ -12345,14 +12368,14 @@ The error may be correlated with this previous error:
|
|
|
12345
12368
|
method: "GET"
|
|
12346
12369
|
};
|
|
12347
12370
|
},
|
|
12348
|
-
transformResponse: (t) =>
|
|
12371
|
+
transformResponse: (t) => wn(Array.isArray(t) ? t[0] : t)
|
|
12349
12372
|
}),
|
|
12350
12373
|
getUser: e.query({ queryFn(t, r) {
|
|
12351
|
-
return $(r).wp.users_detail({ id: t }).then(de(
|
|
12374
|
+
return $(r).wp.users_detail({ id: t }).then(de(wn));
|
|
12352
12375
|
} }),
|
|
12353
12376
|
editMe: e.mutation({ queryFn(t, r) {
|
|
12354
12377
|
const n = $(r), o = Mt(Xy(t), !0);
|
|
12355
|
-
return n.wp.users_me_create(o, { type: ge.Json }).then(de(
|
|
12378
|
+
return n.wp.users_me_create(o, { type: ge.Json }).then(de(wn));
|
|
12356
12379
|
} }),
|
|
12357
12380
|
getSubscriptions: e.query({ queryFn(t, r) {
|
|
12358
12381
|
return $(r).wp.subscription_list(void 0).then(Ae(Jy));
|
|
@@ -12374,7 +12397,7 @@ The error may be correlated with this previous error:
|
|
|
12374
12397
|
} else return "";
|
|
12375
12398
|
}
|
|
12376
12399
|
function Gs() {
|
|
12377
|
-
return gt(
|
|
12400
|
+
return gt(ta);
|
|
12378
12401
|
}
|
|
12379
12402
|
function av() {
|
|
12380
12403
|
return gt(bv);
|
|
@@ -12399,27 +12422,27 @@ The error may be correlated with this previous error:
|
|
|
12399
12422
|
}) : void 0;
|
|
12400
12423
|
}
|
|
12401
12424
|
var xe = "configSlice", Bs = qs("blocks");
|
|
12402
|
-
function
|
|
12425
|
+
function Jo(e) {
|
|
12403
12426
|
return e.user.mode || e.serverSide.mode || localStorage.getItem("configSwither") || "pro";
|
|
12404
12427
|
}
|
|
12405
12428
|
function Fs(e) {
|
|
12406
|
-
return qs(
|
|
12429
|
+
return qs(Jo(e))?.config || {};
|
|
12407
12430
|
}
|
|
12408
|
-
function
|
|
12409
|
-
const t =
|
|
12431
|
+
function Yo(e) {
|
|
12432
|
+
const t = Jo(e);
|
|
12410
12433
|
return e.serverSide.advancedConfigs?.[t] || {};
|
|
12411
12434
|
}
|
|
12412
|
-
function
|
|
12413
|
-
const t =
|
|
12435
|
+
function Zo(e) {
|
|
12436
|
+
const t = Jo(e), r = e?.user?.advancedConfigs?.[t], n = r !== void 0 ? r : e?.user?.advancedConfigs?.pro;
|
|
12414
12437
|
return {
|
|
12415
12438
|
...e?.advancedConfigs?.[t] || {},
|
|
12416
12439
|
...n || {}
|
|
12417
12440
|
};
|
|
12418
12441
|
}
|
|
12419
|
-
function
|
|
12420
|
-
const t = Fs(e), r =
|
|
12442
|
+
function ea(e) {
|
|
12443
|
+
const t = Fs(e), r = Yo(e);
|
|
12421
12444
|
return [
|
|
12422
|
-
|
|
12445
|
+
Zo(e),
|
|
12423
12446
|
e.user,
|
|
12424
12447
|
r,
|
|
12425
12448
|
e.serverSide,
|
|
@@ -12445,17 +12468,17 @@ The error may be correlated with this previous error:
|
|
|
12445
12468
|
return Kl(e.map((t) => t?.backendProxy));
|
|
12446
12469
|
}
|
|
12447
12470
|
function dv(e) {
|
|
12448
|
-
return
|
|
12471
|
+
return zn(e.map((t) => t?.backendProxyPolicy || {}).filter(Boolean));
|
|
12449
12472
|
}
|
|
12450
|
-
function
|
|
12451
|
-
const t = Fs(e), r =
|
|
12473
|
+
function Tn(e) {
|
|
12474
|
+
const t = Fs(e), r = Yo(e), n = Zo(e), o = [
|
|
12452
12475
|
e.base,
|
|
12453
12476
|
t,
|
|
12454
12477
|
e.serverSide,
|
|
12455
12478
|
r,
|
|
12456
12479
|
e.user,
|
|
12457
12480
|
n
|
|
12458
|
-
], a =
|
|
12481
|
+
], a = zn(o), i = sv(o);
|
|
12459
12482
|
i !== void 0 && (a.fileManager = i);
|
|
12460
12483
|
const u = uv(o);
|
|
12461
12484
|
u !== void 0 && (a.resourceProxy = u);
|
|
@@ -12466,7 +12489,7 @@ The error may be correlated with this previous error:
|
|
|
12466
12489
|
const f = dv(o);
|
|
12467
12490
|
return f && Object.keys(f).length > 0 && (a.backendProxyPolicy = f), a;
|
|
12468
12491
|
}
|
|
12469
|
-
var fv =
|
|
12492
|
+
var fv = en("config/changeConfigModeWithCodeCheck", async (e, { dispatch: t, getState: r }) => {
|
|
12470
12493
|
t(Pv(e)), t(Et.endpoints.editMe.initiate({ email_builder_config: e })), await new Promise((a) => setTimeout(a, 0));
|
|
12471
12494
|
const n = r(), o = n.emailPageSlice?.isCodeMode;
|
|
12472
12495
|
return n.configSlice?.config?.codeEnabled === !1 && o && t(Ns(!1)), e;
|
|
@@ -12500,31 +12523,31 @@ The error may be correlated with this previous error:
|
|
|
12500
12523
|
e.user = t.user, e.serverSide = t.serverSide, e.advancedConfigs = {
|
|
12501
12524
|
...t.advancedConfigs || {},
|
|
12502
12525
|
...t.user?.advancedConfigs || {}
|
|
12503
|
-
}, e.config =
|
|
12526
|
+
}, e.config = Tn(e);
|
|
12504
12527
|
},
|
|
12505
12528
|
changeConfigMode: (e, t) => {
|
|
12506
|
-
e.user.mode = t.payload, e.config =
|
|
12529
|
+
e.user.mode = t.payload, e.config = Tn(e);
|
|
12507
12530
|
},
|
|
12508
12531
|
setInitialMergeTags: (e, t) => {
|
|
12509
|
-
e.base.mergeTags = t.payload, e.config.mergeTags = Gr(
|
|
12532
|
+
e.base.mergeTags = t.payload, e.config.mergeTags = Gr(ea(e), "mergeTags");
|
|
12510
12533
|
},
|
|
12511
12534
|
setMergeTags: (e, t) => {
|
|
12512
|
-
e.user.mergeTags = t.payload, e.config.mergeTags = Gr(
|
|
12535
|
+
e.user.mergeTags = t.payload, e.config.mergeTags = Gr(ea(e), "mergeTags");
|
|
12513
12536
|
},
|
|
12514
12537
|
setUserConfig: (e, { payload: t }) => {
|
|
12515
|
-
e.user = t, e.config =
|
|
12538
|
+
e.user = t, e.config = Tn(e);
|
|
12516
12539
|
},
|
|
12517
12540
|
updateUserConfig: (e, { payload: t }) => {
|
|
12518
12541
|
e.user = {
|
|
12519
12542
|
...e.user,
|
|
12520
12543
|
...t
|
|
12521
|
-
}, e.config =
|
|
12544
|
+
}, e.config = Tn(e);
|
|
12522
12545
|
},
|
|
12523
12546
|
setProject: (e, t) => {
|
|
12524
12547
|
e.project = t.payload;
|
|
12525
12548
|
},
|
|
12526
12549
|
setActiveNextButton: (e, t) => {
|
|
12527
|
-
e.user.activeNextButton = t.payload, e.config.activeNextButton = Gr(
|
|
12550
|
+
e.user.activeNextButton = t.payload, e.config.activeNextButton = Gr(ea(e), "activeNextButton") !== void 0;
|
|
12528
12551
|
},
|
|
12529
12552
|
setPluginDefaultCommonStyles: (e, t) => {
|
|
12530
12553
|
t.payload === void 0 ? delete e.pluginDefaultCommonStyles : e.pluginDefaultCommonStyles = t.payload;
|
|
@@ -12534,10 +12557,10 @@ The error may be correlated with this previous error:
|
|
|
12534
12557
|
}
|
|
12535
12558
|
},
|
|
12536
12559
|
extraReducers: (e) => {}
|
|
12537
|
-
}), pv = (e) => e[xe].config.mergeTags,
|
|
12538
|
-
const r = t[xe], n =
|
|
12560
|
+
}), pv = (e) => e[xe].config.mergeTags, ta = (e) => e[xe].config, mv = (e) => e[xe].page, hv = (e) => e[xe].config.themes, yv = (e) => e[xe].config.styles, vv = (e) => e[xe].project, gv = (e) => e[xe].config.mode, _v = (e) => e[xe].pluginDefaultCommonStyles, bv = (e) => e[xe].headless, Ev = (e) => (t) => {
|
|
12561
|
+
const r = t[xe], n = Yo(r);
|
|
12539
12562
|
return Gr([
|
|
12540
|
-
|
|
12563
|
+
Zo(r),
|
|
12541
12564
|
r.user,
|
|
12542
12565
|
n,
|
|
12543
12566
|
r.serverSide
|
|
@@ -12675,7 +12698,7 @@ The error may be correlated with this previous error:
|
|
|
12675
12698
|
parent: t,
|
|
12676
12699
|
per_page: 20,
|
|
12677
12700
|
page: r
|
|
12678
|
-
}, { extraQuery: { _fields: "author,slug,date,modified,title,meta,acf.html,acf.common_styles,id,parent,date_gmt" } }).then((o) =>
|
|
12701
|
+
}, { extraQuery: { _fields: "author,slug,date,modified,title,meta,acf.html,acf.common_styles,id,parent,date_gmt" } }).then((o) => hn(o, (a, i) => ({
|
|
12679
12702
|
data: a.filter((u) => u.acf.html).map((u) => ({
|
|
12680
12703
|
...u,
|
|
12681
12704
|
acf: {
|
|
@@ -12703,7 +12726,7 @@ The error may be correlated with this previous error:
|
|
|
12703
12726
|
keepUnusedDataFor: 0,
|
|
12704
12727
|
async onQueryStarted({ emailId: t }, { queryFulfilled: r, dispatch: n, getState: o }) {
|
|
12705
12728
|
try {
|
|
12706
|
-
const { data: a } = await r, i = o(), u =
|
|
12729
|
+
const { data: a } = await r, i = o(), u = ta(i).revisionService === !0, s = i.emailSlice?.email?.html ?? null;
|
|
12707
12730
|
kt.onHistoryFetched(t, a.data, n, () => n(He.endpoints.getEmailHistory.initiate({ emailId: t }, { forceRefetch: !0 })), u, s);
|
|
12708
12731
|
} catch {
|
|
12709
12732
|
kt.onHistoryFetchError(t, n);
|
|
@@ -12711,7 +12734,7 @@ The error may be correlated with this previous error:
|
|
|
12711
12734
|
}
|
|
12712
12735
|
}),
|
|
12713
12736
|
addEmail: e.mutation({
|
|
12714
|
-
queryFn:
|
|
12737
|
+
queryFn: Bo((t) => ({ source: r, ...n }) => $(t).wp.email_create({
|
|
12715
12738
|
status: "publish",
|
|
12716
12739
|
...Os(n)
|
|
12717
12740
|
}, { type: ge.Json }).then(de(We))),
|
|
@@ -12720,7 +12743,7 @@ The error may be correlated with this previous error:
|
|
|
12720
12743
|
id: "LIST"
|
|
12721
12744
|
}]
|
|
12722
12745
|
}),
|
|
12723
|
-
editEmail: e.mutation({ queryFn:
|
|
12746
|
+
editEmail: e.mutation({ queryFn: Bo((t) => ({ emailId: r, source: n, ...o }) => {
|
|
12724
12747
|
const a = $(t), i = Mt(Os(o));
|
|
12725
12748
|
return a.wp.email_partial_update({ id: r }, i, {
|
|
12726
12749
|
type: ge.Json,
|
|
@@ -12734,7 +12757,7 @@ The error may be correlated with this previous error:
|
|
|
12734
12757
|
queryFn(t, r) {
|
|
12735
12758
|
const n = $(r);
|
|
12736
12759
|
let o, a;
|
|
12737
|
-
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.email_delete({ id: o }, { force: a }).then(
|
|
12760
|
+
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.email_delete({ id: o }, { force: a }).then(yn(We));
|
|
12738
12761
|
},
|
|
12739
12762
|
invalidatesTags: (t, r, n) => [{
|
|
12740
12763
|
type: "Emails",
|
|
@@ -12758,7 +12781,7 @@ The error may be correlated with this previous error:
|
|
|
12758
12781
|
return o.wp.email_autosaves_create({ id: t }, a, { type: ge.FormData }).then(de(As));
|
|
12759
12782
|
},
|
|
12760
12783
|
async onQueryStarted({ emailId: t, body: r }, { queryFulfilled: n, getState: o }) {
|
|
12761
|
-
const a =
|
|
12784
|
+
const a = ta(o()).revisionService === !0;
|
|
12762
12785
|
a && kt.onAutoSaveStarted(t, {
|
|
12763
12786
|
sentAt: Date.now(),
|
|
12764
12787
|
html: r.html ?? "",
|
|
@@ -12774,7 +12797,7 @@ The error may be correlated with this previous error:
|
|
|
12774
12797
|
}
|
|
12775
12798
|
})
|
|
12776
12799
|
})
|
|
12777
|
-
}), { useGetEmailsQuery: Cv, useGetTemplateEmailsQuery: Dv, useGetEmailQuery: qv, useLazyGetEmailQuery: Rv, useGetEmailHistoryQuery: Mv, useLazyGetEmailHistoryQuery: Lv, useAddEmailMutation: kv, useEditEmailMutation: Nv, useDeleteEmailMutation: Zb, useGetDeletableTagQuery: eE, useAddTagMutation: xv, useAutoSaveEmailMutation: Gv } = He,
|
|
12800
|
+
}), { useGetEmailsQuery: Cv, useGetTemplateEmailsQuery: Dv, useGetEmailQuery: qv, useLazyGetEmailQuery: Rv, useGetEmailHistoryQuery: Mv, useLazyGetEmailHistoryQuery: Lv, useAddEmailMutation: kv, useEditEmailMutation: Nv, useDeleteEmailMutation: Zb, useGetDeletableTagQuery: eE, useAddTagMutation: xv, useAutoSaveEmailMutation: Gv } = He, ra = {
|
|
12778
12801
|
project: null,
|
|
12779
12802
|
activeGroupsTags: [],
|
|
12780
12803
|
activeProjectGroupsTags: [],
|
|
@@ -12783,7 +12806,7 @@ The error may be correlated with this previous error:
|
|
|
12783
12806
|
groupsTemplateProjectTotal: null
|
|
12784
12807
|
}, ut = "projectSlice", Hs = Pe({
|
|
12785
12808
|
name: ut,
|
|
12786
|
-
initialState:
|
|
12809
|
+
initialState: ra,
|
|
12787
12810
|
reducers: {
|
|
12788
12811
|
setProject: (e, { payload: t }) => {
|
|
12789
12812
|
e.project = t;
|
|
@@ -12802,12 +12825,12 @@ The error may be correlated with this previous error:
|
|
|
12802
12825
|
e.addMatcher(gr.endpoints.getProject.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
12803
12826
|
const o = n.arg.originalArgs, a = t.project?.id;
|
|
12804
12827
|
a != null && a === o && r.id === o && (t.project = {
|
|
12805
|
-
...
|
|
12828
|
+
...ra.project,
|
|
12806
12829
|
...r
|
|
12807
12830
|
});
|
|
12808
12831
|
}), e.addMatcher(gr.endpoints.editProject.matchFulfilled, (t, { payload: r }) => {
|
|
12809
12832
|
t.project?.id != null && t.project.id !== r.id || (t.project = {
|
|
12810
|
-
...
|
|
12833
|
+
...ra.project,
|
|
12811
12834
|
...r
|
|
12812
12835
|
});
|
|
12813
12836
|
}), e.addMatcher(He.endpoints.getTemplateEmails.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
@@ -12815,7 +12838,7 @@ The error may be correlated with this previous error:
|
|
|
12815
12838
|
o ? (t.groupsTemplateProjectTotal = +n.baseQueryMeta?.response.headers.get("X-WP-Total"), t.groupsTemplateProjectTotalPages = +n.baseQueryMeta?.response.headers.get("X-WP-TotalPages")) : t.groupsTemplateTotal = +n.baseQueryMeta?.response.headers.get("X-WP-Total");
|
|
12816
12839
|
});
|
|
12817
12840
|
}
|
|
12818
|
-
}), { setProject: $v, setActiveGroupsTags: Bv, setActiveProjectGroupsTags: Fv, resetAllTags: Uv } = Hs.actions, Hv = (e) => e[ut].groupsTemplateProjectTotalPages,
|
|
12841
|
+
}), { setProject: $v, setActiveGroupsTags: Bv, setActiveProjectGroupsTags: Fv, resetAllTags: Uv } = Hs.actions, Hv = (e) => e[ut].groupsTemplateProjectTotalPages, Sn = (e) => e[ut].project, Qv = (e) => e[ut].activeGroupsTags, zv = (e) => e[ut].groupsTemplateTotal, Kv = (e) => e[ut].project?.projects_test_emails, Vv = (e) => e[ut].activeProjectGroupsTags, Wv = (e) => e[ut].groupsTemplateProjectTotal;
|
|
12819
12842
|
function Sr({ id: e, post: t, parent: r, author: n, content: o, acf: { status: a, target_id: i }, ...u }) {
|
|
12820
12843
|
return {
|
|
12821
12844
|
...u,
|
|
@@ -12828,7 +12851,7 @@ The error may be correlated with this previous error:
|
|
|
12828
12851
|
comment_status: a
|
|
12829
12852
|
};
|
|
12830
12853
|
}
|
|
12831
|
-
var lt = "Comments",
|
|
12854
|
+
var lt = "Comments", Pn = _t({
|
|
12832
12855
|
reducerPath: "commentsApi",
|
|
12833
12856
|
tagTypes: [lt],
|
|
12834
12857
|
baseQuery: bt({ baseUrl: "https://app.useblocks.io/api/wp-json/wp/v2/" }),
|
|
@@ -12872,7 +12895,7 @@ The error may be correlated with this previous error:
|
|
|
12872
12895
|
}),
|
|
12873
12896
|
deleteComment: e.mutation({
|
|
12874
12897
|
queryFn(t, r) {
|
|
12875
|
-
return $(r).wp.comments_delete({ id: t }, {}).then(
|
|
12898
|
+
return $(r).wp.comments_delete({ id: t }, {}).then(yn(Sr));
|
|
12876
12899
|
},
|
|
12877
12900
|
invalidatesTags: [{
|
|
12878
12901
|
type: lt,
|
|
@@ -12905,12 +12928,12 @@ The error may be correlated with this previous error:
|
|
|
12905
12928
|
}]
|
|
12906
12929
|
})
|
|
12907
12930
|
})
|
|
12908
|
-
}), { useGetCommentsQuery: Xv, useAddCommentMutation: Jv, useDeleteCommentMutation: Yv, useEditCommentMutation: Zv, useDeleteTargetMutation: eg } =
|
|
12909
|
-
function
|
|
12931
|
+
}), { useGetCommentsQuery: Xv, useAddCommentMutation: Jv, useDeleteCommentMutation: Yv, useEditCommentMutation: Zv, useDeleteTargetMutation: eg } = Pn;
|
|
12932
|
+
function na(e, t) {
|
|
12910
12933
|
if (t.length < e) throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
|
|
12911
12934
|
}
|
|
12912
12935
|
function tg(e) {
|
|
12913
|
-
|
|
12936
|
+
na(1, arguments);
|
|
12914
12937
|
var t = Object.prototype.toString.call(e);
|
|
12915
12938
|
return e instanceof Date || Ct(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : new Date(NaN);
|
|
12916
12939
|
}
|
|
@@ -12926,7 +12949,7 @@ The error may be correlated with this previous error:
|
|
|
12926
12949
|
}
|
|
12927
12950
|
function Vs(e, t) {
|
|
12928
12951
|
var r;
|
|
12929
|
-
|
|
12952
|
+
na(1, arguments);
|
|
12930
12953
|
var n = sg((r = t?.additionalDigits) !== null && r !== void 0 ? r : 2);
|
|
12931
12954
|
if (n !== 2 && n !== 1 && n !== 0) throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
12932
12955
|
if (!(typeof e == "string" || Object.prototype.toString.call(e) === "[object String]")) return new Date(NaN);
|
|
@@ -12946,16 +12969,16 @@ The error may be correlated with this previous error:
|
|
|
12946
12969
|
}
|
|
12947
12970
|
return new Date(u + s + l);
|
|
12948
12971
|
}
|
|
12949
|
-
var
|
|
12972
|
+
var On = {
|
|
12950
12973
|
dateTimeDelimiter: /[T ]/,
|
|
12951
12974
|
timeZoneDelimiter: /[Z ]/i,
|
|
12952
12975
|
timezone: /([Z+-].*)$/
|
|
12953
12976
|
}, ug = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, lg = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, cg = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
12954
12977
|
function dg(e) {
|
|
12955
|
-
var t = {}, r = e.split(
|
|
12978
|
+
var t = {}, r = e.split(On.dateTimeDelimiter), n;
|
|
12956
12979
|
if (r.length > 2) return t;
|
|
12957
|
-
if (/:/.test(r[0]) ? n = r[0] : (t.date = r[0], n = r[1],
|
|
12958
|
-
var o =
|
|
12980
|
+
if (/:/.test(r[0]) ? n = r[0] : (t.date = r[0], n = r[1], On.timeZoneDelimiter.test(t.date) && (t.date = e.split(On.timeZoneDelimiter)[0], n = e.substr(t.date.length, e.length))), n) {
|
|
12981
|
+
var o = On.timezone.exec(n);
|
|
12959
12982
|
o ? (t.time = n.replace(o[1], ""), t.timezone = o[1]) : t.time = n;
|
|
12960
12983
|
}
|
|
12961
12984
|
return t;
|
|
@@ -12987,10 +13010,10 @@ The error may be correlated with this previous error:
|
|
|
12987
13010
|
function mg(e) {
|
|
12988
13011
|
var t = e.match(lg);
|
|
12989
13012
|
if (!t) return NaN;
|
|
12990
|
-
var r =
|
|
13013
|
+
var r = oa(t[1]), n = oa(t[2]), o = oa(t[3]);
|
|
12991
13014
|
return Eg(r, n, o) ? r * zs + n * Qs + o * 1e3 : NaN;
|
|
12992
13015
|
}
|
|
12993
|
-
function
|
|
13016
|
+
function oa(e) {
|
|
12994
13017
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
12995
13018
|
}
|
|
12996
13019
|
function hg(e) {
|
|
@@ -13376,7 +13399,7 @@ The error may be correlated with this previous error:
|
|
|
13376
13399
|
k.length == 2 && k[1] != "" && (G = ":"), h.a.push(k.join(G));
|
|
13377
13400
|
}
|
|
13378
13401
|
}
|
|
13379
|
-
function
|
|
13402
|
+
function qn(h) {
|
|
13380
13403
|
if (h.a.length == 0) throw Error("No fonts to load!");
|
|
13381
13404
|
if (h.c.indexOf("kit=") != -1) return h.c;
|
|
13382
13405
|
for (var T = h.a.length, q = [], C = 0; C < T; C++) q.push(h.a[C].replace(/ /g, "+"));
|
|
@@ -13457,7 +13480,7 @@ The error may be correlated with this previous error:
|
|
|
13457
13480
|
var T = new b(), q = this.c, C = new Gt(this.a.api, this.a.text), k = this.a.families;
|
|
13458
13481
|
Rr(C, k);
|
|
13459
13482
|
var G = new Re(k);
|
|
13460
|
-
mb(G), g(q,
|
|
13483
|
+
mb(G), g(q, qn(C), S(T)), w(T, function() {
|
|
13461
13484
|
h(G.a, G.c, hb);
|
|
13462
13485
|
});
|
|
13463
13486
|
};
|
|
@@ -13509,10 +13532,10 @@ The error may be correlated with this previous error:
|
|
|
13509
13532
|
}, dt.a.c.google = function(h, T) {
|
|
13510
13533
|
return new xu(T, h);
|
|
13511
13534
|
};
|
|
13512
|
-
var
|
|
13535
|
+
var ma = { load: o(dt.load, dt) };
|
|
13513
13536
|
typeof define == "function" && define.amd ? define(function() {
|
|
13514
|
-
return
|
|
13515
|
-
}) : typeof t < "u" && t.exports ? t.exports =
|
|
13537
|
+
return ma;
|
|
13538
|
+
}) : typeof t < "u" && t.exports ? t.exports = ma : (window.WebFont = ma, window.WebFontConfig && dt.load(window.WebFontConfig));
|
|
13516
13539
|
})();
|
|
13517
13540
|
})), Sg = me.__toESM(Tg()), Pg = (e, t) => {
|
|
13518
13541
|
const r = () => {
|
|
@@ -13536,7 +13559,7 @@ The error may be correlated with this previous error:
|
|
|
13536
13559
|
} catch {}
|
|
13537
13560
|
};
|
|
13538
13561
|
t ? setTimeout(r, t) : r();
|
|
13539
|
-
},
|
|
13562
|
+
}, An = () => {
|
|
13540
13563
|
const e = Gs();
|
|
13541
13564
|
return (0, M.useCallback)((t, r) => {
|
|
13542
13565
|
e.pushToGTM !== !1 && Pg(t, r);
|
|
@@ -13582,19 +13605,19 @@ The error may be correlated with this previous error:
|
|
|
13582
13605
|
"prevElem",
|
|
13583
13606
|
"floatBlocks",
|
|
13584
13607
|
"usedColors"
|
|
13585
|
-
]), Dg = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").toLowerCase(), qg = (e) => jg[e] ?? Dg(e),
|
|
13608
|
+
]), Dg = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").toLowerCase(), qg = (e) => jg[e] ?? Dg(e), aa = (e) => e.length > 100 ? e.slice(0, 100) : e, Rg = (e) => {
|
|
13586
13609
|
if (e == null) return null;
|
|
13587
13610
|
const t = typeof e;
|
|
13588
13611
|
if (t === "boolean" || t === "number") return e;
|
|
13589
|
-
if (t === "string") return
|
|
13612
|
+
if (t === "string") return aa(e);
|
|
13590
13613
|
if (t === "object") {
|
|
13591
13614
|
const r = e;
|
|
13592
13615
|
if ("value" in r) {
|
|
13593
13616
|
const n = typeof r.dim == "string" ? r.dim : "";
|
|
13594
|
-
return
|
|
13617
|
+
return aa(`${r.value === null || r.value === void 0 ? "" : String(r.value)}${n}`);
|
|
13595
13618
|
}
|
|
13596
13619
|
try {
|
|
13597
|
-
return
|
|
13620
|
+
return aa(JSON.stringify(r));
|
|
13598
13621
|
} catch {
|
|
13599
13622
|
return null;
|
|
13600
13623
|
}
|
|
@@ -13639,17 +13662,17 @@ The error may be correlated with this previous error:
|
|
|
13639
13662
|
return we.getOrCreateInstance(e, Kt, () => new Ut());
|
|
13640
13663
|
}
|
|
13641
13664
|
function Ng() {
|
|
13642
|
-
const e =
|
|
13665
|
+
const e = jn();
|
|
13643
13666
|
return (0, M.useCallback)((t) => {
|
|
13644
13667
|
e.setTarget(t instanceof Element ? t.contentWindow : t);
|
|
13645
13668
|
}, [e]);
|
|
13646
13669
|
}
|
|
13647
|
-
function
|
|
13670
|
+
function jn() {
|
|
13648
13671
|
const e = ce();
|
|
13649
13672
|
return (0, M.useMemo)(() => Xs(e), [e]);
|
|
13650
13673
|
}
|
|
13651
13674
|
function Nt() {
|
|
13652
|
-
const e =
|
|
13675
|
+
const e = jn(), t = An(), r = (0, M.useRef)(t);
|
|
13653
13676
|
r.current = t;
|
|
13654
13677
|
const n = (0, M.useRef)();
|
|
13655
13678
|
return n.current || (n.current = kg((o) => r.current(o))), (0, M.useCallback)(function(o) {
|
|
@@ -13657,12 +13680,12 @@ The error may be correlated with this previous error:
|
|
|
13657
13680
|
}, [e]);
|
|
13658
13681
|
}
|
|
13659
13682
|
function xg() {
|
|
13660
|
-
const e =
|
|
13683
|
+
const e = jn();
|
|
13661
13684
|
return (0, M.useCallback)(function(t, r) {
|
|
13662
13685
|
e.send(t, r);
|
|
13663
13686
|
}, [e]);
|
|
13664
13687
|
}
|
|
13665
|
-
var Js = (0, M.createContext)({ element: void 0 }),
|
|
13688
|
+
var Js = (0, M.createContext)({ element: void 0 }), ia = () => (0, M.useContext)(Js)?.element, Ys = (0, M.createContext)(void 0), Gg = () => (0, M.useContext)(Ys), Zs = (0, M.createContext)(!1), $g = () => (0, M.useContext)(Zs), eu = [
|
|
13666
13689
|
"title",
|
|
13667
13690
|
"slug",
|
|
13668
13691
|
"type",
|
|
@@ -13695,7 +13718,7 @@ The error may be correlated with this previous error:
|
|
|
13695
13718
|
"id",
|
|
13696
13719
|
"project",
|
|
13697
13720
|
"password"
|
|
13698
|
-
],
|
|
13721
|
+
], sa = new Set([
|
|
13699
13722
|
"html",
|
|
13700
13723
|
...eu,
|
|
13701
13724
|
"global_block",
|
|
@@ -13730,7 +13753,7 @@ The error may be correlated with this previous error:
|
|
|
13730
13753
|
"global_block"
|
|
13731
13754
|
]);
|
|
13732
13755
|
function tu(e, t) {
|
|
13733
|
-
return
|
|
13756
|
+
return sa.has(e) ? e === "html" ? typeof t == "string" : e === "meta" ? t != null && typeof t == "object" : e === "project" ? t != null : Fg.has(e) ? t != null && t !== "" : Ug.has(e) ? t != null : t !== void 0 : !1;
|
|
13734
13757
|
}
|
|
13735
13758
|
function ru(e) {
|
|
13736
13759
|
if (!e || typeof e != "object") return {};
|
|
@@ -13772,7 +13795,7 @@ The error may be correlated with this previous error:
|
|
|
13772
13795
|
}
|
|
13773
13796
|
function Qg(e, t) {
|
|
13774
13797
|
var r, n;
|
|
13775
|
-
|
|
13798
|
+
na(1, arguments);
|
|
13776
13799
|
var o = tg(e);
|
|
13777
13800
|
if (isNaN(o.getTime())) throw new RangeError("Invalid time value");
|
|
13778
13801
|
var a = String((r = t?.format) !== null && r !== void 0 ? r : "extended"), i = String((n = t?.representation) !== null && n !== void 0 ? n : "complete");
|
|
@@ -13798,37 +13821,37 @@ The error may be correlated with this previous error:
|
|
|
13798
13821
|
}
|
|
13799
13822
|
return u;
|
|
13800
13823
|
}
|
|
13801
|
-
function
|
|
13824
|
+
function ua(e) {
|
|
13802
13825
|
if (!e) return !1;
|
|
13803
13826
|
try {
|
|
13804
|
-
return we.getInstance(e,
|
|
13827
|
+
return we.getInstance(e, Hn) !== void 0;
|
|
13805
13828
|
} catch {
|
|
13806
13829
|
return !1;
|
|
13807
13830
|
}
|
|
13808
13831
|
}
|
|
13809
13832
|
function zg() {
|
|
13810
13833
|
const e = ce();
|
|
13811
|
-
return (0, M.useMemo)(() =>
|
|
13834
|
+
return (0, M.useMemo)(() => ua(e), [e]);
|
|
13812
13835
|
}
|
|
13813
13836
|
var Kg = "Invalid standaloneKey.", Vg = "not implemented", Wg = W("StandaloneMockGuard");
|
|
13814
|
-
function
|
|
13837
|
+
function la() {
|
|
13815
13838
|
const e = new Error(Kg);
|
|
13816
13839
|
return e.name = "InvalidStandaloneKeyError", e;
|
|
13817
13840
|
}
|
|
13818
13841
|
function ou(e) {
|
|
13819
|
-
return
|
|
13842
|
+
return ua(re(e));
|
|
13820
13843
|
}
|
|
13821
13844
|
function Xg(e) {
|
|
13822
13845
|
return e instanceof Error ? e.name === "InvalidStandaloneKeyError" || e.message === "Invalid standaloneKey." || e.message === "not implemented" : e === Vg;
|
|
13823
13846
|
}
|
|
13824
13847
|
function au(e) {
|
|
13825
|
-
if (ou(e)) throw
|
|
13848
|
+
if (ou(e)) throw la();
|
|
13826
13849
|
}
|
|
13827
13850
|
function Jg(e, t, r) {
|
|
13828
|
-
return r instanceof Error && r.name === "InvalidStandaloneKeyError" ? r :
|
|
13851
|
+
return r instanceof Error && r.name === "InvalidStandaloneKeyError" ? r : la();
|
|
13829
13852
|
}
|
|
13830
13853
|
var Yg = () => () => {
|
|
13831
|
-
throw
|
|
13854
|
+
throw la();
|
|
13832
13855
|
};
|
|
13833
13856
|
function Zg(e) {
|
|
13834
13857
|
const t = re(e);
|
|
@@ -14072,12 +14095,12 @@ The error may be correlated with this previous error:
|
|
|
14072
14095
|
return (t) => we.getOrCreateInstance(t, e, () => new a_());
|
|
14073
14096
|
}
|
|
14074
14097
|
function Ar(e) {
|
|
14075
|
-
const t = we.getInstance(e,
|
|
14098
|
+
const t = we.getInstance(e, Un);
|
|
14076
14099
|
if (!t) throw new Error("Failed");
|
|
14077
14100
|
return t;
|
|
14078
14101
|
}
|
|
14079
14102
|
function jr(e) {
|
|
14080
|
-
const t = we.getInstance(e,
|
|
14103
|
+
const t = we.getInstance(e, Ma);
|
|
14081
14104
|
if (!t) throw new Error("Failed");
|
|
14082
14105
|
return t;
|
|
14083
14106
|
}
|
|
@@ -14134,7 +14157,7 @@ The error may be correlated with this previous error:
|
|
|
14134
14157
|
};
|
|
14135
14158
|
}
|
|
14136
14159
|
var cu = new Set();
|
|
14137
|
-
function
|
|
14160
|
+
function In(e) {
|
|
14138
14161
|
return (t, r) => {
|
|
14139
14162
|
const n = Object.create(null), o = Object.keys(r), a = new be();
|
|
14140
14163
|
for (const i of o) {
|
|
@@ -14151,8 +14174,8 @@ The error may be correlated with this previous error:
|
|
|
14151
14174
|
}
|
|
14152
14175
|
var du = Or();
|
|
14153
14176
|
function d_(e) {
|
|
14154
|
-
const t =
|
|
14155
|
-
jr(e).addDisposable(r.onChange(() => o(
|
|
14177
|
+
const t = In(e), r = du(e), n = r.byForeignKey("post"), { dispatch: o } = Ar(e);
|
|
14178
|
+
jr(e).addDisposable(r.onChange(() => o(Pn.util.invalidateTags(["Comments"])))), t(Pn, {
|
|
14156
14179
|
getComments(a) {
|
|
14157
14180
|
return n.get(a).then(({ data: i }) => i);
|
|
14158
14181
|
},
|
|
@@ -14184,7 +14207,7 @@ The error may be correlated with this previous error:
|
|
|
14184
14207
|
function fu(e) {
|
|
14185
14208
|
return W(e);
|
|
14186
14209
|
}
|
|
14187
|
-
function
|
|
14210
|
+
function Cn(e, t) {
|
|
14188
14211
|
return re(e).getOrCreateInstance(t, () => new ze());
|
|
14189
14212
|
}
|
|
14190
14213
|
function f_(e, t) {
|
|
@@ -14195,9 +14218,9 @@ The error may be correlated with this previous error:
|
|
|
14195
14218
|
}
|
|
14196
14219
|
function pu(e) {
|
|
14197
14220
|
const t = ce();
|
|
14198
|
-
return (0, M.useMemo)(() =>
|
|
14221
|
+
return (0, M.useMemo)(() => Cn(t, e), [t, e]);
|
|
14199
14222
|
}
|
|
14200
|
-
function
|
|
14223
|
+
function ca(e) {
|
|
14201
14224
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
14202
14225
|
}
|
|
14203
14226
|
function mu(e, t) {
|
|
@@ -14208,7 +14231,7 @@ The error may be correlated with this previous error:
|
|
|
14208
14231
|
}, r);
|
|
14209
14232
|
}
|
|
14210
14233
|
function hu(e, t, r) {
|
|
14211
|
-
return e && !
|
|
14234
|
+
return e && !ca(t) && ca(e) ? {
|
|
14212
14235
|
...r,
|
|
14213
14236
|
meta: e.meta
|
|
14214
14237
|
} : r;
|
|
@@ -14225,7 +14248,7 @@ The error may be correlated with this previous error:
|
|
|
14225
14248
|
return n(o);
|
|
14226
14249
|
}
|
|
14227
14250
|
function m_(e) {
|
|
14228
|
-
const t =
|
|
14251
|
+
const t = In(e), r = yu(e), n = r.byForeignKey("project"), o = vu(e), a = o.byForeignKey("parent"), { dispatch: i, getState: u } = Ar(e), s = jr(e);
|
|
14229
14252
|
s.addDisposable(r.onChange(() => i(Tr.util.invalidateTags(["Blocks"])))), s.addDisposable(r.onSave(({ prev: d, patch: p, value: m }) => {
|
|
14230
14253
|
const g = d ? {
|
|
14231
14254
|
...d,
|
|
@@ -14237,7 +14260,7 @@ The error may be correlated with this previous error:
|
|
|
14237
14260
|
renderGuid: g.renderGuid
|
|
14238
14261
|
}), _;
|
|
14239
14262
|
}, Number.MIN_VALUE));
|
|
14240
|
-
const l =
|
|
14263
|
+
const l = Cn(e, _u), f = Cn(e, gu);
|
|
14241
14264
|
t(Tr, {
|
|
14242
14265
|
async getBlocks(d) {
|
|
14243
14266
|
const p = {};
|
|
@@ -14311,7 +14334,7 @@ The error may be correlated with this previous error:
|
|
|
14311
14334
|
}
|
|
14312
14335
|
var wu = Or(), Tu = Or();
|
|
14313
14336
|
function h_(e) {
|
|
14314
|
-
const t = wu(e), r = Tu(e), n = r.byForeignKey("parent"), { dispatch: o, getState: a } = Ar(e), i = jr(e), u =
|
|
14337
|
+
const t = wu(e), r = Tu(e), n = r.byForeignKey("parent"), { dispatch: o, getState: a } = Ar(e), i = jr(e), u = In(e);
|
|
14315
14338
|
i.addDisposable(t.onChange(async () => {
|
|
14316
14339
|
o(He.util.invalidateTags(["Email"]));
|
|
14317
14340
|
})), i.addDisposable(r.onChange(() => {
|
|
@@ -14378,7 +14401,7 @@ The error may be correlated with this previous error:
|
|
|
14378
14401
|
function y_(e) {
|
|
14379
14402
|
return !e.hasOwnProperty("email") && !e.hasOwnProperty("block") && !e.hasOwnProperty("templateId");
|
|
14380
14403
|
}
|
|
14381
|
-
function
|
|
14404
|
+
function Dn(e) {
|
|
14382
14405
|
return {
|
|
14383
14406
|
emails: wu(e),
|
|
14384
14407
|
blocks: yu(e),
|
|
@@ -14388,7 +14411,7 @@ The error may be correlated with this previous error:
|
|
|
14388
14411
|
};
|
|
14389
14412
|
}
|
|
14390
14413
|
function v_(e) {
|
|
14391
|
-
const t = Object.values(
|
|
14414
|
+
const t = Object.values(Dn(e));
|
|
14392
14415
|
return {
|
|
14393
14416
|
suspendChange() {
|
|
14394
14417
|
t.forEach((r) => r.suspendChange());
|
|
@@ -14404,19 +14427,19 @@ The error may be correlated with this previous error:
|
|
|
14404
14427
|
email: typeof e.email == "string" ? { code: e.email } : e.email || {}
|
|
14405
14428
|
};
|
|
14406
14429
|
}
|
|
14407
|
-
var
|
|
14430
|
+
var da = new WeakMap(), __ = 32;
|
|
14408
14431
|
function b_(e) {
|
|
14409
14432
|
return { ...e };
|
|
14410
14433
|
}
|
|
14411
14434
|
function Su(e) {
|
|
14412
|
-
let t =
|
|
14435
|
+
let t = da.get(e);
|
|
14413
14436
|
return t || (t = {
|
|
14414
14437
|
byId: new Map(),
|
|
14415
14438
|
fallback: []
|
|
14416
|
-
},
|
|
14439
|
+
}, da.set(e, t)), t;
|
|
14417
14440
|
}
|
|
14418
14441
|
function E_(e) {
|
|
14419
|
-
|
|
14442
|
+
da.delete(e);
|
|
14420
14443
|
}
|
|
14421
14444
|
function Pu(e, t) {
|
|
14422
14445
|
const { byId: r, fallback: n } = Su(t), o = b_(e);
|
|
@@ -14439,7 +14462,7 @@ The error may be correlated with this previous error:
|
|
|
14439
14462
|
}
|
|
14440
14463
|
}
|
|
14441
14464
|
async function T_(e, t) {
|
|
14442
|
-
const { blocks: r } =
|
|
14465
|
+
const { blocks: r } = Dn(e);
|
|
14443
14466
|
return await r.cache.getIfPresent(t) ?? void 0;
|
|
14444
14467
|
}
|
|
14445
14468
|
async function S_(e, t) {
|
|
@@ -14449,19 +14472,19 @@ The error may be correlated with this previous error:
|
|
|
14449
14472
|
}
|
|
14450
14473
|
async function P_(e, t) {
|
|
14451
14474
|
const r = w_(e, t);
|
|
14452
|
-
if (r) return
|
|
14475
|
+
if (r) return Bn(e, r);
|
|
14453
14476
|
const n = await S_(t, e);
|
|
14454
|
-
return n ?
|
|
14477
|
+
return n ? Bn(e, n) : Bn(e, void 0);
|
|
14455
14478
|
}
|
|
14456
14479
|
function O_(e) {
|
|
14457
14480
|
if (!e) return {};
|
|
14458
14481
|
const t = {};
|
|
14459
|
-
for (const r of Object.keys(e))
|
|
14482
|
+
for (const r of Object.keys(e)) sa.has(r) && tu(r, e[r]) && (t[r] = e[r]);
|
|
14460
14483
|
return t;
|
|
14461
14484
|
}
|
|
14462
14485
|
function Ou(e) {
|
|
14463
14486
|
const t = {}, r = e;
|
|
14464
|
-
for (const n of
|
|
14487
|
+
for (const n of sa) {
|
|
14465
14488
|
if (!(n in r)) continue;
|
|
14466
14489
|
const o = r[n];
|
|
14467
14490
|
if (tu(n, o)) {
|
|
@@ -14497,18 +14520,18 @@ The error may be correlated with this previous error:
|
|
|
14497
14520
|
if (!n) return;
|
|
14498
14521
|
const o = Ou(t), a = Ou(r);
|
|
14499
14522
|
if (er(o, a)) return;
|
|
14500
|
-
const { blocks: i } =
|
|
14523
|
+
const { blocks: i } = Dn(e);
|
|
14501
14524
|
await i.cache.addOrUpdate(n, (u) => u && A_(u, a));
|
|
14502
14525
|
}
|
|
14503
|
-
var
|
|
14526
|
+
var fa = "elama_user";
|
|
14504
14527
|
function j_(e) {
|
|
14505
14528
|
try {
|
|
14506
|
-
e ? localStorage.setItem(
|
|
14529
|
+
e ? localStorage.setItem(fa, "true") : localStorage.removeItem(fa);
|
|
14507
14530
|
} catch {}
|
|
14508
14531
|
}
|
|
14509
14532
|
function I_() {
|
|
14510
14533
|
try {
|
|
14511
|
-
return localStorage.getItem(
|
|
14534
|
+
return localStorage.getItem(fa) === "true";
|
|
14512
14535
|
} catch {
|
|
14513
14536
|
return !1;
|
|
14514
14537
|
}
|
|
@@ -14580,7 +14603,7 @@ The error may be correlated with this previous error:
|
|
|
14580
14603
|
return e;
|
|
14581
14604
|
}
|
|
14582
14605
|
var Cu = /<title>([\s\S]*?)<\/title>/gim;
|
|
14583
|
-
function
|
|
14606
|
+
function pa(e) {
|
|
14584
14607
|
return e == null ? "" : String(e).replace(/\s+/g, " ").trim();
|
|
14585
14608
|
}
|
|
14586
14609
|
var N_ = (e, t) => {
|
|
@@ -14591,8 +14614,8 @@ The error may be correlated with this previous error:
|
|
|
14591
14614
|
]);
|
|
14592
14615
|
return n = n.replaceAll(Cu, (o, a) => {
|
|
14593
14616
|
if (t == null) return o;
|
|
14594
|
-
const i =
|
|
14595
|
-
return i ===
|
|
14617
|
+
const i = pa(a);
|
|
14618
|
+
return i === pa(t) ? `<title>${ju(i)}</title>` : o;
|
|
14596
14619
|
}), k_(n, r.reverse());
|
|
14597
14620
|
};
|
|
14598
14621
|
function x_(e) {
|
|
@@ -14601,7 +14624,7 @@ The error may be correlated with this previous error:
|
|
|
14601
14624
|
["<script.*?>", "<\\/script>"],
|
|
14602
14625
|
["<\\!--", "-->"]
|
|
14603
14626
|
]);
|
|
14604
|
-
return [...t.matchAll(Cu)].map((r) =>
|
|
14627
|
+
return [...t.matchAll(Cu)].map((r) => pa(r[1])).find((r) => !!r);
|
|
14605
14628
|
}
|
|
14606
14629
|
var Du = "ascend", qu = "asc", Ru = "descend", Mu = "desc", G_ = (e) => {
|
|
14607
14630
|
switch (e) {
|
|
@@ -14641,7 +14664,7 @@ The error may be correlated with this previous error:
|
|
|
14641
14664
|
}), Q_ = (e, t) => {
|
|
14642
14665
|
t && e(t);
|
|
14643
14666
|
}, z_ = () => {
|
|
14644
|
-
const e = Nt(), t =
|
|
14667
|
+
const e = Nt(), t = ia(), r = ce(), { projectId: n } = (0, Rn.useParams)(), o = gt(Sn);
|
|
14645
14668
|
return (0, M.useCallback)(async (a, i, u, s, l) => {
|
|
14646
14669
|
t.querySelectorAll(".block-search__preview").forEach((v) => v.remove());
|
|
14647
14670
|
const f = t.querySelector("#iframe-scroll-top"), d = t.querySelector("#iframe-scroll-bottom"), p = t.querySelector("#email_iframe"), m = document.body.getBoundingClientRect().height, g = p.getClientRects()[0];
|
|
@@ -14652,7 +14675,7 @@ The error may be correlated with this previous error:
|
|
|
14652
14675
|
fragmentRole: _,
|
|
14653
14676
|
name: s,
|
|
14654
14677
|
project: S
|
|
14655
|
-
}), O = await
|
|
14678
|
+
}), O = await Sa(b, { ...w });
|
|
14656
14679
|
await Au(b, w, O), Pu(O, b);
|
|
14657
14680
|
const y = O.project !== void 0 && O.project !== null ? String(O.project) : String(S ?? ""), E = {
|
|
14658
14681
|
operation: mt.SANDBOX_BLOCK_INSERT,
|
|
@@ -14674,12 +14697,12 @@ The error may be correlated with this previous error:
|
|
|
14674
14697
|
o
|
|
14675
14698
|
]);
|
|
14676
14699
|
}, K_ = () => {
|
|
14677
|
-
const e = Nt(), t =
|
|
14700
|
+
const e = Nt(), t = ia(), r = ce();
|
|
14678
14701
|
return (0, M.useCallback)(async (n, o, a) => {
|
|
14679
14702
|
if (!a(o)) return;
|
|
14680
14703
|
const i = t.querySelector("#iframe-scroll-top"), u = t.querySelector("#iframe-scroll-bottom"), s = t.querySelector("#email_iframe"), l = document.body.getBoundingClientRect().height, f = s.getClientRects()[0];
|
|
14681
14704
|
f.top < 0 && (i.style.display = "block"), f.top + f.height > l && (u.style.display = "block");
|
|
14682
|
-
const d = await
|
|
14705
|
+
const d = await Ta(re(r), {
|
|
14683
14706
|
name: o?.name ?? "",
|
|
14684
14707
|
className: o?.className ?? "",
|
|
14685
14708
|
html: o?.html ?? ""
|
|
@@ -14698,7 +14721,7 @@ The error may be correlated with this previous error:
|
|
|
14698
14721
|
r
|
|
14699
14722
|
]);
|
|
14700
14723
|
}, V_ = () => {
|
|
14701
|
-
const e = Nt(), t =
|
|
14724
|
+
const e = Nt(), t = An(), { emailId: r, blockId: n, projectId: o } = (0, Rn.useParams)(), a = gt(Sn), i = ce();
|
|
14702
14725
|
return (0, M.useCallback)(async (u, s, l, f, d) => {
|
|
14703
14726
|
const p = l === "project" || l === "template" || l === "common" ? "block" : "structure", m = p === "block" ? f || l || "block" : f || l || "structure", g = p === "block" ? "block" : "structure", _ = re(i), b = a?.id ?? o, S = nu(d, {
|
|
14704
14727
|
html: s || "",
|
|
@@ -14706,7 +14729,7 @@ The error may be correlated with this previous error:
|
|
|
14706
14729
|
fragmentRole: g,
|
|
14707
14730
|
name: m,
|
|
14708
14731
|
project: b
|
|
14709
|
-
}), w = await
|
|
14732
|
+
}), w = await Sa(_, { ...S });
|
|
14710
14733
|
await Au(_, S, w), Pu(w, _);
|
|
14711
14734
|
const O = w.project !== void 0 && w.project !== null ? String(w.project) : String(b ?? "");
|
|
14712
14735
|
e({
|
|
@@ -14737,9 +14760,9 @@ The error may be correlated with this previous error:
|
|
|
14737
14760
|
i
|
|
14738
14761
|
]);
|
|
14739
14762
|
}, W_ = () => {
|
|
14740
|
-
const e = Nt(), t =
|
|
14763
|
+
const e = Nt(), t = An(), { emailId: r, blockId: n, projectId: o } = (0, Rn.useParams)(), a = gt(Sn), i = ce();
|
|
14741
14764
|
return (0, M.useCallback)(async (u, s) => {
|
|
14742
|
-
const l = await
|
|
14765
|
+
const l = await Ta(re(i), {
|
|
14743
14766
|
name: s?.name ?? "",
|
|
14744
14767
|
className: s?.className ?? "",
|
|
14745
14768
|
html: s?.html ?? ""
|
|
@@ -14816,7 +14839,7 @@ The error may be correlated with this previous error:
|
|
|
14816
14839
|
currentSchema: {},
|
|
14817
14840
|
monacoOptions: Dd,
|
|
14818
14841
|
monacoDidMount: !1
|
|
14819
|
-
}, wt = "userSlice", ku =
|
|
14842
|
+
}, wt = "userSlice", ku = en("user/setMonacoOptions", async (e, { getState: t }) => {
|
|
14820
14843
|
const r = t()[wt], n = typeof e.font_family == "string" ? `${e.font_family}, sans-serif` : void 0, o = e.word_wrap !== void 0 ? e.word_wrap ? "on" : "off" : void 0;
|
|
14821
14844
|
return n && r.monacoOptions.fontFamily !== n && await H_(e.font_family), {
|
|
14822
14845
|
tabSize: e.tab_size,
|
|
@@ -14865,7 +14888,7 @@ The error may be correlated with this previous error:
|
|
|
14865
14888
|
Object.defineProperty(c, "ADVANCED_SETTINGS_PANEL", {
|
|
14866
14889
|
enumerable: !0,
|
|
14867
14890
|
get: function() {
|
|
14868
|
-
return
|
|
14891
|
+
return Aa;
|
|
14869
14892
|
}
|
|
14870
14893
|
}), Object.defineProperty(c, "AICHAT", {
|
|
14871
14894
|
enumerable: !0,
|
|
@@ -14935,7 +14958,7 @@ The error may be correlated with this previous error:
|
|
|
14935
14958
|
}), Object.defineProperty(c, "BUILD", {
|
|
14936
14959
|
enumerable: !0,
|
|
14937
14960
|
get: function() {
|
|
14938
|
-
return
|
|
14961
|
+
return no;
|
|
14939
14962
|
}
|
|
14940
14963
|
}), Object.defineProperty(c, "CARDS", {
|
|
14941
14964
|
enumerable: !0,
|
|
@@ -14957,6 +14980,11 @@ The error may be correlated with this previous error:
|
|
|
14957
14980
|
get: function() {
|
|
14958
14981
|
return Hl;
|
|
14959
14982
|
}
|
|
14983
|
+
}), Object.defineProperty(c, "CUSTOM_FETCH_ID", {
|
|
14984
|
+
enumerable: !0,
|
|
14985
|
+
get: function() {
|
|
14986
|
+
return Hr;
|
|
14987
|
+
}
|
|
14960
14988
|
}), Object.defineProperty(c, "Container", {
|
|
14961
14989
|
enumerable: !0,
|
|
14962
14990
|
get: function() {
|
|
@@ -14980,7 +15008,7 @@ The error may be correlated with this previous error:
|
|
|
14980
15008
|
}), Object.defineProperty(c, "DESKTOP", {
|
|
14981
15009
|
enumerable: !0,
|
|
14982
15010
|
get: function() {
|
|
14983
|
-
return
|
|
15011
|
+
return oo;
|
|
14984
15012
|
}
|
|
14985
15013
|
}), Object.defineProperty(c, "DISABLED_TAB", {
|
|
14986
15014
|
enumerable: !0,
|
|
@@ -14995,7 +15023,7 @@ The error may be correlated with this previous error:
|
|
|
14995
15023
|
}), Object.defineProperty(c, "DISPOSABLE_ID", {
|
|
14996
15024
|
enumerable: !0,
|
|
14997
15025
|
get: function() {
|
|
14998
|
-
return
|
|
15026
|
+
return Ma;
|
|
14999
15027
|
}
|
|
15000
15028
|
}), Object.defineProperty(c, "DND_SOCIAL_LIST_REORDER_MIME", {
|
|
15001
15029
|
enumerable: !0,
|
|
@@ -15070,7 +15098,7 @@ The error may be correlated with this previous error:
|
|
|
15070
15098
|
}), Object.defineProperty(c, "HANDLE_ATOM_INSERT_ID", {
|
|
15071
15099
|
enumerable: !0,
|
|
15072
15100
|
get: function() {
|
|
15073
|
-
return
|
|
15101
|
+
return Oa;
|
|
15074
15102
|
}
|
|
15075
15103
|
}), Object.defineProperty(c, "HISTORY", {
|
|
15076
15104
|
enumerable: !0,
|
|
@@ -15125,17 +15153,17 @@ The error may be correlated with this previous error:
|
|
|
15125
15153
|
}), Object.defineProperty(c, "MODAL_CLOSE_EVENT", {
|
|
15126
15154
|
enumerable: !0,
|
|
15127
15155
|
get: function() {
|
|
15128
|
-
return
|
|
15156
|
+
return Ia;
|
|
15129
15157
|
}
|
|
15130
15158
|
}), Object.defineProperty(c, "MODAL_SHOW_EVENT", {
|
|
15131
15159
|
enumerable: !0,
|
|
15132
15160
|
get: function() {
|
|
15133
|
-
return
|
|
15161
|
+
return ja;
|
|
15134
15162
|
}
|
|
15135
15163
|
}), Object.defineProperty(c, "MODAL_UPDATE_EVENT", {
|
|
15136
15164
|
enumerable: !0,
|
|
15137
15165
|
get: function() {
|
|
15138
|
-
return
|
|
15166
|
+
return Ca;
|
|
15139
15167
|
}
|
|
15140
15168
|
}), Object.defineProperty(c, "MessageService", {
|
|
15141
15169
|
enumerable: !0,
|
|
@@ -15205,7 +15233,7 @@ The error may be correlated with this previous error:
|
|
|
15205
15233
|
}), Object.defineProperty(c, "RACS", {
|
|
15206
15234
|
enumerable: !0,
|
|
15207
15235
|
get: function() {
|
|
15208
|
-
return
|
|
15236
|
+
return ro;
|
|
15209
15237
|
}
|
|
15210
15238
|
}), Object.defineProperty(c, "READ_COMMON_BLOCKS_EVENT_ID", {
|
|
15211
15239
|
enumerable: !0,
|
|
@@ -15260,7 +15288,7 @@ The error may be correlated with this previous error:
|
|
|
15260
15288
|
}), Object.defineProperty(c, "SECURITY_MODULE_ID", {
|
|
15261
15289
|
enumerable: !0,
|
|
15262
15290
|
get: function() {
|
|
15263
|
-
return
|
|
15291
|
+
return Hn;
|
|
15264
15292
|
}
|
|
15265
15293
|
}), Object.defineProperty(c, "SETTINGS", {
|
|
15266
15294
|
enumerable: !0,
|
|
@@ -15270,7 +15298,7 @@ The error may be correlated with this previous error:
|
|
|
15270
15298
|
}), Object.defineProperty(c, "SETTINGS_PANEL_EVENT", {
|
|
15271
15299
|
enumerable: !0,
|
|
15272
15300
|
get: function() {
|
|
15273
|
-
return
|
|
15301
|
+
return kn;
|
|
15274
15302
|
}
|
|
15275
15303
|
}), Object.defineProperty(c, "STANDALONE_BOOTSTRAP_TOKEN_ID", {
|
|
15276
15304
|
enumerable: !0,
|
|
@@ -15285,12 +15313,12 @@ The error may be correlated with this previous error:
|
|
|
15285
15313
|
}), Object.defineProperty(c, "STORAGE_PROVIDER_ID", {
|
|
15286
15314
|
enumerable: !0,
|
|
15287
15315
|
get: function() {
|
|
15288
|
-
return
|
|
15316
|
+
return La;
|
|
15289
15317
|
}
|
|
15290
15318
|
}), Object.defineProperty(c, "STORE_ID", {
|
|
15291
15319
|
enumerable: !0,
|
|
15292
15320
|
get: function() {
|
|
15293
|
-
return
|
|
15321
|
+
return Un;
|
|
15294
15322
|
}
|
|
15295
15323
|
}), Object.defineProperty(c, "STRUCTURE", {
|
|
15296
15324
|
enumerable: !0,
|
|
@@ -15360,7 +15388,7 @@ The error may be correlated with this previous error:
|
|
|
15360
15388
|
}), Object.defineProperty(c, "WpUserToUser", {
|
|
15361
15389
|
enumerable: !0,
|
|
15362
15390
|
get: function() {
|
|
15363
|
-
return
|
|
15391
|
+
return wn;
|
|
15364
15392
|
}
|
|
15365
15393
|
}), Object.defineProperty(c, "api", {
|
|
15366
15394
|
enumerable: !0,
|
|
@@ -15435,7 +15463,7 @@ The error may be correlated with this previous error:
|
|
|
15435
15463
|
}), Object.defineProperty(c, "combineReducers", {
|
|
15436
15464
|
enumerable: !0,
|
|
15437
15465
|
get: function() {
|
|
15438
|
-
return
|
|
15466
|
+
return bo;
|
|
15439
15467
|
}
|
|
15440
15468
|
}), Object.defineProperty(c, "comingSoonHandler", {
|
|
15441
15469
|
enumerable: !0,
|
|
@@ -15445,7 +15473,7 @@ The error may be correlated with this previous error:
|
|
|
15445
15473
|
}), Object.defineProperty(c, "commentsApi", {
|
|
15446
15474
|
enumerable: !0,
|
|
15447
15475
|
get: function() {
|
|
15448
|
-
return
|
|
15476
|
+
return Pn;
|
|
15449
15477
|
}
|
|
15450
15478
|
}), Object.defineProperty(c, "commentsApiMock", {
|
|
15451
15479
|
enumerable: !0,
|
|
@@ -15560,7 +15588,7 @@ The error may be correlated with this previous error:
|
|
|
15560
15588
|
}), Object.defineProperty(c, "events", {
|
|
15561
15589
|
enumerable: !0,
|
|
15562
15590
|
get: function() {
|
|
15563
|
-
return
|
|
15591
|
+
return Fn;
|
|
15564
15592
|
}
|
|
15565
15593
|
}), Object.defineProperty(c, "expandShowOptions", {
|
|
15566
15594
|
enumerable: !0,
|
|
@@ -15640,7 +15668,7 @@ The error may be correlated with this previous error:
|
|
|
15640
15668
|
}), Object.defineProperty(c, "getDataSources", {
|
|
15641
15669
|
enumerable: !0,
|
|
15642
15670
|
get: function() {
|
|
15643
|
-
return
|
|
15671
|
+
return Dn;
|
|
15644
15672
|
}
|
|
15645
15673
|
}), Object.defineProperty(c, "getDisposable", {
|
|
15646
15674
|
enumerable: !0,
|
|
@@ -15650,7 +15678,7 @@ The error may be correlated with this previous error:
|
|
|
15650
15678
|
}), Object.defineProperty(c, "getEmitter", {
|
|
15651
15679
|
enumerable: !0,
|
|
15652
15680
|
get: function() {
|
|
15653
|
-
return
|
|
15681
|
+
return Cn;
|
|
15654
15682
|
}
|
|
15655
15683
|
}), Object.defineProperty(c, "getEmitter$1", {
|
|
15656
15684
|
enumerable: !0,
|
|
@@ -15685,7 +15713,7 @@ The error may be correlated with this previous error:
|
|
|
15685
15713
|
}), Object.defineProperty(c, "getOverrideApiFn", {
|
|
15686
15714
|
enumerable: !0,
|
|
15687
15715
|
get: function() {
|
|
15688
|
-
return
|
|
15716
|
+
return In;
|
|
15689
15717
|
}
|
|
15690
15718
|
}), Object.defineProperty(c, "getProxiedUrl", {
|
|
15691
15719
|
enumerable: !0,
|
|
@@ -15740,7 +15768,7 @@ The error may be correlated with this previous error:
|
|
|
15740
15768
|
}), Object.defineProperty(c, "hasOwnMeta", {
|
|
15741
15769
|
enumerable: !0,
|
|
15742
15770
|
get: function() {
|
|
15743
|
-
return
|
|
15771
|
+
return ca;
|
|
15744
15772
|
}
|
|
15745
15773
|
}), Object.defineProperty(c, "hoverHandler", {
|
|
15746
15774
|
enumerable: !0,
|
|
@@ -15770,7 +15798,12 @@ The error may be correlated with this previous error:
|
|
|
15770
15798
|
}), Object.defineProperty(c, "isStandaloneRuntime", {
|
|
15771
15799
|
enumerable: !0,
|
|
15772
15800
|
get: function() {
|
|
15773
|
-
return
|
|
15801
|
+
return ua;
|
|
15802
|
+
}
|
|
15803
|
+
}), Object.defineProperty(c, "isStateContainer", {
|
|
15804
|
+
enumerable: !0,
|
|
15805
|
+
get: function() {
|
|
15806
|
+
return Qn;
|
|
15774
15807
|
}
|
|
15775
15808
|
}), Object.defineProperty(c, "isTrialSubscriptionActive", {
|
|
15776
15809
|
enumerable: !0,
|
|
@@ -15805,7 +15838,7 @@ The error may be correlated with this previous error:
|
|
|
15805
15838
|
}), Object.defineProperty(c, "markContentReady", {
|
|
15806
15839
|
enumerable: !0,
|
|
15807
15840
|
get: function() {
|
|
15808
|
-
return
|
|
15841
|
+
return Uo;
|
|
15809
15842
|
}
|
|
15810
15843
|
}), Object.defineProperty(c, "markStandaloneMockGuardInstalled", {
|
|
15811
15844
|
enumerable: !0,
|
|
@@ -16085,7 +16118,7 @@ The error may be correlated with this previous error:
|
|
|
16085
16118
|
}), Object.defineProperty(c, "selectProject", {
|
|
16086
16119
|
enumerable: !0,
|
|
16087
16120
|
get: function() {
|
|
16088
|
-
return
|
|
16121
|
+
return Sn;
|
|
16089
16122
|
}
|
|
16090
16123
|
}), Object.defineProperty(c, "selectProjectGroups", {
|
|
16091
16124
|
enumerable: !0,
|
|
@@ -16380,7 +16413,7 @@ The error may be correlated with this previous error:
|
|
|
16380
16413
|
}), Object.defineProperty(c, "taxonomiesApi", {
|
|
16381
16414
|
enumerable: !0,
|
|
16382
16415
|
get: function() {
|
|
16383
|
-
return
|
|
16416
|
+
return Ho;
|
|
16384
16417
|
}
|
|
16385
16418
|
}), Object.defineProperty(c, "transformListResponseFn", {
|
|
16386
16419
|
enumerable: !0,
|
|
@@ -16660,7 +16693,7 @@ The error may be correlated with this previous error:
|
|
|
16660
16693
|
}), Object.defineProperty(c, "useMessageService", {
|
|
16661
16694
|
enumerable: !0,
|
|
16662
16695
|
get: function() {
|
|
16663
|
-
return
|
|
16696
|
+
return jn;
|
|
16664
16697
|
}
|
|
16665
16698
|
}), Object.defineProperty(c, "useModalRootElement", {
|
|
16666
16699
|
enumerable: !0,
|
|
@@ -16670,7 +16703,7 @@ The error may be correlated with this previous error:
|
|
|
16670
16703
|
}), Object.defineProperty(c, "usePushToDataLayer", {
|
|
16671
16704
|
enumerable: !0,
|
|
16672
16705
|
get: function() {
|
|
16673
|
-
return
|
|
16706
|
+
return An;
|
|
16674
16707
|
}
|
|
16675
16708
|
}), Object.defineProperty(c, "useRestClient", {
|
|
16676
16709
|
enumerable: !0,
|
|
@@ -16680,7 +16713,7 @@ The error may be correlated with this previous error:
|
|
|
16680
16713
|
}), Object.defineProperty(c, "useRootElement", {
|
|
16681
16714
|
enumerable: !0,
|
|
16682
16715
|
get: function() {
|
|
16683
|
-
return
|
|
16716
|
+
return ia;
|
|
16684
16717
|
}
|
|
16685
16718
|
}), Object.defineProperty(c, "useSelector", {
|
|
16686
16719
|
enumerable: !0,
|