1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{86426:function(e,n,r){"use strict";r.d(n,{rg:function(){return c},Nq:function(){return i}});var o=r(67294);const t=(0,o.createContext)(null);function c({clientId:e,nonce:n,onScriptLoadSuccess:r,onScriptLoadError:c,children:u}){const i=function(e={}){const{nonce:n,onScriptLoadSuccess:r,onScriptLoadError:t}=e,[c,u]=(0,o.useState)(!1),i=(0,o.useRef)(r);i.current=r;const l=(0,o.useRef)(t);return l.current=t,(0,o.useEffect)((()=>{const e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=n,e.onload=()=>{var e;u(!0),null===(e=i.current)||void 0===e||e.call(i)},e.onerror=()=>{var e;u(!1),null===(e=l.current)||void 0===e||e.call(l)},document.body.appendChild(e),()=>{document.body.removeChild(e)}}),[n]),c}({nonce:n,onScriptLoadSuccess:r,onScriptLoadError:c}),l=(0,o.useMemo)((()=>({clientId:e,scriptLoadedSuccessfully:i})),[e,i]);return o.createElement(t.Provider,{value:l},u)}function u(){const e=(0,o.useContext)(t);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function i({flow:e="implicit",scope:n="",onSuccess:r,onError:t,onNonOAuthError:c,overrideScope:i,state:l,...s}){const{clientId:d,scriptLoadedSuccessfully:a}=u(),f=(0,o.useRef)(),v=(0,o.useRef)(r);v.current=r;const p=(0,o.useRef)(t);p.current=t;const h=(0,o.useRef)(c);h.current=c,(0,o.useEffect)((()=>{var r,o;if(!a)return;const t="implicit"===e?"initTokenClient":"initCodeClient",c=null===(o=null===(r=null===window||void 0===window?void 0:window.google)||void 0===r?void 0:r.accounts)||void 0===o?void 0:o.oauth2[t]({client_id:d,scope:i?n:`openid profile email ${n}`,callback:e=>{var n,r;if(e.error)return null===(n=p.current)||void 0===n?void 0:n.call(p,e);null===(r=v.current)||void 0===r||r.call(v,e)},error_callback:e=>{var n;null===(n=h.current)||void 0===n||n.call(h,e)},state:l,...s});f.current=c}),[d,a,e,n,l]);const m=(0,o.useCallback)((e=>{var n;return null===(n=f.current)||void 0===n?void 0:n.requestAccessToken(e)}),[]),w=(0,o.useCallback)((()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.requestCode()}),[]);return"implicit"===e?m:w}},7156:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return r(68332)}])},68332:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return a},default:function(){return f}});var o=r(85893),t=r(5152),c=r(86426),u=r(89032),i=r.n(u),l=r(30684),s=(0,t.default)((function(){return Promise.all([r.e(3662),r.e(7204),r.e(9815),r.e(146),r.e(9764),r.e(1244),r.e(4482)]).then(r.bind(r,32715))}),{loadableGenerated:{webpack:function(){return[32715]}}}),d=(0,t.default)((function(){return Promise.all([r.e(3662),r.e(7361),r.e(1141),r.e(1810),r.e(273),r.e(9253)]).then(r.bind(r,84687))}),{loadableGenerated:{webpack:function(){return[84687]}}}),a=!0;function f(e){var n=e.locale,r=e.seoTitle,t=e.seoMeta,u=e.messages;return(0,o.jsx)(l.iL,{messages:u,children:(0,o.jsx)(s,{locale:n,seoTitle:r,seoMeta:t,children:(0,o.jsx)(c.rg,{clientId:i().googleClientId,children:(0,o.jsx)(d,{})})})})}}},function(e){e.O(0,[3686,684,9774,2888,179],(function(){return n=7156,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.