@golocalinteractive/golocal-cloud-wrapper 1.3.6 → 1.3.8
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/components/app-header.d.ts.map +1 -1
- package/dist/context/PermissionsContext.d.ts.map +1 -1
- package/dist/golocal-cloud-wrapper.cjs.js +14 -14
- package/dist/golocal-cloud-wrapper.css +1 -1
- package/dist/golocal-cloud-wrapper.es.js +951 -922
- package/dist/lib/auth/permissions.d.ts +1 -0
- package/dist/lib/auth/permissions.d.ts.map +1 -1
- package/dist/lib/auth/server.d.ts.map +1 -1
- package/dist/lib/auth/useOrg.d.ts +2 -0
- package/dist/lib/auth/useOrg.d.ts.map +1 -0
- package/dist/server.cjs.js +3 -3
- package/dist/server.es.js +378 -376
- package/dist/types/credentials.d.ts +1 -1
- package/dist/types/credentials.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/server.es.js
CHANGED
|
@@ -13,8 +13,8 @@ function ln() {
|
|
|
13
13
|
AUTH0_SECRET: u,
|
|
14
14
|
AUTH0_BASE_URL: s,
|
|
15
15
|
APP_BASE_URL: p,
|
|
16
|
-
AUTH0_AUDIENCE:
|
|
17
|
-
} = process.env, e =
|
|
16
|
+
AUTH0_AUDIENCE: n
|
|
17
|
+
} = process.env, e = n ? { audience: n } : void 0;
|
|
18
18
|
return {
|
|
19
19
|
...r ? { domain: r } : {},
|
|
20
20
|
...o ? { clientId: o } : {},
|
|
@@ -25,22 +25,23 @@ function ln() {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
async function dn(r) {
|
|
28
|
-
var o, c, u, s, p,
|
|
28
|
+
var o, c, u, s, p, n;
|
|
29
29
|
try {
|
|
30
|
-
const
|
|
30
|
+
const a = await Pr(r).getAccessToken(), _ = a == null ? void 0 : a.token, l = vr(_)["https://cloud.golocal.com/org_metadata"], f = l == null ? void 0 : l.metadata;
|
|
31
31
|
return {
|
|
32
|
-
essentialInsights: ((
|
|
33
|
-
organic: ((
|
|
34
|
-
paid: ((
|
|
35
|
-
web: ((
|
|
36
|
-
priceMonster: ((
|
|
37
|
-
management: ((
|
|
38
|
-
se_company_id: (
|
|
32
|
+
essentialInsights: ((o = f == null ? void 0 : f["essential-insights"]) == null ? void 0 : o.enabled) === !0,
|
|
33
|
+
organic: ((c = f == null ? void 0 : f.organic) == null ? void 0 : c.enabled) === !0,
|
|
34
|
+
paid: ((u = f == null ? void 0 : f.paid) == null ? void 0 : u.enabled) === !0,
|
|
35
|
+
web: ((s = f == null ? void 0 : f.web) == null ? void 0 : s.enabled) === !0,
|
|
36
|
+
priceMonster: ((p = f == null ? void 0 : f["price-monster"]) == null ? void 0 : p.enabled) === !0,
|
|
37
|
+
management: ((n = f == null ? void 0 : f.management) == null ? void 0 : n.enabled) === !0,
|
|
38
|
+
se_company_id: (f == null ? void 0 : f.se_company_id) || null,
|
|
39
|
+
orgDisplayName: (l == null ? void 0 : l.display_name) || null
|
|
39
40
|
};
|
|
40
|
-
} catch (
|
|
41
|
+
} catch (e) {
|
|
41
42
|
return console.error(
|
|
42
43
|
"[getServerSidePermissions] Error getting user permissions:",
|
|
43
|
-
|
|
44
|
+
e
|
|
44
45
|
), {
|
|
45
46
|
essentialInsights: !1,
|
|
46
47
|
organic: !1,
|
|
@@ -48,7 +49,8 @@ async function dn(r) {
|
|
|
48
49
|
web: !1,
|
|
49
50
|
priceMonster: !1,
|
|
50
51
|
management: !1,
|
|
51
|
-
se_company_id: null
|
|
52
|
+
se_company_id: null,
|
|
53
|
+
orgDisplayName: null
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -67,9 +69,9 @@ function Sr() {
|
|
|
67
69
|
if (c) {
|
|
68
70
|
s && (s = s.toLowerCase());
|
|
69
71
|
for (const e of c) {
|
|
70
|
-
var p,
|
|
72
|
+
var p, n;
|
|
71
73
|
const a = (p = e.domain) == null ? void 0 : p.split(":", 1)[0].toLowerCase();
|
|
72
|
-
if (u === a || s === e.defaultLocale.toLowerCase() || (
|
|
74
|
+
if (u === a || s === e.defaultLocale.toLowerCase() || (n = e.locales) != null && n.some((_) => _.toLowerCase() === s))
|
|
73
75
|
return e;
|
|
74
76
|
}
|
|
75
77
|
}
|
|
@@ -132,8 +134,8 @@ function gr() {
|
|
|
132
134
|
function c(u, s) {
|
|
133
135
|
if (!u.startsWith("/") || !s)
|
|
134
136
|
return u;
|
|
135
|
-
const { pathname: p, query:
|
|
136
|
-
return "" + s + p +
|
|
137
|
+
const { pathname: p, query: n, hash: e } = (0, o.parsePath)(u);
|
|
138
|
+
return "" + s + p + n + e;
|
|
137
139
|
}
|
|
138
140
|
}(xe)), xe;
|
|
139
141
|
}
|
|
@@ -152,8 +154,8 @@ function Or() {
|
|
|
152
154
|
function c(u, s) {
|
|
153
155
|
if (!u.startsWith("/") || !s)
|
|
154
156
|
return u;
|
|
155
|
-
const { pathname: p, query:
|
|
156
|
-
return "" + p + s +
|
|
157
|
+
const { pathname: p, query: n, hash: e } = (0, o.parsePath)(u);
|
|
158
|
+
return "" + p + s + n + e;
|
|
157
159
|
}
|
|
158
160
|
}(Ie)), Ie;
|
|
159
161
|
}
|
|
@@ -189,8 +191,8 @@ function xr() {
|
|
|
189
191
|
}
|
|
190
192
|
});
|
|
191
193
|
const o = gr(), c = pt();
|
|
192
|
-
function u(s, p,
|
|
193
|
-
if (!p || p ===
|
|
194
|
+
function u(s, p, n, e) {
|
|
195
|
+
if (!p || p === n) return s;
|
|
194
196
|
const a = s.toLowerCase();
|
|
195
197
|
return !e && ((0, c.pathHasPrefix)(a, "/api") || (0, c.pathHasPrefix)(a, "/" + p.toLowerCase())) ? s : (0, o.addPathPrefix)(s, "/" + p);
|
|
196
198
|
}
|
|
@@ -208,9 +210,9 @@ function Nr() {
|
|
|
208
210
|
}
|
|
209
211
|
});
|
|
210
212
|
const o = Tr(), c = gr(), u = Or(), s = xr();
|
|
211
|
-
function p(
|
|
212
|
-
let e = (0, s.addLocale)(
|
|
213
|
-
return (
|
|
213
|
+
function p(n) {
|
|
214
|
+
let e = (0, s.addLocale)(n.pathname, n.locale, n.buildId ? void 0 : n.defaultLocale, n.ignorePrefix);
|
|
215
|
+
return (n.buildId || !n.trailingSlash) && (e = (0, o.removeTrailingSlash)(e)), n.buildId && (e = (0, u.addPathSuffix)((0, c.addPathPrefix)(e, "/_next/data/" + n.buildId), n.pathname === "/" ? "index.json" : ".json")), e = (0, c.addPathPrefix)(e, n.basePath), !n.buildId && n.trailingSlash ? e.endsWith("/") ? e : (0, u.addPathSuffix)(e, "/") : (0, o.removeTrailingSlash)(e);
|
|
214
216
|
}
|
|
215
217
|
}(Te)), Te;
|
|
216
218
|
}
|
|
@@ -253,18 +255,18 @@ function Dr() {
|
|
|
253
255
|
pathname: u
|
|
254
256
|
};
|
|
255
257
|
let p = o.get(s);
|
|
256
|
-
p || (p = s.map((
|
|
257
|
-
let
|
|
258
|
+
p || (p = s.map((i) => i.toLowerCase()), o.set(s, p));
|
|
259
|
+
let n;
|
|
258
260
|
const e = u.split("/", 2);
|
|
259
261
|
if (!e[1]) return {
|
|
260
262
|
pathname: u
|
|
261
263
|
};
|
|
262
|
-
const a = e[1].toLowerCase(),
|
|
263
|
-
return
|
|
264
|
+
const a = e[1].toLowerCase(), _ = p.indexOf(a);
|
|
265
|
+
return _ < 0 ? {
|
|
264
266
|
pathname: u
|
|
265
|
-
} : (
|
|
267
|
+
} : (n = s[_], u = u.slice(n.length + 1) || "/", {
|
|
266
268
|
pathname: u,
|
|
267
|
-
detectedLocale:
|
|
269
|
+
detectedLocale: n
|
|
268
270
|
});
|
|
269
271
|
}
|
|
270
272
|
}(Le)), Le;
|
|
@@ -301,25 +303,25 @@ function kr() {
|
|
|
301
303
|
}
|
|
302
304
|
});
|
|
303
305
|
const o = Dr(), c = Cr(), u = pt();
|
|
304
|
-
function s(p,
|
|
306
|
+
function s(p, n) {
|
|
305
307
|
var e;
|
|
306
|
-
const { basePath: a, i18n:
|
|
308
|
+
const { basePath: a, i18n: _, trailingSlash: i } = (e = n.nextConfig) != null ? e : {}, l = {
|
|
307
309
|
pathname: p,
|
|
308
|
-
trailingSlash: p !== "/" ? p.endsWith("/") :
|
|
310
|
+
trailingSlash: p !== "/" ? p.endsWith("/") : i
|
|
309
311
|
};
|
|
310
|
-
a && (0, u.pathHasPrefix)(
|
|
311
|
-
let
|
|
312
|
-
if (
|
|
313
|
-
const T =
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
if (
|
|
317
|
-
let T =
|
|
318
|
-
|
|
312
|
+
a && (0, u.pathHasPrefix)(l.pathname, a) && (l.pathname = (0, c.removePathPrefix)(l.pathname, a), l.basePath = a);
|
|
313
|
+
let f = l.pathname;
|
|
314
|
+
if (l.pathname.startsWith("/_next/data/") && l.pathname.endsWith(".json")) {
|
|
315
|
+
const T = l.pathname.replace(/^\/_next\/data\//, "").replace(/\.json$/, "").split("/"), I = T[0];
|
|
316
|
+
l.buildId = I, f = T[1] !== "index" ? "/" + T.slice(1).join("/") : "/", n.parseData === !0 && (l.pathname = f);
|
|
317
|
+
}
|
|
318
|
+
if (_) {
|
|
319
|
+
let T = n.i18nProvider ? n.i18nProvider.analyze(l.pathname) : (0, o.normalizeLocalePath)(l.pathname, _.locales);
|
|
320
|
+
l.locale = T.detectedLocale;
|
|
319
321
|
var P;
|
|
320
|
-
|
|
322
|
+
l.pathname = (P = T.pathname) != null ? P : l.pathname, !T.detectedLocale && l.buildId && (T = n.i18nProvider ? n.i18nProvider.analyze(f) : (0, o.normalizeLocalePath)(f, _.locales), T.detectedLocale && (l.locale = T.detectedLocale));
|
|
321
323
|
}
|
|
322
|
-
return
|
|
324
|
+
return l;
|
|
323
325
|
}
|
|
324
326
|
}(je)), je;
|
|
325
327
|
}
|
|
@@ -335,28 +337,28 @@ function Er() {
|
|
|
335
337
|
}
|
|
336
338
|
});
|
|
337
339
|
const o = Sr(), c = Nr(), u = Ir(), s = kr(), p = /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;
|
|
338
|
-
function
|
|
339
|
-
return new URL(String(
|
|
340
|
+
function n(_, i) {
|
|
341
|
+
return new URL(String(_).replace(p, "localhost"), i && String(i).replace(p, "localhost"));
|
|
340
342
|
}
|
|
341
343
|
const e = Symbol("NextURLInternal");
|
|
342
344
|
class a {
|
|
343
|
-
constructor(
|
|
345
|
+
constructor(i, l, f) {
|
|
344
346
|
let P, T;
|
|
345
|
-
typeof
|
|
346
|
-
url: i
|
|
347
|
+
typeof l == "object" && "pathname" in l || typeof l == "string" ? (P = l, T = f || {}) : T = f || l || {}, this[e] = {
|
|
348
|
+
url: n(i, P ?? T.base),
|
|
347
349
|
options: T,
|
|
348
350
|
basePath: ""
|
|
349
351
|
}, this.analyze();
|
|
350
352
|
}
|
|
351
353
|
analyze() {
|
|
352
|
-
var
|
|
354
|
+
var i, l, f, P, T;
|
|
353
355
|
const I = (0, s.getNextPathnameInfo)(this[e].url.pathname, {
|
|
354
356
|
nextConfig: this[e].options.nextConfig,
|
|
355
357
|
parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,
|
|
356
358
|
i18nProvider: this[e].options.i18nProvider
|
|
357
|
-
}),
|
|
358
|
-
this[e].domainLocale = this[e].options.i18nProvider ? this[e].options.i18nProvider.detectDomainLocale(
|
|
359
|
-
const g = ((
|
|
359
|
+
}), d = (0, u.getHostname)(this[e].url, this[e].options.headers);
|
|
360
|
+
this[e].domainLocale = this[e].options.i18nProvider ? this[e].options.i18nProvider.detectDomainLocale(d) : (0, o.detectDomainLocale)((l = this[e].options.nextConfig) == null || (i = l.i18n) == null ? void 0 : i.domains, d);
|
|
361
|
+
const g = ((f = this[e].domainLocale) == null ? void 0 : f.defaultLocale) || ((T = this[e].options.nextConfig) == null || (P = T.i18n) == null ? void 0 : P.defaultLocale);
|
|
360
362
|
this[e].url.pathname = I.pathname, this[e].defaultLocale = g, this[e].basePath = I.basePath ?? "", this[e].buildId = I.buildId, this[e].locale = I.locale ?? g, this[e].trailingSlash = I.trailingSlash;
|
|
361
363
|
}
|
|
362
364
|
formatPathname() {
|
|
@@ -375,21 +377,21 @@ function Er() {
|
|
|
375
377
|
get buildId() {
|
|
376
378
|
return this[e].buildId;
|
|
377
379
|
}
|
|
378
|
-
set buildId(
|
|
379
|
-
this[e].buildId =
|
|
380
|
+
set buildId(i) {
|
|
381
|
+
this[e].buildId = i;
|
|
380
382
|
}
|
|
381
383
|
get locale() {
|
|
382
384
|
return this[e].locale ?? "";
|
|
383
385
|
}
|
|
384
|
-
set locale(
|
|
385
|
-
var
|
|
386
|
-
if (!this[e].locale || !(!((
|
|
387
|
-
throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${
|
|
386
|
+
set locale(i) {
|
|
387
|
+
var l, f;
|
|
388
|
+
if (!this[e].locale || !(!((f = this[e].options.nextConfig) == null || (l = f.i18n) == null) && l.locales.includes(i)))
|
|
389
|
+
throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${i}"`), "__NEXT_ERROR_CODE", {
|
|
388
390
|
value: "E597",
|
|
389
391
|
enumerable: !1,
|
|
390
392
|
configurable: !0
|
|
391
393
|
});
|
|
392
|
-
this[e].locale =
|
|
394
|
+
this[e].locale = i;
|
|
393
395
|
}
|
|
394
396
|
get defaultLocale() {
|
|
395
397
|
return this[e].defaultLocale;
|
|
@@ -403,33 +405,33 @@ function Er() {
|
|
|
403
405
|
get host() {
|
|
404
406
|
return this[e].url.host;
|
|
405
407
|
}
|
|
406
|
-
set host(
|
|
407
|
-
this[e].url.host =
|
|
408
|
+
set host(i) {
|
|
409
|
+
this[e].url.host = i;
|
|
408
410
|
}
|
|
409
411
|
get hostname() {
|
|
410
412
|
return this[e].url.hostname;
|
|
411
413
|
}
|
|
412
|
-
set hostname(
|
|
413
|
-
this[e].url.hostname =
|
|
414
|
+
set hostname(i) {
|
|
415
|
+
this[e].url.hostname = i;
|
|
414
416
|
}
|
|
415
417
|
get port() {
|
|
416
418
|
return this[e].url.port;
|
|
417
419
|
}
|
|
418
|
-
set port(
|
|
419
|
-
this[e].url.port =
|
|
420
|
+
set port(i) {
|
|
421
|
+
this[e].url.port = i;
|
|
420
422
|
}
|
|
421
423
|
get protocol() {
|
|
422
424
|
return this[e].url.protocol;
|
|
423
425
|
}
|
|
424
|
-
set protocol(
|
|
425
|
-
this[e].url.protocol =
|
|
426
|
+
set protocol(i) {
|
|
427
|
+
this[e].url.protocol = i;
|
|
426
428
|
}
|
|
427
429
|
get href() {
|
|
428
|
-
const
|
|
429
|
-
return `${this.protocol}//${this.host}${
|
|
430
|
+
const i = this.formatPathname(), l = this.formatSearch();
|
|
431
|
+
return `${this.protocol}//${this.host}${i}${l}${this.hash}`;
|
|
430
432
|
}
|
|
431
|
-
set href(
|
|
432
|
-
this[e].url = i
|
|
433
|
+
set href(i) {
|
|
434
|
+
this[e].url = n(i), this.analyze();
|
|
433
435
|
}
|
|
434
436
|
get origin() {
|
|
435
437
|
return this[e].url.origin;
|
|
@@ -437,38 +439,38 @@ function Er() {
|
|
|
437
439
|
get pathname() {
|
|
438
440
|
return this[e].url.pathname;
|
|
439
441
|
}
|
|
440
|
-
set pathname(
|
|
441
|
-
this[e].url.pathname =
|
|
442
|
+
set pathname(i) {
|
|
443
|
+
this[e].url.pathname = i;
|
|
442
444
|
}
|
|
443
445
|
get hash() {
|
|
444
446
|
return this[e].url.hash;
|
|
445
447
|
}
|
|
446
|
-
set hash(
|
|
447
|
-
this[e].url.hash =
|
|
448
|
+
set hash(i) {
|
|
449
|
+
this[e].url.hash = i;
|
|
448
450
|
}
|
|
449
451
|
get search() {
|
|
450
452
|
return this[e].url.search;
|
|
451
453
|
}
|
|
452
|
-
set search(
|
|
453
|
-
this[e].url.search =
|
|
454
|
+
set search(i) {
|
|
455
|
+
this[e].url.search = i;
|
|
454
456
|
}
|
|
455
457
|
get password() {
|
|
456
458
|
return this[e].url.password;
|
|
457
459
|
}
|
|
458
|
-
set password(
|
|
459
|
-
this[e].url.password =
|
|
460
|
+
set password(i) {
|
|
461
|
+
this[e].url.password = i;
|
|
460
462
|
}
|
|
461
463
|
get username() {
|
|
462
464
|
return this[e].url.username;
|
|
463
465
|
}
|
|
464
|
-
set username(
|
|
465
|
-
this[e].url.username =
|
|
466
|
+
set username(i) {
|
|
467
|
+
this[e].url.username = i;
|
|
466
468
|
}
|
|
467
469
|
get basePath() {
|
|
468
470
|
return this[e].basePath;
|
|
469
471
|
}
|
|
470
|
-
set basePath(
|
|
471
|
-
this[e].basePath =
|
|
472
|
+
set basePath(i) {
|
|
473
|
+
this[e].basePath = i.startsWith("/") ? i : `/${i}`;
|
|
472
474
|
}
|
|
473
475
|
toString() {
|
|
474
476
|
return this.href;
|
|
@@ -512,7 +514,7 @@ function jr() {
|
|
|
512
514
|
}
|
|
513
515
|
o(r, {
|
|
514
516
|
ACTION_SUFFIX: function() {
|
|
515
|
-
return
|
|
517
|
+
return l;
|
|
516
518
|
},
|
|
517
519
|
APP_DIR_ALIAS: function() {
|
|
518
520
|
return Q;
|
|
@@ -557,7 +559,7 @@ function jr() {
|
|
|
557
559
|
return v;
|
|
558
560
|
},
|
|
559
561
|
NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
|
|
560
|
-
return
|
|
562
|
+
return d;
|
|
561
563
|
},
|
|
562
564
|
NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
|
|
563
565
|
return g;
|
|
@@ -575,7 +577,7 @@ function jr() {
|
|
|
575
577
|
return y;
|
|
576
578
|
},
|
|
577
579
|
NEXT_DATA_SUFFIX: function() {
|
|
578
|
-
return
|
|
580
|
+
return f;
|
|
579
581
|
},
|
|
580
582
|
NEXT_INTERCEPTION_MARKER_PREFIX: function() {
|
|
581
583
|
return u;
|
|
@@ -587,7 +589,7 @@ function jr() {
|
|
|
587
589
|
return c;
|
|
588
590
|
},
|
|
589
591
|
NEXT_RESUME_HEADER: function() {
|
|
590
|
-
return
|
|
592
|
+
return h;
|
|
591
593
|
},
|
|
592
594
|
NON_STANDARD_NODE_ENV: function() {
|
|
593
595
|
return E;
|
|
@@ -599,7 +601,7 @@ function jr() {
|
|
|
599
601
|
return p;
|
|
600
602
|
},
|
|
601
603
|
PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
|
|
602
|
-
return
|
|
604
|
+
return n;
|
|
603
605
|
},
|
|
604
606
|
PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
|
|
605
607
|
return le;
|
|
@@ -632,10 +634,10 @@ function jr() {
|
|
|
632
634
|
return a;
|
|
633
635
|
},
|
|
634
636
|
RSC_SEGMENT_SUFFIX: function() {
|
|
635
|
-
return
|
|
637
|
+
return _;
|
|
636
638
|
},
|
|
637
639
|
RSC_SUFFIX: function() {
|
|
638
|
-
return
|
|
640
|
+
return i;
|
|
639
641
|
},
|
|
640
642
|
SERVER_PROPS_EXPORT_ERROR: function() {
|
|
641
643
|
return se;
|
|
@@ -668,7 +670,7 @@ function jr() {
|
|
|
668
670
|
return W;
|
|
669
671
|
}
|
|
670
672
|
});
|
|
671
|
-
const c = "nxtP", u = "nxtI", s = "x-matched-path", p = "x-prerender-revalidate",
|
|
673
|
+
const c = "nxtP", u = "nxtI", s = "x-matched-path", p = "x-prerender-revalidate", n = "x-prerender-revalidate-if-generated", e = ".prefetch.rsc", a = ".segments", _ = ".segment.rsc", i = ".rsc", l = ".action", f = ".json", P = ".meta", T = ".body", I = "x-next-cache-tags", d = "x-next-revalidated-tags", g = "x-next-revalidate-tag-token", h = "next-resume", m = 128, y = 256, t = 1024, v = "_N_T_", b = 31536e3, w = 4294967294, S = "middleware", j = `(?:src/)?${S}`, X = "instrumentation", U = "private-next-pages", G = "private-dot-next", H = "private-next-root-dir", Q = "private-next-app-dir", Z = "private-next-rsc-mod-ref-proxy", F = "private-next-rsc-action-validate", z = "private-next-rsc-server-reference", J = "private-next-rsc-cache-wrapper", V = "private-next-rsc-action-encryption", ee = "private-next-rsc-action-client-wrapper", le = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", oe = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", ae = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", de = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", te = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", se = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", fe = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", re = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", ue = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", R = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", E = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', A = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", C = [
|
|
672
674
|
"app",
|
|
673
675
|
"pages",
|
|
674
676
|
"components",
|
|
@@ -785,10 +787,10 @@ function Rr() {
|
|
|
785
787
|
Object.defineProperty(r, "__esModule", {
|
|
786
788
|
value: !0
|
|
787
789
|
});
|
|
788
|
-
function o(a,
|
|
789
|
-
for (var
|
|
790
|
+
function o(a, _) {
|
|
791
|
+
for (var i in _) Object.defineProperty(a, i, {
|
|
790
792
|
enumerable: !0,
|
|
791
|
-
get:
|
|
793
|
+
get: _[i]
|
|
792
794
|
});
|
|
793
795
|
}
|
|
794
796
|
o(r, {
|
|
@@ -805,56 +807,56 @@ function Rr() {
|
|
|
805
807
|
return p;
|
|
806
808
|
},
|
|
807
809
|
validateURL: function() {
|
|
808
|
-
return
|
|
810
|
+
return n;
|
|
809
811
|
}
|
|
810
812
|
});
|
|
811
813
|
const c = jr();
|
|
812
814
|
function u(a) {
|
|
813
|
-
const
|
|
814
|
-
for (let [
|
|
815
|
-
const
|
|
816
|
-
|
|
815
|
+
const _ = new Headers();
|
|
816
|
+
for (let [i, l] of Object.entries(a)) {
|
|
817
|
+
const f = Array.isArray(l) ? l : [
|
|
818
|
+
l
|
|
817
819
|
];
|
|
818
|
-
for (let P of
|
|
819
|
-
typeof P > "u" || (typeof P == "number" && (P = P.toString()),
|
|
820
|
+
for (let P of f)
|
|
821
|
+
typeof P > "u" || (typeof P == "number" && (P = P.toString()), _.append(i, P));
|
|
820
822
|
}
|
|
821
|
-
return
|
|
823
|
+
return _;
|
|
822
824
|
}
|
|
823
825
|
function s(a) {
|
|
824
|
-
var
|
|
825
|
-
function
|
|
826
|
-
for (;
|
|
827
|
-
|
|
828
|
-
return
|
|
826
|
+
var _ = [], i = 0, l, f, P, T, I;
|
|
827
|
+
function d() {
|
|
828
|
+
for (; i < a.length && /\s/.test(a.charAt(i)); )
|
|
829
|
+
i += 1;
|
|
830
|
+
return i < a.length;
|
|
829
831
|
}
|
|
830
832
|
function g() {
|
|
831
|
-
return
|
|
832
|
-
}
|
|
833
|
-
for (;
|
|
834
|
-
for (
|
|
835
|
-
if (
|
|
836
|
-
for (P =
|
|
837
|
-
|
|
838
|
-
|
|
833
|
+
return f = a.charAt(i), f !== "=" && f !== ";" && f !== ",";
|
|
834
|
+
}
|
|
835
|
+
for (; i < a.length; ) {
|
|
836
|
+
for (l = i, I = !1; d(); )
|
|
837
|
+
if (f = a.charAt(i), f === ",") {
|
|
838
|
+
for (P = i, i += 1, d(), T = i; i < a.length && g(); )
|
|
839
|
+
i += 1;
|
|
840
|
+
i < a.length && a.charAt(i) === "=" ? (I = !0, i = T, _.push(a.substring(l, P)), l = i) : i = P + 1;
|
|
839
841
|
} else
|
|
840
|
-
|
|
841
|
-
(!I ||
|
|
842
|
+
i += 1;
|
|
843
|
+
(!I || i >= a.length) && _.push(a.substring(l, a.length));
|
|
842
844
|
}
|
|
843
|
-
return
|
|
845
|
+
return _;
|
|
844
846
|
}
|
|
845
847
|
function p(a) {
|
|
846
|
-
const
|
|
848
|
+
const _ = {}, i = [];
|
|
847
849
|
if (a)
|
|
848
|
-
for (const [
|
|
849
|
-
|
|
850
|
-
return
|
|
850
|
+
for (const [l, f] of a.entries())
|
|
851
|
+
l.toLowerCase() === "set-cookie" ? (i.push(...s(f)), _[l] = i.length === 1 ? i[0] : i) : _[l] = f;
|
|
852
|
+
return _;
|
|
851
853
|
}
|
|
852
|
-
function
|
|
854
|
+
function n(a) {
|
|
853
855
|
try {
|
|
854
856
|
return String(new URL(String(a)));
|
|
855
|
-
} catch (
|
|
857
|
+
} catch (_) {
|
|
856
858
|
throw Object.defineProperty(new Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, {
|
|
857
|
-
cause:
|
|
859
|
+
cause: _
|
|
858
860
|
}), "__NEXT_ERROR_CODE", {
|
|
859
861
|
value: "E61",
|
|
860
862
|
enumerable: !1,
|
|
@@ -863,13 +865,13 @@ function Rr() {
|
|
|
863
865
|
}
|
|
864
866
|
}
|
|
865
867
|
function e(a) {
|
|
866
|
-
const
|
|
868
|
+
const _ = [
|
|
867
869
|
c.NEXT_QUERY_PARAM_PREFIX,
|
|
868
870
|
c.NEXT_INTERCEPTION_MARKER_PREFIX
|
|
869
871
|
];
|
|
870
|
-
for (const
|
|
871
|
-
if (a !==
|
|
872
|
-
return a.substring(
|
|
872
|
+
for (const i of _)
|
|
873
|
+
if (a !== i && a.startsWith(i))
|
|
874
|
+
return a.substring(i.length);
|
|
873
875
|
return null;
|
|
874
876
|
}
|
|
875
877
|
}(Me)), Me;
|
|
@@ -880,10 +882,10 @@ function Lr() {
|
|
|
880
882
|
Object.defineProperty(r, "__esModule", {
|
|
881
883
|
value: !0
|
|
882
884
|
});
|
|
883
|
-
function o(p,
|
|
884
|
-
for (var e in
|
|
885
|
+
function o(p, n) {
|
|
886
|
+
for (var e in n) Object.defineProperty(p, e, {
|
|
885
887
|
enumerable: !0,
|
|
886
|
-
get:
|
|
888
|
+
get: n[e]
|
|
887
889
|
});
|
|
888
890
|
}
|
|
889
891
|
o(r, {
|
|
@@ -898,8 +900,8 @@ function Lr() {
|
|
|
898
900
|
}
|
|
899
901
|
});
|
|
900
902
|
class c extends Error {
|
|
901
|
-
constructor({ page:
|
|
902
|
-
super(`The middleware "${
|
|
903
|
+
constructor({ page: n }) {
|
|
904
|
+
super(`The middleware "${n}" accepts an async API directly with the form:
|
|
903
905
|
|
|
904
906
|
export function middleware(request, event) {
|
|
905
907
|
return NextResponse.redirect('/new-location')
|
|
@@ -933,14 +935,14 @@ function qr() {
|
|
|
933
935
|
for (let S of c(v))
|
|
934
936
|
!u.call(t, S) && S !== b && r(t, S, { get: () => v[S], enumerable: !(w = o(v, S)) || w.enumerable });
|
|
935
937
|
return t;
|
|
936
|
-
},
|
|
938
|
+
}, n = (t) => p(r({}, "__esModule", { value: !0 }), t), e = {};
|
|
937
939
|
s(e, {
|
|
938
940
|
RequestCookies: () => g,
|
|
939
|
-
ResponseCookies: () =>
|
|
940
|
-
parseCookie: () =>
|
|
941
|
-
parseSetCookie: () =>
|
|
941
|
+
ResponseCookies: () => h,
|
|
942
|
+
parseCookie: () => _,
|
|
943
|
+
parseSetCookie: () => i,
|
|
942
944
|
stringifyCookie: () => a
|
|
943
|
-
}), Ge =
|
|
945
|
+
}), Ge = n(e);
|
|
944
946
|
function a(t) {
|
|
945
947
|
var v;
|
|
946
948
|
const b = [
|
|
@@ -956,7 +958,7 @@ function qr() {
|
|
|
956
958
|
].filter(Boolean), w = `${t.name}=${encodeURIComponent((v = t.value) != null ? v : "")}`;
|
|
957
959
|
return b.length === 0 ? w : `${w}; ${b.join("; ")}`;
|
|
958
960
|
}
|
|
959
|
-
function
|
|
961
|
+
function _(t) {
|
|
960
962
|
const v = /* @__PURE__ */ new Map();
|
|
961
963
|
for (const b of t.split(/; */)) {
|
|
962
964
|
if (!b)
|
|
@@ -974,10 +976,10 @@ function qr() {
|
|
|
974
976
|
}
|
|
975
977
|
return v;
|
|
976
978
|
}
|
|
977
|
-
function
|
|
979
|
+
function i(t) {
|
|
978
980
|
if (!t)
|
|
979
981
|
return;
|
|
980
|
-
const [[v, b], ...w] =
|
|
982
|
+
const [[v, b], ...w] = _(t), {
|
|
981
983
|
domain: S,
|
|
982
984
|
expires: j,
|
|
983
985
|
httponly: X,
|
|
@@ -1005,23 +1007,23 @@ function qr() {
|
|
|
1005
1007
|
...F && { priority: I(F) },
|
|
1006
1008
|
...Z && { partitioned: !0 }
|
|
1007
1009
|
};
|
|
1008
|
-
return
|
|
1010
|
+
return l(z);
|
|
1009
1011
|
}
|
|
1010
|
-
function
|
|
1012
|
+
function l(t) {
|
|
1011
1013
|
const v = {};
|
|
1012
1014
|
for (const b in t)
|
|
1013
1015
|
t[b] && (v[b] = t[b]);
|
|
1014
1016
|
return v;
|
|
1015
1017
|
}
|
|
1016
|
-
var
|
|
1018
|
+
var f = ["strict", "lax", "none"];
|
|
1017
1019
|
function P(t) {
|
|
1018
|
-
return t = t.toLowerCase(),
|
|
1020
|
+
return t = t.toLowerCase(), f.includes(t) ? t : void 0;
|
|
1019
1021
|
}
|
|
1020
1022
|
var T = ["low", "medium", "high"];
|
|
1021
1023
|
function I(t) {
|
|
1022
1024
|
return t = t.toLowerCase(), T.includes(t) ? t : void 0;
|
|
1023
1025
|
}
|
|
1024
|
-
function
|
|
1026
|
+
function d(t) {
|
|
1025
1027
|
if (!t)
|
|
1026
1028
|
return [];
|
|
1027
1029
|
var v = [], b = 0, w, S, j, X, U;
|
|
@@ -1050,7 +1052,7 @@ function qr() {
|
|
|
1050
1052
|
this._parsed = /* @__PURE__ */ new Map(), this._headers = t;
|
|
1051
1053
|
const v = t.get("cookie");
|
|
1052
1054
|
if (v) {
|
|
1053
|
-
const b =
|
|
1055
|
+
const b = _(v);
|
|
1054
1056
|
for (const [w, S] of b)
|
|
1055
1057
|
this._parsed.set(w, { name: w, value: S });
|
|
1056
1058
|
}
|
|
@@ -1111,14 +1113,14 @@ function qr() {
|
|
|
1111
1113
|
toString() {
|
|
1112
1114
|
return [...this._parsed.values()].map((t) => `${t.name}=${encodeURIComponent(t.value)}`).join("; ");
|
|
1113
1115
|
}
|
|
1114
|
-
},
|
|
1116
|
+
}, h = class {
|
|
1115
1117
|
constructor(t) {
|
|
1116
1118
|
this._parsed = /* @__PURE__ */ new Map();
|
|
1117
1119
|
var v, b, w;
|
|
1118
1120
|
this._headers = t;
|
|
1119
|
-
const S = (w = (b = (v = t.getSetCookie) == null ? void 0 : v.call(t)) != null ? b : t.get("set-cookie")) != null ? w : [], j = Array.isArray(S) ? S :
|
|
1121
|
+
const S = (w = (b = (v = t.getSetCookie) == null ? void 0 : v.call(t)) != null ? b : t.get("set-cookie")) != null ? w : [], j = Array.isArray(S) ? S : d(S);
|
|
1120
1122
|
for (const X of j) {
|
|
1121
|
-
const U =
|
|
1123
|
+
const U = i(X);
|
|
1122
1124
|
U && this._parsed.set(U.name, U);
|
|
1123
1125
|
}
|
|
1124
1126
|
}
|
|
@@ -1208,33 +1210,33 @@ function Mr() {
|
|
|
1208
1210
|
Object.defineProperty(r, "__esModule", {
|
|
1209
1211
|
value: !0
|
|
1210
1212
|
});
|
|
1211
|
-
function o(a,
|
|
1212
|
-
for (var
|
|
1213
|
+
function o(a, _) {
|
|
1214
|
+
for (var i in _) Object.defineProperty(a, i, {
|
|
1213
1215
|
enumerable: !0,
|
|
1214
|
-
get:
|
|
1216
|
+
get: _[i]
|
|
1215
1217
|
});
|
|
1216
1218
|
}
|
|
1217
1219
|
o(r, {
|
|
1218
1220
|
INTERNALS: function() {
|
|
1219
|
-
return
|
|
1221
|
+
return n;
|
|
1220
1222
|
},
|
|
1221
1223
|
NextRequest: function() {
|
|
1222
1224
|
return e;
|
|
1223
1225
|
}
|
|
1224
1226
|
});
|
|
1225
|
-
const c = Er(), u = Rr(), s = Lr(), p = ht(),
|
|
1227
|
+
const c = Er(), u = Rr(), s = Lr(), p = ht(), n = Symbol("internal request");
|
|
1226
1228
|
class e extends Request {
|
|
1227
|
-
constructor(
|
|
1228
|
-
const
|
|
1229
|
-
(0, u.validateURL)(
|
|
1230
|
-
const
|
|
1229
|
+
constructor(_, i = {}) {
|
|
1230
|
+
const l = typeof _ != "string" && "url" in _ ? _.url : String(_);
|
|
1231
|
+
(0, u.validateURL)(l), process.env.NEXT_RUNTIME !== "edge" && i.body && i.duplex !== "half" && (i.duplex = "half"), _ instanceof Request ? super(_, i) : super(l, i);
|
|
1232
|
+
const f = new c.NextURL(l, {
|
|
1231
1233
|
headers: (0, u.toNodeOutgoingHttpHeaders)(this.headers),
|
|
1232
|
-
nextConfig:
|
|
1234
|
+
nextConfig: i.nextConfig
|
|
1233
1235
|
});
|
|
1234
|
-
this[
|
|
1236
|
+
this[n] = {
|
|
1235
1237
|
cookies: new p.RequestCookies(this.headers),
|
|
1236
|
-
nextUrl:
|
|
1237
|
-
url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ?
|
|
1238
|
+
nextUrl: f,
|
|
1239
|
+
url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? l : f.toString()
|
|
1238
1240
|
};
|
|
1239
1241
|
}
|
|
1240
1242
|
[Symbol.for("edge-runtime.inspect.custom")]() {
|
|
@@ -1259,10 +1261,10 @@ function Mr() {
|
|
|
1259
1261
|
};
|
|
1260
1262
|
}
|
|
1261
1263
|
get cookies() {
|
|
1262
|
-
return this[
|
|
1264
|
+
return this[n].cookies;
|
|
1263
1265
|
}
|
|
1264
1266
|
get nextUrl() {
|
|
1265
|
-
return this[
|
|
1267
|
+
return this[n].nextUrl;
|
|
1266
1268
|
}
|
|
1267
1269
|
/**
|
|
1268
1270
|
* @deprecated
|
|
@@ -1281,7 +1283,7 @@ function Mr() {
|
|
|
1281
1283
|
throw new s.RemovedUAError();
|
|
1282
1284
|
}
|
|
1283
1285
|
get url() {
|
|
1284
|
-
return this[
|
|
1286
|
+
return this[n].url;
|
|
1285
1287
|
}
|
|
1286
1288
|
}
|
|
1287
1289
|
}(Ae)), Ae;
|
|
@@ -1299,11 +1301,11 @@ function Ur() {
|
|
|
1299
1301
|
});
|
|
1300
1302
|
class o {
|
|
1301
1303
|
static get(u, s, p) {
|
|
1302
|
-
const
|
|
1303
|
-
return typeof
|
|
1304
|
+
const n = Reflect.get(u, s, p);
|
|
1305
|
+
return typeof n == "function" ? n.bind(u) : n;
|
|
1304
1306
|
}
|
|
1305
|
-
static set(u, s, p,
|
|
1306
|
-
return Reflect.set(u, s, p,
|
|
1307
|
+
static set(u, s, p, n) {
|
|
1308
|
+
return Reflect.set(u, s, p, n);
|
|
1307
1309
|
}
|
|
1308
1310
|
static has(u, s) {
|
|
1309
1311
|
return Reflect.has(u, s);
|
|
@@ -1322,53 +1324,53 @@ function Hr() {
|
|
|
1322
1324
|
}), Object.defineProperty(r, "NextResponse", {
|
|
1323
1325
|
enumerable: !0,
|
|
1324
1326
|
get: function() {
|
|
1325
|
-
return
|
|
1327
|
+
return _;
|
|
1326
1328
|
}
|
|
1327
1329
|
});
|
|
1328
|
-
const o = ht(), c = Er(), u = Rr(), s = Ur(), p = ht(),
|
|
1330
|
+
const o = ht(), c = Er(), u = Rr(), s = Ur(), p = ht(), n = Symbol("internal response"), e = /* @__PURE__ */ new Set([
|
|
1329
1331
|
301,
|
|
1330
1332
|
302,
|
|
1331
1333
|
303,
|
|
1332
1334
|
307,
|
|
1333
1335
|
308
|
|
1334
1336
|
]);
|
|
1335
|
-
function a(
|
|
1336
|
-
var
|
|
1337
|
-
if (!(
|
|
1338
|
-
if (!(
|
|
1337
|
+
function a(i, l) {
|
|
1338
|
+
var f;
|
|
1339
|
+
if (!(i == null || (f = i.request) == null) && f.headers) {
|
|
1340
|
+
if (!(i.request.headers instanceof Headers))
|
|
1339
1341
|
throw Object.defineProperty(new Error("request.headers must be an instance of Headers"), "__NEXT_ERROR_CODE", {
|
|
1340
1342
|
value: "E119",
|
|
1341
1343
|
enumerable: !1,
|
|
1342
1344
|
configurable: !0
|
|
1343
1345
|
});
|
|
1344
1346
|
const P = [];
|
|
1345
|
-
for (const [T, I] of
|
|
1346
|
-
|
|
1347
|
-
|
|
1347
|
+
for (const [T, I] of i.request.headers)
|
|
1348
|
+
l.set("x-middleware-request-" + T, I), P.push(T);
|
|
1349
|
+
l.set("x-middleware-override-headers", P.join(","));
|
|
1348
1350
|
}
|
|
1349
1351
|
}
|
|
1350
|
-
class
|
|
1351
|
-
constructor(
|
|
1352
|
-
super(
|
|
1352
|
+
class _ extends Response {
|
|
1353
|
+
constructor(l, f = {}) {
|
|
1354
|
+
super(l, f);
|
|
1353
1355
|
const P = this.headers, T = new p.ResponseCookies(P), I = new Proxy(T, {
|
|
1354
|
-
get(
|
|
1356
|
+
get(d, g, h) {
|
|
1355
1357
|
switch (g) {
|
|
1356
1358
|
case "delete":
|
|
1357
1359
|
case "set":
|
|
1358
1360
|
return (...m) => {
|
|
1359
|
-
const y = Reflect.apply(
|
|
1360
|
-
return y instanceof p.ResponseCookies && P.set("x-middleware-set-cookie", y.getAll().map((v) => (0, o.stringifyCookie)(v)).join(",")), a(
|
|
1361
|
+
const y = Reflect.apply(d[g], d, m), t = new Headers(P);
|
|
1362
|
+
return y instanceof p.ResponseCookies && P.set("x-middleware-set-cookie", y.getAll().map((v) => (0, o.stringifyCookie)(v)).join(",")), a(f, t), y;
|
|
1361
1363
|
};
|
|
1362
1364
|
default:
|
|
1363
|
-
return s.ReflectAdapter.get(
|
|
1365
|
+
return s.ReflectAdapter.get(d, g, h);
|
|
1364
1366
|
}
|
|
1365
1367
|
}
|
|
1366
1368
|
});
|
|
1367
|
-
this[
|
|
1369
|
+
this[n] = {
|
|
1368
1370
|
cookies: I,
|
|
1369
|
-
url:
|
|
1371
|
+
url: f.url ? new c.NextURL(f.url, {
|
|
1370
1372
|
headers: (0, u.toNodeOutgoingHttpHeaders)(P),
|
|
1371
|
-
nextConfig:
|
|
1373
|
+
nextConfig: f.nextConfig
|
|
1372
1374
|
}) : void 0
|
|
1373
1375
|
};
|
|
1374
1376
|
}
|
|
@@ -1388,39 +1390,39 @@ function Hr() {
|
|
|
1388
1390
|
};
|
|
1389
1391
|
}
|
|
1390
1392
|
get cookies() {
|
|
1391
|
-
return this[
|
|
1393
|
+
return this[n].cookies;
|
|
1392
1394
|
}
|
|
1393
|
-
static json(
|
|
1394
|
-
const P = Response.json(
|
|
1395
|
-
return new
|
|
1395
|
+
static json(l, f) {
|
|
1396
|
+
const P = Response.json(l, f);
|
|
1397
|
+
return new _(P.body, P);
|
|
1396
1398
|
}
|
|
1397
|
-
static redirect(
|
|
1398
|
-
const P = typeof
|
|
1399
|
+
static redirect(l, f) {
|
|
1400
|
+
const P = typeof f == "number" ? f : (f == null ? void 0 : f.status) ?? 307;
|
|
1399
1401
|
if (!e.has(P))
|
|
1400
1402
|
throw Object.defineProperty(new RangeError('Failed to execute "redirect" on "response": Invalid status code'), "__NEXT_ERROR_CODE", {
|
|
1401
1403
|
value: "E529",
|
|
1402
1404
|
enumerable: !1,
|
|
1403
1405
|
configurable: !0
|
|
1404
1406
|
});
|
|
1405
|
-
const T = typeof
|
|
1406
|
-
return I.set("Location", (0, u.validateURL)(
|
|
1407
|
+
const T = typeof f == "object" ? f : {}, I = new Headers(T == null ? void 0 : T.headers);
|
|
1408
|
+
return I.set("Location", (0, u.validateURL)(l)), new _(null, {
|
|
1407
1409
|
...T,
|
|
1408
1410
|
headers: I,
|
|
1409
1411
|
status: P
|
|
1410
1412
|
});
|
|
1411
1413
|
}
|
|
1412
|
-
static rewrite(
|
|
1413
|
-
const P = new Headers(
|
|
1414
|
-
return P.set("x-middleware-rewrite", (0, u.validateURL)(
|
|
1415
|
-
...
|
|
1414
|
+
static rewrite(l, f) {
|
|
1415
|
+
const P = new Headers(f == null ? void 0 : f.headers);
|
|
1416
|
+
return P.set("x-middleware-rewrite", (0, u.validateURL)(l)), a(f, P), new _(null, {
|
|
1417
|
+
...f,
|
|
1416
1418
|
headers: P
|
|
1417
1419
|
});
|
|
1418
1420
|
}
|
|
1419
|
-
static next(
|
|
1420
|
-
const
|
|
1421
|
-
return
|
|
1422
|
-
...
|
|
1423
|
-
headers:
|
|
1421
|
+
static next(l) {
|
|
1422
|
+
const f = new Headers(l == null ? void 0 : l.headers);
|
|
1423
|
+
return f.set("x-middleware-next", "1"), a(l, f), new _(null, {
|
|
1424
|
+
...l,
|
|
1425
|
+
headers: f
|
|
1424
1426
|
});
|
|
1425
1427
|
}
|
|
1426
1428
|
}
|
|
@@ -1450,8 +1452,8 @@ var We = {}, ze = { exports: {} }, Bt;
|
|
|
1450
1452
|
function Gr() {
|
|
1451
1453
|
return Bt || (Bt = 1, (() => {
|
|
1452
1454
|
var r = { 226: function(s, p) {
|
|
1453
|
-
(function(
|
|
1454
|
-
var a = "1.0.35",
|
|
1455
|
+
(function(n, e) {
|
|
1456
|
+
var a = "1.0.35", _ = "", i = "?", l = "function", f = "undefined", P = "object", T = "string", I = "major", d = "model", g = "name", h = "type", m = "vendor", y = "version", t = "architecture", v = "console", b = "mobile", w = "tablet", S = "smarttv", j = "wearable", X = "embedded", U = 350, G = "Amazon", H = "Apple", Q = "ASUS", Z = "BlackBerry", F = "Browser", z = "Chrome", J = "Edge", V = "Firefox", ee = "Google", le = "Huawei", oe = "LG", ae = "Microsoft", de = "Motorola", te = "Opera", se = "Samsung", fe = "Sharp", re = "Sony", ue = "Xiaomi", R = "Zebra", E = "Facebook", A = "Chromium OS", C = "Mac OS", M = function(D, L) {
|
|
1455
1457
|
var N = {};
|
|
1456
1458
|
for (var q in D)
|
|
1457
1459
|
L[q] && L[q].length % 2 === 0 ? N[q] = L[q].concat(D[q]) : N[q] = D[q];
|
|
@@ -1465,17 +1467,17 @@ function Gr() {
|
|
|
1465
1467
|
}, W = function(D) {
|
|
1466
1468
|
return D.toLowerCase();
|
|
1467
1469
|
}, ce = function(D) {
|
|
1468
|
-
return typeof D === T ? D.replace(/[^\d\.]/g,
|
|
1470
|
+
return typeof D === T ? D.replace(/[^\d\.]/g, _).split(".")[0] : e;
|
|
1469
1471
|
}, he = function(D, L) {
|
|
1470
1472
|
if (typeof D === T)
|
|
1471
|
-
return D = D.replace(/^\s\s*/,
|
|
1473
|
+
return D = D.replace(/^\s\s*/, _), typeof L === f ? D : D.substring(0, U);
|
|
1472
1474
|
}, ne = function(D, L) {
|
|
1473
1475
|
for (var N = 0, q, ie, Y, k, x, K; N < L.length && !x; ) {
|
|
1474
1476
|
var ve = L[N], wt = L[N + 1];
|
|
1475
1477
|
for (q = ie = 0; q < ve.length && !x && ve[q]; )
|
|
1476
1478
|
if (x = ve[q++].exec(D), x)
|
|
1477
1479
|
for (Y = 0; Y < wt.length; Y++)
|
|
1478
|
-
K = x[++ie], k = wt[Y], typeof k === P && k.length > 0 ? k.length === 2 ? typeof k[1] ==
|
|
1480
|
+
K = x[++ie], k = wt[Y], typeof k === P && k.length > 0 ? k.length === 2 ? typeof k[1] == l ? this[k[0]] = k[1].call(this, K) : this[k[0]] = k[1] : k.length === 3 ? typeof k[1] === l && !(k[1].exec && k[1].test) ? this[k[0]] = K ? k[1].call(this, K, k[2]) : e : this[k[0]] = K ? K.replace(k[1], k[2]) : e : k.length === 4 && (this[k[0]] = K ? k[3].call(this, K.replace(k[1], k[2])) : e) : this[k] = K || e;
|
|
1479
1481
|
N += 2;
|
|
1480
1482
|
}
|
|
1481
1483
|
}, we = function(D, L) {
|
|
@@ -1483,23 +1485,23 @@ function Gr() {
|
|
|
1483
1485
|
if (typeof L[N] === P && L[N].length > 0) {
|
|
1484
1486
|
for (var q = 0; q < L[N].length; q++)
|
|
1485
1487
|
if (B(L[N][q], D))
|
|
1486
|
-
return N ===
|
|
1488
|
+
return N === i ? e : N;
|
|
1487
1489
|
} else if (B(L[N], D))
|
|
1488
|
-
return N ===
|
|
1490
|
+
return N === i ? e : N;
|
|
1489
1491
|
return D;
|
|
1490
|
-
}, wr = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Rt = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, yt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, y], [/opios[\/ ]+([\w\.]+)/i], [y, [g, te + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [g, te]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [g, "UC" + F]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [g, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [g, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + F], y], [/\bfocus\/([\w\.]+)/i], [y, [g, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [g, te + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [g, te + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [g, "MIUI " + F]], [/fxios\/([-\w\.]+)/i], [y, [g, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[g, "360 " + F]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1 " + F], y], [/(comodo_dragon)\/([\w\.]+)/i], [[g, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [g, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, E], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [g, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [g, z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, z + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [g, "Android " + F]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [y, we, wr]], [/(webkit|khtml)\/([\w\.]+)/i], [g, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [g, V + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [g, y], [/(cobalt)\/([\w\.]+)/i], [g, [y, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[t, "amd64"]], [/(ia32(?=;))/i], [[t, W]], [/((?:i[346]|x)86)[;\)]/i], [[t, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[t, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[t, "armhf"]], [/windows (ce|mobile); ppc;/i], [[t, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[t, /ower/, f, W]], [/(sun4\w)[;\)]/i], [[t, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[t, W]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [m, se], [_, w]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [m, se], [_, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [m, H], [_, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [m, H], [_, w]], [/(macintosh);/i], [l, [m, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [m, fe], [_, b]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [m, le], [_, w]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [m, le], [_, b]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [m, ue], [_, b]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [m, ue], [_, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [m, "OPPO"], [_, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [m, "Vivo"], [_, b]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [l, [m, "Realme"], [_, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [m, de], [_, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [m, de], [_, w]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [m, oe], [_, w]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [m, oe], [_, b]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [m, "Lenovo"], [_, w]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [m, "Nokia"], [_, b]], [/(pixel c)\b/i], [l, [m, ee], [_, w]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [m, ee], [_, b]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [m, re], [_, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [m, re], [_, w]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [m, "OnePlus"], [_, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [m, G], [_, w]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [m, G], [_, b]], [/(playbook);[-\w\),; ]+(rim)/i], [l, m, [_, w]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [m, Z], [_, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [m, Q], [_, w]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [m, Q], [_, b]], [/(nexus 9)/i], [l, [m, "HTC"], [_, w]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [m, [l, /_/g, " "], [_, b]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [m, "Acer"], [_, w]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [m, "Meizu"], [_, b]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [m, l, [_, b]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [m, l, [_, w]], [/(surface duo)/i], [l, [m, ae], [_, w]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [m, "Fairphone"], [_, b]], [/(u304aa)/i], [l, [m, "AT&T"], [_, b]], [/\bsie-(\w*)/i], [l, [m, "Siemens"], [_, b]], [/\b(rct\w+) b/i], [l, [m, "RCA"], [_, w]], [/\b(venue[\d ]{2,7}) b/i], [l, [m, "Dell"], [_, w]], [/\b(q(?:mv|ta)\w+) b/i], [l, [m, "Verizon"], [_, w]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [m, "Barnes & Noble"], [_, w]], [/\b(tm\d{3}\w+) b/i], [l, [m, "NuVision"], [_, w]], [/\b(k88) b/i], [l, [m, "ZTE"], [_, w]], [/\b(nx\d{3}j) b/i], [l, [m, "ZTE"], [_, b]], [/\b(gen\d{3}) b.+49h/i], [l, [m, "Swiss"], [_, b]], [/\b(zur\d{3}) b/i], [l, [m, "Swiss"], [_, w]], [/\b((zeki)?tb.*\b) b/i], [l, [m, "Zeki"], [_, w]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], l, [_, w]], [/\b(ns-?\w{0,9}) b/i], [l, [m, "Insignia"], [_, w]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [m, "NextBook"], [_, w]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], l, [_, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], l, [_, b]], [/\b(ph-1) /i], [l, [m, "Essential"], [_, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [m, "Envizen"], [_, w]], [/\b(trio[-\w\. ]+) b/i], [l, [m, "MachSpeed"], [_, w]], [/\btu_(1491) b/i], [l, [m, "Rotor"], [_, w]], [/(shield[\w ]+) b/i], [l, [m, "Nvidia"], [_, w]], [/(sprint) (\w+)/i], [m, l, [_, b]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [m, ae], [_, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [m, R], [_, w]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [m, R], [_, b]], [/smart-tv.+(samsung)/i], [m, [_, S]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [m, se], [_, S]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, oe], [_, S]], [/(apple) ?tv/i], [m, [l, H + " TV"], [_, S]], [/crkey/i], [[l, z + "cast"], [m, ee], [_, S]], [/droid.+aft(\w)( bui|\))/i], [l, [m, G], [_, S]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [m, fe], [_, S]], [/(bravia[\w ]+)( bui|\))/i], [l, [m, re], [_, S]], [/(mitv-\w{5}) bui/i], [l, [m, ue], [_, S]], [/Hbbtv.*(technisat) (.*);/i], [m, l, [_, S]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[m, he], [l, he], [_, S]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[_, S]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, l, [_, v]], [/droid.+; (shield) bui/i], [l, [m, "Nvidia"], [_, v]], [/(playstation [345portablevi]+)/i], [l, [m, re], [_, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [m, ae], [_, v]], [/((pebble))app/i], [m, l, [_, j]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [m, H], [_, j]], [/droid.+; (glass) \d/i], [l, [m, ee], [_, j]], [/droid.+; (wt63?0{2,3})\)/i], [l, [m, R], [_, j]], [/(quest( 2| pro)?)/i], [l, [m, E], [_, j]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [_, X]], [/(aeobc)\b/i], [l, [m, G], [_, X]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [l, [_, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [_, w]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[_, w]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[_, b]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [m, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [g, J + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [g, [y, we, Rt]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[g, "Windows"], [y, we, Rt]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, C], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, g], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [g, y], [/\(bb(10);/i], [y, [g, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [g, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [g, z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, A], y], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, y], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, y]] }, $ = function(D, L) {
|
|
1492
|
+
}, wr = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Rt = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, yt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, y], [/opios[\/ ]+([\w\.]+)/i], [y, [g, te + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [g, te]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [g, "UC" + F]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [g, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [g, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + F], y], [/\bfocus\/([\w\.]+)/i], [y, [g, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [g, te + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [g, te + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [g, "MIUI " + F]], [/fxios\/([-\w\.]+)/i], [y, [g, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[g, "360 " + F]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1 " + F], y], [/(comodo_dragon)\/([\w\.]+)/i], [[g, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [g, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, E], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [g, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [g, z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, z + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [g, "Android " + F]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [y, we, wr]], [/(webkit|khtml)\/([\w\.]+)/i], [g, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [g, V + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [g, y], [/(cobalt)\/([\w\.]+)/i], [g, [y, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[t, "amd64"]], [/(ia32(?=;))/i], [[t, W]], [/((?:i[346]|x)86)[;\)]/i], [[t, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[t, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[t, "armhf"]], [/windows (ce|mobile); ppc;/i], [[t, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[t, /ower/, _, W]], [/(sun4\w)[;\)]/i], [[t, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[t, W]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [d, [m, se], [h, w]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [d, [m, se], [h, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [d, [m, H], [h, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [d, [m, H], [h, w]], [/(macintosh);/i], [d, [m, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [d, [m, fe], [h, b]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [d, [m, le], [h, w]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [d, [m, le], [h, b]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[d, /_/g, " "], [m, ue], [h, b]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[d, /_/g, " "], [m, ue], [h, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [d, [m, "OPPO"], [h, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [d, [m, "Vivo"], [h, b]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [d, [m, "Realme"], [h, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [d, [m, de], [h, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [d, [m, de], [h, w]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [d, [m, oe], [h, w]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [d, [m, oe], [h, b]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [d, [m, "Lenovo"], [h, w]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[d, /_/g, " "], [m, "Nokia"], [h, b]], [/(pixel c)\b/i], [d, [m, ee], [h, w]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [d, [m, ee], [h, b]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [d, [m, re], [h, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[d, "Xperia Tablet"], [m, re], [h, w]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [d, [m, "OnePlus"], [h, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [d, [m, G], [h, w]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[d, /(.+)/g, "Fire Phone $1"], [m, G], [h, b]], [/(playbook);[-\w\),; ]+(rim)/i], [d, m, [h, w]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [d, [m, Z], [h, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [d, [m, Q], [h, w]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [d, [m, Q], [h, b]], [/(nexus 9)/i], [d, [m, "HTC"], [h, w]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [m, [d, /_/g, " "], [h, b]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [d, [m, "Acer"], [h, w]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [d, [m, "Meizu"], [h, b]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [m, d, [h, b]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [m, d, [h, w]], [/(surface duo)/i], [d, [m, ae], [h, w]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [d, [m, "Fairphone"], [h, b]], [/(u304aa)/i], [d, [m, "AT&T"], [h, b]], [/\bsie-(\w*)/i], [d, [m, "Siemens"], [h, b]], [/\b(rct\w+) b/i], [d, [m, "RCA"], [h, w]], [/\b(venue[\d ]{2,7}) b/i], [d, [m, "Dell"], [h, w]], [/\b(q(?:mv|ta)\w+) b/i], [d, [m, "Verizon"], [h, w]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [d, [m, "Barnes & Noble"], [h, w]], [/\b(tm\d{3}\w+) b/i], [d, [m, "NuVision"], [h, w]], [/\b(k88) b/i], [d, [m, "ZTE"], [h, w]], [/\b(nx\d{3}j) b/i], [d, [m, "ZTE"], [h, b]], [/\b(gen\d{3}) b.+49h/i], [d, [m, "Swiss"], [h, b]], [/\b(zur\d{3}) b/i], [d, [m, "Swiss"], [h, w]], [/\b((zeki)?tb.*\b) b/i], [d, [m, "Zeki"], [h, w]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], d, [h, w]], [/\b(ns-?\w{0,9}) b/i], [d, [m, "Insignia"], [h, w]], [/\b((nxa|next)-?\w{0,9}) b/i], [d, [m, "NextBook"], [h, w]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], d, [h, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], d, [h, b]], [/\b(ph-1) /i], [d, [m, "Essential"], [h, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [d, [m, "Envizen"], [h, w]], [/\b(trio[-\w\. ]+) b/i], [d, [m, "MachSpeed"], [h, w]], [/\btu_(1491) b/i], [d, [m, "Rotor"], [h, w]], [/(shield[\w ]+) b/i], [d, [m, "Nvidia"], [h, w]], [/(sprint) (\w+)/i], [m, d, [h, b]], [/(kin\.[onetw]{3})/i], [[d, /\./g, " "], [m, ae], [h, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [d, [m, R], [h, w]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [d, [m, R], [h, b]], [/smart-tv.+(samsung)/i], [m, [h, S]], [/hbbtv.+maple;(\d+)/i], [[d, /^/, "SmartTV"], [m, se], [h, S]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, oe], [h, S]], [/(apple) ?tv/i], [m, [d, H + " TV"], [h, S]], [/crkey/i], [[d, z + "cast"], [m, ee], [h, S]], [/droid.+aft(\w)( bui|\))/i], [d, [m, G], [h, S]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [d, [m, fe], [h, S]], [/(bravia[\w ]+)( bui|\))/i], [d, [m, re], [h, S]], [/(mitv-\w{5}) bui/i], [d, [m, ue], [h, S]], [/Hbbtv.*(technisat) (.*);/i], [m, d, [h, S]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[m, he], [d, he], [h, S]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[h, S]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, d, [h, v]], [/droid.+; (shield) bui/i], [d, [m, "Nvidia"], [h, v]], [/(playstation [345portablevi]+)/i], [d, [m, re], [h, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [d, [m, ae], [h, v]], [/((pebble))app/i], [m, d, [h, j]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [d, [m, H], [h, j]], [/droid.+; (glass) \d/i], [d, [m, ee], [h, j]], [/droid.+; (wt63?0{2,3})\)/i], [d, [m, R], [h, j]], [/(quest( 2| pro)?)/i], [d, [m, E], [h, j]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [h, X]], [/(aeobc)\b/i], [d, [m, G], [h, X]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [d, [h, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [d, [h, w]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[h, w]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[h, b]], [/(android[-\w\. ]{0,9});.+buil/i], [d, [m, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [g, J + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [g, [y, we, Rt]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[g, "Windows"], [y, we, Rt]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, C], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, g], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [g, y], [/\(bb(10);/i], [y, [g, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [g, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [g, z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, A], y], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, y], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, y]] }, $ = function(D, L) {
|
|
1491
1493
|
if (typeof D === P && (L = D, D = e), !(this instanceof $))
|
|
1492
1494
|
return new $(D, L).getResult();
|
|
1493
|
-
var N = typeof
|
|
1495
|
+
var N = typeof n !== f && n.navigator ? n.navigator : e, q = D || (N && N.userAgent ? N.userAgent : _), ie = N && N.userAgentData ? N.userAgentData : e, Y = L ? M(yt, L) : yt, k = N && N.userAgent == q;
|
|
1494
1496
|
return this.getBrowser = function() {
|
|
1495
1497
|
var x = {};
|
|
1496
|
-
return x[g] = e, x[y] = e, ne.call(x, q, Y.browser), x[I] = ce(x[y]), k && N && N.brave && typeof N.brave.isBrave ==
|
|
1498
|
+
return x[g] = e, x[y] = e, ne.call(x, q, Y.browser), x[I] = ce(x[y]), k && N && N.brave && typeof N.brave.isBrave == l && (x[g] = "Brave"), x;
|
|
1497
1499
|
}, this.getCPU = function() {
|
|
1498
1500
|
var x = {};
|
|
1499
1501
|
return x[t] = e, ne.call(x, q, Y.cpu), x;
|
|
1500
1502
|
}, this.getDevice = function() {
|
|
1501
1503
|
var x = {};
|
|
1502
|
-
return x[m] = e, x[
|
|
1504
|
+
return x[m] = e, x[d] = e, x[h] = e, ne.call(x, q, Y.device), k && !x[h] && ie && ie.mobile && (x[h] = b), k && x[d] == "Macintosh" && N && typeof N.standalone !== f && N.maxTouchPoints && N.maxTouchPoints > 2 && (x[d] = "iPad", x[h] = w), x;
|
|
1503
1505
|
}, this.getEngine = function() {
|
|
1504
1506
|
var x = {};
|
|
1505
1507
|
return x[g] = e, x[y] = e, ne.call(x, q, Y.engine), x;
|
|
@@ -1514,8 +1516,8 @@ function Gr() {
|
|
|
1514
1516
|
return q = typeof x === T && x.length > U ? he(x, U) : x, this;
|
|
1515
1517
|
}, this.setUA(q), this;
|
|
1516
1518
|
};
|
|
1517
|
-
$.VERSION = a, $.BROWSER = O([g, y, I]), $.CPU = O([t]), $.DEVICE = O([
|
|
1518
|
-
var _e = typeof
|
|
1519
|
+
$.VERSION = a, $.BROWSER = O([g, y, I]), $.CPU = O([t]), $.DEVICE = O([d, m, h, v, b, S, w, j, X]), $.ENGINE = $.OS = O([g, y]), typeof p !== f ? (s.exports && (p = s.exports = $), p.UAParser = $) : typeof n !== f && (n.UAParser = $);
|
|
1520
|
+
var _e = typeof n !== f && (n.jQuery || n.Zepto);
|
|
1519
1521
|
if (_e && !_e.ua) {
|
|
1520
1522
|
var pe = new $();
|
|
1521
1523
|
_e.ua = pe.getResult(), _e.ua.get = function() {
|
|
@@ -1533,13 +1535,13 @@ function Gr() {
|
|
|
1533
1535
|
var p = o[s];
|
|
1534
1536
|
if (p !== void 0)
|
|
1535
1537
|
return p.exports;
|
|
1536
|
-
var
|
|
1538
|
+
var n = o[s] = { exports: {} }, e = !0;
|
|
1537
1539
|
try {
|
|
1538
|
-
r[s].call(
|
|
1540
|
+
r[s].call(n.exports, n, n.exports, c), e = !1;
|
|
1539
1541
|
} finally {
|
|
1540
1542
|
e && delete o[s];
|
|
1541
1543
|
}
|
|
1542
|
-
return
|
|
1544
|
+
return n.exports;
|
|
1543
1545
|
}
|
|
1544
1546
|
typeof c < "u" && (c.ab = __dirname + "/");
|
|
1545
1547
|
var u = c(226);
|
|
@@ -1553,9 +1555,9 @@ function zt() {
|
|
|
1553
1555
|
value: !0
|
|
1554
1556
|
});
|
|
1555
1557
|
function o(e, a) {
|
|
1556
|
-
for (var
|
|
1558
|
+
for (var _ in a) Object.defineProperty(e, _, {
|
|
1557
1559
|
enumerable: !0,
|
|
1558
|
-
get: a[
|
|
1560
|
+
get: a[_]
|
|
1559
1561
|
});
|
|
1560
1562
|
}
|
|
1561
1563
|
o(r, {
|
|
@@ -1563,7 +1565,7 @@ function zt() {
|
|
|
1563
1565
|
return s;
|
|
1564
1566
|
},
|
|
1565
1567
|
userAgent: function() {
|
|
1566
|
-
return
|
|
1568
|
+
return n;
|
|
1567
1569
|
},
|
|
1568
1570
|
userAgentFromString: function() {
|
|
1569
1571
|
return p;
|
|
@@ -1584,7 +1586,7 @@ function zt() {
|
|
|
1584
1586
|
isBot: e === void 0 ? !1 : s(e)
|
|
1585
1587
|
};
|
|
1586
1588
|
}
|
|
1587
|
-
function
|
|
1589
|
+
function n({ headers: e }) {
|
|
1588
1590
|
return p(e.get("user-agent") || void 0);
|
|
1589
1591
|
}
|
|
1590
1592
|
}(We)), We;
|
|
@@ -1612,15 +1614,15 @@ function mt() {
|
|
|
1612
1614
|
Object.defineProperty(r, "__esModule", {
|
|
1613
1615
|
value: !0
|
|
1614
1616
|
});
|
|
1615
|
-
function o(a,
|
|
1616
|
-
for (var
|
|
1617
|
+
function o(a, _) {
|
|
1618
|
+
for (var i in _) Object.defineProperty(a, i, {
|
|
1617
1619
|
enumerable: !0,
|
|
1618
|
-
get:
|
|
1620
|
+
get: _[i]
|
|
1619
1621
|
});
|
|
1620
1622
|
}
|
|
1621
1623
|
o(r, {
|
|
1622
1624
|
bindSnapshot: function() {
|
|
1623
|
-
return
|
|
1625
|
+
return n;
|
|
1624
1626
|
},
|
|
1625
1627
|
createAsyncLocalStorage: function() {
|
|
1626
1628
|
return p;
|
|
@@ -1649,20 +1651,20 @@ function mt() {
|
|
|
1649
1651
|
enterWith() {
|
|
1650
1652
|
throw c;
|
|
1651
1653
|
}
|
|
1652
|
-
static bind(
|
|
1653
|
-
return
|
|
1654
|
+
static bind(_) {
|
|
1655
|
+
return _;
|
|
1654
1656
|
}
|
|
1655
1657
|
}
|
|
1656
1658
|
const s = typeof globalThis < "u" && globalThis.AsyncLocalStorage;
|
|
1657
1659
|
function p() {
|
|
1658
1660
|
return s ? new s() : new u();
|
|
1659
1661
|
}
|
|
1660
|
-
function
|
|
1662
|
+
function n(a) {
|
|
1661
1663
|
return s ? s.bind(a) : u.bind(a);
|
|
1662
1664
|
}
|
|
1663
1665
|
function e() {
|
|
1664
|
-
return s ? s.snapshot() : function(a, ...
|
|
1665
|
-
return a(...
|
|
1666
|
+
return s ? s.snapshot() : function(a, ..._) {
|
|
1667
|
+
return a(..._);
|
|
1666
1668
|
};
|
|
1667
1669
|
}
|
|
1668
1670
|
}(Je)), Je;
|
|
@@ -1769,28 +1771,28 @@ function Vr() {
|
|
|
1769
1771
|
return s;
|
|
1770
1772
|
},
|
|
1771
1773
|
FLIGHT_HEADERS: function() {
|
|
1772
|
-
return
|
|
1774
|
+
return f;
|
|
1773
1775
|
},
|
|
1774
1776
|
NEXT_DID_POSTPONE_HEADER: function() {
|
|
1775
1777
|
return I;
|
|
1776
1778
|
},
|
|
1777
1779
|
NEXT_HMR_REFRESH_HASH_COOKIE: function() {
|
|
1778
|
-
return
|
|
1780
|
+
return _;
|
|
1779
1781
|
},
|
|
1780
1782
|
NEXT_HMR_REFRESH_HEADER: function() {
|
|
1781
1783
|
return a;
|
|
1782
1784
|
},
|
|
1783
1785
|
NEXT_IS_PRERENDER_HEADER: function() {
|
|
1784
|
-
return
|
|
1786
|
+
return h;
|
|
1785
1787
|
},
|
|
1786
1788
|
NEXT_REWRITTEN_PATH_HEADER: function() {
|
|
1787
|
-
return
|
|
1789
|
+
return d;
|
|
1788
1790
|
},
|
|
1789
1791
|
NEXT_REWRITTEN_QUERY_HEADER: function() {
|
|
1790
1792
|
return g;
|
|
1791
1793
|
},
|
|
1792
1794
|
NEXT_ROUTER_PREFETCH_HEADER: function() {
|
|
1793
|
-
return
|
|
1795
|
+
return n;
|
|
1794
1796
|
},
|
|
1795
1797
|
NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() {
|
|
1796
1798
|
return e;
|
|
@@ -1805,22 +1807,22 @@ function Vr() {
|
|
|
1805
1807
|
return P;
|
|
1806
1808
|
},
|
|
1807
1809
|
NEXT_URL: function() {
|
|
1808
|
-
return
|
|
1810
|
+
return i;
|
|
1809
1811
|
},
|
|
1810
1812
|
RSC_CONTENT_TYPE_HEADER: function() {
|
|
1811
|
-
return
|
|
1813
|
+
return l;
|
|
1812
1814
|
},
|
|
1813
1815
|
RSC_HEADER: function() {
|
|
1814
1816
|
return u;
|
|
1815
1817
|
}
|
|
1816
1818
|
});
|
|
1817
|
-
const u = "RSC", s = "Next-Action", p = "Next-Router-State-Tree",
|
|
1819
|
+
const u = "RSC", s = "Next-Action", p = "Next-Router-State-Tree", n = "Next-Router-Prefetch", e = "Next-Router-Segment-Prefetch", a = "Next-HMR-Refresh", _ = "__next_hmr_refresh_hash__", i = "Next-Url", l = "text/x-component", f = [
|
|
1818
1820
|
u,
|
|
1819
1821
|
p,
|
|
1820
|
-
|
|
1822
|
+
n,
|
|
1821
1823
|
a,
|
|
1822
1824
|
e
|
|
1823
|
-
], P = "_rsc", T = "x-nextjs-stale-time", I = "x-nextjs-postponed",
|
|
1825
|
+
], P = "_rsc", T = "x-nextjs-stale-time", I = "x-nextjs-postponed", d = "x-nextjs-rewritten-path", g = "x-nextjs-rewritten-query", h = "x-nextjs-prerender";
|
|
1824
1826
|
(typeof o.default == "function" || typeof o.default == "object" && o.default !== null) && typeof o.default.__esModule > "u" && (Object.defineProperty(o.default, "__esModule", { value: !0 }), Object.assign(o.default, o), r.exports = o.default);
|
|
1825
1827
|
}(be, be.exports)), be.exports;
|
|
1826
1828
|
}
|
|
@@ -1830,15 +1832,15 @@ function bt() {
|
|
|
1830
1832
|
Object.defineProperty(r, "__esModule", {
|
|
1831
1833
|
value: !0
|
|
1832
1834
|
});
|
|
1833
|
-
function o(
|
|
1834
|
-
for (var
|
|
1835
|
+
function o(i, l) {
|
|
1836
|
+
for (var f in l) Object.defineProperty(i, f, {
|
|
1835
1837
|
enumerable: !0,
|
|
1836
|
-
get:
|
|
1838
|
+
get: l[f]
|
|
1837
1839
|
});
|
|
1838
1840
|
}
|
|
1839
1841
|
o(r, {
|
|
1840
1842
|
getDraftModeProviderForCacheScope: function() {
|
|
1841
|
-
return
|
|
1843
|
+
return _;
|
|
1842
1844
|
},
|
|
1843
1845
|
getExpectedRequestStore: function() {
|
|
1844
1846
|
return s;
|
|
@@ -1847,7 +1849,7 @@ function bt() {
|
|
|
1847
1849
|
return a;
|
|
1848
1850
|
},
|
|
1849
1851
|
getPrerenderResumeDataCache: function() {
|
|
1850
|
-
return
|
|
1852
|
+
return n;
|
|
1851
1853
|
},
|
|
1852
1854
|
getRenderResumeDataCache: function() {
|
|
1853
1855
|
return e;
|
|
@@ -1860,60 +1862,60 @@ function bt() {
|
|
|
1860
1862
|
}
|
|
1861
1863
|
});
|
|
1862
1864
|
const c = zr(), u = Vr();
|
|
1863
|
-
function s(
|
|
1864
|
-
const
|
|
1865
|
-
switch (
|
|
1865
|
+
function s(i) {
|
|
1866
|
+
const l = c.workUnitAsyncStorageInstance.getStore();
|
|
1867
|
+
switch (l || p(i), l.type) {
|
|
1866
1868
|
case "request":
|
|
1867
|
-
return
|
|
1869
|
+
return l;
|
|
1868
1870
|
case "prerender":
|
|
1869
1871
|
case "prerender-ppr":
|
|
1870
1872
|
case "prerender-legacy":
|
|
1871
|
-
throw Object.defineProperty(new Error(`\`${
|
|
1873
|
+
throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside a prerender. This is a bug in Next.js.`), "__NEXT_ERROR_CODE", {
|
|
1872
1874
|
value: "E401",
|
|
1873
1875
|
enumerable: !1,
|
|
1874
1876
|
configurable: !0
|
|
1875
1877
|
});
|
|
1876
1878
|
case "cache":
|
|
1877
|
-
throw Object.defineProperty(new Error(`\`${
|
|
1879
|
+
throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", {
|
|
1878
1880
|
value: "E37",
|
|
1879
1881
|
enumerable: !1,
|
|
1880
1882
|
configurable: !0
|
|
1881
1883
|
});
|
|
1882
1884
|
case "unstable-cache":
|
|
1883
|
-
throw Object.defineProperty(new Error(`\`${
|
|
1885
|
+
throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`), "__NEXT_ERROR_CODE", {
|
|
1884
1886
|
value: "E69",
|
|
1885
1887
|
enumerable: !1,
|
|
1886
1888
|
configurable: !0
|
|
1887
1889
|
});
|
|
1888
1890
|
default:
|
|
1889
|
-
return
|
|
1891
|
+
return l;
|
|
1890
1892
|
}
|
|
1891
1893
|
}
|
|
1892
|
-
function p(
|
|
1893
|
-
throw Object.defineProperty(new Error(`\`${
|
|
1894
|
+
function p(i) {
|
|
1895
|
+
throw Object.defineProperty(new Error(`\`${i}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
|
|
1894
1896
|
value: "E251",
|
|
1895
1897
|
enumerable: !1,
|
|
1896
1898
|
configurable: !0
|
|
1897
1899
|
});
|
|
1898
1900
|
}
|
|
1899
|
-
function i
|
|
1900
|
-
return
|
|
1901
|
+
function n(i) {
|
|
1902
|
+
return i.type === "prerender" || i.type === "prerender-ppr" ? i.prerenderResumeDataCache : null;
|
|
1901
1903
|
}
|
|
1902
|
-
function e(
|
|
1903
|
-
return
|
|
1904
|
+
function e(i) {
|
|
1905
|
+
return i.type !== "prerender-legacy" && i.type !== "cache" && i.type !== "unstable-cache" ? i.type === "request" ? i.renderResumeDataCache : i.prerenderResumeDataCache : null;
|
|
1904
1906
|
}
|
|
1905
|
-
function a(
|
|
1906
|
-
var
|
|
1907
|
-
if (
|
|
1908
|
-
return
|
|
1907
|
+
function a(i, l) {
|
|
1908
|
+
var f;
|
|
1909
|
+
if (i.dev)
|
|
1910
|
+
return l.type === "cache" || l.type === "prerender" ? l.hmrRefreshHash : l.type === "request" ? (f = l.cookies.get(u.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : f.value : void 0;
|
|
1909
1911
|
}
|
|
1910
|
-
function
|
|
1911
|
-
if (
|
|
1912
|
-
switch (
|
|
1912
|
+
function _(i, l) {
|
|
1913
|
+
if (i.isDraftMode)
|
|
1914
|
+
switch (l.type) {
|
|
1913
1915
|
case "cache":
|
|
1914
1916
|
case "unstable-cache":
|
|
1915
1917
|
case "request":
|
|
1916
|
-
return
|
|
1918
|
+
return l.draftMode;
|
|
1917
1919
|
default:
|
|
1918
1920
|
return;
|
|
1919
1921
|
}
|
|
@@ -1926,8 +1928,8 @@ function Yr() {
|
|
|
1926
1928
|
Object.defineProperty(o, "__esModule", {
|
|
1927
1929
|
value: !0
|
|
1928
1930
|
});
|
|
1929
|
-
function c(
|
|
1930
|
-
for (var a in e) Object.defineProperty(
|
|
1931
|
+
function c(n, e) {
|
|
1932
|
+
for (var a in e) Object.defineProperty(n, a, {
|
|
1931
1933
|
enumerable: !0,
|
|
1932
1934
|
get: e[a]
|
|
1933
1935
|
});
|
|
@@ -1946,8 +1948,8 @@ function Yr() {
|
|
|
1946
1948
|
super("Dynamic server usage: " + e), this.description = e, this.digest = u;
|
|
1947
1949
|
}
|
|
1948
1950
|
}
|
|
1949
|
-
function p(
|
|
1950
|
-
return typeof
|
|
1951
|
+
function p(n) {
|
|
1952
|
+
return typeof n != "object" || n === null || !("digest" in n) || typeof n.digest != "string" ? !1 : n.digest === u;
|
|
1951
1953
|
}
|
|
1952
1954
|
(typeof o.default == "function" || typeof o.default == "object" && o.default !== null) && typeof o.default.__esModule > "u" && (Object.defineProperty(o.default, "__esModule", { value: !0 }), Object.assign(o.default, o), r.exports = o.default);
|
|
1953
1955
|
}(ge, ge.exports)), ge.exports;
|
|
@@ -1958,8 +1960,8 @@ function gt() {
|
|
|
1958
1960
|
Object.defineProperty(o, "__esModule", {
|
|
1959
1961
|
value: !0
|
|
1960
1962
|
});
|
|
1961
|
-
function c(
|
|
1962
|
-
for (var a in e) Object.defineProperty(
|
|
1963
|
+
function c(n, e) {
|
|
1964
|
+
for (var a in e) Object.defineProperty(n, a, {
|
|
1963
1965
|
enumerable: !0,
|
|
1964
1966
|
get: e[a]
|
|
1965
1967
|
});
|
|
@@ -1978,8 +1980,8 @@ function gt() {
|
|
|
1978
1980
|
super(...e), this.code = u;
|
|
1979
1981
|
}
|
|
1980
1982
|
}
|
|
1981
|
-
function p(
|
|
1982
|
-
return typeof
|
|
1983
|
+
function p(n) {
|
|
1984
|
+
return typeof n != "object" || n === null || !("code" in n) ? !1 : n.code === u;
|
|
1983
1985
|
}
|
|
1984
1986
|
(typeof o.default == "function" || typeof o.default == "object" && o.default !== null) && typeof o.default.__esModule > "u" && (Object.defineProperty(o.default, "__esModule", { value: !0 }), Object.assign(o.default, o), r.exports = o.default);
|
|
1985
1987
|
}(Ee, Ee.exports)), Ee.exports;
|
|
@@ -1990,10 +1992,10 @@ function Et() {
|
|
|
1990
1992
|
Object.defineProperty(r, "__esModule", {
|
|
1991
1993
|
value: !0
|
|
1992
1994
|
});
|
|
1993
|
-
function o(a,
|
|
1994
|
-
for (var
|
|
1995
|
+
function o(a, _) {
|
|
1996
|
+
for (var i in _) Object.defineProperty(a, i, {
|
|
1995
1997
|
enumerable: !0,
|
|
1996
|
-
get:
|
|
1998
|
+
get: _[i]
|
|
1997
1999
|
});
|
|
1998
2000
|
}
|
|
1999
2001
|
o(r, {
|
|
@@ -2001,7 +2003,7 @@ function Et() {
|
|
|
2001
2003
|
return c;
|
|
2002
2004
|
},
|
|
2003
2005
|
makeHangingPromise: function() {
|
|
2004
|
-
return
|
|
2006
|
+
return n;
|
|
2005
2007
|
}
|
|
2006
2008
|
});
|
|
2007
2009
|
function c(a) {
|
|
@@ -2009,17 +2011,17 @@ function Et() {
|
|
|
2009
2011
|
}
|
|
2010
2012
|
const u = "HANGING_PROMISE_REJECTION";
|
|
2011
2013
|
class s extends Error {
|
|
2012
|
-
constructor(
|
|
2013
|
-
super(`During prerendering, ${
|
|
2014
|
+
constructor(_) {
|
|
2015
|
+
super(`During prerendering, ${_} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${_} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`), this.expression = _, this.digest = u;
|
|
2014
2016
|
}
|
|
2015
2017
|
}
|
|
2016
2018
|
const p = /* @__PURE__ */ new WeakMap();
|
|
2017
|
-
function
|
|
2019
|
+
function n(a, _) {
|
|
2018
2020
|
if (a.aborted)
|
|
2019
|
-
return Promise.reject(new s(
|
|
2021
|
+
return Promise.reject(new s(_));
|
|
2020
2022
|
{
|
|
2021
|
-
const
|
|
2022
|
-
const P =
|
|
2023
|
+
const i = new Promise((l, f) => {
|
|
2024
|
+
const P = f.bind(null, new s(_));
|
|
2023
2025
|
let T = p.get(a);
|
|
2024
2026
|
if (T)
|
|
2025
2027
|
T.push(P);
|
|
@@ -2028,14 +2030,14 @@ function Et() {
|
|
|
2028
2030
|
P
|
|
2029
2031
|
];
|
|
2030
2032
|
p.set(a, I), a.addEventListener("abort", () => {
|
|
2031
|
-
for (let
|
|
2032
|
-
I[
|
|
2033
|
+
for (let d = 0; d < I.length; d++)
|
|
2034
|
+
I[d]();
|
|
2033
2035
|
}, {
|
|
2034
2036
|
once: !0
|
|
2035
2037
|
});
|
|
2036
2038
|
}
|
|
2037
2039
|
});
|
|
2038
|
-
return
|
|
2040
|
+
return i.catch(e), i;
|
|
2039
2041
|
}
|
|
2040
2042
|
}
|
|
2041
2043
|
function e() {
|
|
@@ -2048,10 +2050,10 @@ function Kr() {
|
|
|
2048
2050
|
Object.defineProperty(r, "__esModule", {
|
|
2049
2051
|
value: !0
|
|
2050
2052
|
});
|
|
2051
|
-
function o(p,
|
|
2052
|
-
for (var e in
|
|
2053
|
+
function o(p, n) {
|
|
2054
|
+
for (var e in n) Object.defineProperty(p, e, {
|
|
2053
2055
|
enumerable: !0,
|
|
2054
|
-
get:
|
|
2056
|
+
get: n[e]
|
|
2055
2057
|
});
|
|
2056
2058
|
}
|
|
2057
2059
|
o(r, {
|
|
@@ -2074,8 +2076,8 @@ function Qr() {
|
|
|
2074
2076
|
Object.defineProperty(r, "__esModule", {
|
|
2075
2077
|
value: !0
|
|
2076
2078
|
});
|
|
2077
|
-
function o(
|
|
2078
|
-
for (var a in e) Object.defineProperty(
|
|
2079
|
+
function o(n, e) {
|
|
2080
|
+
for (var a in e) Object.defineProperty(n, a, {
|
|
2079
2081
|
enumerable: !0,
|
|
2080
2082
|
get: e[a]
|
|
2081
2083
|
});
|
|
@@ -2094,18 +2096,18 @@ function Qr() {
|
|
|
2094
2096
|
return p;
|
|
2095
2097
|
}
|
|
2096
2098
|
});
|
|
2097
|
-
const c = (
|
|
2099
|
+
const c = (n) => {
|
|
2098
2100
|
Promise.resolve().then(() => {
|
|
2099
|
-
process.env.NEXT_RUNTIME === "edge" ? setTimeout(
|
|
2101
|
+
process.env.NEXT_RUNTIME === "edge" ? setTimeout(n, 0) : process.nextTick(n);
|
|
2100
2102
|
});
|
|
2101
|
-
}, u = (
|
|
2102
|
-
process.env.NEXT_RUNTIME === "edge" ? setTimeout(
|
|
2103
|
+
}, u = (n) => {
|
|
2104
|
+
process.env.NEXT_RUNTIME === "edge" ? setTimeout(n, 0) : setImmediate(n);
|
|
2103
2105
|
};
|
|
2104
2106
|
function s() {
|
|
2105
|
-
return new Promise((
|
|
2107
|
+
return new Promise((n) => u(n));
|
|
2106
2108
|
}
|
|
2107
2109
|
function p() {
|
|
2108
|
-
return process.env.NEXT_RUNTIME === "edge" ? new Promise((
|
|
2110
|
+
return process.env.NEXT_RUNTIME === "edge" ? new Promise((n) => setTimeout(n, 0)) : new Promise((n) => setImmediate(n));
|
|
2109
2111
|
}
|
|
2110
2112
|
}(at)), at;
|
|
2111
2113
|
}
|
|
@@ -2141,7 +2143,7 @@ function yr() {
|
|
|
2141
2143
|
return F;
|
|
2142
2144
|
},
|
|
2143
2145
|
createDynamicTrackingState: function() {
|
|
2144
|
-
return
|
|
2146
|
+
return f;
|
|
2145
2147
|
},
|
|
2146
2148
|
createDynamicValidationState: function() {
|
|
2147
2149
|
return P;
|
|
@@ -2180,10 +2182,10 @@ function yr() {
|
|
|
2180
2182
|
return fe;
|
|
2181
2183
|
},
|
|
2182
2184
|
trackDynamicDataInDynamicRender: function() {
|
|
2183
|
-
return
|
|
2185
|
+
return h;
|
|
2184
2186
|
},
|
|
2185
2187
|
trackFallbackParamAccessed: function() {
|
|
2186
|
-
return
|
|
2188
|
+
return d;
|
|
2187
2189
|
},
|
|
2188
2190
|
trackSynchronousPlatformIOAccessInDev: function() {
|
|
2189
2191
|
return t;
|
|
@@ -2195,14 +2197,14 @@ function yr() {
|
|
|
2195
2197
|
return oe;
|
|
2196
2198
|
}
|
|
2197
2199
|
});
|
|
2198
|
-
const c = /* @__PURE__ */
|
|
2199
|
-
function
|
|
2200
|
+
const c = /* @__PURE__ */ i(Ar), u = Yr(), s = gt(), p = bt(), n = ye(), e = Et(), a = Kr(), _ = Qr();
|
|
2201
|
+
function i(R) {
|
|
2200
2202
|
return R && R.__esModule ? R : {
|
|
2201
2203
|
default: R
|
|
2202
2204
|
};
|
|
2203
2205
|
}
|
|
2204
|
-
const
|
|
2205
|
-
function
|
|
2206
|
+
const l = typeof c.default.unstable_postpone == "function";
|
|
2207
|
+
function f(R) {
|
|
2206
2208
|
return {
|
|
2207
2209
|
isDebugDynamicAccesses: R,
|
|
2208
2210
|
dynamicAccesses: [],
|
|
@@ -2245,7 +2247,7 @@ function yr() {
|
|
|
2245
2247
|
} else process.env.NODE_ENV === "development" && E && E.type === "request" && (E.usedDynamic = !0);
|
|
2246
2248
|
}
|
|
2247
2249
|
}
|
|
2248
|
-
function
|
|
2250
|
+
function d(R, E) {
|
|
2249
2251
|
const A = p.workUnitAsyncStorage.getStore();
|
|
2250
2252
|
!A || A.type !== "prerender-ppr" || S(R.route, E, A.dynamicTracking);
|
|
2251
2253
|
}
|
|
@@ -2257,7 +2259,7 @@ function yr() {
|
|
|
2257
2259
|
});
|
|
2258
2260
|
throw A.revalidate = 0, E.dynamicUsageDescription = R, E.dynamicUsageStack = C.stack, C;
|
|
2259
2261
|
}
|
|
2260
|
-
function
|
|
2262
|
+
function h(R, E) {
|
|
2261
2263
|
if (E) {
|
|
2262
2264
|
if (E.type === "cache" || E.type === "unstable-cache")
|
|
2263
2265
|
return;
|
|
@@ -2342,7 +2344,7 @@ function yr() {
|
|
|
2342
2344
|
${A}`));
|
|
2343
2345
|
}
|
|
2344
2346
|
function J() {
|
|
2345
|
-
if (!
|
|
2347
|
+
if (!l)
|
|
2346
2348
|
throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
|
|
2347
2349
|
value: "E224",
|
|
2348
2350
|
enumerable: !1,
|
|
@@ -2363,7 +2365,7 @@ ${A}`));
|
|
|
2363
2365
|
const E = new AbortController();
|
|
2364
2366
|
return R.cacheSignal ? R.cacheSignal.inputReady().then(() => {
|
|
2365
2367
|
E.abort();
|
|
2366
|
-
}) : (0,
|
|
2368
|
+
}) : (0, _.scheduleOnNextTick)(() => E.abort()), E.signal;
|
|
2367
2369
|
}
|
|
2368
2370
|
function le(R, E) {
|
|
2369
2371
|
const A = E.dynamicTracking;
|
|
@@ -2373,7 +2375,7 @@ ${A}`));
|
|
|
2373
2375
|
});
|
|
2374
2376
|
}
|
|
2375
2377
|
function oe(R) {
|
|
2376
|
-
const E =
|
|
2378
|
+
const E = n.workAsyncStorage.getStore();
|
|
2377
2379
|
if (E && E.isStaticGeneration && E.fallbackRouteParams && E.fallbackRouteParams.size > 0) {
|
|
2378
2380
|
const A = p.workUnitAsyncStorage.getStore();
|
|
2379
2381
|
A && (A.type === "prerender" ? c.default.use((0, e.makeHangingPromise)(A.renderSignal, R)) : A.type === "prerender-ppr" ? S(E.route, R, A.dynamicTracking) : A.type === "prerender-legacy" && g(R, E, A));
|
|
@@ -2477,10 +2479,10 @@ function en() {
|
|
|
2477
2479
|
Object.defineProperty(r, "__esModule", {
|
|
2478
2480
|
value: !0
|
|
2479
2481
|
});
|
|
2480
|
-
function o(a,
|
|
2481
|
-
for (var
|
|
2482
|
+
function o(a, _) {
|
|
2483
|
+
for (var i in _) Object.defineProperty(a, i, {
|
|
2482
2484
|
enumerable: !0,
|
|
2483
|
-
get:
|
|
2485
|
+
get: _[i]
|
|
2484
2486
|
});
|
|
2485
2487
|
}
|
|
2486
2488
|
o(r, {
|
|
@@ -2488,7 +2490,7 @@ function en() {
|
|
|
2488
2490
|
return e;
|
|
2489
2491
|
},
|
|
2490
2492
|
throwForSearchParamsAccessInUseCache: function() {
|
|
2491
|
-
return
|
|
2493
|
+
return n;
|
|
2492
2494
|
},
|
|
2493
2495
|
throwWithStaticGenerationBailoutError: function() {
|
|
2494
2496
|
return s;
|
|
@@ -2498,27 +2500,27 @@ function en() {
|
|
|
2498
2500
|
}
|
|
2499
2501
|
});
|
|
2500
2502
|
const c = gt(), u = Jr();
|
|
2501
|
-
function s(a,
|
|
2502
|
-
throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${
|
|
2503
|
+
function s(a, _) {
|
|
2504
|
+
throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${_}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
|
|
2503
2505
|
value: "E576",
|
|
2504
2506
|
enumerable: !1,
|
|
2505
2507
|
configurable: !0
|
|
2506
2508
|
});
|
|
2507
2509
|
}
|
|
2508
|
-
function p(a,
|
|
2509
|
-
throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${
|
|
2510
|
+
function p(a, _) {
|
|
2511
|
+
throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${_}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
|
|
2510
2512
|
value: "E543",
|
|
2511
2513
|
enumerable: !1,
|
|
2512
2514
|
configurable: !0
|
|
2513
2515
|
});
|
|
2514
2516
|
}
|
|
2515
|
-
function
|
|
2516
|
-
const
|
|
2517
|
+
function n(a) {
|
|
2518
|
+
const _ = Object.defineProperty(new Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "searchParams" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", {
|
|
2517
2519
|
value: "E634",
|
|
2518
2520
|
enumerable: !1,
|
|
2519
2521
|
configurable: !0
|
|
2520
2522
|
});
|
|
2521
|
-
throw a.invalidUsageError ?? (a.invalidUsageError =
|
|
2523
|
+
throw a.invalidUsageError ?? (a.invalidUsageError = _), _;
|
|
2522
2524
|
}
|
|
2523
2525
|
function e() {
|
|
2524
2526
|
const a = u.afterTaskAsyncStorage.getStore();
|
|
@@ -2537,11 +2539,11 @@ function tn() {
|
|
|
2537
2539
|
return e;
|
|
2538
2540
|
}
|
|
2539
2541
|
});
|
|
2540
|
-
const o = ye(), c = bt(), u = yr(), s = gt(), p = Et(),
|
|
2542
|
+
const o = ye(), c = bt(), u = yr(), s = gt(), p = Et(), n = en();
|
|
2541
2543
|
function e() {
|
|
2542
|
-
const a = o.workAsyncStorage.getStore(),
|
|
2544
|
+
const a = o.workAsyncStorage.getStore(), _ = c.workUnitAsyncStorage.getStore();
|
|
2543
2545
|
if (a) {
|
|
2544
|
-
if (
|
|
2546
|
+
if (_ && _.phase === "after" && !(0, n.isRequestAPICallableInsideAfter)())
|
|
2545
2547
|
throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`), "__NEXT_ERROR_CODE", {
|
|
2546
2548
|
value: "E186",
|
|
2547
2549
|
enumerable: !1,
|
|
@@ -2549,14 +2551,14 @@ function tn() {
|
|
|
2549
2551
|
});
|
|
2550
2552
|
if (a.forceStatic)
|
|
2551
2553
|
return Promise.resolve(void 0);
|
|
2552
|
-
if (
|
|
2553
|
-
if (
|
|
2554
|
+
if (_) {
|
|
2555
|
+
if (_.type === "cache")
|
|
2554
2556
|
throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), "__NEXT_ERROR_CODE", {
|
|
2555
2557
|
value: "E111",
|
|
2556
2558
|
enumerable: !1,
|
|
2557
2559
|
configurable: !0
|
|
2558
2560
|
});
|
|
2559
|
-
if (
|
|
2561
|
+
if (_.type === "unstable-cache")
|
|
2560
2562
|
throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`), "__NEXT_ERROR_CODE", {
|
|
2561
2563
|
value: "E1",
|
|
2562
2564
|
enumerable: !1,
|
|
@@ -2569,12 +2571,12 @@ function tn() {
|
|
|
2569
2571
|
enumerable: !1,
|
|
2570
2572
|
configurable: !0
|
|
2571
2573
|
});
|
|
2572
|
-
if (
|
|
2573
|
-
if (
|
|
2574
|
-
return (0, p.makeHangingPromise)(
|
|
2575
|
-
|
|
2574
|
+
if (_) {
|
|
2575
|
+
if (_.type === "prerender")
|
|
2576
|
+
return (0, p.makeHangingPromise)(_.renderSignal, "`connection()`");
|
|
2577
|
+
_.type === "prerender-ppr" ? (0, u.postponeWithTracking)(a.route, "connection", _.dynamicTracking) : _.type === "prerender-legacy" && (0, u.throwToInterruptStaticGeneration)("connection", a, _);
|
|
2576
2578
|
}
|
|
2577
|
-
(0, u.trackDynamicDataInDynamicRender)(a,
|
|
2579
|
+
(0, u.trackDynamicDataInDynamicRender)(a, _);
|
|
2578
2580
|
}
|
|
2579
2581
|
return Promise.resolve(void 0);
|
|
2580
2582
|
}
|
|
@@ -2604,8 +2606,8 @@ function nn() {
|
|
|
2604
2606
|
Object.defineProperty(r, "__esModule", {
|
|
2605
2607
|
value: !0
|
|
2606
2608
|
});
|
|
2607
|
-
function o(
|
|
2608
|
-
for (var a in e) Object.defineProperty(
|
|
2609
|
+
function o(n, e) {
|
|
2610
|
+
for (var a in e) Object.defineProperty(n, a, {
|
|
2609
2611
|
enumerable: !0,
|
|
2610
2612
|
get: e[a]
|
|
2611
2613
|
});
|
|
@@ -2622,12 +2624,12 @@ function nn() {
|
|
|
2622
2624
|
}
|
|
2623
2625
|
});
|
|
2624
2626
|
const c = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
2625
|
-
function u(
|
|
2626
|
-
return c.test(e) ? "`" +
|
|
2627
|
+
function u(n, e) {
|
|
2628
|
+
return c.test(e) ? "`" + n + "." + e + "`" : "`" + n + "[" + JSON.stringify(e) + "]`";
|
|
2627
2629
|
}
|
|
2628
|
-
function s(
|
|
2630
|
+
function s(n, e) {
|
|
2629
2631
|
const a = JSON.stringify(e);
|
|
2630
|
-
return "`Reflect.has(" +
|
|
2632
|
+
return "`Reflect.has(" + n + ", " + a + ")`, `" + a + " in " + n + "`, or similar";
|
|
2631
2633
|
}
|
|
2632
2634
|
const p = /* @__PURE__ */ new Set([
|
|
2633
2635
|
"hasOwnProperty",
|
|
@@ -2665,26 +2667,26 @@ function on() {
|
|
|
2665
2667
|
return a;
|
|
2666
2668
|
}
|
|
2667
2669
|
});
|
|
2668
|
-
const o = rn(), c = yr(), u = ye(), s = bt(), p = Et(),
|
|
2670
|
+
const o = rn(), c = yr(), u = ye(), s = bt(), p = Et(), n = nn(), e = /* @__PURE__ */ new WeakMap();
|
|
2669
2671
|
async function a() {
|
|
2670
|
-
const
|
|
2671
|
-
if (!
|
|
2672
|
+
const l = u.workAsyncStorage.getStore();
|
|
2673
|
+
if (!l)
|
|
2672
2674
|
throw Object.defineProperty(new o.InvariantError("Missing workStore in unstable_rootParams"), "__NEXT_ERROR_CODE", {
|
|
2673
2675
|
value: "E615",
|
|
2674
2676
|
enumerable: !1,
|
|
2675
2677
|
configurable: !0
|
|
2676
2678
|
});
|
|
2677
|
-
const
|
|
2678
|
-
if (!
|
|
2679
|
-
throw Object.defineProperty(new Error(`Route ${
|
|
2679
|
+
const f = s.workUnitAsyncStorage.getStore();
|
|
2680
|
+
if (!f)
|
|
2681
|
+
throw Object.defineProperty(new Error(`Route ${l.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`), "__NEXT_ERROR_CODE", {
|
|
2680
2682
|
value: "E641",
|
|
2681
2683
|
enumerable: !1,
|
|
2682
2684
|
configurable: !0
|
|
2683
2685
|
});
|
|
2684
|
-
switch (
|
|
2686
|
+
switch (f.type) {
|
|
2685
2687
|
case "unstable-cache":
|
|
2686
2688
|
case "cache":
|
|
2687
|
-
throw Object.defineProperty(new Error(`Route ${
|
|
2689
|
+
throw Object.defineProperty(new Error(`Route ${l.route} used \`unstable_rootParams()\` inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`), "__NEXT_ERROR_CODE", {
|
|
2688
2690
|
value: "E642",
|
|
2689
2691
|
enumerable: !1,
|
|
2690
2692
|
configurable: !0
|
|
@@ -2692,48 +2694,48 @@ function on() {
|
|
|
2692
2694
|
case "prerender":
|
|
2693
2695
|
case "prerender-ppr":
|
|
2694
2696
|
case "prerender-legacy":
|
|
2695
|
-
return f
|
|
2697
|
+
return _(f.rootParams, l, f);
|
|
2696
2698
|
default:
|
|
2697
|
-
return Promise.resolve(
|
|
2699
|
+
return Promise.resolve(f.rootParams);
|
|
2698
2700
|
}
|
|
2699
2701
|
}
|
|
2700
|
-
function
|
|
2701
|
-
const T =
|
|
2702
|
+
function _(l, f, P) {
|
|
2703
|
+
const T = f.fallbackRouteParams;
|
|
2702
2704
|
if (T) {
|
|
2703
2705
|
let I = !1;
|
|
2704
|
-
for (const
|
|
2705
|
-
if (T.has(
|
|
2706
|
+
for (const d in l)
|
|
2707
|
+
if (T.has(d)) {
|
|
2706
2708
|
I = !0;
|
|
2707
2709
|
break;
|
|
2708
2710
|
}
|
|
2709
2711
|
if (I) {
|
|
2710
2712
|
if (P.type === "prerender") {
|
|
2711
|
-
const
|
|
2712
|
-
if (
|
|
2713
|
-
return
|
|
2713
|
+
const d = e.get(l);
|
|
2714
|
+
if (d)
|
|
2715
|
+
return d;
|
|
2714
2716
|
const g = (0, p.makeHangingPromise)(P.renderSignal, "`unstable_rootParams`");
|
|
2715
|
-
return e.set(
|
|
2717
|
+
return e.set(l, g), g;
|
|
2716
2718
|
}
|
|
2717
|
-
return
|
|
2719
|
+
return i(l, T, f, P);
|
|
2718
2720
|
}
|
|
2719
2721
|
}
|
|
2720
|
-
return Promise.resolve(
|
|
2722
|
+
return Promise.resolve(l);
|
|
2721
2723
|
}
|
|
2722
|
-
function
|
|
2723
|
-
const I = e.get(
|
|
2724
|
+
function i(l, f, P, T) {
|
|
2725
|
+
const I = e.get(l);
|
|
2724
2726
|
if (I)
|
|
2725
2727
|
return I;
|
|
2726
|
-
const
|
|
2727
|
-
...
|
|
2728
|
-
}, g = Promise.resolve(
|
|
2729
|
-
return e.set(
|
|
2730
|
-
|
|
2728
|
+
const d = {
|
|
2729
|
+
...l
|
|
2730
|
+
}, g = Promise.resolve(d);
|
|
2731
|
+
return e.set(l, g), Object.keys(l).forEach((h) => {
|
|
2732
|
+
n.wellKnownProperties.has(h) || (f.has(h) ? Object.defineProperty(d, h, {
|
|
2731
2733
|
get() {
|
|
2732
|
-
const m = (0,
|
|
2734
|
+
const m = (0, n.describeStringPropertyAccess)("unstable_rootParams", h);
|
|
2733
2735
|
T.type === "prerender-ppr" ? (0, c.postponeWithTracking)(P.route, m, T.dynamicTracking) : (0, c.throwToInterruptStaticGeneration)(m, P, T);
|
|
2734
2736
|
},
|
|
2735
2737
|
enumerable: !0
|
|
2736
|
-
}) : g[
|
|
2738
|
+
}) : g[h] = l[h]);
|
|
2737
2739
|
}), g;
|
|
2738
2740
|
}
|
|
2739
2741
|
}(lt)), lt;
|