@golocalinteractive/golocal-cloud-wrapper 1.3.2 → 1.3.4

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/server.es.js CHANGED
@@ -9,43 +9,45 @@ function ln() {
9
9
  const {
10
10
  AUTH0_DOMAIN: r,
11
11
  AUTH0_CLIENT_ID: o,
12
- AUTH0_CLIENT_SECRET: l,
12
+ AUTH0_CLIENT_SECRET: c,
13
13
  AUTH0_SECRET: u,
14
14
  AUTH0_BASE_URL: s,
15
- APP_BASE_URL: _,
16
- AUTH0_AUDIENCE: n
17
- } = process.env, e = n ? { audience: n } : void 0;
15
+ APP_BASE_URL: p,
16
+ AUTH0_AUDIENCE: i
17
+ } = process.env, e = i ? { audience: i } : void 0;
18
18
  return {
19
19
  ...r ? { domain: r } : {},
20
20
  ...o ? { clientId: o } : {},
21
- ...l ? { clientSecret: l } : {},
21
+ ...c ? { clientSecret: c } : {},
22
22
  ...u ? { secret: u } : {},
23
- ...s || _ ? { appBaseUrl: s || _ } : {},
23
+ ...s || p ? { appBaseUrl: s || p } : {},
24
24
  ...e ? { authorizationParameters: e } : {}
25
25
  };
26
26
  }
27
27
  async function dn(r) {
28
- var o, l, u, s, _, n;
28
+ var o, c, u, s, p, i, e;
29
29
  try {
30
- const a = await Pr(r).getAccessToken(), h = a == null ? void 0 : a.token, c = (o = vr(h)["https://cloud.golocal.com/org_metadata"]) == null ? void 0 : o.metadata;
30
+ const f = await Pr(r).getAccessToken(), n = f == null ? void 0 : f.token, h = (o = vr(n)["https://cloud.golocal.com/org_metadata"]) == null ? void 0 : o.metadata;
31
31
  return {
32
- essentialInsights: ((l = c == null ? void 0 : c["essential-insights"]) == null ? void 0 : l.enabled) === !0,
33
- organic: ((u = c == null ? void 0 : c.organic) == null ? void 0 : u.enabled) === !0,
34
- paid: ((s = c == null ? void 0 : c.paid) == null ? void 0 : s.enabled) === !0,
35
- web: ((_ = c == null ? void 0 : c.web) == null ? void 0 : _.enabled) === !0,
36
- priceMonster: ((n = c == null ? void 0 : c["price-monster"]) == null ? void 0 : n.enabled) === !0,
37
- se_company_id: (c == null ? void 0 : c.se_company_id) || null
32
+ essentialInsights: ((c = h == null ? void 0 : h["essential-insights"]) == null ? void 0 : c.enabled) === !0,
33
+ organic: ((u = h == null ? void 0 : h.organic) == null ? void 0 : u.enabled) === !0,
34
+ paid: ((s = h == null ? void 0 : h.paid) == null ? void 0 : s.enabled) === !0,
35
+ web: ((p = h == null ? void 0 : h.web) == null ? void 0 : p.enabled) === !0,
36
+ priceMonster: ((i = h == null ? void 0 : h["price-monster"]) == null ? void 0 : i.enabled) === !0,
37
+ management: ((e = h == null ? void 0 : h.management) == null ? void 0 : e.enabled) === !0,
38
+ se_company_id: (h == null ? void 0 : h.se_company_id) || null
38
39
  };
39
- } catch (e) {
40
+ } catch (a) {
40
41
  return console.error(
41
42
  "[getServerSidePermissions] Error getting user permissions:",
42
- e
43
+ a
43
44
  ), {
44
45
  essentialInsights: !1,
45
46
  organic: !1,
46
47
  paid: !1,
47
48
  web: !1,
48
49
  priceMonster: !1,
50
+ management: !1,
49
51
  se_company_id: null
50
52
  };
51
53
  }
@@ -61,13 +63,13 @@ function Sr() {
61
63
  return o;
62
64
  }
63
65
  });
64
- function o(l, u, s) {
65
- if (l) {
66
+ function o(c, u, s) {
67
+ if (c) {
66
68
  s && (s = s.toLowerCase());
67
- for (const e of l) {
68
- var _, n;
69
- const a = (_ = e.domain) == null ? void 0 : _.split(":", 1)[0].toLowerCase();
70
- if (u === a || s === e.defaultLocale.toLowerCase() || (n = e.locales) != null && n.some((h) => h.toLowerCase() === s))
69
+ for (const e of c) {
70
+ var p, i;
71
+ const a = (p = e.domain) == null ? void 0 : p.split(":", 1)[0].toLowerCase();
72
+ if (u === a || s === e.defaultLocale.toLowerCase() || (i = e.locales) != null && i.some((f) => f.toLowerCase() === s))
71
73
  return e;
72
74
  }
73
75
  }
@@ -85,8 +87,8 @@ function Tr() {
85
87
  return o;
86
88
  }
87
89
  });
88
- function o(l) {
89
- return l.replace(/\/$/, "") || "/";
90
+ function o(c) {
91
+ return c.replace(/\/$/, "") || "/";
90
92
  }
91
93
  }(Oe)), Oe;
92
94
  }
@@ -101,14 +103,14 @@ function _t() {
101
103
  return o;
102
104
  }
103
105
  });
104
- function o(l) {
105
- const u = l.indexOf("#"), s = l.indexOf("?"), _ = s > -1 && (u < 0 || s < u);
106
- return _ || u > -1 ? {
107
- pathname: l.substring(0, _ ? s : u),
108
- query: _ ? l.substring(s, u > -1 ? u : void 0) : "",
109
- hash: u > -1 ? l.slice(u) : ""
106
+ function o(c) {
107
+ const u = c.indexOf("#"), s = c.indexOf("?"), p = s > -1 && (u < 0 || s < u);
108
+ return p || u > -1 ? {
109
+ pathname: c.substring(0, p ? s : u),
110
+ query: p ? c.substring(s, u > -1 ? u : void 0) : "",
111
+ hash: u > -1 ? c.slice(u) : ""
110
112
  } : {
111
- pathname: l,
113
+ pathname: c,
112
114
  query: "",
113
115
  hash: ""
114
116
  };
@@ -123,15 +125,15 @@ function gr() {
123
125
  }), Object.defineProperty(r, "addPathPrefix", {
124
126
  enumerable: !0,
125
127
  get: function() {
126
- return l;
128
+ return c;
127
129
  }
128
130
  });
129
131
  const o = _t();
130
- function l(u, s) {
132
+ function c(u, s) {
131
133
  if (!u.startsWith("/") || !s)
132
134
  return u;
133
- const { pathname: _, query: n, hash: e } = (0, o.parsePath)(u);
134
- return "" + s + _ + n + e;
135
+ const { pathname: p, query: i, hash: e } = (0, o.parsePath)(u);
136
+ return "" + s + p + i + e;
135
137
  }
136
138
  }(xe)), xe;
137
139
  }
@@ -143,15 +145,15 @@ function Or() {
143
145
  }), Object.defineProperty(r, "addPathSuffix", {
144
146
  enumerable: !0,
145
147
  get: function() {
146
- return l;
148
+ return c;
147
149
  }
148
150
  });
149
151
  const o = _t();
150
- function l(u, s) {
152
+ function c(u, s) {
151
153
  if (!u.startsWith("/") || !s)
152
154
  return u;
153
- const { pathname: _, query: n, hash: e } = (0, o.parsePath)(u);
154
- return "" + _ + s + n + e;
155
+ const { pathname: p, query: i, hash: e } = (0, o.parsePath)(u);
156
+ return "" + p + s + i + e;
155
157
  }
156
158
  }(Ie)), Ie;
157
159
  }
@@ -163,15 +165,15 @@ function pt() {
163
165
  }), Object.defineProperty(r, "pathHasPrefix", {
164
166
  enumerable: !0,
165
167
  get: function() {
166
- return l;
168
+ return c;
167
169
  }
168
170
  });
169
171
  const o = _t();
170
- function l(u, s) {
172
+ function c(u, s) {
171
173
  if (typeof u != "string")
172
174
  return !1;
173
- const { pathname: _ } = (0, o.parsePath)(u);
174
- return _ === s || _.startsWith(s + "/");
175
+ const { pathname: p } = (0, o.parsePath)(u);
176
+ return p === s || p.startsWith(s + "/");
175
177
  }
176
178
  }(Ce)), Ce;
177
179
  }
@@ -186,11 +188,11 @@ function xr() {
186
188
  return u;
187
189
  }
188
190
  });
189
- const o = gr(), l = pt();
190
- function u(s, _, n, e) {
191
- if (!_ || _ === n) return s;
191
+ const o = gr(), c = pt();
192
+ function u(s, p, i, e) {
193
+ if (!p || p === i) return s;
192
194
  const a = s.toLowerCase();
193
- return !e && ((0, l.pathHasPrefix)(a, "/api") || (0, l.pathHasPrefix)(a, "/" + _.toLowerCase())) ? s : (0, o.addPathPrefix)(s, "/" + _);
195
+ return !e && ((0, c.pathHasPrefix)(a, "/api") || (0, c.pathHasPrefix)(a, "/" + p.toLowerCase())) ? s : (0, o.addPathPrefix)(s, "/" + p);
194
196
  }
195
197
  }(De)), De;
196
198
  }
@@ -202,13 +204,13 @@ function Nr() {
202
204
  }), Object.defineProperty(r, "formatNextPathnameInfo", {
203
205
  enumerable: !0,
204
206
  get: function() {
205
- return _;
207
+ return p;
206
208
  }
207
209
  });
208
- const o = Tr(), l = gr(), u = Or(), s = xr();
209
- function _(n) {
210
- let e = (0, s.addLocale)(n.pathname, n.locale, n.buildId ? void 0 : n.defaultLocale, n.ignorePrefix);
211
- return (n.buildId || !n.trailingSlash) && (e = (0, o.removeTrailingSlash)(e)), n.buildId && (e = (0, u.addPathSuffix)((0, l.addPathPrefix)(e, "/_next/data/" + n.buildId), n.pathname === "/" ? "index.json" : ".json")), e = (0, l.addPathPrefix)(e, n.basePath), !n.buildId && n.trailingSlash ? e.endsWith("/") ? e : (0, u.addPathSuffix)(e, "/") : (0, o.removeTrailingSlash)(e);
210
+ const o = Tr(), c = gr(), u = Or(), s = xr();
211
+ function p(i) {
212
+ let e = (0, s.addLocale)(i.pathname, i.locale, i.buildId ? void 0 : i.defaultLocale, i.ignorePrefix);
213
+ return (i.buildId || !i.trailingSlash) && (e = (0, o.removeTrailingSlash)(e)), i.buildId && (e = (0, u.addPathSuffix)((0, c.addPathPrefix)(e, "/_next/data/" + i.buildId), i.pathname === "/" ? "index.json" : ".json")), e = (0, c.addPathPrefix)(e, i.basePath), !i.buildId && i.trailingSlash ? e.endsWith("/") ? e : (0, u.addPathSuffix)(e, "/") : (0, o.removeTrailingSlash)(e);
212
214
  }
213
215
  }(Te)), Te;
214
216
  }
@@ -223,12 +225,12 @@ function Ir() {
223
225
  return o;
224
226
  }
225
227
  });
226
- function o(l, u) {
228
+ function o(c, u) {
227
229
  let s;
228
230
  if (u != null && u.host && !Array.isArray(u.host))
229
231
  s = u.host.toString().split(":", 1)[0];
230
- else if (l.hostname)
231
- s = l.hostname;
232
+ else if (c.hostname)
233
+ s = c.hostname;
232
234
  else return;
233
235
  return s.toLowerCase();
234
236
  }
@@ -242,27 +244,27 @@ function Dr() {
242
244
  }), Object.defineProperty(r, "normalizeLocalePath", {
243
245
  enumerable: !0,
244
246
  get: function() {
245
- return l;
247
+ return c;
246
248
  }
247
249
  });
248
250
  const o = /* @__PURE__ */ new WeakMap();
249
- function l(u, s) {
251
+ function c(u, s) {
250
252
  if (!s) return {
251
253
  pathname: u
252
254
  };
253
- let _ = o.get(s);
254
- _ || (_ = s.map((i) => i.toLowerCase()), o.set(s, _));
255
- let n;
255
+ let p = o.get(s);
256
+ p || (p = s.map((n) => n.toLowerCase()), o.set(s, p));
257
+ let i;
256
258
  const e = u.split("/", 2);
257
259
  if (!e[1]) return {
258
260
  pathname: u
259
261
  };
260
- const a = e[1].toLowerCase(), h = _.indexOf(a);
261
- return h < 0 ? {
262
+ const a = e[1].toLowerCase(), f = p.indexOf(a);
263
+ return f < 0 ? {
262
264
  pathname: u
263
- } : (n = s[h], u = u.slice(n.length + 1) || "/", {
265
+ } : (i = s[f], u = u.slice(i.length + 1) || "/", {
264
266
  pathname: u,
265
- detectedLocale: n
267
+ detectedLocale: i
266
268
  });
267
269
  }
268
270
  }(Le)), Le;
@@ -275,15 +277,15 @@ function Cr() {
275
277
  }), Object.defineProperty(r, "removePathPrefix", {
276
278
  enumerable: !0,
277
279
  get: function() {
278
- return l;
280
+ return c;
279
281
  }
280
282
  });
281
283
  const o = pt();
282
- function l(u, s) {
284
+ function c(u, s) {
283
285
  if (!(0, o.pathHasPrefix)(u, s))
284
286
  return u;
285
- const _ = u.slice(s.length);
286
- return _.startsWith("/") ? _ : "/" + _;
287
+ const p = u.slice(s.length);
288
+ return p.startsWith("/") ? p : "/" + p;
287
289
  }
288
290
  }(qe)), qe;
289
291
  }
@@ -298,26 +300,26 @@ function kr() {
298
300
  return s;
299
301
  }
300
302
  });
301
- const o = Dr(), l = Cr(), u = pt();
302
- function s(_, n) {
303
+ const o = Dr(), c = Cr(), u = pt();
304
+ function s(p, i) {
303
305
  var e;
304
- const { basePath: a, i18n: h, trailingSlash: i } = (e = n.nextConfig) != null ? e : {}, c = {
305
- pathname: _,
306
- trailingSlash: _ !== "/" ? _.endsWith("/") : i
306
+ const { basePath: a, i18n: f, trailingSlash: n } = (e = i.nextConfig) != null ? e : {}, d = {
307
+ pathname: p,
308
+ trailingSlash: p !== "/" ? p.endsWith("/") : n
307
309
  };
308
- a && (0, u.pathHasPrefix)(c.pathname, a) && (c.pathname = (0, l.removePathPrefix)(c.pathname, a), c.basePath = a);
309
- let E = c.pathname;
310
- if (c.pathname.startsWith("/_next/data/") && c.pathname.endsWith(".json")) {
311
- const T = c.pathname.replace(/^\/_next\/data\//, "").replace(/\.json$/, "").split("/"), I = T[0];
312
- c.buildId = I, E = T[1] !== "index" ? "/" + T.slice(1).join("/") : "/", n.parseData === !0 && (c.pathname = E);
313
- }
314
- if (h) {
315
- let T = n.i18nProvider ? n.i18nProvider.analyze(c.pathname) : (0, o.normalizeLocalePath)(c.pathname, h.locales);
316
- c.locale = T.detectedLocale;
310
+ a && (0, u.pathHasPrefix)(d.pathname, a) && (d.pathname = (0, c.removePathPrefix)(d.pathname, a), d.basePath = a);
311
+ let h = d.pathname;
312
+ if (d.pathname.startsWith("/_next/data/") && d.pathname.endsWith(".json")) {
313
+ const T = d.pathname.replace(/^\/_next\/data\//, "").replace(/\.json$/, "").split("/"), I = T[0];
314
+ d.buildId = I, h = T[1] !== "index" ? "/" + T.slice(1).join("/") : "/", i.parseData === !0 && (d.pathname = h);
315
+ }
316
+ if (f) {
317
+ let T = i.i18nProvider ? i.i18nProvider.analyze(d.pathname) : (0, o.normalizeLocalePath)(d.pathname, f.locales);
318
+ d.locale = T.detectedLocale;
317
319
  var P;
318
- c.pathname = (P = T.pathname) != null ? P : c.pathname, !T.detectedLocale && c.buildId && (T = n.i18nProvider ? n.i18nProvider.analyze(E) : (0, o.normalizeLocalePath)(E, h.locales), T.detectedLocale && (c.locale = T.detectedLocale));
320
+ d.pathname = (P = T.pathname) != null ? P : d.pathname, !T.detectedLocale && d.buildId && (T = i.i18nProvider ? i.i18nProvider.analyze(h) : (0, o.normalizeLocalePath)(h, f.locales), T.detectedLocale && (d.locale = T.detectedLocale));
319
321
  }
320
- return c;
322
+ return d;
321
323
  }
322
324
  }(je)), je;
323
325
  }
@@ -332,33 +334,33 @@ function Er() {
332
334
  return a;
333
335
  }
334
336
  });
335
- const o = Sr(), l = Nr(), u = Ir(), s = kr(), _ = /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;
336
- function n(h, i) {
337
- return new URL(String(h).replace(_, "localhost"), i && String(i).replace(_, "localhost"));
337
+ 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 i(f, n) {
339
+ return new URL(String(f).replace(p, "localhost"), n && String(n).replace(p, "localhost"));
338
340
  }
339
341
  const e = Symbol("NextURLInternal");
340
342
  class a {
341
- constructor(i, c, E) {
343
+ constructor(n, d, h) {
342
344
  let P, T;
343
- typeof c == "object" && "pathname" in c || typeof c == "string" ? (P = c, T = E || {}) : T = E || c || {}, this[e] = {
344
- url: n(i, P ?? T.base),
345
+ typeof d == "object" && "pathname" in d || typeof d == "string" ? (P = d, T = h || {}) : T = h || d || {}, this[e] = {
346
+ url: i(n, P ?? T.base),
345
347
  options: T,
346
348
  basePath: ""
347
349
  }, this.analyze();
348
350
  }
349
351
  analyze() {
350
- var i, c, E, P, T;
352
+ var n, d, h, P, T;
351
353
  const I = (0, s.getNextPathnameInfo)(this[e].url.pathname, {
352
354
  nextConfig: this[e].options.nextConfig,
353
355
  parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,
354
356
  i18nProvider: this[e].options.i18nProvider
355
- }), d = (0, u.getHostname)(this[e].url, this[e].options.headers);
356
- this[e].domainLocale = this[e].options.i18nProvider ? this[e].options.i18nProvider.detectDomainLocale(d) : (0, o.detectDomainLocale)((c = this[e].options.nextConfig) == null || (i = c.i18n) == null ? void 0 : i.domains, d);
357
- const b = ((E = this[e].domainLocale) == null ? void 0 : E.defaultLocale) || ((T = this[e].options.nextConfig) == null || (P = T.i18n) == null ? void 0 : P.defaultLocale);
358
- this[e].url.pathname = I.pathname, this[e].defaultLocale = b, this[e].basePath = I.basePath ?? "", this[e].buildId = I.buildId, this[e].locale = I.locale ?? b, this[e].trailingSlash = I.trailingSlash;
357
+ }), l = (0, u.getHostname)(this[e].url, this[e].options.headers);
358
+ this[e].domainLocale = this[e].options.i18nProvider ? this[e].options.i18nProvider.detectDomainLocale(l) : (0, o.detectDomainLocale)((d = this[e].options.nextConfig) == null || (n = d.i18n) == null ? void 0 : n.domains, l);
359
+ const g = ((h = this[e].domainLocale) == null ? void 0 : h.defaultLocale) || ((T = this[e].options.nextConfig) == null || (P = T.i18n) == null ? void 0 : P.defaultLocale);
360
+ 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;
359
361
  }
360
362
  formatPathname() {
361
- return (0, l.formatNextPathnameInfo)({
363
+ return (0, c.formatNextPathnameInfo)({
362
364
  basePath: this[e].basePath,
363
365
  buildId: this[e].buildId,
364
366
  defaultLocale: this[e].options.forceLocale ? void 0 : this[e].defaultLocale,
@@ -373,21 +375,21 @@ function Er() {
373
375
  get buildId() {
374
376
  return this[e].buildId;
375
377
  }
376
- set buildId(i) {
377
- this[e].buildId = i;
378
+ set buildId(n) {
379
+ this[e].buildId = n;
378
380
  }
379
381
  get locale() {
380
382
  return this[e].locale ?? "";
381
383
  }
382
- set locale(i) {
383
- var c, E;
384
- if (!this[e].locale || !(!((E = this[e].options.nextConfig) == null || (c = E.i18n) == null) && c.locales.includes(i)))
385
- throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${i}"`), "__NEXT_ERROR_CODE", {
384
+ set locale(n) {
385
+ var d, h;
386
+ if (!this[e].locale || !(!((h = this[e].options.nextConfig) == null || (d = h.i18n) == null) && d.locales.includes(n)))
387
+ throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${n}"`), "__NEXT_ERROR_CODE", {
386
388
  value: "E597",
387
389
  enumerable: !1,
388
390
  configurable: !0
389
391
  });
390
- this[e].locale = i;
392
+ this[e].locale = n;
391
393
  }
392
394
  get defaultLocale() {
393
395
  return this[e].defaultLocale;
@@ -401,33 +403,33 @@ function Er() {
401
403
  get host() {
402
404
  return this[e].url.host;
403
405
  }
404
- set host(i) {
405
- this[e].url.host = i;
406
+ set host(n) {
407
+ this[e].url.host = n;
406
408
  }
407
409
  get hostname() {
408
410
  return this[e].url.hostname;
409
411
  }
410
- set hostname(i) {
411
- this[e].url.hostname = i;
412
+ set hostname(n) {
413
+ this[e].url.hostname = n;
412
414
  }
413
415
  get port() {
414
416
  return this[e].url.port;
415
417
  }
416
- set port(i) {
417
- this[e].url.port = i;
418
+ set port(n) {
419
+ this[e].url.port = n;
418
420
  }
419
421
  get protocol() {
420
422
  return this[e].url.protocol;
421
423
  }
422
- set protocol(i) {
423
- this[e].url.protocol = i;
424
+ set protocol(n) {
425
+ this[e].url.protocol = n;
424
426
  }
425
427
  get href() {
426
- const i = this.formatPathname(), c = this.formatSearch();
427
- return `${this.protocol}//${this.host}${i}${c}${this.hash}`;
428
+ const n = this.formatPathname(), d = this.formatSearch();
429
+ return `${this.protocol}//${this.host}${n}${d}${this.hash}`;
428
430
  }
429
- set href(i) {
430
- this[e].url = n(i), this.analyze();
431
+ set href(n) {
432
+ this[e].url = i(n), this.analyze();
431
433
  }
432
434
  get origin() {
433
435
  return this[e].url.origin;
@@ -435,38 +437,38 @@ function Er() {
435
437
  get pathname() {
436
438
  return this[e].url.pathname;
437
439
  }
438
- set pathname(i) {
439
- this[e].url.pathname = i;
440
+ set pathname(n) {
441
+ this[e].url.pathname = n;
440
442
  }
441
443
  get hash() {
442
444
  return this[e].url.hash;
443
445
  }
444
- set hash(i) {
445
- this[e].url.hash = i;
446
+ set hash(n) {
447
+ this[e].url.hash = n;
446
448
  }
447
449
  get search() {
448
450
  return this[e].url.search;
449
451
  }
450
- set search(i) {
451
- this[e].url.search = i;
452
+ set search(n) {
453
+ this[e].url.search = n;
452
454
  }
453
455
  get password() {
454
456
  return this[e].url.password;
455
457
  }
456
- set password(i) {
457
- this[e].url.password = i;
458
+ set password(n) {
459
+ this[e].url.password = n;
458
460
  }
459
461
  get username() {
460
462
  return this[e].url.username;
461
463
  }
462
- set username(i) {
463
- this[e].url.username = i;
464
+ set username(n) {
465
+ this[e].url.username = n;
464
466
  }
465
467
  get basePath() {
466
468
  return this[e].basePath;
467
469
  }
468
- set basePath(i) {
469
- this[e].basePath = i.startsWith("/") ? i : `/${i}`;
470
+ set basePath(n) {
471
+ this[e].basePath = n.startsWith("/") ? n : `/${n}`;
470
472
  }
471
473
  toString() {
472
474
  return this.href;
@@ -510,13 +512,13 @@ function jr() {
510
512
  }
511
513
  o(r, {
512
514
  ACTION_SUFFIX: function() {
513
- return c;
515
+ return d;
514
516
  },
515
517
  APP_DIR_ALIAS: function() {
516
518
  return Q;
517
519
  },
518
520
  CACHE_ONE_YEAR: function() {
519
- return m;
521
+ return b;
520
522
  },
521
523
  DOT_NEXT_ALIAS: function() {
522
524
  return G;
@@ -555,10 +557,10 @@ function jr() {
555
557
  return v;
556
558
  },
557
559
  NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
558
- return d;
560
+ return l;
559
561
  },
560
562
  NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
561
- return b;
563
+ return g;
562
564
  },
563
565
  NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
564
566
  return t;
@@ -567,13 +569,13 @@ function jr() {
567
569
  return I;
568
570
  },
569
571
  NEXT_CACHE_TAG_MAX_ITEMS: function() {
570
- return p;
572
+ return m;
571
573
  },
572
574
  NEXT_CACHE_TAG_MAX_LENGTH: function() {
573
575
  return y;
574
576
  },
575
577
  NEXT_DATA_SUFFIX: function() {
576
- return E;
578
+ return h;
577
579
  },
578
580
  NEXT_INTERCEPTION_MARKER_PREFIX: function() {
579
581
  return u;
@@ -582,22 +584,22 @@ function jr() {
582
584
  return P;
583
585
  },
584
586
  NEXT_QUERY_PARAM_PREFIX: function() {
585
- return l;
587
+ return c;
586
588
  },
587
589
  NEXT_RESUME_HEADER: function() {
588
- return f;
590
+ return _;
589
591
  },
590
592
  NON_STANDARD_NODE_ENV: function() {
591
- return g;
593
+ return E;
592
594
  },
593
595
  PAGES_DIR_ALIAS: function() {
594
596
  return U;
595
597
  },
596
598
  PRERENDER_REVALIDATE_HEADER: function() {
597
- return _;
599
+ return p;
598
600
  },
599
601
  PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
600
- return n;
602
+ return i;
601
603
  },
602
604
  PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
603
605
  return le;
@@ -630,10 +632,10 @@ function jr() {
630
632
  return a;
631
633
  },
632
634
  RSC_SEGMENT_SUFFIX: function() {
633
- return h;
635
+ return f;
634
636
  },
635
637
  RSC_SUFFIX: function() {
636
- return i;
638
+ return n;
637
639
  },
638
640
  SERVER_PROPS_EXPORT_ERROR: function() {
639
641
  return se;
@@ -666,7 +668,7 @@ function jr() {
666
668
  return W;
667
669
  }
668
670
  });
669
- const l = "nxtP", u = "nxtI", s = "x-matched-path", _ = "x-prerender-revalidate", n = "x-prerender-revalidate-if-generated", e = ".prefetch.rsc", a = ".segments", h = ".segment.rsc", i = ".rsc", c = ".action", E = ".json", P = ".meta", T = ".body", I = "x-next-cache-tags", d = "x-next-revalidated-tags", b = "x-next-revalidate-tag-token", f = "next-resume", p = 128, y = 256, t = 1024, v = "_N_T_", m = 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", g = '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 = [
671
+ const c = "nxtP", u = "nxtI", s = "x-matched-path", p = "x-prerender-revalidate", i = "x-prerender-revalidate-if-generated", e = ".prefetch.rsc", a = ".segments", f = ".segment.rsc", n = ".rsc", d = ".action", h = ".json", P = ".meta", T = ".body", I = "x-next-cache-tags", l = "x-next-revalidated-tags", g = "x-next-revalidate-tag-token", _ = "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 = [
670
672
  "app",
671
673
  "pages",
672
674
  "components",
@@ -783,10 +785,10 @@ function Rr() {
783
785
  Object.defineProperty(r, "__esModule", {
784
786
  value: !0
785
787
  });
786
- function o(a, h) {
787
- for (var i in h) Object.defineProperty(a, i, {
788
+ function o(a, f) {
789
+ for (var n in f) Object.defineProperty(a, n, {
788
790
  enumerable: !0,
789
- get: h[i]
791
+ get: f[n]
790
792
  });
791
793
  }
792
794
  o(r, {
@@ -800,59 +802,59 @@ function Rr() {
800
802
  return s;
801
803
  },
802
804
  toNodeOutgoingHttpHeaders: function() {
803
- return _;
805
+ return p;
804
806
  },
805
807
  validateURL: function() {
806
- return n;
808
+ return i;
807
809
  }
808
810
  });
809
- const l = jr();
811
+ const c = jr();
810
812
  function u(a) {
811
- const h = new Headers();
812
- for (let [i, c] of Object.entries(a)) {
813
- const E = Array.isArray(c) ? c : [
814
- c
813
+ const f = new Headers();
814
+ for (let [n, d] of Object.entries(a)) {
815
+ const h = Array.isArray(d) ? d : [
816
+ d
815
817
  ];
816
- for (let P of E)
817
- typeof P > "u" || (typeof P == "number" && (P = P.toString()), h.append(i, P));
818
+ for (let P of h)
819
+ typeof P > "u" || (typeof P == "number" && (P = P.toString()), f.append(n, P));
818
820
  }
819
- return h;
821
+ return f;
820
822
  }
821
823
  function s(a) {
822
- var h = [], i = 0, c, E, P, T, I;
823
- function d() {
824
- for (; i < a.length && /\s/.test(a.charAt(i)); )
825
- i += 1;
826
- return i < a.length;
827
- }
828
- function b() {
829
- return E = a.charAt(i), E !== "=" && E !== ";" && E !== ",";
830
- }
831
- for (; i < a.length; ) {
832
- for (c = i, I = !1; d(); )
833
- if (E = a.charAt(i), E === ",") {
834
- for (P = i, i += 1, d(), T = i; i < a.length && b(); )
835
- i += 1;
836
- i < a.length && a.charAt(i) === "=" ? (I = !0, i = T, h.push(a.substring(c, P)), c = i) : i = P + 1;
824
+ var f = [], n = 0, d, h, P, T, I;
825
+ function l() {
826
+ for (; n < a.length && /\s/.test(a.charAt(n)); )
827
+ n += 1;
828
+ return n < a.length;
829
+ }
830
+ function g() {
831
+ return h = a.charAt(n), h !== "=" && h !== ";" && h !== ",";
832
+ }
833
+ for (; n < a.length; ) {
834
+ for (d = n, I = !1; l(); )
835
+ if (h = a.charAt(n), h === ",") {
836
+ for (P = n, n += 1, l(), T = n; n < a.length && g(); )
837
+ n += 1;
838
+ n < a.length && a.charAt(n) === "=" ? (I = !0, n = T, f.push(a.substring(d, P)), d = n) : n = P + 1;
837
839
  } else
838
- i += 1;
839
- (!I || i >= a.length) && h.push(a.substring(c, a.length));
840
+ n += 1;
841
+ (!I || n >= a.length) && f.push(a.substring(d, a.length));
840
842
  }
841
- return h;
843
+ return f;
842
844
  }
843
- function _(a) {
844
- const h = {}, i = [];
845
+ function p(a) {
846
+ const f = {}, n = [];
845
847
  if (a)
846
- for (const [c, E] of a.entries())
847
- c.toLowerCase() === "set-cookie" ? (i.push(...s(E)), h[c] = i.length === 1 ? i[0] : i) : h[c] = E;
848
- return h;
848
+ for (const [d, h] of a.entries())
849
+ d.toLowerCase() === "set-cookie" ? (n.push(...s(h)), f[d] = n.length === 1 ? n[0] : n) : f[d] = h;
850
+ return f;
849
851
  }
850
- function n(a) {
852
+ function i(a) {
851
853
  try {
852
854
  return String(new URL(String(a)));
853
- } catch (h) {
855
+ } catch (f) {
854
856
  throw Object.defineProperty(new Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, {
855
- cause: h
857
+ cause: f
856
858
  }), "__NEXT_ERROR_CODE", {
857
859
  value: "E61",
858
860
  enumerable: !1,
@@ -861,13 +863,13 @@ function Rr() {
861
863
  }
862
864
  }
863
865
  function e(a) {
864
- const h = [
865
- l.NEXT_QUERY_PARAM_PREFIX,
866
- l.NEXT_INTERCEPTION_MARKER_PREFIX
866
+ const f = [
867
+ c.NEXT_QUERY_PARAM_PREFIX,
868
+ c.NEXT_INTERCEPTION_MARKER_PREFIX
867
869
  ];
868
- for (const i of h)
869
- if (a !== i && a.startsWith(i))
870
- return a.substring(i.length);
870
+ for (const n of f)
871
+ if (a !== n && a.startsWith(n))
872
+ return a.substring(n.length);
871
873
  return null;
872
874
  }
873
875
  }(Me)), Me;
@@ -878,15 +880,15 @@ function Lr() {
878
880
  Object.defineProperty(r, "__esModule", {
879
881
  value: !0
880
882
  });
881
- function o(_, n) {
882
- for (var e in n) Object.defineProperty(_, e, {
883
+ function o(p, i) {
884
+ for (var e in i) Object.defineProperty(p, e, {
883
885
  enumerable: !0,
884
- get: n[e]
886
+ get: i[e]
885
887
  });
886
888
  }
887
889
  o(r, {
888
890
  PageSignatureError: function() {
889
- return l;
891
+ return c;
890
892
  },
891
893
  RemovedPageError: function() {
892
894
  return u;
@@ -895,9 +897,9 @@ function Lr() {
895
897
  return s;
896
898
  }
897
899
  });
898
- class l extends Error {
899
- constructor({ page: n }) {
900
- super(`The middleware "${n}" accepts an async API directly with the form:
900
+ class c extends Error {
901
+ constructor({ page: i }) {
902
+ super(`The middleware "${i}" accepts an async API directly with the form:
901
903
 
902
904
  export function middleware(request, event) {
903
905
  return NextResponse.redirect('/new-location')
@@ -923,25 +925,25 @@ var Xe = {}, Ge, Ut;
923
925
  function qr() {
924
926
  if (Ut) return Ge;
925
927
  Ut = 1;
926
- var r = Object.defineProperty, o = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, s = (t, v) => {
927
- for (var m in v)
928
- r(t, m, { get: v[m], enumerable: !0 });
929
- }, _ = (t, v, m, w) => {
928
+ var r = Object.defineProperty, o = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, s = (t, v) => {
929
+ for (var b in v)
930
+ r(t, b, { get: v[b], enumerable: !0 });
931
+ }, p = (t, v, b, w) => {
930
932
  if (v && typeof v == "object" || typeof v == "function")
931
- for (let S of l(v))
932
- !u.call(t, S) && S !== m && r(t, S, { get: () => v[S], enumerable: !(w = o(v, S)) || w.enumerable });
933
+ for (let S of c(v))
934
+ !u.call(t, S) && S !== b && r(t, S, { get: () => v[S], enumerable: !(w = o(v, S)) || w.enumerable });
933
935
  return t;
934
- }, n = (t) => _(r({}, "__esModule", { value: !0 }), t), e = {};
936
+ }, i = (t) => p(r({}, "__esModule", { value: !0 }), t), e = {};
935
937
  s(e, {
936
- RequestCookies: () => b,
937
- ResponseCookies: () => f,
938
- parseCookie: () => h,
939
- parseSetCookie: () => i,
938
+ RequestCookies: () => g,
939
+ ResponseCookies: () => _,
940
+ parseCookie: () => f,
941
+ parseSetCookie: () => n,
940
942
  stringifyCookie: () => a
941
- }), Ge = n(e);
943
+ }), Ge = i(e);
942
944
  function a(t) {
943
945
  var v;
944
- const m = [
946
+ const b = [
945
947
  "path" in t && t.path && `Path=${t.path}`,
946
948
  "expires" in t && (t.expires || t.expires === 0) && `Expires=${(typeof t.expires == "number" ? new Date(t.expires) : t.expires).toUTCString()}`,
947
949
  "maxAge" in t && typeof t.maxAge == "number" && `Max-Age=${t.maxAge}`,
@@ -952,19 +954,19 @@ function qr() {
952
954
  "partitioned" in t && t.partitioned && "Partitioned",
953
955
  "priority" in t && t.priority && `Priority=${t.priority}`
954
956
  ].filter(Boolean), w = `${t.name}=${encodeURIComponent((v = t.value) != null ? v : "")}`;
955
- return m.length === 0 ? w : `${w}; ${m.join("; ")}`;
957
+ return b.length === 0 ? w : `${w}; ${b.join("; ")}`;
956
958
  }
957
- function h(t) {
959
+ function f(t) {
958
960
  const v = /* @__PURE__ */ new Map();
959
- for (const m of t.split(/; */)) {
960
- if (!m)
961
+ for (const b of t.split(/; */)) {
962
+ if (!b)
961
963
  continue;
962
- const w = m.indexOf("=");
964
+ const w = b.indexOf("=");
963
965
  if (w === -1) {
964
- v.set(m, "true");
966
+ v.set(b, "true");
965
967
  continue;
966
968
  }
967
- const [S, j] = [m.slice(0, w), m.slice(w + 1)];
969
+ const [S, j] = [b.slice(0, w), b.slice(w + 1)];
968
970
  try {
969
971
  v.set(S, decodeURIComponent(j ?? "true"));
970
972
  } catch {
@@ -972,10 +974,10 @@ function qr() {
972
974
  }
973
975
  return v;
974
976
  }
975
- function i(t) {
977
+ function n(t) {
976
978
  if (!t)
977
979
  return;
978
- const [[v, m], ...w] = h(t), {
980
+ const [[v, b], ...w] = f(t), {
979
981
  domain: S,
980
982
  expires: j,
981
983
  httponly: X,
@@ -992,7 +994,7 @@ function qr() {
992
994
  ])
993
995
  ), z = {
994
996
  name: v,
995
- value: decodeURIComponent(m),
997
+ value: decodeURIComponent(b),
996
998
  domain: S,
997
999
  ...j && { expires: new Date(j) },
998
1000
  ...X && { httpOnly: !0 },
@@ -1003,53 +1005,53 @@ function qr() {
1003
1005
  ...F && { priority: I(F) },
1004
1006
  ...Z && { partitioned: !0 }
1005
1007
  };
1006
- return c(z);
1008
+ return d(z);
1007
1009
  }
1008
- function c(t) {
1010
+ function d(t) {
1009
1011
  const v = {};
1010
- for (const m in t)
1011
- t[m] && (v[m] = t[m]);
1012
+ for (const b in t)
1013
+ t[b] && (v[b] = t[b]);
1012
1014
  return v;
1013
1015
  }
1014
- var E = ["strict", "lax", "none"];
1016
+ var h = ["strict", "lax", "none"];
1015
1017
  function P(t) {
1016
- return t = t.toLowerCase(), E.includes(t) ? t : void 0;
1018
+ return t = t.toLowerCase(), h.includes(t) ? t : void 0;
1017
1019
  }
1018
1020
  var T = ["low", "medium", "high"];
1019
1021
  function I(t) {
1020
1022
  return t = t.toLowerCase(), T.includes(t) ? t : void 0;
1021
1023
  }
1022
- function d(t) {
1024
+ function l(t) {
1023
1025
  if (!t)
1024
1026
  return [];
1025
- var v = [], m = 0, w, S, j, X, U;
1027
+ var v = [], b = 0, w, S, j, X, U;
1026
1028
  function G() {
1027
- for (; m < t.length && /\s/.test(t.charAt(m)); )
1028
- m += 1;
1029
- return m < t.length;
1029
+ for (; b < t.length && /\s/.test(t.charAt(b)); )
1030
+ b += 1;
1031
+ return b < t.length;
1030
1032
  }
1031
1033
  function H() {
1032
- return S = t.charAt(m), S !== "=" && S !== ";" && S !== ",";
1033
- }
1034
- for (; m < t.length; ) {
1035
- for (w = m, U = !1; G(); )
1036
- if (S = t.charAt(m), S === ",") {
1037
- for (j = m, m += 1, G(), X = m; m < t.length && H(); )
1038
- m += 1;
1039
- m < t.length && t.charAt(m) === "=" ? (U = !0, m = X, v.push(t.substring(w, j)), w = m) : m = j + 1;
1034
+ return S = t.charAt(b), S !== "=" && S !== ";" && S !== ",";
1035
+ }
1036
+ for (; b < t.length; ) {
1037
+ for (w = b, U = !1; G(); )
1038
+ if (S = t.charAt(b), S === ",") {
1039
+ for (j = b, b += 1, G(), X = b; b < t.length && H(); )
1040
+ b += 1;
1041
+ b < t.length && t.charAt(b) === "=" ? (U = !0, b = X, v.push(t.substring(w, j)), w = b) : b = j + 1;
1040
1042
  } else
1041
- m += 1;
1042
- (!U || m >= t.length) && v.push(t.substring(w, t.length));
1043
+ b += 1;
1044
+ (!U || b >= t.length) && v.push(t.substring(w, t.length));
1043
1045
  }
1044
1046
  return v;
1045
1047
  }
1046
- var b = class {
1048
+ var g = class {
1047
1049
  constructor(t) {
1048
1050
  this._parsed = /* @__PURE__ */ new Map(), this._headers = t;
1049
1051
  const v = t.get("cookie");
1050
1052
  if (v) {
1051
- const m = h(v);
1052
- for (const [w, S] of m)
1053
+ const b = f(v);
1054
+ for (const [w, S] of b)
1053
1055
  this._parsed.set(w, { name: w, value: S });
1054
1056
  }
1055
1057
  }
@@ -1068,18 +1070,18 @@ function qr() {
1068
1070
  }
1069
1071
  getAll(...t) {
1070
1072
  var v;
1071
- const m = Array.from(this._parsed);
1073
+ const b = Array.from(this._parsed);
1072
1074
  if (!t.length)
1073
- return m.map(([S, j]) => j);
1075
+ return b.map(([S, j]) => j);
1074
1076
  const w = typeof t[0] == "string" ? t[0] : (v = t[0]) == null ? void 0 : v.name;
1075
- return m.filter(([S]) => S === w).map(([S, j]) => j);
1077
+ return b.filter(([S]) => S === w).map(([S, j]) => j);
1076
1078
  }
1077
1079
  has(t) {
1078
1080
  return this._parsed.has(t);
1079
1081
  }
1080
1082
  set(...t) {
1081
- const [v, m] = t.length === 1 ? [t[0].name, t[0].value] : t, w = this._parsed;
1082
- return w.set(v, { name: v, value: m }), this._headers.set(
1083
+ const [v, b] = t.length === 1 ? [t[0].name, t[0].value] : t, w = this._parsed;
1084
+ return w.set(v, { name: v, value: b }), this._headers.set(
1083
1085
  "cookie",
1084
1086
  Array.from(w).map(([S, j]) => a(j)).join("; ")
1085
1087
  ), this;
@@ -1088,11 +1090,11 @@ function qr() {
1088
1090
  * Delete the cookies matching the passed name or names in the request.
1089
1091
  */
1090
1092
  delete(t) {
1091
- const v = this._parsed, m = Array.isArray(t) ? t.map((w) => v.delete(w)) : v.delete(t);
1093
+ const v = this._parsed, b = Array.isArray(t) ? t.map((w) => v.delete(w)) : v.delete(t);
1092
1094
  return this._headers.set(
1093
1095
  "cookie",
1094
1096
  Array.from(v).map(([w, S]) => a(S)).join("; ")
1095
- ), m;
1097
+ ), b;
1096
1098
  }
1097
1099
  /**
1098
1100
  * Delete all the cookies in the cookies in the request.
@@ -1109,14 +1111,14 @@ function qr() {
1109
1111
  toString() {
1110
1112
  return [...this._parsed.values()].map((t) => `${t.name}=${encodeURIComponent(t.value)}`).join("; ");
1111
1113
  }
1112
- }, f = class {
1114
+ }, _ = class {
1113
1115
  constructor(t) {
1114
1116
  this._parsed = /* @__PURE__ */ new Map();
1115
- var v, m, w;
1117
+ var v, b, w;
1116
1118
  this._headers = t;
1117
- const S = (w = (m = (v = t.getSetCookie) == null ? void 0 : v.call(t)) != null ? m : t.get("set-cookie")) != null ? w : [], j = Array.isArray(S) ? S : d(S);
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 : l(S);
1118
1120
  for (const X of j) {
1119
- const U = i(X);
1121
+ const U = n(X);
1120
1122
  U && this._parsed.set(U.name, U);
1121
1123
  }
1122
1124
  }
@@ -1132,11 +1134,11 @@ function qr() {
1132
1134
  */
1133
1135
  getAll(...t) {
1134
1136
  var v;
1135
- const m = Array.from(this._parsed.values());
1137
+ const b = Array.from(this._parsed.values());
1136
1138
  if (!t.length)
1137
- return m;
1139
+ return b;
1138
1140
  const w = typeof t[0] == "string" ? t[0] : (v = t[0]) == null ? void 0 : v.name;
1139
- return m.filter((S) => S.name === w);
1141
+ return b.filter((S) => S.name === w);
1140
1142
  }
1141
1143
  has(t) {
1142
1144
  return this._parsed.has(t);
@@ -1145,15 +1147,15 @@ function qr() {
1145
1147
  * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.
1146
1148
  */
1147
1149
  set(...t) {
1148
- const [v, m, w] = t.length === 1 ? [t[0].name, t[0].value, t[0]] : t, S = this._parsed;
1149
- return S.set(v, y({ name: v, value: m, ...w })), p(S, this._headers), this;
1150
+ const [v, b, w] = t.length === 1 ? [t[0].name, t[0].value, t[0]] : t, S = this._parsed;
1151
+ return S.set(v, y({ name: v, value: b, ...w })), m(S, this._headers), this;
1150
1152
  }
1151
1153
  /**
1152
1154
  * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.
1153
1155
  */
1154
1156
  delete(...t) {
1155
- const [v, m] = typeof t[0] == "string" ? [t[0]] : [t[0].name, t[0]];
1156
- return this.set({ ...m, name: v, value: "", expires: /* @__PURE__ */ new Date(0) });
1157
+ const [v, b] = typeof t[0] == "string" ? [t[0]] : [t[0].name, t[0]];
1158
+ return this.set({ ...b, name: v, value: "", expires: /* @__PURE__ */ new Date(0) });
1157
1159
  }
1158
1160
  [Symbol.for("edge-runtime.inspect.custom")]() {
1159
1161
  return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;
@@ -1162,10 +1164,10 @@ function qr() {
1162
1164
  return [...this._parsed.values()].map(a).join("; ");
1163
1165
  }
1164
1166
  };
1165
- function p(t, v) {
1167
+ function m(t, v) {
1166
1168
  v.delete("set-cookie");
1167
- for (const [, m] of t) {
1168
- const w = a(m);
1169
+ for (const [, b] of t) {
1170
+ const w = a(b);
1169
1171
  v.append("set-cookie", w);
1170
1172
  }
1171
1173
  }
@@ -1181,23 +1183,23 @@ function ht() {
1181
1183
  value: !0
1182
1184
  });
1183
1185
  function o(u, s) {
1184
- for (var _ in s) Object.defineProperty(u, _, {
1186
+ for (var p in s) Object.defineProperty(u, p, {
1185
1187
  enumerable: !0,
1186
- get: s[_]
1188
+ get: s[p]
1187
1189
  });
1188
1190
  }
1189
1191
  o(r, {
1190
1192
  RequestCookies: function() {
1191
- return l.RequestCookies;
1193
+ return c.RequestCookies;
1192
1194
  },
1193
1195
  ResponseCookies: function() {
1194
- return l.ResponseCookies;
1196
+ return c.ResponseCookies;
1195
1197
  },
1196
1198
  stringifyCookie: function() {
1197
- return l.stringifyCookie;
1199
+ return c.stringifyCookie;
1198
1200
  }
1199
1201
  });
1200
- const l = qr();
1202
+ const c = qr();
1201
1203
  }(Xe)), Xe;
1202
1204
  }
1203
1205
  var Xt;
@@ -1206,33 +1208,33 @@ function Mr() {
1206
1208
  Object.defineProperty(r, "__esModule", {
1207
1209
  value: !0
1208
1210
  });
1209
- function o(a, h) {
1210
- for (var i in h) Object.defineProperty(a, i, {
1211
+ function o(a, f) {
1212
+ for (var n in f) Object.defineProperty(a, n, {
1211
1213
  enumerable: !0,
1212
- get: h[i]
1214
+ get: f[n]
1213
1215
  });
1214
1216
  }
1215
1217
  o(r, {
1216
1218
  INTERNALS: function() {
1217
- return n;
1219
+ return i;
1218
1220
  },
1219
1221
  NextRequest: function() {
1220
1222
  return e;
1221
1223
  }
1222
1224
  });
1223
- const l = Er(), u = Rr(), s = Lr(), _ = ht(), n = Symbol("internal request");
1225
+ const c = Er(), u = Rr(), s = Lr(), p = ht(), i = Symbol("internal request");
1224
1226
  class e extends Request {
1225
- constructor(h, i = {}) {
1226
- const c = typeof h != "string" && "url" in h ? h.url : String(h);
1227
- (0, u.validateURL)(c), process.env.NEXT_RUNTIME !== "edge" && i.body && i.duplex !== "half" && (i.duplex = "half"), h instanceof Request ? super(h, i) : super(c, i);
1228
- const E = new l.NextURL(c, {
1227
+ constructor(f, n = {}) {
1228
+ const d = typeof f != "string" && "url" in f ? f.url : String(f);
1229
+ (0, u.validateURL)(d), process.env.NEXT_RUNTIME !== "edge" && n.body && n.duplex !== "half" && (n.duplex = "half"), f instanceof Request ? super(f, n) : super(d, n);
1230
+ const h = new c.NextURL(d, {
1229
1231
  headers: (0, u.toNodeOutgoingHttpHeaders)(this.headers),
1230
- nextConfig: i.nextConfig
1232
+ nextConfig: n.nextConfig
1231
1233
  });
1232
- this[n] = {
1233
- cookies: new _.RequestCookies(this.headers),
1234
- nextUrl: E,
1235
- url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? c : E.toString()
1234
+ this[i] = {
1235
+ cookies: new p.RequestCookies(this.headers),
1236
+ nextUrl: h,
1237
+ url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? d : h.toString()
1236
1238
  };
1237
1239
  }
1238
1240
  [Symbol.for("edge-runtime.inspect.custom")]() {
@@ -1257,10 +1259,10 @@ function Mr() {
1257
1259
  };
1258
1260
  }
1259
1261
  get cookies() {
1260
- return this[n].cookies;
1262
+ return this[i].cookies;
1261
1263
  }
1262
1264
  get nextUrl() {
1263
- return this[n].nextUrl;
1265
+ return this[i].nextUrl;
1264
1266
  }
1265
1267
  /**
1266
1268
  * @deprecated
@@ -1279,7 +1281,7 @@ function Mr() {
1279
1281
  throw new s.RemovedUAError();
1280
1282
  }
1281
1283
  get url() {
1282
- return this[n].url;
1284
+ return this[i].url;
1283
1285
  }
1284
1286
  }
1285
1287
  }(Ae)), Ae;
@@ -1296,12 +1298,12 @@ function Ur() {
1296
1298
  }
1297
1299
  });
1298
1300
  class o {
1299
- static get(u, s, _) {
1300
- const n = Reflect.get(u, s, _);
1301
- return typeof n == "function" ? n.bind(u) : n;
1301
+ static get(u, s, p) {
1302
+ const i = Reflect.get(u, s, p);
1303
+ return typeof i == "function" ? i.bind(u) : i;
1302
1304
  }
1303
- static set(u, s, _, n) {
1304
- return Reflect.set(u, s, _, n);
1305
+ static set(u, s, p, i) {
1306
+ return Reflect.set(u, s, p, i);
1305
1307
  }
1306
1308
  static has(u, s) {
1307
1309
  return Reflect.has(u, s);
@@ -1320,53 +1322,53 @@ function Hr() {
1320
1322
  }), Object.defineProperty(r, "NextResponse", {
1321
1323
  enumerable: !0,
1322
1324
  get: function() {
1323
- return h;
1325
+ return f;
1324
1326
  }
1325
1327
  });
1326
- const o = ht(), l = Er(), u = Rr(), s = Ur(), _ = ht(), n = Symbol("internal response"), e = /* @__PURE__ */ new Set([
1328
+ const o = ht(), c = Er(), u = Rr(), s = Ur(), p = ht(), i = Symbol("internal response"), e = /* @__PURE__ */ new Set([
1327
1329
  301,
1328
1330
  302,
1329
1331
  303,
1330
1332
  307,
1331
1333
  308
1332
1334
  ]);
1333
- function a(i, c) {
1334
- var E;
1335
- if (!(i == null || (E = i.request) == null) && E.headers) {
1336
- if (!(i.request.headers instanceof Headers))
1335
+ function a(n, d) {
1336
+ var h;
1337
+ if (!(n == null || (h = n.request) == null) && h.headers) {
1338
+ if (!(n.request.headers instanceof Headers))
1337
1339
  throw Object.defineProperty(new Error("request.headers must be an instance of Headers"), "__NEXT_ERROR_CODE", {
1338
1340
  value: "E119",
1339
1341
  enumerable: !1,
1340
1342
  configurable: !0
1341
1343
  });
1342
1344
  const P = [];
1343
- for (const [T, I] of i.request.headers)
1344
- c.set("x-middleware-request-" + T, I), P.push(T);
1345
- c.set("x-middleware-override-headers", P.join(","));
1345
+ for (const [T, I] of n.request.headers)
1346
+ d.set("x-middleware-request-" + T, I), P.push(T);
1347
+ d.set("x-middleware-override-headers", P.join(","));
1346
1348
  }
1347
1349
  }
1348
- class h extends Response {
1349
- constructor(c, E = {}) {
1350
- super(c, E);
1351
- const P = this.headers, T = new _.ResponseCookies(P), I = new Proxy(T, {
1352
- get(d, b, f) {
1353
- switch (b) {
1350
+ class f extends Response {
1351
+ constructor(d, h = {}) {
1352
+ super(d, h);
1353
+ const P = this.headers, T = new p.ResponseCookies(P), I = new Proxy(T, {
1354
+ get(l, g, _) {
1355
+ switch (g) {
1354
1356
  case "delete":
1355
1357
  case "set":
1356
- return (...p) => {
1357
- const y = Reflect.apply(d[b], d, p), t = new Headers(P);
1358
- return y instanceof _.ResponseCookies && P.set("x-middleware-set-cookie", y.getAll().map((v) => (0, o.stringifyCookie)(v)).join(",")), a(E, t), y;
1358
+ return (...m) => {
1359
+ const y = Reflect.apply(l[g], l, m), t = new Headers(P);
1360
+ return y instanceof p.ResponseCookies && P.set("x-middleware-set-cookie", y.getAll().map((v) => (0, o.stringifyCookie)(v)).join(",")), a(h, t), y;
1359
1361
  };
1360
1362
  default:
1361
- return s.ReflectAdapter.get(d, b, f);
1363
+ return s.ReflectAdapter.get(l, g, _);
1362
1364
  }
1363
1365
  }
1364
1366
  });
1365
- this[n] = {
1367
+ this[i] = {
1366
1368
  cookies: I,
1367
- url: E.url ? new l.NextURL(E.url, {
1369
+ url: h.url ? new c.NextURL(h.url, {
1368
1370
  headers: (0, u.toNodeOutgoingHttpHeaders)(P),
1369
- nextConfig: E.nextConfig
1371
+ nextConfig: h.nextConfig
1370
1372
  }) : void 0
1371
1373
  };
1372
1374
  }
@@ -1386,39 +1388,39 @@ function Hr() {
1386
1388
  };
1387
1389
  }
1388
1390
  get cookies() {
1389
- return this[n].cookies;
1391
+ return this[i].cookies;
1390
1392
  }
1391
- static json(c, E) {
1392
- const P = Response.json(c, E);
1393
- return new h(P.body, P);
1393
+ static json(d, h) {
1394
+ const P = Response.json(d, h);
1395
+ return new f(P.body, P);
1394
1396
  }
1395
- static redirect(c, E) {
1396
- const P = typeof E == "number" ? E : (E == null ? void 0 : E.status) ?? 307;
1397
+ static redirect(d, h) {
1398
+ const P = typeof h == "number" ? h : (h == null ? void 0 : h.status) ?? 307;
1397
1399
  if (!e.has(P))
1398
1400
  throw Object.defineProperty(new RangeError('Failed to execute "redirect" on "response": Invalid status code'), "__NEXT_ERROR_CODE", {
1399
1401
  value: "E529",
1400
1402
  enumerable: !1,
1401
1403
  configurable: !0
1402
1404
  });
1403
- const T = typeof E == "object" ? E : {}, I = new Headers(T == null ? void 0 : T.headers);
1404
- return I.set("Location", (0, u.validateURL)(c)), new h(null, {
1405
+ const T = typeof h == "object" ? h : {}, I = new Headers(T == null ? void 0 : T.headers);
1406
+ return I.set("Location", (0, u.validateURL)(d)), new f(null, {
1405
1407
  ...T,
1406
1408
  headers: I,
1407
1409
  status: P
1408
1410
  });
1409
1411
  }
1410
- static rewrite(c, E) {
1411
- const P = new Headers(E == null ? void 0 : E.headers);
1412
- return P.set("x-middleware-rewrite", (0, u.validateURL)(c)), a(E, P), new h(null, {
1413
- ...E,
1412
+ static rewrite(d, h) {
1413
+ const P = new Headers(h == null ? void 0 : h.headers);
1414
+ return P.set("x-middleware-rewrite", (0, u.validateURL)(d)), a(h, P), new f(null, {
1415
+ ...h,
1414
1416
  headers: P
1415
1417
  });
1416
1418
  }
1417
- static next(c) {
1418
- const E = new Headers(c == null ? void 0 : c.headers);
1419
- return E.set("x-middleware-next", "1"), a(c, E), new h(null, {
1420
- ...c,
1421
- headers: E
1419
+ static next(d) {
1420
+ const h = new Headers(d == null ? void 0 : d.headers);
1421
+ return h.set("x-middleware-next", "1"), a(d, h), new f(null, {
1422
+ ...d,
1423
+ headers: h
1422
1424
  });
1423
1425
  }
1424
1426
  }
@@ -1447,9 +1449,9 @@ function Xr() {
1447
1449
  var We = {}, ze = { exports: {} }, Bt;
1448
1450
  function Gr() {
1449
1451
  return Bt || (Bt = 1, (() => {
1450
- var r = { 226: function(s, _) {
1451
- (function(n, e) {
1452
- var a = "1.0.35", h = "", i = "?", c = "function", E = "undefined", P = "object", T = "string", I = "major", d = "model", b = "name", f = "type", p = "vendor", y = "version", t = "architecture", v = "console", m = "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", g = "Facebook", A = "Chromium OS", C = "Mac OS", M = function(D, L) {
1452
+ var r = { 226: function(s, p) {
1453
+ (function(i, e) {
1454
+ var a = "1.0.35", f = "", n = "?", d = "function", h = "undefined", P = "object", T = "string", I = "major", l = "model", g = "name", _ = "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) {
1453
1455
  var N = {};
1454
1456
  for (var q in D)
1455
1457
  L[q] && L[q].length % 2 === 0 ? N[q] = L[q].concat(D[q]) : N[q] = D[q];
@@ -1463,17 +1465,17 @@ function Gr() {
1463
1465
  }, W = function(D) {
1464
1466
  return D.toLowerCase();
1465
1467
  }, ce = function(D) {
1466
- return typeof D === T ? D.replace(/[^\d\.]/g, h).split(".")[0] : e;
1468
+ return typeof D === T ? D.replace(/[^\d\.]/g, f).split(".")[0] : e;
1467
1469
  }, he = function(D, L) {
1468
1470
  if (typeof D === T)
1469
- return D = D.replace(/^\s\s*/, h), typeof L === E ? D : D.substring(0, U);
1471
+ return D = D.replace(/^\s\s*/, f), typeof L === h ? D : D.substring(0, U);
1470
1472
  }, ne = function(D, L) {
1471
1473
  for (var N = 0, q, ie, Y, k, x, K; N < L.length && !x; ) {
1472
1474
  var ve = L[N], wt = L[N + 1];
1473
1475
  for (q = ie = 0; q < ve.length && !x && ve[q]; )
1474
1476
  if (x = ve[q++].exec(D), x)
1475
1477
  for (Y = 0; Y < wt.length; Y++)
1476
- K = x[++ie], k = wt[Y], typeof k === P && k.length > 0 ? k.length === 2 ? typeof k[1] == c ? this[k[0]] = k[1].call(this, K) : this[k[0]] = k[1] : k.length === 3 ? typeof k[1] === c && !(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;
1478
+ K = x[++ie], k = wt[Y], typeof k === P && k.length > 0 ? k.length === 2 ? typeof k[1] == d ? this[k[0]] = k[1].call(this, K) : this[k[0]] = k[1] : k.length === 3 ? typeof k[1] === d && !(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;
1477
1479
  N += 2;
1478
1480
  }
1479
1481
  }, we = function(D, L) {
@@ -1481,29 +1483,29 @@ function Gr() {
1481
1483
  if (typeof L[N] === P && L[N].length > 0) {
1482
1484
  for (var q = 0; q < L[N].length; q++)
1483
1485
  if (B(L[N][q], D))
1484
- return N === i ? e : N;
1486
+ return N === n ? e : N;
1485
1487
  } else if (B(L[N], D))
1486
- return N === i ? e : N;
1488
+ return N === n ? e : N;
1487
1489
  return D;
1488
- }, 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, [b, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [b, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [b, y], [/opios[\/ ]+([\w\.]+)/i], [y, [b, te + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [b, 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], [b, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [b, "UC" + F]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [b, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [b, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [b, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [b, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [b, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[b, /(.+)/, "$1 Secure " + F], y], [/\bfocus\/([\w\.]+)/i], [y, [b, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [b, te + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [b, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [b, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [b, te + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [b, "MIUI " + F]], [/fxios\/([-\w\.]+)/i], [y, [b, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[b, "360 " + F]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[b, /(.+)/, "$1 " + F], y], [/(comodo_dragon)\/([\w\.]+)/i], [[b, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [b, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [b], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[b, g], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [b, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [b, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [b, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [b, z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[b, z + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [b, "Android " + F]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [b, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [b, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, b], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [b, [y, we, wr]], [/(webkit|khtml)\/([\w\.]+)/i], [b, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[b, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [b, 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], [b, y], [/(cobalt)\/([\w\.]+)/i], [b, [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/, h, 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, [p, se], [f, w]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [d, [p, se], [f, m]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [d, [p, H], [f, m]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [d, [p, H], [f, w]], [/(macintosh);/i], [d, [p, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [d, [p, fe], [f, m]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [d, [p, le], [f, w]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [d, [p, le], [f, m]], [/\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, " "], [p, ue], [f, m]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[d, /_/g, " "], [p, ue], [f, 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, [p, "OPPO"], [f, m]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [d, [p, "Vivo"], [f, m]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [d, [p, "Realme"], [f, m]], [/\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, [p, de], [f, m]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [d, [p, de], [f, w]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [d, [p, oe], [f, w]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [d, [p, oe], [f, m]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [d, [p, "Lenovo"], [f, w]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[d, /_/g, " "], [p, "Nokia"], [f, m]], [/(pixel c)\b/i], [d, [p, ee], [f, w]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [d, [p, ee], [f, m]], [/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, [p, re], [f, m]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[d, "Xperia Tablet"], [p, re], [f, w]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [d, [p, "OnePlus"], [f, m]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [d, [p, G], [f, w]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[d, /(.+)/g, "Fire Phone $1"], [p, G], [f, m]], [/(playbook);[-\w\),; ]+(rim)/i], [d, p, [f, w]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [d, [p, Z], [f, m]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [d, [p, Q], [f, w]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [d, [p, Q], [f, m]], [/(nexus 9)/i], [d, [p, "HTC"], [f, w]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [p, [d, /_/g, " "], [f, m]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [d, [p, "Acer"], [f, w]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [d, [p, "Meizu"], [f, m]], [/(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], [p, d, [f, m]], [/(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], [p, d, [f, w]], [/(surface duo)/i], [d, [p, ae], [f, w]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [d, [p, "Fairphone"], [f, m]], [/(u304aa)/i], [d, [p, "AT&T"], [f, m]], [/\bsie-(\w*)/i], [d, [p, "Siemens"], [f, m]], [/\b(rct\w+) b/i], [d, [p, "RCA"], [f, w]], [/\b(venue[\d ]{2,7}) b/i], [d, [p, "Dell"], [f, w]], [/\b(q(?:mv|ta)\w+) b/i], [d, [p, "Verizon"], [f, w]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [d, [p, "Barnes & Noble"], [f, w]], [/\b(tm\d{3}\w+) b/i], [d, [p, "NuVision"], [f, w]], [/\b(k88) b/i], [d, [p, "ZTE"], [f, w]], [/\b(nx\d{3}j) b/i], [d, [p, "ZTE"], [f, m]], [/\b(gen\d{3}) b.+49h/i], [d, [p, "Swiss"], [f, m]], [/\b(zur\d{3}) b/i], [d, [p, "Swiss"], [f, w]], [/\b((zeki)?tb.*\b) b/i], [d, [p, "Zeki"], [f, w]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[p, "Dragon Touch"], d, [f, w]], [/\b(ns-?\w{0,9}) b/i], [d, [p, "Insignia"], [f, w]], [/\b((nxa|next)-?\w{0,9}) b/i], [d, [p, "NextBook"], [f, w]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[p, "Voice"], d, [f, m]], [/\b(lvtel\-)?(v1[12]) b/i], [[p, "LvTel"], d, [f, m]], [/\b(ph-1) /i], [d, [p, "Essential"], [f, m]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [d, [p, "Envizen"], [f, w]], [/\b(trio[-\w\. ]+) b/i], [d, [p, "MachSpeed"], [f, w]], [/\btu_(1491) b/i], [d, [p, "Rotor"], [f, w]], [/(shield[\w ]+) b/i], [d, [p, "Nvidia"], [f, w]], [/(sprint) (\w+)/i], [p, d, [f, m]], [/(kin\.[onetw]{3})/i], [[d, /\./g, " "], [p, ae], [f, m]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [d, [p, R], [f, w]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [d, [p, R], [f, m]], [/smart-tv.+(samsung)/i], [p, [f, S]], [/hbbtv.+maple;(\d+)/i], [[d, /^/, "SmartTV"], [p, se], [f, S]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[p, oe], [f, S]], [/(apple) ?tv/i], [p, [d, H + " TV"], [f, S]], [/crkey/i], [[d, z + "cast"], [p, ee], [f, S]], [/droid.+aft(\w)( bui|\))/i], [d, [p, G], [f, S]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [d, [p, fe], [f, S]], [/(bravia[\w ]+)( bui|\))/i], [d, [p, re], [f, S]], [/(mitv-\w{5}) bui/i], [d, [p, ue], [f, S]], [/Hbbtv.*(technisat) (.*);/i], [p, d, [f, S]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[p, he], [d, he], [f, S]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[f, S]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [p, d, [f, v]], [/droid.+; (shield) bui/i], [d, [p, "Nvidia"], [f, v]], [/(playstation [345portablevi]+)/i], [d, [p, re], [f, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [d, [p, ae], [f, v]], [/((pebble))app/i], [p, d, [f, j]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [d, [p, H], [f, j]], [/droid.+; (glass) \d/i], [d, [p, ee], [f, j]], [/droid.+; (wt63?0{2,3})\)/i], [d, [p, R], [f, j]], [/(quest( 2| pro)?)/i], [d, [p, g], [f, j]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [p, [f, X]], [/(aeobc)\b/i], [d, [p, G], [f, X]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [d, [f, m]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [d, [f, w]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[f, w]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[f, m]], [/(android[-\w\. ]{0,9});.+buil/i], [d, [p, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [b, J + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [b, "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], [b, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, b]], os: [[/microsoft (windows) (vista|xp)/i], [b, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [b, [y, we, Rt]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[b, "Windows"], [y, we, Rt]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [b, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[b, C], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, b], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [b, y], [/\(bb(10);/i], [y, [b, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [b, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [b, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [b, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [b, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [b, z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[b, 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], [b, y], [/(sunos) ?([\w\.\d]*)/i], [[b, "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], [b, y]] }, $ = function(D, L) {
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) {
1489
1491
  if (typeof D === P && (L = D, D = e), !(this instanceof $))
1490
1492
  return new $(D, L).getResult();
1491
- var N = typeof n !== E && n.navigator ? n.navigator : e, q = D || (N && N.userAgent ? N.userAgent : h), ie = N && N.userAgentData ? N.userAgentData : e, Y = L ? M(yt, L) : yt, k = N && N.userAgent == q;
1493
+ var N = typeof i !== h && i.navigator ? i.navigator : e, q = D || (N && N.userAgent ? N.userAgent : f), ie = N && N.userAgentData ? N.userAgentData : e, Y = L ? M(yt, L) : yt, k = N && N.userAgent == q;
1492
1494
  return this.getBrowser = function() {
1493
1495
  var x = {};
1494
- return x[b] = e, x[y] = e, ne.call(x, q, Y.browser), x[I] = ce(x[y]), k && N && N.brave && typeof N.brave.isBrave == c && (x[b] = "Brave"), 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 == d && (x[g] = "Brave"), x;
1495
1497
  }, this.getCPU = function() {
1496
1498
  var x = {};
1497
1499
  return x[t] = e, ne.call(x, q, Y.cpu), x;
1498
1500
  }, this.getDevice = function() {
1499
1501
  var x = {};
1500
- return x[p] = e, x[d] = e, x[f] = e, ne.call(x, q, Y.device), k && !x[f] && ie && ie.mobile && (x[f] = m), k && x[d] == "Macintosh" && N && typeof N.standalone !== E && N.maxTouchPoints && N.maxTouchPoints > 2 && (x[d] = "iPad", x[f] = w), x;
1502
+ return x[m] = e, x[l] = e, x[_] = e, ne.call(x, q, Y.device), k && !x[_] && ie && ie.mobile && (x[_] = b), k && x[l] == "Macintosh" && N && typeof N.standalone !== h && N.maxTouchPoints && N.maxTouchPoints > 2 && (x[l] = "iPad", x[_] = w), x;
1501
1503
  }, this.getEngine = function() {
1502
1504
  var x = {};
1503
- return x[b] = e, x[y] = e, ne.call(x, q, Y.engine), x;
1505
+ return x[g] = e, x[y] = e, ne.call(x, q, Y.engine), x;
1504
1506
  }, this.getOS = function() {
1505
1507
  var x = {};
1506
- return x[b] = e, x[y] = e, ne.call(x, q, Y.os), k && !x[b] && ie && ie.platform != "Unknown" && (x[b] = ie.platform.replace(/chrome os/i, A).replace(/macos/i, C)), x;
1508
+ return x[g] = e, x[y] = e, ne.call(x, q, Y.os), k && !x[g] && ie && ie.platform != "Unknown" && (x[g] = ie.platform.replace(/chrome os/i, A).replace(/macos/i, C)), x;
1507
1509
  }, this.getResult = function() {
1508
1510
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
1509
1511
  }, this.getUA = function() {
@@ -1512,8 +1514,8 @@ function Gr() {
1512
1514
  return q = typeof x === T && x.length > U ? he(x, U) : x, this;
1513
1515
  }, this.setUA(q), this;
1514
1516
  };
1515
- $.VERSION = a, $.BROWSER = O([b, y, I]), $.CPU = O([t]), $.DEVICE = O([d, p, f, v, m, S, w, j, X]), $.ENGINE = $.OS = O([b, y]), typeof _ !== E ? (s.exports && (_ = s.exports = $), _.UAParser = $) : typeof n !== E && (n.UAParser = $);
1516
- var _e = typeof n !== E && (n.jQuery || n.Zepto);
1517
+ $.VERSION = a, $.BROWSER = O([g, y, I]), $.CPU = O([t]), $.DEVICE = O([l, m, _, v, b, S, w, j, X]), $.ENGINE = $.OS = O([g, y]), typeof p !== h ? (s.exports && (p = s.exports = $), p.UAParser = $) : typeof i !== h && (i.UAParser = $);
1518
+ var _e = typeof i !== h && (i.jQuery || i.Zepto);
1517
1519
  if (_e && !_e.ua) {
1518
1520
  var pe = new $();
1519
1521
  _e.ua = pe.getResult(), _e.ua.get = function() {
@@ -1527,20 +1529,20 @@ function Gr() {
1527
1529
  }
1528
1530
  })(typeof window == "object" ? window : this);
1529
1531
  } }, o = {};
1530
- function l(s) {
1531
- var _ = o[s];
1532
- if (_ !== void 0)
1533
- return _.exports;
1534
- var n = o[s] = { exports: {} }, e = !0;
1532
+ function c(s) {
1533
+ var p = o[s];
1534
+ if (p !== void 0)
1535
+ return p.exports;
1536
+ var i = o[s] = { exports: {} }, e = !0;
1535
1537
  try {
1536
- r[s].call(n.exports, n, n.exports, l), e = !1;
1538
+ r[s].call(i.exports, i, i.exports, c), e = !1;
1537
1539
  } finally {
1538
1540
  e && delete o[s];
1539
1541
  }
1540
- return n.exports;
1542
+ return i.exports;
1541
1543
  }
1542
- typeof l < "u" && (l.ab = __dirname + "/");
1543
- var u = l(226);
1544
+ typeof c < "u" && (c.ab = __dirname + "/");
1545
+ var u = c(226);
1544
1546
  ze.exports = u;
1545
1547
  })()), ze.exports;
1546
1548
  }
@@ -1551,9 +1553,9 @@ function zt() {
1551
1553
  value: !0
1552
1554
  });
1553
1555
  function o(e, a) {
1554
- for (var h in a) Object.defineProperty(e, h, {
1556
+ for (var f in a) Object.defineProperty(e, f, {
1555
1557
  enumerable: !0,
1556
- get: a[h]
1558
+ get: a[f]
1557
1559
  });
1558
1560
  }
1559
1561
  o(r, {
@@ -1561,13 +1563,13 @@ function zt() {
1561
1563
  return s;
1562
1564
  },
1563
1565
  userAgent: function() {
1564
- return n;
1566
+ return i;
1565
1567
  },
1566
1568
  userAgentFromString: function() {
1567
- return _;
1569
+ return p;
1568
1570
  }
1569
1571
  });
1570
- const l = /* @__PURE__ */ u(Gr());
1572
+ const c = /* @__PURE__ */ u(Gr());
1571
1573
  function u(e) {
1572
1574
  return e && e.__esModule ? e : {
1573
1575
  default: e
@@ -1576,14 +1578,14 @@ function zt() {
1576
1578
  function s(e) {
1577
1579
  return /Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e);
1578
1580
  }
1579
- function _(e) {
1581
+ function p(e) {
1580
1582
  return {
1581
- ...(0, l.default)(e),
1583
+ ...(0, c.default)(e),
1582
1584
  isBot: e === void 0 ? !1 : s(e)
1583
1585
  };
1584
1586
  }
1585
- function n({ headers: e }) {
1586
- return _(e.get("user-agent") || void 0);
1587
+ function i({ headers: e }) {
1588
+ return p(e.get("user-agent") || void 0);
1587
1589
  }
1588
1590
  }(We)), We;
1589
1591
  }
@@ -1610,57 +1612,57 @@ function mt() {
1610
1612
  Object.defineProperty(r, "__esModule", {
1611
1613
  value: !0
1612
1614
  });
1613
- function o(a, h) {
1614
- for (var i in h) Object.defineProperty(a, i, {
1615
+ function o(a, f) {
1616
+ for (var n in f) Object.defineProperty(a, n, {
1615
1617
  enumerable: !0,
1616
- get: h[i]
1618
+ get: f[n]
1617
1619
  });
1618
1620
  }
1619
1621
  o(r, {
1620
1622
  bindSnapshot: function() {
1621
- return n;
1623
+ return i;
1622
1624
  },
1623
1625
  createAsyncLocalStorage: function() {
1624
- return _;
1626
+ return p;
1625
1627
  },
1626
1628
  createSnapshot: function() {
1627
1629
  return e;
1628
1630
  }
1629
1631
  });
1630
- const l = Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"), "__NEXT_ERROR_CODE", {
1632
+ const c = Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"), "__NEXT_ERROR_CODE", {
1631
1633
  value: "E504",
1632
1634
  enumerable: !1,
1633
1635
  configurable: !0
1634
1636
  });
1635
1637
  class u {
1636
1638
  disable() {
1637
- throw l;
1639
+ throw c;
1638
1640
  }
1639
1641
  getStore() {
1640
1642
  }
1641
1643
  run() {
1642
- throw l;
1644
+ throw c;
1643
1645
  }
1644
1646
  exit() {
1645
- throw l;
1647
+ throw c;
1646
1648
  }
1647
1649
  enterWith() {
1648
- throw l;
1650
+ throw c;
1649
1651
  }
1650
- static bind(h) {
1651
- return h;
1652
+ static bind(f) {
1653
+ return f;
1652
1654
  }
1653
1655
  }
1654
1656
  const s = typeof globalThis < "u" && globalThis.AsyncLocalStorage;
1655
- function _() {
1657
+ function p() {
1656
1658
  return s ? new s() : new u();
1657
1659
  }
1658
- function n(a) {
1660
+ function i(a) {
1659
1661
  return s ? s.bind(a) : u.bind(a);
1660
1662
  }
1661
1663
  function e() {
1662
- return s ? s.snapshot() : function(a, ...h) {
1663
- return a(...h);
1664
+ return s ? s.snapshot() : function(a, ...f) {
1665
+ return a(...f);
1664
1666
  };
1665
1667
  }
1666
1668
  }(Je)), Je;
@@ -1673,10 +1675,10 @@ function $r() {
1673
1675
  }), Object.defineProperty(r, "workAsyncStorageInstance", {
1674
1676
  enumerable: !0,
1675
1677
  get: function() {
1676
- return l;
1678
+ return c;
1677
1679
  }
1678
1680
  });
1679
- const l = (0, mt().createAsyncLocalStorage)();
1681
+ const c = (0, mt().createAsyncLocalStorage)();
1680
1682
  }(Ze)), Ze;
1681
1683
  }
1682
1684
  var Qt;
@@ -1701,11 +1703,11 @@ function Br() {
1701
1703
  }), Object.defineProperty(r, "after", {
1702
1704
  enumerable: !0,
1703
1705
  get: function() {
1704
- return l;
1706
+ return c;
1705
1707
  }
1706
1708
  });
1707
1709
  const o = ye();
1708
- function l(u) {
1710
+ function c(u) {
1709
1711
  const s = o.workAsyncStorage.getStore();
1710
1712
  if (!s)
1711
1713
  throw Object.defineProperty(new Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"), "__NEXT_ERROR_CODE", {
@@ -1713,8 +1715,8 @@ function Br() {
1713
1715
  enumerable: !1,
1714
1716
  configurable: !0
1715
1717
  });
1716
- const { afterContext: _ } = s;
1717
- return _.after(u);
1718
+ const { afterContext: p } = s;
1719
+ return p.after(u);
1718
1720
  }
1719
1721
  }(Ke)), Ke;
1720
1722
  }
@@ -1724,15 +1726,15 @@ function Wr() {
1724
1726
  Object.defineProperty(r, "__esModule", {
1725
1727
  value: !0
1726
1728
  }), o(Br(), r);
1727
- function o(l, u) {
1728
- return Object.keys(l).forEach(function(s) {
1729
+ function o(c, u) {
1730
+ return Object.keys(c).forEach(function(s) {
1729
1731
  s !== "default" && !Object.prototype.hasOwnProperty.call(u, s) && Object.defineProperty(u, s, {
1730
1732
  enumerable: !0,
1731
1733
  get: function() {
1732
- return l[s];
1734
+ return c[s];
1733
1735
  }
1734
1736
  });
1735
- }), l;
1737
+ }), c;
1736
1738
  }
1737
1739
  }(Ye)), Ye;
1738
1740
  }
@@ -1744,10 +1746,10 @@ function zr() {
1744
1746
  }), Object.defineProperty(r, "workUnitAsyncStorageInstance", {
1745
1747
  enumerable: !0,
1746
1748
  get: function() {
1747
- return l;
1749
+ return c;
1748
1750
  }
1749
1751
  });
1750
- const l = (0, mt().createAsyncLocalStorage)();
1752
+ const c = (0, mt().createAsyncLocalStorage)();
1751
1753
  }(rt)), rt;
1752
1754
  }
1753
1755
  var be = { exports: {} }, tr;
@@ -1756,39 +1758,39 @@ function Vr() {
1756
1758
  Object.defineProperty(o, "__esModule", {
1757
1759
  value: !0
1758
1760
  });
1759
- function l(p, y) {
1760
- for (var t in y) Object.defineProperty(p, t, {
1761
+ function c(m, y) {
1762
+ for (var t in y) Object.defineProperty(m, t, {
1761
1763
  enumerable: !0,
1762
1764
  get: y[t]
1763
1765
  });
1764
1766
  }
1765
- l(o, {
1767
+ c(o, {
1766
1768
  ACTION_HEADER: function() {
1767
1769
  return s;
1768
1770
  },
1769
1771
  FLIGHT_HEADERS: function() {
1770
- return E;
1772
+ return h;
1771
1773
  },
1772
1774
  NEXT_DID_POSTPONE_HEADER: function() {
1773
1775
  return I;
1774
1776
  },
1775
1777
  NEXT_HMR_REFRESH_HASH_COOKIE: function() {
1776
- return h;
1778
+ return f;
1777
1779
  },
1778
1780
  NEXT_HMR_REFRESH_HEADER: function() {
1779
1781
  return a;
1780
1782
  },
1781
1783
  NEXT_IS_PRERENDER_HEADER: function() {
1782
- return f;
1784
+ return _;
1783
1785
  },
1784
1786
  NEXT_REWRITTEN_PATH_HEADER: function() {
1785
- return d;
1787
+ return l;
1786
1788
  },
1787
1789
  NEXT_REWRITTEN_QUERY_HEADER: function() {
1788
- return b;
1790
+ return g;
1789
1791
  },
1790
1792
  NEXT_ROUTER_PREFETCH_HEADER: function() {
1791
- return n;
1793
+ return i;
1792
1794
  },
1793
1795
  NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() {
1794
1796
  return e;
@@ -1797,28 +1799,28 @@ function Vr() {
1797
1799
  return T;
1798
1800
  },
1799
1801
  NEXT_ROUTER_STATE_TREE_HEADER: function() {
1800
- return _;
1802
+ return p;
1801
1803
  },
1802
1804
  NEXT_RSC_UNION_QUERY: function() {
1803
1805
  return P;
1804
1806
  },
1805
1807
  NEXT_URL: function() {
1806
- return i;
1808
+ return n;
1807
1809
  },
1808
1810
  RSC_CONTENT_TYPE_HEADER: function() {
1809
- return c;
1811
+ return d;
1810
1812
  },
1811
1813
  RSC_HEADER: function() {
1812
1814
  return u;
1813
1815
  }
1814
1816
  });
1815
- const u = "RSC", s = "Next-Action", _ = "Next-Router-State-Tree", n = "Next-Router-Prefetch", e = "Next-Router-Segment-Prefetch", a = "Next-HMR-Refresh", h = "__next_hmr_refresh_hash__", i = "Next-Url", c = "text/x-component", E = [
1817
+ const u = "RSC", s = "Next-Action", p = "Next-Router-State-Tree", i = "Next-Router-Prefetch", e = "Next-Router-Segment-Prefetch", a = "Next-HMR-Refresh", f = "__next_hmr_refresh_hash__", n = "Next-Url", d = "text/x-component", h = [
1816
1818
  u,
1817
- _,
1818
- n,
1819
+ p,
1820
+ i,
1819
1821
  a,
1820
1822
  e
1821
- ], P = "_rsc", T = "x-nextjs-stale-time", I = "x-nextjs-postponed", d = "x-nextjs-rewritten-path", b = "x-nextjs-rewritten-query", f = "x-nextjs-prerender";
1823
+ ], P = "_rsc", T = "x-nextjs-stale-time", I = "x-nextjs-postponed", l = "x-nextjs-rewritten-path", g = "x-nextjs-rewritten-query", _ = "x-nextjs-prerender";
1822
1824
  (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);
1823
1825
  }(be, be.exports)), be.exports;
1824
1826
  }
@@ -1828,15 +1830,15 @@ function bt() {
1828
1830
  Object.defineProperty(r, "__esModule", {
1829
1831
  value: !0
1830
1832
  });
1831
- function o(i, c) {
1832
- for (var E in c) Object.defineProperty(i, E, {
1833
+ function o(n, d) {
1834
+ for (var h in d) Object.defineProperty(n, h, {
1833
1835
  enumerable: !0,
1834
- get: c[E]
1836
+ get: d[h]
1835
1837
  });
1836
1838
  }
1837
1839
  o(r, {
1838
1840
  getDraftModeProviderForCacheScope: function() {
1839
- return h;
1841
+ return f;
1840
1842
  },
1841
1843
  getExpectedRequestStore: function() {
1842
1844
  return s;
@@ -1845,73 +1847,73 @@ function bt() {
1845
1847
  return a;
1846
1848
  },
1847
1849
  getPrerenderResumeDataCache: function() {
1848
- return n;
1850
+ return i;
1849
1851
  },
1850
1852
  getRenderResumeDataCache: function() {
1851
1853
  return e;
1852
1854
  },
1853
1855
  throwForMissingRequestStore: function() {
1854
- return _;
1856
+ return p;
1855
1857
  },
1856
1858
  workUnitAsyncStorage: function() {
1857
- return l.workUnitAsyncStorageInstance;
1859
+ return c.workUnitAsyncStorageInstance;
1858
1860
  }
1859
1861
  });
1860
- const l = zr(), u = Vr();
1861
- function s(i) {
1862
- const c = l.workUnitAsyncStorageInstance.getStore();
1863
- switch (c || _(i), c.type) {
1862
+ const c = zr(), u = Vr();
1863
+ function s(n) {
1864
+ const d = c.workUnitAsyncStorageInstance.getStore();
1865
+ switch (d || p(n), d.type) {
1864
1866
  case "request":
1865
- return c;
1867
+ return d;
1866
1868
  case "prerender":
1867
1869
  case "prerender-ppr":
1868
1870
  case "prerender-legacy":
1869
- throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside a prerender. This is a bug in Next.js.`), "__NEXT_ERROR_CODE", {
1871
+ throw Object.defineProperty(new Error(`\`${n}\` cannot be called inside a prerender. This is a bug in Next.js.`), "__NEXT_ERROR_CODE", {
1870
1872
  value: "E401",
1871
1873
  enumerable: !1,
1872
1874
  configurable: !0
1873
1875
  });
1874
1876
  case "cache":
1875
- 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", {
1877
+ throw Object.defineProperty(new Error(`\`${n}\` 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", {
1876
1878
  value: "E37",
1877
1879
  enumerable: !1,
1878
1880
  configurable: !0
1879
1881
  });
1880
1882
  case "unstable-cache":
1881
- 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", {
1883
+ throw Object.defineProperty(new Error(`\`${n}\` 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", {
1882
1884
  value: "E69",
1883
1885
  enumerable: !1,
1884
1886
  configurable: !0
1885
1887
  });
1886
1888
  default:
1887
- return c;
1889
+ return d;
1888
1890
  }
1889
1891
  }
1890
- function _(i) {
1891
- 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", {
1892
+ function p(n) {
1893
+ throw Object.defineProperty(new Error(`\`${n}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`), "__NEXT_ERROR_CODE", {
1892
1894
  value: "E251",
1893
1895
  enumerable: !1,
1894
1896
  configurable: !0
1895
1897
  });
1896
1898
  }
1897
- function n(i) {
1898
- return i.type === "prerender" || i.type === "prerender-ppr" ? i.prerenderResumeDataCache : null;
1899
+ function i(n) {
1900
+ return n.type === "prerender" || n.type === "prerender-ppr" ? n.prerenderResumeDataCache : null;
1899
1901
  }
1900
- function e(i) {
1901
- return i.type !== "prerender-legacy" && i.type !== "cache" && i.type !== "unstable-cache" ? i.type === "request" ? i.renderResumeDataCache : i.prerenderResumeDataCache : null;
1902
+ function e(n) {
1903
+ return n.type !== "prerender-legacy" && n.type !== "cache" && n.type !== "unstable-cache" ? n.type === "request" ? n.renderResumeDataCache : n.prerenderResumeDataCache : null;
1902
1904
  }
1903
- function a(i, c) {
1904
- var E;
1905
- if (i.dev)
1906
- return c.type === "cache" || c.type === "prerender" ? c.hmrRefreshHash : c.type === "request" ? (E = c.cookies.get(u.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : E.value : void 0;
1905
+ function a(n, d) {
1906
+ var h;
1907
+ if (n.dev)
1908
+ return d.type === "cache" || d.type === "prerender" ? d.hmrRefreshHash : d.type === "request" ? (h = d.cookies.get(u.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : h.value : void 0;
1907
1909
  }
1908
- function h(i, c) {
1909
- if (i.isDraftMode)
1910
- switch (c.type) {
1910
+ function f(n, d) {
1911
+ if (n.isDraftMode)
1912
+ switch (d.type) {
1911
1913
  case "cache":
1912
1914
  case "unstable-cache":
1913
1915
  case "request":
1914
- return c.draftMode;
1916
+ return d.draftMode;
1915
1917
  default:
1916
1918
  return;
1917
1919
  }
@@ -1924,18 +1926,18 @@ function Yr() {
1924
1926
  Object.defineProperty(o, "__esModule", {
1925
1927
  value: !0
1926
1928
  });
1927
- function l(n, e) {
1928
- for (var a in e) Object.defineProperty(n, a, {
1929
+ function c(i, e) {
1930
+ for (var a in e) Object.defineProperty(i, a, {
1929
1931
  enumerable: !0,
1930
1932
  get: e[a]
1931
1933
  });
1932
1934
  }
1933
- l(o, {
1935
+ c(o, {
1934
1936
  DynamicServerError: function() {
1935
1937
  return s;
1936
1938
  },
1937
1939
  isDynamicServerError: function() {
1938
- return _;
1940
+ return p;
1939
1941
  }
1940
1942
  });
1941
1943
  const u = "DYNAMIC_SERVER_USAGE";
@@ -1944,8 +1946,8 @@ function Yr() {
1944
1946
  super("Dynamic server usage: " + e), this.description = e, this.digest = u;
1945
1947
  }
1946
1948
  }
1947
- function _(n) {
1948
- return typeof n != "object" || n === null || !("digest" in n) || typeof n.digest != "string" ? !1 : n.digest === u;
1949
+ function p(i) {
1950
+ return typeof i != "object" || i === null || !("digest" in i) || typeof i.digest != "string" ? !1 : i.digest === u;
1949
1951
  }
1950
1952
  (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);
1951
1953
  }(ge, ge.exports)), ge.exports;
@@ -1956,18 +1958,18 @@ function gt() {
1956
1958
  Object.defineProperty(o, "__esModule", {
1957
1959
  value: !0
1958
1960
  });
1959
- function l(n, e) {
1960
- for (var a in e) Object.defineProperty(n, a, {
1961
+ function c(i, e) {
1962
+ for (var a in e) Object.defineProperty(i, a, {
1961
1963
  enumerable: !0,
1962
1964
  get: e[a]
1963
1965
  });
1964
1966
  }
1965
- l(o, {
1967
+ c(o, {
1966
1968
  StaticGenBailoutError: function() {
1967
1969
  return s;
1968
1970
  },
1969
1971
  isStaticGenBailoutError: function() {
1970
- return _;
1972
+ return p;
1971
1973
  }
1972
1974
  });
1973
1975
  const u = "NEXT_STATIC_GEN_BAILOUT";
@@ -1976,8 +1978,8 @@ function gt() {
1976
1978
  super(...e), this.code = u;
1977
1979
  }
1978
1980
  }
1979
- function _(n) {
1980
- return typeof n != "object" || n === null || !("code" in n) ? !1 : n.code === u;
1981
+ function p(i) {
1982
+ return typeof i != "object" || i === null || !("code" in i) ? !1 : i.code === u;
1981
1983
  }
1982
1984
  (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);
1983
1985
  }(Ee, Ee.exports)), Ee.exports;
@@ -1988,52 +1990,52 @@ function Et() {
1988
1990
  Object.defineProperty(r, "__esModule", {
1989
1991
  value: !0
1990
1992
  });
1991
- function o(a, h) {
1992
- for (var i in h) Object.defineProperty(a, i, {
1993
+ function o(a, f) {
1994
+ for (var n in f) Object.defineProperty(a, n, {
1993
1995
  enumerable: !0,
1994
- get: h[i]
1996
+ get: f[n]
1995
1997
  });
1996
1998
  }
1997
1999
  o(r, {
1998
2000
  isHangingPromiseRejectionError: function() {
1999
- return l;
2001
+ return c;
2000
2002
  },
2001
2003
  makeHangingPromise: function() {
2002
- return n;
2004
+ return i;
2003
2005
  }
2004
2006
  });
2005
- function l(a) {
2007
+ function c(a) {
2006
2008
  return typeof a != "object" || a === null || !("digest" in a) ? !1 : a.digest === u;
2007
2009
  }
2008
2010
  const u = "HANGING_PROMISE_REJECTION";
2009
2011
  class s extends Error {
2010
- constructor(h) {
2011
- super(`During prerendering, ${h} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${h} 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 = h, this.digest = u;
2012
+ constructor(f) {
2013
+ super(`During prerendering, ${f} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${f} 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 = f, this.digest = u;
2012
2014
  }
2013
2015
  }
2014
- const _ = /* @__PURE__ */ new WeakMap();
2015
- function n(a, h) {
2016
+ const p = /* @__PURE__ */ new WeakMap();
2017
+ function i(a, f) {
2016
2018
  if (a.aborted)
2017
- return Promise.reject(new s(h));
2019
+ return Promise.reject(new s(f));
2018
2020
  {
2019
- const i = new Promise((c, E) => {
2020
- const P = E.bind(null, new s(h));
2021
- let T = _.get(a);
2021
+ const n = new Promise((d, h) => {
2022
+ const P = h.bind(null, new s(f));
2023
+ let T = p.get(a);
2022
2024
  if (T)
2023
2025
  T.push(P);
2024
2026
  else {
2025
2027
  const I = [
2026
2028
  P
2027
2029
  ];
2028
- _.set(a, I), a.addEventListener("abort", () => {
2029
- for (let d = 0; d < I.length; d++)
2030
- I[d]();
2030
+ p.set(a, I), a.addEventListener("abort", () => {
2031
+ for (let l = 0; l < I.length; l++)
2032
+ I[l]();
2031
2033
  }, {
2032
2034
  once: !0
2033
2035
  });
2034
2036
  }
2035
2037
  });
2036
- return i.catch(e), i;
2038
+ return n.catch(e), n;
2037
2039
  }
2038
2040
  }
2039
2041
  function e() {
@@ -2046,15 +2048,15 @@ function Kr() {
2046
2048
  Object.defineProperty(r, "__esModule", {
2047
2049
  value: !0
2048
2050
  });
2049
- function o(_, n) {
2050
- for (var e in n) Object.defineProperty(_, e, {
2051
+ function o(p, i) {
2052
+ for (var e in i) Object.defineProperty(p, e, {
2051
2053
  enumerable: !0,
2052
- get: n[e]
2054
+ get: i[e]
2053
2055
  });
2054
2056
  }
2055
2057
  o(r, {
2056
2058
  METADATA_BOUNDARY_NAME: function() {
2057
- return l;
2059
+ return c;
2058
2060
  },
2059
2061
  OUTLET_BOUNDARY_NAME: function() {
2060
2062
  return s;
@@ -2063,7 +2065,7 @@ function Kr() {
2063
2065
  return u;
2064
2066
  }
2065
2067
  });
2066
- const l = "__next_metadata_boundary__", u = "__next_viewport_boundary__", s = "__next_outlet_boundary__";
2068
+ const c = "__next_metadata_boundary__", u = "__next_viewport_boundary__", s = "__next_outlet_boundary__";
2067
2069
  }(ot)), ot;
2068
2070
  }
2069
2071
  var at = {}, sr;
@@ -2072,8 +2074,8 @@ function Qr() {
2072
2074
  Object.defineProperty(r, "__esModule", {
2073
2075
  value: !0
2074
2076
  });
2075
- function o(n, e) {
2076
- for (var a in e) Object.defineProperty(n, a, {
2077
+ function o(i, e) {
2078
+ for (var a in e) Object.defineProperty(i, a, {
2077
2079
  enumerable: !0,
2078
2080
  get: e[a]
2079
2081
  });
@@ -2086,24 +2088,24 @@ function Qr() {
2086
2088
  return u;
2087
2089
  },
2088
2090
  scheduleOnNextTick: function() {
2089
- return l;
2091
+ return c;
2090
2092
  },
2091
2093
  waitAtLeastOneReactRenderTask: function() {
2092
- return _;
2094
+ return p;
2093
2095
  }
2094
2096
  });
2095
- const l = (n) => {
2097
+ const c = (i) => {
2096
2098
  Promise.resolve().then(() => {
2097
- process.env.NEXT_RUNTIME === "edge" ? setTimeout(n, 0) : process.nextTick(n);
2099
+ process.env.NEXT_RUNTIME === "edge" ? setTimeout(i, 0) : process.nextTick(i);
2098
2100
  });
2099
- }, u = (n) => {
2100
- process.env.NEXT_RUNTIME === "edge" ? setTimeout(n, 0) : setImmediate(n);
2101
+ }, u = (i) => {
2102
+ process.env.NEXT_RUNTIME === "edge" ? setTimeout(i, 0) : setImmediate(i);
2101
2103
  };
2102
2104
  function s() {
2103
- return new Promise((n) => u(n));
2105
+ return new Promise((i) => u(i));
2104
2106
  }
2105
- function _() {
2106
- return process.env.NEXT_RUNTIME === "edge" ? new Promise((n) => setTimeout(n, 0)) : new Promise((n) => setImmediate(n));
2107
+ function p() {
2108
+ return process.env.NEXT_RUNTIME === "edge" ? new Promise((i) => setTimeout(i, 0)) : new Promise((i) => setImmediate(i));
2107
2109
  }
2108
2110
  }(at)), at;
2109
2111
  }
@@ -2113,10 +2115,10 @@ function yr() {
2113
2115
  Object.defineProperty(r, "__esModule", {
2114
2116
  value: !0
2115
2117
  });
2116
- function o(R, g) {
2117
- for (var A in g) Object.defineProperty(R, A, {
2118
+ function o(R, E) {
2119
+ for (var A in E) Object.defineProperty(R, A, {
2118
2120
  enumerable: !0,
2119
- get: g[A]
2121
+ get: E[A]
2120
2122
  });
2121
2123
  }
2122
2124
  o(r, {
@@ -2139,7 +2141,7 @@ function yr() {
2139
2141
  return F;
2140
2142
  },
2141
2143
  createDynamicTrackingState: function() {
2142
- return E;
2144
+ return h;
2143
2145
  },
2144
2146
  createDynamicValidationState: function() {
2145
2147
  return P;
@@ -2172,35 +2174,35 @@ function yr() {
2172
2174
  return ue;
2173
2175
  },
2174
2176
  throwToInterruptStaticGeneration: function() {
2175
- return b;
2177
+ return g;
2176
2178
  },
2177
2179
  trackAllowedDynamicAccess: function() {
2178
2180
  return fe;
2179
2181
  },
2180
2182
  trackDynamicDataInDynamicRender: function() {
2181
- return f;
2183
+ return _;
2182
2184
  },
2183
2185
  trackFallbackParamAccessed: function() {
2184
- return d;
2186
+ return l;
2185
2187
  },
2186
2188
  trackSynchronousPlatformIOAccessInDev: function() {
2187
2189
  return t;
2188
2190
  },
2189
2191
  trackSynchronousRequestDataAccessInDev: function() {
2190
- return m;
2192
+ return b;
2191
2193
  },
2192
2194
  useDynamicRouteParams: function() {
2193
2195
  return oe;
2194
2196
  }
2195
2197
  });
2196
- const l = /* @__PURE__ */ i(Ar), u = Yr(), s = gt(), _ = bt(), n = ye(), e = Et(), a = Kr(), h = Qr();
2197
- function i(R) {
2198
+ const c = /* @__PURE__ */ n(Ar), u = Yr(), s = gt(), p = bt(), i = ye(), e = Et(), a = Kr(), f = Qr();
2199
+ function n(R) {
2198
2200
  return R && R.__esModule ? R : {
2199
2201
  default: R
2200
2202
  };
2201
2203
  }
2202
- const c = typeof l.default.unstable_postpone == "function";
2203
- function E(R) {
2204
+ const d = typeof c.default.unstable_postpone == "function";
2205
+ function h(R) {
2204
2206
  return {
2205
2207
  isDebugDynamicAccesses: R,
2206
2208
  dynamicAccesses: [],
@@ -2218,90 +2220,90 @@ function yr() {
2218
2220
  };
2219
2221
  }
2220
2222
  function T(R) {
2221
- var g;
2222
- return (g = R.dynamicAccesses[0]) == null ? void 0 : g.expression;
2223
+ var E;
2224
+ return (E = R.dynamicAccesses[0]) == null ? void 0 : E.expression;
2223
2225
  }
2224
- function I(R, g, A) {
2225
- if (!(g && (g.type === "cache" || g.type === "unstable-cache")) && !(R.forceDynamic || R.forceStatic)) {
2226
+ function I(R, E, A) {
2227
+ if (!(E && (E.type === "cache" || E.type === "unstable-cache")) && !(R.forceDynamic || R.forceStatic)) {
2226
2228
  if (R.dynamicShouldError)
2227
2229
  throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${R.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${A}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
2228
2230
  value: "E553",
2229
2231
  enumerable: !1,
2230
2232
  configurable: !0
2231
2233
  });
2232
- if (g)
2233
- if (g.type === "prerender-ppr")
2234
- S(R.route, A, g.dynamicTracking);
2235
- else if (g.type === "prerender-legacy") {
2236
- g.revalidate = 0;
2234
+ if (E)
2235
+ if (E.type === "prerender-ppr")
2236
+ S(R.route, A, E.dynamicTracking);
2237
+ else if (E.type === "prerender-legacy") {
2238
+ E.revalidate = 0;
2237
2239
  const C = Object.defineProperty(new u.DynamicServerError(`Route ${R.route} couldn't be rendered statically because it used ${A}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
2238
2240
  value: "E550",
2239
2241
  enumerable: !1,
2240
2242
  configurable: !0
2241
2243
  });
2242
2244
  throw R.dynamicUsageDescription = A, R.dynamicUsageStack = C.stack, C;
2243
- } else process.env.NODE_ENV === "development" && g && g.type === "request" && (g.usedDynamic = !0);
2245
+ } else process.env.NODE_ENV === "development" && E && E.type === "request" && (E.usedDynamic = !0);
2244
2246
  }
2245
2247
  }
2246
- function d(R, g) {
2247
- const A = _.workUnitAsyncStorage.getStore();
2248
- !A || A.type !== "prerender-ppr" || S(R.route, g, A.dynamicTracking);
2248
+ function l(R, E) {
2249
+ const A = p.workUnitAsyncStorage.getStore();
2250
+ !A || A.type !== "prerender-ppr" || S(R.route, E, A.dynamicTracking);
2249
2251
  }
2250
- function b(R, g, A) {
2251
- const C = Object.defineProperty(new u.DynamicServerError(`Route ${g.route} couldn't be rendered statically because it used \`${R}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
2252
+ function g(R, E, A) {
2253
+ const C = Object.defineProperty(new u.DynamicServerError(`Route ${E.route} couldn't be rendered statically because it used \`${R}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), "__NEXT_ERROR_CODE", {
2252
2254
  value: "E558",
2253
2255
  enumerable: !1,
2254
2256
  configurable: !0
2255
2257
  });
2256
- throw A.revalidate = 0, g.dynamicUsageDescription = R, g.dynamicUsageStack = C.stack, C;
2258
+ throw A.revalidate = 0, E.dynamicUsageDescription = R, E.dynamicUsageStack = C.stack, C;
2257
2259
  }
2258
- function f(R, g) {
2259
- if (g) {
2260
- if (g.type === "cache" || g.type === "unstable-cache")
2260
+ function _(R, E) {
2261
+ if (E) {
2262
+ if (E.type === "cache" || E.type === "unstable-cache")
2261
2263
  return;
2262
- (g.type === "prerender" || g.type === "prerender-legacy") && (g.revalidate = 0), process.env.NODE_ENV === "development" && g.type === "request" && (g.usedDynamic = !0);
2264
+ (E.type === "prerender" || E.type === "prerender-legacy") && (E.revalidate = 0), process.env.NODE_ENV === "development" && E.type === "request" && (E.usedDynamic = !0);
2263
2265
  }
2264
2266
  }
2265
- function p(R, g, A) {
2266
- const C = `Route ${R} needs to bail out of prerendering at this point because it used ${g}.`, M = H(C);
2267
+ function m(R, E, A) {
2268
+ const C = `Route ${R} needs to bail out of prerendering at this point because it used ${E}.`, M = H(C);
2267
2269
  A.controller.abort(M);
2268
2270
  const O = A.dynamicTracking;
2269
2271
  O && O.dynamicAccesses.push({
2270
2272
  // When we aren't debugging, we don't need to create another error for the
2271
2273
  // stack trace.
2272
2274
  stack: O.isDebugDynamicAccesses ? new Error().stack : void 0,
2273
- expression: g
2275
+ expression: E
2274
2276
  });
2275
2277
  }
2276
- function y(R, g, A, C) {
2278
+ function y(R, E, A, C) {
2277
2279
  const M = C.dynamicTracking;
2278
- M && M.syncDynamicErrorWithStack === null && (M.syncDynamicExpression = g, M.syncDynamicErrorWithStack = A), p(R, g, C);
2280
+ M && M.syncDynamicErrorWithStack === null && (M.syncDynamicExpression = E, M.syncDynamicErrorWithStack = A), m(R, E, C);
2279
2281
  }
2280
2282
  function t(R) {
2281
2283
  R.prerenderPhase = !1;
2282
2284
  }
2283
- function v(R, g, A, C) {
2285
+ function v(R, E, A, C) {
2284
2286
  if (C.controller.signal.aborted === !1) {
2285
2287
  const O = C.dynamicTracking;
2286
- O && O.syncDynamicErrorWithStack === null && (O.syncDynamicExpression = g, O.syncDynamicErrorWithStack = A, C.validating === !0 && (O.syncDynamicLogged = !0)), p(R, g, C);
2288
+ O && O.syncDynamicErrorWithStack === null && (O.syncDynamicExpression = E, O.syncDynamicErrorWithStack = A, C.validating === !0 && (O.syncDynamicLogged = !0)), m(R, E, C);
2287
2289
  }
2288
- throw H(`Route ${R} needs to bail out of prerendering at this point because it used ${g}.`);
2290
+ throw H(`Route ${R} needs to bail out of prerendering at this point because it used ${E}.`);
2289
2291
  }
2290
- const m = t;
2291
- function w({ reason: R, route: g }) {
2292
- const A = _.workUnitAsyncStorage.getStore(), C = A && A.type === "prerender-ppr" ? A.dynamicTracking : null;
2293
- S(g, R, C);
2292
+ const b = t;
2293
+ function w({ reason: R, route: E }) {
2294
+ const A = p.workUnitAsyncStorage.getStore(), C = A && A.type === "prerender-ppr" ? A.dynamicTracking : null;
2295
+ S(E, R, C);
2294
2296
  }
2295
- function S(R, g, A) {
2297
+ function S(R, E, A) {
2296
2298
  J(), A && A.dynamicAccesses.push({
2297
2299
  // When we aren't debugging, we don't need to create another error for the
2298
2300
  // stack trace.
2299
2301
  stack: A.isDebugDynamicAccesses ? new Error().stack : void 0,
2300
- expression: g
2301
- }), l.default.unstable_postpone(j(R, g));
2302
+ expression: E
2303
+ }), c.default.unstable_postpone(j(R, E));
2302
2304
  }
2303
- function j(R, g) {
2304
- return `Route ${R} needs to bail out of prerendering at this point because it used ${g}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;
2305
+ function j(R, E) {
2306
+ return `Route ${R} needs to bail out of prerendering at this point because it used ${E}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;
2305
2307
  }
2306
2308
  function X(R) {
2307
2309
  return typeof R == "object" && R !== null && typeof R.message == "string" ? U(R.message) : !1;
@@ -2317,12 +2319,12 @@ function yr() {
2317
2319
  });
2318
2320
  const G = "NEXT_PRERENDER_INTERRUPTED";
2319
2321
  function H(R) {
2320
- const g = Object.defineProperty(new Error(R), "__NEXT_ERROR_CODE", {
2322
+ const E = Object.defineProperty(new Error(R), "__NEXT_ERROR_CODE", {
2321
2323
  value: "E394",
2322
2324
  enumerable: !1,
2323
2325
  configurable: !0
2324
2326
  });
2325
- return g.digest = G, g;
2327
+ return E.digest = G, E;
2326
2328
  }
2327
2329
  function Q(R) {
2328
2330
  return typeof R == "object" && R !== null && R.digest === G && "name" in R && "message" in R && R instanceof Error;
@@ -2330,17 +2332,17 @@ function yr() {
2330
2332
  function Z(R) {
2331
2333
  return R.length > 0;
2332
2334
  }
2333
- function F(R, g) {
2334
- return R.dynamicAccesses.push(...g.dynamicAccesses), R.dynamicAccesses;
2335
+ function F(R, E) {
2336
+ return R.dynamicAccesses.push(...E.dynamicAccesses), R.dynamicAccesses;
2335
2337
  }
2336
2338
  function z(R) {
2337
- return R.filter((g) => typeof g.stack == "string" && g.stack.length > 0).map(({ expression: g, stack: A }) => (A = A.split(`
2339
+ return R.filter((E) => typeof E.stack == "string" && E.stack.length > 0).map(({ expression: E, stack: A }) => (A = A.split(`
2338
2340
  `).slice(4).filter((C) => !(C.includes("node_modules/next/") || C.includes(" (<anonymous>)") || C.includes(" (node:"))).join(`
2339
- `), `Dynamic API Usage Debug - ${g}:
2341
+ `), `Dynamic API Usage Debug - ${E}:
2340
2342
  ${A}`));
2341
2343
  }
2342
2344
  function J() {
2343
- if (!c)
2345
+ if (!d)
2344
2346
  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", {
2345
2347
  value: "E224",
2346
2348
  enumerable: !1,
@@ -2349,75 +2351,75 @@ ${A}`));
2349
2351
  }
2350
2352
  function V(R) {
2351
2353
  J();
2352
- const g = new AbortController();
2354
+ const E = new AbortController();
2353
2355
  try {
2354
- l.default.unstable_postpone(R);
2356
+ c.default.unstable_postpone(R);
2355
2357
  } catch (A) {
2356
- g.abort(A);
2358
+ E.abort(A);
2357
2359
  }
2358
- return g.signal;
2360
+ return E.signal;
2359
2361
  }
2360
2362
  function ee(R) {
2361
- const g = new AbortController();
2363
+ const E = new AbortController();
2362
2364
  return R.cacheSignal ? R.cacheSignal.inputReady().then(() => {
2363
- g.abort();
2364
- }) : (0, h.scheduleOnNextTick)(() => g.abort()), g.signal;
2365
+ E.abort();
2366
+ }) : (0, f.scheduleOnNextTick)(() => E.abort()), E.signal;
2365
2367
  }
2366
- function le(R, g) {
2367
- const A = g.dynamicTracking;
2368
+ function le(R, E) {
2369
+ const A = E.dynamicTracking;
2368
2370
  A && A.dynamicAccesses.push({
2369
2371
  stack: A.isDebugDynamicAccesses ? new Error().stack : void 0,
2370
2372
  expression: R
2371
2373
  });
2372
2374
  }
2373
2375
  function oe(R) {
2374
- const g = n.workAsyncStorage.getStore();
2375
- if (g && g.isStaticGeneration && g.fallbackRouteParams && g.fallbackRouteParams.size > 0) {
2376
- const A = _.workUnitAsyncStorage.getStore();
2377
- A && (A.type === "prerender" ? l.default.use((0, e.makeHangingPromise)(A.renderSignal, R)) : A.type === "prerender-ppr" ? S(g.route, R, A.dynamicTracking) : A.type === "prerender-legacy" && b(R, g, A));
2376
+ const E = i.workAsyncStorage.getStore();
2377
+ if (E && E.isStaticGeneration && E.fallbackRouteParams && E.fallbackRouteParams.size > 0) {
2378
+ const A = p.workUnitAsyncStorage.getStore();
2379
+ 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));
2378
2380
  }
2379
2381
  }
2380
2382
  const ae = /\n\s+at Suspense \(<anonymous>\)/, de = new RegExp(`\\n\\s+at ${a.METADATA_BOUNDARY_NAME}[\\n\\s]`), te = new RegExp(`\\n\\s+at ${a.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`), se = new RegExp(`\\n\\s+at ${a.OUTLET_BOUNDARY_NAME}[\\n\\s]`);
2381
- function fe(R, g, A, C, M) {
2382
- if (!se.test(g))
2383
- if (de.test(g)) {
2383
+ function fe(R, E, A, C, M) {
2384
+ if (!se.test(E))
2385
+ if (de.test(E)) {
2384
2386
  A.hasDynamicMetadata = !0;
2385
2387
  return;
2386
- } else if (te.test(g)) {
2388
+ } else if (te.test(E)) {
2387
2389
  A.hasDynamicViewport = !0;
2388
2390
  return;
2389
- } else if (ae.test(g)) {
2391
+ } else if (ae.test(E)) {
2390
2392
  A.hasSuspendedDynamic = !0;
2391
2393
  return;
2392
2394
  } else if (C.syncDynamicErrorWithStack || M.syncDynamicErrorWithStack) {
2393
2395
  A.hasSyncDynamicErrors = !0;
2394
2396
  return;
2395
2397
  } else {
2396
- const O = `Route "${R}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`, B = re(O, g);
2398
+ const O = `Route "${R}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`, B = re(O, E);
2397
2399
  A.dynamicErrors.push(B);
2398
2400
  return;
2399
2401
  }
2400
2402
  }
2401
- function re(R, g) {
2403
+ function re(R, E) {
2402
2404
  const A = Object.defineProperty(new Error(R), "__NEXT_ERROR_CODE", {
2403
2405
  value: "E394",
2404
2406
  enumerable: !1,
2405
2407
  configurable: !0
2406
2408
  });
2407
- return A.stack = "Error: " + R + g, A;
2409
+ return A.stack = "Error: " + R + E, A;
2408
2410
  }
2409
- function ue(R, g, A, C) {
2411
+ function ue(R, E, A, C) {
2410
2412
  let M, O, B;
2411
- if (A.syncDynamicErrorWithStack ? (M = A.syncDynamicErrorWithStack, O = A.syncDynamicExpression, B = A.syncDynamicLogged === !0) : C.syncDynamicErrorWithStack ? (M = C.syncDynamicErrorWithStack, O = C.syncDynamicExpression, B = C.syncDynamicLogged === !0) : (M = null, O = void 0, B = !1), g.hasSyncDynamicErrors && M)
2413
+ if (A.syncDynamicErrorWithStack ? (M = A.syncDynamicErrorWithStack, O = A.syncDynamicExpression, B = A.syncDynamicLogged === !0) : C.syncDynamicErrorWithStack ? (M = C.syncDynamicErrorWithStack, O = C.syncDynamicExpression, B = C.syncDynamicLogged === !0) : (M = null, O = void 0, B = !1), E.hasSyncDynamicErrors && M)
2412
2414
  throw B || console.error(M), new s.StaticGenBailoutError();
2413
- const W = g.dynamicErrors;
2415
+ const W = E.dynamicErrors;
2414
2416
  if (W.length) {
2415
2417
  for (let ce = 0; ce < W.length; ce++)
2416
2418
  console.error(W[ce]);
2417
2419
  throw new s.StaticGenBailoutError();
2418
2420
  }
2419
- if (!g.hasSuspendedDynamic) {
2420
- if (g.hasDynamicMetadata)
2421
+ if (!E.hasSuspendedDynamic) {
2422
+ if (E.hasDynamicMetadata)
2421
2423
  throw M ? (console.error(M), Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateMetadata\` that could not finish rendering before ${O} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
2422
2424
  value: "E608",
2423
2425
  enumerable: !1,
@@ -2427,7 +2429,7 @@ ${A}`));
2427
2429
  enumerable: !1,
2428
2430
  configurable: !0
2429
2431
  });
2430
- if (g.hasDynamicViewport)
2432
+ if (E.hasDynamicViewport)
2431
2433
  throw M ? (console.error(M), Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateViewport\` that could not finish rendering before ${O} was used. Follow the instructions in the error for this expression to resolve.`), "__NEXT_ERROR_CODE", {
2432
2434
  value: "E573",
2433
2435
  enumerable: !1,
@@ -2449,10 +2451,10 @@ function Zr() {
2449
2451
  }), Object.defineProperty(r, "afterTaskAsyncStorageInstance", {
2450
2452
  enumerable: !0,
2451
2453
  get: function() {
2452
- return l;
2454
+ return c;
2453
2455
  }
2454
2456
  });
2455
- const l = (0, mt().createAsyncLocalStorage)();
2457
+ const c = (0, mt().createAsyncLocalStorage)();
2456
2458
  }(ct)), ct;
2457
2459
  }
2458
2460
  var lr;
@@ -2475,10 +2477,10 @@ function en() {
2475
2477
  Object.defineProperty(r, "__esModule", {
2476
2478
  value: !0
2477
2479
  });
2478
- function o(a, h) {
2479
- for (var i in h) Object.defineProperty(a, i, {
2480
+ function o(a, f) {
2481
+ for (var n in f) Object.defineProperty(a, n, {
2480
2482
  enumerable: !0,
2481
- get: h[i]
2483
+ get: f[n]
2482
2484
  });
2483
2485
  }
2484
2486
  o(r, {
@@ -2486,37 +2488,37 @@ function en() {
2486
2488
  return e;
2487
2489
  },
2488
2490
  throwForSearchParamsAccessInUseCache: function() {
2489
- return n;
2491
+ return i;
2490
2492
  },
2491
2493
  throwWithStaticGenerationBailoutError: function() {
2492
2494
  return s;
2493
2495
  },
2494
2496
  throwWithStaticGenerationBailoutErrorWithDynamicError: function() {
2495
- return _;
2497
+ return p;
2496
2498
  }
2497
2499
  });
2498
- const l = gt(), u = Jr();
2499
- function s(a, h) {
2500
- throw Object.defineProperty(new l.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${h}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
2500
+ const c = gt(), u = Jr();
2501
+ function s(a, f) {
2502
+ throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${f}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
2501
2503
  value: "E576",
2502
2504
  enumerable: !1,
2503
2505
  configurable: !0
2504
2506
  });
2505
2507
  }
2506
- function _(a, h) {
2507
- throw Object.defineProperty(new l.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${h}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
2508
+ function p(a, f) {
2509
+ throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${f}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), "__NEXT_ERROR_CODE", {
2508
2510
  value: "E543",
2509
2511
  enumerable: !1,
2510
2512
  configurable: !0
2511
2513
  });
2512
2514
  }
2513
- function n(a) {
2514
- const h = 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", {
2515
+ function i(a) {
2516
+ const f = 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", {
2515
2517
  value: "E634",
2516
2518
  enumerable: !1,
2517
2519
  configurable: !0
2518
2520
  });
2519
- throw a.invalidUsageError ?? (a.invalidUsageError = h), h;
2521
+ throw a.invalidUsageError ?? (a.invalidUsageError = f), f;
2520
2522
  }
2521
2523
  function e() {
2522
2524
  const a = u.afterTaskAsyncStorage.getStore();
@@ -2535,11 +2537,11 @@ function tn() {
2535
2537
  return e;
2536
2538
  }
2537
2539
  });
2538
- const o = ye(), l = bt(), u = yr(), s = gt(), _ = Et(), n = en();
2540
+ const o = ye(), c = bt(), u = yr(), s = gt(), p = Et(), i = en();
2539
2541
  function e() {
2540
- const a = o.workAsyncStorage.getStore(), h = l.workUnitAsyncStorage.getStore();
2542
+ const a = o.workAsyncStorage.getStore(), f = c.workUnitAsyncStorage.getStore();
2541
2543
  if (a) {
2542
- if (h && h.phase === "after" && !(0, n.isRequestAPICallableInsideAfter)())
2544
+ if (f && f.phase === "after" && !(0, i.isRequestAPICallableInsideAfter)())
2543
2545
  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", {
2544
2546
  value: "E186",
2545
2547
  enumerable: !1,
@@ -2547,14 +2549,14 @@ function tn() {
2547
2549
  });
2548
2550
  if (a.forceStatic)
2549
2551
  return Promise.resolve(void 0);
2550
- if (h) {
2551
- if (h.type === "cache")
2552
+ if (f) {
2553
+ if (f.type === "cache")
2552
2554
  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", {
2553
2555
  value: "E111",
2554
2556
  enumerable: !1,
2555
2557
  configurable: !0
2556
2558
  });
2557
- if (h.type === "unstable-cache")
2559
+ if (f.type === "unstable-cache")
2558
2560
  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", {
2559
2561
  value: "E1",
2560
2562
  enumerable: !1,
@@ -2567,12 +2569,12 @@ function tn() {
2567
2569
  enumerable: !1,
2568
2570
  configurable: !0
2569
2571
  });
2570
- if (h) {
2571
- if (h.type === "prerender")
2572
- return (0, _.makeHangingPromise)(h.renderSignal, "`connection()`");
2573
- h.type === "prerender-ppr" ? (0, u.postponeWithTracking)(a.route, "connection", h.dynamicTracking) : h.type === "prerender-legacy" && (0, u.throwToInterruptStaticGeneration)("connection", a, h);
2572
+ if (f) {
2573
+ if (f.type === "prerender")
2574
+ return (0, p.makeHangingPromise)(f.renderSignal, "`connection()`");
2575
+ f.type === "prerender-ppr" ? (0, u.postponeWithTracking)(a.route, "connection", f.dynamicTracking) : f.type === "prerender-legacy" && (0, u.throwToInterruptStaticGeneration)("connection", a, f);
2574
2576
  }
2575
- (0, u.trackDynamicDataInDynamicRender)(a, h);
2577
+ (0, u.trackDynamicDataInDynamicRender)(a, f);
2576
2578
  }
2577
2579
  return Promise.resolve(void 0);
2578
2580
  }
@@ -2602,8 +2604,8 @@ function nn() {
2602
2604
  Object.defineProperty(r, "__esModule", {
2603
2605
  value: !0
2604
2606
  });
2605
- function o(n, e) {
2606
- for (var a in e) Object.defineProperty(n, a, {
2607
+ function o(i, e) {
2608
+ for (var a in e) Object.defineProperty(i, a, {
2607
2609
  enumerable: !0,
2608
2610
  get: e[a]
2609
2611
  });
@@ -2616,18 +2618,18 @@ function nn() {
2616
2618
  return u;
2617
2619
  },
2618
2620
  wellKnownProperties: function() {
2619
- return _;
2621
+ return p;
2620
2622
  }
2621
2623
  });
2622
- const l = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
2623
- function u(n, e) {
2624
- return l.test(e) ? "`" + n + "." + e + "`" : "`" + n + "[" + JSON.stringify(e) + "]`";
2624
+ const c = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
2625
+ function u(i, e) {
2626
+ return c.test(e) ? "`" + i + "." + e + "`" : "`" + i + "[" + JSON.stringify(e) + "]`";
2625
2627
  }
2626
- function s(n, e) {
2628
+ function s(i, e) {
2627
2629
  const a = JSON.stringify(e);
2628
- return "`Reflect.has(" + n + ", " + a + ")`, `" + a + " in " + n + "`, or similar";
2630
+ return "`Reflect.has(" + i + ", " + a + ")`, `" + a + " in " + i + "`, or similar";
2629
2631
  }
2630
- const _ = /* @__PURE__ */ new Set([
2632
+ const p = /* @__PURE__ */ new Set([
2631
2633
  "hasOwnProperty",
2632
2634
  "isPrototypeOf",
2633
2635
  "propertyIsEnumerable",
@@ -2663,26 +2665,26 @@ function on() {
2663
2665
  return a;
2664
2666
  }
2665
2667
  });
2666
- const o = rn(), l = yr(), u = ye(), s = bt(), _ = Et(), n = nn(), e = /* @__PURE__ */ new WeakMap();
2668
+ const o = rn(), c = yr(), u = ye(), s = bt(), p = Et(), i = nn(), e = /* @__PURE__ */ new WeakMap();
2667
2669
  async function a() {
2668
- const c = u.workAsyncStorage.getStore();
2669
- if (!c)
2670
+ const d = u.workAsyncStorage.getStore();
2671
+ if (!d)
2670
2672
  throw Object.defineProperty(new o.InvariantError("Missing workStore in unstable_rootParams"), "__NEXT_ERROR_CODE", {
2671
2673
  value: "E615",
2672
2674
  enumerable: !1,
2673
2675
  configurable: !0
2674
2676
  });
2675
- const E = s.workUnitAsyncStorage.getStore();
2676
- if (!E)
2677
- throw Object.defineProperty(new Error(`Route ${c.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`), "__NEXT_ERROR_CODE", {
2677
+ const h = s.workUnitAsyncStorage.getStore();
2678
+ if (!h)
2679
+ throw Object.defineProperty(new Error(`Route ${d.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`), "__NEXT_ERROR_CODE", {
2678
2680
  value: "E641",
2679
2681
  enumerable: !1,
2680
2682
  configurable: !0
2681
2683
  });
2682
- switch (E.type) {
2684
+ switch (h.type) {
2683
2685
  case "unstable-cache":
2684
2686
  case "cache":
2685
- throw Object.defineProperty(new Error(`Route ${c.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", {
2687
+ throw Object.defineProperty(new Error(`Route ${d.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", {
2686
2688
  value: "E642",
2687
2689
  enumerable: !1,
2688
2690
  configurable: !0
@@ -2690,56 +2692,56 @@ function on() {
2690
2692
  case "prerender":
2691
2693
  case "prerender-ppr":
2692
2694
  case "prerender-legacy":
2693
- return h(E.rootParams, c, E);
2695
+ return f(h.rootParams, d, h);
2694
2696
  default:
2695
- return Promise.resolve(E.rootParams);
2697
+ return Promise.resolve(h.rootParams);
2696
2698
  }
2697
2699
  }
2698
- function h(c, E, P) {
2699
- const T = E.fallbackRouteParams;
2700
+ function f(d, h, P) {
2701
+ const T = h.fallbackRouteParams;
2700
2702
  if (T) {
2701
2703
  let I = !1;
2702
- for (const d in c)
2703
- if (T.has(d)) {
2704
+ for (const l in d)
2705
+ if (T.has(l)) {
2704
2706
  I = !0;
2705
2707
  break;
2706
2708
  }
2707
2709
  if (I) {
2708
2710
  if (P.type === "prerender") {
2709
- const d = e.get(c);
2710
- if (d)
2711
- return d;
2712
- const b = (0, _.makeHangingPromise)(P.renderSignal, "`unstable_rootParams`");
2713
- return e.set(c, b), b;
2711
+ const l = e.get(d);
2712
+ if (l)
2713
+ return l;
2714
+ const g = (0, p.makeHangingPromise)(P.renderSignal, "`unstable_rootParams`");
2715
+ return e.set(d, g), g;
2714
2716
  }
2715
- return i(c, T, E, P);
2717
+ return n(d, T, h, P);
2716
2718
  }
2717
2719
  }
2718
- return Promise.resolve(c);
2720
+ return Promise.resolve(d);
2719
2721
  }
2720
- function i(c, E, P, T) {
2721
- const I = e.get(c);
2722
+ function n(d, h, P, T) {
2723
+ const I = e.get(d);
2722
2724
  if (I)
2723
2725
  return I;
2724
- const d = {
2725
- ...c
2726
- }, b = Promise.resolve(d);
2727
- return e.set(c, b), Object.keys(c).forEach((f) => {
2728
- n.wellKnownProperties.has(f) || (E.has(f) ? Object.defineProperty(d, f, {
2726
+ const l = {
2727
+ ...d
2728
+ }, g = Promise.resolve(l);
2729
+ return e.set(d, g), Object.keys(d).forEach((_) => {
2730
+ i.wellKnownProperties.has(_) || (h.has(_) ? Object.defineProperty(l, _, {
2729
2731
  get() {
2730
- const p = (0, n.describeStringPropertyAccess)("unstable_rootParams", f);
2731
- T.type === "prerender-ppr" ? (0, l.postponeWithTracking)(P.route, p, T.dynamicTracking) : (0, l.throwToInterruptStaticGeneration)(p, P, T);
2732
+ const m = (0, i.describeStringPropertyAccess)("unstable_rootParams", _);
2733
+ T.type === "prerender-ppr" ? (0, c.postponeWithTracking)(P.route, m, T.dynamicTracking) : (0, c.throwToInterruptStaticGeneration)(m, P, T);
2732
2734
  },
2733
2735
  enumerable: !0
2734
- }) : b[f] = c[f]);
2735
- }), b;
2736
+ }) : g[_] = d[_]);
2737
+ }), g;
2736
2738
  }
2737
2739
  }(lt)), lt;
2738
2740
  }
2739
2741
  var mr;
2740
2742
  function an() {
2741
2743
  return mr || (mr = 1, function(r, o) {
2742
- const l = {
2744
+ const c = {
2743
2745
  NextRequest: Mr().NextRequest,
2744
2746
  NextResponse: Hr().NextResponse,
2745
2747
  ImageResponse: Xr().ImageResponse,
@@ -2750,28 +2752,28 @@ function an() {
2750
2752
  connection: tn().connection,
2751
2753
  unstable_rootParams: on().unstable_rootParams
2752
2754
  };
2753
- r.exports = l, o.NextRequest = l.NextRequest, o.NextResponse = l.NextResponse, o.ImageResponse = l.ImageResponse, o.userAgentFromString = l.userAgentFromString, o.userAgent = l.userAgent, o.URLPattern = l.URLPattern, o.after = l.after, o.connection = l.connection, o.unstable_rootParams = l.unstable_rootParams;
2755
+ r.exports = c, o.NextRequest = c.NextRequest, o.NextResponse = c.NextResponse, o.ImageResponse = c.ImageResponse, o.userAgentFromString = c.userAgentFromString, o.userAgent = c.userAgent, o.URLPattern = c.URLPattern, o.after = c.after, o.connection = c.connection, o.unstable_rootParams = c.unstable_rootParams;
2754
2756
  }(me, me.exports)), me.exports;
2755
2757
  }
2756
2758
  var Re = an();
2757
2759
  async function fn(r) {
2758
2760
  try {
2759
- const l = await br().middleware(r);
2760
- if (l instanceof Re.NextResponse) {
2761
- const u = l.status;
2761
+ const c = await br().middleware(r);
2762
+ if (c instanceof Re.NextResponse) {
2763
+ const u = c.status;
2762
2764
  if (u === 401 || u === 403 || u === 500) {
2763
2765
  const s = new URL("/auth/login", r.url);
2764
2766
  return Re.NextResponse.redirect(s);
2765
2767
  }
2766
2768
  }
2767
- return l;
2769
+ return c;
2768
2770
  } catch (o) {
2769
2771
  if (o instanceof Error && o.message === "Missing session") {
2770
2772
  const u = new URL("/auth/login", r.url);
2771
2773
  return Re.NextResponse.redirect(u);
2772
2774
  }
2773
- const l = new URL("/auth/login", r.url);
2774
- return Re.NextResponse.redirect(l);
2775
+ const c = new URL("/auth/login", r.url);
2776
+ return Re.NextResponse.redirect(c);
2775
2777
  }
2776
2778
  }
2777
2779
  const hn = [