mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 22:38:06 +00:00
1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"+plK":function(e,t,r){r("ApPD"),e.exports=r("WEpk").Object.getPrototypeOf},"/+P4":function(e,t,r){var n=r("Bhuq"),a=r("TRZx");function o(t){return e.exports=o=a?n:function(e){return e.__proto__||n(e)},o(t)}e.exports=o},ApPD:function(e,t,r){var n=r("JB68"),a=r("U+KD");r("zn7N")("getPrototypeOf",(function(){return function(e){return a(n(e))}}))},BMP1:function(e,t,r){"use strict";var n=r("5Uuq")(r("IKlv"));window.next=n,(0,n.default)().catch((function(e){console.error(e.message+"\n"+e.stack)}))},Bhuq:function(e,t,r){e.exports=r("+plK")},DqTX:function(e,t,r){"use strict";var n=r("eVuF"),a=r("/HRN"),o=r("WaGi");t.__esModule=!0,t.default=void 0;var i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},u=function(){function e(){var t=this;a(this,e),this.updateHead=function(e){var r=t.updatePromise=n.resolve().then((function(){r===t.updatePromise&&(t.updatePromise=null,t.doUpdateHead(e))}))},this.updatePromise=null}return o(e,[{key:"doUpdateHead",value:function(e){var t=this,r={};e.forEach((function(e){var t=r[e.type]||[];t.push(e),r[e.type]=t})),this.updateTitle(r.title?r.title[0]:null);["meta","base","link","style","script"].forEach((function(e){t.updateElements(e,r[e]||[])}))}},{key:"updateTitle",value:function(e){var t="";if(e){var r=e.props.children;t="string"===typeof r?r:r.join("")}t!==document.title&&(document.title=t)}},{key:"updateElements",value:function(e,t){var r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]");for(var a=Number(n.content),o=[],i=0,u=n.previousElementSibling;i<a;i++,u=u.previousElementSibling)u.tagName.toLowerCase()===e&&o.push(u);var s=t.map(c).filter((function(e){for(var t=0,r=o.length;t<r;t++){if(o[t].isEqualNode(e))return o.splice(t,1),!1}return!0}));o.forEach((function(e){return e.parentNode.removeChild(e)})),s.forEach((function(e){return r.insertBefore(e,n)})),n.content=(a-o.length+s.length).toString()}}]),e}();function c(e){var t=e.type,r=e.props,n=document.createElement(t);for(var a in r)if(r.hasOwnProperty(a)&&"children"!==a&&"dangerouslySetInnerHTML"!==a){var o=i[a]||a.toLowerCase();n.setAttribute(o,r[a])}var u=r.children,c=r.dangerouslySetInnerHTML;return c?n.innerHTML=c.__html||"":u&&(n.textContent="string"===typeof u?u:u.join("")),n}t.default=u},FYa8:function(e,t,r){"use strict";var n=r("hfKm"),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};n(t,"__esModule",{value:!0});var o=a(r("q1tI"));t.HeadManagerContext=o.createContext(null)},IKlv:function(e,t,r){"use strict";var n=r("ln6h"),a=(r("eVuF"),r("/HRN")),o=r("WaGi"),i=r("ZDA2"),u=r("/+P4"),c=r("N9n2"),s=r("8+Nu"),p=r("5Uuq"),f=r("KI45");t.__esModule=!0,t.render=V,t.renderError=W,t.default=t.emitter=t.router=t.version=void 0;var l=f(r("htGi")),d=(f(r("5Uuq")),f(r("q1tI"))),h=f(r("i8i4")),m=f(r("DqTX")),v=r("nOHt"),g=f(r("dZ6Y")),y=r("g/15"),E=f(r("zmvN")),_=p(r("yLiY")),w=r("FYa8"),x=r("qOIg"),b=r("s4NR"),P=r("/jkW");window.Promise||(window.Promise=r("eVuF"));var R=JSON.parse(document.getElementById("__NEXT_DATA__").textContent);window.__NEXT_DATA__=R;t.version="9.2.1";var N=R.props,C=R.err,k=R.page,T=R.query,I=R.buildId,S=R.assetPrefix,A=R.runtimeConfig,D=R.dynamicIds,q=S||"";r.p=q+"/_next/",_.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:A||{}});var j=(0,y.getURL)(),B=new E.default(I,q),M=function(e){var t=s(e,2),r=t[0],n=t[1];return B.registerPage(r,n)};window.__NEXT_P&&window.__NEXT_P.map(M),window.__NEXT_P=[],window.__NEXT_P.push=M;var H,L,O,U,F,K,X=new m.default,G=document.getElementById("__next");t.router=L;var Y=function(e){function t(){return a(this,t),i(this,u(t).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidCatch",value:function(e,t){this.props.fn(e,t)}},{key:"componentDidMount",value:function(){this.scrollToHash(),(R.nextExport&&((0,P.isDynamicRoute)(L.pathname)||location.search)||U&&U.__N_SSG&&location.search)&&L.replace(L.pathname+"?"+(0,b.stringify)(
|