PageSourceSearch

https://quiqrpay.com/assets/ConnectDisputes-BPfnL7ya.js

js quiqrpay.com collected 2026-10-02 01:40:26 UTC 3,498 bytes, 1 lines download raw bytes

1import{j as e,a as u,t as h,r,n as x,d as g}from"./index-BoTbwFO0.js";import{B as o}from"./BusinessNavigation-DpmoCv2O.js";import{D as y,a as j}from"./PaymentComponents-jYMnWW7q.js";import{S as v}from"./StripeConnectContext-Ba9mTVw_.js";/* empty css                  *//* empty css                         */import"./logout-CVXWdjbX.js";import"./EmbeddedComponent-DMwe1fzD.js";import"./stripeConnect-IWD5d8VV.js";function f(){const s=u(),[t]=h(),a=t.get("payment"),[n,d]=r.useState(window.innerWidth<=768),c=sessionStorage.getItem("business_auth_token"),l=sessionStorage.getItem("merchant_id")||"default_merchant",{accountStatus:p,loading:m}=x(l,c);return r.useEffect(()=>{const i=()=>{d(window.innerWidth<=768)};return window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),m?e.jsx("div",{className:"payments-activity-page",children:e.jsx("div",{className:"loading-state",children:"Loading dispute information..."})}):g(p)?e.jsx("div",{className:"payments-activity-page",style:{padding:n?"16px 0":void 0},children:e.jsxs("div",{className:"payments-activity-container",style:{padding:n?"0 16px":void 0},children:[e.jsxs("div",{className:"payments-header",style:{padding:n?"0 8px":void 0},children:[e.jsx("h1",{className:"payments-title",children:"Disputes"}),e.jsx("p",{className:"payments-description",children:"Manage disputes and process refunds for your transactions."})]}),a?e.jsxs("div",{className:"embedded-connect-panel",children:[e.jsx("button",{className:"btn-secondary",onClick:()=>s("/business/disputes"),style:{marginBottom:"16px"},children:"← Back to Disputes List"}),e.jsx("h2",{style:{marginBottom:"24px"},children:"Disputes for Payment"}),e.jsx(y,{paymentIntentId:a})]}):e.jsxs("div",{className:"embedded-connect-panel",children:[e.jsx("h2",{style:{marginBottom:"24px"},children:"All Disputes"}),e.jsx(j,{})]}),e.jsx("div",{style:{background:"var(--color-surface-0)",padding:"16px",borderRadius:"8px",marginTop:"32px",border:"1px solid var(--color-slate-200)"},children:e.jsxs("p",{style:{fontSize:"0.9em",color:"var(--color-slate-500)",margin:0},children:[e.jsx("strong",{children:"Legal Notice:"})," You are responsible for managing all disputes and refunds. QuiQRPay provides payment initiation software only and does not handle disputes."]})})]})}):e.jsx("div",{className:"payments-activity-page",children:e.jsxs("div",{className:"payments-activity-container",children:[e.jsxs("div",{className:"payments-header",children:[e.jsx("h1",{className:"payments-title",children:"Disputes"}),e.jsx("p",{className:"payments-description",children:"You need to complete your Stripe account setup before you can manage disputes."})]}),e.jsx("div",{style:{background:"var(--color-surface-0)",padding:"24px",borderRadius:"12px",marginTop:"24px",textAlign:"center"},children:e.jsx("button",{className:"btn-primary-obsidian",onClick:()=>s("/business/connect/onboarding"),children:"Complete Setup"})})]})})}function C(){const s=sessionStorage.getItem("business_auth_token"),t=sessionStorage.getItem("merchant_id")||"default_merchant";return s?e.jsxs("div",{children:[e.jsx(o,{}),e.jsx(v,{merchantId:t,token:s,children:e.jsx(f,{})})]}):e.jsxs("div",{children:[e.jsx(o,{}),e.jsx("div",{className:"dashboard-page",children:e.jsx("div",{className:"dashboard-container",children:e.jsxs("div",{className:"dashboard-card",children:[e.jsx("h1",{children:"Authentication Required"}),e.jsx("p",{children:"Please log in to access disputes."})]})})})]})}export{C 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.