PageSourceSearch

https://ufabet.mobile/react/assets/UI_Fintech.BgsQd_0W.js

js ufabet.mobile collected 2026-10-04 20:35:36 UTC 6,479 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-react.ELhBuE2q.js";import{f as b,W as o,a1 as T,al as q,aj as N,am as M,a4 as g}from"./app-shared.CdUkAbk4.js";import{S as P}from"./SmartInput.DfKyFp4R.js";import{S as y}from"./TextBox.D9WGVcEh.js";import{D as X}from"./DepositQrCode.CUTlXrG5.js";import{I as H}from"./ImageCrop.BEdL8ohD.js";import{b as k}from"./paymentTarget.5Km7-Lnh.js";import{D as J,a as K,b as w}from"./DepositBlocksFintech.BA6kFzvJ.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-i18n.DvM0XvO9.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";import"./browser.BEzwImBN.js";import"./imageDataUrl.DuzSldQ7.js";const pe=({order:v})=>{var j,u;const{t:s,step:i,dataBank:a,dataUser:t,minDeposit:C,formData:x,quickAmounts:S,handleAmountChange:D,handleQuickAmountClick:F,submitData:z,hideBankInfo:I,target:l,handleCopyClick:$,handleCopyAmount:R,isUpload:r,timer:c,type:A,qrLink:E,uploadedImageUrl:_,handleFileChange:U,fileInputRef:Q,scanQrCode:W,cropScanStatus:m,slipToGateway:p,slipGuard:h,slipDataUrl:f,preSubmitData:B,retryIn:d}=v;return e.jsxs("div",{className:"max-w-[480px] depmodal-capframe",children:[e.jsxs(b,{styleName:"bg_depmodal_cap_fintech",className:"flex-none flex flex-col gap-[10px]",children:[e.jsx(y,{styleName:"text_title_depmodal_fintech",label:s("deposit_money")}),i==1&&e.jsxs("span",{className:"bg_depmodal_bank_fintech w-full flex items-center gap-3",children:[e.jsx("span",{className:"bg_depmodal_logo_fintech flex items-center justify-center flex-none overflow-hidden",children:e.jsx("img",{src:k(a==null?void 0:a.bank_name),alt:(a==null?void 0:a.bank_name)||"bank",className:"h-full w-full object-contain"})}),e.jsx("span",{className:"flex-1 min-w-0 flex flex-col",children:e.jsx("span",{className:"text_depmodal_bankname_fintech truncate",children:a==null?void 0:a.account_name})})]}),i==2&&!I&&e.jsxs("span",{className:"bg_depmodal_bank_fintech w-full flex items-center gap-3",children:[e.jsx("span",{className:"bg_depmodal_logo_fintech flex items-center justify-center flex-none overflow-hidden",children:e.jsx("img",{src:l.logo,alt:l.bankName||"bank",className:"h-full w-full object-contain"})}),e.jsxs("span",{className:"flex-1 min-w-0 flex flex-col",children:[e.jsx("span",{className:"text_depmodal_bankname_fintech truncate",children:l.bankName}),e.jsx("span",{className:"text_depmodal_capmeta_fintech truncate",children:l.accoName}),e.jsx("span",{className:"text_depmodal_capmeta_fintech truncate",children:l.accoNo})]}),e.jsxs(o,{onClick:$,styleName:"btn_copy_cap_depmodal_fintech",className:"flex flex-col items-center gap-0.5 flex-none cursor-pointer",children:[e.jsx(T,{size:15,strokeWidth:2,"aria-hidden":"true"}),e.jsx("span",{children:s("copy_cus")})]})]})]}),e.jsx("div",{className:"depmodal-cap-scroll",children:e.jsxs(b,{styleName:"bg_depmodal_fintech",className:"w-full relative flex flex-col gap-[14px]",children:[i==1&&e.jsxs(e.Fragment,{children:[e.jsx(y,{styleName:"text_description_modal_deposit_fintech",label:`${s("please_choose_a_deposit_method_and_deposit_only_minimum")} ${C} ${s("baht")}`}),e.jsx(P,{styleName:"deposit_fintech",type:"text",name:"deposit",value:x.amount,onChange:D,placeholder:`${s("enter_amount")}`}),e.jsx("div",{className:"grid grid-cols-4 gap-[8px]",children:S.map(n=>e.jsx(o,{onClick:()=>F(n),type:"submit",styleName:"btn_preset_depmodal_fintech",activeStyle:String(x.amount)===String(n),label:n},`preSetDeposit_${n}`))}),e.jsx(o,{onClick:z,type:"submit",styleName:"btn_confirm_depmodal_fintech",label:s("confirm")})]}),i==2&&e.jsxs(e.Fragment,{children:[l.amount&&e.jsx(J,{t:s,amount:l.amount,timer:c,onCopy:R}),e.jsxs("span",{className:"bg_depmodal_warn_fintech w-full flex flex-col gap-1.5",children:[e.jsxs("span",{className:"flex gap-1 flex-wrap items-center justify-center",children:[e.jsxs("span",{children:["**",s("use_account_number")]}),e.jsx("img",{src:k((j=t==null?void 0:t.customer)==null?void 0:j.bank_name),alt:"bank",className:"h-[18px] w-[18px] object-contain rounded-full"}),e.jsx("span",{children:(u=t==null?void 0:t.customer)==null?void 0:u.bank_acco_number}),e.jsxs("span",{children:[s("deposit_money_only"),"**"]})]}),e.jsx("span",{className:"text-center",children:s("please_transfer_the_decimal_points")})]}),e.jsx(K,{t:s,withSlipRule:r}),r?e.jsxs("span",{className:"w-full flex justify-between items-center gap-2",children:[e.jsx("span",{className:"text_depmodal_kv_fintech",children:s("upload_slip")}),!l.amount&&e.jsx(w,{t:s,timer:c})]}):!l.amount&&c>0&&e.jsx("span",{className:"w-full flex justify-center",children:e.jsx(w,{t:s,timer:c})}),A=="text"&&e.jsx(X,{url:E}),r&&(a.bank_name==$bank.BEAR?e.jsx("div",{className:"flex justify-center my-2",children:e.jsxs("label",{htmlFor:"file-upload",className:"bg_depmodal_upload_fintech relative w-full max-w-[310px] h-[300px] flex flex-col items-center justify-center cursor-pointer overflow-hidden",children:[_?e.jsx("img",{src:_,alt:"Uploaded Slip Preview",className:"w-full h-full object-cover"}):e.jsxs(e.Fragment,{children:[e.jsx(q,{size:44,strokeWidth:1.5}),e.jsx("span",{className:"text_depmodal_upload_fintech mt-[10px]",children:s("upload_slip")})]}),e.jsx("input",{id:"file-upload",type:"file",className:"hidden",accept:"image/*",onChange:U,ref:Q})]})}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"",children:e.jsx(H,{onChange:(n,G,L)=>{W(n,G,L)}})}),m===1&&e.jsxs("div",{className:"flex items-center gap-2 text-[#00B074]",children:[s("qr_ready_msg")," ",e.jsx(N,{size:18})]}),m===2&&!p&&e.jsxs("div",{className:"flex items-center gap-2 text-[#F04E3E]",children:[s("qr_not_ready_msg")," ",e.jsx(M,{size:18})]}),h.done&&e.jsxs("div",{className:"flex items-center gap-2 text-[#00B074]",children:[s("checking_slip")," ",e.jsx(N,{size:18})]}),e.jsxs("div",{className:"text_depmodal_note_fintech flex items-center",children:[e.jsx("div",{className:"w-[20px]",children:e.jsx(g,{size:15})}),e.jsx("span",{children:s("please_upload_the_receipt_within_15_minutes")})]}),e.jsxs("div",{className:"text_depmodal_note_fintech flex gap-[4px]",children:[e.jsx("div",{className:"w-[20px]",children:e.jsx(g,{size:15})}),e.jsx("span",{children:s("please_upload_the_receipt_some_bank")})]})]})),e.jsx("div",{className:m===1||p&&f?"sticky bottom-0 z-20":"",children:e.jsx(o,{onClick:B,disabled:!h.canSend(f)||(p?!1:m!==1)||d>0,type:"submit",styleName:"btn_confirm_depmodal_fintech",label:d>0?s("slip_retry_in",{sec:d}):s("confirm")})})]})]})})]})};export{pe 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.