You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -268,14 +268,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n = new Set(),
r = {};
return function(o) {
- var a = !0;+ var a = !0,+ i = !1;
if (
o.key &&
"number" !== typeof o.key &&
o.key.indexOf("$") > 0
) {
- var i = o.key.slice(o.key.indexOf("$") + 1);- e.has(i) ? (a = !1) : e.add(i);+ i = !0;+ var u = o.key.slice(o.key.indexOf("$") + 1);+ e.has(u) ? (a = !1) : e.add(u);
}
switch (o.type) {
case "title":
@@ -283,14 +285,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
t.has(o.type) ? (a = !1) : t.add(o.type);
break;
case "meta":
- for (var u = 0, c = p.length; u < c; u++) {- var s = p[u];- if (o.props.hasOwnProperty(s))- if ("charSet" === s) n.has(s) ? (a = !1) : n.add(s);+ for (var c = 0, s = p.length; c < s; c++) {+ var f = p[c];+ if (o.props.hasOwnProperty(f))+ if ("charSet" === f) n.has(f) ? (a = !1) : n.add(f);
else {
- var f = o.props[s],- l = r[s] || new Set();- l.has(f) ? (a = !1) : (l.add(f), (r[s] = l));+ var l = o.props[f],+ d = r[f] || new Set();+ ("name" === f && i) || !d.has(l)+ ? (d.add(l), (r[f] = d))+ : (a = !1);
}
}
}
Diff for link-409b283..e588fe3ab.js
deleted
Diff for link-7faf09b..eb178eba4.js
@@ -0,0 +1,248 @@+_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([+ [8],+ {+ ObF3: function(e, n, t) {+ "use strict";+ t.r(n);+ var r = t("q1tI"),+ o = t.n(r),+ a = t("YFqc"),+ c = t.n(a),+ u = o.a.createElement;+ function i(e) {+ return u(+ "div",+ null,+ u("h3", null, "A Link page!"),+ u(c.a, { href: "/" }, "Go to /")+ );+ }+ (i.getInitialProps = function() {+ return {};+ }),+ (n.default = i);+ },+ V8Sf: function(e, n, t) {+ (window.__NEXT_P = window.__NEXT_P || []).push([+ "/link",+ function() {+ return t("ObF3");+ }+ ]);+ },+ YFqc: function(e, n, t) {+ e.exports = t("cTJO");+ },+ cTJO: function(e, n, t) {+ "use strict";+ var r = t("J4zp"),+ o = t("284h");+ (n.__esModule = !0), (n.default = void 0);+ var a = o(t("q1tI")),+ c = t("elyg"),+ u = t("nOHt"),+ i = t("vNVm"),+ f = {};+ function l(e, n, t, r) {+ if (e && (0, c.isLocalURL)(n)) {+ e.prefetch(n, t, r).catch(function(e) {+ 0;+ });+ var o =+ r && "undefined" !== typeof r.locale ? r.locale : e && e.locale;+ f[n + "%" + t + (o ? "%" + o : "")] = !0;+ }+ }+ var s = function(e) {+ var n = !1 !== e.prefetch,+ t = (0, u.useRouter)(),+ o = (t && t.pathname) || "/",+ s = a.default.useMemo(+ function() {+ var n = (0, c.resolveHref)(o, e.href, !0),+ t = r(n, 2),+ a = t[0],+ u = t[1];+ return {+ href: a,+ as: e.as ? (0, c.resolveHref)(o, e.as) : u || a+ };+ },+ [o, e.href, e.as]+ ),+ p = s.href,+ d = s.as,+ v = e.children,+ h = e.replace,+ y = e.shallow,+ g = e.scroll,+ _ = e.locale;+ "string" === typeof v && (v = a.default.createElement("a", null, v));+ var b = a.Children.only(v),+ w = b && "object" === typeof b && b.ref,+ E = (0, i.useIntersection)({ rootMargin: "200px" }),+ m = r(E, 2),+ L = m[0],+ M = m[1],+ k = a.default.useCallback(+ function(e) {+ L(e),+ w &&+ ("function" === typeof w+ ? w(e)+ : "object" === typeof w && (w.current = e));+ },+ [w, L]+ );+ (0, a.useEffect)(+ function() {+ var e = M && n && (0, c.isLocalURL)(p),+ r = "undefined" !== typeof _ ? _ : t && t.locale,+ o = f[p + "%" + d + (r ? "%" + r : "")];+ e && !o && l(t, p, d, { locale: r });+ },+ [d, p, M, _, n, t]+ );+ var I = {+ ref: k,+ onClick: function(e) {+ b.props &&+ "function" === typeof b.props.onClick &&+ b.props.onClick(e),+ e.defaultPrevented ||+ (function(e, n, t, r, o, a, u, i) {+ ("A" !== e.currentTarget.nodeName ||+ (!(function(e) {+ var n = e.currentTarget.target;+ return (+ (n && "_self" !== n) ||+ e.metaKey ||+ e.ctrlKey ||+ e.shiftKey ||+ e.altKey ||+ (e.nativeEvent && 2 === e.nativeEvent.which)+ );+ })(e) &&+ (0, c.isLocalURL)(t))) &&+ (e.preventDefault(),+ null == u && (u = r.indexOf("#") < 0),+ n[o ? "replace" : "push"](t, r, {+ shallow: a,+ locale: i,+ scroll: u+ }).then(function(e) {+ e && u && document.body.focus();+ }));+ })(e, t, p, d, h, y, g, _);+ },+ onMouseEnter: function(e) {+ (0, c.isLocalURL)(p) &&+ (b.props &&+ "function" === typeof b.props.onMouseEnter &&+ b.props.onMouseEnter(e),+ l(t, p, d, { priority: !0 }));+ }+ };+ if (e.passHref || ("a" === b.type && !("href" in b.props))) {+ var N = "undefined" !== typeof _ ? _ : t && t.locale,+ O = (0, c.getDomainLocale)(+ d,+ N,+ t && t.locales,+ t && t.domainLocales+ );+ I.href =+ O ||+ (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));+ }+ return a.default.cloneElement(b, I);+ };+ n.default = s;+ },+ vNVm: function(e, n, t) {+ "use strict";+ var r = t("J4zp"),+ o = t("TqRt");+ (n.__esModule = !0),+ (n.useIntersection = function(e) {+ var n = e.rootMargin,+ t = e.disabled || !u,+ o = (0, a.useRef)(),+ f = (0, a.useState)(!1),+ l = r(f, 2),+ s = l[0],+ p = l[1],+ d = (0, a.useCallback)(+ function(e) {+ o.current && (o.current(), (o.current = void 0)),+ t ||+ s ||+ (e &&+ e.tagName &&+ (o.current = (function(e, n, t) {+ var r = (function(e) {+ var n = e.rootMargin || "",+ t = i.get(n);+ if (t) return t;+ var r = new Map(),+ o = new IntersectionObserver(function(e) {+ e.forEach(function(e) {+ var n = r.get(e.target),+ t =+ e.isIntersecting ||+ e.intersectionRatio > 0;+ n && t && n(t);+ });+ }, e);+ return (+ i.set(+ n,+ (t = { id: n, observer: o, elements: r })+ ),+ t+ );+ })(t),+ o = r.id,+ a = r.observer,+ c = r.elements;+ return (+ c.set(e, n),+ a.observe(e),+ function() {+ c.delete(e),+ a.unobserve(e),+ 0 === c.size && (a.disconnect(), i.delete(o));+ }+ );+ })(+ e,+ function(e) {+ return e && p(e);+ },+ { rootMargin: n }+ )));+ },+ [t, n, s]+ );+ return (+ (0, a.useEffect)(+ function() {+ u ||+ s ||+ (0, c.default)(function() {+ return p(!0);+ });+ },+ [s]+ ),+ [d, s]+ );+ });+ var a = t("q1tI"),+ c = o(t("0G5g")),+ u = "undefined" !== typeof IntersectionObserver;+ var i = new Map();+ }+ },+ [["V8Sf", 0, 1, 2]]+]);
Diff for routerDirect..2078b924c.js
@@ -1,6 +1,9 @@
_N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
[9],
{
+ "20a2": function(t, n, r) {+ t.exports = r("nOHt");+ },
LtRI: function(t, n, r) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/routerDirect",
@@ -14,7 +17,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r.r(n);
var e = r("q1tI"),
i = r.n(e),
- o = (r("nOHt"), i.a.createElement);+ o = (r("20a2"), i.a.createElement);
function u(t) {
return o("div", null, "I import the router directly");
}
Diff for withRouter-7..bedf2c13d.js
@@ -6,7 +6,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e.r(t);
var u = e("q1tI"),
i = e.n(u),
- o = e("nOHt"),+ o = e("20a2"),
r = i.a.createElement;
function w(n) {
return r("div", null, "I use withRouter");
@@ -16,6 +16,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}),
(t.default = Object(o.withRouter)(w));
},
+ "20a2": function(n, t, e) {+ n.exports = e("nOHt");+ },
eThv: function(n, t, e) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/withRouter",
5be31f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stats from current release
Default Server Mode (Increase detected⚠️ )
General Overall increase⚠️
Page Load Tests Overall increase ✓
Client Bundles (main, webpack, commons) Overall increase⚠️
Legacy Client Bundles (polyfills) Overall increase⚠️
Client Pages Overall increase⚠️
Client Build Manifests Overall decrease ✓
Rendered Page Sizes Overall decrease ✓
Diffs
Diff for _buildManifest.js
Diff for _error-a0c45..8e97fa7be.js
Diff for link-3a08ad7..2582ee217.js
Diff for link-67e8576..0c009f99f.js
Diff for routerDirect..88cd3382e.js
Diff for withRouter-9..6729e701e.js
Diff for 677f882d2ed8..4eeebf399.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
Diff for index.html
Diff for link.html
Diff for withRouter.html
Serverless Mode (Increase detected⚠️ )
General Overall increase⚠️
Client Bundles (main, webpack, commons) Overall increase⚠️
Legacy Client Bundles (polyfills) Overall increase⚠️
Client Pages Overall increase⚠️
Client Build Manifests Overall decrease ✓
Serverless bundles Overall decrease ✓
Webpack 5 Mode (Increase detected⚠️ )
General Overall increase⚠️
Page Load Tests Overall decrease⚠️
Client Bundles (main, webpack, commons) Overall increase⚠️
Legacy Client Bundles (polyfills) Overall increase⚠️
Client Pages Overall increase⚠️
Client Build Manifests Overall decrease ✓
Rendered Page Sizes Overall decrease ✓
Diffs
Diff for _buildManifest.js
Diff for _error-ed1b0..6382f8fbd.js
Diff for link-409b283..e588fe3ab.js
Diff for link-7faf09b..eb178eba4.js
Diff for routerDirect..2078b924c.js
Diff for withRouter-7..bedf2c13d.js
Diff for 677f882d2ed8..236c59b19.js
Diff too large to display
Diff for framework.HASH.js
Diff too large to display
Diff for main-HASH.js
Diff too large to display
Diff for polyfills-HASH.js
Diff for index.html
Diff for link.html
Diff for withRouter.html