PageSourceSearch

https://www.oscainc.org/_next/static/chunks/pages/community/groups…/[eventId]/attendance-a8fc3cba58d93769.js

js oscainc.org collected 2026-10-04 13:29:48 UTC 4,937 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71820],{81415:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/community/groups/[groupId]/events/[eventId]/attendance",function(){return t(20341)}])},3047:function(e,n,t){"use strict";t.d(n,{Q:function(){return GroupSimpleEventTabsLayout}});var s=t(82729),i=t(85893),r=t(50456),c=t(37887),a=t(48641),o=t(47741),u=t(41664),l=t.n(u);t(67294);var v=t(26221),d=t(63950),m=t(29826),p=t(62072),x=t(61853),g=t(16064),j=t(47503),h=t(89491),f=t(52670),E=t(48076),_=t(6491),y=t(71832);function _templateObject(){let e=(0,s._)(["\n  query GroupSimpleEventTabsLayout_EventQuery($input: EventInput!) {\n    event(input: $input) {\n      eventV2 {\n        _id\n        name\n        status\n        registrationType\n        tickets {\n          _id\n        }\n        ... on SimpleEventV2 {\n          venue {\n            ...VenueFragment\n          }\n        }\n        ...PublishButton_EventFragment\n        ...EventAudience_EventFragment\n      }\n    }\n  }\n  ","\n  ","\n  ","\n"]);return _templateObject=function(){return e},e}let T=(0,r.Ps)(_templateObject(),p.H.eventFragment,m.E.eventFragment,g.xW),GroupSimpleEventTabsLayout=e=>{var n,t,s,r,u,g,I,N;let{eventId:A,groupId:w,children:F}=e,R=(0,c.a)(T,{variables:{input:{_id:A}},skip:!A}),{isLoading:b,handleEventActivationStatus:C}=(0,h.t)({eventId:A,isConferenceEvent:!1,active:(null===(s=R.data)||void 0===s?void 0:null===(t=s.event)||void 0===t?void 0:null===(n=t.eventV2)||void 0===n?void 0:n.status)===j.N3.ACTIVE});if((null===(u=R.data)||void 0===u?void 0:null===(r=u.event.eventV2)||void 0===r?void 0:r.__typename)==="ConferenceEventV2")return(0,i.jsx)(E.S,{message:"Found unexpected event type: ConferenceEventV2"});let V=null===(g=R.data)||void 0===g?void 0:g.event.eventV2,k=(null==V?void 0:V.registrationType)===j.c5.TICKET;return(0,i.jsxs)(y.Ue,{children:[(0,i.jsx)(y.$b,{children:(0,i.jsxs)(a.Kq,{spacing:"4",children:[(0,i.jsxs)(a.Kq,{spacing:"4",children:[(0,i.jsx)(a.Kq,{direction:"row",alignItems:"center",children:(0,i.jsxs)(a.rU,{as:l(),href:"/events/".concat(A),display:"flex",alignItems:"center",gap:"2",children:[(0,i.jsx)(_.wyc,{}),(0,i.jsx)("span",{children:"Back to ".concat(null!==(N=null==V?void 0:V.name)&&void 0!==N?N:"Event")})]})}),V?(0,i.jsxs)(a.Kq,{children:[(0,i.jsxs)(a.Kq,{direction:"row",alignItems:"center",children:[(0,i.jsx)(a.xv,{textStyle:"xlBodyStrong",children:V.name}),(0,i.jsx)(a.LZ,{}),(0,i.jsx)(d.a,{status:V.status}),V.status===j.N3.DRAFT&&(0,i.jsx)(p.H,{event:V,isConferenceEvent:!1}),V.status===j.N3.INACTIVE&&(0,i.jsx)(o.zx,{onClick:C,isLoading:b,size:"sm",children:"Reactivate"}),(V.status===j.N3.ACTIVE||V.status===j.N3.DRAFT)&&(0,i.jsx)(v.$,{eventId:V._id,eventName:V.name,eventStatus:V.status,isAdminRoute:!1,isEventDuplicable:!0,isConferenceEvent:!1})]}),(0,i.jsx)(m.E,{event:V,isAdminRoute:!1})]}):null]}),(0,i.jsx)(f.Z,{px:"6",w:"full",mb:"4",children:V?(0,i.jsxs)(x.p,{children:[(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/overview"),children:(0,i.jsxs)(a.Ug,{children:[V.status===j.N3.DRAFT&&(0,i.jsx)(_.rE2,{color:"primary.500"}),(0,i.jsx)(a.xv,{children:"Overview"})]})}),!k&&V.status!==j.N3.DRAFT&&(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/registrants"),children:"Registrants"}),k&&V.status!==j.N3.DRAFT&&(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/registration"),children:"Registration"}),V.status!==j.N3.DRAFT&&V.venue.online&&"EventVenue_TradewingPlatform"===V.venue.online.__typename&&"EventVenue_TradewingPlatform_Stream_Live"===V.venue.online.stream.__typename&&(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/attendance"),children:"Attendance"}),k&&(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/tickets"),children:(0,i.jsxs)(a.Ug,{children:[V.status===j.N3.DRAFT&&(0,i.jsx)(i.Fragment,{children:(null===(I=V.tickets)||void 0===I?void 0:I.length)?(0,i.jsx)(_.rE2,{color:"primary.500"}):(0,i.jsx)(_.J$M,{color:"gray.300"})}),(0,i.jsx)(a.xv,{children:"Tickets"})]})}),(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/recording"),children:"Recording"}),(0,i.jsx)(x.f,{href:"/community/groups/".concat(w,"/events/").concat(A,"/email"),children:"Email"})]}):null}),F]})}),(0,i.jsx)(y.lf,{})]})}},20341:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var s=t(85893),i=t(11163);t(67294);var r=t(71114),c=t(3047),a=t(93064),o=(0,t(52609).z)(e=>{let n=(0,i.useRouter)(),t=n.query.eventId.toString(),a=n.query.groupId.toString();return(0,s.jsx)(c.Q,{eventId:t,groupId:a,children:(0,s.jsx)(r.U,{eventId:t})})},{requiresEvery:[a.lj.AUTHENTICATION]})}},function(e){e.O(0,[9669,9041,47376,78428,94451,64986,86439,52176,197,61915,28353,32298,27765,49774,92888,40179],function(){return e(e.s=81415)}),_N_E=e.O()}]);
2//# sourceMappingURL=attendance-a8fc3cba58d93769.js.map

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.