PageSourceSearch

https://pgwin88.club/react/assets/FormAncient.Bz5-pbtx.js

js pgwin88.club collected 2026-10-07 16:46:24 UTC 3,962 bytes, 1 lines download raw bytes

1import{r as j,j as s}from"./vendor-react.ELhBuE2q.js";import{u}from"./useChangePassword.Bs5bY47g.js";import{S as m}from"./SmartInput.CvcH83cQ.js";import{z as N,aC as g,W as x}from"./app-shared.vGCh5Fta.js";import{S as r}from"./TextBox.D0N7I57m.js";import{C as l}from"./Correct.BodzphQ8.js";import{R as y}from"./RandomPassword.BcHwivz_.js";import"./useForm.CzjyTpF3.js";import"./validators.ClER9loN.js";import"./passwordRules.Cf8cmGql.js";import"./index.CL3JG3S5.js";import"./vendor-moment.BLMuvzoS.js";import"./gVar.BMCpjf-P.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-i18n.DvM0XvO9.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-axios.NIGUFBhG.js";function M({dataEvent:o,onClose:d}){const a=N("ancient"),{t:e,user:_,formData:n,errors:t,handleInputChange:c,ExamPassword:h,hintColor:i,submit:w,finishOnModal:p,randomPasswordBox:f}=u();return j.useEffect(()=>{p===!0&&d()},[p]),s.jsx("div",{className:`m-auto  ${o?"max-w-[370px]":"max-w-[500px]"}`,children:s.jsx("div",{className:"",children:s.jsxs("div",{className:"relative flex flex-col  p-4",children:[s.jsxs("div",{className:`${o?"mt-[60px]":"mt-5 "} mb-5 flex flex-col items-center w-full`,children:[s.jsxs("div",{className:"flex items-center justify-center gap-2",children:[s.jsx(g,{size:20,strokeWidth:2.2,"aria-hidden":"true",style:{color:a,filter:`drop-shadow(0 0 5px ${a}80)`}}),s.jsx(r,{styleName:"text_title_change_password_ancient",label:e("change_password")})]}),s.jsx("div",{"aria-hidden":"true",className:"mt-1.5",style:{height:"2px",width:"120px",background:`linear-gradient(90deg, transparent, ${a}66, ${a}, ${a}66, transparent)`}})]}),_.cust_status!==3&&s.jsxs(s.Fragment,{children:[s.jsx(r,{styleName:"text_label_change_password_ancient",className:"mb-5 text-left",label:e("please_enter_the_old_password_correctly")}),s.jsx("div",{children:s.jsx(m,{styleName:"change_password_ancient",type:"password",name:"old_password",value:n.old_password,onChange:c,placeholder:`${e("old_password")}`,error:`${(t==null?void 0:t.old_password)||""}`})})]}),s.jsx(r,{styleName:"text_label_change_password_ancient",className:"mb-5 text-left",label:e("set_new_password")}),s.jsxs("div",{children:[s.jsx(m,{styleName:"change_password_ancient",type:"password",name:"password",value:n.password,onChange:c,placeholder:`${e("set_new_password")}`,error:`${(t==null?void 0:t.password)||""}`}),s.jsx(r,{styleName:"text_label_change_password_ancient",className:"mb-3 mt-4 text-left",label:e("confirm_password")}),s.jsx(m,{styleName:"change_password_ancient",type:"password",name:"password_confirmation",value:n.password_confirmation,onChange:c,placeholder:`${e("password_confirmation")}`,error:`${(t==null?void 0:t.password_confirmation)||""}`})]}),s.jsx(y,{...f}),s.jsxs("ul",{className:"flex flex-col items-start mb-5 font-bold gap-3",children:[s.jsxs("li",{className:"text-left text-[14px] flex gap-2 items-center ",children:[s.jsx("div",{className:"w-18px",style:{color:a},children:s.jsx(l,{color:i(0)})})," ",s.jsx("span",{children:e("your_password_must_characters")})]}),s.jsxs("li",{className:"text-left text-[14px] flex gap-2 items-center",children:[s.jsx("div",{className:"w-18px",style:{color:a},children:s.jsx(l,{color:i(1)})}),s.jsxs("span",{children:[" ",e("your_password_letters_and_numbers")]})]}),s.jsxs("li",{className:"text-left text-[14px] flex gap-2 items-center",children:[s.jsx("div",{className:"w-18px",style:{color:a},children:s.jsx(l,{color:i(2)})}),s.jsxs("span",{children:[" ",e("reset_password_rule_match")]})]}),s.jsxs("li",{className:"text-left text-[14px] flex gap-2 items-center",children:[s.jsx("div",{className:"w-18px",style:{color:a},children:s.jsx(l,{})})," ","*",e("exam_change_password"),s.jsx(h,{})]})]}),s.jsx(x,{styleName:"btn_submit_change_password_ancient",label:e("confirm"),onClick:()=>w()}),o&&s.jsx("div",{className:"mt-4",children:s.jsx(x,{styleName:"btn_close_change_password_ancient",label:e("cancel"),onClick:()=>d()})})]})})})}export{M as default};

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.