PageSourceSearch

https://www.mycause.com.au/_next/static/chunks/pages/my_account/registration-033fdd6d70bfdd62.js

js mycause.com.au collected 2026-10-02 18:01:24 UTC 26,066 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4462],{38348:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(14232);function n(e){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width||32,height:e.height||32,viewBox:"0 0 32 32",fill:"none"},r.createElement("path",{d:"M8.70065 28C8.15065 28 7.67982 27.8042 7.28815 27.4125C6.89648 27.0208 6.70065 26.55 6.70065 26V7H5.33398V5H11.6007V4H20.4007V5H26.6673V7H25.3007V26C25.3007 26.5333 25.1007 27 24.7007 27.4C24.3007 27.8 23.834 28 23.3007 28H8.70065ZM23.3007 7H8.70065V26H23.3007V7ZM12.234 23.1333H14.234V9.83333H12.234V23.1333ZM17.7673 23.1333H19.7673V9.83333H17.7673V23.1333Z",fill:e.color||"#2D8A75"}))}},47852:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(14232);let n={error:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0],r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},r.createElement("path",{d:"M13 7H11V13H13V7ZM12 15C11.7167 15 11.4792 15.0958 11.2875 15.2875C11.0958 15.4792 11 15.7167 11 16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16C13 15.7167 12.9042 15.4792 12.7125 15.2875C12.5208 15.0958 12.2833 15 12 15ZM12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2ZM12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4Z",fill:"#D70E00"}))},success:()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},r.createElement("path",{d:"M13 7H11V13H13V7ZM12 15C11.7167 15 11.4792 15.0958 11.2875 15.2875C11.0958 15.4792 11 15.7167 11 16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16C13 15.7167 12.9042 15.4792 12.7125 15.2875C12.5208 15.0958 12.2833 15 12 15ZM12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2ZM12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4Z",fill:"#155724"})),warning:()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},r.createElement("path",{d:"M11 17H13V11H11V17ZM12 9C12.2833 9 12.5208 8.90417 12.7125 8.7125C12.9042 8.52083 13 8.28333 13 8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8C11 8.28333 11.0958 8.52083 11.2875 8.7125C11.4792 8.90417 11.7167 9 12 9ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 
113.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"#FF5C00"}))}},66689:()=>{},72363:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(14232);function n(e){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:"0 0 16 16",fill:e.color},r.createElement("circle",{cx:"8",cy:"8",r:"8"}))}},74487:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(70825),n=a.n(r),i=a(14232),s=a(26123),o=a(15039),l=a.n(o);let c=function(e){let{show:t}=e,a={styles:i.createElement(n(),{id:"1781468232"},".loading.jsx-1781468232{width:100%;height:100%;position:fixed;top:0;left:0;z-index:999;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#01010150;}.loading.jsx-1781468232 img{width:100px;}"),className:"jsx-1781468232"};return t?i.createElement("div",{className:l()(a.className,"loading")},i.createElement(s.y$,null),a.styles):null}},77530:e=>{e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iMjJweCIgaWQ9IkxheWVyXzEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB3aWR0aD0iMjJweCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PHBvbHlnb24gcG9pbnRzPSIzOTYuNiwxNjAgNDE2LDE4MC43IDI1NiwzNTIgOTYsMTgwLjcgMTE1LjMsMTYwIDI1NiwzMTAuNSAiIGZpbGw9IiMzNThiNzYiLz48L3N2Zz4="},79436:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(14232);function n(e){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{id:"download"},r.createElement("path",{id:"Vector",d:"M5.5 21.25C5.1 21.25 4.75 21.1 4.45 20.8C4.15 20.5 4 20.15 4 19.75V16.175H5.5V19.75H18.5V16.175H20V19.75C20 20.15 19.85 20.5 19.55 20.8C19.25 21.1 18.9 21.25 18.5 21.25H5.5ZM12 17.425L7.175 12.6L8.25 11.525L11.25 14.525V5.25H12.75V14.525L15.75 11.525L16.825 12.6L12 17.425Z",fill:e.color})))}},86892:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/my_account/registration",function(){return a(93079)}])},93079:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>V,getTransaction:()=>S});var r=a(70825),n=a.n(r),i=a(14232),s=a(79836),o=a(73589),l=a(37237),c=a(9801),p=a(8274),d=a(29433),m=a(66284);a(66689);var x=a(92538),g=a(26123),w=a(98904),u=a(44481),f=a(10841),h=a.n(f),b=a(74487),y=a(79436),j=a(38348),C=a(77530),v=a.n(C),E=a(72363),k=a(96622);function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach(function(t){(0,m.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let I=function(e){let{data:t,getRegistrationSearching:a,isLoading:r,onDownloadReceipt:s,onDownloadNonDonationReceipt:o,onShowMore:l,onDelete:c}=e,p=t?t.records:[],d=t?t.numberOfRecords:0,{0:m,1:x}=(0,i.useState)(10),{0:w,1:f}=(0,i.useState)([]),{0:C,1:A}=(0,i.useState)(""),{0:I,1:M}=(0,i.useState)(!1),{0:D,1:O}=(0,i.useState)(!1),{0:z,1:H}=(0,i.useState)(null),S=(0,u.Ay)("screen and (max-width: 840px)"),V=(0,u.Ay)("screen and (max-width: 560px)");(0,i.useEffect)(()=>
1{if(!(null!=p&&p.length)){f([]);return}f(p.slice(0,m).map((e,t)=>N(N({},e),{},{index:t})))},[p,m]);let Z=async()=>{await a({limit:10,offset:0,searchInput:C})},L=async()=>{M(!0),x(m+10),await l({limit:m+10,offset:0,searchInput:C}),M(!1)},P=async(e,t)=>{let a={type:"receipt",participantId:e.objectId,groupId:e.groupId,eventId:e.eventId,reciptnumber:e.reciptnumber};await s(a,t)},T=async e=>{await o(e.donorId)},R=async e=>{O(!1);let t={participantId:e.objectId};await c(t)},_=e=>{let t=[];return"participant"===e.type?0===e.status?(t.push({label:"Complete",icon:i.createElement(k.A,{color:"#FF5E6A"}),onClick:()=>window.open("/event_registration/register/".concat(e.eventId),"_blank"),color:"#FF5E6A"}),t.push({label:"Delete",icon:i.createElement(j.A,{color:"#FF5E6A"}),onClick:()=>{H(e),O(!0)},color:"#FF5E6A"})):(e.addedBy==e.userId&&t.push({label:"Download Receipt",icon:i.createElement(y.A,{color:"#2D8A75"}),onClick:()=>P(e,"receipt"),color:"#2D8A75"}),1==e.hasBarcode&&t.push({label:"Print ticket",icon:i.createElement(y.A,{color:"#2D8A75"}),onClick:()=>P(e,"barcode"),color:"#2D8A75"})):t.push({label:"Download Receipt",icon:i.createElement(y.A,{color:"#2D8A75"}),onClick:()=>T(e),color:"#2D8A75"}),t},F=e=>{let{label:t,icon:a,onClick:r,color:n}=e;return i.createElement("div",{onClick:r,className:"action-button ".concat("Delete"===t||"Complete"===t?"red":""),style:{display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",borderRadius:"20px",gap:"2px",border:"thin solid ".concat(n),padding:"0 4px",fontSize:"13px",height:"32px",color:n,fontWeight:600,cursor:"pointer",maxWidth:"244px",minWidth:"110px",width:"fit-content"}},t,i.createElement("span",{style:{display:"flex",alignItems:"center",width:"20px",height:"20px",marginRight:"5px",color:n}},a))},B=e=>{let t=_(e);return i.createElement("div",{style:{display:"flex",gap:"8px",justifyContent:"flex-end",flexDirection:"column",float:"right"}},t.map((e,t)=>i.createElement(F,{key:t,label:e.label,icon:e.icon,onClick:e.onClick,color:e.color})))},W=e=>"Paid"===e.statusAsText||"Active"===e.statusAsText?i.createElement("div",{style:{display:"flex",alignItems:"center"}},i.createElement("span",{style:{display:"flex",marginRight:"5px"}},i.createElement(E.A,{width:"8",height:"8",color:"#2D8A75"})),e.statusAsText):"Inactive"===e.statusAsText?i.createElement("div",{style:{color:"#FF5E6A",display:"flex",alignItems:"center"}},i.createElement("span",{style:{display:"flex",marginRight:"5px"}},i.createElement(E.A,{weight:8,height:8,color:"#FF5E6A"})),"Pending"):i.createElement("div",{style:{color:"red"}},e.statusAsText),Q=e=>i.createElement("span",{className:"fee",style:{color:"Inactive"==e.statusAsText?"#FF5E6A":"#2D8A75",fontSize:"16px"}},"$",e.fee),Y=(e,t)=>{let a=w.findIndex(t=>t.index===e);if(-1===a)return;let r=[...w];r[a].showMerchList=t,f(r)},G=e=>{var t,a;return i.createElement("div",{className:"activities-wrap"},i.createElement("span",{className:"activityName"},e.activityName),(null===(t=e.merchandise)||void 0===t?void 0:t.length)&&!e.showMerchList&&i.createElement("div",{className:"show-list-text",onClick:()=>Y(e.index,!0)},"See the list of items ",i.createElement("img",{className:"arrowIcon",src:v(),alt:"Arrow down icon"})),e.showMerchList&&i.createElement("div",{className:"list-merch-wrap"},null===(a=e.merchandise)||void 0===a?void 0:a.map((e,t)=>i.createElement("div",{className:"list-merch",key:t},i.createElement("span",{className:"merch-name"},e.productName),i.createElement("span",null,e.quantity))),i.createElement("div",{className:"show-list-text",onClick:()=>Y(e.index,!1)},"Hide the list of items"," ",i.createElement("img",{className:"arrowIconUp",src:v(),alt:"Arrow down icon"}))))},J=[{key:"eventName",label:"Event Name",align:"left",renderCell:e=>i.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",maxWidth:"290px"}},i.createElement("span",{className:"show-list-text",style:{fontWeight:600,fontSize:"14px",lineHeight:"18px",color:"Active"===e.statusAsText?"#2D8A75":"#404041",cursor:"pointer"},onClick:()=>window.open("".concat("https://www.mycause.com.au","/events/").concat(e.eventId),"_blank")},e.eventName))},{key:"activity",label:"Activity",align:"center",renderCell:G},{key:"date",label:"Date",align:"center",renderCell:e=>i.createElement("div",{style:{padding:"0 10px",maxWidth:"280px"}},i.createElement("span",{style:{fontWeight:"normal",fontSize:"14px"}},h()(e.date).format("DD/MM/YYYY")))},{key:"amount",label:"Amount",align:"center",renderCell:Q},{key:"status",label:"Status",align:"center",renderCell:W},{key:"actions",label:"Actions",align:"center",renderCell:B}];return i.createElement("div",{className:"jsx-3089368275 registrations-section"},i.createElement(b.A,{show:r}),i.createElement("div",{className:"jsx-3089368275 registrations"},i.createElement("div",{className:"jsx-3089368275 search-field"},i.createElement(g.mp,{value:C,onChange:A,onSubmit:Z,placeholder:"Search by:  Name, keyword or receipt no."})),!p.length&&i.createElement("div",{className:"jsx-3089368275 no-registrations"},i.createElement("div",{className:"jsx-3089368275 text"}
1,"You don’t have any records yet.")),!V&&!S&&!!p.length&&i.createElement("div",{className:"jsx-3089368275 table-wrap"},i.createElement(g.Nz,{columns:J,data:w,customBottomRow:i.createElement("div",{className:"jsx-3089368275 custom-bottom-row"},i.createElement("div",{onClick:L,className:"jsx-3089368275 right"},m<d?i.createElement("span",{className:"jsx-3089368275"},I?i.createElement("div",{style:{marginRight:"30px"},className:"jsx-3089368275"},i.createElement(g.y$,null)," "):i.createElement("div",{className:"jsx-3089368275"},"Show more ▾")):null))})),S&&i.createElement("div",{className:"jsx-3089368275 reg-card-wrap"},w.map((e,t)=>i.createElement("div",{key:t,style:{marginBottom:"16px"},className:"jsx-3089368275"},i.createElement(g.bn,{amount:Q(e),recipient:e.eventName,receiptNo:G(e),details:"participant"==e.type?"Merchandise":"Purchase",date:e.date,statusAsText:W(e),action:B(e),notShowIcon:!0}))),m<d?i.createElement("div",{onClick:L,className:"jsx-3089368275 show-more-card"},i.createElement("span",{className:"jsx-3089368275"}," ",I?i.createElement("div",{className:"jsx-3089368275"},i.createElement(g.y$,null)," "):i.createElement("div",{className:"jsx-3089368275"},"Show more ▾"))):null)),i.createElement(g.aF,{isConfirmationMessage:!0,isOpen:D,toggleModal:O,id:"confirmDeleteModal",acceptText:"Delete",cancelText:"Cancel",buttonAlign:"center",setWidth:"400px",onAccept:()=>R(z),modalTitle:"",modalContent:i.createElement(i.Fragment,null,i.createElement("div",{style:{color:"#404041",textAlign:"center",fontFamily:"Montserrat",fontSize:"16px",fontStyle:"normal",fontWeight:460,lineHeight:"24px"},className:"jsx-3089368275"},i.createElement(i.Fragment,null,i.createElement("div",{className:"jsx-3089368275"},"Are you sure you want to delete this activity?"))))}),i.createElement(n(),{id:"3089368275"},'.registrations-section.jsx-3089368275{font-family:"Montserrat",sans-serif;}.no-registrations.jsx-3089368275 .text.jsx-3089368275{color:#404041;font-size:16px;line-height:24px;padding:20px 0;}.registrations.jsx-3089368275 .search-field.jsx-3089368275{width:50%;}.registrations.jsx-3089368275 .search-field.jsx-3089368275 .icon.searchIcon{-webkit-transform:scale(1.2) !important;-ms-transform:scale(1.2) !important;transform:scale(1.2) !important;
1color:#2d8a75;}.registrations.jsx-3089368275 .search-field.jsx-3089368275 .icon.closeIcon{right:45px !important;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275{position:relative;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .no-results.jsx-3089368275{position:absolute;top:81px;left:40px;padding:25px 0;width:95%;background:#fff;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 [class*="partner-monthly-table-module_wrapper"]{margin:24px 0 80px 0 !important;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .custom-bottom-row{padding:20px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .custom-bottom-row .right{cursor:pointer;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .custom-bottom-row .right:hover{color:#2d8a75;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 th{font-size:14px;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 tbody tr:hover{background-color:#f2f8f1;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .action-button:hover{background:#2d8a75;color:#fff !important;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .action-button:hover svg path{fill:#fff;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .action-button.red:hover{background:#ff5e6a;color:#fff !important;}.registrations.jsx-3089368275 .show-list-text{font-size:14px;color:#2d8a75;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;padding-top:10px;}.registrations.jsx-3089368275 .show-list-text:hover{-webkit-text-decoration:underline;text-decoration:underline;}.registrations.jsx-3089368275 .loading.jsx-3089368275{box-shadow:rgba(100,100,111,0.2) 0px 0px 29px;border-radius:10px;padding:20px;margin-top:20px;}.registrations.jsx-3089368275 .list-merch-wrap{margin:16px 0;}.registrations.jsx-3089368275 .list-merch{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:8px 0;font-size:14px;}.registrations.jsx-3089368275 .list-merch .merch-name{max-width:80%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}.registrations.jsx-3089368275 .activities-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;max-width:300px;padding:0 10px;text-align:left;}.registrations.jsx-3089368275 .activityName{font-weight:normal;font-size:14px;}.registrations.jsx-3089368275 .arrowIcon{margin-left:5px;-webkit-transform:scale(0.8);-ms-transform:scale(0.8);transform:scale(0.8);}.registrations.jsx-3089368275 .arrowIconUp{margin-left:5px;-webkit-transform:rotate(180deg) scale(0.8);-ms-transform:rotate(180deg) scale(0.8);transform:rotate(180deg) scale(0.8);}@media (max-width:1300px) and (min-width:840px){.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 [class*="transaction-card-module_wrapper"]{padding:20px !important;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .action-button{font-size:10px !important;gap:0 !important;min-width:132px !important;}.registrations.jsx-3089368275 .table-wrap.jsx-3089368275 .action-button svg{width:15px !important;}}@media (max-width:840px){.registrations.jsx-3089368275 .activities-wrap{padding:0;}.registrations-section.jsx-3089368275 .search-field.jsx-3089368275{width:100%;}.reg-card-wrap.jsx-3089368275{margin-top:24px;position:relative;}.reg-card-wrap.jsx-3089368275 .no-results-mobile.jsx-3089368275{border-radius:8px;border:1px solid #e2e2e2;background:#fff;}.reg-card-wrap.jsx-3089368275 .no-results-mobile.jsx-3089368275 p.jsx-3089368275{margin:20px;font-size:14px;}.reg-card-wrap.jsx-3089368275 .action-button{height:36px !important;}.show-more-card.jsx-3089368275{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:10px auto 20px;width:180px;padding:8px 0;border:1px solid #2d8a75;border-radius:20px;font-size:14px;font-weight:700;color:#2d8a75;cursor:pointer;}.reg-card-wrap.jsx-3089368275 .fee{font-weight:600;}.reg-card-wrap.jsx-3089368275 [class*="transaction-card-module_footerLeft"]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}}@media (max-width:560px){.no-registrations.jsx-3089368275 .text.jsx-3089368275{font-size:14px;}.registrations-section.jsx-3089368275 .mdc-text-field__input{font-size:12px !important;}.reg-card-wrap.jsx-3089368275 .action-button{width:144px !important;height:26px !important;font-size:10px !important;gap:4px !important;min-width:144px !important;}.reg-card-wrap.jsx-3089368275 [class*="transaction-card-module_wrapper"]{padding:20px;}.reg-card-wrap.jsx-3089368275 [class*="transaction-card-module_footerLeft"]{max-width:60% !important;}.reg-card-wrap.jsx-3089368275 [class*="transaction-card-module_statusAsText"]{padding:6px 0;}.reg-card-wrap.jsx-3089368275 .action-button.red{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:110px !important;}.reg-card-wrap.jsx-3089368275 .action-button svg{width:16px;}.registrations-section.jsx-3089368275 .mdc-dialog__surface{max-width:80% !important;}}'))};var M=a(47852);function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,m.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let z=function(e){let{registrationData:t}=e,a=(0,w.VB)(),{0:r,1:s}=(0,i.useState)(t),{0:o,1:l}=(0,i.useState)(!1),c=async e=>{try{let t=await d.QQ(a,e);s(t)}catch(e){x.oR.error("An error has occurred, please try again later",{icon:i.createElement(M.A.error,null)})}finally{l(!1)}},p=async e=>{try{l(!0);let t=await d.QQ(a,e);s(t)}catch(e){x.oR.error("An error has occurred, please try again later",{icon:i.createElement(M.A.error,null)})}finally{l(!1)}},m=async(e,t)=>{try{l(!0),await d.dl(a,e,t)}catch(e){x.oR.error("An error has occurred, please try again later",{icon:i.createElement(M.A.error,null)}),l(!1)}finally{l(!1)}},u=async e=>{try{l(!0),await d.sq(a,e)}catch(e){x.oR.error("An error has occurred, please try again later",{icon:i.createElement(M.A.error,null)}),l(!1)}finally{l(!1)}},f=async e=>{try{if(l(!0),await d.XC(a,e)){let t=r.records.filter(t=>t.objectId!==e.participantId);s(O(O({},r),{},{records:t})),x.oR.success("Your registration has been deleted.",{icon:i.createElement(M.A.success,null)})}}catch(e){x.oR.error("An error has occurred, please try again later",{icon:i.createElement(M.A.error,null)})}finally{l(!1)}};return i.createElement("div",{className:"jsx-129978790 mycause-db"},i.createElement(g.y8,{className:"toast-left",position:"top-center",autoClose:3e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),i.createElement("div",{className:"jsx-129978790 donation-payment-section section"},i.createElement("div",{className:"jsx-129978790"},i.createElement("h1",{className:"jsx-129978790 registration-title"},"Registration, Tickets & Merchandise"),i.createElement(I,{data:r,getRegistrationSearching:p,isLoading:o,onDownloadReceipt:m,onDownloadNonDonationReceipt:u,onShowMore:c,onDelete:f}))),i.createElement(n(),{id:"129978790"},'.mycause-db.jsx-129978790{font-family:"Montserrat",sans-serif;}.section.jsx-129978790{margin-bottom:80px;}.registration-title.jsx-129978790{color:#404041;font-size:24px;font-style:normal;font-weight:700;line-height:32px;padding-bottom:8px;border-bottom:1px solid #e2e2e2;}@media (max-width:1200px){.no-frp.jsx-129978790{width:100%;}}@media (max-width:560px){.registration-title.jsx-129978790{font-size:20px;padding-top:20px;}}'))};function H(e){let{registrationData:t}=e;return i.createElement(i.Fragment,null,i.createElement("div",{className:"jsx-3045355694 container"},i.createElement(z,{registrationData:t})),i.createElement(n(),{id:"3045355694"},".container.jsx-3045355694{margin:40px 30px;max-width:1140px;}@media (max-width:480px){.container.jsx-3045355694{margin:0 20px;}}"))}async function S(e,t){let a=new p.Q9("https://api.mycause.com.au",e);return await d.QQ(a,t)}H.getLayout=e=>{let{children:t,user:a}=e;return i.createElement(s.A,{user:a},t)},H.getInitialProps=async e=>{let t=await (0,l.H7)(e),a=null;if(!t)return(0,c.A)(e,"/my_account",{external:!0}),{};try{a=await S(t.token,{limit:"",offset:0,searchInput:""})}catch(e){console.error(e)}return{user:t.user,registrationData:a}};let V=(0,o.g)({guard:!0,passive:!0})(H)},96622:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(14232);function n(e){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:"0 0 25 24",fill:e.color},r.createElement("path",{d:"M12.5 20L20.5 12L12.5 4L11.45 5.05L17.65 11.25H4.5V12.75H17.65L11.45 18.95L12.5 20Z"}))}}},e=>{var t=t=>e(e.s=t);e.O(0,[7348,4312,5874,2254,5,176,636,6593,8792],()=>t(86892)),_N_E=e.O()}]);

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.