@okam/stack-ui 1.27.2 → 1.27.3
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/index116.js +1 -1
- package/index116.mjs +2 -2
- package/index12.js +1 -0
- package/index12.mjs +1 -0
- package/index124.js +1 -1
- package/index124.mjs +1 -1
- package/index126.js +1 -1
- package/index126.mjs +1 -1
- package/index133.js +1 -1
- package/index133.mjs +49 -19
- package/index134.js +1 -1
- package/index134.mjs +25 -49
- package/index135.js +1 -1
- package/index135.mjs +19 -25
- package/index137.js +1 -1
- package/index137.mjs +14 -14
- package/index143.js +1 -1
- package/index143.mjs +1 -1
- package/index147.js +1 -1
- package/index147.mjs +1 -1
- package/index159.js +1 -11
- package/index159.mjs +2 -116
- package/index160.js +1 -1
- package/index160.mjs +6 -2
- package/index161.js +1 -1
- package/index161.mjs +64 -5
- package/index162.js +1 -1
- package/index162.mjs +16 -54
- package/index163.js +1 -1
- package/index163.mjs +49 -21
- package/index164.js +1 -1
- package/index164.mjs +143 -42
- package/index165.js +1 -1
- package/index165.mjs +18 -151
- package/index166.js +1 -1
- package/index166.mjs +14 -17
- package/index167.js +1 -1
- package/index167.mjs +34 -14
- package/index168.js +1 -1
- package/index168.mjs +79 -36
- package/index169.js +1 -1
- package/index169.mjs +23 -75
- package/index170.js +1 -1
- package/index170.mjs +13 -22
- package/index171.js +1 -1
- package/index171.mjs +48 -16
- package/index172.js +1 -1
- package/index172.mjs +2 -54
- package/index173.js +11 -1
- package/index173.mjs +116 -2
- package/index208.js +1 -1
- package/index208.mjs +2 -2
- package/index210.js +1 -1
- package/index210.mjs +1 -1
- package/index213.js +1 -1
- package/index213.mjs +1 -1
- package/index248.js +1 -1
- package/index248.mjs +1 -1
- package/index250.js +1 -1
- package/index250.mjs +2 -2
- package/index251.js +1 -1
- package/index251.mjs +2 -23
- package/index252.js +1 -1
- package/index252.mjs +23 -2
- package/package.json +1 -1
package/index161.mjs
CHANGED
|
@@ -1,8 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { __module as n } from "./index201.mjs";
|
|
2
|
+
import { __require as H } from "./index202.mjs";
|
|
3
|
+
import { __require as L } from "./index163.mjs";
|
|
4
|
+
import { __require as j } from "./index203.mjs";
|
|
5
|
+
import { __require as O } from "./index164.mjs";
|
|
6
|
+
import { __require as S } from "./index204.mjs";
|
|
7
|
+
import { __require as w } from "./index162.mjs";
|
|
8
|
+
import { __require as M } from "./index205.mjs";
|
|
9
|
+
import { __require as A } from "./index206.mjs";
|
|
10
|
+
var p;
|
|
11
|
+
function $() {
|
|
12
|
+
return p ? n.exports : (p = 1, function(d, t) {
|
|
13
|
+
Object.defineProperty(t, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
}), Object.defineProperty(t, "resolveHref", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
get: function() {
|
|
18
|
+
return v;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const q = H(), f = L(), g = j(), y = O(), P = S(), U = w(), R = M(), b = A();
|
|
22
|
+
function v(s, l, a) {
|
|
23
|
+
let i, r = typeof l == "string" ? l : (0, f.formatWithValidation)(l);
|
|
24
|
+
const o = r.match(/^[a-zA-Z]{1,}:\/\//), m = o ? r.slice(o[0].length) : r;
|
|
25
|
+
if ((m.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
26
|
+
console.error("Invalid href '" + r + "' passed to next/router in page: '" + s.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
27
|
+
const e = (0, y.normalizeRepeatedSlashes)(m);
|
|
28
|
+
r = (o ? o[0] : "") + e;
|
|
29
|
+
}
|
|
30
|
+
if (!(0, U.isLocalURL)(r))
|
|
31
|
+
return a ? [
|
|
32
|
+
r
|
|
33
|
+
] : r;
|
|
34
|
+
try {
|
|
35
|
+
i = new URL(r.startsWith("#") ? s.asPath : s.pathname, "http://n");
|
|
36
|
+
} catch {
|
|
37
|
+
i = new URL("/", "http://n");
|
|
38
|
+
}
|
|
39
|
+
try {
|
|
40
|
+
const e = new URL(r, i);
|
|
41
|
+
e.pathname = (0, P.normalizePathTrailingSlash)(e.pathname);
|
|
42
|
+
let c = "";
|
|
43
|
+
if ((0, R.isDynamicRoute)(e.pathname) && e.searchParams && a) {
|
|
44
|
+
const h = (0, q.searchParamsToUrlQuery)(e.searchParams), { result: _, params: z } = (0, b.interpolateAs)(e.pathname, e.pathname, h);
|
|
45
|
+
_ && (c = (0, f.formatWithValidation)({
|
|
46
|
+
pathname: _,
|
|
47
|
+
hash: e.hash,
|
|
48
|
+
query: (0, g.omit)(h, z)
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
51
|
+
const u = e.origin === i.origin ? e.href.slice(e.origin.length) : e.href;
|
|
52
|
+
return a ? [
|
|
53
|
+
u,
|
|
54
|
+
c || u
|
|
55
|
+
] : u;
|
|
56
|
+
} catch {
|
|
57
|
+
return a ? [
|
|
58
|
+
r
|
|
59
|
+
] : r;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), d.exports = t.default);
|
|
63
|
+
}(n, n.exports), n.exports);
|
|
5
64
|
}
|
|
6
65
|
export {
|
|
7
|
-
|
|
66
|
+
$ as __require
|
|
8
67
|
};
|
package/index162.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index207.js"),c=require("./index164.js"),l=require("./index208.js");var s;function _(){return s||(s=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});const i=c.__require(),u=l.__require();function a(n){if(!(0,i.isAbsoluteUrl)(n))return!0;try{const e=(0,i.getLocationOrigin)(),o=new URL(n,e);return o.origin===e&&(0,u.hasBasePath)(o.pathname)}catch{return!1}}}(r.__exports)),r.__exports}exports.__require=_;
|
package/index162.mjs
CHANGED
|
@@ -1,67 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { __require as w } from "./index163.mjs";
|
|
8
|
-
import { __require as M } from "./index205.mjs";
|
|
9
|
-
import { __require as A } from "./index206.mjs";
|
|
10
|
-
var p;
|
|
11
|
-
function $() {
|
|
12
|
-
return p ? n.exports : (p = 1, function(d, t) {
|
|
1
|
+
import { __exports as r } from "./index207.mjs";
|
|
2
|
+
import { __require as c } from "./index164.mjs";
|
|
3
|
+
import { __require as l } from "./index208.mjs";
|
|
4
|
+
var n;
|
|
5
|
+
function h() {
|
|
6
|
+
return n ? r : (n = 1, function(t) {
|
|
13
7
|
Object.defineProperty(t, "__esModule", {
|
|
14
8
|
value: !0
|
|
15
|
-
}), Object.defineProperty(t, "
|
|
9
|
+
}), Object.defineProperty(t, "isLocalURL", {
|
|
16
10
|
enumerable: !0,
|
|
17
11
|
get: function() {
|
|
18
|
-
return
|
|
12
|
+
return u;
|
|
19
13
|
}
|
|
20
14
|
});
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
const o = r.match(/^[a-zA-Z]{1,}:\/\//), m = o ? r.slice(o[0].length) : r;
|
|
25
|
-
if ((m.split("?", 1)[0] || "").match(/(\/\/|\\)/)) {
|
|
26
|
-
console.error("Invalid href '" + r + "' passed to next/router in page: '" + s.pathname + "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");
|
|
27
|
-
const e = (0, y.normalizeRepeatedSlashes)(m);
|
|
28
|
-
r = (o ? o[0] : "") + e;
|
|
29
|
-
}
|
|
30
|
-
if (!(0, U.isLocalURL)(r))
|
|
31
|
-
return a ? [
|
|
32
|
-
r
|
|
33
|
-
] : r;
|
|
34
|
-
try {
|
|
35
|
-
i = new URL(r.startsWith("#") ? s.asPath : s.pathname, "http://n");
|
|
36
|
-
} catch {
|
|
37
|
-
i = new URL("/", "http://n");
|
|
38
|
-
}
|
|
15
|
+
const i = c(), s = l();
|
|
16
|
+
function u(o) {
|
|
17
|
+
if (!(0, i.isAbsoluteUrl)(o)) return !0;
|
|
39
18
|
try {
|
|
40
|
-
const e = new URL(
|
|
41
|
-
|
|
42
|
-
let c = "";
|
|
43
|
-
if ((0, R.isDynamicRoute)(e.pathname) && e.searchParams && a) {
|
|
44
|
-
const h = (0, q.searchParamsToUrlQuery)(e.searchParams), { result: _, params: z } = (0, b.interpolateAs)(e.pathname, e.pathname, h);
|
|
45
|
-
_ && (c = (0, f.formatWithValidation)({
|
|
46
|
-
pathname: _,
|
|
47
|
-
hash: e.hash,
|
|
48
|
-
query: (0, g.omit)(h, z)
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
const u = e.origin === i.origin ? e.href.slice(e.origin.length) : e.href;
|
|
52
|
-
return a ? [
|
|
53
|
-
u,
|
|
54
|
-
c || u
|
|
55
|
-
] : u;
|
|
19
|
+
const e = (0, i.getLocationOrigin)(), a = new URL(o, e);
|
|
20
|
+
return a.origin === e && (0, s.hasBasePath)(a.pathname);
|
|
56
21
|
} catch {
|
|
57
|
-
return
|
|
58
|
-
r
|
|
59
|
-
] : r;
|
|
22
|
+
return !1;
|
|
60
23
|
}
|
|
61
24
|
}
|
|
62
|
-
|
|
63
|
-
}(n, n.exports), n.exports);
|
|
25
|
+
}(r), r);
|
|
64
26
|
}
|
|
65
27
|
export {
|
|
66
|
-
|
|
28
|
+
h as __require
|
|
67
29
|
};
|
package/index163.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index209.js"),y=require("./index210.js"),g=require("./index202.js");var p;function U(){return p||(p=1,function(u){Object.defineProperty(u,"__esModule",{value:!0});function _(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}_(u,{formatUrl:function(){return h},urlObjectKeys:function(){return l},formatWithValidation:function(){return q}});const d=y.__require()._(g.__require()),m=/https?|ftp|gopher|file/;function h(e){let{auth:t,hostname:o}=e,s=e.protocol||"",n=e.pathname||"",c=e.hash||"",a=e.query||"",r=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?r=t+e.host:o&&(r=t+(~o.indexOf(":")?"["+o+"]":o),e.port&&(r+=":"+e.port)),a&&typeof a=="object"&&(a=String(d.urlQueryToSearchParams(a)));let i=e.search||a&&"?"+a||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||m.test(s))&&r!==!1?(r="//"+(r||""),n&&n[0]!=="/"&&(n="/"+n)):r||(r=""),c&&c[0]!=="#"&&(c="#"+c),i&&i[0]!=="?"&&(i="?"+i),n=n.replace(/[?#]/g,encodeURIComponent),i=i.replace("#","%23"),""+s+r+n+i+c}const l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function q(e){return process.env.NODE_ENV==="development"&&e!==null&&typeof e=="object"&&Object.keys(e).forEach(t=>{l.includes(t)||console.warn("Unknown key passed via urlObject into url.format: "+t)}),h(e)}}(f.__exports)),f.__exports}exports.__require=U;
|
package/index163.mjs
CHANGED
|
@@ -1,29 +1,57 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
return
|
|
7
|
-
Object.defineProperty(
|
|
1
|
+
import { __exports as c } from "./index209.mjs";
|
|
2
|
+
import { __require as y } from "./index210.mjs";
|
|
3
|
+
import { __require as U } from "./index202.mjs";
|
|
4
|
+
var l;
|
|
5
|
+
function x() {
|
|
6
|
+
return l ? c : (l = 1, function(h) {
|
|
7
|
+
Object.defineProperty(h, "__esModule", {
|
|
8
8
|
value: !0
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
});
|
|
10
|
+
function m(e, t) {
|
|
11
|
+
for (var o in t) Object.defineProperty(e, o, {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: t[o]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
m(h, {
|
|
17
|
+
formatUrl: function() {
|
|
18
|
+
return p;
|
|
19
|
+
},
|
|
20
|
+
urlObjectKeys: function() {
|
|
12
21
|
return u;
|
|
22
|
+
},
|
|
23
|
+
formatWithValidation: function() {
|
|
24
|
+
return q;
|
|
13
25
|
}
|
|
14
26
|
});
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
const _ = /* @__PURE__ */ y()._(U()), d = /https?|ftp|gopher|file/;
|
|
28
|
+
function p(e) {
|
|
29
|
+
let { auth: t, hostname: o } = e, a = e.protocol || "", n = e.pathname || "", f = e.hash || "", s = e.query || "", r = !1;
|
|
30
|
+
t = t ? encodeURIComponent(t).replace(/%3A/i, ":") + "@" : "", e.host ? r = t + e.host : o && (r = t + (~o.indexOf(":") ? "[" + o + "]" : o), e.port && (r += ":" + e.port)), s && typeof s == "object" && (s = String(_.urlQueryToSearchParams(s)));
|
|
31
|
+
let i = e.search || s && "?" + s || "";
|
|
32
|
+
return a && !a.endsWith(":") && (a += ":"), e.slashes || (!a || d.test(a)) && r !== !1 ? (r = "//" + (r || ""), n && n[0] !== "/" && (n = "/" + n)) : r || (r = ""), f && f[0] !== "#" && (f = "#" + f), i && i[0] !== "?" && (i = "?" + i), n = n.replace(/[?#]/g, encodeURIComponent), i = i.replace("#", "%23"), "" + a + r + n + i + f;
|
|
33
|
+
}
|
|
34
|
+
const u = [
|
|
35
|
+
"auth",
|
|
36
|
+
"hash",
|
|
37
|
+
"host",
|
|
38
|
+
"hostname",
|
|
39
|
+
"href",
|
|
40
|
+
"path",
|
|
41
|
+
"pathname",
|
|
42
|
+
"port",
|
|
43
|
+
"protocol",
|
|
44
|
+
"query",
|
|
45
|
+
"search",
|
|
46
|
+
"slashes"
|
|
47
|
+
];
|
|
48
|
+
function q(e) {
|
|
49
|
+
return process.env.NODE_ENV === "development" && e !== null && typeof e == "object" && Object.keys(e).forEach((t) => {
|
|
50
|
+
u.includes(t) || console.warn("Unknown key passed via urlObject into url.format: " + t);
|
|
51
|
+
}), p(e);
|
|
24
52
|
}
|
|
25
|
-
}(
|
|
53
|
+
}(c), c);
|
|
26
54
|
}
|
|
27
55
|
export {
|
|
28
|
-
|
|
56
|
+
x as __require
|
|
29
57
|
};
|
package/index164.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index211.js");var g;function _(){return g||(g=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function m(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}m(a,{WEB_VITALS:function(){return p},execOnce:function(){return E},isAbsoluteUrl:function(){return P},getLocationOrigin:function(){return c},getURL:function(){return N},getDisplayName:function(){return s},isResSent:function(){return f},normalizeRepeatedSlashes:function(){return y},loadGetInitialProps:function(){return l},SP:function(){return d},ST:function(){return S},DecodeError:function(){return w},NormalizeError:function(){return O},PageNotFoundError:function(){return v},MissingStaticPage:function(){return I},MiddlewareNotFoundError:function(){return b},stringifyError:function(){return T}});const p=["CLS","FCP","FID","INP","LCP","TTFB"];function E(e){let r=!1,t;return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return r||(r=!0,t=e(...n)),t}}const h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,P=e=>h.test(e);function c(){const{protocol:e,hostname:r,port:t}=window.location;return e+"//"+r+(t?":"+t:"")}function N(){const{href:e}=window.location,r=c();return e.substring(r.length)}function s(e){return typeof e=="string"?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function y(e){const r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function l(e,r){if(process.env.NODE_ENV!=="production"){var t;if((t=e.prototype)!=null&&t.getInitialProps){const o='"'+s(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw new Error(o)}}const i=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await l(r.Component,r.ctx)}:{};const n=await e.getInitialProps(r);if(i&&f(i))return n;if(!n){const o='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw new Error(o)}return process.env.NODE_ENV!=="production"&&Object.keys(n).length===0&&!r.ctx&&console.warn(""+s(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),n}const d=typeof performance<"u",S=d&&["mark","measure","getEntriesByName"].every(e=>typeof performance[e]=="function");class w extends Error{}class O extends Error{}class v extends Error{constructor(r){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+r}}class I extends Error{constructor(r,t){super(),this.message="Failed to load static file for page: "+r+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function T(e){return JSON.stringify({message:e.message,stack:e.stack})}}(u.__exports)),u.__exports}exports.__require=_;
|
package/index164.mjs
CHANGED
|
@@ -1,57 +1,158 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return l ? c : (l = 1, function(h) {
|
|
7
|
-
Object.defineProperty(h, "__esModule", {
|
|
1
|
+
import { __exports as a } from "./index211.mjs";
|
|
2
|
+
var g;
|
|
3
|
+
function j() {
|
|
4
|
+
return g ? a : (g = 1, function(u) {
|
|
5
|
+
Object.defineProperty(u, "__esModule", {
|
|
8
6
|
value: !0
|
|
9
7
|
});
|
|
10
|
-
function m(e,
|
|
11
|
-
for (var
|
|
8
|
+
function m(e, r) {
|
|
9
|
+
for (var t in r) Object.defineProperty(e, t, {
|
|
12
10
|
enumerable: !0,
|
|
13
|
-
get: t
|
|
11
|
+
get: r[t]
|
|
14
12
|
});
|
|
15
13
|
}
|
|
16
|
-
m(
|
|
17
|
-
|
|
14
|
+
m(u, {
|
|
15
|
+
WEB_VITALS: function() {
|
|
18
16
|
return p;
|
|
19
17
|
},
|
|
20
|
-
|
|
21
|
-
return
|
|
18
|
+
execOnce: function() {
|
|
19
|
+
return E;
|
|
22
20
|
},
|
|
23
|
-
|
|
24
|
-
return
|
|
21
|
+
isAbsoluteUrl: function() {
|
|
22
|
+
return N;
|
|
23
|
+
},
|
|
24
|
+
getLocationOrigin: function() {
|
|
25
|
+
return c;
|
|
26
|
+
},
|
|
27
|
+
getURL: function() {
|
|
28
|
+
return P;
|
|
29
|
+
},
|
|
30
|
+
getDisplayName: function() {
|
|
31
|
+
return s;
|
|
32
|
+
},
|
|
33
|
+
isResSent: function() {
|
|
34
|
+
return f;
|
|
35
|
+
},
|
|
36
|
+
normalizeRepeatedSlashes: function() {
|
|
37
|
+
return y;
|
|
38
|
+
},
|
|
39
|
+
loadGetInitialProps: function() {
|
|
40
|
+
return l;
|
|
41
|
+
},
|
|
42
|
+
SP: function() {
|
|
43
|
+
return d;
|
|
44
|
+
},
|
|
45
|
+
ST: function() {
|
|
46
|
+
return w;
|
|
47
|
+
},
|
|
48
|
+
DecodeError: function() {
|
|
49
|
+
return S;
|
|
50
|
+
},
|
|
51
|
+
NormalizeError: function() {
|
|
52
|
+
return I;
|
|
53
|
+
},
|
|
54
|
+
PageNotFoundError: function() {
|
|
55
|
+
return O;
|
|
56
|
+
},
|
|
57
|
+
MissingStaticPage: function() {
|
|
58
|
+
return v;
|
|
59
|
+
},
|
|
60
|
+
MiddlewareNotFoundError: function() {
|
|
61
|
+
return b;
|
|
62
|
+
},
|
|
63
|
+
stringifyError: function() {
|
|
64
|
+
return L;
|
|
25
65
|
}
|
|
26
66
|
});
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const u = [
|
|
35
|
-
"auth",
|
|
36
|
-
"hash",
|
|
37
|
-
"host",
|
|
38
|
-
"hostname",
|
|
39
|
-
"href",
|
|
40
|
-
"path",
|
|
41
|
-
"pathname",
|
|
42
|
-
"port",
|
|
43
|
-
"protocol",
|
|
44
|
-
"query",
|
|
45
|
-
"search",
|
|
46
|
-
"slashes"
|
|
67
|
+
const p = [
|
|
68
|
+
"CLS",
|
|
69
|
+
"FCP",
|
|
70
|
+
"FID",
|
|
71
|
+
"INP",
|
|
72
|
+
"LCP",
|
|
73
|
+
"TTFB"
|
|
47
74
|
];
|
|
48
|
-
function
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
75
|
+
function E(e) {
|
|
76
|
+
let r = !1, t;
|
|
77
|
+
return function() {
|
|
78
|
+
for (var i = arguments.length, n = new Array(i), o = 0; o < i; o++)
|
|
79
|
+
n[o] = arguments[o];
|
|
80
|
+
return r || (r = !0, t = e(...n)), t;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
const h = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, N = (e) => h.test(e);
|
|
84
|
+
function c() {
|
|
85
|
+
const { protocol: e, hostname: r, port: t } = window.location;
|
|
86
|
+
return e + "//" + r + (t ? ":" + t : "");
|
|
87
|
+
}
|
|
88
|
+
function P() {
|
|
89
|
+
const { href: e } = window.location, r = c();
|
|
90
|
+
return e.substring(r.length);
|
|
91
|
+
}
|
|
92
|
+
function s(e) {
|
|
93
|
+
return typeof e == "string" ? e : e.displayName || e.name || "Unknown";
|
|
94
|
+
}
|
|
95
|
+
function f(e) {
|
|
96
|
+
return e.finished || e.headersSent;
|
|
97
|
+
}
|
|
98
|
+
function y(e) {
|
|
99
|
+
const r = e.split("?");
|
|
100
|
+
return r[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (r[1] ? "?" + r.slice(1).join("?") : "");
|
|
101
|
+
}
|
|
102
|
+
async function l(e, r) {
|
|
103
|
+
if (process.env.NODE_ENV !== "production") {
|
|
104
|
+
var t;
|
|
105
|
+
if ((t = e.prototype) != null && t.getInitialProps) {
|
|
106
|
+
const o = '"' + s(e) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
|
|
107
|
+
throw new Error(o);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
const i = r.res || r.ctx && r.ctx.res;
|
|
111
|
+
if (!e.getInitialProps)
|
|
112
|
+
return r.ctx && r.Component ? {
|
|
113
|
+
pageProps: await l(r.Component, r.ctx)
|
|
114
|
+
} : {};
|
|
115
|
+
const n = await e.getInitialProps(r);
|
|
116
|
+
if (i && f(i))
|
|
117
|
+
return n;
|
|
118
|
+
if (!n) {
|
|
119
|
+
const o = '"' + s(e) + '.getInitialProps()" should resolve to an object. But found "' + n + '" instead.';
|
|
120
|
+
throw new Error(o);
|
|
121
|
+
}
|
|
122
|
+
return process.env.NODE_ENV !== "production" && Object.keys(n).length === 0 && !r.ctx && console.warn("" + s(e) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), n;
|
|
123
|
+
}
|
|
124
|
+
const d = typeof performance < "u", w = d && [
|
|
125
|
+
"mark",
|
|
126
|
+
"measure",
|
|
127
|
+
"getEntriesByName"
|
|
128
|
+
].every((e) => typeof performance[e] == "function");
|
|
129
|
+
class S extends Error {
|
|
130
|
+
}
|
|
131
|
+
class I extends Error {
|
|
132
|
+
}
|
|
133
|
+
class O extends Error {
|
|
134
|
+
constructor(r) {
|
|
135
|
+
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + r;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
class v extends Error {
|
|
139
|
+
constructor(r, t) {
|
|
140
|
+
super(), this.message = "Failed to load static file for page: " + r + " " + t;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
class b extends Error {
|
|
144
|
+
constructor() {
|
|
145
|
+
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
function L(e) {
|
|
149
|
+
return JSON.stringify({
|
|
150
|
+
message: e.message,
|
|
151
|
+
stack: e.stack
|
|
152
|
+
});
|
|
52
153
|
}
|
|
53
|
-
}(
|
|
154
|
+
}(a), a);
|
|
54
155
|
}
|
|
55
156
|
export {
|
|
56
|
-
|
|
157
|
+
j as __require
|
|
57
158
|
};
|
package/index165.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index212.js"),c=require("./index204.js"),f=require("./index213.js");var l;function _(){return l||(l=1,function(d,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return i}});const o=c.__require(),i=function(a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return process.env.__NEXT_I18N_SUPPORT?(0,o.normalizePathTrailingSlash)(f.__require().addLocale(a,...n)):a};(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),d.exports=e.default)}(u.__module,u.__module.exports)),u.__module.exports}exports.__require=_;
|