@equinor/cpl-top-bar-react 1.0.0 → 1.0.2
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +274 -357
- package/dist/index.mjs +274 -359
- package/package.json +24 -17
package/dist/index.mjs
CHANGED
|
@@ -1,41 +1,10 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
1
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
-
var __spreadValues = (a, b) => {
|
|
10
|
-
for (var prop in b || (b = {}))
|
|
11
|
-
if (__hasOwnProp.call(b, prop))
|
|
12
|
-
__defNormalProp(a, prop, b[prop]);
|
|
13
|
-
if (__getOwnPropSymbols)
|
|
14
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
-
if (__propIsEnum.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
}
|
|
18
|
-
return a;
|
|
19
|
-
};
|
|
20
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
2
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
22
3
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
23
4
|
}) : x)(function(x) {
|
|
24
5
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
25
6
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
26
7
|
});
|
|
27
|
-
var __objRest = (source, exclude) => {
|
|
28
|
-
var target = {};
|
|
29
|
-
for (var prop in source)
|
|
30
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
31
|
-
target[prop] = source[prop];
|
|
32
|
-
if (source != null && __getOwnPropSymbols)
|
|
33
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
34
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
35
|
-
target[prop] = source[prop];
|
|
36
|
-
}
|
|
37
|
-
return target;
|
|
38
|
-
};
|
|
39
8
|
var __commonJS = (cb, mod) => function __require2() {
|
|
40
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
41
10
|
};
|
|
@@ -85,9 +54,9 @@ var require_interop_require_default = __commonJS({
|
|
|
85
54
|
}
|
|
86
55
|
});
|
|
87
56
|
|
|
88
|
-
// ../../node_modules/.pnpm/next@16.
|
|
57
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js
|
|
89
58
|
var require_app_router_context_shared_runtime = __commonJS({
|
|
90
|
-
"../../node_modules/.pnpm/next@16.
|
|
59
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js"(exports) {
|
|
91
60
|
"use strict";
|
|
92
61
|
"use client";
|
|
93
62
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -132,9 +101,53 @@ var require_app_router_context_shared_runtime = __commonJS({
|
|
|
132
101
|
}
|
|
133
102
|
});
|
|
134
103
|
|
|
135
|
-
// ../../node_modules/.pnpm/next@16.
|
|
104
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/readonly-url-search-params.js
|
|
105
|
+
var require_readonly_url_search_params = __commonJS({
|
|
106
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/readonly-url-search-params.js"(exports, module) {
|
|
107
|
+
"use strict";
|
|
108
|
+
Object.defineProperty(exports, "__esModule", {
|
|
109
|
+
value: true
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "ReadonlyURLSearchParams", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function() {
|
|
114
|
+
return ReadonlyURLSearchParams;
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
var ReadonlyURLSearchParamsError = class extends Error {
|
|
118
|
+
constructor() {
|
|
119
|
+
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
var ReadonlyURLSearchParams = class extends URLSearchParams {
|
|
123
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
124
|
+
append() {
|
|
125
|
+
throw new ReadonlyURLSearchParamsError();
|
|
126
|
+
}
|
|
127
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
128
|
+
delete() {
|
|
129
|
+
throw new ReadonlyURLSearchParamsError();
|
|
130
|
+
}
|
|
131
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
132
|
+
set() {
|
|
133
|
+
throw new ReadonlyURLSearchParamsError();
|
|
134
|
+
}
|
|
135
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
136
|
+
sort() {
|
|
137
|
+
throw new ReadonlyURLSearchParamsError();
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
141
|
+
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
142
|
+
Object.assign(exports.default, exports);
|
|
143
|
+
module.exports = exports.default;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js
|
|
136
149
|
var require_hooks_client_context_shared_runtime = __commonJS({
|
|
137
|
-
"../../node_modules/.pnpm/next@16.
|
|
150
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js"(exports) {
|
|
138
151
|
"use strict";
|
|
139
152
|
"use client";
|
|
140
153
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -156,6 +169,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
156
169
|
PathnameContext: function() {
|
|
157
170
|
return PathnameContext;
|
|
158
171
|
},
|
|
172
|
+
ReadonlyURLSearchParams: function() {
|
|
173
|
+
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
|
|
174
|
+
},
|
|
159
175
|
SearchParamsContext: function() {
|
|
160
176
|
return SearchParamsContext;
|
|
161
177
|
},
|
|
@@ -164,6 +180,7 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
164
180
|
}
|
|
165
181
|
});
|
|
166
182
|
var _react = __require("react");
|
|
183
|
+
var _readonlyurlsearchparams = require_readonly_url_search_params();
|
|
167
184
|
var SearchParamsContext = (0, _react.createContext)(null);
|
|
168
185
|
var PathnameContext = (0, _react.createContext)(null);
|
|
169
186
|
var PathParamsContext = (0, _react.createContext)(null);
|
|
@@ -184,9 +201,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
184
201
|
}
|
|
185
202
|
});
|
|
186
203
|
|
|
187
|
-
// ../../node_modules/.pnpm/next@16.
|
|
204
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/segment.js
|
|
188
205
|
var require_segment = __commonJS({
|
|
189
|
-
"../../node_modules/.pnpm/next@16.
|
|
206
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/segment.js"(exports) {
|
|
190
207
|
"use strict";
|
|
191
208
|
Object.defineProperty(exports, "__esModule", {
|
|
192
209
|
value: true
|
|
@@ -201,6 +218,9 @@ var require_segment = __commonJS({
|
|
|
201
218
|
DEFAULT_SEGMENT_KEY: function() {
|
|
202
219
|
return DEFAULT_SEGMENT_KEY;
|
|
203
220
|
},
|
|
221
|
+
NOT_FOUND_SEGMENT_KEY: function() {
|
|
222
|
+
return NOT_FOUND_SEGMENT_KEY;
|
|
223
|
+
},
|
|
204
224
|
PAGE_SEGMENT_KEY: function() {
|
|
205
225
|
return PAGE_SEGMENT_KEY;
|
|
206
226
|
},
|
|
@@ -248,13 +268,12 @@ var require_segment = __commonJS({
|
|
|
248
268
|
return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;
|
|
249
269
|
}
|
|
250
270
|
function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {
|
|
251
|
-
var _a;
|
|
252
271
|
let node;
|
|
253
272
|
if (first) {
|
|
254
273
|
node = tree[1][parallelRouteKey];
|
|
255
274
|
} else {
|
|
256
275
|
const parallelRoutes = tree[1];
|
|
257
|
-
node =
|
|
276
|
+
node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];
|
|
258
277
|
}
|
|
259
278
|
if (!node) return segmentPath;
|
|
260
279
|
const segment = node[0];
|
|
@@ -267,56 +286,13 @@ var require_segment = __commonJS({
|
|
|
267
286
|
}
|
|
268
287
|
var PAGE_SEGMENT_KEY = "__PAGE__";
|
|
269
288
|
var DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
|
289
|
+
var NOT_FOUND_SEGMENT_KEY = "/_not-found";
|
|
270
290
|
}
|
|
271
291
|
});
|
|
272
292
|
|
|
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
|
|
293
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js
|
|
318
294
|
var require_server_inserted_html_shared_runtime = __commonJS({
|
|
319
|
-
"../../node_modules/.pnpm/next@16.
|
|
295
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js"(exports) {
|
|
320
296
|
"use strict";
|
|
321
297
|
"use client";
|
|
322
298
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -348,9 +324,9 @@ var require_server_inserted_html_shared_runtime = __commonJS({
|
|
|
348
324
|
}
|
|
349
325
|
});
|
|
350
326
|
|
|
351
|
-
// ../../node_modules/.pnpm/next@16.
|
|
327
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unrecognized-action-error.js
|
|
352
328
|
var require_unrecognized_action_error = __commonJS({
|
|
353
|
-
"../../node_modules/.pnpm/next@16.
|
|
329
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unrecognized-action-error.js"(exports, module) {
|
|
354
330
|
"use strict";
|
|
355
331
|
Object.defineProperty(exports, "__esModule", {
|
|
356
332
|
value: true
|
|
@@ -386,9 +362,9 @@ var require_unrecognized_action_error = __commonJS({
|
|
|
386
362
|
}
|
|
387
363
|
});
|
|
388
364
|
|
|
389
|
-
// ../../node_modules/.pnpm/next@16.
|
|
365
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-status-code.js
|
|
390
366
|
var require_redirect_status_code = __commonJS({
|
|
391
|
-
"../../node_modules/.pnpm/next@16.
|
|
367
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-status-code.js"(exports, module) {
|
|
392
368
|
"use strict";
|
|
393
369
|
Object.defineProperty(exports, "__esModule", {
|
|
394
370
|
value: true
|
|
@@ -399,12 +375,12 @@ var require_redirect_status_code = __commonJS({
|
|
|
399
375
|
return RedirectStatusCode;
|
|
400
376
|
}
|
|
401
377
|
});
|
|
402
|
-
var RedirectStatusCode = /* @__PURE__ */ function(RedirectStatusCode2) {
|
|
378
|
+
var RedirectStatusCode = /* @__PURE__ */ (function(RedirectStatusCode2) {
|
|
403
379
|
RedirectStatusCode2[RedirectStatusCode2["SeeOther"] = 303] = "SeeOther";
|
|
404
380
|
RedirectStatusCode2[RedirectStatusCode2["TemporaryRedirect"] = 307] = "TemporaryRedirect";
|
|
405
381
|
RedirectStatusCode2[RedirectStatusCode2["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
406
382
|
return RedirectStatusCode2;
|
|
407
|
-
}({});
|
|
383
|
+
})({});
|
|
408
384
|
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
409
385
|
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
410
386
|
Object.assign(exports.default, exports);
|
|
@@ -413,9 +389,9 @@ var require_redirect_status_code = __commonJS({
|
|
|
413
389
|
}
|
|
414
390
|
});
|
|
415
391
|
|
|
416
|
-
// ../../node_modules/.pnpm/next@16.
|
|
392
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-error.js
|
|
417
393
|
var require_redirect_error = __commonJS({
|
|
418
|
-
"../../node_modules/.pnpm/next@16.
|
|
394
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-error.js"(exports, module) {
|
|
419
395
|
"use strict";
|
|
420
396
|
Object.defineProperty(exports, "__esModule", {
|
|
421
397
|
value: true
|
|
@@ -439,11 +415,11 @@ var require_redirect_error = __commonJS({
|
|
|
439
415
|
});
|
|
440
416
|
var _redirectstatuscode = require_redirect_status_code();
|
|
441
417
|
var REDIRECT_ERROR_CODE = "NEXT_REDIRECT";
|
|
442
|
-
var RedirectType = /* @__PURE__ */ function(RedirectType2) {
|
|
418
|
+
var RedirectType = /* @__PURE__ */ (function(RedirectType2) {
|
|
443
419
|
RedirectType2["push"] = "push";
|
|
444
420
|
RedirectType2["replace"] = "replace";
|
|
445
421
|
return RedirectType2;
|
|
446
|
-
}({});
|
|
422
|
+
})({});
|
|
447
423
|
function isRedirectError(error) {
|
|
448
424
|
if (typeof error !== "object" || error === null || !("digest" in error) || typeof error.digest !== "string") {
|
|
449
425
|
return false;
|
|
@@ -463,9 +439,9 @@ var require_redirect_error = __commonJS({
|
|
|
463
439
|
}
|
|
464
440
|
});
|
|
465
441
|
|
|
466
|
-
// ../../node_modules/.pnpm/next@16.
|
|
442
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/async-local-storage.js
|
|
467
443
|
var require_async_local_storage = __commonJS({
|
|
468
|
-
"../../node_modules/.pnpm/next@16.
|
|
444
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/async-local-storage.js"(exports) {
|
|
469
445
|
"use strict";
|
|
470
446
|
Object.defineProperty(exports, "__esModule", {
|
|
471
447
|
value: true
|
|
@@ -536,9 +512,9 @@ var require_async_local_storage = __commonJS({
|
|
|
536
512
|
}
|
|
537
513
|
});
|
|
538
514
|
|
|
539
|
-
// ../../node_modules/.pnpm/next@16.
|
|
515
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage-instance.js
|
|
540
516
|
var require_action_async_storage_instance = __commonJS({
|
|
541
|
-
"../../node_modules/.pnpm/next@16.
|
|
517
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage-instance.js"(exports) {
|
|
542
518
|
"use strict";
|
|
543
519
|
Object.defineProperty(exports, "__esModule", {
|
|
544
520
|
value: true
|
|
@@ -554,9 +530,9 @@ var require_action_async_storage_instance = __commonJS({
|
|
|
554
530
|
}
|
|
555
531
|
});
|
|
556
532
|
|
|
557
|
-
// ../../node_modules/.pnpm/next@16.
|
|
533
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage.external.js
|
|
558
534
|
var require_action_async_storage_external = __commonJS({
|
|
559
|
-
"../../node_modules/.pnpm/next@16.
|
|
535
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage.external.js"(exports) {
|
|
560
536
|
"use strict";
|
|
561
537
|
Object.defineProperty(exports, "__esModule", {
|
|
562
538
|
value: true
|
|
@@ -571,9 +547,9 @@ var require_action_async_storage_external = __commonJS({
|
|
|
571
547
|
}
|
|
572
548
|
});
|
|
573
549
|
|
|
574
|
-
// ../../node_modules/.pnpm/next@16.
|
|
550
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect.js
|
|
575
551
|
var require_redirect = __commonJS({
|
|
576
|
-
"../../node_modules/.pnpm/next@16.
|
|
552
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect.js"(exports, module) {
|
|
577
553
|
"use strict";
|
|
578
554
|
Object.defineProperty(exports, "__esModule", {
|
|
579
555
|
value: true
|
|
@@ -617,8 +593,7 @@ var require_redirect = __commonJS({
|
|
|
617
593
|
return error;
|
|
618
594
|
}
|
|
619
595
|
function redirect(url, type) {
|
|
620
|
-
|
|
621
|
-
type != null ? type : type = ((_a = actionAsyncStorage == null ? void 0 : actionAsyncStorage.getStore()) == null ? void 0 : _a.isAction) ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
596
|
+
type ??= actionAsyncStorage?.getStore()?.isAction ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
622
597
|
throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);
|
|
623
598
|
}
|
|
624
599
|
function permanentRedirect(url, type = _redirecterror.RedirectType.replace) {
|
|
@@ -656,9 +631,9 @@ var require_redirect = __commonJS({
|
|
|
656
631
|
}
|
|
657
632
|
});
|
|
658
633
|
|
|
659
|
-
// ../../node_modules/.pnpm/next@16.
|
|
634
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js
|
|
660
635
|
var require_http_access_fallback = __commonJS({
|
|
661
|
-
"../../node_modules/.pnpm/next@16.
|
|
636
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js"(exports, module) {
|
|
662
637
|
"use strict";
|
|
663
638
|
Object.defineProperty(exports, "__esModule", {
|
|
664
639
|
value: true
|
|
@@ -724,9 +699,9 @@ var require_http_access_fallback = __commonJS({
|
|
|
724
699
|
}
|
|
725
700
|
});
|
|
726
701
|
|
|
727
|
-
// ../../node_modules/.pnpm/next@16.
|
|
702
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/not-found.js
|
|
728
703
|
var require_not_found = __commonJS({
|
|
729
|
-
"../../node_modules/.pnpm/next@16.
|
|
704
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/not-found.js"(exports, module) {
|
|
730
705
|
"use strict";
|
|
731
706
|
Object.defineProperty(exports, "__esModule", {
|
|
732
707
|
value: true
|
|
@@ -756,9 +731,9 @@ var require_not_found = __commonJS({
|
|
|
756
731
|
}
|
|
757
732
|
});
|
|
758
733
|
|
|
759
|
-
// ../../node_modules/.pnpm/next@16.
|
|
734
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/forbidden.js
|
|
760
735
|
var require_forbidden = __commonJS({
|
|
761
|
-
"../../node_modules/.pnpm/next@16.
|
|
736
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/forbidden.js"(exports, module) {
|
|
762
737
|
"use strict";
|
|
763
738
|
Object.defineProperty(exports, "__esModule", {
|
|
764
739
|
value: true
|
|
@@ -795,9 +770,9 @@ var require_forbidden = __commonJS({
|
|
|
795
770
|
}
|
|
796
771
|
});
|
|
797
772
|
|
|
798
|
-
// ../../node_modules/.pnpm/next@16.
|
|
773
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unauthorized.js
|
|
799
774
|
var require_unauthorized = __commonJS({
|
|
800
|
-
"../../node_modules/.pnpm/next@16.
|
|
775
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unauthorized.js"(exports, module) {
|
|
801
776
|
"use strict";
|
|
802
777
|
Object.defineProperty(exports, "__esModule", {
|
|
803
778
|
value: true
|
|
@@ -834,9 +809,9 @@ var require_unauthorized = __commonJS({
|
|
|
834
809
|
}
|
|
835
810
|
});
|
|
836
811
|
|
|
837
|
-
// ../../node_modules/.pnpm/next@16.
|
|
812
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/dynamic-rendering-utils.js
|
|
838
813
|
var require_dynamic_rendering_utils = __commonJS({
|
|
839
|
-
"../../node_modules/.pnpm/next@16.
|
|
814
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/dynamic-rendering-utils.js"(exports) {
|
|
840
815
|
"use strict";
|
|
841
816
|
Object.defineProperty(exports, "__esModule", {
|
|
842
817
|
value: true
|
|
@@ -913,9 +888,9 @@ var require_dynamic_rendering_utils = __commonJS({
|
|
|
913
888
|
}
|
|
914
889
|
});
|
|
915
890
|
|
|
916
|
-
// ../../node_modules/.pnpm/next@16.
|
|
891
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/router-utils/is-postpone.js
|
|
917
892
|
var require_is_postpone = __commonJS({
|
|
918
|
-
"../../node_modules/.pnpm/next@16.
|
|
893
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/router-utils/is-postpone.js"(exports) {
|
|
919
894
|
"use strict";
|
|
920
895
|
Object.defineProperty(exports, "__esModule", {
|
|
921
896
|
value: true
|
|
@@ -926,16 +901,16 @@ var require_is_postpone = __commonJS({
|
|
|
926
901
|
return isPostpone;
|
|
927
902
|
}
|
|
928
903
|
});
|
|
929
|
-
var REACT_POSTPONE_TYPE = Symbol.for("react.postpone");
|
|
904
|
+
var REACT_POSTPONE_TYPE = /* @__PURE__ */ Symbol.for("react.postpone");
|
|
930
905
|
function isPostpone(error) {
|
|
931
906
|
return typeof error === "object" && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;
|
|
932
907
|
}
|
|
933
908
|
}
|
|
934
909
|
});
|
|
935
910
|
|
|
936
|
-
// ../../node_modules/.pnpm/next@16.
|
|
911
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js
|
|
937
912
|
var require_bailout_to_csr = __commonJS({
|
|
938
|
-
"../../node_modules/.pnpm/next@16.
|
|
913
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"(exports) {
|
|
939
914
|
"use strict";
|
|
940
915
|
Object.defineProperty(exports, "__esModule", {
|
|
941
916
|
value: true
|
|
@@ -969,9 +944,9 @@ var require_bailout_to_csr = __commonJS({
|
|
|
969
944
|
}
|
|
970
945
|
});
|
|
971
946
|
|
|
972
|
-
// ../../node_modules/.pnpm/next@16.
|
|
947
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/is-next-router-error.js
|
|
973
948
|
var require_is_next_router_error = __commonJS({
|
|
974
|
-
"../../node_modules/.pnpm/next@16.
|
|
949
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/is-next-router-error.js"(exports, module) {
|
|
975
950
|
"use strict";
|
|
976
951
|
Object.defineProperty(exports, "__esModule", {
|
|
977
952
|
value: true
|
|
@@ -995,9 +970,9 @@ var require_is_next_router_error = __commonJS({
|
|
|
995
970
|
}
|
|
996
971
|
});
|
|
997
972
|
|
|
998
|
-
// ../../node_modules/.pnpm/next@16.
|
|
973
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/hooks-server-context.js
|
|
999
974
|
var require_hooks_server_context = __commonJS({
|
|
1000
|
-
"../../node_modules/.pnpm/next@16.
|
|
975
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/hooks-server-context.js"(exports, module) {
|
|
1001
976
|
"use strict";
|
|
1002
977
|
Object.defineProperty(exports, "__esModule", {
|
|
1003
978
|
value: true
|
|
@@ -1036,9 +1011,9 @@ var require_hooks_server_context = __commonJS({
|
|
|
1036
1011
|
}
|
|
1037
1012
|
});
|
|
1038
1013
|
|
|
1039
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1014
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/static-generation-bailout.js
|
|
1040
1015
|
var require_static_generation_bailout = __commonJS({
|
|
1041
|
-
"../../node_modules/.pnpm/next@16.
|
|
1016
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/static-generation-bailout.js"(exports, module) {
|
|
1042
1017
|
"use strict";
|
|
1043
1018
|
Object.defineProperty(exports, "__esModule", {
|
|
1044
1019
|
value: true
|
|
@@ -1077,9 +1052,9 @@ var require_static_generation_bailout = __commonJS({
|
|
|
1077
1052
|
}
|
|
1078
1053
|
});
|
|
1079
1054
|
|
|
1080
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1055
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js
|
|
1081
1056
|
var require_work_unit_async_storage_instance = __commonJS({
|
|
1082
|
-
"../../node_modules/.pnpm/next@16.
|
|
1057
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js"(exports) {
|
|
1083
1058
|
"use strict";
|
|
1084
1059
|
Object.defineProperty(exports, "__esModule", {
|
|
1085
1060
|
value: true
|
|
@@ -1095,9 +1070,9 @@ var require_work_unit_async_storage_instance = __commonJS({
|
|
|
1095
1070
|
}
|
|
1096
1071
|
});
|
|
1097
1072
|
|
|
1098
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1073
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/app-router-headers.js
|
|
1099
1074
|
var require_app_router_headers = __commonJS({
|
|
1100
|
-
"../../node_modules/.pnpm/next@16.
|
|
1075
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/app-router-headers.js"(exports, module) {
|
|
1101
1076
|
"use strict";
|
|
1102
1077
|
Object.defineProperty(exports, "__esModule", {
|
|
1103
1078
|
value: true
|
|
@@ -1118,6 +1093,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1118
1093
|
NEXT_ACTION_NOT_FOUND_HEADER: function() {
|
|
1119
1094
|
return NEXT_ACTION_NOT_FOUND_HEADER;
|
|
1120
1095
|
},
|
|
1096
|
+
NEXT_ACTION_REVALIDATED_HEADER: function() {
|
|
1097
|
+
return NEXT_ACTION_REVALIDATED_HEADER;
|
|
1098
|
+
},
|
|
1121
1099
|
NEXT_DID_POSTPONE_HEADER: function() {
|
|
1122
1100
|
return NEXT_DID_POSTPONE_HEADER;
|
|
1123
1101
|
},
|
|
@@ -1192,6 +1170,7 @@ var require_app_router_headers = __commonJS({
|
|
|
1192
1170
|
var NEXT_ACTION_NOT_FOUND_HEADER = "x-nextjs-action-not-found";
|
|
1193
1171
|
var NEXT_REQUEST_ID_HEADER = "x-nextjs-request-id";
|
|
1194
1172
|
var NEXT_HTML_REQUEST_ID_HEADER = "x-nextjs-html-request-id";
|
|
1173
|
+
var NEXT_ACTION_REVALIDATED_HEADER = "x-action-revalidated";
|
|
1195
1174
|
if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
|
|
1196
1175
|
Object.defineProperty(exports.default, "__esModule", { value: true });
|
|
1197
1176
|
Object.assign(exports.default, exports);
|
|
@@ -1200,9 +1179,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1200
1179
|
}
|
|
1201
1180
|
});
|
|
1202
1181
|
|
|
1203
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1182
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/invariant-error.js
|
|
1204
1183
|
var require_invariant_error = __commonJS({
|
|
1205
|
-
"../../node_modules/.pnpm/next@16.
|
|
1184
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/invariant-error.js"(exports) {
|
|
1206
1185
|
"use strict";
|
|
1207
1186
|
Object.defineProperty(exports, "__esModule", {
|
|
1208
1187
|
value: true
|
|
@@ -1222,9 +1201,9 @@ var require_invariant_error = __commonJS({
|
|
|
1222
1201
|
}
|
|
1223
1202
|
});
|
|
1224
1203
|
|
|
1225
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1204
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js
|
|
1226
1205
|
var require_work_unit_async_storage_external = __commonJS({
|
|
1227
|
-
"../../node_modules/.pnpm/next@16.
|
|
1206
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js"(exports) {
|
|
1228
1207
|
"use strict";
|
|
1229
1208
|
Object.defineProperty(exports, "__esModule", {
|
|
1230
1209
|
value: true
|
|
@@ -1310,7 +1289,6 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1310
1289
|
}
|
|
1311
1290
|
}
|
|
1312
1291
|
function getRenderResumeDataCache(workUnitStore) {
|
|
1313
|
-
var _a;
|
|
1314
1292
|
switch (workUnitStore.type) {
|
|
1315
1293
|
case "request":
|
|
1316
1294
|
case "prerender":
|
|
@@ -1321,7 +1299,7 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1321
1299
|
}
|
|
1322
1300
|
// fallthrough
|
|
1323
1301
|
case "prerender-ppr":
|
|
1324
|
-
return
|
|
1302
|
+
return workUnitStore.prerenderResumeDataCache ?? null;
|
|
1325
1303
|
case "cache":
|
|
1326
1304
|
case "private-cache":
|
|
1327
1305
|
case "unstable-cache":
|
|
@@ -1354,13 +1332,12 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1354
1332
|
return void 0;
|
|
1355
1333
|
}
|
|
1356
1334
|
function isHmrRefresh(workStore, workUnitStore) {
|
|
1357
|
-
var _a;
|
|
1358
1335
|
if (workStore.dev) {
|
|
1359
1336
|
switch (workUnitStore.type) {
|
|
1360
1337
|
case "cache":
|
|
1361
1338
|
case "private-cache":
|
|
1362
1339
|
case "request":
|
|
1363
|
-
return
|
|
1340
|
+
return workUnitStore.isHmrRefresh ?? false;
|
|
1364
1341
|
case "prerender":
|
|
1365
1342
|
case "prerender-client":
|
|
1366
1343
|
case "prerender-runtime":
|
|
@@ -1455,9 +1432,9 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1455
1432
|
}
|
|
1456
1433
|
});
|
|
1457
1434
|
|
|
1458
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1435
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage-instance.js
|
|
1459
1436
|
var require_work_async_storage_instance = __commonJS({
|
|
1460
|
-
"../../node_modules/.pnpm/next@16.
|
|
1437
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage-instance.js"(exports) {
|
|
1461
1438
|
"use strict";
|
|
1462
1439
|
Object.defineProperty(exports, "__esModule", {
|
|
1463
1440
|
value: true
|
|
@@ -1473,9 +1450,9 @@ var require_work_async_storage_instance = __commonJS({
|
|
|
1473
1450
|
}
|
|
1474
1451
|
});
|
|
1475
1452
|
|
|
1476
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1453
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage.external.js
|
|
1477
1454
|
var require_work_async_storage_external = __commonJS({
|
|
1478
|
-
"../../node_modules/.pnpm/next@16.
|
|
1455
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage.external.js"(exports) {
|
|
1479
1456
|
"use strict";
|
|
1480
1457
|
Object.defineProperty(exports, "__esModule", {
|
|
1481
1458
|
value: true
|
|
@@ -1490,9 +1467,9 @@ var require_work_async_storage_external = __commonJS({
|
|
|
1490
1467
|
}
|
|
1491
1468
|
});
|
|
1492
1469
|
|
|
1493
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1470
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-constants.js
|
|
1494
1471
|
var require_boundary_constants = __commonJS({
|
|
1495
|
-
"../../node_modules/.pnpm/next@16.
|
|
1472
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-constants.js"(exports) {
|
|
1496
1473
|
"use strict";
|
|
1497
1474
|
Object.defineProperty(exports, "__esModule", {
|
|
1498
1475
|
value: true
|
|
@@ -1524,9 +1501,9 @@ var require_boundary_constants = __commonJS({
|
|
|
1524
1501
|
}
|
|
1525
1502
|
});
|
|
1526
1503
|
|
|
1527
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1504
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/scheduler.js
|
|
1528
1505
|
var require_scheduler = __commonJS({
|
|
1529
|
-
"../../node_modules/.pnpm/next@16.
|
|
1506
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/scheduler.js"(exports) {
|
|
1530
1507
|
"use strict";
|
|
1531
1508
|
Object.defineProperty(exports, "__esModule", {
|
|
1532
1509
|
value: true
|
|
@@ -1580,145 +1557,9 @@ var require_scheduler = __commonJS({
|
|
|
1580
1557
|
}
|
|
1581
1558
|
});
|
|
1582
1559
|
|
|
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
|
|
1560
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
1720
1561
|
var require_dynamic_rendering = __commonJS({
|
|
1721
|
-
"../../node_modules/.pnpm/next@16.
|
|
1562
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/dynamic-rendering.js"(exports) {
|
|
1722
1563
|
"use strict";
|
|
1723
1564
|
Object.defineProperty(exports, "__esModule", {
|
|
1724
1565
|
value: true
|
|
@@ -1772,6 +1613,9 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1772
1613
|
getFirstDynamicReason: function() {
|
|
1773
1614
|
return getFirstDynamicReason;
|
|
1774
1615
|
},
|
|
1616
|
+
getStaticShellDisallowedDynamicReasons: function() {
|
|
1617
|
+
return getStaticShellDisallowedDynamicReasons;
|
|
1618
|
+
},
|
|
1775
1619
|
isDynamicPostpone: function() {
|
|
1776
1620
|
return isDynamicPostpone;
|
|
1777
1621
|
},
|
|
@@ -1799,8 +1643,11 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1799
1643
|
trackDynamicDataInDynamicRender: function() {
|
|
1800
1644
|
return trackDynamicDataInDynamicRender;
|
|
1801
1645
|
},
|
|
1802
|
-
|
|
1803
|
-
return
|
|
1646
|
+
trackDynamicHoleInRuntimeShell: function() {
|
|
1647
|
+
return trackDynamicHoleInRuntimeShell;
|
|
1648
|
+
},
|
|
1649
|
+
trackDynamicHoleInStaticShell: function() {
|
|
1650
|
+
return trackDynamicHoleInStaticShell;
|
|
1804
1651
|
},
|
|
1805
1652
|
useDynamicRouteParams: function() {
|
|
1806
1653
|
return useDynamicRouteParams;
|
|
@@ -1819,7 +1666,6 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1819
1666
|
var _scheduler = require_scheduler();
|
|
1820
1667
|
var _bailouttocsr = require_bailout_to_csr();
|
|
1821
1668
|
var _invarianterror = require_invariant_error();
|
|
1822
|
-
var _stagedrendering = require_staged_rendering();
|
|
1823
1669
|
function _interop_require_default(obj) {
|
|
1824
1670
|
return obj && obj.__esModule ? obj : {
|
|
1825
1671
|
default: obj
|
|
@@ -1837,6 +1683,7 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1837
1683
|
return {
|
|
1838
1684
|
hasSuspenseAboveBody: false,
|
|
1839
1685
|
hasDynamicMetadata: false,
|
|
1686
|
+
dynamicMetadata: null,
|
|
1840
1687
|
hasDynamicViewport: false,
|
|
1841
1688
|
hasAllowedDynamic: false,
|
|
1842
1689
|
dynamicErrors: []
|
|
@@ -1950,11 +1797,6 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1950
1797
|
}
|
|
1951
1798
|
}
|
|
1952
1799
|
}
|
|
1953
|
-
function trackSynchronousPlatformIOAccessInDev(requestStore) {
|
|
1954
|
-
if (requestStore.stagedRendering) {
|
|
1955
|
-
requestStore.stagedRendering.advanceStage(_stagedrendering.RenderStage.Dynamic);
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
1800
|
function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {
|
|
1959
1801
|
const prerenderSignal = prerenderStore.controller.signal;
|
|
1960
1802
|
if (prerenderSignal.aborted === false) {
|
|
@@ -2219,6 +2061,66 @@ ${stack}`;
|
|
|
2219
2061
|
return;
|
|
2220
2062
|
}
|
|
2221
2063
|
}
|
|
2064
|
+
function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
2065
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
2066
|
+
return;
|
|
2067
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
2068
|
+
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`;
|
|
2069
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2070
|
+
dynamicValidation.dynamicMetadata = error;
|
|
2071
|
+
return;
|
|
2072
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
2073
|
+
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`;
|
|
2074
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2075
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2076
|
+
return;
|
|
2077
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
2078
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2079
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
2080
|
+
return;
|
|
2081
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
2082
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2083
|
+
return;
|
|
2084
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
2085
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
2086
|
+
return;
|
|
2087
|
+
} else {
|
|
2088
|
+
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`;
|
|
2089
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2090
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2091
|
+
return;
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
2095
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
2096
|
+
return;
|
|
2097
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
2098
|
+
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`;
|
|
2099
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2100
|
+
dynamicValidation.dynamicMetadata = error;
|
|
2101
|
+
return;
|
|
2102
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
2103
|
+
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`;
|
|
2104
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2105
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2106
|
+
return;
|
|
2107
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
2108
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2109
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
2110
|
+
return;
|
|
2111
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
2112
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2113
|
+
return;
|
|
2114
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
2115
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
2116
|
+
return;
|
|
2117
|
+
} else {
|
|
2118
|
+
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`;
|
|
2119
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2120
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2121
|
+
return;
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2222
2124
|
function createErrorWithComponentOrOwnerStack(message, componentStack) {
|
|
2223
2125
|
const ownerStack = process.env.NODE_ENV !== "production" && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null;
|
|
2224
2126
|
const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
@@ -2226,15 +2128,15 @@ ${stack}`;
|
|
|
2226
2128
|
enumerable: false,
|
|
2227
2129
|
configurable: true
|
|
2228
2130
|
});
|
|
2229
|
-
error.stack = error.name + ": " + message + (ownerStack
|
|
2131
|
+
error.stack = error.name + ": " + message + (ownerStack || componentStack);
|
|
2230
2132
|
return error;
|
|
2231
2133
|
}
|
|
2232
|
-
var PreludeState = /* @__PURE__ */ function(PreludeState2) {
|
|
2134
|
+
var PreludeState = /* @__PURE__ */ (function(PreludeState2) {
|
|
2233
2135
|
PreludeState2[PreludeState2["Full"] = 0] = "Full";
|
|
2234
2136
|
PreludeState2[PreludeState2["Empty"] = 1] = "Empty";
|
|
2235
2137
|
PreludeState2[PreludeState2["Errored"] = 2] = "Errored";
|
|
2236
2138
|
return PreludeState2;
|
|
2237
|
-
}({});
|
|
2139
|
+
})({});
|
|
2238
2140
|
function logDisallowedDynamicError(workStore, error) {
|
|
2239
2141
|
console.error(error);
|
|
2240
2142
|
if (!workStore.dev) {
|
|
@@ -2278,6 +2180,33 @@ ${stack}`;
|
|
|
2278
2180
|
}
|
|
2279
2181
|
}
|
|
2280
2182
|
}
|
|
2183
|
+
function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {
|
|
2184
|
+
if (dynamicValidation.hasSuspenseAboveBody) {
|
|
2185
|
+
return [];
|
|
2186
|
+
}
|
|
2187
|
+
if (prelude !== 0) {
|
|
2188
|
+
const dynamicErrors = dynamicValidation.dynamicErrors;
|
|
2189
|
+
if (dynamicErrors.length > 0) {
|
|
2190
|
+
return dynamicErrors;
|
|
2191
|
+
}
|
|
2192
|
+
if (prelude === 1) {
|
|
2193
|
+
return [
|
|
2194
|
+
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", {
|
|
2195
|
+
value: "E936",
|
|
2196
|
+
enumerable: false,
|
|
2197
|
+
configurable: true
|
|
2198
|
+
})
|
|
2199
|
+
];
|
|
2200
|
+
}
|
|
2201
|
+
} else {
|
|
2202
|
+
if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {
|
|
2203
|
+
return [
|
|
2204
|
+
dynamicValidation.dynamicMetadata
|
|
2205
|
+
];
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
return [];
|
|
2209
|
+
}
|
|
2281
2210
|
function delayUntilRuntimeStage(prerenderStore, result) {
|
|
2282
2211
|
if (prerenderStore.runtimeStagePromise) {
|
|
2283
2212
|
return prerenderStore.runtimeStagePromise.then(() => result);
|
|
@@ -2287,9 +2216,9 @@ ${stack}`;
|
|
|
2287
2216
|
}
|
|
2288
2217
|
});
|
|
2289
2218
|
|
|
2290
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2219
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.server.js
|
|
2291
2220
|
var require_unstable_rethrow_server = __commonJS({
|
|
2292
|
-
"../../node_modules/.pnpm/next@16.
|
|
2221
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.server.js"(exports, module) {
|
|
2293
2222
|
"use strict";
|
|
2294
2223
|
Object.defineProperty(exports, "__esModule", {
|
|
2295
2224
|
value: true
|
|
@@ -2322,9 +2251,9 @@ var require_unstable_rethrow_server = __commonJS({
|
|
|
2322
2251
|
}
|
|
2323
2252
|
});
|
|
2324
2253
|
|
|
2325
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2254
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.browser.js
|
|
2326
2255
|
var require_unstable_rethrow_browser = __commonJS({
|
|
2327
|
-
"../../node_modules/.pnpm/next@16.
|
|
2256
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.browser.js"(exports, module) {
|
|
2328
2257
|
"use strict";
|
|
2329
2258
|
Object.defineProperty(exports, "__esModule", {
|
|
2330
2259
|
value: true
|
|
@@ -2353,9 +2282,9 @@ var require_unstable_rethrow_browser = __commonJS({
|
|
|
2353
2282
|
}
|
|
2354
2283
|
});
|
|
2355
2284
|
|
|
2356
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2285
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.js
|
|
2357
2286
|
var require_unstable_rethrow = __commonJS({
|
|
2358
|
-
"../../node_modules/.pnpm/next@16.
|
|
2287
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.js"(exports, module) {
|
|
2359
2288
|
"use strict";
|
|
2360
2289
|
Object.defineProperty(exports, "__esModule", {
|
|
2361
2290
|
value: true
|
|
@@ -2375,9 +2304,9 @@ var require_unstable_rethrow = __commonJS({
|
|
|
2375
2304
|
}
|
|
2376
2305
|
});
|
|
2377
2306
|
|
|
2378
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2307
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.react-server.js
|
|
2379
2308
|
var require_navigation_react_server = __commonJS({
|
|
2380
|
-
"../../node_modules/.pnpm/next@16.
|
|
2309
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.react-server.js"(exports, module) {
|
|
2381
2310
|
"use strict";
|
|
2382
2311
|
Object.defineProperty(exports, "__esModule", {
|
|
2383
2312
|
value: true
|
|
@@ -2439,9 +2368,9 @@ var require_navigation_react_server = __commonJS({
|
|
|
2439
2368
|
}
|
|
2440
2369
|
});
|
|
2441
2370
|
|
|
2442
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2371
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.js
|
|
2443
2372
|
var require_navigation = __commonJS({
|
|
2444
|
-
"../../node_modules/.pnpm/next@16.
|
|
2373
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.js"(exports, module) {
|
|
2445
2374
|
"use strict";
|
|
2446
2375
|
Object.defineProperty(exports, "__esModule", {
|
|
2447
2376
|
value: true
|
|
@@ -2453,8 +2382,10 @@ var require_navigation = __commonJS({
|
|
|
2453
2382
|
});
|
|
2454
2383
|
}
|
|
2455
2384
|
_export(exports, {
|
|
2385
|
+
// We need the same class that was used to instantiate the context value
|
|
2386
|
+
// Otherwise instanceof checks will fail in usercode
|
|
2456
2387
|
ReadonlyURLSearchParams: function() {
|
|
2457
|
-
return
|
|
2388
|
+
return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams;
|
|
2458
2389
|
},
|
|
2459
2390
|
RedirectType: function() {
|
|
2460
2391
|
return _navigationreactserver.RedirectType;
|
|
@@ -2510,20 +2441,19 @@ var require_navigation = __commonJS({
|
|
|
2510
2441
|
var _approutercontextsharedruntime = require_app_router_context_shared_runtime();
|
|
2511
2442
|
var _hooksclientcontextsharedruntime = require_hooks_client_context_shared_runtime();
|
|
2512
2443
|
var _segment = require_segment();
|
|
2513
|
-
var _readonlyurlsearchparams = require_readonly_url_search_params();
|
|
2514
2444
|
var _serverinsertedhtmlsharedruntime = require_server_inserted_html_shared_runtime();
|
|
2515
2445
|
var _unrecognizedactionerror = require_unrecognized_action_error();
|
|
2516
2446
|
var _navigationreactserver = require_navigation_react_server();
|
|
2517
2447
|
var useDynamicRouteParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicRouteParams : void 0;
|
|
2518
2448
|
var useDynamicSearchParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicSearchParams : void 0;
|
|
2519
2449
|
function useSearchParams() {
|
|
2520
|
-
useDynamicSearchParams
|
|
2450
|
+
useDynamicSearchParams?.("useSearchParams()");
|
|
2521
2451
|
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
|
2522
2452
|
const readonlySearchParams = (0, _react.useMemo)(() => {
|
|
2523
2453
|
if (!searchParams) {
|
|
2524
2454
|
return null;
|
|
2525
2455
|
}
|
|
2526
|
-
return new
|
|
2456
|
+
return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams);
|
|
2527
2457
|
}, [
|
|
2528
2458
|
searchParams
|
|
2529
2459
|
]);
|
|
@@ -2536,7 +2466,7 @@ var require_navigation = __commonJS({
|
|
|
2536
2466
|
return readonlySearchParams;
|
|
2537
2467
|
}
|
|
2538
2468
|
function usePathname2() {
|
|
2539
|
-
useDynamicRouteParams
|
|
2469
|
+
useDynamicRouteParams?.("usePathname()");
|
|
2540
2470
|
const pathname = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
|
2541
2471
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2542
2472
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2558,7 +2488,7 @@ var require_navigation = __commonJS({
|
|
|
2558
2488
|
return router;
|
|
2559
2489
|
}
|
|
2560
2490
|
function useParams() {
|
|
2561
|
-
useDynamicRouteParams
|
|
2491
|
+
useDynamicRouteParams?.("useParams()");
|
|
2562
2492
|
const params = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
|
2563
2493
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2564
2494
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2569,14 +2499,13 @@ var require_navigation = __commonJS({
|
|
|
2569
2499
|
return params;
|
|
2570
2500
|
}
|
|
2571
2501
|
function useSelectedLayoutSegments(parallelRouteKey = "children") {
|
|
2572
|
-
|
|
2573
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegments()");
|
|
2502
|
+
useDynamicRouteParams?.("useSelectedLayoutSegments()");
|
|
2574
2503
|
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
|
2575
2504
|
if (!context) return null;
|
|
2576
2505
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2577
2506
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2578
2507
|
if (navigationPromises) {
|
|
2579
|
-
const promise =
|
|
2508
|
+
const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);
|
|
2580
2509
|
if (promise) {
|
|
2581
2510
|
return (0, _react.use)(promise);
|
|
2582
2511
|
}
|
|
@@ -2585,12 +2514,11 @@ var require_navigation = __commonJS({
|
|
|
2585
2514
|
return (0, _segment.getSelectedLayoutSegmentPath)(context.parentTree, parallelRouteKey);
|
|
2586
2515
|
}
|
|
2587
2516
|
function useSelectedLayoutSegment(parallelRouteKey = "children") {
|
|
2588
|
-
|
|
2589
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegment()");
|
|
2517
|
+
useDynamicRouteParams?.("useSelectedLayoutSegment()");
|
|
2590
2518
|
const navigationPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2591
2519
|
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
|
2592
2520
|
if (process.env.NODE_ENV !== "production" && navigationPromises && "use" in _react.default) {
|
|
2593
|
-
const promise =
|
|
2521
|
+
const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);
|
|
2594
2522
|
if (promise) {
|
|
2595
2523
|
return (0, _react.use)(promise);
|
|
2596
2524
|
}
|
|
@@ -2605,9 +2533,9 @@ var require_navigation = __commonJS({
|
|
|
2605
2533
|
}
|
|
2606
2534
|
});
|
|
2607
2535
|
|
|
2608
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2536
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/navigation.js
|
|
2609
2537
|
var require_navigation2 = __commonJS({
|
|
2610
|
-
"../../node_modules/.pnpm/next@16.
|
|
2538
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/navigation.js"(exports, module) {
|
|
2611
2539
|
"use strict";
|
|
2612
2540
|
module.exports = require_navigation();
|
|
2613
2541
|
}
|
|
@@ -2628,32 +2556,21 @@ import { external_link, menu } from "@equinor/eds-icons";
|
|
|
2628
2556
|
import { tokens } from "@equinor/eds-tokens";
|
|
2629
2557
|
import styled from "styled-components";
|
|
2630
2558
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2631
|
-
function TopBar(
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
"appName",
|
|
2645
|
-
"logoLink",
|
|
2646
|
-
"sideMenuOpen",
|
|
2647
|
-
"setSideMenuOpen",
|
|
2648
|
-
"feedbackLink",
|
|
2649
|
-
"documentationLink",
|
|
2650
|
-
"documentationName",
|
|
2651
|
-
"userMenu",
|
|
2652
|
-
"logoPath",
|
|
2653
|
-
"logoAlt"
|
|
2654
|
-
]);
|
|
2559
|
+
function TopBar({
|
|
2560
|
+
appName,
|
|
2561
|
+
logoLink,
|
|
2562
|
+
sideMenuOpen,
|
|
2563
|
+
setSideMenuOpen,
|
|
2564
|
+
feedbackLink,
|
|
2565
|
+
documentationLink,
|
|
2566
|
+
documentationName = "Documentation",
|
|
2567
|
+
userMenu,
|
|
2568
|
+
logoPath = ".",
|
|
2569
|
+
logoAlt = "logo",
|
|
2570
|
+
...edsTopBarProps
|
|
2571
|
+
}) {
|
|
2655
2572
|
const hasSideMenu = setSideMenuOpen && sideMenuOpen !== void 0;
|
|
2656
|
-
return /* @__PURE__ */ jsxs(StyledEDSTopBar,
|
|
2573
|
+
return /* @__PURE__ */ jsxs(StyledEDSTopBar, { ...edsTopBarProps, children: [
|
|
2657
2574
|
/* @__PURE__ */ jsxs(EDSTopBar.Header, { style: { padding: 0 }, children: [
|
|
2658
2575
|
hasSideMenu && /* @__PURE__ */ jsx(
|
|
2659
2576
|
Button,
|
|
@@ -2677,7 +2594,7 @@ function TopBar(_a) {
|
|
|
2677
2594
|
] }),
|
|
2678
2595
|
userMenu
|
|
2679
2596
|
] }) })
|
|
2680
|
-
] })
|
|
2597
|
+
] });
|
|
2681
2598
|
}
|
|
2682
2599
|
var StyledEDSTopBar = styled(EDSTopBar)`
|
|
2683
2600
|
border-color: var(--cpl-top-bar-border-color);
|
|
@@ -2786,7 +2703,7 @@ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
|
2786
2703
|
var usePathname;
|
|
2787
2704
|
try {
|
|
2788
2705
|
usePathname = require_navigation2().usePathname;
|
|
2789
|
-
} catch
|
|
2706
|
+
} catch {
|
|
2790
2707
|
}
|
|
2791
2708
|
function MenuLink({
|
|
2792
2709
|
item,
|
|
@@ -2794,10 +2711,9 @@ function MenuLink({
|
|
|
2794
2711
|
appUrls,
|
|
2795
2712
|
linkComponent: LinkComponent
|
|
2796
2713
|
}) {
|
|
2797
|
-
|
|
2798
|
-
const
|
|
2799
|
-
const
|
|
2800
|
-
const nextPathName = usePathname == null ? void 0 : usePathname();
|
|
2714
|
+
const urlByNameAndEnvironment = useAppUrlByNameAndEnvironment(item.appName, environment, appUrls) ?? "";
|
|
2715
|
+
const url = item?.url ?? urlByNameAndEnvironment;
|
|
2716
|
+
const nextPathName = usePathname?.();
|
|
2801
2717
|
let isActive = !item.external && nextPathName == item.url;
|
|
2802
2718
|
const linkContent = /* @__PURE__ */ jsxs4("span", { children: [
|
|
2803
2719
|
item.name,
|
|
@@ -2953,7 +2869,6 @@ function SideMenu({
|
|
|
2953
2869
|
appUrls,
|
|
2954
2870
|
linkComponent
|
|
2955
2871
|
}) {
|
|
2956
|
-
var _a;
|
|
2957
2872
|
const width = "268px";
|
|
2958
2873
|
const [hasOverflow, setHasOverflow] = useState(false);
|
|
2959
2874
|
const [scrolledDown, setScrolledDown] = useState(false);
|
|
@@ -2965,9 +2880,10 @@ function SideMenu({
|
|
|
2965
2880
|
}
|
|
2966
2881
|
return mainMenuItems.map((menuItem) => {
|
|
2967
2882
|
if ("items" in menuItem) {
|
|
2968
|
-
return
|
|
2883
|
+
return {
|
|
2884
|
+
...menuItem,
|
|
2969
2885
|
isExpanded: menuItem.items.some((item) => pathname === item.url)
|
|
2970
|
-
}
|
|
2886
|
+
};
|
|
2971
2887
|
}
|
|
2972
2888
|
return menuItem;
|
|
2973
2889
|
});
|
|
@@ -3028,7 +2944,7 @@ function SideMenu({
|
|
|
3028
2944
|
/* @__PURE__ */ jsx6(
|
|
3029
2945
|
MenuList,
|
|
3030
2946
|
{
|
|
3031
|
-
items: mainMenuItemsWithActiveCatalogue
|
|
2947
|
+
items: mainMenuItemsWithActiveCatalogue ?? [],
|
|
3032
2948
|
currentEnvironment,
|
|
3033
2949
|
appUrls,
|
|
3034
2950
|
onToggleMenuGroup: checkOverflow,
|
|
@@ -3048,7 +2964,7 @@ function SideMenu({
|
|
|
3048
2964
|
color: tokens5.colors.interactive.secondary__resting.rgba,
|
|
3049
2965
|
padding: "12px 19px 4px 19px"
|
|
3050
2966
|
},
|
|
3051
|
-
children:
|
|
2967
|
+
children: titleOtherMenuItems?.toUpperCase() ?? "OTHER SOLUTIONS"
|
|
3052
2968
|
}
|
|
3053
2969
|
),
|
|
3054
2970
|
/* @__PURE__ */ jsx6(
|
|
@@ -3127,7 +3043,6 @@ import { useState as useState2 } from "react";
|
|
|
3127
3043
|
import styled6 from "styled-components";
|
|
3128
3044
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
3129
3045
|
function UserMenu({ user, logout, settingsLink, children }) {
|
|
3130
|
-
var _a, _b, _c, _d, _e;
|
|
3131
3046
|
const [isOpen, setIsOpen] = useState2(false);
|
|
3132
3047
|
const [anchorEl, setAnchorEl] = useState2(null);
|
|
3133
3048
|
const openMenu = () => {
|
|
@@ -3149,7 +3064,7 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3149
3064
|
] });
|
|
3150
3065
|
}
|
|
3151
3066
|
};
|
|
3152
|
-
const firstLetter =
|
|
3067
|
+
const firstLetter = user?.email?.[0]?.toUpperCase() ?? "-";
|
|
3153
3068
|
return /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
3154
3069
|
/* @__PURE__ */ jsx7(
|
|
3155
3070
|
StyledUserButton,
|
|
@@ -3177,8 +3092,8 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3177
3092
|
/* @__PURE__ */ jsxs7(IconAndTextWrapper, { children: [
|
|
3178
3093
|
/* @__PURE__ */ jsx7(LetterCircle, { children: firstLetter }),
|
|
3179
3094
|
isOpen && /* @__PURE__ */ jsxs7("div", { children: [
|
|
3180
|
-
/* @__PURE__ */ jsx7("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children:
|
|
3181
|
-
/* @__PURE__ */ jsx7("div", { children:
|
|
3095
|
+
/* @__PURE__ */ jsx7("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children: user?.name ?? "-" }),
|
|
3096
|
+
/* @__PURE__ */ jsx7("div", { children: user?.email ?? "-" })
|
|
3182
3097
|
] })
|
|
3183
3098
|
] }),
|
|
3184
3099
|
settingsLink && /* @__PURE__ */ jsxs7(Menu.Item, { as: "a", href: settingsLink, className: "menu-item", children: [
|