PageSourceSearch

https://quiqrpay.com/assets/ConnectPayouts-BBHJjd3m.js

js quiqrpay.com collected 2026-10-02 01:40:29 UTC 4,788 bytes, 1 lines download raw bytes

1import{j as s,a as m,t as u,n as p,q as x}from"./index-BoTbwFO0.js";import{B as i}from"./BusinessNavigation-DpmoCv2O.js";import{E as n}from"./EmbeddedComponent-DMwe1fzD.js";import{S as h}from"./StripeConnectContext-Ba9mTVw_.js";/* empty css                  */import"./logout-CVXWdjbX.js";import"./stripeConnect-IWD5d8VV.js";function y({className:e=""}){return s.jsx(n,{componentName:"balances",className:e})}function b({className:e=""}){return s.jsx(n,{componentName:"payouts",className:e})}function j({className:e=""}){return s.jsx(n,{componentName:"payouts_list",className:e})}function g({payoutId:e,className:a=""}){return s.jsx(n,{componentName:"payout_details",options:{payout:e},className:a})}function v(){const e=m(),[a]=u(),o=a.get("payout"),t=a.get("view")||"list",r=sessionStorage.getItem("business_auth_token"),d=sessionStorage.getItem("merchant_id")||"default_merchant",{accountStatus:c,loading:l}=p(d,r);return l?s.jsx("div",{className:"dashboard-page",children:s.jsx("div",{className:"loading",children:"Loading payout information..."})}):x(c)?s.jsx("div",{className:"dashboard-page",children:s.jsxs("div",{className:"dashboard-container",style:{maxWidth:"1200px"},children:[s.jsxs("div",{style:{marginBottom:"32px"},children:[s.jsx("button",{className:"btn-secondary",onClick:()=>e("/business/connect/dashboard"),style:{marginBottom:"16px"},children:"← Back to Dashboard"}),s.jsx("h1",{style:{fontSize:"2.5em",color:"#0f172a",marginBottom:"8px"},children:"Payouts & Balances"}),s.jsx("p",{style:{fontSize:"1.1em",color:"#64748b"},children:"View your balance and manage payouts."})]}),s.jsx("div",{style:{background:"#f8fafc",padding:"16px",borderRadius:"8px",marginBottom:"32px",border:"1px solid #e5e7eb"},children:s.jsxs("p",{style:{fontSize:"0.9em",color:"#64748b",margin:0},children:[s.jsx("strong",{children:"Legal Notice:"})," Payouts are processed by Stripe directly to your bank account. QuiQRPay provides payment initiation software only and does not hold or settle funds."]})}),s.jsxs("div",{style:{display:"flex",gap:"12px",marginBottom:"24px",borderBottom:"2px solid #e5e7eb"},children:[s.jsx("button",{className:t==="balances"?"btn-primary-obsidian":"btn-secondary",onClick:()=>e("/business/connect/payouts?view=balances"),style:{borderBottom:t==="balances"?"2px solid #2563eb":"none",borderRadius:0},children:"Balances"}),s.jsx("button",{className:t==="payouts"?"btn-primary-obsidian":"btn-secondary",onClick:()=>e("/business/connect/payouts?view=payouts"),style:{borderBottom:t==="payouts"?"2px solid #2563eb":"none",borderRadius:0},children:"Payouts"}),s.jsx("button",{className:t==="list"?"btn-primary-obsidian":"btn-secondary",onClick:()=>e("/business/connect/payouts?view=list"),style:{borderBottom:t==="list"?"2px solid #2563eb":"none",borderRadius:0},children:"Payouts List"})]}),o?s.jsxs("div",{className:"dashboard-card",style:{padding:"32px"},children:[s.jsx("button",{className:"btn-secondary",onClick:()=>e("/business/connect/payouts"),style:{marginBottom:"16px"},children:"← Back to Payouts"}),s.jsx("h2",{style:{marginBottom:"24px"},children:"Payout Details"}),s.jsx(g,{payoutId:o})]}):s.jsxs(s.Fragment,{children:[t==="balances"&&s.jsxs("div",{className:"dashboard-card",style:{padding:"32px",minHeight:"400px"},children:[s.jsx("h2",{style:{marginBottom:"24px"},children:"Account Balance"}),s.jsx(y,{})]}),t==="payouts"&&s.jsxs("div",{className:"dashboard-card",style:{padding:"32px",minHeight:"400px"},children:[s.jsx("h2",{style:{marginBottom:"24px"},children:"Payouts"}),s.jsx(b,{})]}),t==="list"&&s.jsxs("div",{className:"dashboard-card",style:{padding:"32px",minHeight:"600px"},children:[s.jsx("h2",{style:{marginBottom:"24px"},children:"Payouts List"}),s.jsx(j,{})]})]})]})}):s.jsx("div",{className:"dashboard-page",children:s.jsx("div",{className:"dashboard-container",style:{maxWidth:"800px"},children:s.jsxs("div",{className:"dashboard-card",children:[s.jsx("h1",{children:"Account Setup Required"}),s.jsx("p",{style:{marginBottom:"24px",color:"#64748b"},children:"You need to complete your Stripe account setup before you can view payouts."}),s.jsx("button",{className:"btn-primary-obsidian",onClick:()=>e("/business/connect/onboarding"),children:"Complete Setup"})]})})})}function _(){const e=sessionStorage.getItem("business_auth_token"),a=sessionStorage.getItem("merchant_id")||"default_merchant";return e?s.jsxs("div",{children:[s.jsx(i,{}),s.jsx(h,{merchantId:a,token:e,children:s.jsx(v,{})})]}):s.jsxs("div",{children:[s.jsx(i,{}),s.jsx("div",{className:"dashboard-page",children:s.jsx("div",{className:"dashboard-container",children:s.jsxs("div",{className:"dashboard-card",children:[s.jsx("h1",{children:"Authentication Required"}),s.jsx("p",{children:"Please log in to access payouts."})]})})})]})}export{_ 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.