PageSourceSearch

https://linkit.space/_next/static/chunks/pages/login-592fb8e4a35085203395.js

js linkit.space collected 2026-10-01 15:27:16 UTC 5,217 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[28],{"11/B":function(e,t,n){"use strict";n.r(t);var o=n("q1tI"),r=n.n(o),a=n("8Kt/"),i=n.n(a),l=n("X7io"),s=n("nOHt"),c=n("TyAF"),u=n("6FwJ"),g=n("2GhG"),d=n("Sp04"),f=n("9Koi"),p=n("CEM3"),h=r.a.createElement,m=Object(c.a)((function(){var e=Object(f.a)().t,t=Object(s.useRouter)();return Object(o.useEffect)((function(){g.a.hasToken&&(g.a.loadExtensionAuthWithCurrentUser(),t.replace("/home"))}),[]),h(r.a.Fragment,null,h(i.a,null,h("title",null,e("login-page-title"))),h(l.a,{style:{width:"100vw",height:"100vh",justifyContent:"center"}},h(l.a,{style:{flexDirection:"column",alignItems:"center",justifyContent:"center"}},h("div",{style:{position:"absolute",left:"28%",top:"12%",cursor:"pointer"},onClick:function(){return t.push("/")}},h(u.a,null)),h(d.a,{backgroundColor:p.a.gray8}))))}));t.default=m},"6FwJ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("q1tI"),r=n.n(o),a=n("CEM3"),i=n("vOnD"),l=r.a.createElement,s=i.c.span.withConfig({displayName:"Logo__LogoText",componentId:"sc-1podjka-0"})(["font-family:Nexa-Bold,sans-serif;font-size:24px;letter-spacing:0.25px;user-select:none;color:",";"],a.a.gray1),c=function(){return l(s,null,"linkit")}},Sp04:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var o=n("o0o1"),r=n.n(o),a=n("HaE+"),i=n("d3yt"),l=n("MnKa"),s=n("CEM3"),c=n("9RHx"),u=n("YFqc"),g=n.n(u),d=n("OOfM"),f=n("+7EA"),p=n("X7io"),h=n("q1tI"),m=n.n(h),y=n("nOHt"),w=n("TyAF"),b=n("2GhG"),v=n("EdAj"),E=n("9Koi"),x=n("EjJx"),j=m.a.createElement,k=Object(w.a)((function(e){var t=e.backgroundColor,n=void 0===t?"#fff":t,o=Object(E.a)().t,u=Object(h.useState)(""),m=u[0],w=u[1],k=Object(h.useState)(""),O=k[0],C=k[1],M=Object(h.useState)(!1),T=M[0],_=M[1],S=Object(y.useRouter)();Object(h.useEffect)((function(){b.a.hasToken&&S.replace("/home")}),[]);var B=function(){var e=Object(a.a)(r.a.mark((function e(t){var n,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.credential,o=Object(x.a)(n).email,w(o),e.next=5,l.a.loginGoogle(o,n);case 5:e.sent&&S.push("/home");case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return j(p.a,{style:{paddingTop:64,paddingBottom:48,flexDirection:"column",alignItems:"center",justifyContent:"center"}},j("h3",{className:"bp3-heading",style:{marginBottom:50,textAlign:"center",fontFamily:"Nexa-Bold",fontWeight:"bold",fontSize:32}},o("login-form-title")),j(v.a,{onSuccess:B}),j(p.a,{style:{position:"relative",overflow:"hidden",textAlign:"center",padding:"16px 0",width:368,flexDirection:"row",alignItems:"center",marginTop:8,marginBottom:8}},j("div",{style:{backgroundColor:s.a.gray3,height:1,width:"100vw"}}),j("div",{style:{color:s.a.gray3,position:"absolute",left:161,backgroundColor:n,paddingLeft:16,paddingRight:16}},o("login-form-or"))),j(i.d,{className:l.a.emailErrorMsg.length>0||l.a.networkErrorMsg.length>0?"error":"",style:{width:368,height:44,boxSizing:"border-box",borderRadius:6},placeholder:o("login-form-email"),type:"email",onChange:function(e){w(e.target.value)},large:!0,onBlur:function(){l.a.emailErrorMsg=""}}),j("div",{style:{marginBottom:10}},l.a.emailErrorMsg.length>0&&j("div",{style:{color:s.a.red300,paddingLeft:5,width:368,marginTop:5,fontSize:12}},l.a.emailErrorMsg)),j(i.d,{className:l.a.passwordErrorMsg.length>0||l.a.networkErrorMsg.length>0?"error":"",rightElement:j(c.a,null,j(i.c,{style:{position:"absolute",top:15,right:15,color:s.a.gray3},icon:T?"eye-open":"eye-off",onClick:function(){_(!T)}})),style:{alignItems:"center",width:368,height:44,boxSizing:"border-box",borderRadius:6},placeholder:o("login-form-password"),type:T?"text":"password",onChange:function(e){C(e.target.value)},large:!0,onBlur:function(){l.a.passwordErrorMsg=""},onKeyDown:function(e){var t={Enter:function(){var e=Object(a.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.login(m,O);case 2:e.sent&&S.push("/home");case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}[e.key];t&&t()}}),j("div",{style:{marginBottom:10}},l.a.passwordErrorMsg.length>0&&j("div",{style:{color:s.a.red300,paddingLeft:5,width:368,marginTop:5,fontSize:12}},l.a.passwordErrorMsg)),j("div",{style:{marginTop:20}},j(g.a,{href:"/authcode"},j(d.a,{style:{color:s.a.primary400}},o("login-form-forget-pw")))),j("div",{style:{marginTop:10}},o("login-form-ask-signup"),j(g.a,{href:"/signup"},j(d.a,{style:{marginLeft:10,color:s.a.primary400},onClick:function(){return f.a.clear()}},o("login-form-signup")))),j(i.a,{style:{width:368,height:48,marginTop:16,fontWeight:500},loading:l.a.loading,onClick:Object(a.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.login(m,O);case 2:e.sent&&(S.push("/home"),l.a.clear());case 4:case"end":return e.stop()}}),e)})))},o("login-form-login")),l.a.networkErrorMsg.length>0&&j("div",{style:{color:s.a.red300,marginTop:15,fontSize:14}},l.a.networkErrorMsg))}))},oFgj:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return n("11/B")}])}},[["oFgj",1,2,3,4,9,0,5,6,7,8,10,11]]]);

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.