PageSourceSearch

https://app.hi.events/assets/index-Dsv27CB6.js

js hi.events collected 2026-09-24 08:52:48 UTC 19,275 bytes, 11 lines download raw bytes

1import{p as se,j as e,i as t,B as b,W as te,J as g,a$ as z,o as he,e as je,k as ge,q as fe,r as B,L as U,P as Ee,f as X}from"./index-H-7Mdjgq.js";import{A as C}from"./ActionIcon-BNTNX0_j.js";import{A as Ie}from"./Alert-DLVO74mh.js";import{T as v}from"./Tooltip-BbNYwxJq.js";import{S as ne}from"./SimpleGrid-DImrleVX.js";import{u as Ce,G as ee}from"./useGetOrderPublic-BIVfsuwZ.js";import{j as ve}from"./urlHelper-CtUM__Wf.js";import{d as Ne}from"./dates-8rjFi0lQ.js";import{f as ie}from"./addressUtilities-C-s79fwM.js";import{r as be,g as Ae}from"./effectiveLocation-BOUVI94a.js";import{g as we}from"./products-qnrFafri.js";import{I as Te,a as x,b as R}from"./notifications-DPyM_svh.js";import{C as T}from"./index-DBKgDYDB.js";import{L as ye}from"./index-BHPK8OyC.js";import{H as $}from"./index-BLwgDfvL.js";import{E as ke}from"./index-g-vhoavp.js";import{O as Pe}from"./index-BCW1L4EV.js";import{C as Me}from"./index-B4BSWDpi.js";import{I as ae}from"./IconCalendar-CPsegQni.js";import{C as De,I as Le}from"./index-DulD8svz.js";import{C as Oe}from"./index-RqjqfUQG.js";import{T as N}from"./TextInput-DJngKYsH.js";import{u as le}from"./use-form-D9Jyjn3K.js";import{I as oe}from"./index-AYshx105.js";import{C as ce}from"./index-Dy5yeMe7.js";import{u as G}from"./useMutation--MIpdzpW.js";import{L as Fe}from"./types-CGG0ephI.js";import{c as Se}from"./useWaitlistJoined-KapalJiz.js";import{U as de}from"./index-DcQwCJsz.js";import{I as ze}from"./IconTicket-sm5V1Zzm.js";import{I as re}from"./IconPrinter-BS7D8O1D.js";import{I as Re}from"./IconUser-D2amDXfM.js";import{I as me}from"./IconEdit-D8fU8mvI.js";import{I as $e}from"./IconMail-BJxAQRRn.js";import{I as ue}from"./IconSend-CK-FTmrB.js";import{I as Ue}from"./IconCash-C5OzVsSV.js";import{I as _e}from"./IconMapPin-D1K6gabn.js";import{I as Ge}from"./IconCalendarEvent-DL1QIzwe.js";import{I as Ye}from"./IconClock-CbvAb4Pq.js";import{I as Be}from"./IconBuilding-99YhQmHf.js";import{I as He}from"./IconExternalLink-DW-6uZkM.js";import"./get-floating-position-7n5UPPCU.js";import"./order.client-MsmSTvdW.js";import"./utc-C3EVnpqr.js";import"./dayjs.min-jhmS8Dw0.js";import"./timezone-CHvflEA8.js";import"./IconX-BeJ4A9dL.js";import"./LoadingOverlay-CLu_ym7D.js";import"./IconArrowRight-ChvJtw0b.js";import"./Popover-BuwKeRzp.js";import"./IconBrandGoogle-Bn55ZnxE.js";import"./IconDownload-DIZpWdxR.js";import"./Collapse-B08Wcx-V.js";import"./currency-BuWXkOSu.js";import"./IconChevronDown-CoK4zxDw.js";import"./IconTag-Dv0TUlaZ.js";import"./IconInfoCircle-DpzxY1ET.js";import"./IconShieldCheck-BpMJkke0.js";import"./InputBase-CV4iOMG7.js";import"./IconAlertTriangle-B4FSTlL-.js";/**
2 * @license @tabler/icons-react v3.35.0 - MIT
3 *
4 * This source code is licensed under the MIT license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const We=[["path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v10a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z",key:"svg-0"}],["path",{d:"M9 10m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M15 8l2 0",key:"svg-2"}],["path",{d:"M15 12l2 0",key:"svg-3"}],["path",{d:"M7 16l10 0",key:"svg-4"}]],Je=se("outline","id","Id",We);/**
7 * @license @tabler/icons-react v3.35.0 - MIT
8 *
9 * This source code is licensed under the MIT license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const qe=[["path",{d:"M4 10h16",key:"svg-0"}],["path",{d:"M4 14h16",key:"svg-1"}],["path",{d:"M9 18l3 3l3 -3",key:"svg-2"}],["path",{d:"M9 6l3 -3l3 3",key:"svg-3"}]],Ke=se("outline","menu-order","MenuOrder",qe),Ve="_container_12t3x_1",Ze="_iconContainer_12t3x_19",Qe="_content_12t3x_31",Xe="_title_12t3x_43",es="_subtitle_12t3x_49",w={container:Ve,iconContainer:Ze,content:Qe,title:Xe,subtitle:es},ss=({event:s,occurrence:i})=>e.jsxs("div",{className:w.container,children:[e.jsx("div",{className:w.iconContainer,children:e.jsx(ae,{size:24})}),e.jsxs("div",{className:w.content,children:[e.jsx("span",{className:w.title,children:t._({id:"Kdpf90"})}),e.jsx("span",{className:w.subtitle,children:t._({id:"6PNlRV"})})]}),e.jsx(Me,{event:s,occurrence:i,children:e.jsx(b,{variant:"filled",size:"sm",children:t._({i
11d:"oZW/gT"})})})]}),ts="_modal_nhhgd_1",ns={modal:ts},is=({opened:s,onClose:i,attendee:a,onSuccess:n})=>{const d=le({initialValues:{first_name:a.first_name,last_name:a.last_name,email:a.email},validate:{first_name:l=>l?null:t._({id:"4pwejF"}),last_name:l=>l?null:t._({id:"ve9JTU"}),email:l=>l?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l)?null:t._({id:"B2Tpo0"}):t._({id:"ZsZeV2"})}}),u=d.values.email!==a.email;return e.jsx(te,{opened:s,onClose:i,title:t._({id:"etaWtB"}),size:"md",className:ns.modal,children:e.jsx("form",{onSubmit:d.onSubmit(n),children:e.jsxs("div",{children:[e.jsxs(oe,{children:[e.jsx(N,{label:t._({id:"kODvZJ"}),placeholder:t._({id:"xUgUTh"}),required:!0,...d.getInputProps("first_name")}),e.jsx(N,{label:t._({id:"UXBCwc"}),placeholder:t._({id:"9/1YKL"}),required:!0,...d.getInputProps("last_name")})]}),e.jsx(N,{label:t._({id:"O3oNi5"}),placeholder:t._({id:"6KnyG0"}),required:!0,type:"email",...d.getInputProps("email")}),u&&e.jsx(ce,{variant:"info",children:t._({id:"cDHM1d"})}),e.jsxs(g,{justify:"flex-end",gap:"sm",mt:"md",children:[e.jsx(b,{variant:"default",onClick:i,children:t._({id:"dEgA5A"})}),e.jsx(b,{type:"submit",children:t._({id:"tfDRzk"})})]})]})})})},as="_modal_nhhgd_1",ls={modal:as},os=({opened:s,onClose:i,order:a,onSuccess:n})=>{const d=le({initialValues:{first_name:a.first_name,last_name:a.last_name,email:a.email},validate:{first_name:l=>l?null:t._({id:"4pwejF"}),last_name:l=>l?null:t._({id:"ve9JTU"}),email:l=>l?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l)?null:t._({id:"B2Tpo0"}):t._({id:"ZsZeV2"})}}),u=d.values.email!==a.email;return e.jsx(te,{opened:s,onClose:i,title:t._({id:"vRWOrM"}),size:"md",className:ls.modal,children:e.jsx("form",{onSubmit:d.onSubmit(n),children:e.jsxs("div",{children:[e.jsxs(oe,{children:[e.jsx(N,{label:t._({id:"kODvZJ"}),placeholder:t._({id:"xUgUTh"}),required:!0,...d.getInputProps("first_name")}),e.jsx(N,{label:t._({id:"UXBCwc"}),placeholder:t._({id:"9/1YKL"}),required:!0,...d.getInputProps("last_name")})]}),e.jsx(N,{label:t._({id:"O3oNi5"}),placeholder:t._({id:"6KnyG0"}),required:!0,type:"email",...d.getInputProps("email")}),u&&e.jsx(ce,{variant:"tip",children:t._({id:"yD3avI"})}),e.jsxs(g,{justify:"flex-end",gap:"sm",mt:"md",children:[e.jsx(b,{variant:"default",onClick:i,children:t._({id:"dEgA5A"})}),e.jsx(b,{type:"submit",children:t._({id:"tfDRzk"})})]})]})})})},Y={editAttendee:async(s,i,a,n)=>(await z.patch(`/events/${s}/order/${i}/attendees/${a}`,n)).data,editOrder:async(s,i,a)=>(await z.patch(`/events/${s}/order/${i}`,a)).data,resendAttendeeTicket:async(s,i,a)=>(await z.post(`/events/${s}/order/${i}/attendees/${a}/resend-ticket`)).data,resendOrderConfirmation:async(s,i)=>(await z.post(`/events/${s}/order/${i}/resend-confirmation`)).data},cs=()=>G({mutationFn:({eventId:s,orderShortId:i,attendeeShortId:a,data:n})=>Y.editAttendee(s,i,a,n)}),ds=()=>G({mutationFn:({eventId:s,orderShortId:i,data:a})=>Y.editOrder(s,i,a)}),rs=()=>G({mutationFn:({eventId:s,orderShortId:i,attendeeShortId:a})=>Y.resendAttendeeTicket(s,i,a)}),ms=()=>G({mutationFn:({eventId:s,orderShortId:i})=>Y.resendOrderConfirmation(s,i)}),us="_welcomeHeader_7n3aw_2",_s="_confettiIcon_7n3aw_12",ps="_welcomeMessage_7n3aw_46",xs="_confirmationText_7n3aw_54",hs="_selfServiceHint_7n3aw_63",js="_heading_7n3aw_69",gs="_detailItem_7n3aw_78",fs="_detailContent_7n3aw_82",Es="_label_7n3aw_86",Is="_value_7n3aw_90",Cs="_guestList_7n3aw_97",vs="_guestItem_7n3aw_102",Ns="_guestItemCancelled_7n3aw_118",bs="_guestName_7n3aw_121",As="_guestInfo_7n3aw_125",ws="_cancelledBadge_7n3aw_140",Ts="_guestDetails_7n3aw_150",ys="_guestEmail_7n3aw_158",ks="_guestProduct_7n3aw_162",Ps="_guestActions_7n3aw_177",c={welcomeHeader:us,confettiIcon:_s,welcomeMessage:ps,confirmationText:xs,selfServiceHint:hs,heading:js,detailItem:gs,detailContent:fs,label:Es,value:Is,guestList:Cs,guestItem:vs,guestItemCancelled:Ns,guestName:bs,guestInfo:As,cancelledBadge:ws,guestDetails:Ts,guestEmail:ys,guestProduct:ks,guestActions:Ps},Ms=({order:s})=>{const i={NO_PAYMENT_REQUIRED:t._({id:"ZWEfBE"}),AWAITING_PAYMENT:t._({id:"ioG+xt"}),PAYMENT_FAILED:t._({id:"JhtZAK"}
11),PAYMENT_RECEIVED:t._({id:"lsxOPC"}),AWAITING_OFFLINE_PAYMENT:t._({id:"2rHwhl"})};return s!=null&&s.payment_status?e.jsx("span",{children:i[s.payment_status]||""}):null},Ds=({order:s})=>{const i={REFUND_PENDING:t._({id:"RpwiYC"}),REFUND_FAILED:t._({id:"WZbCR3"}),REFUNDED:t._({id:"/BI0y9"}),PARTIALLY_REFUNDED:t._({id:"ZfxaB4"})};return s!=null&&s.refund_status?e.jsx("span",{children:i[s.refund_status]||""}):null},Ls=({attendee:s,event:i,allowSelfEdit:a,onEditClick:n,onResendClick:d})=>{const u=we(s,s.product),l=s.status==="CANCELLED";return e.jsxs("div",{className:`${c.guestItem} ${l?c.guestItemCancelled:""}`,children:[e.jsxs("div",{className:c.guestInfo,children:[e.jsxs("div",{className:c.guestName,children:[s.first_name," ",s.last_name,l&&e.jsx("span",{className:c.cancelledBadge,children:t._({id:"vv7kpg"})})]}),e.jsxs("div",{className:c.guestDetails,children:[e.jsx("span",{className:c.guestEmail,children:s.email}),e.jsx("span",{className:c.guestProduct,children:u})]})]}),e.jsxs("div",{className:c.guestActions,children:[e.jsx(v,{label:t._({id:"1J/AWD"}),children:e.jsx(C,{variant:"subtle",onClick:()=>window==null?void 0:window.open(`/product/${i.id}/${s.short_id}`,"_blank"),children:e.jsx(He,{size:18})})}),e.jsx(v,{label:t._({id:"JnuPvH"}),children:e.jsx(C,{variant:"subtle",onClick:()=>window==null?void 0:window.open(`/product/${i.id}/${s.short_id}/print`,"_blank"),children:e.jsx(re,{size:18})})}),a&&!l&&e.jsxs(e.Fragment,{children:[e.jsx(v,{label:t._({id:"t2bbp8"}),children:e.jsx(C,{variant:"subtle","data-testid":"attendee-edit-button",onClick:n,children:e.jsx(me,{size:18})})}),e.jsx(v,{label:t._({id:"5CiNPm"}),children:e.jsx(C,{variant:"subtle","data-testid":"resend-ticket-button",onClick:d,children:e.jsx(ue,{size:18})})})]})]})]})},p=({icon:s,label:i,value:a})=>e.jsx("div",{className:c.detailItem,children:e.jsxs(g,{gap:"xs",wrap:"nowrap",children:[e.jsx(s,{size:20,style:{color:"var(--checkout-accent, var(--mantine-color-gray-6))",flexShrink:0}}),e.jsxs("div",{className:c.detailContent,children:[e.jsx(U,{size:"sm",c:"dimmed",className:c.label,children:i}),e.jsx(U,{className:c.value,children:a})]})]})}),Os=({order:s,event:i,allowSelfEdit:a})=>{const n=s.status==="COMPLETED",d=s.status==="AWAITING_OFFLINE_PAYMENT",u=s.status==="CANCELLED",l={COMPLETED:t._({id:"MNFIxz",values:{0:i.title}}),CANCELLED:t._({id:"Jwiilf"}),RESERVED:null,AWAITING_OFFLINE_PAYMENT:t._({id:"bhlHm/"}),ABANDONED:null}[s.status];return l?e.jsxs("div",{className:c.welcomeHeader,children:[n&&e.jsx("div",{className:c.confettiIcon,children:e.jsx("span",{children:"🎉"})}),d&&e.jsx("div",{className:c.confettiIcon,children:e.jsx("span",{children:"⏳"})}),u&&e.jsx("div",{className:c.confettiIcon,children:e.jsx("span",{children:"😔"})}),e.jsx("div",{className:c.welcomeMessage,children:l}),n&&e.jsxs("div",{className:c.confirmationText,children:[t._({id:"n/7+7Q"})," ",e.jsx("strong",{children:s.email})]}),n&&a&&e.jsx("div",{className:c.selfServiceHint,children:t._({id:"HWXuQK"})}),u&&e.jsxs("div",{className:c.confirmationText,children:[t._({id:"kMU5aM"})," ",e.jsx("strong",{children:s.email})]})]}):null},Fs=({order:s,event:i,allowSelfEdit:a,onEditClick:n,onResendClick:d})=>e.jsx(T,{style:{marginBottom:"40px"},children:e.jsxs(ne,{cols:{base:1,sm:2},spacing:"md",children:[e.jsx(p,{icon:Re,label:t._({id:"6YtxFj"}),value:e.jsxs(g,{gap:"xs",wrap:"nowrap",children:[e.jsxs("span",{children:[s.first_name," ",s.last_name]}),a&&s.status!=="CANCELLED"&&e.jsx(v,{label:t._({id:"ePK91l"}),children:e.jsx(C,{size:"xs",variant:"subtle","data-testid":"order-edit-button",onClick:n,children:e.jsx(me,{size:14})})})]})}),e.jsx(p,{icon:Je,label:t._({id:"TPoYsF"}),value:s.public_id}),e.jsx(p,{icon:$e,label:t._({id:"O3oNi5"}),value:e.jsxs(g,{gap:"xs",wrap:"nowrap",children:[e.jsx("span",{style:{wordBreak:"break-all"},children:s.email}),a&&s.status!=="CANCELLED"&&e.jsx(v,{label:t._({id:"sQxe68"}),children:e.jsx(C,{size:"xs",variant:"subtle","data-testid":"resend-confirmation-button",onClick:d,children:e.jsx(ue,{size:14})})})]})}),e.jsx(p,{icon:ae,label:t._({id:"q/CcwE"}),value:Ne(s.created_at,i.timezone)}),!!s.refund_status&&e.jsx(p,{icon:Ke,label:t._({id:"xHpVRl"}),value:e.jsx(Ds,{order:s})}),s.payment_status!=="PAYMENT_RECEIVED"&&s.payment_status!=="NO_PAYMENT_REQUIRED"&&e.jsx(p,{icon:Ue,label:t._({id:"wJTzyi"}),value:e.jsx(Ms,{order:s})}),s.address&&e.jsx(p,{icon:_e,label:t._({id:"8rE61T"}),value:ie(s.address)})]})}),Ss=({event:s,order:i})=>{var k,j,f,P,E,M,D,L,O,I,F,S;const a=(j=(k=i.order_items)==null?void 0:k[0])==null?void 0:j.event_occurrence,n=be(s,a),d=(n==null?void 0:n.type)===Fe.InPerson,u=d&&(((f=n.location)==null?void 0:f.name)||((E=(P=n.location)==null?void 0:P.structured_address)==null?void 0:E.venue_name))||null,l=d&&((M=n.location)!=null&&M.structured_address)?ie(n.location.structured_address):"",A=d?u?`${u}${l?`, ${l}`:""}`:l||null:null,y=((D=Ae(s,a))==null?void 0:D.mapsUrl)??"";return e.jsx(T,{children:e.jsxs(ne,{cols:{base:1,sm:2},spacing:"md",children:[e.jsx(p,{icon:Ge,label:t._({id:"/dgc8E"}),value:e.jsxs(e.Fragment,{children:[e.jsx(ke,{event:s,occurrence:a}),(a==null?void 0:a.label)&&e.jsx(U,{size:"xs",c:"dimmed",mt:2,children:a.label})]})}),A&&e.jsx(p,{icon:_e,label:t._({id:"wJijgU"}),value:e.jsx(X,{to:y,target:"_blank",children:A})}),e.jsx(p,{icon:Ye,label:t._({id:"40Gx0U"}),value:s.timezone}),e.jsx(p,{icon:Be,label:t._({id:"G5RhpL"}),value:e.jsxs(e.Fragment,{children:[((L=s.organizer)==null?void 0:L.email)&&e.jsx(X,{to:(O=s.organizer)!=null&&O.email?`mailto:${s.organizer.email}`:"#",children:(I=s.organizer)==null?void 0:I.name}),!((F=s.organizer)!=null&&F.email)&&((S=s.organizer)==null?void 0:S.name)]})})]})})},zs=({order:s})=>(s==null?void 0:s.status)==="CANCELLED"?e.jsx($,{status:"cancelled",message:t._({id:"H5qWhm"}),subtitle:t._({id:"YyEJij"})}):(s==null?void 0:s.status)==="COMPLETED"?e.jsx($,{status:"success",message:t._({id:"b6+Y+n"}),subtitle:t._({id:"e3uMJH"})}):e.jsx($,{status:"processing",message:t._({id:"JcejNJ"}),subtitle:t._({id:"j5FdeA"})}),Rs=({message:s})=>e.jsxs("div",{style:{marginTop:"20px",marginBottom:"40px"}
11,children:[e.jsx("h1",{className:c.heading,children:t._({id:"pn5qSs"})}),e.jsx(T,{children:e.jsx(de,{html:s})})]}),$s=({event:s})=>{var i;return e.jsxs("div",{style:{marginTop:"20px",marginBottom:"40px"},children:[e.jsx("h2",{children:t._({id:"JEdsvQ"})}),e.jsx(T,{children:e.jsx(de,{html:((i=s==null?void 0:s.settings)==null?void 0:i.offline_payment_instructions)||""})})]})},Jt=()=>{var H,W,J,q,K,V,Z;const{eventId:s,orderShortId:i}=he(),a=je(),{data:n,isFetched:d,isError:u}=Ce(s,i,["event"]),l=n==null?void 0:n.event,A=ge(),y=fe(),k=((H=a.state)==null?void 0:H.emailUpdated)===!0,[j,f]=B.useState(null),[P,E]=B.useState(!1);B.useEffect(()=>{s&&n&&(n.status==="COMPLETED"||n.status==="AWAITING_OFFLINE_PAYMENT")&&Se(s)},[s,n==null?void 0:n.status]);const M=cs(),D=ds(),L=rs(),O=ms(),I=((W=l==null?void 0:l.settings)==null?void 0:W.allow_attendee_self_edit)??!1,F=(r,o)=>{M.mutate({eventId:s,orderShortId:i,attendeeShortId:r.short_id,data:o},{onSuccess:m=>{y.invalidateQueries({queryKey:[ee]}),f(null),R(m.message||t._({id:"22BOve"})),m.warning&&x(m.warning)},onError:m=>{var _,h,Q;((_=m==null?void 0:m.response)==null?void 0:_.status)===429?x(t._({id:"mnUGVC"})):x(((Q=(h=m==null?void 0:m.response)==null?void 0:h.data)==null?void 0:Q.message)||t._({id:"E9jY+o"}))}})},S=r=>{D.mutate({eventId:s,orderShortId:i,data:r},{onSuccess:o=>{E(!1),R(o.message||t._({id:"1SQRYo"})),o.new_short_id?A(`/checkout/${s}/${o.new_short_id}/summary`,{state:{emailUpdated:!0}}):y.invalidateQueries({queryKey:[ee]}),o.warning&&x(o.warning)},onError:o=>{var m,_,h;((m=o==null?void 0:o.response)==null?void 0:m.status)===429?x(t._({id:"mnUGVC"})):x(((h=(_=o==null?void 0:o.response)==null?void 0:_.data)==null?void 0:h.message)||t._({id:"rpGMzC"}))}})},pe=r=>{window.confirm(t._({id:"xeIaKw",values:{0:r.email}}))&&L.mutate({eventId:s,orderShortId:i,attendeeShortId:r.short_id},{onSuccess:o=>{R(o.message||t._({id:"pGZOcL"}))},onError:o=>{var m,_,h;((m=o==null?void 0:o.response)==null?void 0:m.status)===429?x(t._({id:"mnUGVC"})):x(((h=(_=o==null?void 0:o.response)==null?void 0:_.data)==null?void 0:h.message)||t._({id:"DjSbj3"}))}})},xe=()=>{window.confirm(t._({id:"cDtoWq",values:{0:n==null?void 0:n.email}}))&&O.mutate({eventId:s,orderShortId:i},{onSuccess:r=>{R(r.message||t._({id:"CsTTH0"}))},onError:r=>{var o,m,_;((o=r==null?void 0:r.response)==null?void 0:o.status)===429?x(t._({id:"mnUGVC"})):x(((_=(m=r==null?void 0:r.response)==null?void 0:m.data)==null?void 0:_.message)||t._({id:"EJPAcd"}))}})};if(u)return e.jsx($,{status:"not_found",message:t._({id:"kvYpYu"}),subtitle:t._({id:"2RZK9x"})});if(!d||!n||!l)return e.jsx(ye,{});if(typeof window<"u"&&window.location.search.includes("failed")||(n==null?void 0:n.payment_status)==="PAYMENT_FAILED"){A(ve(s,i,"payment")+"?payment_failed=true");return}return(n==null?void 0:n.status)!=="COMPLETED"&&(n==null?void 0:n.status)!=="CANCELLED"&&(n==null?void 0:n.status)!=="AWAITING_OFFLINE_PAYMENT"?e.jsx(zs,{order:n}):e.jsxs(e.Fragment,{children:[e.jsxs(Oe,{children:[e.jsx(De,{title:t._({id:"dXoieq"})}),e.jsx(Os,{order:n,event:l,allowSelfEdit:I}),k&&e.jsx(Ie,{icon:e.jsx(Te,{size:16}),color:"green",mb:"lg",radius:"lg",style:{backgroundColor:"var(--checkout-surface, #ECFDF5)",borderColor:"var(--checkout-border, #D1FAE5)"},children:e.jsx(U,{size:"sm",style:{color:"var(--checkout-text-primary, #065F46)"},children:t._({id:"gzrCuN"})})}),e.jsx(Le,{event:l,order:n,showBuyerProtection:!1,defaultExpanded:!1}),(n==null?void 0:n.status)==="AWAITING_OFFLINE_PAYMENT"&&e.jsx($s,{event:l}),e.jsx("h1",{className:c.heading,children:t._({id:"Tol4BF"})}),e.jsx(Fs,{order:n,event:l,allowSelfEdit:I,onEditClick:()=>E(!0),onResendClick:xe}),e.jsx(Pe,{event:l,occurrence:((q=(J=n.order_items)==null?void 0:J[0])==null?void 0:q.event_occurrence)??null}),!!((K=l==null?void 0:l.settings)!=null&&K.post_checkout_message)&&e.jsx(Rs,{message:l.settings.post_checkout_message}),e.jsx("h1",{className:c.heading,children:t._({id:"QcCPs8"})}),e.jsx(Ss,{event:l,order:n}),n.status==="COMPLETED"&&e.jsx(ss,{event:l,occurrence:(Z=(V=n.order_items)==null?void 0:V[0])==null?void 0:Z.event_occurrence}),(n==null?void 0:n.attendees)&&n.attendees.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs(g,{justify:"space-between",align:"center",children:[e.jsx("h1",{className:c.heading,children:e.jsxs(g,{gap:"xs",children:[e.jsx(ze,{size:20}),t._({id:"R4r4XO"})]})}),e.jsx(b,{size:"sm",variant:"subtle",leftSection:e.jsx(re,{size:16}),onClick:()=>window==null?void 0:window.open(`/order/${s}/${i}
11/print`,"_blank"),children:t._({id:"MT7dxz"})})]}),e.jsx(T,{children:e.jsx("div",{className:c.guestList,children:n.attendees.map(r=>e.jsx(Ls,{attendee:r,event:l,allowSelfEdit:I,onEditClick:()=>f(r),onResendClick:()=>pe(r)},r.id))})})]}),e.jsx(Ee,{})]}),j&&e.jsx(is,{opened:!!j,onClose:()=>f(null),attendee:j,onSuccess:r=>{F(j,r)}}),n&&e.jsx(os,{opened:P,onClose:()=>E(!1),order:n,onSuccess:r=>{S(r)}})]})};export{Jt as OrderSummaryAndProducts,Jt 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.