PageSourceSearch

https://www.casino.us/_nuxt/BZSeFoLG.js

js casino.us collected 2026-09-25 20:14:18 UTC 12,066 bytes, 1 lines download raw bytes

1import{_ as b,c as a,F as d,x as m,a as c,e as u,j as h,r as T,n as f,P as v,Y as S,o as s}from"./C_VzGqEg.js";import{a as L,s as C,g as x}from"./CVCOafgd.js";import{u as D}from"./SLKFLf4j.js";import{a as g}from"./JR_dtwf4.js";import"./C-9dbQSY.js";import"./C4fTG6EF.js";import"./CIfc6IQW.js";import"./BSy4JHtP.js";import"./DKeVZpFc.js";import"./DY4SgOtO.js";import"./BA3S9Qb4.js";import"./CkEu89z3.js";import"./B3iim-KL.js";import"./BXUykJ2C.js";import"./Chyz3EDp.js";import"./2h_uk5DF.js";import"./8JGrCZUO.js";import"./Bw2cPcki.js";import"./BDmGCnhJ.js";import"./BuQBOjcE.js";import"./s3_Otaqs.js";import"./B-yGqZyG.js";import"./LfmN3RZR.js";import"./CY0PcdZl.js";import"./ZwuLzPRm.js";import"./BjYxkQw3.js";import"./Dj2vd1FS.js";import"./Cz7YsKok.js";import"./B0hBdtTj.js";import"./CqXCemgF.js";import"./DLPSkQwF.js";import"./BEsDnUJP.js";import"./BXbTEqmD.js";import"./JB-VHAAP.js";import"./C1G0POQs.js";import"./Bc1rArTd.js";import"./alWqIy3s.js";import"./Crr0GwaG.js";import"./XKaySTwn.js";import"./CtcVRfPe.js";import"./BmVA1Fhd.js";import"./B5UfoBF-.js";import"./C9R0TS7U.js";import"./BXGXhy4c.js";import"./BFCiwhB7.js";import"./aOjMXEfI.js";import"./BoBHCbwg.js";import"./GmToSYe4.js";import"./qd73kTeZ.js";import"./Bqsy2Yht.js";import"./B8KuNCeR.js";import"./CEvt6g13.js";import"./C7KChRbo.js";import"./CsxoMG-j.js";import"./cCsmyXn7.js";import"./pvNInfal.js";import"./DNtRt3-K.js";import"./CTtN8_V5.js";import"./C-UI_2aN.js";import"./DL61D00e.js";const w={name:"ToplistWrapper",props:{content:{type:Object,required:!0}},data(){const t=this.phoenixStore.toplist,e=Array.isArray(t)&&t.length>0,o=this.content?.type==="advanced",r=this.phoenixStore.currentPartner,l=o&&r&&Object.keys(r).length>0,n=this.content?.type==="bonus",i=(()=>{const y=this.content?.selectToplist?.length?this.content.selectToplist:n?"bonus":null;return y?y.toLowerCase().trim().replace(/[\s+]+/g," "):null})(),p=i?this.phoenixStore.toplists?.[i]:null;return{bonusDataLoaded:Array.isArray(p)&&p.length>0,advancedDataLoaded:l,commercialDataLoaded:!1,commercialReady:e,commercialReadyTimer:null}},watch:{topListData:{handler(t){t?.length&&this.scheduleCommercialReady()},immediate:!0}},setup(t){const e=D();return S(`toplist-wrapper-${t.content?.type??"default"}-${t.content?.location?.regionCode??"none"}`,async()=>{t.content?.location&&await e.fetchToplist({geoData:{countryCode:"US",regionCode:t.content.location?.regionCode||""}});const o=t.content?.selectToplist?.length?t.content.selectToplist:t.content?.type==="bonus"?"bonus":null;if(o&&await e.fetchToplist({pageType:o,savePageType:!1}),t.content?.type==="advanced"){const r=e.toplist,l=e.currentPartner&&Object.keys(e.currentPartner).length>0;r?.length&&!l&&await e.setCurrentPartner(r[0])}return null},{watch:[()=>t.content?.location?.regionCode,()=>t.content?.type,()=>t.content?.selectToplist]}),{phoenixStore:e}},computed:{containerClass(){const t=this.content?.container===void 0,e=!!this.content?.container||t,o=!!this.content?.mobileGap,r=!!this.content?.containerLarge;let l="container";return r&&(l=l+" container_large"),o&&(l=l+" container_mob-px"),e?l:!1},partners(){return this.phoenixStore.toplists[this.toplistCountryKey]},topListDataLocal(){let t=this.partners;return this.currentPagePartner?.phoenix?.id&&t?.length&&(t=this.partners?.filter(e=>e?.phoenix?.id!==this.currentPagePartner?.phoenix?.id)),this.itemsToShow?t?.slice(0,this.itemsToShow):t},itemsToShow(){return this.content?.itemsToShow||null},currentPagePartner(){return this.phoenixStore.currentPagePartner},filteredData(){return this.content?.location?this.topListDataLocal?.filter(t=>t?.siteLink):this.topListDataLocal},userLocation(){return g().computedLocation},commercialLocation(){return g().commercialLocation},partnersToDisplay(){const t=this.content?.partnersToDisplay;return t!=null&&t!==""?t:this.isBonusToplist?this.content?.variant&&String(this.content.variant).trim().length?"10":"3":"10"},stateLocation(){return this.content?.location},currentLocation(){return this.stateLocation||this.userLocation},toplistCountryKey(){return this.currentLocation?.regionCode?`US${this.currentLocation.regionCode}`:"US"},topListData(){if(this.isBonusToplist)return null;
1const t=this.selectToplist?this.phoenixStore.toplists[this.selectToplist]:null;return t?.length?t:this.phoenixStore.toplist},advancedToplistType(){return this.content?.type==="advanced"},isBonusToplist(){return this.content?.type==="bonus"},bonusToplistVariant(){return this.isBonusToplist?this.content?.variant&&this.content?.variant.length?this.content?.variant:"grid":null},selectToplist(){const t=this.content?.selectToplist&&this.content?.selectToplist.length?this.content?.selectToplist.toLowerCase().trim().replace(/[\s+]+/g," "):"bonus";return this.isBonusToplist||this.content?.selectToplist?t:null},hideFilters(){const t=this.content?.hideFilters?this.content?.hideFilters:!0;return this.isBonusToplist?t:null},bonusToplistEntry(){return this.isBonusToplist?this.content?.components[0]:null},bonusToplistSkeletonId(){if(this.isBonusToplist){const t=this.bonusToplistEntry?.content?.components&&this.bonusToplistEntry?.content?.components.length?this.bonusToplistEntry?.content?.components[0]:null,e=t&&t?.content&&t?.content?.components[0]?.html?t?.content?.components[0]?.html.replace(/ /g,"-").toLowerCase():null,o=`bonusToplistSkeleton-${this.bonusToplistVariant}-${this.selectToplist}-${this.hideFilters}`;return e?`${o}-${e}`:o}return null},showCommercialSkeleton(){if(this.advancedToplistType||this.isBonusToplist)return!1;const t=this.topListData&&this.topListData.length;return this.shouldShowSkeleton(t,this.commercialReady)},countryHubLocation(){return g().countryHubLocation},statePhoenixToplist(){return x(this.currentLocation?.regionCode)},shouldHideStateToplist(){return L()&&!C(this.statePhoenixToplist)},visibleToplistComponents(){if(!this.content.components||!this.content.components.length)return[];let t=this.content.components;if(this.shouldHideStateToplist){if(this.advancedToplistType)return[];t=t.filter(e=>e.componentName!=="AdvancedToplist")}return this.showCommercialSkeleton?t.filter(e=>e.componentName!=="CommercialToplist"):t},showAdvancedSkeleton(){if(this.shouldHideStateToplist||!this.advancedToplistType)return!1;const t=this.phoenixStore.currentPartner,e=t&&Object.keys(t).length>0;return this.shouldShowSkeleton(e,this.advancedDataLoaded)},showBonusSkeleton(){if(this.shouldHideStateToplist||!this.isBonusToplist)return!1;const t=this.phoenixStore.toplists||{},e=this.selectToplist||"bonus",o=t[e],r=o&&Array.isArray(o)&&o.length>0;return this.shouldShowSkeleton(r,this.bonusDataLoaded)}},jsonld(){if(this.advancedToplistType||this.content?.location||!this.topListData||!this.topListData.length)return null;const t=this.$config?.public?.SITE_HOST||"https://www.casino.us",e=this.topListData.filter(o=>o?.siteLink);return e.length?{"@context":"https://schema.org","@type":"ItemList","@id":`${t}${(this._.provides[v]||this.$route).path}#top-casinos`,name:"Top online casinos",itemListOrder:"https://schema.org/ItemListOrderDe
1scending",numberOfItems:e.length,itemListElement:e.map((o,r)=>({"@type":"ListItem",position:r+1,name:o?.phoenix?.name,url:`${t}${o.siteLink}`}))}:null},mounted(){this.scheduleCommercialReady()},beforeUnmount(){this.commercialReadyTimer&&clearTimeout(this.commercialReadyTimer)},methods:{scheduleCommercialReady(){this.commercialReady||this.topListData?.length&&(this.commercialReadyTimer&&clearTimeout(this.commercialReadyTimer),this.commercialReadyTimer=setTimeout(()=>{this.commercialReady=!0,this.commercialReadyTimer=null},220))},shouldShowSkeleton(t,e){return!t||!e},getCtaData(t){if(t.text==="{reviewHubCasinosAmount}"){const e=this.selectToplist?this.topListData?.length:this.filteredData?.length;return{...t,text:`View all ${e} casinos`}}return t},handleChildDataLoaded(t){t==="BonusToplist"?this.bonusDataLoaded=!0:t==="AdvancedToplist"?this.advancedDataLoaded=!0:t==="CommercialToplist"&&(this.commercialDataLoaded=!0)}}},_={key:0,id:"commercialToplistSkeleton",class:"commercial-toplist-skeleton rounded-ui-lg background-elevation-1 border-sm color-stroke-elevation backdrop-blur p-md md:p-lg lg:p-xl"},P={key:1,id:"advancedToplistSkeleton",class:"advanced-toplist-skeleton rounded-ui-lg background-elevation-1 lg:background-transparent border-sm color-stroke-elevation backdrop-blur p-md md:p-lg lg:p-0"},B=["id"],A={key:0,class:"px-md md:px-0"},R={key:1,class:"bonus-filters-skeleton background-elevation-2 skeleton-animation animate-skeleton-animation-big"},E={key:2,class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-fluid-sm"},I={key:3,class:"flex flex-col gap-md md:gap-xl"},H={class:"flex gap-fluid-sm"},V={key:4,class:"flex flex-col"};function F(t,e,o,r,l,n){return s(),a("div",{class:f(["flex flex-col gap-md md:gap-lg lg:gap-fluid-md",[{"sticky-wrapper":n.advancedToplistType},n.containerClass]])},[n.showCommercialSkeleton?(s(),a("div",_,[(s(),a(d,null,m(10,i=>c("div",{key:`toplist-skeleton-${i}`,class:"toplist-row-skeleton background-elevation-2 skeleton-animation animate-skeleton-animation-big"})),64))])):u("",!0),n.showAdvancedSkeleton?(s(),a("div",P,[...e[0]||(e[0]=[c("div",{class:"top-skeleton background-elevation-2 animate-skeleton-animation-big"},null,-1),c("div",{class:"selection-bar-skeleton background-elevation-2 animate-skeleton-animation-big"},null,-1),c("div",{class:"bottom-skeleton background-elevation-2 animate-skeleton-animation-big"},null,-1)])])):u("",!0),n.showBonusSkeleton?(s(),a("div",{key:2,id:n.bonusToplistSkeletonId,class:"bonus-cards-skeleton rounded-ui-lg background-elevation-1 border-sm color-stroke-elevation backdrop-blur p-md md:p-lg lg:p-xl"},[n.showBonusSkeleton&&n.bonusToplistEntry?.content?.components&&n.bonusToplistEntry?.content?.components.length?(s(),a("div",A,[(s(!0),a(d,null,m(n.bonusToplistEntry?.content?.components,(i,p)=>(s(),h(T(i.componentName),{key:p,content:i.content},null,8,["content"]))),128))])):u("",!0),n.hideFilters?u("",!0):(s(),a("div",R)),n.bonusToplistVariant==="grid"?(s(),a("div",E,[(s(),a(d,null,m(3,i=>c("div",{key:`toplist-skeleton-${i}`,class:"bonus-card-skeleton background-elevation-2 skeleton-animation animate-skeleton-animation-big"})),64))])):(s(),a("div",I,[c("div",H,[(s(),a(d,null,m(3,i=>c("div",{key:`toplist-skeleton-${i}`,class:"bonus-card-skeleton carousel-card-skeleton background-elevation-2 skeleton-animation animate-skeleton-animation-big"})),64))]),e[1]||(e[1]=c("div",{class:"flex justify-center"},[c("div",{class:"bonus-button-skeleton background-elevation-2 skeleton-animation animate-skeleton-animation-big"})],-1))])),n.bonusToplistEntry?.content?.extraComponents&&n.bonusToplistEntry?.content?.extraComponents.length?(s(),a("div",V,[(s(!0),a(d,null,m(n.bonusToplistEntry?.content?.extraComponents,(i,p)=>(s(),h(T(i.componentName),{key:p,content:i.content},null,8,["content"]))),128))])):u("",!0)],8,B)):u("",!0),o.content.components&&o.content.components.length&&n.visibleToplistComponents.length?(s(!0),a(d,{key:3},m(n.visibleToplistComponents,(i,p)=>(s(),h(T(i.componentName),{key:`toplist-${p}`,"toplist-data":n.topListData,"partners-to-display":n.partnersToDisplay,"select-toplist":n.selectToplist,"bonus-variant":n.bonusToplistVariant,"cta-data":n.getCtaData(i?.content?.ctaData),content:n.isBonusToplist?i?.content:o.content,"payment-method-name":i?.content?.paymentMethod||null,"hide-filters":n.hideFilters,"bonus-toplist-skeleton-id":n.bonusToplistSkeletonId,"overrided-partners-path":o.content.overridedPartnersPath,"lazy-load-favicon":o.content?.lazy,"hide-partner-list":n.isBonusToplist&&n.shouldHideStateToplist,onDataLoaded:k=>n.handleChildDataLoaded(i.componentName)},null,40,["toplist-data","partners-to-display","select-toplist","bonus-variant","cta-data","content","payment-method-name","hide-filters","bonus-toplist-skeleton-id","overrided-partners-path","lazy-load-favicon","hide-partner-list","onDataLoaded"]))),128)):u("",!0)],2)}const Mt=Object.assign(b(w,[["render",F],["__scopeId","data-v-efd19c7f"]]),{__name:"ToplistWrapper"});export{Mt 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.