PageSourceSearch

https://avadaio.firebaseapp.com/assets/AceTable-D5-yVeyM.js

js avadaio.firebaseapp.com collected 2026-10-03 14:05:49 UTC 18,848 bytes, 4 lines download raw bytes

1import{j as e,B as b,r as n,q as Ae,bg as qe,a3 as Ke,aW as Ye,aa as Se,p as Ge,aJ as pe,aA as N,bu as _e,T as v,D as L,L as he,aL as ze,e as Pe,l as ee,v as Je,G as Xe,ax as Ze,P as et,A as tt,f as xe}from"./app-DNkPr59T.js";import{a as st}from"./gridTabs-XBD3dNm5.js";import{p as we,a as at,b as nt,c as it}from"./ViewCheckout-Aj60Kbtj.js";import{d as ke,e as Ne,c as rt,b as ot,a as lt,C as fe}from"./checkoutStatus-CQsp3Qgy.js";import{t as ct}from"./timezoneService-B6V1SB3z.js";import{g as je}from"./getUrlSearch-CfZ5g5jG.js";import{d as Fe}from"./utils-2PI9qENN.js";import{u as dt}from"./useTogglePopover-CP-1BBb9.js";import{P as mt}from"./pricingModalContext-mLVGkMdF.js";import{u as Ie}from"./useFetchApi-Bxa4Q0Jo.js";import{c as ut}from"./calcMessageNumber-DRLsr7zF.js";import{u as pt}from"./useResponseModal-CZC8Ppvs.js";import{u as ht}from"./useWhatsAppTemplate-BzXhhvlo.js";import{u as xt}from"./index.es-DhZKHJ7Z.js";import{g as gt}from"./getSender-BxrUf99z.js";import{c as St}from"./canSendEmail-DPZbR2cz.js";import{j as ft}from"./utils-De4v8XVo.js";import{M as jt}from"./MessageBoxActions-C4uymRsu.js";import{b as Le,a as yt}from"./hasField-DbheP7Uf.js";import{E as bt,g as vt}from"./EmailTemplate-CK6Yc2O-.js";import{s as Ct}from"./senderOptions-BRVVO808.js";import{A as Tt}from"./AdvancedImage-30wdKGpB.js";import{P as Me}from"./phoneTypes-BGjbOMMy.js";import{g as Et}from"./getDefaultSender-CXkmzxko.js";import{M as At}from"./Modal-BthdXXf7.js";import{F as U}from"./FormLayout-DtemmXe4.js";import{S as _t}from"./Select-CSxHa9nl.js";import{S as Ft}from"./ChevronLeftIcon.svg-333x3nWn.js";import{S as It}from"./SkeletonBodyText-CT7oHyLO.js";import{B as ge}from"./Banner-B9RXQssz.js";import{T as Mt}from"./Tag-BZsRZp3h.js";import{u as Pt,I as wt}from"./useSetIndexFiltersMode-BprIQJQx.js";import{I as S}from"./IndexTable-DDSZTT-x.js";import{S as kt}from"./MenuHorizontalIcon.svg-C1_3qnnr.js";import{C as Nt}from"./ChoiceList-CGmH-Ay1.js";import{C as Lt}from"./Card-BH_2svwz.js";import"./automation-B04g1SCn.js";import"./whatsapp-Ay5NKt6B.js";import"./customer-BA4Syk_b.js";import"./store-BCLvt8ie.js";import"./replaceAll-CSL_G7l6.js";import"./send-message-C4BH0KRW.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./timezones-9vCu4OSO.js";import"./HtmlParser-DM_xvAWp.js";import"./eventType-BoLwyzBV.js";import"./VariablePopover-BqYq2uOl.js";import"./generateCountryCodeByPhone-eZA0XGD0.js";import"./AsYouType-CEjlArVl.js";import"./MediaLibrary-C9DA1bmt.js";import"./useConfirmModal-CgPC1Rc1.js";import"./CheckIcon.svg-B8_9KBus.js";import"./DeleteIcon.svg-DV5XyuWb.js";import"./EditIcon.svg-BGoLpsZ8.js";import"./PlusCircleIcon.svg-DIhQgcJm.js";import"./mediaHelper-CgVuimLe.js";import"./bytesToSize-CgsWo7Jl.js";import"./validUrl-kKdPf-bH.js";import"./DropZone-CrMQEBQd.js";import"./ProgressBar-COqs5vu1.js";import"./CSSTransition-CauivwVE.js";import"./prepareLabel-Bd8yAr9n.js";import"./useViewModal-Cztmn1M3.js";import"./AdvancedChoiceList-TNXnqGuV.js";import"./stringCompare-Cgg2lX8x.js";import"./OptionList-CA137oz-.js";import"./options-D-ZULEqM.js";import"./use-deep-effect-BFR-QSr0.js";import"./index-BpqlvwSN.js";import"./Checkbox-B5xRphX-.js";import"./Choice-CkiE5Wb7.js";import"./CheckIcon.svg-CyuHZZo9.js";import"./ChevronRightIcon.svg-B9GQTWie.js";import"./ResourceList-3q2oWRsy.js";import"./InlineGrid-CJm4niPX.js";import"./BulkActions-D4SNY82-.js";import"./Sticky-CjTUDs2V.js";import"./EmptySearchResult-Doq1kRyB.js";import"./Thumbnail-BoLxBxPG.js";import"./InfiniteScroll-BQhLa-gs.js";import"./Form-DgpDPiWQ.js";import"./SearchIcon.svg-MPCAqEFx.js";import"./SkeletonDisplayText-CaObmr6S.js";import"./CodeIcon.svg-1VE9K40h.js";import"./Tabs-DbP92u2h.js";import"./InfoIcon.svg-fy3JYkaJ.js";import"./PlusIcon.svg-DwwFpVIX.js";import"./specialOccasionPresets-D7teY9b5.js";import"./filters-_IzI-GJX.js";import"./unsubscribePresets-BCFgL7ox.js";import"./flatten-qBxo8SSP.js";import"./Grid-CrPiaNoD.js";import"./Autocomplete-B5Hd0ji0.js";import"./context-BXlvO0jn.js";import"./TrapFocus-DCAGR4me.js";import"./Filters-khXlkaZ0.js";import"./set-root-property-_18RJuEB.js";import"./AfterInitialMount-D3s5YcLb.js";import"./RadioButton-CReOExFq.js";function Ut({status:c}
1){let x=e.jsx(b,{children:"Undefined"});switch(c){case Ne:x=e.jsx(b,{tone:"success",children:"Sent"});break;case ke:x=e.jsx(b,{tone:"warning",children:"Not sent"});break}return x}function Ot({status:c}){switch(c){case fe:return e.jsx(b,{children:"Shopping"});case lt:return e.jsx(b,{tone:"attention",children:"Abandoned"});case ot:return e.jsx(b,{tone:"info",children:"Recoverable"});case rt:return e.jsx(b,{tone:"success",children:"Converted"})}return e.jsx(b,{children:"Undefined"})}const Rt=[{label:"Sent",value:Ne},{label:"Not sent",value:ke}];function Ue(c){return Array.isArray(c==null?void 0:c.line_items)?c.line_items.reduce((x,f)=>x+f.quantity,0):0}function Bt({setToast:c,subscription:x,shop:f}){var Te;const W=n.useContext(mt),[a,j]=n.useState({}),[C,T]=n.useState(!1),[I,{phoneNumber:m}]=n.useMemo(()=>[Ue(a),we(a)],[a]),{data:E,fetched:A,loading:$,refetch:V}=Ie("",{senders:[]},t=>{const i=t.emailSettings||{senders:[]};return y(d=>({...d,senderEmail:Et(i.senders)})),i}),{data:te,fetched:u,loading:se,refetch:ae}=Ie("",Me,t=>Ae.isEmpty(t.smsSender)?Me:t.smsSender),[r,y]=n.useState({content:{html:"",css:""},subject:"Complete your Purchase"}),[g,ne]=n.useState("email"),[O,R]=n.useState({text:"",templateId:""}),[_,B]=n.useState(""),[p,M]=n.useState(!0),[P,D]=n.useState(""),{maxCharCount:Q,numberOfSMS:q,totalLength:ie}=ut({smsText:_}),[H,K]=n.useState(!1),[Y,re]=n.useState([]),[G,s]=n.useState([]),[o,h]=n.useState([]),[oe,le]=n.useState([]),[w,z]=n.useState(!1),[F,J]=n.useState(!1),[ye,be]=n.useState(!1),{validations:X,handleValidateForm:Oe}=xt({subject:{value:r.subject,validation:"required"},recipientEmail:{value:r.recipientEmail,validation:"required|email"}}),{openModal:Z,modal:Re}=pt(),{openModal:Be,modal:De}=ht({onSelectTemplate:async(t,i)=>{const d=at(t,E,a);R(k=>({...k,text:d,templateId:i}))},templateId:O.templateId,apiUrl:"/whatsapp/manualTemplates",modalTitle:"Select Manual Message Template",emptyRedirect:e.jsx(qe,{heading:"Manual WhatsApp Message Templates",action:{content:"Create",url:"/integration/whatsApp/manualTemplates"},image:"https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png",children:e.jsx("p",{children:"Manual Messages used to send WhatsApp messages to your customers via Web or App. You can build some templates here so that you can quickly follow up your contacts one by one."})})}),He=async t=>{var i,d,k,Ee;if((t==null?void 0:t.dataSource)===_e)try{K(!0);const ce=[...new Set(t.line_items.map(l=>l.product_id))],Qe=[...new Set(t.line_items.map(l=>l.variant_id))],de=ce.filter(l=>!o.includes(l)),me=Qe.filter(l=>!oe.includes(l));if(h(l=>[...l,...de]),le(l=>[...l,...me]),de.length||me.length){const l=await ee("/product/image-preview",{body:{productIds:de,variantIds:me},method:"POST"});(d=(i=l.data)==null?void 0:i.products)!=null&&d.length&&re(ue=>[...ue,...l.data.products]),(Ee=(k=l.data)==null?void 0:k.variants)!=null&&Ee.length&&s(ue=>[...ue,...l.data.variants])}}catch(ce){console.log(ce.message)}finally{K(!1)}},We=async()=>{if(!St({setToast:c,subscription:x,openPricingModal:W})||!Oe())return;J(!0);const t=await ee("/sendemails/sendManual",{body:{subject:r.subject,senderEmail:r.senderEmail,recipientEmail:r.recipientEmail,html:r.content.html,css:r.content.css,shopId:f.shopID,senderName:gt(E.senders,r.senderEmail),checkoutId:a.id,emailId:r.emailId},method:"POST"});t.success?(Z(!0,`You have sent email to <b>${r.recipientEmail}</b> successfully!`),console.log("OK")):(console.log(t.message),Z(!0,t.message)),J(!1)},$e=async()=>{try{J(!0);const t=await ee("/sendSms/manualAce",{body:{smsText:_,smsSender:te,smsRecipient:m,checkoutId:a.id,abandonedcheckoutUrl:vt(a),isShortenLink:p,mediaUrl:P},method:"POST"});t.success?Z(!0,`You have sent SMS to <b>${m}</b> successfully!`):Z(!0,t.message)}catch(t){console.log(t.message)}finally{J(!1)}},Ve=n.useCallback((t,i="email")=>{ne(i),i==="email"&&(y(d=>({...d,recipientEmail:t.email})),He(t)),j(t),T(!0)},[]),ve=n.useCallback(()=>{T(!1),j({})},[]);n.useEffect(()=>{C&&(!A&&g==="email"&&V(`/options/dynamicOptions?${je({options:["emailSettings"]})}`),!u&&g==="sms"&&ae(`/options/dynamicOptions?${je({options:["smsSender"]})}`))},[C]);const Ce=!Ke(f,Ye)||se||_.trim()==="";return{modal:e.jsxs(e.Fragment,{children:[e.jsx(At,{title:`Checkout #${a.id}`,open:C,size:"large",onClose:ve,secondaryActions:[{content:"Close",onAction:ve}],primaryAction:g==="email"?{content:"Send via Email",onAction:We,disabled:!w||$,loading:F}:g==="sms"?{content:"Send via SMS",onAction:$e,disabled:Ce,loading:F}:{content:"Send via WhatsApp",url:`https://wa.me/${m}?text=${O.text}`,target:"_blank",disabled:Ce,loading:F},sectioned:!0,children:!C||Ae.isEmpty(a)?e.jsx(Se,{align:"center",children:e.jsx(Ge,{})}):e.jsxs(pe,{children:[e.jsxs(pe.Section,{variant:"oneThird",children:[e.jsx(N,{title:"Checkout details",sectioned:!0,children:e.jsxs("div",{className:"avada-checkout-details",children:[e.jsx("table",{className:"avada-cart-items",children:e.jsx("tbody",{children:a.line_items.map((t,i)=>e.jsxs("tr",{children:[e.jsx("td",{style:{width:"50px"},children:e.jsx(Tt,{src:nt({lineItem:t,products:Y,productVariants:G}),loading:H})}
1),e.jsxs("td",{children:[a.dataSource===_e?it(Y.find(d=>t.product_id===d.id),t.title,f.shopifyDomain):e.jsx("p",{children:t.title}),t.variant_title!==""&&e.jsxs(e.Fragment,{children:[e.jsx(v,{variant:"bodyMd",as:"span",tone:"subdued",children:t.variant_title}),e.jsx("br",{})]}),t.sku!==""&&e.jsxs(v,{variant:"bodyMd",as:"span",tone:"subdued",children:["SKU:",t.sku]}),t.bundle_items&&t.bundle_items.length?e.jsx("div",{children:t.bundle_items.map((d,k)=>e.jsxs("div",{children:[e.jsxs("strong",{children:[d.title," : "]}),e.jsxs("span",{children:[" ",d.quantity," x ",d.title," ",new Intl.NumberFormat(a.customer_locale||"en-US",{style:"currency",currency:a.presentment_currency}).format(d.price)]})]},k))}):""]}),e.jsx("td",{style:{width:"1px"},children:new Intl.NumberFormat(a.customer_locale||"en-US",{style:"currency",currency:a.presentment_currency}).format(t.price)}),e.jsx("td",{style:{width:"1px"},children:"x"}),e.jsx("td",{style:{width:"1px"},children:t.quantity}),e.jsx("td",{style:{textAlign:"right"},children:new Intl.NumberFormat(a.customer_locale||"en-US",{style:"currency",currency:a.presentment_currency}).format(t.line_price)})]},i))})}),e.jsxs("table",{className:"avada-cart-summary",children:[e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsx("td",{children:"Subtotal"}),e.jsx("td",{children:e.jsx(v,{variant:"bodyMd",as:"span",tone:"subdued",children:`${I} ${I>1?"items":"item"}`})}),e.jsx("td",{style:{textAlign:"right"},children:new Intl.NumberFormat(a.customer_locale||"en-US",{style:"currency",currency:a.presentment_currency}).format(a.subtotal_price)})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsx("td",{colSpan:2,children:"Tax"}),e.jsx("td",{style:{textAlign:"right"},children:new Intl.NumberFormat(a.customer_locale||"en-US",{style:"currency",currency:a.presentment_currency}).format(a.total_tax||0)})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsx("td",{colSpan:2,children:"Total"}),e.jsx("td",{style:{textAlign:"right"},children:new Intl.NumberFormat(a.customer_locale||"en-US",{style:"currency",currency:a.presentment_currency}).format(a.total_price)})]})})]})]})}),e.jsx(N,{title:"Recover Cart Link",sectioned:!0,children:e.jsx(L,{label:"Recovery Link",disabled:!0,labelHidden:!0,value:a.abandoned_checkout_url,onChange:()=>{},onFocus:t=>{t.target.select()}})})]}),e.jsx(pe.Section,{children:e.jsxs(he,{vertical:!0,children:[g==="email"&&e.jsx(N,{title:"Cart Recovery Email",sectioned:!0,children:e.jsx("div",{className:"avada-email-recovery",children:e.jsx(U,{children:a.email&&a.checkoutStatus!==fe?e.jsxs(U,{children:[e.jsxs(U.Group,{children:[e.jsx(L,{type:"text",value:r.recipientEmail,label:"To",disabled:!0,onChange:()=>{},error:X.recipientEmail&&X.recipientEmail.message}),e.jsx(_t,{label:"From",disabled:$,options:Ct(E.senders),onChange:t=>y(i=>({...i,senderEmail:t})),value:r.senderEmail})]}),e.jsx(L,{type:"text",value:r.subject,label:"Subject",onChange:t=>y(i=>({...i,subject:t})),error:X.subject&&X.subject.message}),e.jsx(ze,{id:"avada-get-market-signature",label:"Email template",action:w&&{content:"Back",onAction:()=>{z(!1),y(t=>({...t,content:{html:"",css:""}}))},icon:Ft},children:e.jsxs("div",{children:[!w&&e.jsx(bt,{currentEmail:{id:0},emailSettings:E,setIsPreviewTemplate:z,setEmailInput:y,setLoadingIframe:be,checkoutData:a,page:"checkout_details"}),w&&e.jsx(e.Fragment,{children:e.jsxs("div",{style:{border:"solid 1px #dfdfdf"},children:[ye&&e.jsx(N.Section,{children:e.jsx(It,{})}),e.jsx("iframe",{style:{width:"100%",height:"0",visibility:ye?"hidden":"visible"},scrolling:"no",frameBorder:"0",srcDoc:`
2                                    ${r.content.html}
3                                    <style>${r.content.css}</style>
4                                    `,onLoad:function(t){const i=t.target;i.style.height=0,i.style.height=i.contentWindow.document.body.scrollHeight+30+"px",be(!1)}})]})})]})})]}):e.jsx(e.Fragment,{children:a.email&&a.checkoutStatus===fe?e.jsx(ge,{tone:"warning",children:"This customer is still shopping"}):e.jsx(ge,{tone:"warning",children:"Customer didn't leave an email at checkout"})})})})}),g==="whatsapp"&&e.jsx(N,{title:"WhatsApp Message",sectioned:!0,children:e.jsx("div",{className:"avada-whatsapp-recovery",children:e.jsxs(U,{children:[e.jsx(Pe,{onClick:()=>Be(),children:"Use template"}),e.jsx(L,{label:"Message",value:O.text,multiline:4,onChange:t=>R(i=>({...i,text:t}))})]})})}),g==="sms"&&e.jsx(N,{title:"SMS Message",sectioned:!0,children:e.jsx("div",{className:"avada-sms-recovery",children:e.jsx(U,{children:Le(m)?e.jsxs(U,{children:[e.jsx(L,{type:"text",value:m,label:"To",disabled:!0,onChange:()=>{}}),e.jsxs(he,{vertical:!0,children:[e.jsx(L,{label:"Message",value:_,multiline:4,onChange:t=>B(t)}),e.jsxs(he,{spacing:"loose",alignment:"center",children:[e.jsx(jt,{onChange:t=>B(i=>
4i+" "+t),phoneNumber:m,isShortenLink:p,setIsShortenLink:M,setMedia:D,variableType:ft}),P!==""&&e.jsx("div",{style:{width:"300px"},children:e.jsx(Mt,{onRemove:()=>D(""),children:P.slice(0,125)+"..."})})]}),e.jsxs("div",{className:"message-box-description",children:[e.jsx(v,{variant:"bodyMd",as:"span",tone:"subdued",children:e.jsxs("small",{children:["Balance: $",(Te=f.totalSmsAmount)==null?void 0:Te.toFixed(2)]})}),e.jsx(v,{variant:"bodyMd",as:"span",tone:"subdued",children:e.jsxs("small",{children:[ie,"/",Q," characters - ",q," message",q>1?"s":""]})})]})]})]}):e.jsx(ge,{tone:"warning",children:"Customer didn't leave phone at checkout"})})})})]})})]})}),De,Re]}),handleOpen:Ve}}function Dt({setToast:c,subscription:x,shop:f}){var G;const[W,a]=n.useState(0),[j,C]=n.useState(""),[T,I]=n.useState(1),[m,E]=n.useState(!0),[A,$]=n.useState([]),[V,te]=n.useState({}),[u,se]=n.useState({email:"",sms:""}),{popoverActive:ae,togglePopoverActive:r,handleClosePopover:y}=dt(),{mode:g,setMode:ne}=Pt(),{modal:O,handleOpen:R}=Bt({setToast:c,subscription:x,shop:f}),_=[{id:"all",content:"All",filterQueries:{}},...st],B=(G=_[W])==null?void 0:G.filterQueries,p=async(s={})=>{E(!0),j&&(s={[j.includes("@")?"emailFilter":"checkoutIdFilter"]:j,...s}),u.email&&(s={emailStatusFilter:u.email,...s}),u.sms&&(s={smsStatusFilter:u.sms,...s}),s.sortType="createdAt_desc";try{const o=await ee(`/abandonedCarts?${je(s)}`);o.data&&($(o.data.items),te(o.pageInfo),!o.pageInfo.hasPre&&T!==1&&I(1)),E(!1)}catch(o){console.log(o)}},M=(s={},o=!0)=>{const h={...u,...s};se(h),o&&p({emailStatusFilter:h.email,smsStatusFilter:h.sms})},P=async(s=j)=>{if(!s){await p({...B,emailFilter:"",checkoutIdFilter:""});return}const o=s.includes("@");await p({...B,[o?"emailFilter":"checkoutIdFilter"]:s})},D=s=>{C(s)},Q=(s=!0)=>{M({email:"",sms:"",emailFilter:"",checkoutIdFilter:""},s)};n.useEffect(()=>{p()},[]);const q=A.map((s,o)=>{const{id:h}=s,oe=Ue(s),{customerName:le,phoneNumber:w}=we(s),z=new Intl.NumberFormat(s.customer_locale||"en-US",{style:"currency",currency:s.presentment_currency}).format(s.total_price);return e.jsxs(S.Row,{id:h,position:o,children:[e.jsx(S.Cell,{children:e.jsxs(Ze,{children:[e.jsxs(v,{fontWeight:"medium",children:["#",s.id]}),e.jsxs(v,{children:["Place by: ",le]})]})}),e.jsx(S.Cell,{children:ct(s.updated_at)}),e.jsx(S.Cell,{children:oe}),e.jsx(S.Cell,{children:e.jsx(Ut,{status:s.emailStatus})}),e.jsx(S.Cell,{children:e.jsx(Ot,{status:s.checkoutStatus})}),e.jsx(S.Cell,{children:z}),e.jsx(S.Cell,{children:e.jsx(Se,{align:"end",children:e.jsx(et,{active:ae===h,activator:e.jsx(Se,{align:"center",children:e.jsx(Pe,{onClick:F=>{F.stopPropagation(),r(h)},disabled:m,icon:kt,variant:"tertiary"})}),onClose:y,children:e.jsx("div",{onClick:F=>F.stopPropagation(),children:e.jsx(tt,{actionRole:"menuitem",items:[yt(s.email)&&{content:"Send Email Message",onAction:()=>R(s,"email")},Le(w)&&{content:"Send WhatsApp Message",onAction:()=>R(s,"whatsapp")}].filter(Boolean)})})})})})]},h)}),ie=[{key:"emailStatusFilter",label:"Email Status",filter:e.jsx(Nt,{title:"Email Status",titleHidden:!0,choices:Rt,selected:u.email||[],onChange:s=>M({email:s})}),shortcut:!0}],H=[];if(u.email){const s="emailStatusFilter";H.push({key:s,label:Fe(s,u.email),onRemove:()=>M({email:""})})}if(u.sms){const s="smsStatusFilter";H.push({key:s,label:Fe(s,u.sms),onRemove:()=>M({sms:""})})}const K=_.map((s,o)=>({content:s.content,index:o,onAction:()=>{C(""),Q(!1),p(s.filterQueries)},id:s.id,isLocked:!0})),Y=V.hasNext&&!m,re=V.hasPre&&!m;return e.jsxs(xe,{children:[e.jsx(xe,{paddingBlockEnd:"400",children:e.jsx(v,{variant:"headingLg",fontWeight:"semibold",children:"Abandoned Carts"})}),e.jsx(Lt,{padding:"0",children:e.jsxs(xe,{children:[e.jsx("div",{onKeyDown:s=>{s.key==="Enter"&&P()},children:e.jsx(wt,{queryValue:j,queryPlaceholder:"Find by email or checkout ID",onQueryChange:D,onQueryClear:()=>{D(""),P("")},cancelAction:{onAction:()=>{},disabled:!1,loading:!1},tabs:K,selected:W,onSelect:a,canCreateNewView:!1,filters:ie,appliedFilters:H,onClearAll:Q,mode:g,setMode:ne,loading:m})}),e.jsx(S,{selectable:!1,loading:m,resourceName:{singular:"checkout",plural:"checkouts"},itemCount:A.length,headings:[{title:"Checkout ID"},{title:"Last Update"},{title:"Qty"},{title:"Email Status"},{title:"Cart Status"},{title:"Total"},{title:"Actions",alignment:"end"}],pagination:{label:`Page ${T}`,hasPrevious:re,onPrevious:()=>{const s=Math.max(T-1,1);p({before:A[0].record_id}).then(()=>I(s))},hasNext:Y,onNext:()=>{const s=T+1;p({after:A[A.length-1].record_id}).then(()=>I(s))}},children:q})]})}),O]})}const Ht=c=>({subscription:c.subscription,shop:c.shop.activeShop}),Na=Je(Ht,{setToast:Xe})(Dt);export{Na 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.