1import{as as a,av as v,ai as l,j as t,u as f,J as y,L as h}from"./index.03b766a6.js";import{c as G}from"./createFilterModule.4ccd41a1.js";import{I as u}from"./InfiniteListRenderer.b1bd91db.js";import{E as c}from"./EmptyState.f3a6a9c7.js";import{S as d,a as b}from"./StatefulSegmentNav.a5c1f607.js";import L from"./GuestProfilePage.23761952.js";import{H as w}from"./HorizontalGuestCard.3cf64817.js";import"./Tag.62aa63bb.js";import"./_getTag.ad9195fa.js";import"./_MapCache.37c25c82.js";import"./isArrayLike.04c136e3.js";import"./_Set.7e880124.js";import"./_Uint8Array.741957ea.js";import"./_isIndex.47a31181.js";import"./isSymbol.7e7d73e3.js";import"./FilterIcon.d22cc415.js";import"./IconWithText.ae74cf03.js";import"./identity.aafdfe88.js";import"./_baseFor.d4af74e7.js";import"./isArrayLikeObject.b8e48283.js";import"./_isIterateeCall.4509d0f7.js";import"./InfiniteScroll.2e823f7a.js";import"./useWindowSize.8f2148b3.js";import"./Carousel.29a67417.js";import"./mod.55bdee37.js";import"./ScheduleList.7501dda7.js";import"./ScheduleCard.40ec3eae.js";import"./DateTime.87aae8c0.js";import"./helpers.fe986fa1.js";import"./Portal.4b900f4e.js";import"./joinNonEmptyStrings.b8abb3f6.js";import"./AddButton.d898eea4.js";import"./CircleEdit.67cfc5c9.js";import"./HorizontalCard.5e772f02.js";import"./useConventionEventLiked.9a53d164.js";import"./useAnalyticEvent.3ca76cca.js";import"./CommunityCard.bf67bfff.js";import"./constants.e1181f15.js";import"./TouchableCard.c752d8a6.js";import"./Card.adcada32.js";import"./constants.70c484d3.js";import"./helpers.4abd06ef.js";import"./LoadMoreInfiniteQuery.91acddea.js";import"./InfiniteQueryRenderer.7e1ccc55.js";import"./ConventionCard.3f32e1dc.js";import"./JsonLd.58699657.js";import"./plural.257d9c5b.js";import"./Slot.e2c90d41.js";import"./ConventionTimes.5cddfb20.js";import"./ConventionDates.3e6049dd.js";import"./ConventionEventDetail.8552638f.js";import"./queries.e8c84651.js";import"./ChatSquareIcon.a25b9436.js";import"./MenuState.e10eb279.js";import"./RichText.d8008f61.js";import"./UserProfileModalButton.d60b24a8.js";import"./LoadingButton.3a2670aa.js";import"./useMobileMedia.a507f456.js";import"./SolidToggleButton.67a03382.js";import"./WebsiteLink.192da9f4.js";import"./Dots.5de14edb.js";import"./ReportModal.f5a990e4.js";import"./useUserLoaderSuspense.c5275faa.js";import"./useLoaderSuspense.adf38fed.js";import"./segmentController.1fb1ccd4.js";import"./useElementSize.2d2eaff5.js";import"./BlurredImageBackground.a890c28d.js";import"./PlayIcon.1616a7db.js";import"./EventTimeZoneDisplay.6c87399d.js";import"./NoteIcon.639717f2.js";import"./ShowMore.bb7f6909.js";import"./PostLikeButton.c56f5d79.js";import"./index.24cd529a.js";import"./ConventionServiceGuard.45ab414b.js";import"./UserListModal.a59c085c.js";import"./UserMenu.8691e3da.js";import"./helpers.6f5ce4b4.js";import"./useTimer.c4c301e6.js";import"./Select.555618f9.js";import"./queries.02128f4c.js";import"./ShareButton.16fe5bd7.js";import"./index.es.b2b31e88.js";import"./shareLinks.b5fb4d58.js";import"./createEmailLink.1281da38.js";import"./AboutSection.b4742dbb.js";import"./index.7dfbd03f.js";import"./useConventionEvent.2b7383b2.js";import"./ProfileHeader.1edd9096.js";import"./SellingBadgeIcon.bb988f2f.js";import"./SocialMediaLinks.ab09556f.js";import"./XhandleIcon.d5577cf9.js";import"./helpers.ac0325d0.js";const n=G({names:["categories","tags"],useFilterLabelColor({filterName:i,filterValue:m}){var r,o;const e=a();if(i==="categories")return(o=(r=e.celebrityTypes)==null?void 0:r.find(p=>p.name===m))==null?void 0:o.color},useFilterValues(i){var e,r,o,p;const m=a();return i==="tags"?(r=(e=m.celebrityTags)==null?void 0:e.map(s=>s.name))!=null?r:[]:i==="categories"?(p=(o=m.celebrityTypes)==null?void 0:o.map(s=>s.name))!=null?p:[]:[]}});function C(){var o;const i=a(),m=l(),e=l(`${m.url}/profile/:guestId`),r=(o=i.celebrityTypes)==null?void 0:o.some(p=>p.count>0);return t("div",{css:{display:"grid",gap:"0.5rem"}},t("div",{css:{display:"flex",justifyContent:"flex-end"}},r&&t(n.FilterPopover,null)),e?t(L,{guestId:e.params.guestId}):t(F,null))}var ar=v(C);function F(){const{guestStore:i}=f(),m=y(),e=a(),r={...n.useActive(),orderBy:e.sortGuests},o=m&&i.conventionGuestsLists.get(e.id,{...r,ownerId:m.id}),p=l();return t(b,null,t(d,{title:"All Guests",route:`${p.url}/all`},t("div",{css:{marginBottom:"1rem"}},t(n.AppliedFiltersDropdown,null)),t(u,{list:i.conventionGuestsLists.get(e.id,r),renderItems:s=>
1t(g,{items:s,baseUrl:p.url,onFollowChange:()=>o==null?void 0:o.clear()}),renderEmpty:()=>t(c,{text:"There are no guests for this event yet. Check back later!"})})),o&&t(d,{title:"My Guests",route:`${p.url}/following`},t("div",{css:{marginBottom:"1rem"}},t(n.AppliedFiltersDropdown,null)),t(u,{list:o,renderItems:s=>t(g,{baseUrl:p.url,items:s}),renderEmpty:()=>t(c,{text:"When you follow guests, you'll see them here!"})})))}function g({items:i,baseUrl:m,onFollowChange:e}){return t("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":0,marginTop:"calc(1rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(1rem * var(--tw-space-y-reverse))"}}},i.map(r=>t(w,{key:r.id,guest:r,link:t(h,{to:`${m}/profile/${r.id}`,"data-cy":"guestLink"}),onFollowChange:e})))}export{ar 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.