PageSourceSearch

https://sweepstars.us/_nuxt/CWN_2XF_.1786623515356.js

js sweepstars.us collected 2026-10-03 20:30:54 UTC 5,441 bytes, 1 lines download raw bytes

1import C from"./Dfb20Bek.1786623515356.js";import A from"./Bmj9DSUr.1786623515356.js";import{Y as L,cd as n,at as h,aq as a,aD as v,c2 as U,ar as l,Z as x,as as f,d9 as d,g as M,cz as B,eN as E,_ as R,dz as D,dY as G,M as N,dI as c,e1 as r,y as p,dU as y,eB as m}from"./BivnJdrB.1786623515356.js";import{m as T}from"./CQPLP3wq.1786623515356.js";import"./CCAyDAd6.1786623515356.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"802aeb92809dd01a64f5382d53f52c4cea354685"};var s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="5fbd16b9-5ad0-4077-bf51-56bbdb2fe2e1",e._sentryDebugIdIdentifier="sentry-dbid-5fbd16b9-5ad0-4077-bf51-56bbdb2fe2e1")}catch{}})();const z={name:"CardsGameCardsComingSoon",mixins:[T],props:{item:{type:Object,default:null}},data:()=>({isReminderSet:!1,loadingItem:null}),computed:{formattedDate(){if(!this.item||!this.item?.release_date)return"";const[,e,s]=this.item?.release_date?.split("-");return`${["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"][e-1]} ${s.padStart(2,"0")}`},addedGamesArray(){return c().$state.addedGamesId||[]},neededVipStatus(){const e=m().$state.playerVipStatus||[],s=this.item?.min_vip_level?.en.match(/^\w+/)[0]||null,i=this.item?.min_vip_level?.en.match(/\d+/)?.[0]||null,o=m().$state.vipStatuses?.find(t=>t?.name?.en==s)||null,_=m().$state.vipStatuses?.find(t=>t?.name?.en==e?.vip_status?.name?.en)||null;return s==e?.vip_status?.name?.en&&i>Number(e?.vip_status_level?.name?.en.match(/\d+/)?.[0])?!0:s!=e?.vip_status?.name?.en&&_?.id<o?.id},isUnlockedByExclusiveLobby(){return this.item?.is_locked_by_exclusive_lobby&&!y().$state.exclusiveGames?.includes(this.item?.id)||this.item?.is_locked_by_exclusive_lobby&&!this.userApp},checkRestrictedStates(){return!y().isGameAvailableForUser(this.item)},gameIsBlocked(){return this.checkRestrictedStates?"geo-block":this.allRequestsLoaded&&this.isUnlockedByExclusiveLobby&&this.isUseExclusiveLobby&&!this.getIsActivePage("/games/exclusive-lobby")&&!this.checkRestrictedStates?"exclusive-lobby":this.neededVipStatus?"vip":null},waitingUsers(){const e=new p(this).getMaleAvatars(),s=new p(this).getFemaleAvatars(),i=[...e,...s],o=i[Math.floor(Math.random()*i.length)];return[{avatar:o?.img},{avatar:o?.img},{avatar:o?.img}]}},watch:{addedGamesArray:{immediate:!0,deep:!0,handler(e){e&&e?.includes(this.item?.id)&&(this.isReminderSet=!0)}}},created(){this.item?.is_user_subscribed&&(this.isReminderSet=!0)},methods:{openModal(){this.userApp||r().setIsShowModalKeys("signInAndSignUpModal",{signUp:!0}),event.stopPropagation()},async remindMe(){this.userApp?!this.item?.is_user_subscribed&&!c().$state.addedGamesId?.includes(this.item?.id)&&(this.loadingItem=this.item?.id,await c().subscribeToComingSoonGame(this.item?.id)&&(this.isReminderSet=!0,this.loadingItem=null,r().setIsShowModalKeys("comingSoonSuccessModal",!0))):r().setIsShowModalKeys("signInAndSignUpModal",{signUp:!0})}}},V={key:0,class:"coming-soon-card"},P={class:"coming-soon-card__media"},q={class:"coming-soon-card__content"},F={class:"coming-soon-card__title"},K={class:"coming-soon-card__provider"},O={class:"coming-soon-card__date"},Y={class:"coming-soon-card__wait-list"},j={class:"coming-soon-card__wait-list-imgs"};function J(e,s,i,o,_,t){const S=C,k=A,u=x,g=R,I=N;return i.item?(n(),h("div",V,[a("div",P,[v(S,{image:i.item?.screenshot_vertical||i.item?.screenshot,class:U(["coming-soon-card__image",{"coming-soon-card__image--disabled":e.allRequestsLoaded&&t.isUnlockedByExclusiveLobby&&e.isUseExclusiveLobby||t.gameIsBlocked=="geo-block"}]),aspectRatio:"0.65",onClick:t.openModal},null,8,["image","class","onClick"]),t.gameIsBlocked=="geo-block"&&e.isShowElementOnMounted?(n(),l(k,{key:0,class:"coming-soon-card__lock-icon",strokeWidth:"3.3"})):e.allRequestsLoaded&&t.isUnlockedByExclusiveLobby&&e.isUseExclusiveLobby&&t.gameIsBlocked=="exclusive-lobby"?(n(),l(u,{key:1,src:"/exclusive-lobby/lock.png",format:"webp",class:"coming-soon-card__lock-icon",alt:"lock",loading:"lazy",width:"94"})):f("",!0)]),a("div",q,[a("div",null,[a("p",F,d(i.item?.game?.title?.en),1),a("p",K,d(i.item?.provider?.name),1),a("p",O,d(t.formattedDate),1)]),a("div",Y,[a("div",j,[(n(!0),h(M,null,B(t.waitingUsers,(b,w)=>(n(),l(u,{key:`coming-soon-${w}`,class:"coming-soon-card__wait-img",src:b.avatar},null,8,["src"]))),128)),s[1]||(s[1]=a("div",{class:"coming-soon-card__total"},"299",-1))]),s[2]||(s[2]=a("p",{class:"coming-soon-card__wait-list-text"},"Waiting",-1))]),v(I,{class:"coming-soon-card__button",btnSize:"small",btnMobileSize:"small",type:"secondary",isLoading:i.item?.id==e.loadingItem&&("useLoadingStore"in e?e.useLoadingStore:D(G))().getIsLoadingsKeys("subscribeToComingSoonGame"),onClick:s[0]||(s[0]=b=>t.remindMe())},{left:E(()=>[e.isReminderSet?(n(),l(g,{key:0,class:"justify_content_center",label:e.$t("coming_soon.reminder_set"),textClass:"s14__w500__h22 ml_4 white_space_nowrap color_ADADC2",icon:"SvgCheckCircleIcon",iconClass:"wh_16"},null,8,["label"])):(n(),l(g,{key:1,class:"justify_content_center",label:e.$t("coming_soon.remind_me"),textClass:"s14__w500__h22 ml_4 white_space_nowrap color_ADADC2",img:"/icon/Bell_v2.svg",iconClass:"wh_16",imageSize:{height:16}},null,8,["label"]))]),_:1},8,["isLoading"])])])):f("",!0)}const X=L(z,[["render",J],["__scopeId","data-v-b1f7e596"]]);export{X 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.