1(this.webpackJsonpbrightics_ai=this.webpackJsonpbrightics_ai||[]).push([[54],{1153:function(e,c,t){},1218:function(e,c,t){"use strict";t.r(c),t.d(c,"default",(function(){return f}));var a=t(66),n=t(1),s=t(52),i=t(90),l=t(353),r=t(629),o=t(630),d=t(45),j=t(599),m=t(64),b=t(108),h=t(226),u=t(265),p=t(645),O=t(3),x=t(229),v=t(264),N=(t(1153),t(2));function f(){var e=Object(s.g)(),c=Object(d.d)(),t=Object(j.a)(),f=t.t,g=t.i18n,C=Object(n.useState)(),y=Object(a.a)(C,2),w=y[0],R=y[1],k=Object(n.useState)(!1),F=Object(a.a)(k,2),S=F[0],I=F[1],T=Object(d.e)((function(e){return e.authReducer.isAuth})),W=r.e({name:r.g().trim().required("".concat(f("home.NameRequired"))),phone:r.g().required("".concat(f("home.PhoneRequired")))}),A=Object(o.a)({onSubmit:function(e){var t,a=new m.a,n=Object(x.a)(),s=e.phone.split("-").join("");a.findId({phoneNumber:s,name:e.name.trim(),country:null===(t=n.find((function(c){return c.id===e.areaCode})))||void 0===t?void 0:t.prefix}).pipe(Object(b.a)((function(e){return Object(l.a)(I(!0),R(e.message))})),Object(h.a)((function(e){return Object(l.a)(c(Object(O.d)({message:null===e||void 0===e?void 0:e.message,variant:"error"})))}))).subscribe()},initialValues:{name:"",phone:"",areaCode:0},validationSchema:W});return Object(n.useEffect)((function(){A.validateForm()}),[A.validateForm,g.language]),Object(n.useEffect)((function(){T&&e.push("/")}),[T,e]),Object(N.jsxs)("div",{className:"forget-id",children:[Object(N.jsx)("div",{className:"contW",children:Object(N.jsx)("main",{role:"main",id:"contents",className:"mainContW bgGray02 pB80",children:Object(N.jsx)("form",{onSubmit:A.handleSubmit,children:Object(N.jsxs)("section",{className:"container boxRelative mT60",children:[Object(N.jsx)("div",{className:"locationW",children:Object(N.jsxs)("ul",{className:"location",children:[Object(N.jsx)("li",{children:Object(N.jsx)(i.a,{to:"/",className:"txtGray01",children:"Home >\xa0"})}),Object(N.jsx)("li",{children:f("home.FindId")})]})}),Object(N.jsx)("h3",{className:"tit01",children:f("home.FindId")}),Object(N.jsx)("div",{className:"txt03 mT25",children:f("home.CheckInformation")}),Object(N.jsx)("div",{className:"contBox01 mT25 pL219 pR219",children:Object(N.jsxs)("div",{className:"tblW fs14",children:[Object(N.jsxs)("div",{className:"tblRow",children:[Object(N.jsxs)("div",{className:"tblCell width200 txtMedium",children:[f("home.Name")," ",Object(N.jsx)("span",{className:"txtRed",children:"*"})]}),Object(N.jsx)("div",{className:"tblCell",children:Object(N.jsx)("div",{className:"inputW ".concat(A.touched.name&&A.errors.name?"error":""),children:Object(N.jsxs)("div",{className:"inputTxt pwErrorCheck",children:[Object(N.jsx)("input",{type:"text",id:"",name:"name",value:A.values.name,className:"inputData",placeholder:f("home.InputYourName"),onChange:A.handleChange}),A.touched.name&&A.errors.name&&Object(N.jsx)("p",{className:"errorMsg",children:A.errors.name})]})})})]}),Object(N.jsxs)("div",{className:"tblRow",children:[Object(N.jsxs)("div",{className:"tblCell pT24 width200 txtMedium",children:[f("home.Phone")," ",Object(N.jsx)("span",{className:"txtRed",children:"*"})]}),Object(N.jsx)("div",{className:"tblCell pT24",children:Object(N.jsxs)("div",{className:"clearfix",children:[Object(N.jsx)("div",{className:"floatL",children:Object(N.jsx)("div",{className:"selectW disInBlock vAlignMiddle phone-number",children:Object(N.jsx)(u.a,{name:"areaCode",handleChange:A.setFieldValue,libSelect:Object(x.a)(),itemSelected:A.values.areaCode})})}),Object(N.jsx)("div",{className:"floatR phone-input",children:Object(N.jsx)("div",{className:"inputW disInBlock mL6 vAlignMiddle ".concat(A.touched.phone&&A.errors.phone?"error":""),children:Object(N.jsxs)("div",{className:"inputTxt",children:[Object(N.jsx)(p.a,{name:"phone",value:A.values.phone,placeholder:f("home.InputPhone"),handleChange:A.setFieldValue}),A.touched.phone&&A.errors.phone&&Object(N.jsx)("p",{className:"errorMsg",children:A.errors.phone})]})})})]})})]})]})}),Object(N.jsx)("div",{className:"clearfix mT24",children:Object(N.jsxs)("div",{className:"floatR",children:[Object(N.jsx)("a",{className:"btnSecond02 btnSize01 pointer",onClick:function(){Object(v.a)({title:"".concat(f("dialog.confirm")),body:"".concat(f("dialog.cancelPopup"))}).then((function(){e.push("/login")}),(function(){}))},children:f("dialog.cancel")}),Object(N.jsx)("button",{type:"submit",className:"btnPrimary btnSize01 mL8 submit-btn pointer",children:f("home.FindId")})]})})]})})})}),Object(N.jsxs)("div",{className:"popFixedWrap popIDFind ".concat(S?"open-popup":""),children:[Object(N.jsxs)("section",{className:"popWrap popFeedback",children:[Object(N.jsx)("button",{type:"button",className:"btnClose",onClick:function(){I(!1)}}),Object(N.jsx)("div",{className:"popBody pobBodyNotical",children:Object(N.jsxs)("div",{className:"popCont",children:[Object(N.jsx)("div",{className:"popTit01",children:f("home.FindId")}),Object(N.jsx)("div",{className:"minH86",children:w}),Object(N.jsx)("div",{className:"mT16 txtR",children:Object(N.jsx)(i.a,{to:"/login",className:"btnPrimary btnSize03",children:f("home.Confirm")})})]})})]}),Object(N.jsx)("div",{className:"dim ".concat(S?"active":"")})]})]})}},645:function(e,c,t){"use strict";t.d(c,"a",(function(){return l}));var a=t(1),n=t.n(a),s=t(10),i=t(2);function l(e){var c=e.name,t=e.handleChange,a=e.value,l=e.placeholder,r=e.classProp,o=/^[0-9-\b]+$/,d=/^[0-9\b]+$/;return Object(i.jsx)(n.a.Fragment,{children:Object(i.jsx)("input",{type:"tel",className:"inputData ".concat(r||""),value:Object(s.t)(a),placeholder:l,onChange:function(e){var a=e.target.value;if(o.test(a)||""===a){var n=Object(s.t)(a);t(c,n)}},onKeyDown:function(e){var c=e.key,t=e.which||e.keyCode;(e.ctrlKey?e.ctrlKey:17===t)&&["c","v","a","x","z"].includes(c)||["Tab","Backspace","ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(c)||d.test(c)||e.preventDefault()}})})}}}]);
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.