1import{a as R}from"/build/_shared/chunk-EYBPTUPL.js";import{b as g}from"/build/_shared/chunk-VZXFVSJ3.js";import{d as L}from"/build/_shared/chunk-WPFCM4KT.js";import{e as w}from"/build/_shared/chunk-6XX3ATVP.js";import{d as h,e as d,w as p}from"/build/_shared/chunk-RBFCHJWR.js";import{a as S}from"/build/_shared/chunk-JUM7J4TY.js";import{a as C}from"/build/_shared/chunk-RW7BUM27.js";import{e as o}from"/build/_shared/chunk-ADMCF34Z.js";var a=o(S());var t=o(C());function H({isPokerApp:T,onCloseClick:U,onBackClick:n,profile:I}){var u,f;let A=d(),i=h(),e=p(),B=/Status=\d/,x=(f=(u=i.state)==null?void 0:u.params)!=null?f:{},l=new URLSearchParams(x).toString(),[y,W]=(0,a.useState)(!1),[v,c]=(0,a.useState)(!0),[s,m]=(0,a.useState)("");return(0,a.useEffect)(()=>{if(e.state==="idle"&&(e==null?void 0:e.data)!==void 0){if(!e.data.isSuccessfulResponse){c(!1);return}if(c(!1),!s||!B.test(s)){let r=e.data.message.withdrawalResource;l&&(r=`${r}&${l}`),m(r)}}},[e.state,e==null?void 0:e.data]),(0,a.useEffect)(()=>{w({event:"withdrawal_attempt"}),e.load("/components/_cashierWithdrawalURL")},[]),(0,t.jsx)(g,{profile:I,menuTitle:"WITHDRAWAL",menuUserClasses:"text-withdrawlAccountMenuHeaderTopColor",menuTitleClasses:"text-withdrawlAccountMenuHeaderBottomColor",onBackIconClick:()=>{n&&n()},onCloseIconClick:T?null:()=>{U()},rightContent:(0,t.jsx)(L,{className:"font-bold text-cashierBalanceTextColor no-underline",text:"Balance: ",refresh:y}),children:(0,t.jsx)(R,{loading:v,cashierURL:s,setCashierURL:m,navigate:A,setRefreshBalance:W,currentPath:i.pathname,frameId:"frame-withdrawal",frameTitle:"frame-withdrawal",backgroundClassName:"bg-whiteLight"})})}export{H as a};
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.