@expofp/loader 1.0.57 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/bundle.js +552 -225
- package/dist/bundle/bundle.js.map +1 -1
- package/dist/bundle/{downloadZip-D2QfL_V_.js → downloadZip-BbVnryS9.js} +332 -335
- package/dist/bundle/downloadZip-BbVnryS9.js.map +1 -0
- package/dist/bundle/{makeOffline-CBs7cwrM.js → makeOffline-DuRXI_Dd.js} +2 -2
- package/dist/bundle/{makeOffline-CBs7cwrM.js.map → makeOffline-DuRXI_Dd.js.map} +1 -1
- package/dist/bundle/{makeOfflineBundle-BpFIeDmK.js → makeOfflineBundle-XjvmvDQE.js} +2 -2
- package/dist/bundle/{makeOfflineBundle-BpFIeDmK.js.map → makeOfflineBundle-XjvmvDQE.js.map} +1 -1
- package/dist/esm/index.js +8 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +2 -0
- package/dist/esm/shared.js +4 -3
- package/package.json +2 -1
- package/dist/bundle/downloadZip-D2QfL_V_.js.map +0 -1
package/dist/bundle/bundle.js
CHANGED
|
@@ -1,85 +1,408 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
window.__efpLoaderBuildInfo = ["1.0.58", "2025-12-13T11:23:04.759Z"];
|
|
2
|
+
var je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
|
+
function X(r) {
|
|
4
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
3
5
|
}
|
|
4
|
-
|
|
6
|
+
var j = { exports: {} }, U, z;
|
|
7
|
+
function Y() {
|
|
8
|
+
if (z) return U;
|
|
9
|
+
z = 1;
|
|
10
|
+
var r = 1e3, e = r * 60, t = e * 60, n = t * 24, o = n * 7, l = n * 365.25;
|
|
11
|
+
U = function(f, s) {
|
|
12
|
+
s = s || {};
|
|
13
|
+
var i = typeof f;
|
|
14
|
+
if (i === "string" && f.length > 0)
|
|
15
|
+
return a(f);
|
|
16
|
+
if (i === "number" && isFinite(f))
|
|
17
|
+
return s.long ? c(f) : d(f);
|
|
18
|
+
throw new Error(
|
|
19
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(f)
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
function a(f) {
|
|
23
|
+
if (f = String(f), !(f.length > 100)) {
|
|
24
|
+
var s = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
25
|
+
f
|
|
26
|
+
);
|
|
27
|
+
if (s) {
|
|
28
|
+
var i = parseFloat(s[1]), u = (s[2] || "ms").toLowerCase();
|
|
29
|
+
switch (u) {
|
|
30
|
+
case "years":
|
|
31
|
+
case "year":
|
|
32
|
+
case "yrs":
|
|
33
|
+
case "yr":
|
|
34
|
+
case "y":
|
|
35
|
+
return i * l;
|
|
36
|
+
case "weeks":
|
|
37
|
+
case "week":
|
|
38
|
+
case "w":
|
|
39
|
+
return i * o;
|
|
40
|
+
case "days":
|
|
41
|
+
case "day":
|
|
42
|
+
case "d":
|
|
43
|
+
return i * n;
|
|
44
|
+
case "hours":
|
|
45
|
+
case "hour":
|
|
46
|
+
case "hrs":
|
|
47
|
+
case "hr":
|
|
48
|
+
case "h":
|
|
49
|
+
return i * t;
|
|
50
|
+
case "minutes":
|
|
51
|
+
case "minute":
|
|
52
|
+
case "mins":
|
|
53
|
+
case "min":
|
|
54
|
+
case "m":
|
|
55
|
+
return i * e;
|
|
56
|
+
case "seconds":
|
|
57
|
+
case "second":
|
|
58
|
+
case "secs":
|
|
59
|
+
case "sec":
|
|
60
|
+
case "s":
|
|
61
|
+
return i * r;
|
|
62
|
+
case "milliseconds":
|
|
63
|
+
case "millisecond":
|
|
64
|
+
case "msecs":
|
|
65
|
+
case "msec":
|
|
66
|
+
case "ms":
|
|
67
|
+
return i;
|
|
68
|
+
default:
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
function d(f) {
|
|
75
|
+
var s = Math.abs(f);
|
|
76
|
+
return s >= n ? Math.round(f / n) + "d" : s >= t ? Math.round(f / t) + "h" : s >= e ? Math.round(f / e) + "m" : s >= r ? Math.round(f / r) + "s" : f + "ms";
|
|
77
|
+
}
|
|
78
|
+
function c(f) {
|
|
79
|
+
var s = Math.abs(f);
|
|
80
|
+
return s >= n ? w(f, s, n, "day") : s >= t ? w(f, s, t, "hour") : s >= e ? w(f, s, e, "minute") : s >= r ? w(f, s, r, "second") : f + " ms";
|
|
81
|
+
}
|
|
82
|
+
function w(f, s, i, u) {
|
|
83
|
+
var h = s >= i * 1.5;
|
|
84
|
+
return Math.round(f / i) + " " + u + (h ? "s" : "");
|
|
85
|
+
}
|
|
86
|
+
return U;
|
|
87
|
+
}
|
|
88
|
+
var D, V;
|
|
89
|
+
function x() {
|
|
90
|
+
if (V) return D;
|
|
91
|
+
V = 1;
|
|
92
|
+
function r(e) {
|
|
93
|
+
n.debug = n, n.default = n, n.coerce = w, n.disable = d, n.enable = l, n.enabled = c, n.humanize = Y(), n.destroy = f, Object.keys(e).forEach((s) => {
|
|
94
|
+
n[s] = e[s];
|
|
95
|
+
}), n.names = [], n.skips = [], n.formatters = {};
|
|
96
|
+
function t(s) {
|
|
97
|
+
let i = 0;
|
|
98
|
+
for (let u = 0; u < s.length; u++)
|
|
99
|
+
i = (i << 5) - i + s.charCodeAt(u), i |= 0;
|
|
100
|
+
return n.colors[Math.abs(i) % n.colors.length];
|
|
101
|
+
}
|
|
102
|
+
n.selectColor = t;
|
|
103
|
+
function n(s) {
|
|
104
|
+
let i, u = null, h, v;
|
|
105
|
+
function p(...m) {
|
|
106
|
+
if (!p.enabled)
|
|
107
|
+
return;
|
|
108
|
+
const b = p, E = Number(/* @__PURE__ */ new Date()), A = E - (i || E);
|
|
109
|
+
b.diff = A, b.prev = i, b.curr = E, i = E, m[0] = n.coerce(m[0]), typeof m[0] != "string" && m.unshift("%O");
|
|
110
|
+
let g = 0;
|
|
111
|
+
m[0] = m[0].replace(/%([a-zA-Z%])/g, (R, k) => {
|
|
112
|
+
if (R === "%%")
|
|
113
|
+
return "%";
|
|
114
|
+
g++;
|
|
115
|
+
const C = n.formatters[k];
|
|
116
|
+
if (typeof C == "function") {
|
|
117
|
+
const $ = m[g];
|
|
118
|
+
R = C.call(b, $), m.splice(g, 1), g--;
|
|
119
|
+
}
|
|
120
|
+
return R;
|
|
121
|
+
}), n.formatArgs.call(b, m), (b.log || n.log).apply(b, m);
|
|
122
|
+
}
|
|
123
|
+
return p.namespace = s, p.useColors = n.useColors(), p.color = n.selectColor(s), p.extend = o, p.destroy = n.destroy, Object.defineProperty(p, "enabled", {
|
|
124
|
+
enumerable: !0,
|
|
125
|
+
configurable: !1,
|
|
126
|
+
get: () => u !== null ? u : (h !== n.namespaces && (h = n.namespaces, v = n.enabled(s)), v),
|
|
127
|
+
set: (m) => {
|
|
128
|
+
u = m;
|
|
129
|
+
}
|
|
130
|
+
}), typeof n.init == "function" && n.init(p), p;
|
|
131
|
+
}
|
|
132
|
+
function o(s, i) {
|
|
133
|
+
const u = n(this.namespace + (typeof i > "u" ? ":" : i) + s);
|
|
134
|
+
return u.log = this.log, u;
|
|
135
|
+
}
|
|
136
|
+
function l(s) {
|
|
137
|
+
n.save(s), n.namespaces = s, n.names = [], n.skips = [];
|
|
138
|
+
const i = (typeof s == "string" ? s : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
139
|
+
for (const u of i)
|
|
140
|
+
u[0] === "-" ? n.skips.push(u.slice(1)) : n.names.push(u);
|
|
141
|
+
}
|
|
142
|
+
function a(s, i) {
|
|
143
|
+
let u = 0, h = 0, v = -1, p = 0;
|
|
144
|
+
for (; u < s.length; )
|
|
145
|
+
if (h < i.length && (i[h] === s[u] || i[h] === "*"))
|
|
146
|
+
i[h] === "*" ? (v = h, p = u, h++) : (u++, h++);
|
|
147
|
+
else if (v !== -1)
|
|
148
|
+
h = v + 1, p++, u = p;
|
|
149
|
+
else
|
|
150
|
+
return !1;
|
|
151
|
+
for (; h < i.length && i[h] === "*"; )
|
|
152
|
+
h++;
|
|
153
|
+
return h === i.length;
|
|
154
|
+
}
|
|
155
|
+
function d() {
|
|
156
|
+
const s = [
|
|
157
|
+
...n.names,
|
|
158
|
+
...n.skips.map((i) => "-" + i)
|
|
159
|
+
].join(",");
|
|
160
|
+
return n.enable(""), s;
|
|
161
|
+
}
|
|
162
|
+
function c(s) {
|
|
163
|
+
for (const i of n.skips)
|
|
164
|
+
if (a(s, i))
|
|
165
|
+
return !1;
|
|
166
|
+
for (const i of n.names)
|
|
167
|
+
if (a(s, i))
|
|
168
|
+
return !0;
|
|
169
|
+
return !1;
|
|
170
|
+
}
|
|
171
|
+
function w(s) {
|
|
172
|
+
return s instanceof Error ? s.stack || s.message : s;
|
|
173
|
+
}
|
|
174
|
+
function f() {
|
|
175
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
176
|
+
}
|
|
177
|
+
return n.enable(n.load()), n;
|
|
178
|
+
}
|
|
179
|
+
return D = r, D;
|
|
180
|
+
}
|
|
181
|
+
var G;
|
|
182
|
+
function ee() {
|
|
183
|
+
return G || (G = 1, (function(r, e) {
|
|
184
|
+
e.formatArgs = n, e.save = o, e.load = l, e.useColors = t, e.storage = a(), e.destroy = /* @__PURE__ */ (() => {
|
|
185
|
+
let c = !1;
|
|
186
|
+
return () => {
|
|
187
|
+
c || (c = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
|
|
188
|
+
};
|
|
189
|
+
})(), e.colors = [
|
|
190
|
+
"#0000CC",
|
|
191
|
+
"#0000FF",
|
|
192
|
+
"#0033CC",
|
|
193
|
+
"#0033FF",
|
|
194
|
+
"#0066CC",
|
|
195
|
+
"#0066FF",
|
|
196
|
+
"#0099CC",
|
|
197
|
+
"#0099FF",
|
|
198
|
+
"#00CC00",
|
|
199
|
+
"#00CC33",
|
|
200
|
+
"#00CC66",
|
|
201
|
+
"#00CC99",
|
|
202
|
+
"#00CCCC",
|
|
203
|
+
"#00CCFF",
|
|
204
|
+
"#3300CC",
|
|
205
|
+
"#3300FF",
|
|
206
|
+
"#3333CC",
|
|
207
|
+
"#3333FF",
|
|
208
|
+
"#3366CC",
|
|
209
|
+
"#3366FF",
|
|
210
|
+
"#3399CC",
|
|
211
|
+
"#3399FF",
|
|
212
|
+
"#33CC00",
|
|
213
|
+
"#33CC33",
|
|
214
|
+
"#33CC66",
|
|
215
|
+
"#33CC99",
|
|
216
|
+
"#33CCCC",
|
|
217
|
+
"#33CCFF",
|
|
218
|
+
"#6600CC",
|
|
219
|
+
"#6600FF",
|
|
220
|
+
"#6633CC",
|
|
221
|
+
"#6633FF",
|
|
222
|
+
"#66CC00",
|
|
223
|
+
"#66CC33",
|
|
224
|
+
"#9900CC",
|
|
225
|
+
"#9900FF",
|
|
226
|
+
"#9933CC",
|
|
227
|
+
"#9933FF",
|
|
228
|
+
"#99CC00",
|
|
229
|
+
"#99CC33",
|
|
230
|
+
"#CC0000",
|
|
231
|
+
"#CC0033",
|
|
232
|
+
"#CC0066",
|
|
233
|
+
"#CC0099",
|
|
234
|
+
"#CC00CC",
|
|
235
|
+
"#CC00FF",
|
|
236
|
+
"#CC3300",
|
|
237
|
+
"#CC3333",
|
|
238
|
+
"#CC3366",
|
|
239
|
+
"#CC3399",
|
|
240
|
+
"#CC33CC",
|
|
241
|
+
"#CC33FF",
|
|
242
|
+
"#CC6600",
|
|
243
|
+
"#CC6633",
|
|
244
|
+
"#CC9900",
|
|
245
|
+
"#CC9933",
|
|
246
|
+
"#CCCC00",
|
|
247
|
+
"#CCCC33",
|
|
248
|
+
"#FF0000",
|
|
249
|
+
"#FF0033",
|
|
250
|
+
"#FF0066",
|
|
251
|
+
"#FF0099",
|
|
252
|
+
"#FF00CC",
|
|
253
|
+
"#FF00FF",
|
|
254
|
+
"#FF3300",
|
|
255
|
+
"#FF3333",
|
|
256
|
+
"#FF3366",
|
|
257
|
+
"#FF3399",
|
|
258
|
+
"#FF33CC",
|
|
259
|
+
"#FF33FF",
|
|
260
|
+
"#FF6600",
|
|
261
|
+
"#FF6633",
|
|
262
|
+
"#FF9900",
|
|
263
|
+
"#FF9933",
|
|
264
|
+
"#FFCC00",
|
|
265
|
+
"#FFCC33"
|
|
266
|
+
];
|
|
267
|
+
function t() {
|
|
268
|
+
if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs))
|
|
269
|
+
return !0;
|
|
270
|
+
if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
|
|
271
|
+
return !1;
|
|
272
|
+
let c;
|
|
273
|
+
return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
274
|
+
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
275
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
276
|
+
typeof navigator < "u" && navigator.userAgent && (c = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(c[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
277
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
278
|
+
}
|
|
279
|
+
function n(c) {
|
|
280
|
+
if (c[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + c[0] + (this.useColors ? "%c " : " ") + "+" + r.exports.humanize(this.diff), !this.useColors)
|
|
281
|
+
return;
|
|
282
|
+
const w = "color: " + this.color;
|
|
283
|
+
c.splice(1, 0, w, "color: inherit");
|
|
284
|
+
let f = 0, s = 0;
|
|
285
|
+
c[0].replace(/%[a-zA-Z%]/g, (i) => {
|
|
286
|
+
i !== "%%" && (f++, i === "%c" && (s = f));
|
|
287
|
+
}), c.splice(s, 0, w);
|
|
288
|
+
}
|
|
289
|
+
e.log = console.debug || console.log || (() => {
|
|
290
|
+
});
|
|
291
|
+
function o(c) {
|
|
292
|
+
try {
|
|
293
|
+
c ? e.storage.setItem("debug", c) : e.storage.removeItem("debug");
|
|
294
|
+
} catch {
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
function l() {
|
|
298
|
+
let c;
|
|
299
|
+
try {
|
|
300
|
+
c = e.storage.getItem("debug") || e.storage.getItem("DEBUG");
|
|
301
|
+
} catch {
|
|
302
|
+
}
|
|
303
|
+
return !c && typeof process < "u" && "env" in process && (c = process.env.DEBUG), c;
|
|
304
|
+
}
|
|
305
|
+
function a() {
|
|
306
|
+
try {
|
|
307
|
+
return localStorage;
|
|
308
|
+
} catch {
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
r.exports = x()(e);
|
|
312
|
+
const { formatters: d } = r.exports;
|
|
313
|
+
d.j = function(c) {
|
|
314
|
+
try {
|
|
315
|
+
return JSON.stringify(c);
|
|
316
|
+
} catch (w) {
|
|
317
|
+
return "[UnexpectedJSONParseError]: " + w.message;
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
})(j, j.exports)), j.exports;
|
|
321
|
+
}
|
|
322
|
+
var re = ee();
|
|
323
|
+
const te = /* @__PURE__ */ X(re), N = te("efp:loader");
|
|
324
|
+
function ne(r) {
|
|
325
|
+
return y("assetResolver resolveRef:", r), F(r);
|
|
326
|
+
}
|
|
327
|
+
const oe = {
|
|
5
328
|
schema: "asset",
|
|
6
|
-
resolveRef: async (r) =>
|
|
329
|
+
resolveRef: async (r) => ne(r),
|
|
7
330
|
offlineMethod: "localizeRef"
|
|
8
331
|
};
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
async function
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
332
|
+
let M;
|
|
333
|
+
const se = /* @__PURE__ */ new WeakSet(), Z = new Function("url", 'return import(url, { with: { type: "json" } });');
|
|
334
|
+
async function _(r, e) {
|
|
335
|
+
var n, o;
|
|
336
|
+
if (M === void 0 && !e.forceFetch)
|
|
14
337
|
try {
|
|
15
|
-
await
|
|
338
|
+
await Z(r), M = !1;
|
|
16
339
|
} catch {
|
|
17
|
-
|
|
340
|
+
y("importJson: dynamic import not available, falling back to fetch"), M = !0;
|
|
18
341
|
}
|
|
19
342
|
let t;
|
|
20
|
-
return !
|
|
343
|
+
return !M && !e.forceFetch ? (t = (await Z(r)).default, (n = e.importCallback) == null || n.call(e, r, "json")) : (y("importJson: fetch", r), t = await ae(r, e.refCache, e.signal || null), (o = e.importCallback) == null || o.call(e, r, "json")), se.has(t) || O(t), t;
|
|
21
344
|
}
|
|
22
|
-
async function
|
|
23
|
-
const
|
|
24
|
-
if (e.has(
|
|
25
|
-
return e.get(
|
|
26
|
-
const
|
|
345
|
+
async function ae(r, e, t) {
|
|
346
|
+
const n = "__loadJson__" + r;
|
|
347
|
+
if (e.has(n))
|
|
348
|
+
return e.get(n);
|
|
349
|
+
const o = (async function() {
|
|
27
350
|
const a = await fetch(r, { signal: t });
|
|
28
351
|
if (!a.ok)
|
|
29
352
|
throw new Error(`Failed to fetch JSON from ${r}`);
|
|
30
353
|
return await a.json();
|
|
31
354
|
})();
|
|
32
|
-
return e.set(
|
|
355
|
+
return e.set(n, o), o;
|
|
33
356
|
}
|
|
34
|
-
async function
|
|
357
|
+
async function I(r, e, t) {
|
|
35
358
|
if (e.has(r))
|
|
36
359
|
return e.get(r);
|
|
37
|
-
const
|
|
38
|
-
return e.set(r,
|
|
360
|
+
const n = t().then((o) => (O(o), o));
|
|
361
|
+
return e.set(r, n), n;
|
|
39
362
|
}
|
|
40
|
-
const
|
|
363
|
+
const ie = {
|
|
41
364
|
schema: "bundle-assets",
|
|
42
365
|
async resolveRef(r, e) {
|
|
43
|
-
|
|
44
|
-
const t =
|
|
45
|
-
return
|
|
46
|
-
const
|
|
47
|
-
return
|
|
48
|
-
$ref: `asset+${
|
|
366
|
+
y("bundleAssetsResolver resolveRef:", r);
|
|
367
|
+
const t = F(r);
|
|
368
|
+
return I(r, e.refCache, async () => {
|
|
369
|
+
const n = await _(t, e), o = t.substring(0, t.lastIndexOf("/") + 1);
|
|
370
|
+
return n.map((a) => ({
|
|
371
|
+
$ref: `asset+${o}${a}`
|
|
49
372
|
}));
|
|
50
373
|
});
|
|
51
374
|
},
|
|
52
375
|
offlineMethod: "localizeRef"
|
|
53
|
-
},
|
|
376
|
+
}, le = "https://efp-runtime.expofp.com/", ce = {
|
|
54
377
|
schema: "expo-runtime-branch",
|
|
55
378
|
async resolveRef(r, e) {
|
|
56
|
-
|
|
57
|
-
const t =
|
|
58
|
-
return
|
|
59
|
-
$ref: `expo-runtime+https://efp-runtime.expofp.com/releases/${await
|
|
379
|
+
y("expoRuntimeBranchResolver resolveRef:", r);
|
|
380
|
+
const t = F(r), n = `${le}branches/${t}.json`;
|
|
381
|
+
return I(r, e.refCache, async () => ({
|
|
382
|
+
$ref: `expo-runtime+https://efp-runtime.expofp.com/releases/${await _(n, e)}/`
|
|
60
383
|
}));
|
|
61
384
|
},
|
|
62
385
|
offlineMethod: "resolveRef"
|
|
63
|
-
},
|
|
386
|
+
}, fe = {
|
|
64
387
|
schema: "expo-runtime-get-branch",
|
|
65
388
|
async resolveRef(r, e) {
|
|
66
|
-
|
|
67
|
-
const
|
|
68
|
-
return
|
|
389
|
+
y("expoRuntimeGetBranchResolver resolveRef:", r);
|
|
390
|
+
const n = `https://${F(r)}.expofp.com/get-branch`;
|
|
391
|
+
return _(n, e);
|
|
69
392
|
},
|
|
70
393
|
offlineMethod: "resolveRef"
|
|
71
|
-
},
|
|
394
|
+
}, ue = {
|
|
72
395
|
schema: "expo-runtime",
|
|
73
396
|
// canResolve(ref: string) {
|
|
74
397
|
// return canResolveRefSchema(ref, SCHEMA);
|
|
75
398
|
// },
|
|
76
399
|
async resolveRef(r) {
|
|
77
|
-
|
|
78
|
-
const e =
|
|
400
|
+
y("expoRuntimeResolver resolveRef:", r);
|
|
401
|
+
const e = F(r), t = {
|
|
79
402
|
entry: { $ref: `asset+${e}expofp.js` },
|
|
80
403
|
assets: { $ref: `bundle-assets+${e}bundle.json` }
|
|
81
404
|
};
|
|
82
|
-
return
|
|
405
|
+
return O(t), t;
|
|
83
406
|
},
|
|
84
407
|
// async *makeOfflineRef(ref: string) {
|
|
85
408
|
// log('expoRuntimeResolver makeOfflineRef:', ref);
|
|
@@ -99,56 +422,56 @@ const G = {
|
|
|
99
422
|
// return targetFilePath;
|
|
100
423
|
// },
|
|
101
424
|
offlineMethod: "resolveRef"
|
|
102
|
-
},
|
|
425
|
+
}, de = {
|
|
103
426
|
canResolve(r) {
|
|
104
427
|
return r.startsWith("http://") || r.startsWith("https://") || r.startsWith("./");
|
|
105
428
|
},
|
|
106
429
|
resolveRef(r, e) {
|
|
107
|
-
if (
|
|
108
|
-
return
|
|
430
|
+
if (y("httpResolver resolveRef:", r), !this.canResolve(r)) throw new Error(`Unexpected ref in httpResolver: ${r}`);
|
|
431
|
+
return _(r, e);
|
|
109
432
|
},
|
|
110
433
|
offlineMethod: "resolveRef"
|
|
111
434
|
};
|
|
112
|
-
async function
|
|
113
|
-
const { globalVar: t, timeoutMs:
|
|
114
|
-
|
|
435
|
+
async function L(r, e) {
|
|
436
|
+
const { globalVar: t, timeoutMs: n = 1e4, pollIntervalMs: o = 10 } = e;
|
|
437
|
+
we() ? (t && window[t] !== void 0 && delete window[t], await he(r, e.signal), t && await q(
|
|
115
438
|
() => window[t],
|
|
116
439
|
t,
|
|
117
|
-
o,
|
|
118
440
|
n,
|
|
441
|
+
o,
|
|
119
442
|
e.signal
|
|
120
|
-
)) : (t && globalThis[t] !== void 0 && delete globalThis[t], await
|
|
443
|
+
)) : (t && globalThis[t] !== void 0 && delete globalThis[t], await pe(r, e.signal), t && await q(
|
|
121
444
|
() => globalThis[t],
|
|
122
445
|
t,
|
|
123
|
-
o,
|
|
124
446
|
n,
|
|
447
|
+
o,
|
|
125
448
|
e.signal
|
|
126
449
|
));
|
|
127
450
|
}
|
|
128
|
-
function
|
|
451
|
+
function we() {
|
|
129
452
|
return typeof window < "u" && typeof document < "u";
|
|
130
453
|
}
|
|
131
|
-
function
|
|
132
|
-
return new Promise((t,
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
|
|
454
|
+
function he(r, e) {
|
|
455
|
+
return new Promise((t, n) => {
|
|
456
|
+
const o = document.createElement("script");
|
|
457
|
+
o.src = r, o.async = !0;
|
|
458
|
+
const l = () => {
|
|
459
|
+
o.onload = null, o.onerror = null, o.remove();
|
|
137
460
|
}, a = () => {
|
|
138
|
-
|
|
461
|
+
l(), n(new Error("Script load aborted"));
|
|
139
462
|
};
|
|
140
463
|
if (e != null && e.aborted) {
|
|
141
|
-
|
|
464
|
+
l(), n(new Error("Script load aborted"));
|
|
142
465
|
return;
|
|
143
466
|
}
|
|
144
|
-
e == null || e.addEventListener("abort", a, { once: !0 }),
|
|
145
|
-
e == null || e.removeEventListener("abort", a),
|
|
146
|
-
},
|
|
147
|
-
e == null || e.removeEventListener("abort", a),
|
|
148
|
-
}, document.head.appendChild(
|
|
467
|
+
e == null || e.addEventListener("abort", a, { once: !0 }), o.onload = () => {
|
|
468
|
+
e == null || e.removeEventListener("abort", a), l(), t();
|
|
469
|
+
}, o.onerror = () => {
|
|
470
|
+
e == null || e.removeEventListener("abort", a), l(), n(new Error(`Failed to load script: ${r}`));
|
|
471
|
+
}, document.head.appendChild(o);
|
|
149
472
|
});
|
|
150
473
|
}
|
|
151
|
-
async function
|
|
474
|
+
async function pe(r, e) {
|
|
152
475
|
if (typeof fetch != "function")
|
|
153
476
|
throw new Error("loadInNode: fetch is not available. Use Node 18+ or provide a global fetch.");
|
|
154
477
|
if (e != null && e.aborted)
|
|
@@ -163,116 +486,116 @@ async function S(r, e) {
|
|
|
163
486
|
throw new Error(`Failed to load script in Node (HTTP ${t.status}): ${r}`);
|
|
164
487
|
if (e != null && e.aborted)
|
|
165
488
|
throw new Error("Script load aborted");
|
|
166
|
-
let
|
|
489
|
+
let n;
|
|
167
490
|
try {
|
|
168
|
-
|
|
491
|
+
n = await t.text();
|
|
169
492
|
} catch (a) {
|
|
170
493
|
throw a && a.name === "AbortError" ? new Error("Script load aborted") : a;
|
|
171
494
|
}
|
|
172
495
|
if (e != null && e.aborted)
|
|
173
496
|
throw new Error("Script load aborted");
|
|
174
|
-
const
|
|
175
|
-
|
|
497
|
+
const o = globalThis, l = o.window;
|
|
498
|
+
o.window = o;
|
|
176
499
|
try {
|
|
177
|
-
(0, eval)(
|
|
500
|
+
(0, eval)(n);
|
|
178
501
|
} finally {
|
|
179
|
-
|
|
502
|
+
l === void 0 ? delete o.window : o.window = l;
|
|
180
503
|
}
|
|
181
504
|
}
|
|
182
|
-
function
|
|
183
|
-
return new Promise((
|
|
184
|
-
const
|
|
505
|
+
function q(r, e, t, n, o) {
|
|
506
|
+
return new Promise((l, a) => {
|
|
507
|
+
const d = Date.now(), c = () => {
|
|
185
508
|
a(new Error("Wait for global aborted"));
|
|
186
509
|
};
|
|
187
|
-
if (
|
|
510
|
+
if (o != null && o.aborted) {
|
|
188
511
|
a(new Error("Wait for global aborted"));
|
|
189
512
|
return;
|
|
190
513
|
}
|
|
191
|
-
|
|
192
|
-
const
|
|
193
|
-
if (
|
|
514
|
+
o == null || o.addEventListener("abort", c, { once: !0 });
|
|
515
|
+
const w = () => {
|
|
516
|
+
if (o != null && o.aborted)
|
|
194
517
|
return a(new Error("Wait for global aborted"));
|
|
195
518
|
try {
|
|
196
519
|
if (r() !== void 0)
|
|
197
|
-
return
|
|
520
|
+
return o == null || o.removeEventListener("abort", c), l();
|
|
198
521
|
} catch {
|
|
199
522
|
}
|
|
200
|
-
if (Date.now() -
|
|
201
|
-
return
|
|
202
|
-
setTimeout(
|
|
523
|
+
if (Date.now() - d >= t)
|
|
524
|
+
return o == null || o.removeEventListener("abort", c), a(new Error(`Timed out after ${t} ms waiting for global "${e}"`));
|
|
525
|
+
setTimeout(w, n);
|
|
203
526
|
};
|
|
204
|
-
|
|
527
|
+
w();
|
|
205
528
|
});
|
|
206
529
|
}
|
|
207
|
-
const
|
|
530
|
+
const me = {
|
|
208
531
|
schema: "legacy-asset-urls",
|
|
209
532
|
resolveRef(r, e) {
|
|
210
|
-
|
|
533
|
+
y("legacyAssetUrlsResolver resolveRef:", r);
|
|
211
534
|
const t = e.signal;
|
|
212
|
-
return
|
|
213
|
-
var
|
|
214
|
-
const
|
|
535
|
+
return I(r, e.refCache, async () => {
|
|
536
|
+
var A, g, B, R, k;
|
|
537
|
+
const n = F(r), o = `${n}version.js`;
|
|
215
538
|
try {
|
|
216
|
-
await
|
|
539
|
+
await L(o, {
|
|
217
540
|
globalVar: "__fpDataVersion",
|
|
218
541
|
timeoutMs: 3e4,
|
|
219
542
|
signal: t
|
|
220
|
-
}), (
|
|
543
|
+
}), (A = e.importCallback) == null || A.call(e, o, "script");
|
|
221
544
|
} catch {
|
|
222
|
-
console.warn(`Could not load version.js at ${
|
|
545
|
+
console.warn(`Could not load version.js at ${o}, proceeding without it`);
|
|
223
546
|
}
|
|
224
|
-
const
|
|
547
|
+
const l = globalThis.__fpDataVersion || (+/* @__PURE__ */ new Date()).toString(), a = `${n}files.json?v=${l}`, d = `${n}data.js?v=${l}`, c = _(a, e).catch(() => (console.warn(`Could not load files.json at ${a}, proceeding without it`), [])), w = L(d, {
|
|
225
548
|
globalVar: "__data",
|
|
226
549
|
signal: t
|
|
227
550
|
});
|
|
228
|
-
(
|
|
229
|
-
const
|
|
551
|
+
(g = e.importCallback) == null || g.call(e, d, "script");
|
|
552
|
+
const f = `${n}wf.data.js?v=${l}`, s = L(f, {
|
|
230
553
|
globalVar: "__wfData",
|
|
231
554
|
signal: t
|
|
232
555
|
}).then(() => {
|
|
233
|
-
var
|
|
234
|
-
(
|
|
556
|
+
var C;
|
|
557
|
+
(C = e.importCallback) == null || C.call(e, f, "script");
|
|
235
558
|
}).catch(() => {
|
|
236
|
-
console.warn(`Could not load wf.data.js at ${
|
|
559
|
+
console.warn(`Could not load wf.data.js at ${f}, proceeding without it`);
|
|
237
560
|
});
|
|
238
561
|
delete globalThis.__fpLayers;
|
|
239
|
-
const
|
|
562
|
+
const i = `${n}fp.svg.js?v=${l}`, u = L(i, {
|
|
240
563
|
globalVar: "__fp",
|
|
241
564
|
signal: t
|
|
242
565
|
});
|
|
243
|
-
(
|
|
244
|
-
const
|
|
245
|
-
for (const
|
|
246
|
-
const
|
|
247
|
-
(
|
|
566
|
+
(B = e.importCallback) == null || B.call(e, i, "script"), await Promise.all([c, w, s, u]);
|
|
567
|
+
const v = ((R = globalThis.__fpLayers) != null ? R : []).map((C) => `fp.svg.${C.name}.js`);
|
|
568
|
+
for (const C of v) {
|
|
569
|
+
const $ = `${n}${C}?v=${l}`;
|
|
570
|
+
(k = e.importCallback) == null || k.call(e, $, "script");
|
|
248
571
|
}
|
|
249
|
-
const
|
|
250
|
-
return { ...[...
|
|
572
|
+
const p = await c, m = globalThis.__data || {};
|
|
573
|
+
return { ...[...p, "data.js", "wf.data.js", "fp.svg.js", ...v].reduce((C, $) => (C[$] = { $ref: `asset+${n}${$}?v=${l}` }, C), {}), ...ye(n, m) };
|
|
251
574
|
});
|
|
252
575
|
},
|
|
253
576
|
offlineMethod: "resolveRef"
|
|
254
577
|
};
|
|
255
|
-
function
|
|
256
|
-
var
|
|
578
|
+
function ye(r, e) {
|
|
579
|
+
var o, l;
|
|
257
580
|
const t = /* @__PURE__ */ new Set();
|
|
258
|
-
function
|
|
581
|
+
function n(a) {
|
|
259
582
|
typeof a == "string" && a.length > 0 && t.add(a);
|
|
260
583
|
}
|
|
261
|
-
return
|
|
262
|
-
var
|
|
263
|
-
|
|
264
|
-
}), (
|
|
265
|
-
var
|
|
266
|
-
|
|
267
|
-
|
|
584
|
+
return n(e.logo), (o = e.exhibitors) == null || o.forEach((a) => {
|
|
585
|
+
var d;
|
|
586
|
+
n(a.logo), (d = a.gallery) == null || d.forEach((c) => n(c));
|
|
587
|
+
}), (l = e.events) == null || l.forEach((a) => {
|
|
588
|
+
var d;
|
|
589
|
+
n(a.logoFile), (d = a.speakers) == null || d.forEach((c) => {
|
|
590
|
+
n(c.photoFile);
|
|
268
591
|
});
|
|
269
|
-
}), Array.from(t).reduce((a,
|
|
592
|
+
}), Array.from(t).reduce((a, d) => (a[d] = { $ref: `asset+${r}${d}` }, a), {});
|
|
270
593
|
}
|
|
271
|
-
const
|
|
594
|
+
const Ce = {
|
|
272
595
|
schema: "legacy-data",
|
|
273
596
|
resolveRef(r, e) {
|
|
274
|
-
return
|
|
275
|
-
const t =
|
|
597
|
+
return y("legacyDataResolver resolveRef:", r), I(r, e.refCache, async () => {
|
|
598
|
+
const t = F(r);
|
|
276
599
|
return {
|
|
277
600
|
_to_remove_for_offline_to_work_dataUrlBase: t,
|
|
278
601
|
legacyAssetUrls: { $ref: `legacy-asset-urls+${t}` }
|
|
@@ -280,21 +603,21 @@ const re = {
|
|
|
280
603
|
});
|
|
281
604
|
},
|
|
282
605
|
offlineMethod: "resolveRef"
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
],
|
|
293
|
-
async function
|
|
294
|
-
|
|
295
|
-
const
|
|
606
|
+
}, ve = [
|
|
607
|
+
de,
|
|
608
|
+
ie,
|
|
609
|
+
oe,
|
|
610
|
+
ue,
|
|
611
|
+
ce,
|
|
612
|
+
fe,
|
|
613
|
+
Ce,
|
|
614
|
+
me
|
|
615
|
+
], be = /* @__PURE__ */ new Map();
|
|
616
|
+
async function P(r, e, t) {
|
|
617
|
+
y("Resolving:", e, "of", r, t), typeof window < "u" && (window.__lastResolveObject = r);
|
|
618
|
+
const n = {
|
|
296
619
|
importCallback: t == null ? void 0 : t.importCallback,
|
|
297
|
-
refCache: (t == null ? void 0 : t.refCache) ||
|
|
620
|
+
refCache: (t == null ? void 0 : t.refCache) || be,
|
|
298
621
|
forceFetch: !!(t != null && t.forceFetch),
|
|
299
622
|
signal: (t == null ? void 0 : t.signal) || null
|
|
300
623
|
};
|
|
@@ -304,81 +627,81 @@ async function E(r, e, t) {
|
|
|
304
627
|
throw new Error(`Invalid JSON Pointer: ${e}`);
|
|
305
628
|
if (e.length > 1 && e.endsWith("/"))
|
|
306
629
|
throw new Error(`Invalid JSON Pointer: ${e}`);
|
|
307
|
-
let
|
|
308
|
-
if (e === "/" ?
|
|
630
|
+
let o;
|
|
631
|
+
if (e === "/" ? o = [] : o = e.substring(1).split("/"), o.some((l) => l.length === 0))
|
|
309
632
|
throw new Error(`Invalid JSON Pointer (empty part): ${e}`);
|
|
310
633
|
if (t != null && t.mutate) {
|
|
311
|
-
|
|
312
|
-
const
|
|
313
|
-
await
|
|
634
|
+
o.unshift("root");
|
|
635
|
+
const l = { root: r };
|
|
636
|
+
await H(l, o, 0, n), Ee(r, l.root);
|
|
314
637
|
} else
|
|
315
|
-
return await
|
|
638
|
+
return await K(r, o, 0, n);
|
|
316
639
|
}
|
|
317
|
-
async function
|
|
318
|
-
const
|
|
319
|
-
if (await
|
|
320
|
-
if (r[
|
|
640
|
+
async function H(r, e, t, n) {
|
|
641
|
+
const o = e[t];
|
|
642
|
+
if (await ge(r, o, n), t != e.length - 1) {
|
|
643
|
+
if (r[o] === null || typeof r[o] != "object")
|
|
321
644
|
throw new Error(
|
|
322
645
|
`Cannot resolve path, encountered non-object at part '${e.slice(1).join("/")}', index ${t - 1}'`
|
|
323
646
|
);
|
|
324
|
-
return await
|
|
647
|
+
return await H(r[o], e, t + 1, n);
|
|
325
648
|
}
|
|
326
649
|
}
|
|
327
|
-
async function
|
|
328
|
-
|
|
329
|
-
let
|
|
330
|
-
const
|
|
331
|
-
|
|
650
|
+
async function ge(r, e, t) {
|
|
651
|
+
y("resolveObjectMutate:", r, e);
|
|
652
|
+
let n = r[e];
|
|
653
|
+
const o = await W(n, t);
|
|
654
|
+
o !== void 0 && (r[e] = o);
|
|
332
655
|
}
|
|
333
|
-
async function
|
|
656
|
+
async function K(r, e, t, n) {
|
|
334
657
|
if (t === e.length)
|
|
335
|
-
return await
|
|
658
|
+
return await W(r, n);
|
|
336
659
|
if (r === null || typeof r != "object")
|
|
337
660
|
throw new Error(
|
|
338
661
|
`Cannot resolve path, encountered non-object at part '${e.join("/")}', index ${t}'`
|
|
339
662
|
);
|
|
340
|
-
const
|
|
341
|
-
let
|
|
342
|
-
return
|
|
663
|
+
const o = e[t];
|
|
664
|
+
let l = r[o];
|
|
665
|
+
return l === void 0 && (l = (await W(r, n))[o]), await K(l, e, t + 1, n);
|
|
343
666
|
}
|
|
344
|
-
async function
|
|
345
|
-
|
|
667
|
+
async function W(r, e) {
|
|
668
|
+
y("resolveObject:", r);
|
|
346
669
|
let t = r;
|
|
347
670
|
do {
|
|
348
671
|
if (typeof t != "object" || t === null || !("$ref" in t))
|
|
349
672
|
return t;
|
|
350
|
-
const
|
|
351
|
-
if (
|
|
673
|
+
const n = ve.filter((l) => Q(l, t.$ref));
|
|
674
|
+
if (n.length === 0) {
|
|
352
675
|
if (t.$ref)
|
|
353
676
|
throw new Error(`No resolver found for ref: ${t.$ref}`);
|
|
354
|
-
return
|
|
677
|
+
return O(t), t;
|
|
355
678
|
}
|
|
356
|
-
if (
|
|
679
|
+
if (n.length > 1)
|
|
357
680
|
throw new Error(`Multiple resolvers can resolve ref: ${t.$ref}`);
|
|
358
|
-
const
|
|
359
|
-
t =
|
|
681
|
+
const o = await Fe(n[0], t.$ref, e);
|
|
682
|
+
t = $e(o, t);
|
|
360
683
|
} while (!0);
|
|
361
684
|
}
|
|
362
|
-
async function
|
|
363
|
-
if (!
|
|
685
|
+
async function Fe(r, e, t) {
|
|
686
|
+
if (!Q(r, e))
|
|
364
687
|
throw new Error(`Unexpected ref: ${e}`);
|
|
365
688
|
return r.resolveRef(e, t);
|
|
366
689
|
}
|
|
367
|
-
function
|
|
690
|
+
function Q(r, e) {
|
|
368
691
|
if (r.canResolve)
|
|
369
692
|
return r.canResolve(e);
|
|
370
693
|
if (r.schema)
|
|
371
|
-
return
|
|
694
|
+
return Re(e, r.schema);
|
|
372
695
|
throw new Error("Resolver is missing canResolve method and schema property");
|
|
373
696
|
}
|
|
374
|
-
function
|
|
697
|
+
function Re(r, e) {
|
|
375
698
|
const t = [`${e}+`, `${e}:`];
|
|
376
|
-
for (const
|
|
377
|
-
if (r.startsWith(
|
|
699
|
+
for (const n of t)
|
|
700
|
+
if (r.startsWith(n))
|
|
378
701
|
return !0;
|
|
379
702
|
return !1;
|
|
380
703
|
}
|
|
381
|
-
function
|
|
704
|
+
function F(r) {
|
|
382
705
|
if (r.startsWith("http://") || r.startsWith("https://"))
|
|
383
706
|
return r;
|
|
384
707
|
const e = r.indexOf("+http://"), t = r.indexOf("+https://");
|
|
@@ -386,58 +709,58 @@ function u(r) {
|
|
|
386
709
|
return r.substring(e + 1);
|
|
387
710
|
if (t !== -1)
|
|
388
711
|
return r.substring(t + 1);
|
|
389
|
-
const
|
|
390
|
-
if (
|
|
391
|
-
return r.substring(
|
|
712
|
+
const n = r.indexOf(":");
|
|
713
|
+
if (n !== -1)
|
|
714
|
+
return r.substring(n + 1);
|
|
392
715
|
throw new Error(`Error getting URL from: ${r}, no valid prefix found`);
|
|
393
716
|
}
|
|
394
|
-
typeof window < "u" && (window.__debugResolve = async function(e, t,
|
|
395
|
-
let
|
|
396
|
-
return typeof e == "string" ? (
|
|
717
|
+
typeof window < "u" && (window.__debugResolve = async function(e, t, n) {
|
|
718
|
+
let o, l, a;
|
|
719
|
+
return typeof e == "string" ? (o = window.__lastResolveObject, l = e, a = t) : (o = e, l = t, a = n), await P(o, l, a);
|
|
397
720
|
});
|
|
398
|
-
function
|
|
721
|
+
function T(r) {
|
|
399
722
|
return async (e, ...t) => {
|
|
400
723
|
try {
|
|
401
|
-
const
|
|
402
|
-
return
|
|
403
|
-
} catch (
|
|
404
|
-
throw console.error("efp-loader", `Error when trying to import and call "${r}":`,
|
|
724
|
+
const l = (await import(await P(e, "/runtime/entry")))[r];
|
|
725
|
+
return l(e, ...t);
|
|
726
|
+
} catch (n) {
|
|
727
|
+
throw console.error("efp-loader", `Error when trying to import and call "${r}":`, n), n;
|
|
405
728
|
}
|
|
406
729
|
};
|
|
407
730
|
}
|
|
408
|
-
function
|
|
409
|
-
|
|
731
|
+
function y(...r) {
|
|
732
|
+
N(...r);
|
|
410
733
|
}
|
|
411
|
-
function
|
|
734
|
+
function O(r) {
|
|
412
735
|
if (r === null || typeof r != "object") return r;
|
|
413
736
|
Object.freeze(r);
|
|
414
737
|
for (const e of Object.keys(r)) {
|
|
415
738
|
const t = r[e];
|
|
416
|
-
typeof t == "object" && t !== null && !Object.isFrozen(t) &&
|
|
739
|
+
typeof t == "object" && t !== null && !Object.isFrozen(t) && O(t);
|
|
417
740
|
}
|
|
418
741
|
return r;
|
|
419
742
|
}
|
|
420
|
-
function
|
|
743
|
+
function S(r) {
|
|
421
744
|
return "structuredClone" in globalThis ? globalThis.structuredClone(r) : JSON.parse(JSON.stringify(r));
|
|
422
745
|
}
|
|
423
|
-
function
|
|
746
|
+
function $e(r, e) {
|
|
424
747
|
if (r === e) return;
|
|
425
748
|
if (e === null || typeof e != "object")
|
|
426
749
|
throw new Error("Cannot merge non-object source");
|
|
427
750
|
if (Array.isArray(e))
|
|
428
751
|
throw new Error("Cannot merge arrays");
|
|
429
|
-
const t = Object.keys(e).filter((
|
|
430
|
-
if (t.length === 0) return
|
|
752
|
+
const t = Object.keys(e).filter((o) => o !== "$ref");
|
|
753
|
+
if (t.length === 0) return S(r);
|
|
431
754
|
if (Array.isArray(r))
|
|
432
755
|
throw new Error("Cannot merge into arrays");
|
|
433
756
|
if (r === null || typeof r != "object")
|
|
434
757
|
throw new Error("Cannot merge into non-object target");
|
|
435
|
-
const
|
|
436
|
-
for (const
|
|
437
|
-
o
|
|
438
|
-
return
|
|
758
|
+
const n = S({ ...r });
|
|
759
|
+
for (const o of t)
|
|
760
|
+
n[o] = e[o];
|
|
761
|
+
return n;
|
|
439
762
|
}
|
|
440
|
-
function
|
|
763
|
+
function Ee(r, e) {
|
|
441
764
|
if (r !== e) {
|
|
442
765
|
if (e === null || typeof e != "object")
|
|
443
766
|
throw new Error("Cannot replace with non-object source");
|
|
@@ -457,46 +780,50 @@ function le(r, e) {
|
|
|
457
780
|
r[t] = e[t];
|
|
458
781
|
}
|
|
459
782
|
}
|
|
460
|
-
async function
|
|
783
|
+
async function _e(r, e, t) {
|
|
461
784
|
t = t || {};
|
|
462
|
-
for (const
|
|
463
|
-
await
|
|
785
|
+
for (const n of e)
|
|
786
|
+
await P(r, n, { ...t, mutate: !0 });
|
|
464
787
|
}
|
|
465
|
-
typeof window < "u" && (window.__debugMutateManifest =
|
|
466
|
-
async function
|
|
467
|
-
const { makeOfflineBundle: e } = await import("./makeOfflineBundle-
|
|
788
|
+
typeof window < "u" && (window.__debugMutateManifest = _e);
|
|
789
|
+
async function Oe(r) {
|
|
790
|
+
const { makeOfflineBundle: e } = await import("./makeOfflineBundle-XjvmvDQE.js");
|
|
468
791
|
return await e(r);
|
|
469
792
|
}
|
|
470
|
-
async function
|
|
471
|
-
const { downloadZip: e } = await import("./downloadZip-
|
|
793
|
+
async function Ae(r) {
|
|
794
|
+
const { downloadZip: e } = await import("./downloadZip-BbVnryS9.js");
|
|
472
795
|
return await e(r);
|
|
473
796
|
}
|
|
474
|
-
async function
|
|
475
|
-
const { makeOffline: e } = await import("./makeOffline-
|
|
476
|
-
for await (const
|
|
477
|
-
"data" in
|
|
797
|
+
async function ke(r) {
|
|
798
|
+
const { makeOffline: e } = await import("./makeOffline-DuRXI_Dd.js"), t = await e(r);
|
|
799
|
+
for await (const n of (await t).files)
|
|
800
|
+
"data" in n ? console.info(`🗳️ Put ${n.targetFilePath} <=`, n.data) : "url" in n && console.info(`🗳️ Download ${n.targetFilePath} <= ${n.url}`);
|
|
478
801
|
console.info("Offline data: ", t.manifest);
|
|
479
802
|
}
|
|
480
|
-
typeof window < "u" && (window.__debugDownloadZip =
|
|
481
|
-
const
|
|
482
|
-
|
|
483
|
-
|
|
803
|
+
typeof window < "u" && (window.__debugDownloadZip = Ae, window.__debugMakeOfflineBundle = Oe, window.__debugLogOfflineManifestFiles = ke);
|
|
804
|
+
const J = globalThis.__efpLoaderBuildInfo;
|
|
805
|
+
J ? N("Loader initialized", { version: J[0], builtAt: J[1] }) : N("Loader initialized");
|
|
806
|
+
const Me = T("mount"), Le = T("load"), Ie = T("initialize");
|
|
807
|
+
async function Te(r, e, ...t) {
|
|
808
|
+
return await T(r)(e, ...t);
|
|
484
809
|
}
|
|
485
810
|
export {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
811
|
+
Q as a,
|
|
812
|
+
$e as b,
|
|
813
|
+
je as c,
|
|
814
|
+
Te as callFunction_Experimental,
|
|
815
|
+
S as d,
|
|
816
|
+
Ae as downloadZip,
|
|
817
|
+
Fe as e,
|
|
818
|
+
X as g,
|
|
819
|
+
Ie as initialize,
|
|
820
|
+
y as l,
|
|
821
|
+
Le as load,
|
|
822
|
+
Oe as makeOfflineBundle,
|
|
823
|
+
Me as mount,
|
|
824
|
+
_e as mutateManifest,
|
|
825
|
+
F as p,
|
|
826
|
+
ve as r,
|
|
827
|
+
P as resolve
|
|
501
828
|
};
|
|
502
829
|
//# sourceMappingURL=bundle.js.map
|