1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9461],{15235:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(37876);s(14232);let a=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"flex flex-row justify-center items-center min-h-screen min-w-screen p-2 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-orange-100 via-white to-white",children:t})}},34872:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var r=s(37876),a=s(69241),n=s(29454),l=s(14232),d=s(34846),o=s(94978),c=s(96356);let i=JSON.parse('[{"code":"id","name":"Bahasa Indonesia","flag":"\uD83C\uDDEE\uD83C\uDDE9","comingsoon":false},{"code":"en","name":"English","flag":"\uD83C\uDDFA\uD83C\uDDF8","comingsoon":false},{"code":"cn","name":"Mandarin","flag":"\uD83C\uDDE8\uD83C\uDDF3","comingsoon":false}]'),m=e=>{let{left:t}=e,[s,m]=(0,l.useState)(!1),{i18n:u}=(0,d.Bd)(),x=(0,l.useMemo)(()=>i.find(e=>e.code===u.language),[u.language]),g=(0,l.useRef)(null);return(0,o.A)(g,()=>m(!1)),(0,r.jsxs)("div",{className:"relative",ref:g,children:[(0,r.jsxs)("div",{className:"cursor-pointer flex items-center gap-1 text-sm text-zinc-800 hover:bg-neutral-100 p-1 rounded-md",onClick:()=>m(!0),children:[(0,r.jsx)(c.xIS,{}),(0,r.jsx)("p",{children:null==x?void 0:x.flag})]}),s&&(0,r.jsx)("div",{className:(0,a.A)("absolute top-full mt-2 shadow-xl text-black w-full p-2 grid gap-2 bg-white border border-zinc-200 rounded z-20 min-w-[200px]",t?"left-0":"right-0"),children:i.map((e,t)=>(0,r.jsxs)("div",{className:(0,a.A)("p-2 rounded-md cursor-pointer flex gap-1 items-center text-sm",e.comingsoon?"bg-gray-100 text-gray-500":e.code===u.language?"bg-orange-50 font-medium text-orange":"hover:bg-orange-50"),onClick:()=>{e.comingsoon||(m(!1),u.changeLanguage(e.code),n.A.remove("language"),n.A.set("language",e.code))},children:[(0,r.jsx)("p",{children:e.flag}),(0,r.jsx)("p",{children:e.name}),e.comingsoon&&(0,r.jsx)("p",{className:"text-orange text-[10px]",children:"coming soon"})]},t))})]})}},46465:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return s(99800)}])},77306:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var r=s(37876);s(14232);var a=s(32057),n=s(69241),l=s(34846);let d=[200,201,202],o=[300,301,400,404,405,412,500,501,502],c=e=>{var t,s;let{responses:c,type:i,reset:m,className:u,successMessage:x,errorMessage:g}=e,{t:f}=(0,l.Bd)("dashboard"),p=c[i];if(!p)return(0,r.jsx)(r.Fragment,{});let h=(0,a.jL)();setTimeout(()=>{h(m(i))},3e3);let b=null==(t=p.payload)?void 0:t.statusText,j=null==(s=p.payload)?void 0:s.status,v="bg-zinc-50",_="border-zinc-200",w="text-zinc-500",N=f("loading");return d.includes(j)?(v="bg-green-100",_="border-green-500",w="text-green-800",b&&(N="".concat(f("Created"===b?"created_successfully":"updated_successfully"))),b||(N=f("success")),x&&(N=x)):o.includes(j)?(v="bg-red-100",_="border-red-500",w="text-red-800",N=f("request_failed_with_code",{code:j}),g&&(N=g),405===j&&(N="".concat(b))):p.type.includes("rejected")&&!b&&(v="bg-red-100",_="border-red-500",w="text-red-800",N=f("unexpected_error_contact_customer_service")),(0,r.jsx)("div",{className:(0,n.A)("fixed top-5 left-1/2 transform -translate-x-1/2 flex flex-row px-2 py-1 rounded-md shadow-lg justify-center z-[2000] whitespace-break-spaces text-xs max-w-sm border",_,v,w,u),children:(0,r.jsx)("p",{children:N})})}},94978:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(14232);let a=function(e,t){(0,r.useEffect)(()=>{let s=s=>{!e||!e.current||e.current.contains(s.target)||t(s)};return document.addEventListener("mousedown",s),document.addEventListener("touchstart",s),()=>{document.removeEventListener("mousedown",s),document.removeEventListener("touchstart",s)}},[e,t])}},95232:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(37876),a=s(69241);s(14232);let n=e=>{var t;let{placeholder:s,type:n="text",className:l="",name:d,register:o,errors:c,defaultValue:i,required:m,disabled:u,max:x,min:g,onFocus:f}=e;return o&&d?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{required:m,className:(0,a.A)("text-sm border-zinc-200 border focus:ring-0 focus:ring-orange-500 focus:border-orange-500 rounded-md w-full p-2 disabled:bg-zinc-100",l),placeholder:s,type:n,defaultValue:i,disabled:u,max:x,min:g,onFocus:f,...o(d)}),(null==c?void 0:c[d])&&(0,r.jsx)("p",{className:"text-red-500 text-xs italic mb-2",children:null==(t=c[d])?void 0:t.message})]}):(0,r.jsx)("input",{required:m,className:(0,a.A)("text-sm border-zinc-200 border focus:ring-0 focus:border-orange-500 rounded-md w-full p-2 disabled:bg-zinc-100",l),placeholder:s,type:n,name:d,disabled:u,max:x,min:g,defaultValue:i,onFocus:f})}},99800:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>p});var r=s(37876),a=s(48230),n=s.n(a),l=s(14232),d=s(88992),o=s(34846),c=s(1362),i=s(32057),m=s(15235),u=s(35180),x=s(95232),g=s(77306),f=s(34872);let p=()=>{let{t:e}=(0,o.Bd)("application"),t=(0,i.jL)(),s=(0,i.GV)(e=>e.forgotPassword.responses),[a,p]=(0,l.useState)("dormant"),{register:h,handleSubmit:b,formState:{errors:j}}=(0,d.mN)(),v=async e=>{let s=await t((0,c.vt)({email:e.email}));c.vt.fulfilled.match(s)&&p("success")};return(0,r.jsx)(m.A,{children:(0,r.jsxs)("div",{className:"w-full max-w-xl flex flex-col items-center gap-8",children:[(0,r.jsx)("img",{src:"/images/logo_black_small.png"}),(0,r.jsxs)("div",{className:"flex flex-col bg-gradient-to-tl from-white to-orange-50 p-4 rounded-md shadow-md border border-black w-full",children:[(0,r.jsx)(g.A,{responses:s,type:c.vt.typePrefix,reset:c.zw,errorMessage:e("email_not_found")}),(0,r.jsxs)("div",{className:"flex justify-between mb-2",children:[(0,r.jsx)("p",{className:"font-bold text-xl text-black",children:e("forgot_password")}),(0,r.jsx)(f.A,{})]}),"success"===a&&(0,r.jsx)("div",{className:"bg-green-500 text-white text-center p-2 rounded mb-2 font-light",children:e("please_check_email_to_reset_password")}),(0,r.jsxs)("form",{onSubmit:b(v),className:"mb-4",children:[(0,r.jsx)("p",{className:"mb-1",children:e("email")}),(0,r.jsx)(x.A,{className:"mb-4",placeholder:e("email"),type:"email",name:"email",register:h,errors:j}
1),(0,r.jsx)(u.A,{className:"text-center",submit:!0,children:e("reset_password")})]}),(0,r.jsx)(n(),{href:"/register",children:(0,r.jsx)("button",{className:"text-orange text-sm",children:e("no_account_register_here")})}),(0,r.jsx)(n(),{href:"https://datapinter.com",children:(0,r.jsx)("button",{className:"text-gray-700 text-sm",children:e("back_to_home")})})]})]})})}}},e=>{e.O(0,[8230,8992,636,6593,8792],()=>e(e.s=46465)),_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.