1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6556],{73227:function(t,e,n){n.d(e,{Z:function(){return a}});var i=n(35944),o=n(62036),r=n(87450),l=n(66439),c=n(65216),s=n(4481);function a(t){let{open:e,width:n,text:a,zIndex:d,hideBackground:Z}=t;return(0,i.tZ)(c.Z,{sx:{...Z&&{backgroundColor:"rgba(0, 0, 0, 0.0)"},zIndex:t=>null!=d?d:t.zIndex.drawer+1,width:"100%",height:"100%",position:"absolute",color:o.lU.TEXT_COLOR.PRIMARY,...n?{width:n}:{}},open:e,children:(0,i.BX)(l.ZP,{container:!0,children:[(0,i.tZ)(l.ZP,{item:!0,xs:12,textAlign:"center",children:(0,i.tZ)(s.Z,{sx:{color:o.eM.main},size:100,disableShrink:!0})}),(0,r.Z)(a)&&(0,i.tZ)(l.ZP,{item:!0,xs:12,textAlign:"center",children:a})]})})}},94097:function(t,e,n){var i=n(35944);n(67294),e.Z=t=>(0,i.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",...t,children:(0,i.tZ)("path",{stroke:"#E5CDAE",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.333 14v-1.333A2.667 2.667 0 0 0 10.667 10H5.333a2.667 2.667 0 0 0-2.666 2.667V14M8 7.333A2.667 2.667 0 1 0 8 2a2.667 2.667 0 0 0 0 5.333Z"})})},35897:function(t,e,n){n.d(e,{v:function(){return s}});var i=n(35944),o=n(70695),r=n(66439),l=n(65765);let c=(0,o.ZP)(r.ZP)({backgroundImage:"url(".concat("/_next/static/media/nhahat5.6f4431d7.jpg",")"),backgroundSize:"cover",display:"flex",justifyContent:"center",alignItems:"center",minHeight:"calc(100vh - 60px)"});function s(t){let{children:e}=t,n=(0,l.Z)(t=>t.breakpoints.down("md"));return(0,i.tZ)(c,{pt:5,pb:5,px:n?2:4,children:e})}},4312:function(t,e,n){n.r(e);var i=n(35944),o=n(67294),r=n(65765),l=n(26760),c=n(66439),s=n(71759),a=n(3076),d=n(53253),Z=n(40789),u=n(71165),h=n(50089),m=n(87536),p=n(39332),g=n(54114),f=n(34673),x=n(92553),w=n(35897),C=n(73227),k=n(78062),P=n(97584),b=n(57219),v=n(76982),A=n(86401),y=n(45457),S=n(82809),R=n(53371),_=n(33210),B=n(43198),E=n(18665),I=n(68234),O=n(16191),L=n(88424),N=n(23656),W=n(87169),X=n(62036),z=n(47675),D=n(54806),M=n(54870),j=n(45858),U=n(99713),T=n(65136),Y=n(94097);e.default=function(){let[t,e]=(0,o.useState)(!1),[n,H]=(0,o.useState)(null),V=(0,O.T)(),G=(0,I.C)(E.ul),q=(0,I.C)(E.jl),K=(0,p.useRouter)(),{t:Q}=(0,g.$G)(),$=(0,r.Z)(t=>t.breakpoints.down("md")),F=(0,r.Z)(t=>t.breakpoints.down("sm")),J=(0,m.cI)({defaultValues:{username:"",password:""}}),{control:tt,handleSubmit:te}=J;(0,o.useEffect)(()=>{M.Z||window.addEventListener("beforeunload",t=>{(0,z.uV)(G)&&V(B.Nw.updateStatus({payload:z.e8,type:"fetchStatus"}))})},[]),(0,o.useEffect)(()=>{q&&K.push(N.Z.default)},[q,K]);let tn=()=>{V(B.Nw.updateStatus({payload:z.e8,type:"fetchStatus"}))};return(0,i.BX)(i.HY,{children:[(0,i.BX)(w.v,{children:[(0,i.tZ)(C.Z,{open:(0,z.uV)(G)}),(0,i.tZ)("form",{children:(0,i.tZ)(l.Z,{sx:{background:X.lU.BACKGROUND_SECONDARY_COLOR,borderRadius:3},elevation:3,children:(0,i.BX)(c.ZP,{container:!0,justifyContent:"center",maxWidth:657,py:8,px:F?2:$?4:8,children:[(0,i.tZ)(v.Z,{title:Q("login:login"),align:"center"}),(0,i.BX)(c.ZP,{container:!0,rowSpacing:1.5,columnSpacing:2,mt:4,children:[(0,i.tZ)(c.ZP,{item:!0,xs:12,sm:12,md:12,children:(0,i.tZ)(f.Z,{fullWidth:!0,control:tt,name:"username",rules:{...(0,W.Qn)(Q("common:validate.required")),...(0,W.BS)(100,Q("common:validate.maximumCharacters",{value:100}))},label:Q("login:account"),placeholder:Q("login:placeAccount"),InputProps:{startAdornment:(0,i.tZ)(s.Z,{position:"start",children:(0,i.tZ)(Y.Z,{})})}})}),(0,i.tZ)(c.ZP,{item:!0,xs:12,sm:12,md:12,sx:{position:"relative"},children:(0,i.tZ)(f.Z,{fullWidth:!0,name:"password",control:tt,label:Q("login:password"),placeholder:Q("login:placePassword"),rules:{...(0,W.Qn)(Q("common:validate.required"))},type:t?"text":"password",InputProps:{endAdornment:(0,i.tZ)(a.Z,{onClick:()=>e(!t),size:"small",children:t?(0,i.tZ)(U.Z,{sx:{color:X.eM.main}}):(0,i.tZ)(j.Z,{sx:{color:X.eM.main}})}),startAdornment:(0,i.tZ)(s.Z,{position:"start",children:(0,i.tZ)(T.Z,{})})}})}),(0,i.tZ)(c.ZP,{item:!0,container:!0,xs:12,sm:12,md:12,justifyContent:"flex-end",children:(0,i.tZ)(P.Z,{to:N.Z.forgotPassword,children:(0,i.tZ)(y.Z,{sx:{textDecoration:"underline",color:X.lU.PRIMARY},children:"".concat(Q("login:forgotPassword"),"?")})})}),(0,i.BX)(c.ZP,{item:!0,container:!0,xs:12,sm:12,md:12,alignItems:"center",flexDirection:"column",mt:1.5,children:[(0,i.tZ)(R.Z,{text:Q("login:login"),fullWidth:!0,type:"submit",onClick:te(t=>V((0,L.login)({data:t,setError:H,notify:()=>(0,D.CZ)(Q("login:loginSuccess"))}))),size:"medium"}),(0,i.tZ)(S.Z,{sx:{my:4}}),(0,i.tZ)(A.Z,{children:"".concat(Q("login:noAccount"),"?")}),(0,i.tZ)(b.Z,{text:Q("register:register"),fullWidth:!0,onClick:()=>K.push(N.Z.signup),sx:{mt:"16px"},size:"medium"})]})]})]})})}),(0,i.tZ)(d.Z,{open:(0,z.aT)(G),maxWidth:"xs",fullWidth:!0,onClose:tn,children:(0,i.BX)(c.ZP,{sx:{background:X.lU.BACKGROUND_SECONDARY_COLOR},children:[(0,i.tZ)(Z.Z,{variant:"h5",color:"white",children:Q("login:errorLogin")}),(0,i.tZ)(u.Z,{children:(0,i.tZ)(c.ZP,{mt:2,mb:1,children:(0,i.tZ)(x.H6,{children:null==n?void 0:n.error_description})})}),(0,i.tZ)(h.Z,{children:(0,i.tZ)(k.PL,{onClick:tn,children:Q("user:close")})})]})})]}),(0,i.tZ)(_.Z,{isTitle:!0,sx:{py:6}})]})}}}]);
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.