PageSourceSearch

https://voli.ai/_next/static/chunks/pages/join/cert-c02d12bcaf5679f8.js

js voli.ai collected 2026-10-05 13:14:26 UTC 7,826 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6521],{91191:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/join/cert",function(){return t(29584)}])},29584:function(e,n,t){"use strict";t.r(n);var i=t(47568),r=t(97582),o=t(85893),c=t(67294),a=t(4480),s=t(9008),u=t.n(s),l=t(11163),_=t(85379),d=t(93965),m=t(50375),f=t(7926),p=t(38825),h=t(58516),j=t(46378),g=function(){var e,n,t,s=(0,d.$G)("join").t,g=(0,l.useRouter)(),b=(0,a.sJ)(p.NV).email,v=(0,a.Zl)(f.Hj),x=(0,c.useState)("before"),C=x[0],N=x[1],y=(0,c.useRef)(!1),k=(0,c.useRef)(null),q=(0,c.useState)(180),w=q[0],E=q[1],A=(0,c.useState)(""),M=A[0],Z=A[1],F=(0,c.useState)(!1),R=F[0],S=F[1],D=(0,c.useState)(s("certificationPage.guide")),P=D[0],G=D[1],I=(0,c.useState)(""),L=I[0],O=I[1],B=(0,m.fe)(b),T=(0,m.md)(b,M),K=function(){k.current=setInterval(function(){E(function(e){return e-1})},1e3)},V=function(e){return Z(e.target.value)},X=(e=(0,i.Z)(function(){var e,n;return(0,r.__generator)(this,function(n){switch(n.label){case 0:if(y.current)return[2];y.current=!0,N("ing"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,B.mutateAsync()];case 2:return(e=n.sent())&&e.success&&((0,_.vV)(b),y.current=!1),[3,4];case 3:return n.sent(),E(0),alert(s("certificationPage.sendFailError")),[3,4];case 4:return[2]}})}),function(){return e.apply(this,arguments)}),Q=(n=(0,i.Z)(function(){var e,n,t;return(0,r.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,T.mutateAsync()];case 1:if(e=n.sent()){if(e.success)G(s("certificationPage.completeGuide")),S(!0);else throw Error}return[3,3];case 2:if(400===n.sent().data.code)return O(s("certificationPage.codeWrongError")),[2];return v(!0),[3,3];case 3:return[2]}})}),function(){return n.apply(this,arguments)}),U=(t=(0,i.Z)(function(){return(0,r.__generator)(this,function(e){return R&&g.push("/join/password"),[2]})}),function(){return t.apply(this,arguments)});return(0,c.useEffect)(function(){""===b&&g.push("/login/email")},[b]),(0,c.useEffect)(function(){var e=(0,_.ej)("certE");if(e&&b===e.split("/")[0]){var n=(new Date(e.split("/")[1]).getTime()-new Date().getTime())/1e3;n>0&&(E(Number(n.toFixed(0))),N("ing"))}return function(){k.current&&clearInterval(k.current)}},[]),(0,c.useEffect)(function(){""!==L&&O("")},[M]),(0,c.useEffect)(function(){"ing"===C&&K(),"after"!==C||(E(180),R||Z(""))},[C]),(0,c.useEffect)(function(){k.current&&!w&&(clearInterval(k.current),N("after"))},[w]),(0,c.useEffect)(function(){R&&clearInterval(k.current)},[R]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(u(),{children:[(0,o.jsx)("title",{children:s("title")}),(0,o.jsx)("meta",{property:"og:title",content:s("title")})]}),(0,o.jsx)(h.Z,{iconSrc:"/images/user/email-icon.svg",title:s("certificationPage.title"),content:(0,o.jsx)(j.Z,{certState:C,email:b,timer:"".concat(Math.floor(w/60),":").concat(w%60<10?"0".concat(w%60):"".concat(w%60)),isRequestActive:!0,code:M,codeGuideMsg:""!==M&&""===L?P:void 0,codeErrorMsg:L,isContinueActive:R,onCodeChange:V,onRequestClick:X,onCodeConfirmClick:Q,onContinueClick:U})})]})};n.default=g},58516:function(e,n,t){"use strict";var i=t(85893);t(67294);var r=t(18654),o=t.n(r),c=function(e){var n=e.iconSrc,t=e.title,r=e.question,c=e.content;return(0,i.jsx)("div",{className:o().wrap,children:(0,i.jsx)("div",{id:"container",className:o().container,children:(0,i.jsxs)("div",{className:o().content_area,children:[(0,i.jsxs)("div",{className:o().title_area,children:[(0,i.jsx)("img",{src:n,alt:"",width:32,height:32,"aria-hidden":!0}),(0,i.jsx)("h1",{className:o().title,children:t}),r&&(0,i.jsx)("span",{className:o().question,children:r})]}),c]})})})};n.Z=c},36993:function(e,n,t){"use strict";var i=t(85893),r=t(18654),o=t.n(r),c=t(93965),a=function(e){var n=e.text,t=e.isDisabled,r=e.onClick,a=(0,c.$G)("join").t;return(0,i.jsx)("button",{type:"button",name:"continue",disabled:t,onClick:r,className:o().continue_btn,children:n||a("continue")})};n.Z=a},90600:function(e,n,t){"use strict";var i=t(85893),r=t(18654),o=t.n(r);t(67294);var c=function(e){var n=e.label,t=e.isRequired,r=e.type,c=e.id,a=e.placeholder,s=e.disabled,u=e.autoFocus,l=e.value,_=e.guideMsg,d=e.errorMsg,m=e.onValueChange,f=e.onKeyDown,p=e.isButton;return(0,i.jsxs)("div",{className:o().input_area,children:[_&&(0,i.jsx)("span",{className:o().guide,children:_}),d&&(0,i.jsx)("span",{className:o().error,children:d}),(0,i.jsx)("label",{htmlFor:c,className:t?o().required:"",children:n}),(0,i.jsxs)("div",{className:o().input,children:[(0,i.jsx)("input",{type:r,id:c,value:l,onCh
1ange:m,onKeyDown:f,placeholder:a,disabled:s,autoFocus:u,autoComplete:"password"===r?"off":""}),p&&(0,i.jsx)("button",{type:"button",disabled:!p.isActive,onClick:p.onButtonClick,children:p.text})]})]})};n.Z=c},46378:function(e,n,t){"use strict";var i=t(85893);t(67294);var r=t(41664),o=t.n(r),c=t(93965),a=t(90600),s=t(36993),u=t(18654),l=t.n(u),_=t(88156),d=t.n(_),m=function(e){var n=e.certState,t=e.email,r=e.emailGuideMsg,u=e.isRequestActive,_=e.timer,m=e.code,f=e.codeGuideMsg,p=e.codeErrorMsg,h=e.isContinueActive,j=e.onCodeChange,g=e.onRequestClick,b=e.onCodeConfirmClick,v=e.onContinueClick,x=e.onEmailChange,C=(0,c.$G)("join").t,N=C("certificationPage",{returnObjects:!0});return(0,i.jsxs)("div",{className:d().content,children:[(0,i.jsxs)("div",{className:l().input_area,children:[(0,i.jsx)("label",{className:l().required,children:N.emailLabel}),r&&(0,i.jsx)("span",{className:l().error,children:r}),(0,i.jsxs)("div",{className:l().input,children:[x?(0,i.jsx)("input",{type:"text",value:t,onChange:x,placeholder:"[email protected]",className:r&&""!==r?l().input_error:""}):(0,i.jsxs)("div",{className:l().email_area,style:{maxWidth:"232px"},children:[(0,i.jsx)("span",{className:"before"!==n?l().disabled:"",children:t}),"ing"===n&&(0,i.jsx)("span",{className:l().timer,children:_})]}),(0,i.jsx)("button",{type:"button",name:"request",disabled:!u||"ing"===n,onClick:g,children:"before"===n?N.request:N.reRequest})]})]}),(0,i.jsx)(a.Z,{label:N.codeLabel,isRequired:!0,type:"text",id:"code",placeholder:"",disabled:"ing"!==n,value:m,guideMsg:f,errorMsg:p,onValueChange:j,isButton:{text:"".concat(h?N.certification:N.check),isActive:""!==m&&!h,onButtonClick:b}}),(0,i.jsx)(s.Z,{isDisabled:!h,onClick:v}),(0,i.jsx)(o(),{href:"/login",children:(0,i.jsx)("a",{className:d().underline_btn,children:C("differentLogin")})})]})};n.Z=m},18654:function(e){e.exports={pc:"common_pc__FFgu5",mobile:"common_mobile__cEH_d",hide:"common_hide__Yh0si",sr_only:"common_sr_only__6X_sV",wrap:"common_wrap__f41JY",container:"common_container__Aq3F8",content_area:"common_content_area__1PgFh",title_area:"common_title_area__nkqCK",title:"common_title__Fx4CB",question:"common_question__UoUGP",input_area:"common_input_area__8JvCL",guide:"common_guide__W2MrD",error:"common_error__DyO_q",required:"common_required__jCMIT",input_error:"common_input_error__knaAE",input:"common_input__CzYRL",email_area:"common_email_area__vLzpb",disabled:"common_disabled__fQLNr",timer:"common_timer__Idjdg",continue_btn:"common_continue_btn__OT27g",background_modal:"common_background_modal__tUqou",modal:"common_modal__jvT2l",btn_confirm:"common_btn_confirm__lfLZ_"}},88156:function(e){e.exports={pc:"join_pc__mdMuf",mobile:"join_mobile__bvj6q",hide:"join_hide__fq0Sn",sr_only:"join_sr_only__DBDpI",content:"join_content__yn4tw",underline_btn:"join_underline_btn__Ffaz0",job_item:"join_job_item__aArCK",purpose_item:"join_purpose_item__lu8sQ",terms_area:"join_terms_area__BOhDf",terms:"join_terms__OItA7",link:"join_link__ggdRK",job:"join_job__QS4lg",guide:"join_guide__yFNgr",job_list:"join_job_list__eXMPg",active:"join_active__5l4A8",belong:"join_belong__ZvNAU",purpose:"join_purpose__g21tw",purpose_list:"join_purpose_list__76XOQ"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=91191)}),_N_E=e.O()}]);

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.