1import{a as Be}from"./chunk-JSDRISNQ.js";import{a as Ve,b as Ne,c as Ge}from"./chunk-AIL4LNEM.js";import{a as Pe}from"./chunk-OTKWRMHL.js";import{a as z}from"./chunk-PKRRNXRB.js";import"./chunk-XOURPMNN.js";import{a as Fe}from"./chunk-3E573ZAO.js";import{a as De}from"./chunk-OSI2R35S.js";import{a as Ie}from"./chunk-7LTRD4VM.js";import{a as Me}from"./chunk-SHMCUBQU.js";import"./chunk-IKZI355W.js";import"./chunk-V2CBXJC7.js";import{g as ke}from"./chunk-A3O36XWO.js";import{b as Te}from"./chunk-SMMWDZ57.js";import{d as A}from"./chunk-N6SJXCXC.js";import{b as _e}from"./chunk-EEM4G7YQ.js";import"./chunk-5ERSIZ5M.js";import{a as ge}from"./chunk-Z5GQEGIL.js";import"./chunk-WI2BIK6C.js";import{a as Le}from"./chunk-WTB45Y6E.js";import"./chunk-R2YK33WE.js";import"./chunk-Z4VI462E.js";import"./chunk-XVDQGSEV.js";import"./chunk-CANZEXWK.js";import"./chunk-ANEODVWI.js";import"./chunk-DAUMO4CD.js";import"./chunk-WDYEGXI7.js";import{b as fe,e as ye,g as he,j as xe,s as Ce,t as we,v as Ee}from"./chunk-FLXTAL7N.js";import"./chunk-XSUZG3GV.js";import{f as ve,i as be}from"./chunk-45KDPCOP.js";import"./chunk-EY5CNY3Z.js";import{b as Y}from"./chunk-EBGSKUGT.js";import{o as Se}from"./chunk-J2VLQAE6.js";import"./chunk-EKBF3AUU.js";import{j as me,p as ue,q as pe,s as B}from"./chunk-OHI5QHQ3.js";import{Ab as te,Cb as V,Db as N,Dc as T,Eb as d,Ec as Q,Fb as l,Fc as X,Gb as s,Hb as p,Hc as se,M as K,Mc as S,Ob as w,Pc as de,Qc as G,Ra as U,Rc as ce,Ta as Z,Tb as v,Ua as a,V as J,Vb as c,_ as C,bc as ie,cc as ne,da as b,dc as H,ea as g,fc as q,gc as D,ib as P,ic as x,jc as k,kc as oe,l as W,ob as ee,p as j,pa as _,q as L,qc as le,rc as ae,sa as M,sc as re,vc as E,yb as f,zb as y}from"./chunk-G46SU4VK.js";import"./chunk-DFAHO5O3.js";import"./chunk-EU2KAMEK.js";import{a as F,b as I}from"./chunk-DAQOROHW.js";var Ke=()=>({width:"26rem"});function Ue(i,t){if(i&1&&(l(0,"div",5),p(1,"i",7),l(2,"div",8),x(3),s()()),i&2){let e=t.$implicit;a(),d("ngClass",e.icon),a(2),k(e.text)}}var $=class i{visible=G.required();title=G("Salva questo evento");message=G([{icon:"fa-solid fa-bookmark",text:"Crea un account o accedi per salvare questo evento e ritrovarlo nella tua area personale "},{icon:"fa-solid fa-star",text:"Puoi inoltre usare questa applicazione per gestire i tuoi giochi, tavoli ed eventi. Provala!"}]);visibleChange=de();static \u0275fac=function(e){return new(e||i)};static \u0275cmp=P({type:i,selectors:[["snp-signup-invite-dialog"]],inputs:{visible:[1,"visible"],title:[1,"title"],message:[1,"message"]},outputs:{visibleChange:"visibleChange"},decls:9,vars:8,consts:[[3,"visibleChange","header","visible","modal","dismissableMask"],[1,"flex","flex-col","gap-3"],[1,"flex","items-center","justify-center","gap-2","pt-1"],["src","assets/logo.png","alt","Store'n'Play",1,"w-10","h-10","object-contain"],[1,"text-xl","font-semibold"],[1,"flex","items-start","gap-2","p-3","rounded-md","bg-blue-50","dark:bg-blue-950","border","border-blue-200","dark:border-blue-800","text-blue-800","dark:text-blue-200"],[3,"embedded"],[1,"mt-0.5",3,"ngClass"],[1,"text-sm"]],template:function(e,o){e&1&&(l(0,"p-dialog",0),v("visibleChange",function(r){return o.visibleChange.emit(r)}),l(1,"div",1)(2,"div",2),p(3,"img",3),l(4,"span",4),x(5,"Store'n'Play"),s()(),V(6,Ue,4,2,"div",5,te),p(8,"snp-login",6),s()()),e&2&&(D(E(7,Ke)),d("header",o.title())("visible",o.visible())("modal",!0)("dismissableMask",!0),a(6),N(o.message()),a(2),d("embedded",!0))},dependencies:[B,me,A,z],encapsulation:2})};var Ae="snp_deviceId",R=class i{getDeviceId(){try{let t=localStorage.getItem(Ae);return t||(t=crypto.randomUUID(),localStorage.setItem(Ae,t)),t}catch{return crypto.randomUUID()}}static \u0275fac=function(e){return new(e||i)};static \u0275prov=J({token:i,factory:i.\u0275fac,providedIn:"root"})};var He=["gamesScroller"],qe=()=>({width:"24rem"}),Qe=()=>({width:"95vw",maxWidth:"900px"}),Xe=()=>({width:"90vw",maxWidth:"480px"}),Ye=(i,t)=>t.id;function Je(i,t){i&1&&(l(0,"div",3),p(1,"i",5),s())}function Ze(i,t){if(i&1&&p(0,"img",8),i&2){c();let e=re(3);d("src",e,U)}}function et(i,t){i&1&&(l(0,"div",40),p(1,"i",51),x(2," In prestito "),s())}function tt(i,t){i&1&&(l(0,"div",41),p(1,"i",52),x(2," Disponibile "),s())}function it(i,t){if(i&1&&p(0,"p-tag",47),i&2){let e=c(2).$implicit;d("value",e.minplayers===e.maxplayers?e.minplayers+"":e.minplayers+"-"+e.maxplayers)}}function nt(i,t){if(i&1&&p(0,"p-tag",48),i&2){let e=c(2).$implicit;d("value",e.playingtime+" min")}}function ot(i,t){if(i&1){let e=w();l(0,"button",53),v("click",function(){b(e);let n=c(2).$implicit,r=c(3);return g(r.openBggPage(n))}),p(1,"i",54),x(2," BGG "),s()}}function lt(i,t){if(i&1){let e=w();l(0,"div",38)(1,"div",39),f(2,et,3,0,"div",40)(3,tt,3,0,"div",41),l(4,"div",42)(5,"div"),p(6,"img",43),s(),l(7,"div",44)(8,"div")(9,"div",45),x(10),s()(),l(11,"div",46),f(12,it,1,1,"p-tag",47),f(13,nt,1,1,"p-tag",48),f(14,ot,3,0,"button",49),s()(),l(15,"snp-favorite-button",50),v("cycled",function(n){b(e);let r=c().$implicit,u=c(3);return g(u.onGameFavCycled(r,n))}),s()()()()}if(i&2){let e=c().$implicit,o=e.rent;a(2),y(o?2:3),a(3),q("opacity-55",o),a(),d("src",e.thumbnail||e.image,U),a(2),q("opacity-55",o),a(2),oe(" ",e.title," "),a(2),y(e.minplayers||e.maxplayers?12:-1),a(),y(e.playingtime?13:-1),a(),y(e.bggID&&e.bggID>0?14:-1),a(),d("kind",e.favoriteKind)("rounded",!0)("resetAfterIdle",!0)("outlinedWhenInactive",!0)("outlined",!1)("trasparent",!0)}}function at(i,t){if(i&1&&f(0,lt,16,16,"div",38),i&2){let e=t.$implicit;y(e?0:-1)}}function rt(i,t){if(i&1){let e=w();l(0,"p-scroller",37,1),v("onScroll",function(n){b(e);let r=c(2);return g(r.onGamesScroll(n))}),ee(2,at,1,1,"ng-template",null,2,se),s()}if(i&2){let e=c(2);d("items",e.filteredGames())("itemSize",112)("numToleratedItems",8)("trackBy",e.trackGameById)}}function st(i,t){i&1&&(l(0,"div",24),p(1,"i",55),l(2,"p",56),x(3,"Nessun gioco trovato"),s()())}function dt(i,t){if(i&1){let e=w();l(0,"div",25)(1,"p-button",57),v("onClick",function(){b(e);let n=c(2);return g(n.scrollToTop())}),s()()}
1i&2&&(a(),d("rounded",!0))}function ct(i,t){if(i&1){let e=w();l(0,"p-button",58),v("onClick",function(){b(e);let n=c(2);return g(n.showLobbiesDialog.set(!0))}),s()}}function mt(i,t){if(i&1){let e=w();l(0,"p-button",59),v("onClick",function(){b(e);let n=c(2);return g(n.goToHome())}),s()}i&2&&d("rounded",!0)}function ut(i,t){if(i&1){let e=w();l(0,"p-button",60),v("onClick",function(){b(e);let n=c(2);return g(n.toggleFollow())}),l(1,"span",61)(2,"span",7),p(3,"i",62),x(4," Salva "),s()()()}}function pt(i,t){if(i&1&&(p(0,"p-tag",65),T(1,"date")),i&2){let e=c();d("value",X(1,1,e.date.toDate(),"dd/MM/yyyy")??"")}}function vt(i,t){if(i&1){let e=w();l(0,"div",35)(1,"div",63)(2,"p-button",64),v("onClick",function(){b(e);let n=c(2);return g(n.selectedLobby.set(null))}),s(),f(3,pt,2,4,"p-tag",65),s(),l(4,"div",66),p(5,"snp-public-lobby-tables",67),s()()}if(i&2){let e=t;a(2),d("outlined",!0),a(),y(e.date?3:-1),a(2),d("lobbyId",e.id)("compactMode",!0)}}function bt(i,t){if(i&1&&(p(0,"p-tag",74),T(1,"date")),i&2){let e=c().$implicit;d("value",X(1,1,e.date.toDate(),"dd/MM/yyyy")??"")}}function gt(i,t){if(i&1){let e=w();l(0,"button",69),v("click",function(){let n=b(e).$implicit,r=c(3);return g(r.selectedLobby.set(n))}),l(1,"div",70),p(2,"i",71),l(3,"span",72),x(4),s()(),l(5,"div",73),f(6,bt,2,4,"p-tag",74),p(7,"p-tag",75),s()()}if(i&2){let e=t.$implicit,o=c(3);a(4),k(e.name),a(2),y(e.date?6:-1),a(),d("value",o.freeTablesLabel(e.freeTableCount))("severity",e.freeTableCount==0?"danger":e.freeTableCount<=2?"warn":"success")}}function _t(i,t){if(i&1&&(l(0,"div",36),V(1,gt,8,4,"button",68,Ye),s()),i&2){let e=c(2);a(),N(e.lobbies())}}function ft(i,t){if(i&1){let e=w();l(0,"div",4)(1,"div",6)(2,"div",7),le(3),T(4,"pathToDocURL"),T(5,"async"),f(6,Ze,1,1,"img",8),l(7,"div",9),x(8),s()()(),l(9,"div",10)(10,"div",11)(11,"div"),p(12,"input",12),s(),p(13,"p-tag",13),s(),l(14,"div",14)(15,"div"),p(16,"p-menu",15,0),l(18,"p-button",16),v("click",function(n){b(e);let r=H(17);return g(r.toggle(n))}),s(),l(19,"p-button",17),v("click",function(n){b(e);let r=H(17);return g(r.toggle(n))}),s()(),l(20,"div")(21,"snp-favorite-button",18),v("cycled",function(n){b(e);let r=c();return g(r.favoriteFilter.set(n))}),s(),l(22,"snp-favorite-button",19),v("cycled",function(n){b(e);let r=c();return g(r.favoriteFilter.set(n))}),s()(),l(23,"p-button",20),v("onClick",function(){b(e);let n=c();return g(n.resetFilters())}),s(),l(24,"p-button",21),v("onClick",function(){b(e);let n=c();return g(n.resetFilters())}),s()()(),l(25,"div",22),f(26,rt,4,4,"p-scroller",23)(27,st,4,0,"div",24),s(),f(28,dt,2,1,"div",25),l(29,"div",26)(30,"div",27),f(31,ct,1,0,"p-button",28),s(),f(32,mt,1,1,"p-button",29)(33,ut,5,0,"p-button",30),s(),l(34,"p-dialog",31),v("visibleChange",function(n){b(e);let r=c();return g(r.showLoginDialog.set(n))}),p(35,"snp-login",32),s(),l(36,"snp-signup-invite-dialog",33),v("visibleChange",function(n){b(e);let r=c();return g(r.showSignupInviteDialog.set(n))}),s(),l(37,"p-dialog",34),v("visibleChange",function(n){b(e);let r=c();return g(r.onLobbiesDialogVisibleChange(n))}),f(38,vt,6,4,"div",35)(39,_t,3,0,"div",36),s()()}if(i&2){let e,o,n,r,u,h,m=c();a(3);let O=ae(Q(5,34,Q(4,32,((e=m.event())==null?null:e.eventLogo)??null)));a(3),y(O?6:-1),a(2),k(((o=m.event())==null?null:o.name)||"EVENTO"),a(4),d("formControl",m.searchControl),a(),d("value",m.filteredGames().length+" giochi"),a(3),d("model",m.playersFilterOptionsMenuItem)("popup",!0),a(2),d("severity",m.playersFilter()?"info":"secondary")("label",m.playersFilter()==m.morePlayers?"6+":(n=m.playersFilter())==null?null:n.toString()),a(),d("severity",m.playersFilter()?"info":"secondary")("label",m.playersFilter()?(m.playersFilter()==m.morePlayers?"6+":(r=m.playersFilter())==null?null:r.toString())+" giocatori":"Giocatori"),a(2),d("kind",m.favoriteFilter()),a(),d("kind",m.favoriteFilter())("showLabel",!0),a(4),y(m.filteredGames().length>0?26:27),a(2),y(m.scrolled()?28:-1),a(3),y(m.lobbies().length>0?31:-1),a(),y(m.userData()?32:33),a(2),D(E(37,qe)),d("visible",m.showLoginDialog())("modal",!0)("dismissableMask",!0),a(),d("embedded",!0),a(),d("visible",m.showSignupInviteDialog()),a(),D(m.selectedLobby()?E(38,Qe):E(39,Xe)),d("visible",m.showLobbiesDialog())("header",((u=m.selectedLobby())==null?null:u.name)??"Prenotazione tavoli")("modal",!0)("closable",!0)("dismissableMask",!0),a(),y((h=m.selectedLobby())?38:39,h)}}var $e=class i{route=C(ve);eventService=C(ke);favService=C(Ne);followedEventsService=C(Ie);lobbyService=C(Te);darkModeService=C(De);deviceService=C(R);authService=C(_e);toastService=C(ge);router=C(be);userData=Y(this.authService.userData);morePlayers=7;
1urlParams=Y(this.route.params);darkMode=_(this.darkModeService.isDark);event=_(void 0);games=_([]);lobbies=_([]);eventLoaded=_(!1);gamesLoaded=_(!1);lobbiesLoaded=_(!1);loading=S(()=>!this.eventLoaded()||!this.gamesLoaded()||!this.lobbiesLoaded());showLobbiesDialog=_(!1);showLoginDialog=_(!1);showSignupInviteDialog=_(!1);pendingFollowAfterLogin=_(!1);followedEventIds=_(new Set);selectedLobby=_(null);scrolled=_(!1);gamesScroller=ce("gamesScroller");hasRoleOnEvent=S(()=>{let t=this.eventID(),e=this.userData()?.events??[];return!!t&&e.includes(t)});isFollowed=S(()=>{let t=this.eventID();return!!t&&this.followedEventIds().has(t)});showFollowButton=S(()=>!this.hasRoleOnEvent());onWindowScroll(){this.scrolled.set(window.scrollY>200)}onLobbiesDialogVisibleChange(t){if(!t&&this.selectedLobby()){this.selectedLobby.set(null),this.showLobbiesDialog.set(!1),setTimeout(()=>this.showLobbiesDialog.set(!0),0);return}this.showLobbiesDialog.set(t),t||this.selectedLobby.set(null)}searchControl=new he("");searchText=_("");filterState=_("all");playersFilter=_(null);playersFilterOptions=[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3},{label:"4",value:4},{label:"5",value:5},{label:"6",value:6},{label:"6+",value:this.morePlayers}];playersFilterOptionsMenuItem=[{label:"Giocatori",items:[{label:"Tutti",value:null},...this.playersFilterOptions].map(t=>({label:t.label,command:()=>{this.playersFilter.set(t.value)}}))}];favoriteFilter=_(null);eventID=S(()=>this.urlParams()?.id);totalGamesCount=S(()=>this.games().length);rentedGamesCount=S(()=>this.games().filter(t=>t.rent).length);availableGamesCount=S(()=>this.totalGamesCount()-this.rentedGamesCount());filteredGames=S(()=>{let t=this.games(),e=this.searchText().toLowerCase();e&&(t=t.filter(u=>u.title.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e)));let o=this.filterState();o==="available"?t=t.filter(u=>!u.rent):o==="rented"&&(t=t.filter(u=>u.rent));let n=this.playersFilter();n!==null&&(n===7?t=t.filter(u=>u.maxplayers>=7):t=t.filter(u=>n>=u.minplayers&&n<=u.maxplayers));let r=this.favoriteFilter();return r!==null&&(t=t.filter(u=>u.favoriteKind===r)),t});constructor(){this.searchControl.valueChanges.subscribe(t=>{this.searchText.set(t||"")})}trackGameById(t,e){return e.id}onGamesScroll(t){let e=t.originalEvent?.target;this.scrolled.set((e?.scrollTop??0)>200)}loginCompleted=M(()=>{let t=this.userData();if(t&&this.showLoginDialog()&&this.showLoginDialog.set(!1),t&&this.showSignupInviteDialog()&&this.showSignupInviteDialog.set(!1),t&&this.pendingFollowAfterLogin()){this.pendingFollowAfterLogin.set(!1);let e=this.eventID();e&&!this.hasRoleOnEvent()&&this.followedEventsService.follow(t.uid,e).then(()=>this.toastService.showInfo("Evento salvato")).catch(()=>this.toastService.showError("Salvataggio fallito"))}});loadFollowed=M(t=>{let e=this.userData()?.uid,o=this.followedEventsService.getFollowedEventIds(e).subscribe(n=>{this.followedEventIds.set(new Set(n))});t(()=>o.unsubscribe())});load=M(()=>{let t=this.eventID();t&&(this.eventService.registerDeviceVisit(t,this.deviceService.getDeviceId()).subscribe(),this.eventService.getEvent(t).subscribe(e=>{this.event.set(e),this.eventLoaded.set(!0)}),this.lobbyService.getLobbiesByEventId(t).pipe(K(e=>e.length===0?W([]):L(e.map(o=>this.lobbyService.getTables(o.id).pipe(K(n=>{if(n.length===0)return W(I(F({},o),{tableCount:0,freeTableCount:0}));let r=n.map(u=>this.lobbyService.getTableSubscriptions(o.id,u.id));return L(r).pipe(j(u=>{let h=0;return n.forEach((m,O)=>{u[O].reduce((Re,Oe)=>Re+Oe.seats,0)<m.maxPlayers&&h++}),I(F({},o),{tableCount:n.length,freeTableCount:h})}))})))))).subscribe(e=>{let o=[...e].sort((n,r)=>{let u=n.date?.toMillis()??Number.MAX_SAFE_INTEGER,h=r.date?.toMillis()??Number.MAX_SAFE_INTEGER;return u-h});this.lobbies.set(o),this.lobbiesLoaded.set(!0)}),L([this.eventService.getEventGamesOptimize(t,{available:!0}),this.favService.getFavoriteLists(this.userData()?.uid,"event",t)]).pipe(j(([e,o])=>{let n=new Map;for(let r of e){let u=r.bggID>0?`bgg:${r.bggID}`:`custom:${(r.title??"").trim().toLowerCase()}`,h=n.get(u);h?(h.copies=(h.copies??1)+1,r.rent||(h.availableCopies=(h.availableCopies??0)+1,h.rent=!1)):n.set(u,I(F({},r),{favoriteKind:Ve(o,r.bggID),copies:1,availableCopies:r.rent?0:1}))}return Array.from(n.values())})).subscribe(e=>{this.games.set(e),this.gamesLoaded.set(!0)}))});cycleFilterState(){let t=this.filterState();t==="all"?this.filterState.set("available"):t==="available"?this.filterState.set("rented"):this.filterState.set("all")}getFilterLabel(){let t=this.filterState();return t==="all"?"Tutti":t==="available"?"Disponibili":"In prestito"}getFilterIcon(){let t=this.filterState();return t==="all"?"fa-solid fa-list":t==="available"?"fa-solid fa-box":"fa-solid fa-hand-holding"}onGameFavCycled(t,e){this.favService.setFavoriteKind(this.userData()?.uid,"event",this.eventID(),t.bggID,e)}toggleDarkMode(){this.darkModeService.toggleDarkMode(),this.darkMode.set(document.documentElement.classList.contains("dark"))}resetFilters(){this.searchControl.setValue(""),this.searchText.set(""),this.filterState.set("all"),this.playersFilter.set(null),this.favoriteFilter.set(null)}getLobbyUrl(t){return`/public/lobby/${t.id}?t=${t.shareToken}`}tablesLabel(t){return t===1?"1 tavolo":`${t} tavoli`}freeTablesLabel(t){return t===1?"1 tavolo disponibile":`${t}
1 tavoli disponibili`}openLoginDialog(){this.showLoginDialog.set(!0)}toggleFollow(){let t=this.eventID();if(!t||this.hasRoleOnEvent())return;let e=this.userData()?.uid;if(!e){this.pendingFollowAfterLogin.set(!0),this.showSignupInviteDialog.set(!0);return}this.isFollowed()?this.followedEventsService.unfollow(e,t).then(()=>this.toastService.showInfo("Evento rimosso dai salvati")).catch(()=>this.toastService.showError("Operazione fallita")):this.followedEventsService.follow(e,t).then(()=>this.toastService.showInfo("Evento salvato")).catch(()=>this.toastService.showError("Salvataggio fallito"))}goToHome(){this.router.navigate(["","private"])}scrollToTop(){let t=this.gamesScroller();if(t){t.scrollTo({top:0,behavior:"smooth"});return}window.scrollTo({top:0,behavior:"smooth"})}openBggPage(t){if(!t.bggID||t.bggID<=0)return;let e=t.type==="boardgameexpansion"?"boardgameexpansion":"boardgame";window.open(`https://boardgamegeek.com/${e}/${t.bggID}`,"_blank","noopener")}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=P({type:i,selectors:[["snp-public-event"]],viewQuery:function(e,o){e&1&&ie(o.gamesScroller,He,5),e&2&&ne()},hostBindings:function(e,o){e&1&&v("scroll",function(){return o.onWindowScroll()},Z)},decls:2,vars:1,consts:[["menu",""],["gamesScroller",""],["item",""],[1,"flex","items-center","justify-center","py-20"],[1,"h-screen","flex","flex-col","bg-white","dark:bg-gray-900","text-gray-900","dark:text-gray-100","relative","overflow-hidden"],[1,"fa-solid","fa-spinner","fa-spin","text-4xl","text-gray-400"],[1,"bg-gray-100","dark:bg-gray-800","flex","flex-col","md:flex-row","justify-between","items-center","p-2","md:p-4","sticky","top-0","z-50","gap-0"],[1,"flex","items-center","gap-2"],["alt","Event Logo",1,"h-14","w-14","object-contain",3,"src"],[1,"text-2xl","font-bold"],[1,"bg-gray-200","dark:bg-gray-700","py-2","px-4","flex","justify-start","items-center","gap-2","flex-nowrap","md:flex-wrap","overscroll-y-auto"],[1,"w-58","md:w-72","flex","flex-row","items-center","flex-nowrap","gap-2"],["type","text","pInputText","","placeholder","Cerca per titolo",1,"w-full",3,"formControl"],[1,"whitespace-nowrap",3,"value"],[1,"flex","flex-row","gap-2"],[3,"model","popup"],["icon","fa-solid fa-user-group",1,"block","md:hidden",3,"click","severity","label"],["icon","fa-solid fa-user-group",1,"hidden","md:block",3,"click","severity","label"],[1,"md:hidden","block",3,"cycled","kind"],[1,"hidden","md:block",3,"cycled","kind","showLabel"],["label","Reset","icon","fa-solid fa-rotate-right","severity","warn",1,"hidden","md:block",3,"onClick"],["icon","fa-solid fa-rotate-right","severity","warn",1,"block","md:hidden",3,"onClick"],[1,"flex-1","min-h-0","w-full"],["scrollHeight","100%","styleClass","public-event-games-virtual-scroller h-full w-full",3,"items","itemSize","numToleratedItems","trackBy"],[1,"empty-state","text-center","py-12"],[1,"fixed","bottom-4","left-4","z-40"],[1,"fixed","bottom-4","right-4","z-40","flex","flex-row","items-end","gap-2"],[1,"flex","items-center","gap-2","mt-2","md:mt-0","mx-2"],["icon","fa-solid fa-users-rectangle","severity","info","label","Pren. tavoli"],["icon","fa-regular fa-home","severity","primary",3,"rounded"],["size","small","severity","primary"],["header","Accedi",3,"visibleChange","visible","modal","dismissableMask"],[3,"embedded"],[3,"visibleChange","visible"],[3,"visibleChange","visible","header","modal","closable","dismissableMask"],[1,"flex","flex-col"],[1,"flex","flex-col","gap-2"],["scrollHeight","100%","styleClass","public-event-games-virtual-scroller h-full w-full",3,"onScroll","items","itemSize","numToleratedItems","trackBy"],[1,"max-h-28","h-28","px-2","md:px-4","flex","items-center","justify-center"],[1,"w-full","max-w-3xl","flex","flex-col","bg-white","dark:bg-gray-800","rounded-lg","shadow-md","hover:shadow-xl","transition-shadow","border-2","border-gray-300","dark:border-gray-600","overflow-hidden"],[1,"px-2","py-1","block","text-sm","font-medium","text-center","rounded-br","rounded-bl","order-2","bg-(--p-tag-warn-background)","text-(--p-tag-warn-color)"],[1,"px-2","py-1","block","text-sm","font-medium","text-center","rounded-br","rounded-bl","order-2","bg-(--p-tag-success-background)","text-(--p-tag-success-color)"],[1,"flex","items-center","gap-2","p-1","order-1"],["loading","lazy",1,"object-contain","w-16","h-16","rounded-md",3,"src"],[1,"flex-1","min-w-0"],[1,"max-h-16","font-medium","text-lg","overflow-auto"],[1,"flex","flex-wrap","items-center","gap-1","mt-1"],["severity","info","icon","fa-solid fa-users",3,"value"],["severity","info","icon","fa-solid fa-clock",3,"value"],["type","button","title","Apri su BoardGameGeek",1,"inline-flex","items-center","gap-1","px-2","py-0.5","text-xs","rounded-md","border","border-gray-300","dark:border-gray-600","text-gray-700","dark:text-gray-200","hover:bg-gray-100","dark:hover:bg-gray-700","transition-colors","cursor-pointer"],["size","large",3,"cycled","kind","rounded","resetAfterIdle","outlinedWhenInactive","outlined","trasparent"],[1,"fa-solid","fa-circle-xmark"],[1,"fa-solid","fa-circle-check"],["type","button","title","Apri su BoardGameGeek",1,"inline-flex","items-center","gap-1","px-2","py-0.5","text-xs","rounded-md","border","border-gray-300","dark:border-gray-600","text-gray-700","dark:text-gray-200","hover:bg-gray-100","dark:hover:bg-gray-700","transition-colors","cursor-pointer",3,"click"],[1,"fa-solid","fa-up-right-from-square","text-xs"],[1,"fa-solid","fa-search","text-gray-400","text-6xl","mb-4"],[1,"text-xl","text-gray-500"],["icon","fa-solid fa-arrow-up","size","small","severity","primary","ariaLabel","Torna a inizio pagina","styleClass","shadow-xl",3,"onClick","rounded"],["icon","fa-solid fa-users-rectangle","severity","info","label","Pren. tavoli",3,"onClick"],["icon","fa-regular fa-home","severity","primary",3,"onClick","rounded"],["size","small","severity","primary",3,"onClick"],[1,"flex","flex-col","items-center","leading-tight","py-1"],[1,"fa-regular","fa-bookmark"],[1,"sticky","top-0","z-10","-mx-4","px-4","py-2","bg-white","dark:bg-gray-900","border-b","border-gray-200","dark:border-gray-700","flex","items-center","justify-between","gap-2"],["label","Torna all'elenco","icon","fa-solid fa-arrow-left","size","small",3,"onClick","outlined"],["
1icon","fa-solid fa-calendar",3,"value"],[1,"pt-3"],[3,"lobbyId","compactMode"],["type","button",1,"text-left","flex","flex-col","gap-2","p-3","rounded","border","border-gray-200","dark:border-gray-700","hover:bg-gray-100","dark:hover:bg-gray-700","transition-colors","cursor-pointer"],["type","button",1,"text-left","flex","flex-col","gap-2","p-3","rounded","border","border-gray-200","dark:border-gray-700","hover:bg-gray-100","dark:hover:bg-gray-700","transition-colors","cursor-pointer",3,"click"],[1,"flex","gap-2","items-center","font-medium"],[1,"fa-solid","fa-users-rectangle"],[1,"truncate"],[1,"flex","flex-row","flex-wrap","gap-2","min-w-0"],[3,"value"],["icon","fa-solid fa-chair",3,"value","severity"]],template:function(e,o){e&1&&f(0,Je,2,0,"div",3)(1,ft,40,40,"div",4),e&2&&y(o.loading()?0:1)},dependencies:[B,Ce,fe,ye,we,xe,Se,Me,Ee,Fe,Le,A,Be,Ge,z,$,ue,pe,Pe],styles:["[_nghost-%COMP%] .public-event-games-virtual-scroller .p-virtualscroller-content{padding-top:1rem;padding-bottom:4rem}"]})};export{$e as PublicEvent};
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.