@equinor/cpl-top-bar-react 0.6.3 → 1.0.1
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/index.js +236 -271
- package/dist/index.mjs +236 -271
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -85,9 +85,9 @@ var require_interop_require_default = __commonJS({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
-
// ../../node_modules/.pnpm/next@16.
|
|
88
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js
|
|
89
89
|
var require_app_router_context_shared_runtime = __commonJS({
|
|
90
|
-
"../../node_modules/.pnpm/next@16.
|
|
90
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js"(exports) {
|
|
91
91
|
"use strict";
|
|
92
92
|
"use client";
|
|
93
93
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -132,9 +132,53 @@ var require_app_router_context_shared_runtime = __commonJS({
|
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
// ../../node_modules/.pnpm/next@16.
|
|
135
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/readonly-url-search-params.js
|
|
136
|
+
var require_readonly_url_search_params = __commonJS({
|
|
137
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/readonly-url-search-params.js"(exports, module) {
|
|
138
|
+
"use strict";
|
|
139
|
+
Object.defineProperty(exports, "__esModule", {
|
|
140
|
+
value: true
|
|
141
|
+
});
|
|
142
|
+
Object.defineProperty(exports, "ReadonlyURLSearchParams", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function() {
|
|
145
|
+
return ReadonlyURLSearchParams;
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
var ReadonlyURLSearchParamsError = class extends Error {
|
|
149
|
+
constructor() {
|
|
150
|
+
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
var ReadonlyURLSearchParams = class extends URLSearchParams {
|
|
154
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
155
|
+
append() {
|
|
156
|
+
throw new ReadonlyURLSearchParamsError();
|
|
157
|
+
}
|
|
158
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
159
|
+
delete() {
|
|
160
|
+
throw new ReadonlyURLSearchParamsError();
|
|
161
|
+
}
|
|
162
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
163
|
+
set() {
|
|
164
|
+
throw new ReadonlyURLSearchParamsError();
|
|
165
|
+
}
|
|
166
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
167
|
+
sort() {
|
|
168
|
+
throw new ReadonlyURLSearchParamsError();
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
172
|
+
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
173
|
+
Object.assign(exports.default, exports);
|
|
174
|
+
module.exports = exports.default;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js
|
|
136
180
|
var require_hooks_client_context_shared_runtime = __commonJS({
|
|
137
|
-
"../../node_modules/.pnpm/next@16.
|
|
181
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js"(exports) {
|
|
138
182
|
"use strict";
|
|
139
183
|
"use client";
|
|
140
184
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -156,6 +200,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
156
200
|
PathnameContext: function() {
|
|
157
201
|
return PathnameContext;
|
|
158
202
|
},
|
|
203
|
+
ReadonlyURLSearchParams: function() {
|
|
204
|
+
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
|
|
205
|
+
},
|
|
159
206
|
SearchParamsContext: function() {
|
|
160
207
|
return SearchParamsContext;
|
|
161
208
|
},
|
|
@@ -164,6 +211,7 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
164
211
|
}
|
|
165
212
|
});
|
|
166
213
|
var _react = __require("react");
|
|
214
|
+
var _readonlyurlsearchparams = require_readonly_url_search_params();
|
|
167
215
|
var SearchParamsContext = (0, _react.createContext)(null);
|
|
168
216
|
var PathnameContext = (0, _react.createContext)(null);
|
|
169
217
|
var PathParamsContext = (0, _react.createContext)(null);
|
|
@@ -184,9 +232,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
184
232
|
}
|
|
185
233
|
});
|
|
186
234
|
|
|
187
|
-
// ../../node_modules/.pnpm/next@16.
|
|
235
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/segment.js
|
|
188
236
|
var require_segment = __commonJS({
|
|
189
|
-
"../../node_modules/.pnpm/next@16.
|
|
237
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/segment.js"(exports) {
|
|
190
238
|
"use strict";
|
|
191
239
|
Object.defineProperty(exports, "__esModule", {
|
|
192
240
|
value: true
|
|
@@ -201,6 +249,9 @@ var require_segment = __commonJS({
|
|
|
201
249
|
DEFAULT_SEGMENT_KEY: function() {
|
|
202
250
|
return DEFAULT_SEGMENT_KEY;
|
|
203
251
|
},
|
|
252
|
+
NOT_FOUND_SEGMENT_KEY: function() {
|
|
253
|
+
return NOT_FOUND_SEGMENT_KEY;
|
|
254
|
+
},
|
|
204
255
|
PAGE_SEGMENT_KEY: function() {
|
|
205
256
|
return PAGE_SEGMENT_KEY;
|
|
206
257
|
},
|
|
@@ -267,56 +318,13 @@ var require_segment = __commonJS({
|
|
|
267
318
|
}
|
|
268
319
|
var PAGE_SEGMENT_KEY = "__PAGE__";
|
|
269
320
|
var DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
|
321
|
+
var NOT_FOUND_SEGMENT_KEY = "/_not-found";
|
|
270
322
|
}
|
|
271
323
|
});
|
|
272
324
|
|
|
273
|
-
// ../../node_modules/.pnpm/next@16.
|
|
274
|
-
var require_readonly_url_search_params = __commonJS({
|
|
275
|
-
"../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/readonly-url-search-params.js"(exports, module) {
|
|
276
|
-
"use strict";
|
|
277
|
-
Object.defineProperty(exports, "__esModule", {
|
|
278
|
-
value: true
|
|
279
|
-
});
|
|
280
|
-
Object.defineProperty(exports, "ReadonlyURLSearchParams", {
|
|
281
|
-
enumerable: true,
|
|
282
|
-
get: function() {
|
|
283
|
-
return ReadonlyURLSearchParams;
|
|
284
|
-
}
|
|
285
|
-
});
|
|
286
|
-
var ReadonlyURLSearchParamsError = class extends Error {
|
|
287
|
-
constructor() {
|
|
288
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
var ReadonlyURLSearchParams = class extends URLSearchParams {
|
|
292
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
293
|
-
append() {
|
|
294
|
-
throw new ReadonlyURLSearchParamsError();
|
|
295
|
-
}
|
|
296
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
297
|
-
delete() {
|
|
298
|
-
throw new ReadonlyURLSearchParamsError();
|
|
299
|
-
}
|
|
300
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
301
|
-
set() {
|
|
302
|
-
throw new ReadonlyURLSearchParamsError();
|
|
303
|
-
}
|
|
304
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
305
|
-
sort() {
|
|
306
|
-
throw new ReadonlyURLSearchParamsError();
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
310
|
-
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
311
|
-
Object.assign(exports.default, exports);
|
|
312
|
-
module.exports = exports.default;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
});
|
|
316
|
-
|
|
317
|
-
// ../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js
|
|
325
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js
|
|
318
326
|
var require_server_inserted_html_shared_runtime = __commonJS({
|
|
319
|
-
"../../node_modules/.pnpm/next@16.
|
|
327
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js"(exports) {
|
|
320
328
|
"use strict";
|
|
321
329
|
"use client";
|
|
322
330
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -348,9 +356,9 @@ var require_server_inserted_html_shared_runtime = __commonJS({
|
|
|
348
356
|
}
|
|
349
357
|
});
|
|
350
358
|
|
|
351
|
-
// ../../node_modules/.pnpm/next@16.
|
|
359
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unrecognized-action-error.js
|
|
352
360
|
var require_unrecognized_action_error = __commonJS({
|
|
353
|
-
"../../node_modules/.pnpm/next@16.
|
|
361
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unrecognized-action-error.js"(exports, module) {
|
|
354
362
|
"use strict";
|
|
355
363
|
Object.defineProperty(exports, "__esModule", {
|
|
356
364
|
value: true
|
|
@@ -386,9 +394,9 @@ var require_unrecognized_action_error = __commonJS({
|
|
|
386
394
|
}
|
|
387
395
|
});
|
|
388
396
|
|
|
389
|
-
// ../../node_modules/.pnpm/next@16.
|
|
397
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/redirect-status-code.js
|
|
390
398
|
var require_redirect_status_code = __commonJS({
|
|
391
|
-
"../../node_modules/.pnpm/next@16.
|
|
399
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/redirect-status-code.js"(exports, module) {
|
|
392
400
|
"use strict";
|
|
393
401
|
Object.defineProperty(exports, "__esModule", {
|
|
394
402
|
value: true
|
|
@@ -399,12 +407,12 @@ var require_redirect_status_code = __commonJS({
|
|
|
399
407
|
return RedirectStatusCode;
|
|
400
408
|
}
|
|
401
409
|
});
|
|
402
|
-
var RedirectStatusCode = /* @__PURE__ */ function(RedirectStatusCode2) {
|
|
410
|
+
var RedirectStatusCode = /* @__PURE__ */ (function(RedirectStatusCode2) {
|
|
403
411
|
RedirectStatusCode2[RedirectStatusCode2["SeeOther"] = 303] = "SeeOther";
|
|
404
412
|
RedirectStatusCode2[RedirectStatusCode2["TemporaryRedirect"] = 307] = "TemporaryRedirect";
|
|
405
413
|
RedirectStatusCode2[RedirectStatusCode2["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
406
414
|
return RedirectStatusCode2;
|
|
407
|
-
}({});
|
|
415
|
+
})({});
|
|
408
416
|
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
409
417
|
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
410
418
|
Object.assign(exports.default, exports);
|
|
@@ -413,9 +421,9 @@ var require_redirect_status_code = __commonJS({
|
|
|
413
421
|
}
|
|
414
422
|
});
|
|
415
423
|
|
|
416
|
-
// ../../node_modules/.pnpm/next@16.
|
|
424
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/redirect-error.js
|
|
417
425
|
var require_redirect_error = __commonJS({
|
|
418
|
-
"../../node_modules/.pnpm/next@16.
|
|
426
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/redirect-error.js"(exports, module) {
|
|
419
427
|
"use strict";
|
|
420
428
|
Object.defineProperty(exports, "__esModule", {
|
|
421
429
|
value: true
|
|
@@ -439,11 +447,11 @@ var require_redirect_error = __commonJS({
|
|
|
439
447
|
});
|
|
440
448
|
var _redirectstatuscode = require_redirect_status_code();
|
|
441
449
|
var REDIRECT_ERROR_CODE = "NEXT_REDIRECT";
|
|
442
|
-
var RedirectType = /* @__PURE__ */ function(RedirectType2) {
|
|
450
|
+
var RedirectType = /* @__PURE__ */ (function(RedirectType2) {
|
|
443
451
|
RedirectType2["push"] = "push";
|
|
444
452
|
RedirectType2["replace"] = "replace";
|
|
445
453
|
return RedirectType2;
|
|
446
|
-
}({});
|
|
454
|
+
})({});
|
|
447
455
|
function isRedirectError(error) {
|
|
448
456
|
if (typeof error !== "object" || error === null || !("digest" in error) || typeof error.digest !== "string") {
|
|
449
457
|
return false;
|
|
@@ -463,9 +471,9 @@ var require_redirect_error = __commonJS({
|
|
|
463
471
|
}
|
|
464
472
|
});
|
|
465
473
|
|
|
466
|
-
// ../../node_modules/.pnpm/next@16.
|
|
474
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/async-local-storage.js
|
|
467
475
|
var require_async_local_storage = __commonJS({
|
|
468
|
-
"../../node_modules/.pnpm/next@16.
|
|
476
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/async-local-storage.js"(exports) {
|
|
469
477
|
"use strict";
|
|
470
478
|
Object.defineProperty(exports, "__esModule", {
|
|
471
479
|
value: true
|
|
@@ -536,9 +544,9 @@ var require_async_local_storage = __commonJS({
|
|
|
536
544
|
}
|
|
537
545
|
});
|
|
538
546
|
|
|
539
|
-
// ../../node_modules/.pnpm/next@16.
|
|
547
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/action-async-storage-instance.js
|
|
540
548
|
var require_action_async_storage_instance = __commonJS({
|
|
541
|
-
"../../node_modules/.pnpm/next@16.
|
|
549
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/action-async-storage-instance.js"(exports) {
|
|
542
550
|
"use strict";
|
|
543
551
|
Object.defineProperty(exports, "__esModule", {
|
|
544
552
|
value: true
|
|
@@ -554,9 +562,9 @@ var require_action_async_storage_instance = __commonJS({
|
|
|
554
562
|
}
|
|
555
563
|
});
|
|
556
564
|
|
|
557
|
-
// ../../node_modules/.pnpm/next@16.
|
|
565
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/action-async-storage.external.js
|
|
558
566
|
var require_action_async_storage_external = __commonJS({
|
|
559
|
-
"../../node_modules/.pnpm/next@16.
|
|
567
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/action-async-storage.external.js"(exports) {
|
|
560
568
|
"use strict";
|
|
561
569
|
Object.defineProperty(exports, "__esModule", {
|
|
562
570
|
value: true
|
|
@@ -571,9 +579,9 @@ var require_action_async_storage_external = __commonJS({
|
|
|
571
579
|
}
|
|
572
580
|
});
|
|
573
581
|
|
|
574
|
-
// ../../node_modules/.pnpm/next@16.
|
|
582
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/redirect.js
|
|
575
583
|
var require_redirect = __commonJS({
|
|
576
|
-
"../../node_modules/.pnpm/next@16.
|
|
584
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/redirect.js"(exports, module) {
|
|
577
585
|
"use strict";
|
|
578
586
|
Object.defineProperty(exports, "__esModule", {
|
|
579
587
|
value: true
|
|
@@ -656,9 +664,9 @@ var require_redirect = __commonJS({
|
|
|
656
664
|
}
|
|
657
665
|
});
|
|
658
666
|
|
|
659
|
-
// ../../node_modules/.pnpm/next@16.
|
|
667
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js
|
|
660
668
|
var require_http_access_fallback = __commonJS({
|
|
661
|
-
"../../node_modules/.pnpm/next@16.
|
|
669
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js"(exports, module) {
|
|
662
670
|
"use strict";
|
|
663
671
|
Object.defineProperty(exports, "__esModule", {
|
|
664
672
|
value: true
|
|
@@ -724,9 +732,9 @@ var require_http_access_fallback = __commonJS({
|
|
|
724
732
|
}
|
|
725
733
|
});
|
|
726
734
|
|
|
727
|
-
// ../../node_modules/.pnpm/next@16.
|
|
735
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found.js
|
|
728
736
|
var require_not_found = __commonJS({
|
|
729
|
-
"../../node_modules/.pnpm/next@16.
|
|
737
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found.js"(exports, module) {
|
|
730
738
|
"use strict";
|
|
731
739
|
Object.defineProperty(exports, "__esModule", {
|
|
732
740
|
value: true
|
|
@@ -756,9 +764,9 @@ var require_not_found = __commonJS({
|
|
|
756
764
|
}
|
|
757
765
|
});
|
|
758
766
|
|
|
759
|
-
// ../../node_modules/.pnpm/next@16.
|
|
767
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/forbidden.js
|
|
760
768
|
var require_forbidden = __commonJS({
|
|
761
|
-
"../../node_modules/.pnpm/next@16.
|
|
769
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/forbidden.js"(exports, module) {
|
|
762
770
|
"use strict";
|
|
763
771
|
Object.defineProperty(exports, "__esModule", {
|
|
764
772
|
value: true
|
|
@@ -795,9 +803,9 @@ var require_forbidden = __commonJS({
|
|
|
795
803
|
}
|
|
796
804
|
});
|
|
797
805
|
|
|
798
|
-
// ../../node_modules/.pnpm/next@16.
|
|
806
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unauthorized.js
|
|
799
807
|
var require_unauthorized = __commonJS({
|
|
800
|
-
"../../node_modules/.pnpm/next@16.
|
|
808
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unauthorized.js"(exports, module) {
|
|
801
809
|
"use strict";
|
|
802
810
|
Object.defineProperty(exports, "__esModule", {
|
|
803
811
|
value: true
|
|
@@ -834,9 +842,9 @@ var require_unauthorized = __commonJS({
|
|
|
834
842
|
}
|
|
835
843
|
});
|
|
836
844
|
|
|
837
|
-
// ../../node_modules/.pnpm/next@16.
|
|
845
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/dynamic-rendering-utils.js
|
|
838
846
|
var require_dynamic_rendering_utils = __commonJS({
|
|
839
|
-
"../../node_modules/.pnpm/next@16.
|
|
847
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/dynamic-rendering-utils.js"(exports) {
|
|
840
848
|
"use strict";
|
|
841
849
|
Object.defineProperty(exports, "__esModule", {
|
|
842
850
|
value: true
|
|
@@ -913,9 +921,9 @@ var require_dynamic_rendering_utils = __commonJS({
|
|
|
913
921
|
}
|
|
914
922
|
});
|
|
915
923
|
|
|
916
|
-
// ../../node_modules/.pnpm/next@16.
|
|
924
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/router-utils/is-postpone.js
|
|
917
925
|
var require_is_postpone = __commonJS({
|
|
918
|
-
"../../node_modules/.pnpm/next@16.
|
|
926
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/router-utils/is-postpone.js"(exports) {
|
|
919
927
|
"use strict";
|
|
920
928
|
Object.defineProperty(exports, "__esModule", {
|
|
921
929
|
value: true
|
|
@@ -926,16 +934,16 @@ var require_is_postpone = __commonJS({
|
|
|
926
934
|
return isPostpone;
|
|
927
935
|
}
|
|
928
936
|
});
|
|
929
|
-
var REACT_POSTPONE_TYPE = Symbol.for("react.postpone");
|
|
937
|
+
var REACT_POSTPONE_TYPE = /* @__PURE__ */ Symbol.for("react.postpone");
|
|
930
938
|
function isPostpone(error) {
|
|
931
939
|
return typeof error === "object" && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;
|
|
932
940
|
}
|
|
933
941
|
}
|
|
934
942
|
});
|
|
935
943
|
|
|
936
|
-
// ../../node_modules/.pnpm/next@16.
|
|
944
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js
|
|
937
945
|
var require_bailout_to_csr = __commonJS({
|
|
938
|
-
"../../node_modules/.pnpm/next@16.
|
|
946
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"(exports) {
|
|
939
947
|
"use strict";
|
|
940
948
|
Object.defineProperty(exports, "__esModule", {
|
|
941
949
|
value: true
|
|
@@ -969,9 +977,9 @@ var require_bailout_to_csr = __commonJS({
|
|
|
969
977
|
}
|
|
970
978
|
});
|
|
971
979
|
|
|
972
|
-
// ../../node_modules/.pnpm/next@16.
|
|
980
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/is-next-router-error.js
|
|
973
981
|
var require_is_next_router_error = __commonJS({
|
|
974
|
-
"../../node_modules/.pnpm/next@16.
|
|
982
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/is-next-router-error.js"(exports, module) {
|
|
975
983
|
"use strict";
|
|
976
984
|
Object.defineProperty(exports, "__esModule", {
|
|
977
985
|
value: true
|
|
@@ -995,9 +1003,9 @@ var require_is_next_router_error = __commonJS({
|
|
|
995
1003
|
}
|
|
996
1004
|
});
|
|
997
1005
|
|
|
998
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1006
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/hooks-server-context.js
|
|
999
1007
|
var require_hooks_server_context = __commonJS({
|
|
1000
|
-
"../../node_modules/.pnpm/next@16.
|
|
1008
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/hooks-server-context.js"(exports, module) {
|
|
1001
1009
|
"use strict";
|
|
1002
1010
|
Object.defineProperty(exports, "__esModule", {
|
|
1003
1011
|
value: true
|
|
@@ -1036,9 +1044,9 @@ var require_hooks_server_context = __commonJS({
|
|
|
1036
1044
|
}
|
|
1037
1045
|
});
|
|
1038
1046
|
|
|
1039
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1047
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-bailout.js
|
|
1040
1048
|
var require_static_generation_bailout = __commonJS({
|
|
1041
|
-
"../../node_modules/.pnpm/next@16.
|
|
1049
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-bailout.js"(exports, module) {
|
|
1042
1050
|
"use strict";
|
|
1043
1051
|
Object.defineProperty(exports, "__esModule", {
|
|
1044
1052
|
value: true
|
|
@@ -1077,9 +1085,9 @@ var require_static_generation_bailout = __commonJS({
|
|
|
1077
1085
|
}
|
|
1078
1086
|
});
|
|
1079
1087
|
|
|
1080
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1088
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js
|
|
1081
1089
|
var require_work_unit_async_storage_instance = __commonJS({
|
|
1082
|
-
"../../node_modules/.pnpm/next@16.
|
|
1090
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js"(exports) {
|
|
1083
1091
|
"use strict";
|
|
1084
1092
|
Object.defineProperty(exports, "__esModule", {
|
|
1085
1093
|
value: true
|
|
@@ -1095,9 +1103,9 @@ var require_work_unit_async_storage_instance = __commonJS({
|
|
|
1095
1103
|
}
|
|
1096
1104
|
});
|
|
1097
1105
|
|
|
1098
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1106
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router-headers.js
|
|
1099
1107
|
var require_app_router_headers = __commonJS({
|
|
1100
|
-
"../../node_modules/.pnpm/next@16.
|
|
1108
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router-headers.js"(exports, module) {
|
|
1101
1109
|
"use strict";
|
|
1102
1110
|
Object.defineProperty(exports, "__esModule", {
|
|
1103
1111
|
value: true
|
|
@@ -1118,6 +1126,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1118
1126
|
NEXT_ACTION_NOT_FOUND_HEADER: function() {
|
|
1119
1127
|
return NEXT_ACTION_NOT_FOUND_HEADER;
|
|
1120
1128
|
},
|
|
1129
|
+
NEXT_ACTION_REVALIDATED_HEADER: function() {
|
|
1130
|
+
return NEXT_ACTION_REVALIDATED_HEADER;
|
|
1131
|
+
},
|
|
1121
1132
|
NEXT_DID_POSTPONE_HEADER: function() {
|
|
1122
1133
|
return NEXT_DID_POSTPONE_HEADER;
|
|
1123
1134
|
},
|
|
@@ -1192,6 +1203,7 @@ var require_app_router_headers = __commonJS({
|
|
|
1192
1203
|
var NEXT_ACTION_NOT_FOUND_HEADER = "x-nextjs-action-not-found";
|
|
1193
1204
|
var NEXT_REQUEST_ID_HEADER = "x-nextjs-request-id";
|
|
1194
1205
|
var NEXT_HTML_REQUEST_ID_HEADER = "x-nextjs-html-request-id";
|
|
1206
|
+
var NEXT_ACTION_REVALIDATED_HEADER = "x-action-revalidated";
|
|
1195
1207
|
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
1196
1208
|
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
1197
1209
|
Object.assign(exports.default, exports);
|
|
@@ -1200,9 +1212,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1200
1212
|
}
|
|
1201
1213
|
});
|
|
1202
1214
|
|
|
1203
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1215
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/invariant-error.js
|
|
1204
1216
|
var require_invariant_error = __commonJS({
|
|
1205
|
-
"../../node_modules/.pnpm/next@16.
|
|
1217
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/invariant-error.js"(exports) {
|
|
1206
1218
|
"use strict";
|
|
1207
1219
|
Object.defineProperty(exports, "__esModule", {
|
|
1208
1220
|
value: true
|
|
@@ -1222,9 +1234,9 @@ var require_invariant_error = __commonJS({
|
|
|
1222
1234
|
}
|
|
1223
1235
|
});
|
|
1224
1236
|
|
|
1225
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1237
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js
|
|
1226
1238
|
var require_work_unit_async_storage_external = __commonJS({
|
|
1227
|
-
"../../node_modules/.pnpm/next@16.
|
|
1239
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js"(exports) {
|
|
1228
1240
|
"use strict";
|
|
1229
1241
|
Object.defineProperty(exports, "__esModule", {
|
|
1230
1242
|
value: true
|
|
@@ -1455,9 +1467,9 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1455
1467
|
}
|
|
1456
1468
|
});
|
|
1457
1469
|
|
|
1458
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1470
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-async-storage-instance.js
|
|
1459
1471
|
var require_work_async_storage_instance = __commonJS({
|
|
1460
|
-
"../../node_modules/.pnpm/next@16.
|
|
1472
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-async-storage-instance.js"(exports) {
|
|
1461
1473
|
"use strict";
|
|
1462
1474
|
Object.defineProperty(exports, "__esModule", {
|
|
1463
1475
|
value: true
|
|
@@ -1473,9 +1485,9 @@ var require_work_async_storage_instance = __commonJS({
|
|
|
1473
1485
|
}
|
|
1474
1486
|
});
|
|
1475
1487
|
|
|
1476
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1488
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-async-storage.external.js
|
|
1477
1489
|
var require_work_async_storage_external = __commonJS({
|
|
1478
|
-
"../../node_modules/.pnpm/next@16.
|
|
1490
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/work-async-storage.external.js"(exports) {
|
|
1479
1491
|
"use strict";
|
|
1480
1492
|
Object.defineProperty(exports, "__esModule", {
|
|
1481
1493
|
value: true
|
|
@@ -1490,9 +1502,9 @@ var require_work_async_storage_external = __commonJS({
|
|
|
1490
1502
|
}
|
|
1491
1503
|
});
|
|
1492
1504
|
|
|
1493
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1505
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/framework/boundary-constants.js
|
|
1494
1506
|
var require_boundary_constants = __commonJS({
|
|
1495
|
-
"../../node_modules/.pnpm/next@16.
|
|
1507
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/framework/boundary-constants.js"(exports) {
|
|
1496
1508
|
"use strict";
|
|
1497
1509
|
Object.defineProperty(exports, "__esModule", {
|
|
1498
1510
|
value: true
|
|
@@ -1524,9 +1536,9 @@ var require_boundary_constants = __commonJS({
|
|
|
1524
1536
|
}
|
|
1525
1537
|
});
|
|
1526
1538
|
|
|
1527
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1539
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/scheduler.js
|
|
1528
1540
|
var require_scheduler = __commonJS({
|
|
1529
|
-
"../../node_modules/.pnpm/next@16.
|
|
1541
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/scheduler.js"(exports) {
|
|
1530
1542
|
"use strict";
|
|
1531
1543
|
Object.defineProperty(exports, "__esModule", {
|
|
1532
1544
|
value: true
|
|
@@ -1580,145 +1592,9 @@ var require_scheduler = __commonJS({
|
|
|
1580
1592
|
}
|
|
1581
1593
|
});
|
|
1582
1594
|
|
|
1583
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1584
|
-
var require_promise_with_resolvers = __commonJS({
|
|
1585
|
-
"../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/promise-with-resolvers.js"(exports) {
|
|
1586
|
-
"use strict";
|
|
1587
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1588
|
-
value: true
|
|
1589
|
-
});
|
|
1590
|
-
Object.defineProperty(exports, "createPromiseWithResolvers", {
|
|
1591
|
-
enumerable: true,
|
|
1592
|
-
get: function() {
|
|
1593
|
-
return createPromiseWithResolvers;
|
|
1594
|
-
}
|
|
1595
|
-
});
|
|
1596
|
-
function createPromiseWithResolvers() {
|
|
1597
|
-
let resolve;
|
|
1598
|
-
let reject;
|
|
1599
|
-
const promise = new Promise((res, rej) => {
|
|
1600
|
-
resolve = res;
|
|
1601
|
-
reject = rej;
|
|
1602
|
-
});
|
|
1603
|
-
return {
|
|
1604
|
-
resolve,
|
|
1605
|
-
reject,
|
|
1606
|
-
promise
|
|
1607
|
-
};
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
});
|
|
1611
|
-
|
|
1612
|
-
// ../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/staged-rendering.js
|
|
1613
|
-
var require_staged_rendering = __commonJS({
|
|
1614
|
-
"../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/staged-rendering.js"(exports) {
|
|
1615
|
-
"use strict";
|
|
1616
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1617
|
-
value: true
|
|
1618
|
-
});
|
|
1619
|
-
function _export(target, all) {
|
|
1620
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
1621
|
-
enumerable: true,
|
|
1622
|
-
get: all[name]
|
|
1623
|
-
});
|
|
1624
|
-
}
|
|
1625
|
-
_export(exports, {
|
|
1626
|
-
RenderStage: function() {
|
|
1627
|
-
return RenderStage;
|
|
1628
|
-
},
|
|
1629
|
-
StagedRenderingController: function() {
|
|
1630
|
-
return StagedRenderingController;
|
|
1631
|
-
}
|
|
1632
|
-
});
|
|
1633
|
-
var _invarianterror = require_invariant_error();
|
|
1634
|
-
var _promisewithresolvers = require_promise_with_resolvers();
|
|
1635
|
-
var RenderStage = /* @__PURE__ */ function(RenderStage2) {
|
|
1636
|
-
RenderStage2[RenderStage2["Static"] = 1] = "Static";
|
|
1637
|
-
RenderStage2[RenderStage2["Runtime"] = 2] = "Runtime";
|
|
1638
|
-
RenderStage2[RenderStage2["Dynamic"] = 3] = "Dynamic";
|
|
1639
|
-
return RenderStage2;
|
|
1640
|
-
}({});
|
|
1641
|
-
var StagedRenderingController = class {
|
|
1642
|
-
constructor(abortSignal = null) {
|
|
1643
|
-
this.abortSignal = abortSignal;
|
|
1644
|
-
this.currentStage = 1;
|
|
1645
|
-
this.runtimeStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1646
|
-
this.dynamicStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1647
|
-
if (abortSignal) {
|
|
1648
|
-
abortSignal.addEventListener("abort", () => {
|
|
1649
|
-
const { reason } = abortSignal;
|
|
1650
|
-
if (this.currentStage < 2) {
|
|
1651
|
-
this.runtimeStagePromise.promise.catch(ignoreReject);
|
|
1652
|
-
this.runtimeStagePromise.reject(reason);
|
|
1653
|
-
}
|
|
1654
|
-
if (this.currentStage < 3) {
|
|
1655
|
-
this.dynamicStagePromise.promise.catch(ignoreReject);
|
|
1656
|
-
this.dynamicStagePromise.reject(reason);
|
|
1657
|
-
}
|
|
1658
|
-
}, {
|
|
1659
|
-
once: true
|
|
1660
|
-
});
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
advanceStage(stage) {
|
|
1664
|
-
if (this.currentStage >= stage) {
|
|
1665
|
-
return;
|
|
1666
|
-
}
|
|
1667
|
-
this.currentStage = stage;
|
|
1668
|
-
if (stage >= 2) {
|
|
1669
|
-
this.runtimeStagePromise.resolve();
|
|
1670
|
-
}
|
|
1671
|
-
if (stage >= 3) {
|
|
1672
|
-
this.dynamicStagePromise.resolve();
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
getStagePromise(stage) {
|
|
1676
|
-
switch (stage) {
|
|
1677
|
-
case 2: {
|
|
1678
|
-
return this.runtimeStagePromise.promise;
|
|
1679
|
-
}
|
|
1680
|
-
case 3: {
|
|
1681
|
-
return this.dynamicStagePromise.promise;
|
|
1682
|
-
}
|
|
1683
|
-
default: {
|
|
1684
|
-
stage;
|
|
1685
|
-
throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid render stage: ${stage}`), "__NEXT_ERROR_CODE", {
|
|
1686
|
-
value: "E881",
|
|
1687
|
-
enumerable: false,
|
|
1688
|
-
configurable: true
|
|
1689
|
-
});
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
waitForStage(stage) {
|
|
1694
|
-
return this.getStagePromise(stage);
|
|
1695
|
-
}
|
|
1696
|
-
delayUntilStage(stage, displayName, resolvedValue) {
|
|
1697
|
-
const ioTriggerPromise = this.getStagePromise(stage);
|
|
1698
|
-
const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);
|
|
1699
|
-
if (this.abortSignal) {
|
|
1700
|
-
promise.catch(ignoreReject);
|
|
1701
|
-
}
|
|
1702
|
-
return promise;
|
|
1703
|
-
}
|
|
1704
|
-
};
|
|
1705
|
-
function ignoreReject() {
|
|
1706
|
-
}
|
|
1707
|
-
function makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {
|
|
1708
|
-
const promise = new Promise((resolve, reject) => {
|
|
1709
|
-
ioTrigger.then(resolve.bind(null, resolvedValue), reject);
|
|
1710
|
-
});
|
|
1711
|
-
if (displayName !== void 0) {
|
|
1712
|
-
promise.displayName = displayName;
|
|
1713
|
-
}
|
|
1714
|
-
return promise;
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
});
|
|
1718
|
-
|
|
1719
|
-
// ../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
1595
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
1720
1596
|
var require_dynamic_rendering = __commonJS({
|
|
1721
|
-
"../../node_modules/.pnpm/next@16.
|
|
1597
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/dynamic-rendering.js"(exports) {
|
|
1722
1598
|
"use strict";
|
|
1723
1599
|
Object.defineProperty(exports, "__esModule", {
|
|
1724
1600
|
value: true
|
|
@@ -1772,6 +1648,9 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1772
1648
|
getFirstDynamicReason: function() {
|
|
1773
1649
|
return getFirstDynamicReason;
|
|
1774
1650
|
},
|
|
1651
|
+
getStaticShellDisallowedDynamicReasons: function() {
|
|
1652
|
+
return getStaticShellDisallowedDynamicReasons;
|
|
1653
|
+
},
|
|
1775
1654
|
isDynamicPostpone: function() {
|
|
1776
1655
|
return isDynamicPostpone;
|
|
1777
1656
|
},
|
|
@@ -1799,8 +1678,11 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1799
1678
|
trackDynamicDataInDynamicRender: function() {
|
|
1800
1679
|
return trackDynamicDataInDynamicRender;
|
|
1801
1680
|
},
|
|
1802
|
-
|
|
1803
|
-
return
|
|
1681
|
+
trackDynamicHoleInRuntimeShell: function() {
|
|
1682
|
+
return trackDynamicHoleInRuntimeShell;
|
|
1683
|
+
},
|
|
1684
|
+
trackDynamicHoleInStaticShell: function() {
|
|
1685
|
+
return trackDynamicHoleInStaticShell;
|
|
1804
1686
|
},
|
|
1805
1687
|
useDynamicRouteParams: function() {
|
|
1806
1688
|
return useDynamicRouteParams;
|
|
@@ -1819,7 +1701,6 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1819
1701
|
var _scheduler = require_scheduler();
|
|
1820
1702
|
var _bailouttocsr = require_bailout_to_csr();
|
|
1821
1703
|
var _invarianterror = require_invariant_error();
|
|
1822
|
-
var _stagedrendering = require_staged_rendering();
|
|
1823
1704
|
function _interop_require_default(obj) {
|
|
1824
1705
|
return obj && obj.__esModule ? obj : {
|
|
1825
1706
|
default: obj
|
|
@@ -1837,6 +1718,7 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1837
1718
|
return {
|
|
1838
1719
|
hasSuspenseAboveBody: false,
|
|
1839
1720
|
hasDynamicMetadata: false,
|
|
1721
|
+
dynamicMetadata: null,
|
|
1840
1722
|
hasDynamicViewport: false,
|
|
1841
1723
|
hasAllowedDynamic: false,
|
|
1842
1724
|
dynamicErrors: []
|
|
@@ -1950,11 +1832,6 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1950
1832
|
}
|
|
1951
1833
|
}
|
|
1952
1834
|
}
|
|
1953
|
-
function trackSynchronousPlatformIOAccessInDev(requestStore) {
|
|
1954
|
-
if (requestStore.stagedRendering) {
|
|
1955
|
-
requestStore.stagedRendering.advanceStage(_stagedrendering.RenderStage.Dynamic);
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
1835
|
function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {
|
|
1959
1836
|
const prerenderSignal = prerenderStore.controller.signal;
|
|
1960
1837
|
if (prerenderSignal.aborted === false) {
|
|
@@ -2219,6 +2096,66 @@ ${stack}`;
|
|
|
2219
2096
|
return;
|
|
2220
2097
|
}
|
|
2221
2098
|
}
|
|
2099
|
+
function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
2100
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
2101
|
+
return;
|
|
2102
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
2103
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
2104
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2105
|
+
dynamicValidation.dynamicMetadata = error;
|
|
2106
|
+
return;
|
|
2107
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
2108
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
2109
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2110
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2111
|
+
return;
|
|
2112
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
2113
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2114
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
2115
|
+
return;
|
|
2116
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
2117
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2118
|
+
return;
|
|
2119
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
2120
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
2121
|
+
return;
|
|
2122
|
+
} else {
|
|
2123
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
2124
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2125
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2126
|
+
return;
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
2130
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
2131
|
+
return;
|
|
2132
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
2133
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
2134
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2135
|
+
dynamicValidation.dynamicMetadata = error;
|
|
2136
|
+
return;
|
|
2137
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
2138
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
2139
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2140
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2141
|
+
return;
|
|
2142
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
2143
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2144
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
2145
|
+
return;
|
|
2146
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
2147
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2148
|
+
return;
|
|
2149
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
2150
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
2151
|
+
return;
|
|
2152
|
+
} else {
|
|
2153
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
2154
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2155
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2156
|
+
return;
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2222
2159
|
function createErrorWithComponentOrOwnerStack(message, componentStack) {
|
|
2223
2160
|
const ownerStack = process.env.NODE_ENV !== "production" && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null;
|
|
2224
2161
|
const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
@@ -2226,15 +2163,15 @@ ${stack}`;
|
|
|
2226
2163
|
enumerable: false,
|
|
2227
2164
|
configurable: true
|
|
2228
2165
|
});
|
|
2229
|
-
error.stack = error.name + ": " + message + (ownerStack
|
|
2166
|
+
error.stack = error.name + ": " + message + (ownerStack || componentStack);
|
|
2230
2167
|
return error;
|
|
2231
2168
|
}
|
|
2232
|
-
var PreludeState = /* @__PURE__ */ function(PreludeState2) {
|
|
2169
|
+
var PreludeState = /* @__PURE__ */ (function(PreludeState2) {
|
|
2233
2170
|
PreludeState2[PreludeState2["Full"] = 0] = "Full";
|
|
2234
2171
|
PreludeState2[PreludeState2["Empty"] = 1] = "Empty";
|
|
2235
2172
|
PreludeState2[PreludeState2["Errored"] = 2] = "Errored";
|
|
2236
2173
|
return PreludeState2;
|
|
2237
|
-
}({});
|
|
2174
|
+
})({});
|
|
2238
2175
|
function logDisallowedDynamicError(workStore, error) {
|
|
2239
2176
|
console.error(error);
|
|
2240
2177
|
if (!workStore.dev) {
|
|
@@ -2278,6 +2215,33 @@ ${stack}`;
|
|
|
2278
2215
|
}
|
|
2279
2216
|
}
|
|
2280
2217
|
}
|
|
2218
|
+
function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {
|
|
2219
|
+
if (dynamicValidation.hasSuspenseAboveBody) {
|
|
2220
|
+
return [];
|
|
2221
|
+
}
|
|
2222
|
+
if (prelude !== 0) {
|
|
2223
|
+
const dynamicErrors = dynamicValidation.dynamicErrors;
|
|
2224
|
+
if (dynamicErrors.length > 0) {
|
|
2225
|
+
return dynamicErrors;
|
|
2226
|
+
}
|
|
2227
|
+
if (prelude === 1) {
|
|
2228
|
+
return [
|
|
2229
|
+
Object.defineProperty(new _invarianterror.InvariantError(`Route "${workStore.route}" did not produce a static shell and Next.js was unable to determine a reason.`), "__NEXT_ERROR_CODE", {
|
|
2230
|
+
value: "E936",
|
|
2231
|
+
enumerable: false,
|
|
2232
|
+
configurable: true
|
|
2233
|
+
})
|
|
2234
|
+
];
|
|
2235
|
+
}
|
|
2236
|
+
} else {
|
|
2237
|
+
if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {
|
|
2238
|
+
return [
|
|
2239
|
+
dynamicValidation.dynamicMetadata
|
|
2240
|
+
];
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
return [];
|
|
2244
|
+
}
|
|
2281
2245
|
function delayUntilRuntimeStage(prerenderStore, result) {
|
|
2282
2246
|
if (prerenderStore.runtimeStagePromise) {
|
|
2283
2247
|
return prerenderStore.runtimeStagePromise.then(() => result);
|
|
@@ -2287,9 +2251,9 @@ ${stack}`;
|
|
|
2287
2251
|
}
|
|
2288
2252
|
});
|
|
2289
2253
|
|
|
2290
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2254
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unstable-rethrow.server.js
|
|
2291
2255
|
var require_unstable_rethrow_server = __commonJS({
|
|
2292
|
-
"../../node_modules/.pnpm/next@16.
|
|
2256
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unstable-rethrow.server.js"(exports, module) {
|
|
2293
2257
|
"use strict";
|
|
2294
2258
|
Object.defineProperty(exports, "__esModule", {
|
|
2295
2259
|
value: true
|
|
@@ -2322,9 +2286,9 @@ var require_unstable_rethrow_server = __commonJS({
|
|
|
2322
2286
|
}
|
|
2323
2287
|
});
|
|
2324
2288
|
|
|
2325
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2289
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unstable-rethrow.browser.js
|
|
2326
2290
|
var require_unstable_rethrow_browser = __commonJS({
|
|
2327
|
-
"../../node_modules/.pnpm/next@16.
|
|
2291
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unstable-rethrow.browser.js"(exports, module) {
|
|
2328
2292
|
"use strict";
|
|
2329
2293
|
Object.defineProperty(exports, "__esModule", {
|
|
2330
2294
|
value: true
|
|
@@ -2353,9 +2317,9 @@ var require_unstable_rethrow_browser = __commonJS({
|
|
|
2353
2317
|
}
|
|
2354
2318
|
});
|
|
2355
2319
|
|
|
2356
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2320
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unstable-rethrow.js
|
|
2357
2321
|
var require_unstable_rethrow = __commonJS({
|
|
2358
|
-
"../../node_modules/.pnpm/next@16.
|
|
2322
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/unstable-rethrow.js"(exports, module) {
|
|
2359
2323
|
"use strict";
|
|
2360
2324
|
Object.defineProperty(exports, "__esModule", {
|
|
2361
2325
|
value: true
|
|
@@ -2375,9 +2339,9 @@ var require_unstable_rethrow = __commonJS({
|
|
|
2375
2339
|
}
|
|
2376
2340
|
});
|
|
2377
2341
|
|
|
2378
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2342
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/navigation.react-server.js
|
|
2379
2343
|
var require_navigation_react_server = __commonJS({
|
|
2380
|
-
"../../node_modules/.pnpm/next@16.
|
|
2344
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/navigation.react-server.js"(exports, module) {
|
|
2381
2345
|
"use strict";
|
|
2382
2346
|
Object.defineProperty(exports, "__esModule", {
|
|
2383
2347
|
value: true
|
|
@@ -2439,9 +2403,9 @@ var require_navigation_react_server = __commonJS({
|
|
|
2439
2403
|
}
|
|
2440
2404
|
});
|
|
2441
2405
|
|
|
2442
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2406
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/navigation.js
|
|
2443
2407
|
var require_navigation = __commonJS({
|
|
2444
|
-
"../../node_modules/.pnpm/next@16.
|
|
2408
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/navigation.js"(exports, module) {
|
|
2445
2409
|
"use strict";
|
|
2446
2410
|
Object.defineProperty(exports, "__esModule", {
|
|
2447
2411
|
value: true
|
|
@@ -2453,8 +2417,10 @@ var require_navigation = __commonJS({
|
|
|
2453
2417
|
});
|
|
2454
2418
|
}
|
|
2455
2419
|
_export(exports, {
|
|
2420
|
+
// We need the same class that was used to instantiate the context value
|
|
2421
|
+
// Otherwise instanceof checks will fail in usercode
|
|
2456
2422
|
ReadonlyURLSearchParams: function() {
|
|
2457
|
-
return
|
|
2423
|
+
return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams;
|
|
2458
2424
|
},
|
|
2459
2425
|
RedirectType: function() {
|
|
2460
2426
|
return _navigationreactserver.RedirectType;
|
|
@@ -2510,7 +2476,6 @@ var require_navigation = __commonJS({
|
|
|
2510
2476
|
var _approutercontextsharedruntime = require_app_router_context_shared_runtime();
|
|
2511
2477
|
var _hooksclientcontextsharedruntime = require_hooks_client_context_shared_runtime();
|
|
2512
2478
|
var _segment = require_segment();
|
|
2513
|
-
var _readonlyurlsearchparams = require_readonly_url_search_params();
|
|
2514
2479
|
var _serverinsertedhtmlsharedruntime = require_server_inserted_html_shared_runtime();
|
|
2515
2480
|
var _unrecognizedactionerror = require_unrecognized_action_error();
|
|
2516
2481
|
var _navigationreactserver = require_navigation_react_server();
|
|
@@ -2523,7 +2488,7 @@ var require_navigation = __commonJS({
|
|
|
2523
2488
|
if (!searchParams) {
|
|
2524
2489
|
return null;
|
|
2525
2490
|
}
|
|
2526
|
-
return new
|
|
2491
|
+
return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams);
|
|
2527
2492
|
}, [
|
|
2528
2493
|
searchParams
|
|
2529
2494
|
]);
|
|
@@ -2605,9 +2570,9 @@ var require_navigation = __commonJS({
|
|
|
2605
2570
|
}
|
|
2606
2571
|
});
|
|
2607
2572
|
|
|
2608
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2573
|
+
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/navigation.js
|
|
2609
2574
|
var require_navigation2 = __commonJS({
|
|
2610
|
-
"../../node_modules/.pnpm/next@16.
|
|
2575
|
+
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/navigation.js"(exports, module) {
|
|
2611
2576
|
"use strict";
|
|
2612
2577
|
module.exports = require_navigation();
|
|
2613
2578
|
}
|