1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[633],{77913:function(e,n,t){"use strict";var r=t(85696);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,u=(o=t(67294))&&o.__esModule?o:{default:o},a=t(12199),c=t(61587),l=t(27215);function i(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},u=Object.keys(e);for(r=0;r<u.length;r++)t=u[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r<u.length;r++)t=u[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var f={};function s(e,n,t,r){if(e&&a.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 d=u.default.forwardRef((function(e,n){var t,o=e.legacyBehavior,d=void 0===o?!0!==Boolean(!1):o,p=e.href,v=e.as,y=e.children,h=e.prefetch,b=e.passHref,g=e.replace,w=e.shallow,m=e.scroll,E=e.locale,_=e.onClick,O=e.onMouseEnter,k=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter"]);t=y,d&&"string"===typeof t&&(t=u.default.createElement("a",null,t));var M,j=!1!==h,x=c.useRouter(),C=u.default.useMemo((function(){var e=a.resolveHref(x,p,!0),n=r(e,2),t=n[0],o=n[1];return{href:t,as:v?a.resolveHref(x,v):o||t}}),[x,p,v]),I=C.href,L=C.as,P=u.default.useRef(I),R=u.default.useRef(L);d&&(M=u.default.Children.only(t));var U=d?M&&"object"===typeof M&&M.ref:n,N=l.useIntersection({rootMargin:"200px"}),q=r(N,3),H=q[0],S=q[1],K=q[2],T=u.default.useCallback((function(e){R.current===L&&P.current===I||(K(),R.current=L,P.current=I),H(e),U&&("function"===typeof U?U(e):"object"===typeof U&&(U.current=e))}),[L,U,I,K,H]);u.default.useEffect((function(){var e=S&&j&&a.isLocalURL(I),n="undefined"!==typeof E?E:x&&x.locale,t=f[I+"%"+L+(n?"%"+n:"")];e&&!t&&s(x,I,L,{locale:n})}),[L,I,S,E,j,x]);var B={ref:T,onClick:function(e){d||"function"!==typeof _||_(e),d&&M.props&&"function"===typeof M.props.onClick&&M.props.onClick(e),e.defaultPrevented||function(e,n,t,r,o,u,c,l){("A"!==e.currentTarget.nodeName.toUpperCase()||!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)&&a.isLocalURL(t))&&(e.preventDefault(),n[o?"replace":"push"](t,r,{shallow:u,locale:l,scroll:c}))}(e,x,I,L,g,w,m,E)},onMouseEnter:function(e){d||"function"!==typeof O||O(e),d&&M.props&&"function"===typeof M.props.onMouseEnter&&M.props.onMouseEnter(e),a.isLocalURL(I)&&s(x,I,L,{priority:!0})}};if(!d||b||"a"===M.type&&!("href"in M.props)){var D="undefined"!==typeof E?E:x&&x.locale,Z=x&&x.isLocaleDomain&&a.getDomainLocale(L,D,x&&x.locales,x&&x.domainLocales);B.href=Z||a.addBasePath(a.addLocale(L,D,x&&x.defaultLocale))}return d?u.default.cloneElement(M,B):u.default.createElement("a",Object.assign({},k,B),t)}));n.default=d,("function"===typeof n.default||"object"===typeof n.default&&null!==n.default)&&(Object.assign(n.default,n),e.exports=n.default)},27215:function(e,n,t){"use strict";var r=t(85696);Object.defineProperty(n,"__esModule",{value:!0}),n.useIntersection=function(e){var n=e.rootRef,t=e.rootMargin,i=e.disabled||!a,f=o.useRef(),s=o.useState(!1),d=r(s,2),p=d[0],v=d[1],y=o.useState(n?n.current:null),h=r(y,2),b=h[0],g=h[1],w=o.useCallback((function(e){f.current&&(f.current(),f.current=void 0),i||p||e&&e.tagName&&(f.current=function(e,n,t){var r=function(e){var n,t={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===t.root&&e.margin===t.margin}));r?n=c.get(r):(n=c.get(t),l.push(t));if(n)return n;var o=new Map,u=new IntersectionObserver((function(e){e.forEach((function(e){var n=o.get(e.target),t=e.isIntersecting||e.intersectionRatio>0;n&&t&&n(t)}))}),e);return c.set(t,n={id:t,observer:u,elements:o}),n}(t),o=r.id,u=r.observer,a=r.elements;return a.set(e,n),u.observe(e),function(){if(a.delete(e),u.unobserve(e),0===a.size){u.disconnect(),c.delete(o);var n=l.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));n>-1&&l.splice(n,1)}}}(e,(function(e){return e&&v(e)}
1),{root:b,rootMargin:t}))}),[i,b,t,p]),m=o.useCallback((function(){v(!1)}),[]);return o.useEffect((function(){if(!a&&!p){var e=u.requestIdleCallback((function(){return v(!0)}));return function(){return u.cancelIdleCallback(e)}}}),[p]),o.useEffect((function(){n&&g(n.current)}),[n]),[w,p,m]};var o=t(67294),u=t(98065),a="undefined"!==typeof IntersectionObserver;var c=new Map,l=[];("function"===typeof n.default||"object"===typeof n.default&&null!==n.default)&&(Object.assign(n.default,n),e.exports=n.default)},78765:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return v}});var r,o=t(50029),u=t(87794),a=t.n(u),c=t(41664),l=t.n(c),i=(t(67294),t(20564)),f=t(71383),s=t(44119),d=t.n(s)()(r||(r=(0,f.Z)(["\n\tquery OldWebsite($oldId: String!) {\n\t\tnewPostUrl(oldId: $oldId) {\n\t\t\tnewUrl\n\t\t}\n\t}\n"]))),p=t(85893),v=function(e){var n=e.newUrl;return(0,p.jsx)(l(),{href:n,children:n})};v.getInitialProps=function(){var e=(0,o.Z)(a().mark((function e(n){var t,r,o,u,c,l,f;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.query,o=n.res,u=(0,i.in)(),c=null===(t=r.index)||void 0===t?void 0:t[0],l="/",!c){e.next=9;break}return e.next=7,u.query({query:d,variables:{oldId:c}});case 7:f=e.sent,l=f.data.newPostUrl.newUrl;case 9:return null===o||void 0===o||o.writeHead(301,{Location:l}),null===o||void 0===o||o.end(),e.abrupt("return",{newUrl:l});case 12:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()},13042:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/new/[[...index]]",function(){return t(78765)}])},41664:function(e,n,t){e.exports=t(77913)},50029:function(e,n,t){"use strict";function r(e,n,t,r,o,u,a){try{var c=e[u](a),l=c.value}catch(i){return void t(i)}c.done?n(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var n=this,t=arguments;return new Promise((function(o,u){var a=e.apply(n,t);function c(e){r(a,o,u,c,l,"next",e)}function l(e){r(a,o,u,c,l,"throw",e)}c(void 0)}))}}t.d(n,{Z:function(){return o}})}},function(e){e.O(0,[774,888,179],(function(){return n=13042,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.