@jigowatts/jigowatts-ui 1.1.1 → 1.1.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/{AccordionSummary-DxK7r28g.js → AccordionSummary-B4zooGpd.js} +6 -6
- package/dist/{ButtonBase-CGAQ3bSQ.js → ButtonBase-pxtIu13Q.js} +2 -2
- package/dist/{DateTimePicker-BmYLBFzf.js → DateTimePicker-DJSOr5wM.js} +10 -10
- package/dist/{ListContext-DlcYOqnZ.js → ListContext-DOVwHqy-.js} +2 -2
- package/dist/{MenuItem-B8210q-E.js → MenuItem-yBaT3_db.js} +4 -4
- package/dist/{Paper-DdgPoeFO.js → Paper-COvYqxZa.js} +4 -4
- package/dist/{Tabs-C-lvqbGy.js → Tabs-D3lJRumZ.js} +6 -6
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CustomLink/index.js +1 -1
- package/dist/components/DatePickerController/index.js +2 -2
- package/dist/components/InputController/index.js +2 -2
- package/dist/components/NumericFieldController/index.js +1 -1
- package/dist/components/OfflineLabel/index.js +2 -2
- package/dist/components/PasswordInputController/index.js +2 -2
- package/dist/components/RangeDatePicker/index.js +8 -8
- package/dist/components/RangeDatePickerController/index.js +2 -2
- package/dist/components/ReportChart/index.js +1945 -1945
- package/dist/components/SearchForm/index.js +3 -3
- package/dist/components/SelectBoxController/index.js +1 -1
- package/dist/components/SideMenu/index.d.ts +3 -2
- package/dist/components/SideMenu/index.js +998 -1554
- package/dist/components/SubMenu/index.js +4 -4
- package/dist/components/Tabs/index.js +3 -3
- package/dist/{createSvgIcon-DuhUCGKB.js → createSvgIcon-B53UOwxg.js} +2 -2
- package/dist/{createSvgIcon-DQCzQIHM.js → createSvgIcon-Dj8zNxRS.js} +2 -2
- package/dist/{index-CaAeG2Rt.js → index-Bs3JCwgu.js} +76 -74
- package/dist/{index-DoP2dQJs.js → index-CICI7n5Y.js} +9 -9
- package/dist/{index-DQOOIh6W.js → index-kvi6aotO.js} +1 -1
- package/dist/{link-DKxv6PwW.js → link-CjdKDftr.js} +236 -234
- package/dist/{mergeSlotProps-DaSHjm5-.js → mergeSlotProps-J197zKan.js} +2 -2
- package/dist/{styled-C_i9th5U.js → styled-CWju4EfZ.js} +1 -1
- package/dist/{useSlotProps-CpBWccQp.js → useSlotProps-Bh7akxXV.js} +3 -3
- package/package.json +1 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { g as
|
|
4
|
-
import { _ as _e, a as Ke, r as
|
|
5
|
-
import
|
|
6
|
-
import { Drawer as
|
|
7
|
-
import { c as
|
|
8
|
-
import '../../assets/index27.css';var
|
|
9
|
-
(function(
|
|
10
|
-
Object.defineProperty(
|
|
1
|
+
import Fe, { jsx as he, jsxs as He } from "react/jsx-runtime";
|
|
2
|
+
import me, { useState as Qe, useEffect as Ye } from "react";
|
|
3
|
+
import { g as Ze } from "../../_commonjsHelpers-CT_km90n.js";
|
|
4
|
+
import { _ as _e, a as Ke, r as Je, L as Pe } from "../../link-CjdKDftr.js";
|
|
5
|
+
import et from "react-dom";
|
|
6
|
+
import { Drawer as tt } from "@mui/material";
|
|
7
|
+
import { c as nt } from "../../index-DWRHnq8_.js";
|
|
8
|
+
import '../../assets/index27.css';var We = {}, Te = {}, ve = {};
|
|
9
|
+
(function(L) {
|
|
10
|
+
Object.defineProperty(L, "__esModule", {
|
|
11
11
|
value: !0
|
|
12
|
-
}), Object.defineProperty(
|
|
12
|
+
}), Object.defineProperty(L, "warnOnce", {
|
|
13
13
|
enumerable: !0,
|
|
14
14
|
get: function() {
|
|
15
|
-
return
|
|
15
|
+
return R;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
let
|
|
18
|
+
let R = (N) => {
|
|
19
19
|
};
|
|
20
20
|
if (process.env.NODE_ENV !== "production") {
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const N = /* @__PURE__ */ new Set();
|
|
22
|
+
R = (j) => {
|
|
23
|
+
N.has(j) || console.warn(j), N.add(j);
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
})(
|
|
27
|
-
var
|
|
28
|
-
(function(
|
|
29
|
-
Object.defineProperty(
|
|
26
|
+
})(ve);
|
|
27
|
+
var Xe = {};
|
|
28
|
+
(function(L) {
|
|
29
|
+
Object.defineProperty(L, "__esModule", {
|
|
30
30
|
value: !0
|
|
31
|
-
}), Object.defineProperty(
|
|
31
|
+
}), Object.defineProperty(L, "getImageBlurSvg", {
|
|
32
32
|
enumerable: !0,
|
|
33
33
|
get: function() {
|
|
34
|
-
return
|
|
34
|
+
return R;
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
function
|
|
38
|
-
let { widthInt:
|
|
39
|
-
const
|
|
40
|
-
return "%3Csvg xmlns='http://www.w3.org/2000/svg' " +
|
|
37
|
+
function R(N) {
|
|
38
|
+
let { widthInt: j, heightInt: S, blurWidth: u, blurHeight: m, blurDataURL: p, objectFit: E } = N;
|
|
39
|
+
const O = 20, x = u ? u * 40 : j, h = m ? m * 40 : S, y = x && h ? "viewBox='0 0 " + x + " " + h + "'" : "", c = y ? "none" : E === "contain" ? "xMidYMid" : E === "cover" ? "xMidYMid slice" : "none";
|
|
40
|
+
return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + y + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + O + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + O + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + c + "' style='filter: url(%23b);' href='" + p + "'/%3E%3C/svg%3E";
|
|
41
41
|
}
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
(function(
|
|
45
|
-
Object.defineProperty(
|
|
42
|
+
})(Xe);
|
|
43
|
+
var Re = {};
|
|
44
|
+
(function(L) {
|
|
45
|
+
Object.defineProperty(L, "__esModule", {
|
|
46
46
|
value: !0
|
|
47
47
|
});
|
|
48
|
-
function
|
|
49
|
-
for (var
|
|
50
|
-
Object.defineProperty(
|
|
48
|
+
function R(S, u) {
|
|
49
|
+
for (var m in u)
|
|
50
|
+
Object.defineProperty(S, m, {
|
|
51
51
|
enumerable: !0,
|
|
52
|
-
get:
|
|
52
|
+
get: u[m]
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
R(L, {
|
|
56
56
|
VALID_LOADERS: function() {
|
|
57
|
-
return
|
|
57
|
+
return N;
|
|
58
58
|
},
|
|
59
59
|
imageConfigDefault: function() {
|
|
60
|
-
return
|
|
60
|
+
return j;
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
const
|
|
63
|
+
const N = [
|
|
64
64
|
"default",
|
|
65
65
|
"imgix",
|
|
66
66
|
"cloudinary",
|
|
67
67
|
"akamai",
|
|
68
68
|
"custom"
|
|
69
|
-
],
|
|
69
|
+
], j = {
|
|
70
70
|
deviceSizes: [
|
|
71
71
|
640,
|
|
72
72
|
750,
|
|
@@ -102,55 +102,55 @@ var Ae = {};
|
|
|
102
102
|
remotePatterns: [],
|
|
103
103
|
unoptimized: !1
|
|
104
104
|
};
|
|
105
|
-
})(
|
|
106
|
-
(function(
|
|
107
|
-
Object.defineProperty(
|
|
105
|
+
})(Re);
|
|
106
|
+
(function(L) {
|
|
107
|
+
Object.defineProperty(L, "__esModule", {
|
|
108
108
|
value: !0
|
|
109
|
-
}), Object.defineProperty(
|
|
109
|
+
}), Object.defineProperty(L, "getImgProps", {
|
|
110
110
|
enumerable: !0,
|
|
111
111
|
get: function() {
|
|
112
|
-
return
|
|
112
|
+
return c;
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
const
|
|
115
|
+
const R = ve, N = Xe, j = Re, S = [
|
|
116
116
|
"lazy",
|
|
117
117
|
"eager",
|
|
118
118
|
void 0
|
|
119
119
|
];
|
|
120
|
-
function
|
|
121
|
-
return
|
|
120
|
+
function u(i) {
|
|
121
|
+
return i.default !== void 0;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
return
|
|
123
|
+
function m(i) {
|
|
124
|
+
return i.src !== void 0;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
return typeof
|
|
126
|
+
function p(i) {
|
|
127
|
+
return typeof i == "object" && (u(i) || m(i));
|
|
128
128
|
}
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
return typeof
|
|
129
|
+
const E = /* @__PURE__ */ new Map();
|
|
130
|
+
let O;
|
|
131
|
+
function x(i) {
|
|
132
|
+
return typeof i > "u" ? i : typeof i == "number" ? Number.isFinite(i) ? i : NaN : typeof i == "string" && /^[0-9]+$/.test(i) ? parseInt(i, 10) : NaN;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
let { deviceSizes:
|
|
136
|
-
if (
|
|
137
|
-
const
|
|
138
|
-
for (let
|
|
139
|
-
|
|
140
|
-
if (
|
|
141
|
-
const
|
|
134
|
+
function h(i, b, f) {
|
|
135
|
+
let { deviceSizes: d, allSizes: C } = i;
|
|
136
|
+
if (f) {
|
|
137
|
+
const o = /(^|\s)(1?\d?\d)vw/g, g = [];
|
|
138
|
+
for (let l; l = o.exec(f); l)
|
|
139
|
+
g.push(parseInt(l[2]));
|
|
140
|
+
if (g.length) {
|
|
141
|
+
const l = Math.min(...g) * 0.01;
|
|
142
142
|
return {
|
|
143
|
-
widths:
|
|
143
|
+
widths: C.filter((_) => _ >= d[0] * l),
|
|
144
144
|
kind: "w"
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
return {
|
|
148
|
-
widths:
|
|
148
|
+
widths: C,
|
|
149
149
|
kind: "w"
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
return typeof
|
|
153
|
-
widths:
|
|
152
|
+
return typeof b != "number" ? {
|
|
153
|
+
widths: d,
|
|
154
154
|
kind: "w"
|
|
155
155
|
} : {
|
|
156
156
|
widths: [
|
|
@@ -164,83 +164,83 @@ var Ae = {};
|
|
|
164
164
|
// > something like a magnifying glass.
|
|
165
165
|
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
166
166
|
[
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
b,
|
|
168
|
+
b * 2
|
|
169
169
|
/*, width * 3*/
|
|
170
|
-
].map((
|
|
170
|
+
].map((o) => C.find((g) => g >= o) || C[C.length - 1])
|
|
171
171
|
)
|
|
172
172
|
],
|
|
173
173
|
kind: "x"
|
|
174
174
|
};
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
let { config:
|
|
178
|
-
if (
|
|
176
|
+
function y(i) {
|
|
177
|
+
let { config: b, src: f, unoptimized: d, width: C, quality: r, sizes: o, loader: g } = i;
|
|
178
|
+
if (d)
|
|
179
179
|
return {
|
|
180
|
-
src:
|
|
180
|
+
src: f,
|
|
181
181
|
srcSet: void 0,
|
|
182
182
|
sizes: void 0
|
|
183
183
|
};
|
|
184
|
-
const { widths:
|
|
184
|
+
const { widths: l, kind: _ } = h(b, C, o), T = l.length - 1;
|
|
185
185
|
return {
|
|
186
|
-
sizes: !
|
|
187
|
-
srcSet:
|
|
188
|
-
config:
|
|
189
|
-
src:
|
|
190
|
-
quality:
|
|
191
|
-
width:
|
|
192
|
-
}) + " " + (
|
|
186
|
+
sizes: !o && _ === "w" ? "100vw" : o,
|
|
187
|
+
srcSet: l.map((H, v) => g({
|
|
188
|
+
config: b,
|
|
189
|
+
src: f,
|
|
190
|
+
quality: r,
|
|
191
|
+
width: H
|
|
192
|
+
}) + " " + (_ === "w" ? H : v + 1) + _).join(", "),
|
|
193
193
|
// It's intended to keep `src` the last attribute because React updates
|
|
194
194
|
// attributes in order. If we keep `src` the first one, Safari will
|
|
195
195
|
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
196
196
|
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
197
197
|
// and `sizes` are defined.
|
|
198
198
|
// This bug cannot be reproduced in Chrome or Firefox.
|
|
199
|
-
src:
|
|
200
|
-
config:
|
|
201
|
-
src:
|
|
202
|
-
quality:
|
|
203
|
-
width:
|
|
199
|
+
src: g({
|
|
200
|
+
config: b,
|
|
201
|
+
src: f,
|
|
202
|
+
quality: r,
|
|
203
|
+
width: l[T]
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
let { src:
|
|
209
|
-
const { imgConf:
|
|
210
|
-
let
|
|
211
|
-
if ("allSizes" in
|
|
212
|
-
|
|
207
|
+
function c(i, b) {
|
|
208
|
+
let { src: f, sizes: d, unoptimized: C = !1, priority: r = !1, loading: o, className: g, quality: l, width: _, height: T, fill: H = !1, style: v, overrideSrc: K, onLoad: k, onLoadingComplete: U, placeholder: P = "empty", blurDataURL: z, fetchPriority: q, layout: Q, objectFit: X, objectPosition: M, lazyBoundary: G, lazyRoot: re, ...ie } = i;
|
|
209
|
+
const { imgConf: V, showAltText: F, blurComplete: ae, defaultLoader: te } = b;
|
|
210
|
+
let e, W = V || j.imageConfigDefault;
|
|
211
|
+
if ("allSizes" in W)
|
|
212
|
+
e = W;
|
|
213
213
|
else {
|
|
214
|
-
const
|
|
215
|
-
...
|
|
216
|
-
...
|
|
217
|
-
].sort((D,
|
|
218
|
-
|
|
219
|
-
...
|
|
220
|
-
allSizes:
|
|
221
|
-
deviceSizes:
|
|
214
|
+
const A = [
|
|
215
|
+
...W.deviceSizes,
|
|
216
|
+
...W.imageSizes
|
|
217
|
+
].sort((D, s) => D - s), a = W.deviceSizes.sort((D, s) => D - s);
|
|
218
|
+
e = {
|
|
219
|
+
...W,
|
|
220
|
+
allSizes: A,
|
|
221
|
+
deviceSizes: a
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
if (typeof te > "u")
|
|
225
225
|
throw new Error(`images.loaderFile detected but the file is missing default export.
|
|
226
226
|
Read more: https://nextjs.org/docs/messages/invalid-images-config`);
|
|
227
|
-
let
|
|
227
|
+
let se = ie.loader || te;
|
|
228
228
|
delete ie.loader, delete ie.srcSet;
|
|
229
|
-
const
|
|
230
|
-
if (
|
|
231
|
-
if (
|
|
232
|
-
throw new Error('Image with src "' +
|
|
229
|
+
const fe = "__next_img_default" in se;
|
|
230
|
+
if (fe) {
|
|
231
|
+
if (e.loader === "custom")
|
|
232
|
+
throw new Error('Image with src "' + f + `" is missing "loader" prop.
|
|
233
233
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`);
|
|
234
234
|
} else {
|
|
235
|
-
const
|
|
236
|
-
|
|
237
|
-
const { config: D, ...
|
|
238
|
-
return
|
|
235
|
+
const A = se;
|
|
236
|
+
se = (a) => {
|
|
237
|
+
const { config: D, ...s } = a;
|
|
238
|
+
return A(s);
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
if (Q) {
|
|
242
|
-
Q === "fill" && (
|
|
243
|
-
const
|
|
242
|
+
Q === "fill" && (H = !0);
|
|
243
|
+
const A = {
|
|
244
244
|
intrinsic: {
|
|
245
245
|
maxWidth: "100%",
|
|
246
246
|
height: "auto"
|
|
@@ -249,131 +249,131 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`);
|
|
|
249
249
|
width: "100%",
|
|
250
250
|
height: "auto"
|
|
251
251
|
}
|
|
252
|
-
},
|
|
252
|
+
}, a = {
|
|
253
253
|
responsive: "100vw",
|
|
254
254
|
fill: "100vw"
|
|
255
|
-
}, D =
|
|
256
|
-
D && (
|
|
257
|
-
...
|
|
255
|
+
}, D = A[Q];
|
|
256
|
+
D && (v = {
|
|
257
|
+
...v,
|
|
258
258
|
...D
|
|
259
259
|
});
|
|
260
|
-
const
|
|
261
|
-
|
|
260
|
+
const s = a[Q];
|
|
261
|
+
s && !d && (d = s);
|
|
262
262
|
}
|
|
263
|
-
let
|
|
264
|
-
if (
|
|
265
|
-
const
|
|
266
|
-
if (!
|
|
267
|
-
throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received " + JSON.stringify(
|
|
268
|
-
if (!
|
|
269
|
-
throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received " + JSON.stringify(
|
|
270
|
-
if (
|
|
271
|
-
if (!
|
|
272
|
-
|
|
273
|
-
else if (
|
|
274
|
-
const
|
|
275
|
-
Z = Math.round(
|
|
276
|
-
} else if (!
|
|
277
|
-
const
|
|
278
|
-
|
|
263
|
+
let n = "", t = x(_), Z = x(T), w, B;
|
|
264
|
+
if (p(f)) {
|
|
265
|
+
const A = u(f) ? f.default : f;
|
|
266
|
+
if (!A.src)
|
|
267
|
+
throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received " + JSON.stringify(A));
|
|
268
|
+
if (!A.height || !A.width)
|
|
269
|
+
throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received " + JSON.stringify(A));
|
|
270
|
+
if (w = A.blurWidth, B = A.blurHeight, z = z || A.blurDataURL, n = A.src, !H) {
|
|
271
|
+
if (!t && !Z)
|
|
272
|
+
t = A.width, Z = A.height;
|
|
273
|
+
else if (t && !Z) {
|
|
274
|
+
const a = t / A.width;
|
|
275
|
+
Z = Math.round(A.height * a);
|
|
276
|
+
} else if (!t && Z) {
|
|
277
|
+
const a = Z / A.height;
|
|
278
|
+
t = Math.round(A.width * a);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
|
|
283
|
-
let ce = !
|
|
284
|
-
(!
|
|
285
|
-
const
|
|
282
|
+
f = typeof f == "string" ? f : n;
|
|
283
|
+
let ce = !r && (o === "lazy" || typeof o > "u");
|
|
284
|
+
(!f || f.startsWith("data:") || f.startsWith("blob:")) && (C = !0, ce = !1), e.unoptimized && (C = !0), fe && f.endsWith(".svg") && !e.dangerouslyAllowSVG && (C = !0), r && (q = "high");
|
|
285
|
+
const pe = x(l);
|
|
286
286
|
if (process.env.NODE_ENV !== "production") {
|
|
287
|
-
if (
|
|
287
|
+
if (e.output === "export" && fe && !C)
|
|
288
288
|
throw new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api");
|
|
289
|
-
if (!
|
|
290
|
-
|
|
291
|
-
else if (
|
|
292
|
-
if (
|
|
293
|
-
throw new Error('Image with src "' +
|
|
289
|
+
if (!f)
|
|
290
|
+
C = !0;
|
|
291
|
+
else if (H) {
|
|
292
|
+
if (_)
|
|
293
|
+
throw new Error('Image with src "' + f + '" has both "width" and "fill" properties. Only one should be used.');
|
|
294
294
|
if (T)
|
|
295
|
-
throw new Error('Image with src "' +
|
|
296
|
-
if (
|
|
297
|
-
throw new Error('Image with src "' +
|
|
298
|
-
if (
|
|
299
|
-
throw new Error('Image with src "' +
|
|
300
|
-
if (
|
|
301
|
-
throw new Error('Image with src "' +
|
|
295
|
+
throw new Error('Image with src "' + f + '" has both "height" and "fill" properties. Only one should be used.');
|
|
296
|
+
if (v != null && v.position && v.position !== "absolute")
|
|
297
|
+
throw new Error('Image with src "' + f + '" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.');
|
|
298
|
+
if (v != null && v.width && v.width !== "100%")
|
|
299
|
+
throw new Error('Image with src "' + f + '" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.');
|
|
300
|
+
if (v != null && v.height && v.height !== "100%")
|
|
301
|
+
throw new Error('Image with src "' + f + '" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.');
|
|
302
302
|
} else {
|
|
303
|
-
if (typeof
|
|
304
|
-
throw new Error('Image with src "' +
|
|
305
|
-
if (isNaN(
|
|
306
|
-
throw new Error('Image with src "' +
|
|
303
|
+
if (typeof t > "u")
|
|
304
|
+
throw new Error('Image with src "' + f + '" is missing required "width" property.');
|
|
305
|
+
if (isNaN(t))
|
|
306
|
+
throw new Error('Image with src "' + f + '" has invalid "width" property. Expected a numeric value in pixels but received "' + _ + '".');
|
|
307
307
|
if (typeof Z > "u")
|
|
308
|
-
throw new Error('Image with src "' +
|
|
308
|
+
throw new Error('Image with src "' + f + '" is missing required "height" property.');
|
|
309
309
|
if (isNaN(Z))
|
|
310
|
-
throw new Error('Image with src "' +
|
|
310
|
+
throw new Error('Image with src "' + f + '" has invalid "height" property. Expected a numeric value in pixels but received "' + T + '".');
|
|
311
311
|
}
|
|
312
|
-
if (!
|
|
313
|
-
throw new Error('Image with src "' +
|
|
314
|
-
if (
|
|
315
|
-
throw new Error('Image with src "' +
|
|
316
|
-
if (
|
|
317
|
-
throw new Error('Image with src "' +
|
|
318
|
-
if (
|
|
319
|
-
const
|
|
312
|
+
if (!S.includes(o))
|
|
313
|
+
throw new Error('Image with src "' + f + '" has invalid "loading" property. Provided "' + o + '" should be one of ' + S.map(String).join(",") + ".");
|
|
314
|
+
if (r && o === "lazy")
|
|
315
|
+
throw new Error('Image with src "' + f + `" has both "priority" and "loading='lazy'" properties. Only one should be used.`);
|
|
316
|
+
if (P !== "empty" && P !== "blur" && !P.startsWith("data:image/"))
|
|
317
|
+
throw new Error('Image with src "' + f + '" has invalid "placeholder" property "' + P + '".');
|
|
318
|
+
if (P !== "empty" && t && Z && t * Z < 1600 && (0, R.warnOnce)('Image with src "' + f + '" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'), P === "blur" && !z) {
|
|
319
|
+
const A = [
|
|
320
320
|
"jpeg",
|
|
321
321
|
"png",
|
|
322
322
|
"webp",
|
|
323
323
|
"avif"
|
|
324
324
|
];
|
|
325
|
-
throw new Error('Image with src "' +
|
|
325
|
+
throw new Error('Image with src "' + f + `" has "placeholder='blur'" property but is missing the "blurDataURL" property.
|
|
326
326
|
Possible solutions:
|
|
327
327
|
- Add a "blurDataURL" property, the contents should be a small Data URL to represent the image
|
|
328
|
-
- Change the "src" property to a static import with one of the supported file types: ` +
|
|
328
|
+
- Change the "src" property to a static import with one of the supported file types: ` + A.join(",") + ` (animated images not supported)
|
|
329
329
|
- Remove the "placeholder" property, effectively no blur effect
|
|
330
330
|
Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`);
|
|
331
331
|
}
|
|
332
|
-
if ("ref" in ie && (0,
|
|
333
|
-
const
|
|
334
|
-
config:
|
|
335
|
-
src:
|
|
336
|
-
width:
|
|
337
|
-
quality:
|
|
332
|
+
if ("ref" in ie && (0, R.warnOnce)('Image with src "' + f + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.'), !C && !fe) {
|
|
333
|
+
const A = se({
|
|
334
|
+
config: e,
|
|
335
|
+
src: f,
|
|
336
|
+
width: t || 400,
|
|
337
|
+
quality: pe || 75
|
|
338
338
|
});
|
|
339
|
-
let
|
|
339
|
+
let a;
|
|
340
340
|
try {
|
|
341
|
-
|
|
341
|
+
a = new URL(A);
|
|
342
342
|
} catch {
|
|
343
343
|
}
|
|
344
|
-
(
|
|
344
|
+
(A === f || a && a.pathname === f && !a.search) && (0, R.warnOnce)('Image with src "' + f + `" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
|
|
345
345
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);
|
|
346
346
|
}
|
|
347
|
-
U && (0,
|
|
348
|
-
for (const [
|
|
347
|
+
U && (0, R.warnOnce)('Image with src "' + f + '" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');
|
|
348
|
+
for (const [A, a] of Object.entries({
|
|
349
349
|
layout: Q,
|
|
350
|
-
objectFit:
|
|
351
|
-
objectPosition:
|
|
352
|
-
lazyBoundary:
|
|
350
|
+
objectFit: X,
|
|
351
|
+
objectPosition: M,
|
|
352
|
+
lazyBoundary: G,
|
|
353
353
|
lazyRoot: re
|
|
354
354
|
}))
|
|
355
|
-
|
|
355
|
+
a && (0, R.warnOnce)('Image with src "' + f + '" has legacy prop "' + A + `". Did you forget to run the codemod?
|
|
356
356
|
Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);
|
|
357
|
-
if (typeof window < "u" && !
|
|
358
|
-
|
|
359
|
-
for (const D of
|
|
360
|
-
var
|
|
361
|
-
const
|
|
362
|
-
$ && !$.priority && $.placeholder === "empty" && !$.src.startsWith("data:") && !$.src.startsWith("blob:") && (0,
|
|
357
|
+
if (typeof window < "u" && !O && window.PerformanceObserver) {
|
|
358
|
+
O = new PerformanceObserver((A) => {
|
|
359
|
+
for (const D of A.getEntries()) {
|
|
360
|
+
var a;
|
|
361
|
+
const s = (D == null || (a = D.element) == null ? void 0 : a.src) || "", $ = E.get(s);
|
|
362
|
+
$ && !$.priority && $.placeholder === "empty" && !$.src.startsWith("data:") && !$.src.startsWith("blob:") && (0, R.warnOnce)('Image with src "' + $.src + `" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
|
|
363
363
|
Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
366
|
try {
|
|
367
|
-
|
|
367
|
+
O.observe({
|
|
368
368
|
type: "largest-contentful-paint",
|
|
369
369
|
buffered: !0
|
|
370
370
|
});
|
|
371
|
-
} catch (
|
|
372
|
-
console.error(
|
|
371
|
+
} catch (A) {
|
|
372
|
+
console.error(A);
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
const J = Object.assign(
|
|
376
|
+
const J = Object.assign(H ? {
|
|
377
377
|
position: "absolute",
|
|
378
378
|
height: "100%",
|
|
379
379
|
width: "100%",
|
|
@@ -381,234 +381,234 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
381
381
|
top: 0,
|
|
382
382
|
right: 0,
|
|
383
383
|
bottom: 0,
|
|
384
|
-
objectFit:
|
|
385
|
-
objectPosition:
|
|
384
|
+
objectFit: X,
|
|
385
|
+
objectPosition: M
|
|
386
386
|
} : {}, F ? {} : {
|
|
387
387
|
color: "transparent"
|
|
388
|
-
},
|
|
389
|
-
widthInt:
|
|
388
|
+
}, v), ee = !ae && P !== "empty" ? P === "blur" ? 'url("data:image/svg+xml;charset=utf-8,' + (0, N.getImageBlurSvg)({
|
|
389
|
+
widthInt: t,
|
|
390
390
|
heightInt: Z,
|
|
391
|
-
blurWidth:
|
|
391
|
+
blurWidth: w,
|
|
392
392
|
blurHeight: B,
|
|
393
|
-
blurDataURL:
|
|
393
|
+
blurDataURL: z || "",
|
|
394
394
|
objectFit: J.objectFit
|
|
395
|
-
}) + '")' : 'url("' +
|
|
396
|
-
let
|
|
395
|
+
}) + '")' : 'url("' + P + '")' : null;
|
|
396
|
+
let de = ee ? {
|
|
397
397
|
backgroundSize: J.objectFit || "cover",
|
|
398
398
|
backgroundPosition: J.objectPosition || "50% 50%",
|
|
399
399
|
backgroundRepeat: "no-repeat",
|
|
400
400
|
backgroundImage: ee
|
|
401
401
|
} : {};
|
|
402
|
-
process.env.NODE_ENV === "development" &&
|
|
403
|
-
const ne =
|
|
404
|
-
config:
|
|
405
|
-
src:
|
|
406
|
-
unoptimized:
|
|
407
|
-
width:
|
|
408
|
-
quality:
|
|
409
|
-
sizes:
|
|
410
|
-
loader:
|
|
402
|
+
process.env.NODE_ENV === "development" && de.backgroundImage && P === "blur" && z != null && z.startsWith("/") && (de.backgroundImage = 'url("' + z + '")');
|
|
403
|
+
const ne = y({
|
|
404
|
+
config: e,
|
|
405
|
+
src: f,
|
|
406
|
+
unoptimized: C,
|
|
407
|
+
width: t,
|
|
408
|
+
quality: pe,
|
|
409
|
+
sizes: d,
|
|
410
|
+
loader: se
|
|
411
411
|
});
|
|
412
412
|
if (process.env.NODE_ENV !== "production" && typeof window < "u") {
|
|
413
|
-
let
|
|
413
|
+
let A;
|
|
414
414
|
try {
|
|
415
|
-
|
|
415
|
+
A = new URL(ne.src);
|
|
416
416
|
} catch {
|
|
417
|
-
|
|
417
|
+
A = new URL(ne.src, window.location.href);
|
|
418
418
|
}
|
|
419
|
-
|
|
420
|
-
src:
|
|
421
|
-
priority:
|
|
422
|
-
placeholder:
|
|
419
|
+
E.set(A.href, {
|
|
420
|
+
src: f,
|
|
421
|
+
priority: r,
|
|
422
|
+
placeholder: P
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
return {
|
|
426
426
|
props: {
|
|
427
427
|
...ie,
|
|
428
|
-
loading: ce ? "lazy" :
|
|
429
|
-
fetchPriority:
|
|
430
|
-
width:
|
|
428
|
+
loading: ce ? "lazy" : o,
|
|
429
|
+
fetchPriority: q,
|
|
430
|
+
width: t,
|
|
431
431
|
height: Z,
|
|
432
432
|
decoding: "async",
|
|
433
|
-
className:
|
|
433
|
+
className: g,
|
|
434
434
|
style: {
|
|
435
435
|
...J,
|
|
436
|
-
...
|
|
436
|
+
...de
|
|
437
437
|
},
|
|
438
438
|
sizes: ne.sizes,
|
|
439
439
|
srcSet: ne.srcSet,
|
|
440
|
-
src:
|
|
440
|
+
src: K || ne.src
|
|
441
441
|
},
|
|
442
442
|
meta: {
|
|
443
|
-
unoptimized:
|
|
444
|
-
priority:
|
|
445
|
-
placeholder:
|
|
446
|
-
fill:
|
|
443
|
+
unoptimized: C,
|
|
444
|
+
priority: r,
|
|
445
|
+
placeholder: P,
|
|
446
|
+
fill: H
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}
|
|
450
|
-
})(
|
|
451
|
-
var
|
|
452
|
-
function
|
|
453
|
-
return
|
|
454
|
-
Object.defineProperty(
|
|
450
|
+
})(Te);
|
|
451
|
+
var Le = { exports: {} }, be = { exports: {} }, we = {}, ke;
|
|
452
|
+
function rt() {
|
|
453
|
+
return ke || (ke = 1, function(L) {
|
|
454
|
+
Object.defineProperty(L, "__esModule", {
|
|
455
455
|
value: !0
|
|
456
|
-
}), Object.defineProperty(
|
|
456
|
+
}), Object.defineProperty(L, "default", {
|
|
457
457
|
enumerable: !0,
|
|
458
458
|
get: function() {
|
|
459
|
-
return
|
|
459
|
+
return u;
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
|
-
const
|
|
463
|
-
} :
|
|
464
|
-
} :
|
|
465
|
-
function
|
|
466
|
-
const { headManager:
|
|
467
|
-
function
|
|
468
|
-
if (
|
|
469
|
-
const
|
|
470
|
-
|
|
462
|
+
const R = me, N = typeof window > "u", j = N ? () => {
|
|
463
|
+
} : R.useLayoutEffect, S = N ? () => {
|
|
464
|
+
} : R.useEffect;
|
|
465
|
+
function u(m) {
|
|
466
|
+
const { headManager: p, reduceComponentsToState: E } = m;
|
|
467
|
+
function O() {
|
|
468
|
+
if (p && p.mountedInstances) {
|
|
469
|
+
const h = R.Children.toArray(Array.from(p.mountedInstances).filter(Boolean));
|
|
470
|
+
p.updateHead(E(h, m));
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
if (
|
|
474
|
-
var
|
|
475
|
-
|
|
473
|
+
if (N) {
|
|
474
|
+
var x;
|
|
475
|
+
p == null || (x = p.mountedInstances) == null || x.add(m.children), O();
|
|
476
476
|
}
|
|
477
|
-
return
|
|
478
|
-
var
|
|
479
|
-
return
|
|
480
|
-
var
|
|
481
|
-
|
|
477
|
+
return j(() => {
|
|
478
|
+
var h;
|
|
479
|
+
return p == null || (h = p.mountedInstances) == null || h.add(m.children), () => {
|
|
480
|
+
var y;
|
|
481
|
+
p == null || (y = p.mountedInstances) == null || y.delete(m.children);
|
|
482
482
|
};
|
|
483
|
-
}),
|
|
484
|
-
|
|
485
|
-
})),
|
|
486
|
-
|
|
483
|
+
}), j(() => (p && (p._pendingUpdate = O), () => {
|
|
484
|
+
p && (p._pendingUpdate = O);
|
|
485
|
+
})), S(() => (p && p._pendingUpdate && (p._pendingUpdate(), p._pendingUpdate = null), () => {
|
|
486
|
+
p && p._pendingUpdate && (p._pendingUpdate(), p._pendingUpdate = null);
|
|
487
487
|
})), null;
|
|
488
488
|
}
|
|
489
|
-
}(
|
|
489
|
+
}(we)), we;
|
|
490
490
|
}
|
|
491
|
-
var
|
|
492
|
-
function
|
|
493
|
-
return
|
|
494
|
-
Object.defineProperty(
|
|
491
|
+
var Ae = {}, Ne;
|
|
492
|
+
function ot() {
|
|
493
|
+
return Ne || (Ne = 1, function(L) {
|
|
494
|
+
Object.defineProperty(L, "__esModule", {
|
|
495
495
|
value: !0
|
|
496
|
-
}), Object.defineProperty(
|
|
496
|
+
}), Object.defineProperty(L, "AmpStateContext", {
|
|
497
497
|
enumerable: !0,
|
|
498
498
|
get: function() {
|
|
499
|
-
return
|
|
499
|
+
return j;
|
|
500
500
|
}
|
|
501
501
|
});
|
|
502
|
-
const
|
|
503
|
-
process.env.NODE_ENV !== "production" && (
|
|
504
|
-
}(
|
|
502
|
+
const j = (/* @__PURE__ */ _e._(me)).default.createContext({});
|
|
503
|
+
process.env.NODE_ENV !== "production" && (j.displayName = "AmpStateContext");
|
|
504
|
+
}(Ae)), Ae;
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
508
|
-
return
|
|
509
|
-
Object.defineProperty(
|
|
506
|
+
var Se = {}, Me;
|
|
507
|
+
function it() {
|
|
508
|
+
return Me || (Me = 1, function(L) {
|
|
509
|
+
Object.defineProperty(L, "__esModule", {
|
|
510
510
|
value: !0
|
|
511
|
-
}), Object.defineProperty(
|
|
511
|
+
}), Object.defineProperty(L, "HeadManagerContext", {
|
|
512
512
|
enumerable: !0,
|
|
513
513
|
get: function() {
|
|
514
|
-
return
|
|
514
|
+
return j;
|
|
515
515
|
}
|
|
516
516
|
});
|
|
517
|
-
const
|
|
518
|
-
process.env.NODE_ENV !== "production" && (
|
|
519
|
-
}(
|
|
517
|
+
const j = (/* @__PURE__ */ _e._(me)).default.createContext({});
|
|
518
|
+
process.env.NODE_ENV !== "production" && (j.displayName = "HeadManagerContext");
|
|
519
|
+
}(Se)), Se;
|
|
520
520
|
}
|
|
521
|
-
var
|
|
522
|
-
function
|
|
523
|
-
return
|
|
524
|
-
Object.defineProperty(
|
|
521
|
+
var xe = {}, De;
|
|
522
|
+
function st() {
|
|
523
|
+
return De || (De = 1, function(L) {
|
|
524
|
+
Object.defineProperty(L, "__esModule", {
|
|
525
525
|
value: !0
|
|
526
|
-
}), Object.defineProperty(
|
|
526
|
+
}), Object.defineProperty(L, "isInAmpMode", {
|
|
527
527
|
enumerable: !0,
|
|
528
528
|
get: function() {
|
|
529
|
-
return
|
|
529
|
+
return R;
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
|
-
function
|
|
533
|
-
let { ampFirst:
|
|
534
|
-
return
|
|
532
|
+
function R(N) {
|
|
533
|
+
let { ampFirst: j = !1, hybrid: S = !1, hasQuery: u = !1 } = N === void 0 ? {} : N;
|
|
534
|
+
return j || S && u;
|
|
535
535
|
}
|
|
536
|
-
}(
|
|
536
|
+
}(xe)), xe;
|
|
537
537
|
}
|
|
538
|
-
var
|
|
539
|
-
function
|
|
540
|
-
return
|
|
538
|
+
var je;
|
|
539
|
+
function at() {
|
|
540
|
+
return je || (je = 1, function(L, R) {
|
|
541
541
|
"use client";
|
|
542
|
-
Object.defineProperty(
|
|
542
|
+
Object.defineProperty(R, "__esModule", {
|
|
543
543
|
value: !0
|
|
544
544
|
});
|
|
545
|
-
function
|
|
546
|
-
for (var
|
|
547
|
-
Object.defineProperty(
|
|
545
|
+
function N(r, o) {
|
|
546
|
+
for (var g in o)
|
|
547
|
+
Object.defineProperty(r, g, {
|
|
548
548
|
enumerable: !0,
|
|
549
|
-
get:
|
|
549
|
+
get: o[g]
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
|
|
552
|
+
N(R, {
|
|
553
553
|
default: function() {
|
|
554
|
-
return
|
|
554
|
+
return C;
|
|
555
555
|
},
|
|
556
556
|
defaultHead: function() {
|
|
557
|
-
return
|
|
557
|
+
return y;
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
|
-
const
|
|
561
|
-
function
|
|
562
|
-
|
|
563
|
-
const
|
|
564
|
-
/* @__PURE__ */ (0,
|
|
560
|
+
const j = _e, S = Ke, u = Fe, m = /* @__PURE__ */ S._(me), p = /* @__PURE__ */ j._(rt()), E = ot(), O = it(), x = st(), h = ve;
|
|
561
|
+
function y(r) {
|
|
562
|
+
r === void 0 && (r = !1);
|
|
563
|
+
const o = [
|
|
564
|
+
/* @__PURE__ */ (0, u.jsx)("meta", {
|
|
565
565
|
charSet: "utf-8"
|
|
566
566
|
})
|
|
567
567
|
];
|
|
568
|
-
return
|
|
568
|
+
return r || o.push(/* @__PURE__ */ (0, u.jsx)("meta", {
|
|
569
569
|
name: "viewport",
|
|
570
570
|
content: "width=device-width"
|
|
571
|
-
})),
|
|
571
|
+
})), o;
|
|
572
572
|
}
|
|
573
|
-
function
|
|
574
|
-
return typeof
|
|
573
|
+
function c(r, o) {
|
|
574
|
+
return typeof o == "string" || typeof o == "number" ? r : o.type === m.default.Fragment ? r.concat(
|
|
575
575
|
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
576
|
-
|
|
576
|
+
m.default.Children.toArray(o.props.children).reduce(
|
|
577
577
|
// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
578
|
-
(
|
|
578
|
+
(g, l) => typeof l == "string" || typeof l == "number" ? g : g.concat(l),
|
|
579
579
|
[]
|
|
580
580
|
)
|
|
581
|
-
) :
|
|
581
|
+
) : r.concat(o);
|
|
582
582
|
}
|
|
583
|
-
const
|
|
583
|
+
const i = [
|
|
584
584
|
"name",
|
|
585
585
|
"httpEquiv",
|
|
586
586
|
"charSet",
|
|
587
587
|
"itemProp"
|
|
588
588
|
];
|
|
589
|
-
function
|
|
590
|
-
const
|
|
591
|
-
return (
|
|
592
|
-
let T = !0,
|
|
593
|
-
if (
|
|
594
|
-
|
|
595
|
-
const
|
|
596
|
-
|
|
589
|
+
function b() {
|
|
590
|
+
const r = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), l = {};
|
|
591
|
+
return (_) => {
|
|
592
|
+
let T = !0, H = !1;
|
|
593
|
+
if (_.key && typeof _.key != "number" && _.key.indexOf("$") > 0) {
|
|
594
|
+
H = !0;
|
|
595
|
+
const v = _.key.slice(_.key.indexOf("$") + 1);
|
|
596
|
+
r.has(v) ? T = !1 : r.add(v);
|
|
597
597
|
}
|
|
598
|
-
switch (
|
|
598
|
+
switch (_.type) {
|
|
599
599
|
case "title":
|
|
600
600
|
case "base":
|
|
601
|
-
|
|
601
|
+
o.has(_.type) ? T = !1 : o.add(_.type);
|
|
602
602
|
break;
|
|
603
603
|
case "meta":
|
|
604
|
-
for (let
|
|
605
|
-
const
|
|
606
|
-
if (
|
|
607
|
-
if (
|
|
608
|
-
|
|
604
|
+
for (let v = 0, K = i.length; v < K; v++) {
|
|
605
|
+
const k = i[v];
|
|
606
|
+
if (_.props.hasOwnProperty(k))
|
|
607
|
+
if (k === "charSet")
|
|
608
|
+
g.has(k) ? T = !1 : g.add(k);
|
|
609
609
|
else {
|
|
610
|
-
const U =
|
|
611
|
-
(
|
|
610
|
+
const U = _.props[k], P = l[k] || /* @__PURE__ */ new Set();
|
|
611
|
+
(k !== "name" || !H) && P.has(U) ? T = !1 : (P.add(U), l[k] = P);
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
break;
|
|
@@ -616,604 +616,604 @@ function Lt() {
|
|
|
616
616
|
return T;
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
const { inAmpMode:
|
|
621
|
-
return
|
|
622
|
-
const T =
|
|
623
|
-
if (process.env.NODE_ENV !== "development" && process.env.__NEXT_OPTIMIZE_FONTS && !
|
|
619
|
+
function f(r, o) {
|
|
620
|
+
const { inAmpMode: g } = o;
|
|
621
|
+
return r.reduce(c, []).reverse().concat(y(g).reverse()).filter(b()).reverse().map((l, _) => {
|
|
622
|
+
const T = l.key || _;
|
|
623
|
+
if (process.env.NODE_ENV !== "development" && process.env.__NEXT_OPTIMIZE_FONTS && !g && l.type === "link" && l.props.href && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
|
|
624
624
|
[
|
|
625
625
|
"https://fonts.googleapis.com/css",
|
|
626
626
|
"https://use.typekit.net/"
|
|
627
|
-
].some((
|
|
628
|
-
const
|
|
629
|
-
...
|
|
627
|
+
].some((H) => l.props.href.startsWith(H))) {
|
|
628
|
+
const H = {
|
|
629
|
+
...l.props || {}
|
|
630
630
|
};
|
|
631
|
-
return
|
|
631
|
+
return H["data-href"] = H.href, H.href = void 0, H["data-optimized-fonts"] = !0, /* @__PURE__ */ m.default.cloneElement(l, H);
|
|
632
632
|
}
|
|
633
633
|
if (process.env.NODE_ENV === "development")
|
|
634
|
-
if (
|
|
635
|
-
const
|
|
636
|
-
(0,
|
|
634
|
+
if (l.type === "script" && l.props.type !== "application/ld+json") {
|
|
635
|
+
const H = l.props.src ? '<script> tag with src="' + l.props.src + '"' : "inline <script>";
|
|
636
|
+
(0, h.warnOnce)("Do not add <script> tags using next/head (see " + H + `). Use next/script instead.
|
|
637
637
|
See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);
|
|
638
638
|
} else
|
|
639
|
-
|
|
639
|
+
l.type === "link" && l.props.rel === "stylesheet" && (0, h.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="' + l.props.href + `"). Use Document instead.
|
|
640
640
|
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);
|
|
641
|
-
return /* @__PURE__ */
|
|
641
|
+
return /* @__PURE__ */ m.default.cloneElement(l, {
|
|
642
642
|
key: T
|
|
643
643
|
});
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
function
|
|
647
|
-
let { children:
|
|
648
|
-
const
|
|
649
|
-
return /* @__PURE__ */ (0,
|
|
650
|
-
reduceComponentsToState:
|
|
651
|
-
headManager:
|
|
652
|
-
inAmpMode: (0,
|
|
653
|
-
children:
|
|
646
|
+
function d(r) {
|
|
647
|
+
let { children: o } = r;
|
|
648
|
+
const g = (0, m.useContext)(E.AmpStateContext), l = (0, m.useContext)(O.HeadManagerContext);
|
|
649
|
+
return /* @__PURE__ */ (0, u.jsx)(p.default, {
|
|
650
|
+
reduceComponentsToState: f,
|
|
651
|
+
headManager: l,
|
|
652
|
+
inAmpMode: (0, x.isInAmpMode)(g),
|
|
653
|
+
children: o
|
|
654
654
|
});
|
|
655
655
|
}
|
|
656
|
-
const
|
|
657
|
-
(typeof
|
|
656
|
+
const C = d;
|
|
657
|
+
(typeof R.default == "function" || typeof R.default == "object" && R.default !== null) && typeof R.default.__esModule > "u" && (Object.defineProperty(R.default, "__esModule", { value: !0 }), Object.assign(R.default, R), L.exports = R.default);
|
|
658
658
|
}(be, be.exports)), be.exports;
|
|
659
659
|
}
|
|
660
|
-
var
|
|
661
|
-
function
|
|
662
|
-
return
|
|
663
|
-
Object.defineProperty(
|
|
660
|
+
var Ce = {}, ze;
|
|
661
|
+
function ut() {
|
|
662
|
+
return ze || (ze = 1, function(L) {
|
|
663
|
+
Object.defineProperty(L, "__esModule", {
|
|
664
664
|
value: !0
|
|
665
|
-
}), Object.defineProperty(
|
|
665
|
+
}), Object.defineProperty(L, "ImageConfigContext", {
|
|
666
666
|
enumerable: !0,
|
|
667
667
|
get: function() {
|
|
668
|
-
return
|
|
668
|
+
return S;
|
|
669
669
|
}
|
|
670
670
|
});
|
|
671
|
-
const
|
|
672
|
-
process.env.NODE_ENV !== "production" && (
|
|
673
|
-
}(
|
|
671
|
+
const N = /* @__PURE__ */ _e._(me), j = Re, S = N.default.createContext(j.imageConfigDefault);
|
|
672
|
+
process.env.NODE_ENV !== "production" && (S.displayName = "ImageConfigContext");
|
|
673
|
+
}(Ce)), Ce;
|
|
674
674
|
}
|
|
675
|
-
var
|
|
676
|
-
function
|
|
677
|
-
return
|
|
678
|
-
var
|
|
679
|
-
const
|
|
675
|
+
var Oe = {}, Ie = {}, $e = { exports: {} }, Be;
|
|
676
|
+
function ct() {
|
|
677
|
+
return Be || (Be = 1, (() => {
|
|
678
|
+
var L = { 170: (S, u, m) => {
|
|
679
|
+
const p = m(510), E = () => {
|
|
680
680
|
if (typeof navigator < "u" && navigator.platform) {
|
|
681
|
-
const
|
|
682
|
-
return
|
|
681
|
+
const x = navigator.platform.toLowerCase();
|
|
682
|
+
return x === "win32" || x === "windows";
|
|
683
683
|
}
|
|
684
684
|
return typeof process < "u" && process.platform ? process.platform === "win32" : !1;
|
|
685
685
|
};
|
|
686
|
-
function
|
|
687
|
-
return
|
|
686
|
+
function O(x, h, y = !1) {
|
|
687
|
+
return h && (h.windows === null || h.windows === void 0) && (h = { ...h, windows: E() }), p(x, h, y);
|
|
688
688
|
}
|
|
689
|
-
Object.assign(
|
|
690
|
-
}, 154: (
|
|
691
|
-
const
|
|
692
|
-
|
|
693
|
-
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${
|
|
694
|
-
}, globChars(
|
|
695
|
-
return
|
|
689
|
+
Object.assign(O, p), S.exports = O;
|
|
690
|
+
}, 154: (S) => {
|
|
691
|
+
const u = "\\\\/", m = `[^${u}]`, p = "\\.", E = "\\+", O = "\\?", x = "\\/", h = "(?=.)", y = "[^/]", c = `(?:${x}|$)`, i = `(?:^|${x})`, b = `${p}{1,2}${c}`, f = `(?!${p})`, d = `(?!${i}${b})`, C = `(?!${p}{0,1}${c})`, r = `(?!${b})`, o = `[^.${x}]`, g = `${y}*?`, _ = { DOT_LITERAL: p, PLUS_LITERAL: E, QMARK_LITERAL: O, SLASH_LITERAL: x, ONE_CHAR: h, QMARK: y, END_ANCHOR: c, DOTS_SLASH: b, NO_DOT: f, NO_DOTS: d, NO_DOT_SLASH: C, NO_DOTS_SLASH: r, QMARK_NO_DOT: o, STAR: g, START_ANCHOR: i, SEP: "/" }, T = { ..._, SLASH_LITERAL: `[${u}]`, QMARK: m, STAR: `${m}*?`, DOTS_SLASH: `${p}{1,2}(?:[${u}]|$)`, NO_DOT: `(?!${p})`, NO_DOTS: `(?!(?:^|[${u}])${p}{1,2}(?:[${u}]|$))`, NO_DOT_SLASH: `(?!${p}{0,1}(?:[${u}]|$))`, NO_DOTS_SLASH: `(?!${p}{1,2}(?:[${u}]|$))`, QMARK_NO_DOT: `[^.${u}]`, START_ANCHOR: `(?:^|[${u}])`, END_ANCHOR: `(?:[${u}]|$)`, SEP: "\\" }, H = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
|
692
|
+
S.exports = { MAX_LENGTH: 65536, POSIX_REGEX_SOURCE: H, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, extglobChars(v) {
|
|
693
|
+
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${v.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
|
694
|
+
}, globChars(v) {
|
|
695
|
+
return v === !0 ? T : _;
|
|
696
696
|
} };
|
|
697
|
-
}, 697: (
|
|
698
|
-
const
|
|
699
|
-
if (typeof
|
|
700
|
-
return
|
|
701
|
-
|
|
702
|
-
const
|
|
697
|
+
}, 697: (S, u, m) => {
|
|
698
|
+
const p = m(154), E = m(96), { MAX_LENGTH: O, POSIX_REGEX_SOURCE: x, REGEX_NON_SPECIAL_CHARS: h, REGEX_SPECIAL_CHARS_BACKREF: y, REPLACEMENTS: c } = p, i = (d, C) => {
|
|
699
|
+
if (typeof C.expandRange == "function")
|
|
700
|
+
return C.expandRange(...d, C);
|
|
701
|
+
d.sort();
|
|
702
|
+
const r = `[${d.join("-")}]`;
|
|
703
703
|
try {
|
|
704
|
-
new RegExp(
|
|
704
|
+
new RegExp(r);
|
|
705
705
|
} catch {
|
|
706
|
-
return
|
|
706
|
+
return d.map((g) => E.escapeRegex(g)).join("..");
|
|
707
707
|
}
|
|
708
|
-
return
|
|
709
|
-
},
|
|
710
|
-
if (typeof
|
|
708
|
+
return r;
|
|
709
|
+
}, b = (d, C) => `Missing ${d}: "${C}" - use "\\\\${C}" to match literal characters`, f = (d, C) => {
|
|
710
|
+
if (typeof d != "string")
|
|
711
711
|
throw new TypeError("Expected a string");
|
|
712
|
-
|
|
713
|
-
const
|
|
714
|
-
let
|
|
715
|
-
if (
|
|
716
|
-
throw new SyntaxError(`Input length: ${
|
|
717
|
-
const
|
|
718
|
-
let te =
|
|
719
|
-
|
|
720
|
-
const
|
|
721
|
-
|
|
722
|
-
const
|
|
723
|
-
let
|
|
724
|
-
const Z = () =>
|
|
725
|
-
|
|
726
|
-
}, J = (
|
|
727
|
-
|
|
712
|
+
d = c[d] || d;
|
|
713
|
+
const r = { ...C }, o = typeof r.maxLength == "number" ? Math.min(O, r.maxLength) : O;
|
|
714
|
+
let g = d.length;
|
|
715
|
+
if (g > o)
|
|
716
|
+
throw new SyntaxError(`Input length: ${g}, exceeds maximum allowed length: ${o}`);
|
|
717
|
+
const l = { type: "bos", value: "", output: r.prepend || "" }, _ = [l], T = r.capture ? "" : "?:", H = p.globChars(r.windows), v = p.extglobChars(H), { DOT_LITERAL: K, PLUS_LITERAL: k, SLASH_LITERAL: U, ONE_CHAR: P, DOTS_SLASH: z, NO_DOT: q, NO_DOT_SLASH: Q, NO_DOTS_SLASH: X, QMARK: M, QMARK_NO_DOT: G, STAR: re, START_ANCHOR: ie } = H, V = (a) => `(${T}(?:(?!${ie}${a.dot ? z : K}).)*?)`, F = r.dot ? "" : q, ae = r.dot ? M : G;
|
|
718
|
+
let te = r.bash === !0 ? V(r) : re;
|
|
719
|
+
r.capture && (te = `(${te})`), typeof r.noext == "boolean" && (r.noextglob = r.noext);
|
|
720
|
+
const e = { input: d, index: -1, start: 0, dot: r.dot === !0, consumed: "", output: "", prefix: "", backtrack: !1, negated: !1, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: !1, tokens: _ };
|
|
721
|
+
d = E.removePrefix(d, e), g = d.length;
|
|
722
|
+
const W = [], se = [], fe = [];
|
|
723
|
+
let n = l, t;
|
|
724
|
+
const Z = () => e.index === g - 1, w = e.peek = (a = 1) => d[e.index + a], B = e.advance = () => d[++e.index] || "", ce = () => d.slice(e.index + 1), pe = (a = "", D = 0) => {
|
|
725
|
+
e.consumed += a, e.index += D;
|
|
726
|
+
}, J = (a) => {
|
|
727
|
+
e.output += a.output != null ? a.output : a.value, pe(a.value);
|
|
728
728
|
}, ee = () => {
|
|
729
|
-
let
|
|
730
|
-
for (;
|
|
731
|
-
B(),
|
|
732
|
-
return
|
|
733
|
-
},
|
|
734
|
-
|
|
735
|
-
}, ne = (
|
|
736
|
-
|
|
737
|
-
},
|
|
738
|
-
if (
|
|
739
|
-
const D =
|
|
740
|
-
|
|
729
|
+
let a = 1;
|
|
730
|
+
for (; w() === "!" && (w(2) !== "(" || w(3) === "?"); )
|
|
731
|
+
B(), e.start++, a++;
|
|
732
|
+
return a % 2 === 0 ? !1 : (e.negated = !0, e.start++, !0);
|
|
733
|
+
}, de = (a) => {
|
|
734
|
+
e[a]++, fe.push(a);
|
|
735
|
+
}, ne = (a) => {
|
|
736
|
+
e[a]--, fe.pop();
|
|
737
|
+
}, I = (a) => {
|
|
738
|
+
if (n.type === "globstar") {
|
|
739
|
+
const D = e.braces > 0 && (a.type === "comma" || a.type === "brace"), s = a.extglob === !0 || W.length && (a.type === "pipe" || a.type === "paren");
|
|
740
|
+
a.type !== "slash" && a.type !== "paren" && !D && !s && (e.output = e.output.slice(0, -n.output.length), n.type = "star", n.value = "*", n.output = te, e.output += n.output);
|
|
741
741
|
}
|
|
742
|
-
if (
|
|
743
|
-
|
|
742
|
+
if (W.length && a.type !== "paren" && (W[W.length - 1].inner += a.value), (a.value || a.output) && J(a), n && n.type === "text" && a.type === "text") {
|
|
743
|
+
n.output = (n.output || n.value) + a.value, n.value += a.value;
|
|
744
744
|
return;
|
|
745
745
|
}
|
|
746
|
-
|
|
747
|
-
}, ue = (
|
|
748
|
-
const
|
|
749
|
-
|
|
750
|
-
const $ = (
|
|
751
|
-
|
|
752
|
-
},
|
|
753
|
-
let D =
|
|
754
|
-
if (
|
|
746
|
+
a.prev = n, _.push(a), n = a;
|
|
747
|
+
}, ue = (a, D) => {
|
|
748
|
+
const s = { ...v[D], conditions: 1, inner: "" };
|
|
749
|
+
s.prev = n, s.parens = e.parens, s.output = e.output;
|
|
750
|
+
const $ = (r.capture ? "(" : "") + s.open;
|
|
751
|
+
de("parens"), I({ type: a, value: D, output: e.output ? "" : P }), I({ type: "paren", extglob: !0, value: B(), output: $ }), W.push(s);
|
|
752
|
+
}, A = (a) => {
|
|
753
|
+
let D = a.close + (r.capture ? ")" : ""), s;
|
|
754
|
+
if (a.type === "negate") {
|
|
755
755
|
let $ = te;
|
|
756
|
-
if (
|
|
757
|
-
const Y =
|
|
758
|
-
D =
|
|
756
|
+
if (a.inner && a.inner.length > 1 && a.inner.includes("/") && ($ = V(r)), ($ !== te || Z() || /^\)+$/.test(ce())) && (D = a.close = `)$))${$}`), a.inner.includes("*") && (s = ce()) && /^\.[^\\/.]+$/.test(s)) {
|
|
757
|
+
const Y = f(s, { ...C, fastpaths: !1 }).output;
|
|
758
|
+
D = a.close = `)${Y})${$})`;
|
|
759
759
|
}
|
|
760
|
-
|
|
760
|
+
a.prev.type === "bos" && (e.negatedExtglob = !0);
|
|
761
761
|
}
|
|
762
|
-
|
|
762
|
+
I({ type: "paren", extglob: !0, value: t, output: D }), ne("parens");
|
|
763
763
|
};
|
|
764
|
-
if (
|
|
765
|
-
let
|
|
766
|
-
return
|
|
764
|
+
if (r.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(d)) {
|
|
765
|
+
let a = !1, D = d.replace(y, (s, $, Y, le, oe, Ee) => le === "\\" ? (a = !0, s) : le === "?" ? $ ? $ + le + (oe ? M.repeat(oe.length) : "") : Ee === 0 ? ae + (oe ? M.repeat(oe.length) : "") : M.repeat(Y.length) : le === "." ? K.repeat(Y.length) : le === "*" ? $ ? $ + le + (oe ? te : "") : te : $ ? s : `\\${s}`);
|
|
766
|
+
return a === !0 && (r.unescape === !0 ? D = D.replace(/\\/g, "") : D = D.replace(/\\+/g, (s) => s.length % 2 === 0 ? "\\\\" : s ? "\\" : "")), D === d && r.contains === !0 ? (e.output = d, e) : (e.output = E.wrapOutput(D, e, C), e);
|
|
767
767
|
}
|
|
768
768
|
for (; !Z(); ) {
|
|
769
|
-
if (
|
|
769
|
+
if (t = B(), t === "\0")
|
|
770
770
|
continue;
|
|
771
|
-
if (
|
|
772
|
-
const
|
|
773
|
-
if (
|
|
771
|
+
if (t === "\\") {
|
|
772
|
+
const s = w();
|
|
773
|
+
if (s === "/" && r.bash !== !0 || s === "." || s === ";")
|
|
774
774
|
continue;
|
|
775
|
-
if (!
|
|
776
|
-
|
|
775
|
+
if (!s) {
|
|
776
|
+
t += "\\", I({ type: "text", value: t });
|
|
777
777
|
continue;
|
|
778
778
|
}
|
|
779
779
|
const $ = /^\\+/.exec(ce());
|
|
780
780
|
let Y = 0;
|
|
781
|
-
if ($ && $[0].length > 2 && (Y = $[0].length,
|
|
782
|
-
|
|
781
|
+
if ($ && $[0].length > 2 && (Y = $[0].length, e.index += Y, Y % 2 !== 0 && (t += "\\")), r.unescape === !0 ? t = B() : t += B(), e.brackets === 0) {
|
|
782
|
+
I({ type: "text", value: t });
|
|
783
783
|
continue;
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
if (
|
|
787
|
-
if (
|
|
788
|
-
const
|
|
789
|
-
if (
|
|
790
|
-
const $ =
|
|
786
|
+
if (e.brackets > 0 && (t !== "]" || n.value === "[" || n.value === "[^")) {
|
|
787
|
+
if (r.posix !== !1 && t === ":") {
|
|
788
|
+
const s = n.value.slice(1);
|
|
789
|
+
if (s.includes("[") && (n.posix = !0, s.includes(":"))) {
|
|
790
|
+
const $ = n.value.lastIndexOf("["), Y = n.value.slice(0, $), le = n.value.slice($ + 2), oe = x[le];
|
|
791
791
|
if (oe) {
|
|
792
|
-
|
|
792
|
+
n.value = Y + oe, e.backtrack = !0, B(), !l.output && _.indexOf(n) === 1 && (l.output = P);
|
|
793
793
|
continue;
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
|
-
(
|
|
797
|
+
(t === "[" && w() !== ":" || t === "-" && w() === "]") && (t = `\\${t}`), t === "]" && (n.value === "[" || n.value === "[^") && (t = `\\${t}`), r.posix === !0 && t === "!" && n.value === "[" && (t = "^"), n.value += t, J({ value: t });
|
|
798
798
|
continue;
|
|
799
799
|
}
|
|
800
|
-
if (
|
|
801
|
-
|
|
800
|
+
if (e.quotes === 1 && t !== '"') {
|
|
801
|
+
t = E.escapeRegex(t), n.value += t, J({ value: t });
|
|
802
802
|
continue;
|
|
803
803
|
}
|
|
804
|
-
if (
|
|
805
|
-
|
|
804
|
+
if (t === '"') {
|
|
805
|
+
e.quotes = e.quotes === 1 ? 0 : 1, r.keepQuotes === !0 && I({ type: "text", value: t });
|
|
806
806
|
continue;
|
|
807
807
|
}
|
|
808
|
-
if (
|
|
809
|
-
|
|
808
|
+
if (t === "(") {
|
|
809
|
+
de("parens"), I({ type: "paren", value: t });
|
|
810
810
|
continue;
|
|
811
811
|
}
|
|
812
|
-
if (
|
|
813
|
-
if (
|
|
814
|
-
throw new SyntaxError(
|
|
815
|
-
const
|
|
816
|
-
if (
|
|
817
|
-
|
|
812
|
+
if (t === ")") {
|
|
813
|
+
if (e.parens === 0 && r.strictBrackets === !0)
|
|
814
|
+
throw new SyntaxError(b("opening", "("));
|
|
815
|
+
const s = W[W.length - 1];
|
|
816
|
+
if (s && e.parens === s.parens + 1) {
|
|
817
|
+
A(W.pop());
|
|
818
818
|
continue;
|
|
819
819
|
}
|
|
820
|
-
|
|
820
|
+
I({ type: "paren", value: t, output: e.parens ? ")" : "\\)" }), ne("parens");
|
|
821
821
|
continue;
|
|
822
822
|
}
|
|
823
|
-
if (
|
|
824
|
-
if (
|
|
825
|
-
if (
|
|
826
|
-
throw new SyntaxError(
|
|
827
|
-
|
|
823
|
+
if (t === "[") {
|
|
824
|
+
if (r.nobracket === !0 || !ce().includes("]")) {
|
|
825
|
+
if (r.nobracket !== !0 && r.strictBrackets === !0)
|
|
826
|
+
throw new SyntaxError(b("closing", "]"));
|
|
827
|
+
t = `\\${t}`;
|
|
828
828
|
} else
|
|
829
|
-
|
|
830
|
-
|
|
829
|
+
de("brackets");
|
|
830
|
+
I({ type: "bracket", value: t });
|
|
831
831
|
continue;
|
|
832
832
|
}
|
|
833
|
-
if (
|
|
834
|
-
if (
|
|
835
|
-
|
|
833
|
+
if (t === "]") {
|
|
834
|
+
if (r.nobracket === !0 || n && n.type === "bracket" && n.value.length === 1) {
|
|
835
|
+
I({ type: "text", value: t, output: `\\${t}` });
|
|
836
836
|
continue;
|
|
837
837
|
}
|
|
838
|
-
if (
|
|
839
|
-
if (
|
|
840
|
-
throw new SyntaxError(
|
|
841
|
-
|
|
838
|
+
if (e.brackets === 0) {
|
|
839
|
+
if (r.strictBrackets === !0)
|
|
840
|
+
throw new SyntaxError(b("opening", "["));
|
|
841
|
+
I({ type: "text", value: t, output: `\\${t}` });
|
|
842
842
|
continue;
|
|
843
843
|
}
|
|
844
844
|
ne("brackets");
|
|
845
|
-
const
|
|
846
|
-
if (
|
|
845
|
+
const s = n.value.slice(1);
|
|
846
|
+
if (n.posix !== !0 && s[0] === "^" && !s.includes("/") && (t = `/${t}`), n.value += t, J({ value: t }), r.literalBrackets === !1 || E.hasRegexChars(s))
|
|
847
847
|
continue;
|
|
848
|
-
const $ =
|
|
849
|
-
if (
|
|
850
|
-
|
|
848
|
+
const $ = E.escapeRegex(n.value);
|
|
849
|
+
if (e.output = e.output.slice(0, -n.value.length), r.literalBrackets === !0) {
|
|
850
|
+
e.output += $, n.value = $;
|
|
851
851
|
continue;
|
|
852
852
|
}
|
|
853
|
-
|
|
853
|
+
n.value = `(${T}${$}|${n.value})`, e.output += n.value;
|
|
854
854
|
continue;
|
|
855
855
|
}
|
|
856
|
-
if (
|
|
857
|
-
|
|
858
|
-
const
|
|
859
|
-
|
|
856
|
+
if (t === "{" && r.nobrace !== !0) {
|
|
857
|
+
de("braces");
|
|
858
|
+
const s = { type: "brace", value: t, output: "(", outputIndex: e.output.length, tokensIndex: e.tokens.length };
|
|
859
|
+
se.push(s), I(s);
|
|
860
860
|
continue;
|
|
861
861
|
}
|
|
862
|
-
if (
|
|
863
|
-
const
|
|
864
|
-
if (
|
|
865
|
-
|
|
862
|
+
if (t === "}") {
|
|
863
|
+
const s = se[se.length - 1];
|
|
864
|
+
if (r.nobrace === !0 || !s) {
|
|
865
|
+
I({ type: "text", value: t, output: t });
|
|
866
866
|
continue;
|
|
867
867
|
}
|
|
868
868
|
let $ = ")";
|
|
869
|
-
if (
|
|
870
|
-
const Y =
|
|
871
|
-
for (let oe = Y.length - 1; oe >= 0 && (
|
|
869
|
+
if (s.dots === !0) {
|
|
870
|
+
const Y = _.slice(), le = [];
|
|
871
|
+
for (let oe = Y.length - 1; oe >= 0 && (_.pop(), Y[oe].type !== "brace"); oe--)
|
|
872
872
|
Y[oe].type !== "dots" && le.unshift(Y[oe].value);
|
|
873
|
-
$ =
|
|
873
|
+
$ = i(le, r), e.backtrack = !0;
|
|
874
874
|
}
|
|
875
|
-
if (
|
|
876
|
-
const Y =
|
|
877
|
-
|
|
875
|
+
if (s.comma !== !0 && s.dots !== !0) {
|
|
876
|
+
const Y = e.output.slice(0, s.outputIndex), le = e.tokens.slice(s.tokensIndex);
|
|
877
|
+
s.value = s.output = "\\{", t = $ = "\\}", e.output = Y;
|
|
878
878
|
for (const oe of le)
|
|
879
|
-
|
|
879
|
+
e.output += oe.output || oe.value;
|
|
880
880
|
}
|
|
881
|
-
|
|
881
|
+
I({ type: "brace", value: t, output: $ }), ne("braces"), se.pop();
|
|
882
882
|
continue;
|
|
883
883
|
}
|
|
884
|
-
if (
|
|
885
|
-
|
|
884
|
+
if (t === "|") {
|
|
885
|
+
W.length > 0 && W[W.length - 1].conditions++, I({ type: "text", value: t });
|
|
886
886
|
continue;
|
|
887
887
|
}
|
|
888
|
-
if (
|
|
889
|
-
let
|
|
890
|
-
const $ =
|
|
891
|
-
$ &&
|
|
888
|
+
if (t === ",") {
|
|
889
|
+
let s = t;
|
|
890
|
+
const $ = se[se.length - 1];
|
|
891
|
+
$ && fe[fe.length - 1] === "braces" && ($.comma = !0, s = "|"), I({ type: "comma", value: t, output: s });
|
|
892
892
|
continue;
|
|
893
893
|
}
|
|
894
|
-
if (
|
|
895
|
-
if (
|
|
896
|
-
|
|
894
|
+
if (t === "/") {
|
|
895
|
+
if (n.type === "dot" && e.index === e.start + 1) {
|
|
896
|
+
e.start = e.index + 1, e.consumed = "", e.output = "", _.pop(), n = l;
|
|
897
897
|
continue;
|
|
898
898
|
}
|
|
899
|
-
|
|
899
|
+
I({ type: "slash", value: t, output: U });
|
|
900
900
|
continue;
|
|
901
901
|
}
|
|
902
|
-
if (
|
|
903
|
-
if (
|
|
904
|
-
|
|
905
|
-
const
|
|
906
|
-
|
|
902
|
+
if (t === ".") {
|
|
903
|
+
if (e.braces > 0 && n.type === "dot") {
|
|
904
|
+
n.value === "." && (n.output = K);
|
|
905
|
+
const s = se[se.length - 1];
|
|
906
|
+
n.type = "dots", n.output += t, n.value += t, s.dots = !0;
|
|
907
907
|
continue;
|
|
908
908
|
}
|
|
909
|
-
if (
|
|
910
|
-
|
|
909
|
+
if (e.braces + e.parens === 0 && n.type !== "bos" && n.type !== "slash") {
|
|
910
|
+
I({ type: "text", value: t, output: K });
|
|
911
911
|
continue;
|
|
912
912
|
}
|
|
913
|
-
|
|
913
|
+
I({ type: "dot", value: t, output: K });
|
|
914
914
|
continue;
|
|
915
915
|
}
|
|
916
|
-
if (
|
|
917
|
-
if (!(
|
|
918
|
-
ue("qmark",
|
|
916
|
+
if (t === "?") {
|
|
917
|
+
if (!(n && n.value === "(") && r.noextglob !== !0 && w() === "(" && w(2) !== "?") {
|
|
918
|
+
ue("qmark", t);
|
|
919
919
|
continue;
|
|
920
920
|
}
|
|
921
|
-
if (
|
|
922
|
-
const $ =
|
|
923
|
-
let Y =
|
|
924
|
-
(
|
|
921
|
+
if (n && n.type === "paren") {
|
|
922
|
+
const $ = w();
|
|
923
|
+
let Y = t;
|
|
924
|
+
(n.value === "(" && !/[!=<:]/.test($) || $ === "<" && !/<([!=]|\w+>)/.test(ce())) && (Y = `\\${t}`), I({ type: "text", value: t, output: Y });
|
|
925
925
|
continue;
|
|
926
926
|
}
|
|
927
|
-
if (
|
|
928
|
-
|
|
927
|
+
if (r.dot !== !0 && (n.type === "slash" || n.type === "bos")) {
|
|
928
|
+
I({ type: "qmark", value: t, output: G });
|
|
929
929
|
continue;
|
|
930
930
|
}
|
|
931
|
-
|
|
931
|
+
I({ type: "qmark", value: t, output: M });
|
|
932
932
|
continue;
|
|
933
933
|
}
|
|
934
|
-
if (
|
|
935
|
-
if (
|
|
936
|
-
ue("negate",
|
|
934
|
+
if (t === "!") {
|
|
935
|
+
if (r.noextglob !== !0 && w() === "(" && (w(2) !== "?" || !/[!=<:]/.test(w(3)))) {
|
|
936
|
+
ue("negate", t);
|
|
937
937
|
continue;
|
|
938
938
|
}
|
|
939
|
-
if (
|
|
939
|
+
if (r.nonegate !== !0 && e.index === 0) {
|
|
940
940
|
ee();
|
|
941
941
|
continue;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
-
if (
|
|
945
|
-
if (
|
|
946
|
-
ue("plus",
|
|
944
|
+
if (t === "+") {
|
|
945
|
+
if (r.noextglob !== !0 && w() === "(" && w(2) !== "?") {
|
|
946
|
+
ue("plus", t);
|
|
947
947
|
continue;
|
|
948
948
|
}
|
|
949
|
-
if (
|
|
950
|
-
|
|
949
|
+
if (n && n.value === "(" || r.regex === !1) {
|
|
950
|
+
I({ type: "plus", value: t, output: k });
|
|
951
951
|
continue;
|
|
952
952
|
}
|
|
953
|
-
if (
|
|
954
|
-
|
|
953
|
+
if (n && (n.type === "bracket" || n.type === "paren" || n.type === "brace") || e.parens > 0) {
|
|
954
|
+
I({ type: "plus", value: t });
|
|
955
955
|
continue;
|
|
956
956
|
}
|
|
957
|
-
|
|
957
|
+
I({ type: "plus", value: k });
|
|
958
958
|
continue;
|
|
959
959
|
}
|
|
960
|
-
if (
|
|
961
|
-
if (
|
|
962
|
-
|
|
960
|
+
if (t === "@") {
|
|
961
|
+
if (r.noextglob !== !0 && w() === "(" && w(2) !== "?") {
|
|
962
|
+
I({ type: "at", extglob: !0, value: t, output: "" });
|
|
963
963
|
continue;
|
|
964
964
|
}
|
|
965
|
-
|
|
965
|
+
I({ type: "text", value: t });
|
|
966
966
|
continue;
|
|
967
967
|
}
|
|
968
|
-
if (
|
|
969
|
-
(
|
|
970
|
-
const
|
|
971
|
-
|
|
968
|
+
if (t !== "*") {
|
|
969
|
+
(t === "$" || t === "^") && (t = `\\${t}`);
|
|
970
|
+
const s = h.exec(ce());
|
|
971
|
+
s && (t += s[0], e.index += s[0].length), I({ type: "text", value: t });
|
|
972
972
|
continue;
|
|
973
973
|
}
|
|
974
|
-
if (
|
|
975
|
-
|
|
974
|
+
if (n && (n.type === "globstar" || n.star === !0)) {
|
|
975
|
+
n.type = "star", n.star = !0, n.value += t, n.output = te, e.backtrack = !0, e.globstar = !0, pe(t);
|
|
976
976
|
continue;
|
|
977
977
|
}
|
|
978
|
-
let
|
|
979
|
-
if (
|
|
980
|
-
ue("star",
|
|
978
|
+
let a = ce();
|
|
979
|
+
if (r.noextglob !== !0 && /^\([^?]/.test(a)) {
|
|
980
|
+
ue("star", t);
|
|
981
981
|
continue;
|
|
982
982
|
}
|
|
983
|
-
if (
|
|
984
|
-
if (
|
|
985
|
-
|
|
983
|
+
if (n.type === "star") {
|
|
984
|
+
if (r.noglobstar === !0) {
|
|
985
|
+
pe(t);
|
|
986
986
|
continue;
|
|
987
987
|
}
|
|
988
|
-
const
|
|
989
|
-
if (
|
|
990
|
-
|
|
988
|
+
const s = n.prev, $ = s.prev, Y = s.type === "slash" || s.type === "bos", le = $ && ($.type === "star" || $.type === "globstar");
|
|
989
|
+
if (r.bash === !0 && (!Y || a[0] && a[0] !== "/")) {
|
|
990
|
+
I({ type: "star", value: t, output: "" });
|
|
991
991
|
continue;
|
|
992
992
|
}
|
|
993
|
-
const oe =
|
|
994
|
-
if (!Y &&
|
|
995
|
-
|
|
993
|
+
const oe = e.braces > 0 && (s.type === "comma" || s.type === "brace"), Ee = W.length && (s.type === "pipe" || s.type === "paren");
|
|
994
|
+
if (!Y && s.type !== "paren" && !oe && !Ee) {
|
|
995
|
+
I({ type: "star", value: t, output: "" });
|
|
996
996
|
continue;
|
|
997
997
|
}
|
|
998
|
-
for (;
|
|
999
|
-
const ye =
|
|
998
|
+
for (; a.slice(0, 3) === "/**"; ) {
|
|
999
|
+
const ye = d[e.index + 4];
|
|
1000
1000
|
if (ye && ye !== "/")
|
|
1001
1001
|
break;
|
|
1002
|
-
|
|
1002
|
+
a = a.slice(3), pe("/**", 3);
|
|
1003
1003
|
}
|
|
1004
|
-
if (
|
|
1005
|
-
|
|
1004
|
+
if (s.type === "bos" && Z()) {
|
|
1005
|
+
n.type = "globstar", n.value += t, n.output = V(r), e.output = n.output, e.globstar = !0, pe(t);
|
|
1006
1006
|
continue;
|
|
1007
1007
|
}
|
|
1008
|
-
if (
|
|
1009
|
-
|
|
1008
|
+
if (s.type === "slash" && s.prev.type !== "bos" && !le && Z()) {
|
|
1009
|
+
e.output = e.output.slice(0, -(s.output + n.output).length), s.output = `(?:${s.output}`, n.type = "globstar", n.output = V(r) + (r.strictSlashes ? ")" : "|$)"), n.value += t, e.globstar = !0, e.output += s.output + n.output, pe(t);
|
|
1010
1010
|
continue;
|
|
1011
1011
|
}
|
|
1012
|
-
if (
|
|
1013
|
-
const ye =
|
|
1014
|
-
|
|
1012
|
+
if (s.type === "slash" && s.prev.type !== "bos" && a[0] === "/") {
|
|
1013
|
+
const ye = a[1] !== void 0 ? "|$" : "";
|
|
1014
|
+
e.output = e.output.slice(0, -(s.output + n.output).length), s.output = `(?:${s.output}`, n.type = "globstar", n.output = `${V(r)}${U}|${U}${ye})`, n.value += t, e.output += s.output + n.output, e.globstar = !0, pe(t + B()), I({ type: "slash", value: "/", output: "" });
|
|
1015
1015
|
continue;
|
|
1016
1016
|
}
|
|
1017
|
-
if (
|
|
1018
|
-
|
|
1017
|
+
if (s.type === "bos" && a[0] === "/") {
|
|
1018
|
+
n.type = "globstar", n.value += t, n.output = `(?:^|${U}|${V(r)}${U})`, e.output = n.output, e.globstar = !0, pe(t + B()), I({ type: "slash", value: "/", output: "" });
|
|
1019
1019
|
continue;
|
|
1020
1020
|
}
|
|
1021
|
-
|
|
1021
|
+
e.output = e.output.slice(0, -n.output.length), n.type = "globstar", n.output = V(r), n.value += t, e.output += n.output, e.globstar = !0, pe(t);
|
|
1022
1022
|
continue;
|
|
1023
1023
|
}
|
|
1024
|
-
const D = { type: "star", value:
|
|
1025
|
-
if (
|
|
1026
|
-
D.output = ".*?", (
|
|
1024
|
+
const D = { type: "star", value: t, output: te };
|
|
1025
|
+
if (r.bash === !0) {
|
|
1026
|
+
D.output = ".*?", (n.type === "bos" || n.type === "slash") && (D.output = F + D.output), I(D);
|
|
1027
1027
|
continue;
|
|
1028
1028
|
}
|
|
1029
|
-
if (
|
|
1030
|
-
D.output =
|
|
1029
|
+
if (n && (n.type === "bracket" || n.type === "paren") && r.regex === !0) {
|
|
1030
|
+
D.output = t, I(D);
|
|
1031
1031
|
continue;
|
|
1032
1032
|
}
|
|
1033
|
-
(
|
|
1033
|
+
(e.index === e.start || n.type === "slash" || n.type === "dot") && (n.type === "dot" ? (e.output += Q, n.output += Q) : r.dot === !0 ? (e.output += X, n.output += X) : (e.output += F, n.output += F), w() !== "*" && (e.output += P, n.output += P)), I(D);
|
|
1034
1034
|
}
|
|
1035
|
-
for (;
|
|
1036
|
-
if (
|
|
1037
|
-
throw new SyntaxError(
|
|
1038
|
-
|
|
1035
|
+
for (; e.brackets > 0; ) {
|
|
1036
|
+
if (r.strictBrackets === !0)
|
|
1037
|
+
throw new SyntaxError(b("closing", "]"));
|
|
1038
|
+
e.output = E.escapeLast(e.output, "["), ne("brackets");
|
|
1039
1039
|
}
|
|
1040
|
-
for (;
|
|
1041
|
-
if (
|
|
1042
|
-
throw new SyntaxError(
|
|
1043
|
-
|
|
1040
|
+
for (; e.parens > 0; ) {
|
|
1041
|
+
if (r.strictBrackets === !0)
|
|
1042
|
+
throw new SyntaxError(b("closing", ")"));
|
|
1043
|
+
e.output = E.escapeLast(e.output, "("), ne("parens");
|
|
1044
1044
|
}
|
|
1045
|
-
for (;
|
|
1046
|
-
if (
|
|
1047
|
-
throw new SyntaxError(
|
|
1048
|
-
|
|
1045
|
+
for (; e.braces > 0; ) {
|
|
1046
|
+
if (r.strictBrackets === !0)
|
|
1047
|
+
throw new SyntaxError(b("closing", "}"));
|
|
1048
|
+
e.output = E.escapeLast(e.output, "{"), ne("braces");
|
|
1049
1049
|
}
|
|
1050
|
-
if (
|
|
1051
|
-
|
|
1052
|
-
for (const
|
|
1053
|
-
|
|
1050
|
+
if (r.strictSlashes !== !0 && (n.type === "star" || n.type === "bracket") && I({ type: "maybe_slash", value: "", output: `${U}?` }), e.backtrack === !0) {
|
|
1051
|
+
e.output = "";
|
|
1052
|
+
for (const a of e.tokens)
|
|
1053
|
+
e.output += a.output != null ? a.output : a.value, a.suffix && (e.output += a.suffix);
|
|
1054
1054
|
}
|
|
1055
|
-
return
|
|
1055
|
+
return e;
|
|
1056
1056
|
};
|
|
1057
|
-
|
|
1058
|
-
const
|
|
1059
|
-
if (
|
|
1060
|
-
throw new SyntaxError(`Input length: ${
|
|
1061
|
-
|
|
1062
|
-
const { DOT_LITERAL:
|
|
1063
|
-
let
|
|
1064
|
-
|
|
1065
|
-
const
|
|
1057
|
+
f.fastpaths = (d, C) => {
|
|
1058
|
+
const r = { ...C }, o = typeof r.maxLength == "number" ? Math.min(O, r.maxLength) : O, g = d.length;
|
|
1059
|
+
if (g > o)
|
|
1060
|
+
throw new SyntaxError(`Input length: ${g}, exceeds maximum allowed length: ${o}`);
|
|
1061
|
+
d = c[d] || d;
|
|
1062
|
+
const { DOT_LITERAL: l, SLASH_LITERAL: _, ONE_CHAR: T, DOTS_SLASH: H, NO_DOT: v, NO_DOTS: K, NO_DOTS_SLASH: k, STAR: U, START_ANCHOR: P } = p.globChars(r.windows), z = r.dot ? K : v, q = r.dot ? k : v, Q = r.capture ? "" : "?:", X = { negated: !1, prefix: "" };
|
|
1063
|
+
let M = r.bash === !0 ? ".*?" : U;
|
|
1064
|
+
r.capture && (M = `(${M})`);
|
|
1065
|
+
const G = (F) => F.noglobstar === !0 ? M : `(${Q}(?:(?!${P}${F.dot ? H : l}).)*?)`, re = (F) => {
|
|
1066
1066
|
switch (F) {
|
|
1067
1067
|
case "*":
|
|
1068
|
-
return `${
|
|
1068
|
+
return `${z}${T}${M}`;
|
|
1069
1069
|
case ".*":
|
|
1070
|
-
return `${
|
|
1070
|
+
return `${l}${T}${M}`;
|
|
1071
1071
|
case "*.*":
|
|
1072
|
-
return `${
|
|
1072
|
+
return `${z}${M}${l}${T}${M}`;
|
|
1073
1073
|
case "*/*":
|
|
1074
|
-
return `${
|
|
1074
|
+
return `${z}${M}${_}${T}${q}${M}`;
|
|
1075
1075
|
case "**":
|
|
1076
|
-
return
|
|
1076
|
+
return z + G(r);
|
|
1077
1077
|
case "**/*":
|
|
1078
|
-
return `(?:${
|
|
1078
|
+
return `(?:${z}${G(r)}${_})?${q}${T}${M}`;
|
|
1079
1079
|
case "**/*.*":
|
|
1080
|
-
return `(?:${
|
|
1080
|
+
return `(?:${z}${G(r)}${_})?${q}${M}${l}${T}${M}`;
|
|
1081
1081
|
case "**/.*":
|
|
1082
|
-
return `(?:${
|
|
1082
|
+
return `(?:${z}${G(r)}${_})?${l}${T}${M}`;
|
|
1083
1083
|
default: {
|
|
1084
|
-
const
|
|
1085
|
-
if (!
|
|
1084
|
+
const ae = /^(.*?)\.(\w+)$/.exec(F);
|
|
1085
|
+
if (!ae)
|
|
1086
1086
|
return;
|
|
1087
|
-
const te = re(
|
|
1088
|
-
return te ? te +
|
|
1087
|
+
const te = re(ae[1]);
|
|
1088
|
+
return te ? te + l + ae[2] : void 0;
|
|
1089
1089
|
}
|
|
1090
1090
|
}
|
|
1091
|
-
}, ie =
|
|
1092
|
-
let
|
|
1093
|
-
return
|
|
1094
|
-
},
|
|
1095
|
-
}, 510: (
|
|
1096
|
-
const
|
|
1097
|
-
if (Array.isArray(
|
|
1098
|
-
const
|
|
1099
|
-
return (
|
|
1100
|
-
for (const
|
|
1101
|
-
const
|
|
1102
|
-
if (
|
|
1103
|
-
return
|
|
1091
|
+
}, ie = E.removePrefix(d, X);
|
|
1092
|
+
let V = re(ie);
|
|
1093
|
+
return V && r.strictSlashes !== !0 && (V += `${_}?`), V;
|
|
1094
|
+
}, S.exports = f;
|
|
1095
|
+
}, 510: (S, u, m) => {
|
|
1096
|
+
const p = m(716), E = m(697), O = m(96), x = m(154), h = (c) => c && typeof c == "object" && !Array.isArray(c), y = (c, i, b = !1) => {
|
|
1097
|
+
if (Array.isArray(c)) {
|
|
1098
|
+
const _ = c.map((H) => y(H, i, b));
|
|
1099
|
+
return (H) => {
|
|
1100
|
+
for (const v of _) {
|
|
1101
|
+
const K = v(H);
|
|
1102
|
+
if (K)
|
|
1103
|
+
return K;
|
|
1104
1104
|
}
|
|
1105
1105
|
return !1;
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
|
-
const
|
|
1109
|
-
if (
|
|
1108
|
+
const f = h(c) && c.tokens && c.input;
|
|
1109
|
+
if (c === "" || typeof c != "string" && !f)
|
|
1110
1110
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
1111
|
-
const
|
|
1112
|
-
delete
|
|
1113
|
-
let
|
|
1114
|
-
if (
|
|
1115
|
-
const
|
|
1116
|
-
|
|
1111
|
+
const d = i || {}, C = d.windows, r = f ? y.compileRe(c, i) : y.makeRe(c, i, !1, !0), o = r.state;
|
|
1112
|
+
delete r.state;
|
|
1113
|
+
let g = () => !1;
|
|
1114
|
+
if (d.ignore) {
|
|
1115
|
+
const _ = { ...i, ignore: null, onMatch: null, onResult: null };
|
|
1116
|
+
g = y(d.ignore, _, b);
|
|
1117
1117
|
}
|
|
1118
|
-
const
|
|
1119
|
-
const { isMatch:
|
|
1120
|
-
return typeof
|
|
1118
|
+
const l = (_, T = !1) => {
|
|
1119
|
+
const { isMatch: H, match: v, output: K } = y.test(_, r, i, { glob: c, posix: C }), k = { glob: c, state: o, regex: r, posix: C, input: _, output: K, match: v, isMatch: H };
|
|
1120
|
+
return typeof d.onResult == "function" && d.onResult(k), H === !1 ? (k.isMatch = !1, T ? k : !1) : g(_) ? (typeof d.onIgnore == "function" && d.onIgnore(k), k.isMatch = !1, T ? k : !1) : (typeof d.onMatch == "function" && d.onMatch(k), T ? k : !0);
|
|
1121
1121
|
};
|
|
1122
|
-
return
|
|
1122
|
+
return b && (l.state = o), l;
|
|
1123
1123
|
};
|
|
1124
|
-
|
|
1125
|
-
if (typeof
|
|
1124
|
+
y.test = (c, i, b, { glob: f, posix: d } = {}) => {
|
|
1125
|
+
if (typeof c != "string")
|
|
1126
1126
|
throw new TypeError("Expected input to be a string");
|
|
1127
|
-
if (
|
|
1127
|
+
if (c === "")
|
|
1128
1128
|
return { isMatch: !1, output: "" };
|
|
1129
|
-
const
|
|
1130
|
-
let
|
|
1131
|
-
return
|
|
1132
|
-
},
|
|
1133
|
-
if (
|
|
1134
|
-
return
|
|
1135
|
-
const
|
|
1136
|
-
let
|
|
1137
|
-
|
|
1138
|
-
const
|
|
1139
|
-
return
|
|
1140
|
-
},
|
|
1141
|
-
if (!
|
|
1129
|
+
const C = b || {}, r = C.format || (d ? O.toPosixSlashes : null);
|
|
1130
|
+
let o = c === f, g = o && r ? r(c) : c;
|
|
1131
|
+
return o === !1 && (g = r ? r(c) : c, o = g === f), (o === !1 || C.capture === !0) && (C.matchBase === !0 || C.basename === !0 ? o = y.matchBase(c, i, b, d) : o = i.exec(g)), { isMatch: !!o, match: o, output: g };
|
|
1132
|
+
}, y.matchBase = (c, i, b) => (i instanceof RegExp ? i : y.makeRe(i, b)).test(O.basename(c)), y.isMatch = (c, i, b) => y(i, b)(c), y.parse = (c, i) => Array.isArray(c) ? c.map((b) => y.parse(b, i)) : E(c, { ...i, fastpaths: !1 }), y.scan = (c, i) => p(c, i), y.compileRe = (c, i, b = !1, f = !1) => {
|
|
1133
|
+
if (b === !0)
|
|
1134
|
+
return c.output;
|
|
1135
|
+
const d = i || {}, C = d.contains ? "" : "^", r = d.contains ? "" : "$";
|
|
1136
|
+
let o = `${C}(?:${c.output})${r}`;
|
|
1137
|
+
c && c.negated === !0 && (o = `^(?!${o}).*$`);
|
|
1138
|
+
const g = y.toRegex(o, i);
|
|
1139
|
+
return f === !0 && (g.state = c), g;
|
|
1140
|
+
}, y.makeRe = (c, i = {}, b = !1, f = !1) => {
|
|
1141
|
+
if (!c || typeof c != "string")
|
|
1142
1142
|
throw new TypeError("Expected a non-empty string");
|
|
1143
|
-
let
|
|
1144
|
-
return
|
|
1145
|
-
},
|
|
1143
|
+
let d = { negated: !1, fastpaths: !0 };
|
|
1144
|
+
return i.fastpaths !== !1 && (c[0] === "." || c[0] === "*") && (d.output = E.fastpaths(c, i)), d.output || (d = E(c, i)), y.compileRe(d, i, b, f);
|
|
1145
|
+
}, y.toRegex = (c, i) => {
|
|
1146
1146
|
try {
|
|
1147
|
-
const
|
|
1148
|
-
return new RegExp(
|
|
1149
|
-
} catch (
|
|
1150
|
-
if (
|
|
1151
|
-
throw
|
|
1147
|
+
const b = i || {};
|
|
1148
|
+
return new RegExp(c, b.flags || (b.nocase ? "i" : ""));
|
|
1149
|
+
} catch (b) {
|
|
1150
|
+
if (i && i.debug === !0)
|
|
1151
|
+
throw b;
|
|
1152
1152
|
return /$^/;
|
|
1153
1153
|
}
|
|
1154
|
-
},
|
|
1155
|
-
}, 716: (
|
|
1156
|
-
const
|
|
1157
|
-
|
|
1158
|
-
},
|
|
1159
|
-
const
|
|
1160
|
-
let
|
|
1161
|
-
const ce = () =>
|
|
1162
|
-
for (;
|
|
1163
|
-
|
|
1154
|
+
}, y.constants = x, S.exports = y;
|
|
1155
|
+
}, 716: (S, u, m) => {
|
|
1156
|
+
const p = m(96), { CHAR_ASTERISK: E, CHAR_AT: O, CHAR_BACKWARD_SLASH: x, CHAR_COMMA: h, CHAR_DOT: y, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: i, CHAR_LEFT_CURLY_BRACE: b, CHAR_LEFT_PARENTHESES: f, CHAR_LEFT_SQUARE_BRACKET: d, CHAR_PLUS: C, CHAR_QUESTION_MARK: r, CHAR_RIGHT_CURLY_BRACE: o, CHAR_RIGHT_PARENTHESES: g, CHAR_RIGHT_SQUARE_BRACKET: l } = m(154), _ = (v) => v === i || v === x, T = (v) => {
|
|
1157
|
+
v.isPrefix !== !0 && (v.depth = v.isGlobstar ? 1 / 0 : 1);
|
|
1158
|
+
}, H = (v, K) => {
|
|
1159
|
+
const k = K || {}, U = v.length - 1, P = k.parts === !0 || k.scanToEnd === !0, z = [], q = [], Q = [];
|
|
1160
|
+
let X = v, M = -1, G = 0, re = 0, ie = !1, V = !1, F = !1, ae = !1, te = !1, e = !1, W = !1, se = !1, fe = !1, n = !1, t = 0, Z, w, B = { value: "", depth: 0, isGlob: !1 };
|
|
1161
|
+
const ce = () => M >= U, pe = () => X.charCodeAt(M + 1), J = () => (Z = w, X.charCodeAt(++M));
|
|
1162
|
+
for (; M < U; ) {
|
|
1163
|
+
w = J();
|
|
1164
1164
|
let ue;
|
|
1165
|
-
if (
|
|
1166
|
-
|
|
1165
|
+
if (w === x) {
|
|
1166
|
+
W = B.backslashes = !0, w = J(), w === b && (e = !0);
|
|
1167
1167
|
continue;
|
|
1168
1168
|
}
|
|
1169
|
-
if (
|
|
1170
|
-
for (
|
|
1171
|
-
if (
|
|
1172
|
-
|
|
1169
|
+
if (e === !0 || w === b) {
|
|
1170
|
+
for (t++; ce() !== !0 && (w = J()); ) {
|
|
1171
|
+
if (w === x) {
|
|
1172
|
+
W = B.backslashes = !0, J();
|
|
1173
1173
|
continue;
|
|
1174
1174
|
}
|
|
1175
|
-
if (
|
|
1176
|
-
|
|
1175
|
+
if (w === b) {
|
|
1176
|
+
t++;
|
|
1177
1177
|
continue;
|
|
1178
1178
|
}
|
|
1179
|
-
if (
|
|
1180
|
-
if (ie = B.isBrace = !0, F = B.isGlob = !0,
|
|
1179
|
+
if (e !== !0 && w === y && (w = J()) === y) {
|
|
1180
|
+
if (ie = B.isBrace = !0, F = B.isGlob = !0, n = !0, P === !0)
|
|
1181
1181
|
continue;
|
|
1182
1182
|
break;
|
|
1183
1183
|
}
|
|
1184
|
-
if (
|
|
1185
|
-
if (ie = B.isBrace = !0, F = B.isGlob = !0,
|
|
1184
|
+
if (e !== !0 && w === h) {
|
|
1185
|
+
if (ie = B.isBrace = !0, F = B.isGlob = !0, n = !0, P === !0)
|
|
1186
1186
|
continue;
|
|
1187
1187
|
break;
|
|
1188
1188
|
}
|
|
1189
|
-
if (
|
|
1190
|
-
|
|
1189
|
+
if (w === o && (t--, t === 0)) {
|
|
1190
|
+
e = !1, ie = B.isBrace = !0, n = !0;
|
|
1191
1191
|
break;
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
|
-
if (
|
|
1194
|
+
if (P === !0)
|
|
1195
1195
|
continue;
|
|
1196
1196
|
break;
|
|
1197
1197
|
}
|
|
1198
|
-
if (
|
|
1199
|
-
if (
|
|
1198
|
+
if (w === i) {
|
|
1199
|
+
if (z.push(M), q.push(B), B = { value: "", depth: 0, isGlob: !1 }, n === !0)
|
|
1200
1200
|
continue;
|
|
1201
|
-
if (Z ===
|
|
1202
|
-
|
|
1201
|
+
if (Z === y && M === G + 1) {
|
|
1202
|
+
G += 2;
|
|
1203
1203
|
continue;
|
|
1204
1204
|
}
|
|
1205
|
-
re =
|
|
1205
|
+
re = M + 1;
|
|
1206
1206
|
continue;
|
|
1207
1207
|
}
|
|
1208
|
-
if (
|
|
1209
|
-
if (F = B.isGlob = !0,
|
|
1210
|
-
for (; ce() !== !0 && (
|
|
1211
|
-
if (
|
|
1212
|
-
|
|
1208
|
+
if (k.noext !== !0 && (w === C || w === O || w === E || w === r || w === c) === !0 && pe() === f) {
|
|
1209
|
+
if (F = B.isGlob = !0, ae = B.isExtglob = !0, n = !0, w === c && M === G && (fe = !0), P === !0) {
|
|
1210
|
+
for (; ce() !== !0 && (w = J()); ) {
|
|
1211
|
+
if (w === x) {
|
|
1212
|
+
W = B.backslashes = !0, w = J();
|
|
1213
1213
|
continue;
|
|
1214
1214
|
}
|
|
1215
|
-
if (
|
|
1216
|
-
F = B.isGlob = !0,
|
|
1215
|
+
if (w === g) {
|
|
1216
|
+
F = B.isGlob = !0, n = !0;
|
|
1217
1217
|
break;
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
@@ -1221,44 +1221,44 @@ function Tt() {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
break;
|
|
1223
1223
|
}
|
|
1224
|
-
if (
|
|
1225
|
-
if (Z ===
|
|
1224
|
+
if (w === E) {
|
|
1225
|
+
if (Z === E && (te = B.isGlobstar = !0), F = B.isGlob = !0, n = !0, P === !0)
|
|
1226
1226
|
continue;
|
|
1227
1227
|
break;
|
|
1228
1228
|
}
|
|
1229
|
-
if (
|
|
1230
|
-
if (F = B.isGlob = !0,
|
|
1229
|
+
if (w === r) {
|
|
1230
|
+
if (F = B.isGlob = !0, n = !0, P === !0)
|
|
1231
1231
|
continue;
|
|
1232
1232
|
break;
|
|
1233
1233
|
}
|
|
1234
|
-
if (
|
|
1234
|
+
if (w === d) {
|
|
1235
1235
|
for (; ce() !== !0 && (ue = J()); ) {
|
|
1236
|
-
if (ue ===
|
|
1237
|
-
|
|
1236
|
+
if (ue === x) {
|
|
1237
|
+
W = B.backslashes = !0, J();
|
|
1238
1238
|
continue;
|
|
1239
1239
|
}
|
|
1240
|
-
if (ue ===
|
|
1241
|
-
|
|
1240
|
+
if (ue === l) {
|
|
1241
|
+
V = B.isBracket = !0, F = B.isGlob = !0, n = !0;
|
|
1242
1242
|
break;
|
|
1243
1243
|
}
|
|
1244
1244
|
}
|
|
1245
|
-
if (
|
|
1245
|
+
if (P === !0)
|
|
1246
1246
|
continue;
|
|
1247
1247
|
break;
|
|
1248
1248
|
}
|
|
1249
|
-
if (
|
|
1250
|
-
|
|
1249
|
+
if (k.nonegate !== !0 && w === c && M === G) {
|
|
1250
|
+
se = B.negated = !0, G++;
|
|
1251
1251
|
continue;
|
|
1252
1252
|
}
|
|
1253
|
-
if (
|
|
1254
|
-
if (F = B.isGlob = !0,
|
|
1255
|
-
for (; ce() !== !0 && (
|
|
1256
|
-
if (
|
|
1257
|
-
|
|
1253
|
+
if (k.noparen !== !0 && w === f) {
|
|
1254
|
+
if (F = B.isGlob = !0, P === !0) {
|
|
1255
|
+
for (; ce() !== !0 && (w = J()); ) {
|
|
1256
|
+
if (w === f) {
|
|
1257
|
+
W = B.backslashes = !0, w = J();
|
|
1258
1258
|
continue;
|
|
1259
1259
|
}
|
|
1260
|
-
if (
|
|
1261
|
-
|
|
1260
|
+
if (w === g) {
|
|
1261
|
+
n = !0;
|
|
1262
1262
|
break;
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
@@ -1267,237 +1267,237 @@ function Tt() {
|
|
|
1267
1267
|
break;
|
|
1268
1268
|
}
|
|
1269
1269
|
if (F === !0) {
|
|
1270
|
-
if (
|
|
1270
|
+
if (n = !0, P === !0)
|
|
1271
1271
|
continue;
|
|
1272
1272
|
break;
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
|
-
|
|
1276
|
-
let ee =
|
|
1277
|
-
|
|
1278
|
-
const
|
|
1279
|
-
if (
|
|
1275
|
+
k.noext === !0 && (ae = !1, F = !1);
|
|
1276
|
+
let ee = X, de = "", ne = "";
|
|
1277
|
+
G > 0 && (de = X.slice(0, G), X = X.slice(G), re -= G), ee && F === !0 && re > 0 ? (ee = X.slice(0, re), ne = X.slice(re)) : F === !0 ? (ee = "", ne = X) : ee = X, ee && ee !== "" && ee !== "/" && ee !== X && _(ee.charCodeAt(ee.length - 1)) && (ee = ee.slice(0, -1)), k.unescape === !0 && (ne && (ne = p.removeBackslashes(ne)), ee && W === !0 && (ee = p.removeBackslashes(ee)));
|
|
1278
|
+
const I = { prefix: de, input: v, start: G, base: ee, glob: ne, isBrace: ie, isBracket: V, isGlob: F, isExtglob: ae, isGlobstar: te, negated: se, negatedExtglob: fe };
|
|
1279
|
+
if (k.tokens === !0 && (I.maxDepth = 0, _(w) || q.push(B), I.tokens = q), k.parts === !0 || k.tokens === !0) {
|
|
1280
1280
|
let ue;
|
|
1281
|
-
for (let
|
|
1282
|
-
const
|
|
1283
|
-
|
|
1281
|
+
for (let A = 0; A < z.length; A++) {
|
|
1282
|
+
const a = ue ? ue + 1 : G, D = z[A], s = v.slice(a, D);
|
|
1283
|
+
k.tokens && (A === 0 && G !== 0 ? (q[A].isPrefix = !0, q[A].value = de) : q[A].value = s, T(q[A]), I.maxDepth += q[A].depth), (A !== 0 || s !== "") && Q.push(s), ue = D;
|
|
1284
1284
|
}
|
|
1285
|
-
if (ue && ue + 1 <
|
|
1286
|
-
const
|
|
1287
|
-
Q.push(
|
|
1285
|
+
if (ue && ue + 1 < v.length) {
|
|
1286
|
+
const A = v.slice(ue + 1);
|
|
1287
|
+
Q.push(A), k.tokens && (q[q.length - 1].value = A, T(q[q.length - 1]), I.maxDepth += q[q.length - 1].depth);
|
|
1288
1288
|
}
|
|
1289
|
-
|
|
1289
|
+
I.slashes = z, I.parts = Q;
|
|
1290
1290
|
}
|
|
1291
|
-
return
|
|
1291
|
+
return I;
|
|
1292
1292
|
};
|
|
1293
|
-
|
|
1294
|
-
}, 96: (
|
|
1295
|
-
const { REGEX_BACKSLASH:
|
|
1296
|
-
|
|
1297
|
-
const
|
|
1298
|
-
return
|
|
1299
|
-
},
|
|
1300
|
-
let
|
|
1301
|
-
return
|
|
1302
|
-
},
|
|
1303
|
-
const
|
|
1304
|
-
let
|
|
1305
|
-
return
|
|
1306
|
-
},
|
|
1307
|
-
const
|
|
1308
|
-
return
|
|
1293
|
+
S.exports = H;
|
|
1294
|
+
}, 96: (S, u, m) => {
|
|
1295
|
+
const { REGEX_BACKSLASH: p, REGEX_REMOVE_BACKSLASH: E, REGEX_SPECIAL_CHARS: O, REGEX_SPECIAL_CHARS_GLOBAL: x } = m(154);
|
|
1296
|
+
u.isObject = (h) => h !== null && typeof h == "object" && !Array.isArray(h), u.hasRegexChars = (h) => O.test(h), u.isRegexChar = (h) => h.length === 1 && u.hasRegexChars(h), u.escapeRegex = (h) => h.replace(x, "\\$1"), u.toPosixSlashes = (h) => h.replace(p, "/"), u.removeBackslashes = (h) => h.replace(E, (y) => y === "\\" ? "" : y), u.escapeLast = (h, y, c) => {
|
|
1297
|
+
const i = h.lastIndexOf(y, c);
|
|
1298
|
+
return i === -1 ? h : h[i - 1] === "\\" ? u.escapeLast(h, y, i - 1) : `${h.slice(0, i)}\\${h.slice(i)}`;
|
|
1299
|
+
}, u.removePrefix = (h, y = {}) => {
|
|
1300
|
+
let c = h;
|
|
1301
|
+
return c.startsWith("./") && (c = c.slice(2), y.prefix = "./"), c;
|
|
1302
|
+
}, u.wrapOutput = (h, y = {}, c = {}) => {
|
|
1303
|
+
const i = c.contains ? "" : "^", b = c.contains ? "" : "$";
|
|
1304
|
+
let f = `${i}(?:${h})${b}`;
|
|
1305
|
+
return y.negated === !0 && (f = `(?:^(?!${f}).*$)`), f;
|
|
1306
|
+
}, u.basename = (h, { windows: y } = {}) => {
|
|
1307
|
+
const c = h.split(y ? /[\\/]/ : "/"), i = c[c.length - 1];
|
|
1308
|
+
return i === "" ? c[c.length - 2] : i;
|
|
1309
1309
|
};
|
|
1310
|
-
} },
|
|
1311
|
-
function
|
|
1312
|
-
var
|
|
1313
|
-
if (
|
|
1314
|
-
return
|
|
1315
|
-
var
|
|
1310
|
+
} }, R = {};
|
|
1311
|
+
function N(S) {
|
|
1312
|
+
var u = R[S];
|
|
1313
|
+
if (u !== void 0)
|
|
1314
|
+
return u.exports;
|
|
1315
|
+
var m = R[S] = { exports: {} }, p = !0;
|
|
1316
1316
|
try {
|
|
1317
|
-
|
|
1317
|
+
L[S](m, m.exports, N), p = !1;
|
|
1318
1318
|
} finally {
|
|
1319
|
-
|
|
1319
|
+
p && delete R[S];
|
|
1320
1320
|
}
|
|
1321
|
-
return
|
|
1321
|
+
return m.exports;
|
|
1322
1322
|
}
|
|
1323
|
-
typeof
|
|
1324
|
-
var
|
|
1325
|
-
|
|
1326
|
-
})()),
|
|
1323
|
+
typeof N < "u" && (N.ab = __dirname + "/");
|
|
1324
|
+
var j = N(170);
|
|
1325
|
+
$e.exports = j;
|
|
1326
|
+
})()), $e.exports;
|
|
1327
1327
|
}
|
|
1328
|
-
var
|
|
1329
|
-
function
|
|
1330
|
-
return
|
|
1331
|
-
Object.defineProperty(
|
|
1328
|
+
var Ue;
|
|
1329
|
+
function lt() {
|
|
1330
|
+
return Ue || (Ue = 1, function(L) {
|
|
1331
|
+
Object.defineProperty(L, "__esModule", {
|
|
1332
1332
|
value: !0
|
|
1333
1333
|
});
|
|
1334
|
-
function
|
|
1335
|
-
for (var
|
|
1336
|
-
Object.defineProperty(
|
|
1334
|
+
function R(u, m) {
|
|
1335
|
+
for (var p in m)
|
|
1336
|
+
Object.defineProperty(u, p, {
|
|
1337
1337
|
enumerable: !0,
|
|
1338
|
-
get:
|
|
1338
|
+
get: m[p]
|
|
1339
1339
|
});
|
|
1340
1340
|
}
|
|
1341
|
-
|
|
1341
|
+
R(L, {
|
|
1342
1342
|
hasMatch: function() {
|
|
1343
|
-
return
|
|
1343
|
+
return S;
|
|
1344
1344
|
},
|
|
1345
1345
|
matchRemotePattern: function() {
|
|
1346
|
-
return
|
|
1346
|
+
return j;
|
|
1347
1347
|
}
|
|
1348
1348
|
});
|
|
1349
|
-
const
|
|
1350
|
-
function
|
|
1351
|
-
if (
|
|
1352
|
-
const
|
|
1353
|
-
if (
|
|
1349
|
+
const N = ct();
|
|
1350
|
+
function j(u, m) {
|
|
1351
|
+
if (u.protocol !== void 0) {
|
|
1352
|
+
const E = m.protocol.slice(0, -1);
|
|
1353
|
+
if (u.protocol !== E)
|
|
1354
1354
|
return !1;
|
|
1355
1355
|
}
|
|
1356
|
-
if (
|
|
1356
|
+
if (u.port !== void 0 && u.port !== m.port)
|
|
1357
1357
|
return !1;
|
|
1358
|
-
if (
|
|
1358
|
+
if (u.hostname === void 0)
|
|
1359
1359
|
throw new Error(`Pattern should define hostname but found
|
|
1360
|
-
` + JSON.stringify(
|
|
1361
|
-
if (!(0,
|
|
1360
|
+
` + JSON.stringify(u));
|
|
1361
|
+
if (!(0, N.makeRe)(u.hostname).test(m.hostname))
|
|
1362
1362
|
return !1;
|
|
1363
|
-
var
|
|
1364
|
-
return !!(0,
|
|
1363
|
+
var p;
|
|
1364
|
+
return !!(0, N.makeRe)((p = u.pathname) != null ? p : "**", {
|
|
1365
1365
|
dot: !0
|
|
1366
|
-
}).test(
|
|
1366
|
+
}).test(m.pathname);
|
|
1367
1367
|
}
|
|
1368
|
-
function
|
|
1369
|
-
return
|
|
1368
|
+
function S(u, m, p) {
|
|
1369
|
+
return u.some((E) => p.hostname === E) || m.some((E) => j(E, p));
|
|
1370
1370
|
}
|
|
1371
|
-
}(
|
|
1371
|
+
}(Ie)), Ie;
|
|
1372
1372
|
}
|
|
1373
|
-
var
|
|
1374
|
-
function
|
|
1375
|
-
return
|
|
1376
|
-
Object.defineProperty(
|
|
1373
|
+
var qe;
|
|
1374
|
+
function Ve() {
|
|
1375
|
+
return qe || (qe = 1, function(L) {
|
|
1376
|
+
Object.defineProperty(L, "__esModule", {
|
|
1377
1377
|
value: !0
|
|
1378
|
-
}), Object.defineProperty(
|
|
1378
|
+
}), Object.defineProperty(L, "default", {
|
|
1379
1379
|
enumerable: !0,
|
|
1380
1380
|
get: function() {
|
|
1381
|
-
return
|
|
1381
|
+
return N;
|
|
1382
1382
|
}
|
|
1383
1383
|
});
|
|
1384
|
-
function
|
|
1385
|
-
let { config:
|
|
1384
|
+
function R(j) {
|
|
1385
|
+
let { config: S, src: u, width: m, quality: p } = j;
|
|
1386
1386
|
if (process.env.NODE_ENV !== "production") {
|
|
1387
|
-
const
|
|
1388
|
-
if (
|
|
1389
|
-
throw new Error("Next Image Optimization requires " +
|
|
1390
|
-
src:
|
|
1391
|
-
width:
|
|
1392
|
-
quality:
|
|
1387
|
+
const E = [];
|
|
1388
|
+
if (u || E.push("src"), m || E.push("width"), E.length > 0)
|
|
1389
|
+
throw new Error("Next Image Optimization requires " + E.join(", ") + " to be provided. Make sure you pass them as props to the `next/image` component. Received: " + JSON.stringify({
|
|
1390
|
+
src: u,
|
|
1391
|
+
width: m,
|
|
1392
|
+
quality: p
|
|
1393
1393
|
}));
|
|
1394
|
-
if (
|
|
1395
|
-
throw new Error('Failed to parse src "' +
|
|
1396
|
-
if (!
|
|
1397
|
-
let
|
|
1394
|
+
if (u.startsWith("//"))
|
|
1395
|
+
throw new Error('Failed to parse src "' + u + '" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)');
|
|
1396
|
+
if (!u.startsWith("/") && (S.domains || S.remotePatterns)) {
|
|
1397
|
+
let O;
|
|
1398
1398
|
try {
|
|
1399
|
-
|
|
1400
|
-
} catch (
|
|
1401
|
-
throw console.error(
|
|
1399
|
+
O = new URL(u);
|
|
1400
|
+
} catch (x) {
|
|
1401
|
+
throw console.error(x), new Error('Failed to parse src "' + u + '" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)');
|
|
1402
1402
|
}
|
|
1403
1403
|
if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
1404
1404
|
process.env.NEXT_RUNTIME !== "edge") {
|
|
1405
|
-
const { hasMatch:
|
|
1406
|
-
if (!
|
|
1407
|
-
throw new Error("Invalid src prop (" +
|
|
1405
|
+
const { hasMatch: x } = lt();
|
|
1406
|
+
if (!x(S.domains, S.remotePatterns, O))
|
|
1407
|
+
throw new Error("Invalid src prop (" + u + ') on `next/image`, hostname "' + O.hostname + '" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host');
|
|
1408
1408
|
}
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
|
-
return
|
|
1411
|
+
return S.path + "?url=" + encodeURIComponent(u) + "&w=" + m + "&q=" + (p || 75) + (process.env.NEXT_DEPLOYMENT_ID ? "&dpl=" + process.env.NEXT_DEPLOYMENT_ID : "");
|
|
1412
1412
|
}
|
|
1413
|
-
|
|
1414
|
-
const
|
|
1415
|
-
}(
|
|
1413
|
+
R.__next_img_default = !0;
|
|
1414
|
+
const N = R;
|
|
1415
|
+
}(Oe)), Oe;
|
|
1416
1416
|
}
|
|
1417
|
-
(function(
|
|
1417
|
+
(function(L, R) {
|
|
1418
1418
|
"use client";
|
|
1419
|
-
Object.defineProperty(
|
|
1419
|
+
Object.defineProperty(R, "__esModule", {
|
|
1420
1420
|
value: !0
|
|
1421
|
-
}), Object.defineProperty(
|
|
1421
|
+
}), Object.defineProperty(R, "Image", {
|
|
1422
1422
|
enumerable: !0,
|
|
1423
1423
|
get: function() {
|
|
1424
|
-
return
|
|
1424
|
+
return r;
|
|
1425
1425
|
}
|
|
1426
1426
|
});
|
|
1427
|
-
const
|
|
1427
|
+
const N = _e, j = Ke, S = Fe, u = /* @__PURE__ */ j._(me), m = /* @__PURE__ */ N._(et), p = /* @__PURE__ */ N._(at()), E = Te, O = Re, x = ut(), h = ve, y = Je(), c = /* @__PURE__ */ N._(Ve()), i = process.env.__NEXT_IMAGE_OPTS;
|
|
1428
1428
|
typeof window > "u" && (globalThis.__NEXT_IMAGE_IMPORTED = !0);
|
|
1429
|
-
function
|
|
1430
|
-
const
|
|
1431
|
-
if (!
|
|
1429
|
+
function b(o, g, l, _, T, H, v) {
|
|
1430
|
+
const K = o == null ? void 0 : o.src;
|
|
1431
|
+
if (!o || o["data-loaded-src"] === K)
|
|
1432
1432
|
return;
|
|
1433
|
-
|
|
1433
|
+
o["data-loaded-src"] = K, ("decode" in o ? o.decode() : Promise.resolve()).catch(() => {
|
|
1434
1434
|
}).then(() => {
|
|
1435
|
-
if (!(!
|
|
1436
|
-
if (
|
|
1435
|
+
if (!(!o.parentElement || !o.isConnected)) {
|
|
1436
|
+
if (g !== "empty" && T(!0), l != null && l.current) {
|
|
1437
1437
|
const U = new Event("load");
|
|
1438
1438
|
Object.defineProperty(U, "target", {
|
|
1439
1439
|
writable: !1,
|
|
1440
|
-
value:
|
|
1440
|
+
value: o
|
|
1441
1441
|
});
|
|
1442
|
-
let
|
|
1443
|
-
|
|
1442
|
+
let P = !1, z = !1;
|
|
1443
|
+
l.current({
|
|
1444
1444
|
...U,
|
|
1445
1445
|
nativeEvent: U,
|
|
1446
|
-
currentTarget:
|
|
1447
|
-
target:
|
|
1448
|
-
isDefaultPrevented: () =>
|
|
1449
|
-
isPropagationStopped: () =>
|
|
1446
|
+
currentTarget: o,
|
|
1447
|
+
target: o,
|
|
1448
|
+
isDefaultPrevented: () => P,
|
|
1449
|
+
isPropagationStopped: () => z,
|
|
1450
1450
|
persist: () => {
|
|
1451
1451
|
},
|
|
1452
1452
|
preventDefault: () => {
|
|
1453
|
-
|
|
1453
|
+
P = !0, U.preventDefault();
|
|
1454
1454
|
},
|
|
1455
1455
|
stopPropagation: () => {
|
|
1456
|
-
|
|
1456
|
+
z = !0, U.stopPropagation();
|
|
1457
1457
|
}
|
|
1458
1458
|
});
|
|
1459
1459
|
}
|
|
1460
|
-
if (
|
|
1461
|
-
const U = new URL(
|
|
1462
|
-
if (
|
|
1463
|
-
if (!
|
|
1464
|
-
const { position:
|
|
1460
|
+
if (_ != null && _.current && _.current(o), process.env.NODE_ENV !== "production") {
|
|
1461
|
+
const U = new URL(K, "http://n").searchParams.get("url") || K;
|
|
1462
|
+
if (o.getAttribute("data-nimg") === "fill") {
|
|
1463
|
+
if (!H && (!v || v === "100vw") && o.getBoundingClientRect().width / window.innerWidth < 0.6 && (v === "100vw" ? (0, h.warnOnce)('Image with src "' + U + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes') : (0, h.warnOnce)('Image with src "' + U + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')), o.parentElement) {
|
|
1464
|
+
const { position: q } = window.getComputedStyle(o.parentElement), Q = [
|
|
1465
1465
|
"absolute",
|
|
1466
1466
|
"fixed",
|
|
1467
1467
|
"relative"
|
|
1468
1468
|
];
|
|
1469
|
-
Q.includes(
|
|
1469
|
+
Q.includes(q) || (0, h.warnOnce)('Image with src "' + U + '" has "fill" and parent element with invalid "position". Provided "' + q + '" should be one of ' + Q.map(String).join(",") + ".");
|
|
1470
1470
|
}
|
|
1471
|
-
|
|
1471
|
+
o.height === 0 && (0, h.warnOnce)('Image with src "' + U + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
|
|
1472
1472
|
}
|
|
1473
|
-
const
|
|
1474
|
-
(
|
|
1473
|
+
const P = o.height.toString() !== o.getAttribute("height"), z = o.width.toString() !== o.getAttribute("width");
|
|
1474
|
+
(P && !z || !P && z) && (0, h.warnOnce)('Image with src "' + U + `" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`);
|
|
1475
1475
|
}
|
|
1476
1476
|
}
|
|
1477
1477
|
});
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1480
|
-
const [
|
|
1481
|
-
return
|
|
1482
|
-
fetchPriority:
|
|
1479
|
+
function f(o) {
|
|
1480
|
+
const [g, l] = u.version.split(".", 2), _ = parseInt(g, 10), T = parseInt(l, 10);
|
|
1481
|
+
return _ > 18 || _ === 18 && T >= 3 ? {
|
|
1482
|
+
fetchPriority: o
|
|
1483
1483
|
} : {
|
|
1484
|
-
fetchpriority:
|
|
1484
|
+
fetchpriority: o
|
|
1485
1485
|
};
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1488
|
-
let { src:
|
|
1489
|
-
return /* @__PURE__ */ (0,
|
|
1487
|
+
const d = /* @__PURE__ */ (0, u.forwardRef)((o, g) => {
|
|
1488
|
+
let { src: l, srcSet: _, sizes: T, height: H, width: v, decoding: K, className: k, style: U, fetchPriority: P, placeholder: z, loading: q, unoptimized: Q, fill: X, onLoadRef: M, onLoadingCompleteRef: G, setBlurComplete: re, setShowAltText: ie, sizesInput: V, onLoad: F, onError: ae, ...te } = o;
|
|
1489
|
+
return /* @__PURE__ */ (0, S.jsx)("img", {
|
|
1490
1490
|
...te,
|
|
1491
|
-
...
|
|
1491
|
+
...f(P),
|
|
1492
1492
|
// It's intended to keep `loading` before `src` because React updates
|
|
1493
1493
|
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
1494
1494
|
// See https://github.com/facebook/react/issues/25883
|
|
1495
|
-
loading:
|
|
1496
|
-
width:
|
|
1497
|
-
height:
|
|
1498
|
-
decoding:
|
|
1499
|
-
"data-nimg":
|
|
1500
|
-
className:
|
|
1495
|
+
loading: q,
|
|
1496
|
+
width: v,
|
|
1497
|
+
height: H,
|
|
1498
|
+
decoding: K,
|
|
1499
|
+
"data-nimg": X ? "fill" : "1",
|
|
1500
|
+
className: k,
|
|
1501
1501
|
style: U,
|
|
1502
1502
|
// It's intended to keep `src` the last attribute because React updates
|
|
1503
1503
|
// attributes in order. If we keep `src` the first one, Safari will
|
|
@@ -1506,787 +1506,232 @@ function ht() {
|
|
|
1506
1506
|
// and `sizes` are defined.
|
|
1507
1507
|
// This bug cannot be reproduced in Chrome or Firefox.
|
|
1508
1508
|
sizes: T,
|
|
1509
|
-
srcSet:
|
|
1510
|
-
src:
|
|
1511
|
-
ref: (0,
|
|
1512
|
-
|
|
1509
|
+
srcSet: _,
|
|
1510
|
+
src: l,
|
|
1511
|
+
ref: (0, u.useCallback)((e) => {
|
|
1512
|
+
g && (typeof g == "function" ? g(e) : typeof g == "object" && (g.current = e)), e && (ae && (e.src = e.src), process.env.NODE_ENV !== "production" && (l || console.error('Image is missing required "src" property:', e), e.getAttribute("alt") === null && console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')), e.complete && b(e, z, M, G, re, Q, V));
|
|
1513
1513
|
}, [
|
|
1514
|
-
|
|
1515
|
-
q,
|
|
1516
|
-
k,
|
|
1514
|
+
l,
|
|
1517
1515
|
z,
|
|
1516
|
+
M,
|
|
1517
|
+
G,
|
|
1518
1518
|
re,
|
|
1519
|
-
|
|
1519
|
+
ae,
|
|
1520
1520
|
Q,
|
|
1521
|
-
|
|
1522
|
-
|
|
1521
|
+
V,
|
|
1522
|
+
g
|
|
1523
1523
|
]),
|
|
1524
|
-
onLoad: (
|
|
1525
|
-
const
|
|
1526
|
-
|
|
1524
|
+
onLoad: (e) => {
|
|
1525
|
+
const W = e.currentTarget;
|
|
1526
|
+
b(W, z, M, G, re, Q, V);
|
|
1527
1527
|
},
|
|
1528
|
-
onError: (
|
|
1529
|
-
ie(!0),
|
|
1528
|
+
onError: (e) => {
|
|
1529
|
+
ie(!0), z !== "empty" && re(!0), ae && ae(e);
|
|
1530
1530
|
}
|
|
1531
1531
|
});
|
|
1532
1532
|
});
|
|
1533
|
-
function
|
|
1534
|
-
let { isAppRouter:
|
|
1535
|
-
const
|
|
1533
|
+
function C(o) {
|
|
1534
|
+
let { isAppRouter: g, imgAttributes: l } = o;
|
|
1535
|
+
const _ = {
|
|
1536
1536
|
as: "image",
|
|
1537
|
-
imageSrcSet:
|
|
1538
|
-
imageSizes:
|
|
1539
|
-
crossOrigin:
|
|
1540
|
-
referrerPolicy:
|
|
1541
|
-
...
|
|
1537
|
+
imageSrcSet: l.srcSet,
|
|
1538
|
+
imageSizes: l.sizes,
|
|
1539
|
+
crossOrigin: l.crossOrigin,
|
|
1540
|
+
referrerPolicy: l.referrerPolicy,
|
|
1541
|
+
...f(l.fetchPriority)
|
|
1542
1542
|
};
|
|
1543
|
-
return
|
|
1544
|
-
|
|
1543
|
+
return g && m.default.preload ? (m.default.preload(
|
|
1544
|
+
l.src,
|
|
1545
1545
|
// @ts-expect-error TODO: upgrade to `@types/react-dom@18.3.x`
|
|
1546
|
-
|
|
1547
|
-
), null) : /* @__PURE__ */ (0,
|
|
1548
|
-
children: /* @__PURE__ */ (0,
|
|
1546
|
+
_
|
|
1547
|
+
), null) : /* @__PURE__ */ (0, S.jsx)(p.default, {
|
|
1548
|
+
children: /* @__PURE__ */ (0, S.jsx)("link", {
|
|
1549
1549
|
rel: "preload",
|
|
1550
1550
|
// Note how we omit the `href` attribute, as it would only be relevant
|
|
1551
1551
|
// for browsers that do not support `imagesrcset`, and in those cases
|
|
1552
1552
|
// it would cause the incorrect image to be preloaded.
|
|
1553
1553
|
//
|
|
1554
1554
|
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
1555
|
-
href:
|
|
1556
|
-
...
|
|
1557
|
-
}, "__nimg-" +
|
|
1555
|
+
href: l.srcSet ? void 0 : l.src,
|
|
1556
|
+
..._
|
|
1557
|
+
}, "__nimg-" + l.src + l.srcSet + l.sizes)
|
|
1558
1558
|
});
|
|
1559
1559
|
}
|
|
1560
|
-
const
|
|
1561
|
-
const
|
|
1562
|
-
const
|
|
1563
|
-
...
|
|
1564
|
-
...
|
|
1565
|
-
].sort((
|
|
1560
|
+
const r = /* @__PURE__ */ (0, u.forwardRef)((o, g) => {
|
|
1561
|
+
const _ = !(0, u.useContext)(y.RouterContext), T = (0, u.useContext)(x.ImageConfigContext), H = (0, u.useMemo)(() => {
|
|
1562
|
+
const G = i || T || O.imageConfigDefault, re = [
|
|
1563
|
+
...G.deviceSizes,
|
|
1564
|
+
...G.imageSizes
|
|
1565
|
+
].sort((V, F) => V - F), ie = G.deviceSizes.sort((V, F) => V - F);
|
|
1566
1566
|
return {
|
|
1567
|
-
...
|
|
1567
|
+
...G,
|
|
1568
1568
|
allSizes: re,
|
|
1569
1569
|
deviceSizes: ie
|
|
1570
1570
|
};
|
|
1571
1571
|
}, [
|
|
1572
1572
|
T
|
|
1573
|
-
]), { onLoad:
|
|
1574
|
-
(0,
|
|
1575
|
-
|
|
1573
|
+
]), { onLoad: v, onLoadingComplete: K } = o, k = (0, u.useRef)(v);
|
|
1574
|
+
(0, u.useEffect)(() => {
|
|
1575
|
+
k.current = v;
|
|
1576
1576
|
}, [
|
|
1577
|
-
|
|
1577
|
+
v
|
|
1578
1578
|
]);
|
|
1579
|
-
const U = (0,
|
|
1580
|
-
(0,
|
|
1581
|
-
U.current =
|
|
1579
|
+
const U = (0, u.useRef)(K);
|
|
1580
|
+
(0, u.useEffect)(() => {
|
|
1581
|
+
U.current = K;
|
|
1582
1582
|
}, [
|
|
1583
|
-
|
|
1583
|
+
K
|
|
1584
1584
|
]);
|
|
1585
|
-
const [
|
|
1586
|
-
defaultLoader:
|
|
1587
|
-
imgConf:
|
|
1588
|
-
blurComplete:
|
|
1589
|
-
showAltText:
|
|
1585
|
+
const [P, z] = (0, u.useState)(!1), [q, Q] = (0, u.useState)(!1), { props: X, meta: M } = (0, E.getImgProps)(o, {
|
|
1586
|
+
defaultLoader: c.default,
|
|
1587
|
+
imgConf: H,
|
|
1588
|
+
blurComplete: P,
|
|
1589
|
+
showAltText: q
|
|
1590
1590
|
});
|
|
1591
|
-
return /* @__PURE__ */ (0,
|
|
1591
|
+
return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, {
|
|
1592
1592
|
children: [
|
|
1593
|
-
/* @__PURE__ */ (0,
|
|
1594
|
-
...
|
|
1595
|
-
unoptimized:
|
|
1596
|
-
placeholder:
|
|
1597
|
-
fill:
|
|
1598
|
-
onLoadRef:
|
|
1593
|
+
/* @__PURE__ */ (0, S.jsx)(d, {
|
|
1594
|
+
...X,
|
|
1595
|
+
unoptimized: M.unoptimized,
|
|
1596
|
+
placeholder: M.placeholder,
|
|
1597
|
+
fill: M.fill,
|
|
1598
|
+
onLoadRef: k,
|
|
1599
1599
|
onLoadingCompleteRef: U,
|
|
1600
|
-
setBlurComplete:
|
|
1600
|
+
setBlurComplete: z,
|
|
1601
1601
|
setShowAltText: Q,
|
|
1602
|
-
sizesInput:
|
|
1603
|
-
ref:
|
|
1602
|
+
sizesInput: o.sizes,
|
|
1603
|
+
ref: g
|
|
1604
1604
|
}),
|
|
1605
|
-
|
|
1606
|
-
isAppRouter:
|
|
1607
|
-
imgAttributes:
|
|
1605
|
+
M.priority ? /* @__PURE__ */ (0, S.jsx)(C, {
|
|
1606
|
+
isAppRouter: _,
|
|
1607
|
+
imgAttributes: X
|
|
1608
1608
|
}) : null
|
|
1609
1609
|
]
|
|
1610
1610
|
});
|
|
1611
1611
|
});
|
|
1612
|
-
(typeof
|
|
1613
|
-
})(
|
|
1614
|
-
var
|
|
1615
|
-
(function(
|
|
1616
|
-
Object.defineProperty(
|
|
1612
|
+
(typeof R.default == "function" || typeof R.default == "object" && R.default !== null) && typeof R.default.__esModule > "u" && (Object.defineProperty(R.default, "__esModule", { value: !0 }), Object.assign(R.default, R), L.exports = R.default);
|
|
1613
|
+
})(Le, Le.exports);
|
|
1614
|
+
var pt = Le.exports;
|
|
1615
|
+
(function(L) {
|
|
1616
|
+
Object.defineProperty(L, "__esModule", {
|
|
1617
1617
|
value: !0
|
|
1618
1618
|
});
|
|
1619
|
-
function
|
|
1620
|
-
for (var
|
|
1621
|
-
Object.defineProperty(
|
|
1619
|
+
function R(E, O) {
|
|
1620
|
+
for (var x in O)
|
|
1621
|
+
Object.defineProperty(E, x, {
|
|
1622
1622
|
enumerable: !0,
|
|
1623
|
-
get:
|
|
1623
|
+
get: O[x]
|
|
1624
1624
|
});
|
|
1625
1625
|
}
|
|
1626
|
-
|
|
1626
|
+
R(L, {
|
|
1627
1627
|
default: function() {
|
|
1628
|
-
return
|
|
1628
|
+
return p;
|
|
1629
1629
|
},
|
|
1630
1630
|
getImageProps: function() {
|
|
1631
|
-
return
|
|
1631
|
+
return m;
|
|
1632
1632
|
}
|
|
1633
1633
|
});
|
|
1634
|
-
const
|
|
1635
|
-
function
|
|
1636
|
-
const { props:
|
|
1637
|
-
defaultLoader:
|
|
1634
|
+
const N = _e, j = Te, S = pt, u = /* @__PURE__ */ N._(Ve());
|
|
1635
|
+
function m(E) {
|
|
1636
|
+
const { props: O } = (0, j.getImgProps)(E, {
|
|
1637
|
+
defaultLoader: u.default,
|
|
1638
1638
|
// This is replaced by webpack define plugin
|
|
1639
1639
|
imgConf: process.env.__NEXT_IMAGE_OPTS
|
|
1640
1640
|
});
|
|
1641
|
-
for (const [
|
|
1642
|
-
|
|
1641
|
+
for (const [x, h] of Object.entries(O))
|
|
1642
|
+
h === void 0 && delete O[x];
|
|
1643
1643
|
return {
|
|
1644
|
-
props:
|
|
1644
|
+
props: O
|
|
1645
1645
|
};
|
|
1646
1646
|
}
|
|
1647
|
-
const
|
|
1648
|
-
})(
|
|
1649
|
-
var
|
|
1650
|
-
const
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
for (var v in c)
|
|
1659
|
-
Object.defineProperty(a, v, {
|
|
1660
|
-
enumerable: !0,
|
|
1661
|
-
get: c[v]
|
|
1662
|
-
});
|
|
1663
|
-
}
|
|
1664
|
-
e(_, {
|
|
1665
|
-
PathParamsContext: function() {
|
|
1666
|
-
return r;
|
|
1667
|
-
},
|
|
1668
|
-
PathnameContext: function() {
|
|
1669
|
-
return R;
|
|
1670
|
-
},
|
|
1671
|
-
SearchParamsContext: function() {
|
|
1672
|
-
return h;
|
|
1673
|
-
}
|
|
1674
|
-
});
|
|
1675
|
-
const b = ge, h = (0, b.createContext)(null), R = (0, b.createContext)(null), r = (0, b.createContext)(null);
|
|
1676
|
-
process.env.NODE_ENV !== "production" && (h.displayName = "SearchParamsContext", R.displayName = "PathnameContext", r.displayName = "PathParamsContext");
|
|
1677
|
-
})(mt);
|
|
1678
|
-
var He = { exports: {} };
|
|
1679
|
-
(function(_, e) {
|
|
1680
|
-
Object.defineProperty(e, "__esModule", {
|
|
1681
|
-
value: !0
|
|
1682
|
-
}), Object.defineProperty(e, "getSegmentValue", {
|
|
1683
|
-
enumerable: !0,
|
|
1684
|
-
get: function() {
|
|
1685
|
-
return b;
|
|
1686
|
-
}
|
|
1687
|
-
});
|
|
1688
|
-
function b(h) {
|
|
1689
|
-
return Array.isArray(h) ? h[1] : h;
|
|
1690
|
-
}
|
|
1691
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1692
|
-
})(He, He.exports);
|
|
1693
|
-
var Ht = He.exports, ke = { exports: {} }, De = { exports: {} }, qe = { exports: {} }, Be = { exports: {} }, Ue = { exports: {} };
|
|
1694
|
-
(function(_, e) {
|
|
1695
|
-
Object.defineProperty(e, "__esModule", {
|
|
1696
|
-
value: !0
|
|
1697
|
-
}), Object.defineProperty(e, "createAsyncLocalStorage", {
|
|
1698
|
-
enumerable: !0,
|
|
1699
|
-
get: function() {
|
|
1700
|
-
return r;
|
|
1701
|
-
}
|
|
1702
|
-
});
|
|
1703
|
-
const b = new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");
|
|
1704
|
-
class h {
|
|
1705
|
-
disable() {
|
|
1706
|
-
throw b;
|
|
1707
|
-
}
|
|
1708
|
-
getStore() {
|
|
1709
|
-
}
|
|
1710
|
-
run() {
|
|
1711
|
-
throw b;
|
|
1712
|
-
}
|
|
1713
|
-
exit() {
|
|
1714
|
-
throw b;
|
|
1715
|
-
}
|
|
1716
|
-
enterWith() {
|
|
1717
|
-
throw b;
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
const R = globalThis.AsyncLocalStorage;
|
|
1721
|
-
function r() {
|
|
1722
|
-
return R ? new R() : new h();
|
|
1723
|
-
}
|
|
1724
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1725
|
-
})(Ue, Ue.exports);
|
|
1726
|
-
var Xe = Ue.exports;
|
|
1727
|
-
(function(_, e) {
|
|
1728
|
-
Object.defineProperty(e, "__esModule", {
|
|
1729
|
-
value: !0
|
|
1730
|
-
}), Object.defineProperty(e, "requestAsyncStorage", {
|
|
1731
|
-
enumerable: !0,
|
|
1732
|
-
get: function() {
|
|
1733
|
-
return h;
|
|
1734
|
-
}
|
|
1735
|
-
});
|
|
1736
|
-
const h = (0, Xe.createAsyncLocalStorage)();
|
|
1737
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1738
|
-
})(Be, Be.exports);
|
|
1739
|
-
var kt = Be.exports;
|
|
1740
|
-
(function(_, e) {
|
|
1741
|
-
"TURBOPACK { transition: next-shared }";
|
|
1742
|
-
Object.defineProperty(e, "__esModule", {
|
|
1743
|
-
value: !0
|
|
1744
|
-
});
|
|
1745
|
-
function b(r, a) {
|
|
1746
|
-
for (var c in a)
|
|
1747
|
-
Object.defineProperty(r, c, {
|
|
1748
|
-
enumerable: !0,
|
|
1749
|
-
get: a[c]
|
|
1750
|
-
});
|
|
1751
|
-
}
|
|
1752
|
-
b(e, {
|
|
1753
|
-
getExpectedRequestStore: function() {
|
|
1754
|
-
return R;
|
|
1755
|
-
},
|
|
1756
|
-
requestAsyncStorage: function() {
|
|
1757
|
-
return h.requestAsyncStorage;
|
|
1758
|
-
}
|
|
1759
|
-
});
|
|
1760
|
-
const h = kt;
|
|
1761
|
-
function R(r) {
|
|
1762
|
-
const a = h.requestAsyncStorage.getStore();
|
|
1763
|
-
if (a)
|
|
1764
|
-
return a;
|
|
1765
|
-
throw new Error("`" + r + "` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context");
|
|
1766
|
-
}
|
|
1767
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1768
|
-
})(qe, qe.exports);
|
|
1769
|
-
var Dt = qe.exports, Ge = { exports: {} }, ze = { exports: {} };
|
|
1770
|
-
(function(_, e) {
|
|
1771
|
-
Object.defineProperty(e, "__esModule", {
|
|
1772
|
-
value: !0
|
|
1773
|
-
}), Object.defineProperty(e, "actionAsyncStorage", {
|
|
1774
|
-
enumerable: !0,
|
|
1775
|
-
get: function() {
|
|
1776
|
-
return h;
|
|
1777
|
-
}
|
|
1778
|
-
});
|
|
1779
|
-
const h = (0, Xe.createAsyncLocalStorage)();
|
|
1780
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1781
|
-
})(ze, ze.exports);
|
|
1782
|
-
var qt = ze.exports;
|
|
1783
|
-
(function(_, e) {
|
|
1784
|
-
"TURBOPACK { transition: next-shared }";
|
|
1785
|
-
Object.defineProperty(e, "__esModule", {
|
|
1786
|
-
value: !0
|
|
1787
|
-
}), Object.defineProperty(e, "actionAsyncStorage", {
|
|
1788
|
-
enumerable: !0,
|
|
1789
|
-
get: function() {
|
|
1790
|
-
return b.actionAsyncStorage;
|
|
1791
|
-
}
|
|
1792
|
-
});
|
|
1793
|
-
const b = qt;
|
|
1794
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1795
|
-
})(Ge, Ge.exports);
|
|
1796
|
-
var Bt = Ge.exports, Fe = { exports: {} };
|
|
1797
|
-
(function(_, e) {
|
|
1798
|
-
Object.defineProperty(e, "__esModule", {
|
|
1799
|
-
value: !0
|
|
1800
|
-
}), Object.defineProperty(e, "RedirectStatusCode", {
|
|
1801
|
-
enumerable: !0,
|
|
1802
|
-
get: function() {
|
|
1803
|
-
return b;
|
|
1804
|
-
}
|
|
1805
|
-
});
|
|
1806
|
-
var b;
|
|
1807
|
-
(function(h) {
|
|
1808
|
-
h[h.SeeOther = 303] = "SeeOther", h[h.TemporaryRedirect = 307] = "TemporaryRedirect", h[h.PermanentRedirect = 308] = "PermanentRedirect";
|
|
1809
|
-
})(b || (b = {})), (typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1810
|
-
})(Fe, Fe.exports);
|
|
1811
|
-
var Ut = Fe.exports;
|
|
1812
|
-
(function(_, e) {
|
|
1813
|
-
Object.defineProperty(e, "__esModule", {
|
|
1814
|
-
value: !0
|
|
1815
|
-
});
|
|
1816
|
-
function b(m, g) {
|
|
1817
|
-
for (var s in g)
|
|
1818
|
-
Object.defineProperty(m, s, {
|
|
1819
|
-
enumerable: !0,
|
|
1820
|
-
get: g[s]
|
|
1821
|
-
});
|
|
1822
|
-
}
|
|
1823
|
-
b(e, {
|
|
1824
|
-
RedirectType: function() {
|
|
1825
|
-
return c;
|
|
1826
|
-
},
|
|
1827
|
-
getRedirectError: function() {
|
|
1828
|
-
return v;
|
|
1829
|
-
},
|
|
1830
|
-
getRedirectStatusCodeFromError: function() {
|
|
1831
|
-
return d;
|
|
1832
|
-
},
|
|
1833
|
-
getRedirectTypeFromError: function() {
|
|
1834
|
-
return l;
|
|
1835
|
-
},
|
|
1836
|
-
getURLFromRedirectError: function() {
|
|
1837
|
-
return C;
|
|
1838
|
-
},
|
|
1839
|
-
isRedirectError: function() {
|
|
1840
|
-
return S;
|
|
1841
|
-
},
|
|
1842
|
-
permanentRedirect: function() {
|
|
1843
|
-
return I;
|
|
1844
|
-
},
|
|
1845
|
-
redirect: function() {
|
|
1846
|
-
return P;
|
|
1847
|
-
}
|
|
1848
|
-
});
|
|
1849
|
-
const h = Dt, R = Bt, r = Ut, a = "NEXT_REDIRECT";
|
|
1850
|
-
var c;
|
|
1851
|
-
(function(m) {
|
|
1852
|
-
m.push = "push", m.replace = "replace";
|
|
1853
|
-
})(c || (c = {}));
|
|
1854
|
-
function v(m, g, s) {
|
|
1855
|
-
s === void 0 && (s = r.RedirectStatusCode.TemporaryRedirect);
|
|
1856
|
-
const A = new Error(a);
|
|
1857
|
-
A.digest = a + ";" + g + ";" + m + ";" + s + ";";
|
|
1858
|
-
const t = h.requestAsyncStorage.getStore();
|
|
1859
|
-
return t && (A.mutableCookies = t.mutableCookies), A;
|
|
1860
|
-
}
|
|
1861
|
-
function P(m, g) {
|
|
1862
|
-
g === void 0 && (g = "replace");
|
|
1863
|
-
const s = R.actionAsyncStorage.getStore();
|
|
1864
|
-
throw v(
|
|
1865
|
-
m,
|
|
1866
|
-
g,
|
|
1867
|
-
// If we're in an action, we want to use a 303 redirect
|
|
1868
|
-
// as we don't want the POST request to follow the redirect,
|
|
1869
|
-
// as it could result in erroneous re-submissions.
|
|
1870
|
-
s != null && s.isAction ? r.RedirectStatusCode.SeeOther : r.RedirectStatusCode.TemporaryRedirect
|
|
1871
|
-
);
|
|
1872
|
-
}
|
|
1873
|
-
function I(m, g) {
|
|
1874
|
-
g === void 0 && (g = "replace");
|
|
1875
|
-
const s = R.actionAsyncStorage.getStore();
|
|
1876
|
-
throw v(
|
|
1877
|
-
m,
|
|
1878
|
-
g,
|
|
1879
|
-
// If we're in an action, we want to use a 303 redirect
|
|
1880
|
-
// as we don't want the POST request to follow the redirect,
|
|
1881
|
-
// as it could result in erroneous re-submissions.
|
|
1882
|
-
s != null && s.isAction ? r.RedirectStatusCode.SeeOther : r.RedirectStatusCode.PermanentRedirect
|
|
1883
|
-
);
|
|
1884
|
-
}
|
|
1885
|
-
function S(m) {
|
|
1886
|
-
if (typeof m != "object" || m === null || !("digest" in m) || typeof m.digest != "string")
|
|
1887
|
-
return !1;
|
|
1888
|
-
const [g, s, A, t] = m.digest.split(";", 4), u = Number(t);
|
|
1889
|
-
return g === a && (s === "replace" || s === "push") && typeof A == "string" && !isNaN(u) && u in r.RedirectStatusCode;
|
|
1890
|
-
}
|
|
1891
|
-
function C(m) {
|
|
1892
|
-
return S(m) ? m.digest.split(";", 3)[2] : null;
|
|
1893
|
-
}
|
|
1894
|
-
function l(m) {
|
|
1895
|
-
if (!S(m))
|
|
1896
|
-
throw new Error("Not a redirect error");
|
|
1897
|
-
return m.digest.split(";", 2)[1];
|
|
1898
|
-
}
|
|
1899
|
-
function d(m) {
|
|
1900
|
-
if (!S(m))
|
|
1901
|
-
throw new Error("Not a redirect error");
|
|
1902
|
-
return Number(m.digest.split(";", 4)[3]);
|
|
1903
|
-
}
|
|
1904
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1905
|
-
})(De, De.exports);
|
|
1906
|
-
var Gt = De.exports, Ve = { exports: {} };
|
|
1907
|
-
(function(_, e) {
|
|
1908
|
-
Object.defineProperty(e, "__esModule", {
|
|
1909
|
-
value: !0
|
|
1910
|
-
});
|
|
1911
|
-
function b(a, c) {
|
|
1912
|
-
for (var v in c)
|
|
1913
|
-
Object.defineProperty(a, v, {
|
|
1914
|
-
enumerable: !0,
|
|
1915
|
-
get: c[v]
|
|
1916
|
-
});
|
|
1917
|
-
}
|
|
1918
|
-
b(e, {
|
|
1919
|
-
isNotFoundError: function() {
|
|
1920
|
-
return r;
|
|
1921
|
-
},
|
|
1922
|
-
notFound: function() {
|
|
1923
|
-
return R;
|
|
1924
|
-
}
|
|
1925
|
-
});
|
|
1926
|
-
const h = "NEXT_NOT_FOUND";
|
|
1927
|
-
function R() {
|
|
1928
|
-
const a = new Error(h);
|
|
1929
|
-
throw a.digest = h, a;
|
|
1930
|
-
}
|
|
1931
|
-
function r(a) {
|
|
1932
|
-
return typeof a != "object" || a === null || !("digest" in a) ? !1 : a.digest === h;
|
|
1933
|
-
}
|
|
1934
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1935
|
-
})(Ve, Ve.exports);
|
|
1936
|
-
var zt = Ve.exports;
|
|
1937
|
-
(function(_, e) {
|
|
1938
|
-
Object.defineProperty(e, "__esModule", {
|
|
1939
|
-
value: !0
|
|
1940
|
-
});
|
|
1941
|
-
function b(c, v) {
|
|
1942
|
-
for (var P in v)
|
|
1943
|
-
Object.defineProperty(c, P, {
|
|
1944
|
-
enumerable: !0,
|
|
1945
|
-
get: v[P]
|
|
1946
|
-
});
|
|
1947
|
-
}
|
|
1948
|
-
b(e, {
|
|
1949
|
-
ReadonlyURLSearchParams: function() {
|
|
1950
|
-
return a;
|
|
1951
|
-
},
|
|
1952
|
-
RedirectType: function() {
|
|
1953
|
-
return h.RedirectType;
|
|
1954
|
-
},
|
|
1955
|
-
notFound: function() {
|
|
1956
|
-
return R.notFound;
|
|
1957
|
-
},
|
|
1958
|
-
permanentRedirect: function() {
|
|
1959
|
-
return h.permanentRedirect;
|
|
1960
|
-
},
|
|
1961
|
-
redirect: function() {
|
|
1962
|
-
return h.redirect;
|
|
1963
|
-
}
|
|
1964
|
-
});
|
|
1965
|
-
const h = Gt, R = zt;
|
|
1966
|
-
class r extends Error {
|
|
1967
|
-
constructor() {
|
|
1968
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
class a extends URLSearchParams {
|
|
1972
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
1973
|
-
append() {
|
|
1974
|
-
throw new r();
|
|
1975
|
-
}
|
|
1976
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
1977
|
-
delete() {
|
|
1978
|
-
throw new r();
|
|
1979
|
-
}
|
|
1980
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
1981
|
-
set() {
|
|
1982
|
-
throw new r();
|
|
1983
|
-
}
|
|
1984
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
1985
|
-
sort() {
|
|
1986
|
-
throw new r();
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
1990
|
-
})(ke, ke.exports);
|
|
1991
|
-
var Ft = ke.exports, _t = {};
|
|
1992
|
-
(function(_) {
|
|
1993
|
-
"use client";
|
|
1994
|
-
Object.defineProperty(_, "__esModule", {
|
|
1995
|
-
value: !0
|
|
1996
|
-
});
|
|
1997
|
-
function e(a, c) {
|
|
1998
|
-
for (var v in c)
|
|
1999
|
-
Object.defineProperty(a, v, {
|
|
2000
|
-
enumerable: !0,
|
|
2001
|
-
get: c[v]
|
|
2002
|
-
});
|
|
2003
|
-
}
|
|
2004
|
-
e(_, {
|
|
2005
|
-
ServerInsertedHTMLContext: function() {
|
|
2006
|
-
return R;
|
|
2007
|
-
},
|
|
2008
|
-
useServerInsertedHTML: function() {
|
|
2009
|
-
return r;
|
|
2010
|
-
}
|
|
2011
|
-
});
|
|
2012
|
-
const h = /* @__PURE__ */ Ke._(ge), R = /* @__PURE__ */ h.default.createContext(null);
|
|
2013
|
-
function r(a) {
|
|
2014
|
-
const c = (0, h.useContext)(R);
|
|
2015
|
-
c && c(a);
|
|
2016
|
-
}
|
|
2017
|
-
})(_t);
|
|
2018
|
-
var ve = { exports: {} }, Me = {}, st;
|
|
2019
|
-
function Vt() {
|
|
2020
|
-
return st || (st = 1, function(_) {
|
|
2021
|
-
Object.defineProperty(_, "__esModule", {
|
|
2022
|
-
value: !0
|
|
2023
|
-
});
|
|
2024
|
-
function e(r, a) {
|
|
2025
|
-
for (var c in a)
|
|
2026
|
-
Object.defineProperty(r, c, {
|
|
2027
|
-
enumerable: !0,
|
|
2028
|
-
get: a[c]
|
|
2029
|
-
});
|
|
2030
|
-
}
|
|
2031
|
-
e(_, {
|
|
2032
|
-
BailoutToCSRError: function() {
|
|
2033
|
-
return h;
|
|
2034
|
-
},
|
|
2035
|
-
isBailoutToCSRError: function() {
|
|
2036
|
-
return R;
|
|
2037
|
-
}
|
|
2038
|
-
});
|
|
2039
|
-
const b = "BAILOUT_TO_CLIENT_SIDE_RENDERING";
|
|
2040
|
-
class h extends Error {
|
|
2041
|
-
constructor(a) {
|
|
2042
|
-
super("Bail out to client-side rendering: " + a), this.reason = a, this.digest = b;
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
function R(r) {
|
|
2046
|
-
return typeof r != "object" || r === null || !("digest" in r) ? !1 : r.digest === b;
|
|
2047
|
-
}
|
|
2048
|
-
}(Me)), Me;
|
|
2049
|
-
}
|
|
2050
|
-
var Re = { exports: {} }, Se = { exports: {} }, ut;
|
|
2051
|
-
function Kt() {
|
|
2052
|
-
return ut || (ut = 1, function(_, e) {
|
|
2053
|
-
Object.defineProperty(e, "__esModule", {
|
|
2054
|
-
value: !0
|
|
2055
|
-
}), Object.defineProperty(e, "staticGenerationAsyncStorage", {
|
|
2056
|
-
enumerable: !0,
|
|
2057
|
-
get: function() {
|
|
2058
|
-
return h;
|
|
2059
|
-
}
|
|
2060
|
-
});
|
|
2061
|
-
const h = (0, Xe.createAsyncLocalStorage)();
|
|
2062
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
2063
|
-
}(Se, Se.exports)), Se.exports;
|
|
2064
|
-
}
|
|
2065
|
-
var ct;
|
|
2066
|
-
function Wt() {
|
|
2067
|
-
return ct || (ct = 1, function(_, e) {
|
|
2068
|
-
"TURBOPACK { transition: next-shared }";
|
|
2069
|
-
Object.defineProperty(e, "__esModule", {
|
|
2070
|
-
value: !0
|
|
2071
|
-
}), Object.defineProperty(e, "staticGenerationAsyncStorage", {
|
|
2072
|
-
enumerable: !0,
|
|
2073
|
-
get: function() {
|
|
2074
|
-
return b.staticGenerationAsyncStorage;
|
|
2075
|
-
}
|
|
2076
|
-
});
|
|
2077
|
-
const b = Kt();
|
|
2078
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
2079
|
-
}(Re, Re.exports)), Re.exports;
|
|
2080
|
-
}
|
|
2081
|
-
var lt;
|
|
2082
|
-
function Xt() {
|
|
2083
|
-
return lt || (lt = 1, function(_, e) {
|
|
2084
|
-
Object.defineProperty(e, "__esModule", {
|
|
2085
|
-
value: !0
|
|
2086
|
-
}), Object.defineProperty(e, "bailoutToClientRendering", {
|
|
2087
|
-
enumerable: !0,
|
|
2088
|
-
get: function() {
|
|
2089
|
-
return R;
|
|
2090
|
-
}
|
|
2091
|
-
});
|
|
2092
|
-
const b = Vt(), h = Wt();
|
|
2093
|
-
function R(r) {
|
|
2094
|
-
const a = h.staticGenerationAsyncStorage.getStore();
|
|
2095
|
-
if (!(a != null && a.forceStatic) && a != null && a.isStaticGeneration)
|
|
2096
|
-
throw new b.BailoutToCSRError(r);
|
|
2097
|
-
}
|
|
2098
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
2099
|
-
}(ve, ve.exports)), ve.exports;
|
|
2100
|
-
}
|
|
2101
|
-
(function(_, e) {
|
|
2102
|
-
Object.defineProperty(e, "__esModule", {
|
|
2103
|
-
value: !0
|
|
2104
|
-
});
|
|
2105
|
-
function b(s, A) {
|
|
2106
|
-
for (var t in A)
|
|
2107
|
-
Object.defineProperty(s, t, {
|
|
2108
|
-
enumerable: !0,
|
|
2109
|
-
get: A[t]
|
|
2110
|
-
});
|
|
2111
|
-
}
|
|
2112
|
-
b(e, {
|
|
2113
|
-
ReadonlyURLSearchParams: function() {
|
|
2114
|
-
return v.ReadonlyURLSearchParams;
|
|
2115
|
-
},
|
|
2116
|
-
RedirectType: function() {
|
|
2117
|
-
return v.RedirectType;
|
|
2118
|
-
},
|
|
2119
|
-
ServerInsertedHTMLContext: function() {
|
|
2120
|
-
return P.ServerInsertedHTMLContext;
|
|
2121
|
-
},
|
|
2122
|
-
notFound: function() {
|
|
2123
|
-
return v.notFound;
|
|
2124
|
-
},
|
|
2125
|
-
permanentRedirect: function() {
|
|
2126
|
-
return v.permanentRedirect;
|
|
2127
|
-
},
|
|
2128
|
-
redirect: function() {
|
|
2129
|
-
return v.redirect;
|
|
2130
|
-
},
|
|
2131
|
-
useParams: function() {
|
|
2132
|
-
return l;
|
|
2133
|
-
},
|
|
2134
|
-
usePathname: function() {
|
|
2135
|
-
return S;
|
|
2136
|
-
},
|
|
2137
|
-
useRouter: function() {
|
|
2138
|
-
return C;
|
|
2139
|
-
},
|
|
2140
|
-
useSearchParams: function() {
|
|
2141
|
-
return I;
|
|
2142
|
-
},
|
|
2143
|
-
useSelectedLayoutSegment: function() {
|
|
2144
|
-
return g;
|
|
2145
|
-
},
|
|
2146
|
-
useSelectedLayoutSegments: function() {
|
|
2147
|
-
return m;
|
|
2148
|
-
},
|
|
2149
|
-
useServerInsertedHTML: function() {
|
|
2150
|
-
return P.useServerInsertedHTML;
|
|
2151
|
-
}
|
|
2152
|
-
});
|
|
2153
|
-
const h = ge, R = Rt, r = mt, a = Ht, c = St, v = Ft, P = _t;
|
|
2154
|
-
function I() {
|
|
2155
|
-
const s = (0, h.useContext)(r.SearchParamsContext), A = (0, h.useMemo)(() => s ? new v.ReadonlyURLSearchParams(s) : null, [
|
|
2156
|
-
s
|
|
2157
|
-
]);
|
|
2158
|
-
if (typeof window > "u") {
|
|
2159
|
-
const { bailoutToClientRendering: t } = Xt();
|
|
2160
|
-
t("useSearchParams()");
|
|
2161
|
-
}
|
|
2162
|
-
return A;
|
|
2163
|
-
}
|
|
2164
|
-
function S() {
|
|
2165
|
-
return (0, h.useContext)(r.PathnameContext);
|
|
2166
|
-
}
|
|
2167
|
-
function C() {
|
|
2168
|
-
const s = (0, h.useContext)(R.AppRouterContext);
|
|
2169
|
-
if (s === null)
|
|
2170
|
-
throw new Error("invariant expected app router to be mounted");
|
|
2171
|
-
return s;
|
|
2172
|
-
}
|
|
2173
|
-
function l() {
|
|
2174
|
-
return (0, h.useContext)(r.PathParamsContext);
|
|
2175
|
-
}
|
|
2176
|
-
function d(s, A, t, u) {
|
|
2177
|
-
t === void 0 && (t = !0), u === void 0 && (u = []);
|
|
2178
|
-
let E;
|
|
2179
|
-
if (t)
|
|
2180
|
-
E = s[1][A];
|
|
2181
|
-
else {
|
|
2182
|
-
const j = s[1];
|
|
2183
|
-
var y;
|
|
2184
|
-
E = (y = j.children) != null ? y : Object.values(j)[0];
|
|
2185
|
-
}
|
|
2186
|
-
if (!E)
|
|
2187
|
-
return u;
|
|
2188
|
-
const w = E[0], T = (0, a.getSegmentValue)(w);
|
|
2189
|
-
return !T || T.startsWith(c.PAGE_SEGMENT_KEY) ? u : (u.push(T), d(E, A, !1, u));
|
|
2190
|
-
}
|
|
2191
|
-
function m(s) {
|
|
2192
|
-
s === void 0 && (s = "children");
|
|
2193
|
-
const A = (0, h.useContext)(R.LayoutRouterContext);
|
|
2194
|
-
return A ? d(A.tree, s) : null;
|
|
2195
|
-
}
|
|
2196
|
-
function g(s) {
|
|
2197
|
-
s === void 0 && (s = "children");
|
|
2198
|
-
const A = m(s);
|
|
2199
|
-
if (!A || A.length === 0)
|
|
2200
|
-
return null;
|
|
2201
|
-
const t = s === "children" ? A[0] : A[A.length - 1];
|
|
2202
|
-
return t === c.DEFAULT_SEGMENT_KEY ? null : t;
|
|
2203
|
-
}
|
|
2204
|
-
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), _.exports = e.default);
|
|
2205
|
-
})(Ne, Ne.exports);
|
|
2206
|
-
var Qt = Ne.exports, Yt = Qt;
|
|
2207
|
-
const Zt = "_sideMenu_1f66p_1", Jt = "_logo_1f66p_7", en = "_menus_1f66p_12", tn = "_menuTitle_1f66p_19", nn = "_menuItem_1f66p_27", rn = "_selected_1f66p_41", me = {
|
|
2208
|
-
sideMenu: Zt,
|
|
2209
|
-
logo: Jt,
|
|
2210
|
-
menus: en,
|
|
2211
|
-
menuTitle: tn,
|
|
2212
|
-
menuItem: nn,
|
|
2213
|
-
selected: rn
|
|
2214
|
-
}, ft = 235, dn = (_) => {
|
|
2215
|
-
var C;
|
|
1647
|
+
const p = S.Image;
|
|
1648
|
+
})(We);
|
|
1649
|
+
var ft = We;
|
|
1650
|
+
const dt = /* @__PURE__ */ Ze(ft), ht = "_sideMenu_1f66p_1", gt = "_logo_1f66p_7", mt = "_menus_1f66p_12", _t = "_menuTitle_1f66p_19", yt = "_menuItem_1f66p_27", bt = "_selected_1f66p_41", ge = {
|
|
1651
|
+
sideMenu: ht,
|
|
1652
|
+
logo: gt,
|
|
1653
|
+
menus: mt,
|
|
1654
|
+
menuTitle: _t,
|
|
1655
|
+
menuItem: yt,
|
|
1656
|
+
selected: bt
|
|
1657
|
+
}, Ge = 235, Ct = (L) => {
|
|
2216
1658
|
const {
|
|
2217
|
-
isOpen:
|
|
2218
|
-
isMobile:
|
|
2219
|
-
onClose:
|
|
2220
|
-
menus:
|
|
2221
|
-
logoSrc:
|
|
2222
|
-
topPageUrl:
|
|
2223
|
-
isStorybook:
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
1659
|
+
isOpen: R,
|
|
1660
|
+
isMobile: N,
|
|
1661
|
+
onClose: j,
|
|
1662
|
+
menus: S,
|
|
1663
|
+
logoSrc: u,
|
|
1664
|
+
topPageUrl: m = "/",
|
|
1665
|
+
isStorybook: p = !1,
|
|
1666
|
+
currentPath: E
|
|
1667
|
+
} = L, O = (E == null ? void 0 : E.split("/")[1]) ?? null, x = O === "" ? "/" : "/" + O, [h, y] = Qe(x);
|
|
1668
|
+
Ye(() => {
|
|
1669
|
+
y(x);
|
|
1670
|
+
}, [x, E]);
|
|
1671
|
+
const c = (i) => {
|
|
1672
|
+
N && j(), p && i.preventDefault();
|
|
2228
1673
|
};
|
|
2229
1674
|
return /* @__PURE__ */ he(
|
|
2230
|
-
|
|
1675
|
+
tt,
|
|
2231
1676
|
{
|
|
2232
|
-
variant:
|
|
2233
|
-
open:
|
|
2234
|
-
onClose:
|
|
1677
|
+
variant: N ? "temporary" : "permanent",
|
|
1678
|
+
open: R,
|
|
1679
|
+
onClose: j,
|
|
2235
1680
|
sx: {
|
|
2236
|
-
width:
|
|
1681
|
+
width: Ge,
|
|
2237
1682
|
flexShrink: 0,
|
|
2238
1683
|
"& .MuiDrawer-paper": {
|
|
2239
|
-
width:
|
|
1684
|
+
width: Ge,
|
|
2240
1685
|
boxSizing: "border-box"
|
|
2241
1686
|
}
|
|
2242
1687
|
},
|
|
2243
|
-
children: /* @__PURE__ */
|
|
2244
|
-
/* @__PURE__ */ he("div", { className:
|
|
2245
|
-
|
|
1688
|
+
children: /* @__PURE__ */ He("div", { className: ge.sideMenu, children: [
|
|
1689
|
+
/* @__PURE__ */ he("div", { className: ge.logo, children: /* @__PURE__ */ he(
|
|
1690
|
+
Pe,
|
|
2246
1691
|
{
|
|
2247
|
-
href:
|
|
1692
|
+
href: m,
|
|
2248
1693
|
style: { textDecoration: "none" },
|
|
2249
|
-
onClick: (
|
|
1694
|
+
onClick: (i) => c(i),
|
|
2250
1695
|
children: /* @__PURE__ */ he(
|
|
2251
|
-
|
|
1696
|
+
dt,
|
|
2252
1697
|
{
|
|
2253
|
-
src:
|
|
1698
|
+
src: u,
|
|
2254
1699
|
alt: "logo",
|
|
2255
1700
|
width: 204,
|
|
2256
1701
|
height: 49,
|
|
2257
|
-
|
|
1702
|
+
className: "object-contain",
|
|
2258
1703
|
priority: !0
|
|
2259
1704
|
}
|
|
2260
1705
|
)
|
|
2261
1706
|
}
|
|
2262
1707
|
) }),
|
|
2263
|
-
/* @__PURE__ */ he("div", { className:
|
|
2264
|
-
(
|
|
2265
|
-
|
|
1708
|
+
/* @__PURE__ */ he("div", { className: ge.menus, children: S.map(
|
|
1709
|
+
(i) => i.isTitle ? /* @__PURE__ */ he("div", { className: ge.menuTitle, children: i.label }, i.label) : /* @__PURE__ */ he(
|
|
1710
|
+
Pe,
|
|
2266
1711
|
{
|
|
2267
|
-
href:
|
|
1712
|
+
href: i.href ?? "",
|
|
2268
1713
|
style: { textDecoration: "none" },
|
|
2269
1714
|
role: "menuitem",
|
|
2270
|
-
"aria-current":
|
|
2271
|
-
children: /* @__PURE__ */
|
|
1715
|
+
"aria-current": h === i.href ? "page" : void 0,
|
|
1716
|
+
children: /* @__PURE__ */ He(
|
|
2272
1717
|
"div",
|
|
2273
1718
|
{
|
|
2274
|
-
onClick: (
|
|
2275
|
-
className:
|
|
2276
|
-
[
|
|
1719
|
+
onClick: (b) => c(b),
|
|
1720
|
+
className: nt(ge.menuItem, {
|
|
1721
|
+
[ge.selected]: h === i.href
|
|
2277
1722
|
}),
|
|
2278
1723
|
tabIndex: 0,
|
|
2279
|
-
onKeyDown: (
|
|
2280
|
-
(
|
|
1724
|
+
onKeyDown: (b) => {
|
|
1725
|
+
(b.key === "Enter" || b.key === " ") && c(b);
|
|
2281
1726
|
},
|
|
2282
1727
|
children: [
|
|
2283
|
-
|
|
2284
|
-
/* @__PURE__ */ he("div", { children:
|
|
1728
|
+
i.icon,
|
|
1729
|
+
/* @__PURE__ */ he("div", { children: i.label })
|
|
2285
1730
|
]
|
|
2286
1731
|
}
|
|
2287
1732
|
)
|
|
2288
1733
|
},
|
|
2289
|
-
|
|
1734
|
+
i.label
|
|
2290
1735
|
)
|
|
2291
1736
|
) })
|
|
2292
1737
|
] })
|
|
@@ -2294,6 +1739,5 @@ const Zt = "_sideMenu_1f66p_1", Jt = "_logo_1f66p_7", en = "_menus_1f66p_12", tn
|
|
|
2294
1739
|
);
|
|
2295
1740
|
};
|
|
2296
1741
|
export {
|
|
2297
|
-
|
|
2298
|
-
dn as default
|
|
1742
|
+
Ct as SideMenu
|
|
2299
1743
|
};
|