PageSourceSearch

https://nagapoker.is/build/assets/ForgetPassword-T9bKEvXu.js

js nagapoker.is collected 2026-09-25 12:46:41 UTC 7,928 bytes, 1 lines download raw bytes

1import{o as q,A as P,v as N,x as k,j as o,q as d,f as c,I as g,i as x,G as L,B as r,y as s,L as M,F as A,l as R,P as T,p as F,H as $,a as v,b as I}from"./@vue-4474Gfnj.js";import E from"./Master-C-BPO2ui.js";import{P as K}from"./PrimaryButton-BPUnXbti.js";import{_ as u,a as p}from"./TextInput-hPSqJxED.js";import{a as z,u as j}from"./@inertiajs-7zqq8wgj.js";import{a as D}from"./axios-DjWHqwoD.js";import"./Header-DricLq1r.js";import"./app-CC255QP7.js";import"./laravel-vite-plugin-DEL3ZhID.js";import"./@iconify-DROonR5K.js";import"./vue-fast-marquee-CkwowO8X.js";import"./qs-C7saBnVC.js";import"./side-channel-BLCytySV.js";import"./es-errors-B3qLL4WI.js";import"./object-inspect--bXPCECa.js";import"./side-channel-list-BCZJqq54.js";import"./side-channel-map-D4vBmt7j.js";import"./get-intrinsic-DvtG1oIa.js";import"./es-object-atoms-BR76m4z7.js";import"./math-intrinsics-DP1tGiab.js";import"./gopd-C1lCZ5Qs.js";import"./es-define-property-D_7cP-M3.js";import"./has-symbols-BaUvM3gb.js";import"./get-proto-MZ3MALak.js";import"./dunder-proto-C6VzgWTX.js";import"./call-bind-apply-helpers-C9UlVOU4.js";import"./function-bind-CHqF18-c.js";import"./hasown-DwiY0sux.js";import"./call-bound-B0s5y60d.js";import"./side-channel-weakmap-Kf8cPeRJ.js";import"./lodash-es-DY0-vtN4.js";import"./laravel-precognition-BqdyoEeO.js";import"./InfoMarq-ch0ch5gJ.js";import"./Footer-CfBK3qku.js";/* empty css                                                               */const O={class:"red-box-cus container mx-auto px-2 pb-4"},Z={key:0,class:"mb-4 p-3 bg-red-600 text-white rounded-lg text-sm"},G={key:1,class:"mb-4 p-3 bg-green-600 text-white rounded-lg text-sm"},W={class:"flex"},H={class:"flex items-center gap-2 w-9/12"},J={class:"flex"},Q={class:"flex items-center gap-2 w-9/12"},X=["value","data-minlength","data-maxlength"],Y=["data-maxlength"],ee={class:"flex"},te={class:"flex items-center gap-2 w-9/12"},ae={class:"flex"},oe={class:"flex items-center gap-2 w-9/12"},ne={class:"flex"},se={class:"flex items-center gap-2 w-9/12"},le={class:"flex flex-1 gap-2"},re={class:"flex"},ie={class:"flex items-center gap-2 mt-1 w-9/12"},me=["src"],de={class:"flex flex-col items-center gap-4 pt-4"},Ze={__name:"ForgetPassword",props:{tittleweb:String,listBank:Array},setup(V){const C=j(),w=I(()=>{var l;return((l=C.props.value)==null?void 0:l.flash)||{}}),h=v(!1),i=v(""),t=z({username:"",bankname:"",baname:"",bano:"",phone:"",captcha:""}),b=v("/captcha"),S=()=>{b.value="/captcha?v="+Date.now()},U=async()=>{var l;i.value="";try{const e={username:t.username,bankname:t.bankname,baname:t.baname,bano:t.bano,phone:t.phone,captcha:t.captcha},n=await D.post(route("password.forget.post"),e);if(n!=null&&n.data){if(n.data.error){i.value=n.data.error;return}if(n.data.success){i.value=n.data.success;return}}const a=(l=n.request)==null?void 0:l.responseURL;a&&a!==window.location.href&&(window.location.href=a)}catch(e){if(e.response&&e.response.data){const n=e.response.data;typeof n=="string"?i.value=n:n.error?i.value=n.error:n.message?i.value=n.message:i.value="Terjadi kesalahan. Silakan coba lagi."}else i.value="Terjadi kesalahan jaringan. Silakan periksa koneksi Anda."}},f=()=>{const l="/captcha/default";h.value=!0,b.value=l+"?_="+Math.random(),t.captcha=""};function y(l){var _;const e=document.querySelector("#the_bname option:checked");let n=(e==null?void 0:e.getAttribute("data-maxlength"))||20;const a=((_=document.querySelector("#the_bname"))==null?void 0:_.value)||"";document.querySelector("#the_baname");const m=document.querySelector("#the_bano");m&&(m.maxLength=n),a!=="BCA"?t.baname=t.baname.replace(/[^a-zA-Z .'\u00C0-\u024F]/g,""):t.baname.substr(0,3).toUpperCase().startsWith("GJK")?(t.baname=t.baname.replace(/[^a-zA-Z0-9-]/g,""),m&&(m.maxLength=20)):t.baname=t.baname.replace(/[^a-zA-Z .'\u00C0-\u024F]/g,"")}function B(){t.baname="",t.bano="";const l=document.querySelector("#the_bname option:checked"),e=(l==null?void 0:l.getAttribute("data-maxlength"))||20,n=document.querySelector("#the_bano");n&&(n.maxLength=e)}return q(()=>{S()}),(l,e)=>{const n=P("Icon");return d(),N(E,{title:"Forget Password"},{default:k(()=>[o("div",O,[e[14]||(e[14]=o("div",{class:"text-center mb-6 border-b-2 border-neutral-800"},[o("h1",{class:"text-3xl font-bold maincolor p-2 inline-block"}," LUPA PASSWORD ")],-1)),i.value?(d(),c("div",Z,g(i.value),1)):x("",!0),w.value.success?(d(),c("div",G,g(w.value.success),1)):x("",!0),o("form",{class:"space-y-4 w-7/12 mx-auto",role:"form",onSubmit:L(U,["prevent"])},[o("div",W,[r(u,{for:"username",value:"Username",class:"text-white text-left w-2/12 my-auto"}),o("div",H,[r(p,{id:"username",type:"text",class:"bg-white mt-1 block w-full border-gray-700 py-1",modelValue:s(t).username,"onUpdate:modelValue":e[0]||(e[0]=a=>s(t).username=a),placeholder:"Username Account Anda",maxlength:"10",required:"",autofocus:""},null,8,["modelValue"])])]),o("div",J,[r(u,{for:"bankname",value:"Nama Bank",class:"text-white text-left w-2/12 my-auto"}),o("div",Q,[M(o("select",{name:"bankname",class:"bg-white mt-1 block w-full border-gray-700 rounded py-1",id:"the_bname",required:"","onUpdate:modelValue":e[1]||(e[1]=a=>s(t).bankname=a),onChange:B},[e[11]||(e[11]=o("option",{value:""},"-- Pilih Bank --",-1)),(d(!0),c(A,null,R(V.listBank,(a,m)=>(d(),c(A,{key:m},[o("option",{value:a.bank.toUpperCase(),"data-minlength":a.minLength,"data-maxlength":a.maxLength},g(a.bankname),9,X),a.bank.includes("PERMATA")?(d(),c("option",{key:0,value:"KOSPINPERMATA","data-minlength":16,"data-maxlength":a.maxLength},"KOSPIN PERMATA",8,Y)):x("",!0)],64))),128))],544),[[T,s(t).bankname]])])]),o("div",ee,[r(u,{for:"the_baname",value:"Nama Rekening",class:"text-white text-left w-2/12 my-auto"}),o("div",te,[r(p,{id:"the_baname",type:"text",class:"bg-white mt-1 block w-full border-gray-700 py-1",modelValue:s(t).baname,"onUpdate:modelValue":e[2]||(e[2]=a=>s(t).baname=a),placeholder:"Nama Rekening Anda",maxlength:"50",required:"",onKeyup:y,onBlur:y},null,8,["modelValue"])])]),o("div",ae,[r(u,{for:"the_bano",value:"Nomor Rekening",class:"text-white text-left w-2/12 my-auto"}),o("div",oe,[r(p,{id:"the_bano",type:"text",class:"bg-white mt-1 block w-full border-gray-700 py-1",modelValue:s(t).bano,"onUpdate:modelValue":e[3]||(e[3]=a=>s(t).bano=a),placeholder:"Nomor Rekening Anda",maxlength:"16",required:"",onInput:e[4]||(e[4]=a=>s(t).bano=s(t).bano.replace(/[^0-9]/g,""))},null,8,["modelValue"])])]),o("div",ne,[r(u,{for:"phone",value:"No Telepon",class:"text-white w-2/12 my-auto"}),o("div",se,[o("div",le,[e[12]||(e[12]=o("input",{type:"text",value:"+62",readonly:"",class:"w-16 px-3 py-2 bg-gray-600 border border-gray-700 rounded-md text-white cursor-not-allowed"},null,-1)),r(p,{id:"phone",type:"text",class:"flex-1 bg-white border-gray-700",modelValue:s(t).phone,"onUpdate:modelValue":e[5]||(e[5]=a=>s(t).phone=a),onKeyup:e[6]||(e[6]=a=>s(t).phone=s(t).phone.replace(/[^0-9]/g,"").replace(/^0+/,"")),placeholder:"Nomor Telepon Anda",maxlength:"13",required:""},null,8,["modelValue"])])])]),o("div",re,[r(u,{for:"captcha",value:"Validation",class:"text-white w-2/12 my-auto"}),o("div",ie,[r(p,{id:"captcha",type:"text",class:"w-40 bg-white border-gray-700",modelValue:s(t).captcha,"onUpdate:modelValue":e[7]||
1(e[7]=a=>s(t).captcha=a),onFocus:e[8]||(e[8]=a=>{s(t).captcha="",f()}),placeholder:"Captcha",maxlength:"5",onKeyup:e[9]||(e[9]=a=>s(t).captcha=s(t).captcha.replace(/[^0-9]/g,"")),required:""},null,8,["modelValue"]),o("img",{src:b.value,alt:"Captcha",class:"h-10 rounded cursor-pointer",onClick:f,onLoad:e[10]||(e[10]=a=>h.value=!1)},null,40,me),o("button",{type:"button",onClick:f,class:"text-[#f99f38] hover:text-[#ffb84d] transition-transform"},[r(n,{icon:"zondicons:reload",class:F({"animate-spin":h.value}),width:"20",height:"20"},null,8,["class"])])])]),o("div",de,[r(K,{class:"btn-cus btn-blue"},{default:k(()=>[...e[13]||(e[13]=[$(" SUBMIT ",-1)])]),_:1})])],32)])]),_:1})}}};export{Ze 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.