(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["activities_exciting~lobby_home~lobby_home_4_1~mine"],{"2d76":function(t,e,i){"use strict";i("6842")},"3d1b":function(t,e,i){},"4e88":function(t,e,i){},6842:function(t,e,i){},"6ca7":function(t,e,i){},"707c":function(t,e,i){"use strict";i("3d1b")},"9bddb":function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var a=i("3e86"),o=i("eac2");class n extends a["a"]{constructor(){super(...arguments),this.gameListProxy=this.getProxy(o["a"]),this.pageData={loading:!0,gameType:0,gameTypeTagId:0,gameTypeTags:[],filterVendorType:[],vendorMenuList:[],casinoSelectType:0}}async init(t=null){this.pageData.gameTypeTags=[];const{gameType:e}=this.pageData,[i,a]=await Promise.all([this.gameListProxy.fetchGameTypeTags(e,t),this.gameListProxy.getVendorMenuList(this.pageData.filterVendorType,t)]);this.pageData.gameTypeTags=i,this.pageData.loading=!1,this.pageData.vendorMenuList=a}}},ac7c:function(t,e,i){"use strict";i("6ca7"),i("ec29");var a=i("9d26"),o=i("c37a"),n=i("fe09");e["a"]=n["a"].extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...o["a"].options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick(()=>this.inputIndeterminate=t)},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(a["a"],this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},d16d:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));i("e9f5"),i("910d"),i("7d54"),i("ab43");var a=i("8f58"),o=i("e1ad"),n=i("9bddb"),s=i("ee7d"),r=i("762e");async function c(t){const e={...t};return new Promise(t=>{Object(r["a"])({url:s["a"].api_plat_var_pop_index,data:e,updateHandler:e=>{t(e)}})})}var l=i("f95d"),d=i("6332"),h=i("7d0a"),u=i("852e"),p=i.n(u);class m extends n["a"]{constructor(){super(m.NAME),this.FIRST_SHOW_AMOUNT=3,this.pendingUsernameCheck=!1,this.dialogData={bShow:!1,noticeArr:[],currentSessionShownIndex:0,lastLeaveTime:0}}async onRegister(){if(a["a"].is96Skin&&core.user_id&&(this.pendingUsernameCheck=!0),this.checkCookie()&&!d["a"].isServer()){const t=await c({plat_id:core.plat_id,currency:core.coin_name_unique,time_zone:h["a"].formatTimezone(core.timezone)});this.setDialogData(t)}}checkCookie(){const t=p.a.get("home_activity_dialog_today_not_show"),e=(new Date).toDateString();return!t||t!==e}async reset(){if(this.checkCookie()){const t=await c({plat_id:core.plat_id,currency:core.coin_name_unique,time_zone:h["a"].formatTimezone(core.timezone)});this.setDialogData(t)}}async setDialogData(t=[]){const e=this.dialogData.noticeArr=t.filter(t=>{if(1===t.type&&t.data&&15===t.data.type_position)return t.data});if(0===e.length)return;if(e.forEach(t=>{window.$xsOnly?t.url=this.getItemImgSrc(t.data.img_url_phone):t.url=this.getItemImgSrc(t.data.img_url),t.name=t.data.name}),a["a"].isShowNextPopup)return this.showNextPopup();const i=e.map(t=>window.tt_load.loadImages(t.url));await Promise.all(i),this.pendingUsernameCheck||await Object(o["c"])()||(this.dialogData.bShow=!0)}async showNextPopup(){const{noticeArr:t,currentSessionShownIndex:e}=this.dialogData;if(e>t.length-1)return;const i=t[e];await window.tt_load.loadImages(i.url),this.pendingUsernameCheck||await Object(o["c"])()||(this.dialogData.bShow=!0,this.dialogData.currentSessionShownIndex++)}allowPopupShow(){this.pendingUsernameCheck&&(this.pendingUsernameCheck=!1,this.checkCookie()&&this.dialogData.noticeArr.length>0&&(a["a"].isShowNextPopup?this.showNextPopup():this.dialogData.bShow=!0))}getItemImgSrc(t){return t?window.$xsOnly?l["a"].getImageUrl({url:t,w:Math.min(310,window.innerWidth-48)}):l["a"].getImageUrl({url:t,w:380}):""}closeCurrentAndShowNext(t=!1){this.dialogData.bShow=!1,t?this.dialogData.lastLeaveTime=Date.now():this.dialogData.currentSessionShownIndex{this.showNextPopup()},300):this.dialogData.lastLeaveTime=Date.now()}}m.NAME="DialogPopupProxy"},d46b:function(t,e,i){"use strict";var a=i("8336"),o=i("b0af"),n=i("ac7c"),s=i("169a"),r=i("8dd9"),c=function(){var t,e,i,c,l,d,h=this,u=h._self._c;return h.$core.isShowPopup&&!h.$core.isShowGeoLimitPopup?u(s["a"],{attrs:{width:h.$mobile?"310":"900","retain-focus":!1,persistent:""},on:{"click:outside":h.onClose},model:{value:h.dialogData.bShow,callback:function(t){h.$set(h.dialogData,"bShow",t)},expression:"dialogData.bShow"}},[u(o["a"],{staticClass:"home-activity-dialog",attrs:{flat:"",color:"transparent"}},[u(r["a"],{staticClass:"overflow-y-auto rounded4",class:{"desktop-sheet":!h.$mobile,"mobile-sheet":h.$mobile},attrs:{color:"transparent"}},[h.dialogData.noticeArr.length>0?[h.$SkinVariable.isShowNextPopup?u("div",{staticClass:"single-popup-container",on:{click:function(t){return h.onImgClick(h.dialogData.noticeArr[h.dialogData.currentSessionShownIndex-1])}}},[u("img",{staticClass:"popup-image",attrs:{src:null===(t=h.dialogData.noticeArr[h.dialogData.currentSessionShownIndex-1])||void 0===t?void 0:t.url,width:h.$mobile?"310":"380",alt:null===(e=h.dialogData.noticeArr[h.dialogData.currentSessionShownIndex-1])||void 0===e?void 0:e.name,title:null===(i=h.dialogData.noticeArr[h.dialogData.currentSessionShownIndex-1])||void 0===i?void 0:i.name}})]):h.$SkinVariable.is96Skin&&1===h.dialogData.noticeArr.length?u("div",{staticClass:"single-popup-container",on:{click:function(t){return h.onImgClick(h.dialogData.noticeArr[0])}}},[u("img",{staticClass:"popup-image",attrs:{src:null===(c=h.dialogData.noticeArr[0])||void 0===c?void 0:c.url,width:h.$mobile?"310":"380",alt:null===(l=h.dialogData.noticeArr[0])||void 0===l?void 0:l.name,title:null===(d=h.dialogData.noticeArr[0])||void 0===d?void 0:d.name}})]):u("SwiperBanner",{attrs:{data:h.dialogData.noticeArr},on:{onItemClick:h.onImgClick},scopedSlots:h._u([{key:"item",fn:function({item:t}){return[u("router-link",{staticClass:"d-none",attrs:{to:t.data.open_mode_url,title:t.data.name}})]}}],null,!1,1859772125)}),!h.$mobile&&h.$SkinVariable.is96Skin?u("div",{staticClass:"close-btn",on:{click:h.onClose}},[u("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none"}},[u("path",{attrs:{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"}})])]):h._e()]:h._e()],2),h.$SkinVariable.isShowHomeActivityDialog&&h.$core.user_id?u(r["a"],{staticClass:"d-flex justify-center",attrs:{color:"transparent",width:"100%"}},[u(n["a"],{attrs:{color:"primary01",dense:"","hide-details":"",ripple:!1},scopedSlots:h._u([{key:"label",fn:function(){return[u("div",{staticClass:"text-14 text01--text"},[h._v(h._s(h.LangUtil("今日不再显示")))])]},proxy:!0}],null,!1,3477563074),model:{value:h.isTodayNotShow,callback:function(t){h.isTodayNotShow=t},expression:"isTodayNotShow"}})],1):h._e(),h.$SkinVariable.is96Skin?h._e():u(r["a"],{staticClass:"d-flex justify-center mt-2 py-2",attrs:{color:"transparent",width:"100%"}},[u(a["a"],{attrs:{icon:""},on:{click:h.onClose}},[u("svg-icon",{staticClass:"text-30 white--text",attrs:{icon:"close_circle"}})],1)],1)],1),h.$mobile&&h.$SkinVariable.is96Skin?u("div",{staticClass:"close-btn",on:{click:h.onClose}},[u("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none"}},[u("path",{attrs:{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"}})])]):h._e()],1):h._e()},l=[],d=(i("14d9"),i("9ab4")),h=i("2fe1"),u=i("5471"),p=i("1b40"),m=i("5efe"),g=i("852e"),w=i.n(g),b=function(){var t=this,e=t._self._c;return e(o["a"],t._b({class:["d-flex","align-center",!t.$mobile&&{"single-slide-mode":t.$SkinVariable.is96Skin}],attrs:{ripple:!1,flat:"",color:"transparent",width:"100%",height:"100%"}},"v-card",t.$attrs,!1),[t.$mobile||t.$SkinVariable.is96Skin&&!(t.data.length>1)?t._e():e(r["a"],{staticClass:"d-flex align-center justify-center rounded-pill arrow_btn cursor-pointer",attrs:{"min-width":"50",height:"50"},nativeOn:{click:function(e){return t.onPrev()}}},[e("svg-icon",{staticClass:"text-16 arrow primary01--text",attrs:{icon:t.commonIcon.arrow_right}})],1),e("swiper",{key:t.componentKey,ref:"mySwiper",staticClass:"swiper",class:{"mx-14":!t.$mobile,"mx-4":!t.$mobile&&t.$SkinVariable.is96Skin},style:t.$mobile||!t.$SkinVariable.is96Skin?"width: 100%":"width: auto; flex: 0 0 auto",attrs:{options:t.swiperOption}},[t._l(t.data,(function(i,a){return[e("swiper-slide",{key:a,staticStyle:{position:"relative"},style:{width:t.itemWidth}},[a>0?e("div",{staticClass:"swiper-lazy-preloader"}):t._e(),e("img",{class:["cursor-pointer","rounded4",a>0&&"swiper-lazy"],attrs:{src:0===a?i.url:void 0,"data-src":a>0?i.url:void 0,ripple:!1,width:t.itemWidth,height:"100%",loading:a>0?"lazy":"eager",alt:i.name,title:i.name},on:{click:function(e){return e.stopPropagation(),t.onBigItemClick(i)}}}),t.$mobile?t._e():e("div",{staticClass:"mask"})]),t._t("item",null,{item:i})]})),t.$mobile&&(!t.$SkinVariable.is96Skin||t.data.length>1)?e("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"}):t._e()],2),t.$mobile||t.$SkinVariable.is96Skin&&!(t.data.length>1)?t._e():e(r["a"],{staticClass:"d-flex align-center justify-center rounded-pill arrow_btn cursor-pointer",attrs:{"min-width":"50",height:"50"},nativeOn:{click:function(e){return t.onNext()}}},[e("svg-icon",{staticClass:"text-16 primary01--text",attrs:{icon:t.commonIcon.arrow_right}})],1)],1)},S=[],f=i("7212"),_=(i("4e88"),i("dc9f"));let v=class extends u["a"]{constructor(){super(...arguments),this.commonIcon=_["a"].commonIcon,this.componentKey=0}get swiperOption(){return this.$mobile?{grabCursor:!0,loop:!this.$SkinVariable.is96Skin||this.data.length>1,init:!1,centeredSlides:!0,slidesPerView:1,spaceBetween:0,lazy:{loadPrevNext:!0,loadPrevNextAmount:1},pagination:{el:".swiper-pagination"},observer:!0,observeParents:!0,watchSlidesProgress:!0}:{...!this.$SkinVariable.is96Skin&&{effect:"coverflow"},grabCursor:!0,loop:!this.$SkinVariable.is96Skin||this.data.length>1,init:!1,centeredSlides:!0,slidesPerView:this.$SkinVariable.is96Skin?1:"auto",spaceBetween:0,lazy:{loadPrevNext:!0,loadPrevNextAmount:this.$SkinVariable.is96Skin?1:2},coverflowEffect:{rotate:0,stretch:95,depth:30,modifier:1.5,slideShadows:!1},observer:!0,observeParents:!0,watchSlidesProgress:!0,speed:500,updateOnImagesReady:!0}}get itemWidth(){return this.$mobile?Math.min(310,this.$vuetify.breakpoint.width-48):380}onBigItemClick(t){this.$emit("onItemClick",t)}onPrev(){const t=this.$refs.mySwiper;t&&t.swiper.slidePrev(300,!1)}onNext(){const t=this.$refs.mySwiper;t&&t.swiper.slideNext(300,!1)}mounted(){this.$nextTick(()=>{this.initSwiper()})}initSwiper(){const t=this.$refs.mySwiper;t&&t.swiper.init(t)}onDataChange(){this.componentKey++,this.$nextTick(()=>{this.initSwiper()})}};Object(d["a"])([Object(p["d"])()],v.prototype,"data",void 0),Object(d["a"])([Object(p["d"])()],v.prototype,"to_path",void 0),Object(d["a"])([Object(p["g"])("data",{deep:!0})],v.prototype,"onDataChange",null),v=Object(d["a"])([Object(h["b"])({components:{swiper:f["swiper"],swiperSlide:f["swiperSlide"]}})],v);var y=v,k=y,x=(i("2d76"),i("2877")),D=Object(x["a"])(k,b,S,!1,null,"6a00c262",null),C=D.exports,I=i("d16d"),$=i("d6e5"),P=i("5849");class T extends $["a"]{constructor(){super(...arguments),this.myProxy=this.getProxy(I["a"])}listNotificationInterests(){return[P["a"].USER_LOGIN]}handleNotification(t){switch(t.getName()){case P["a"].USER_LOGIN:this.myProxy.reset();break}}}var N=i("8f58");let O=class extends u["a"]{constructor(){super(T),this.myProxy=this.getProxy(I["a"]),this.isTodayNotShow=!1}get dialogData(){return this.myProxy.dialogData}mounted(){Date.now()-this.myProxy.dialogData.lastLeaveTime>15e3&&N["a"].isShowNextPopup&&this.myProxy.showNextPopup()}onIsTodayNotShowChange(t){t?this.setTodayNotShowCookie():this.removeTodayNotShowCookie()}setTodayNotShowCookie(){const t=(new Date).toDateString(),e=new Date;e.setHours(23,59,59,999),w.a.set("home_activity_dialog_today_not_show",t,{expires:e})}removeTodayNotShowCookie(){w.a.remove("home_activity_dialog_today_not_show")}onClose(){N["a"].isShowNextPopup?this.myProxy.closeCurrentAndShowNext(!1):this.myProxy.dialogData.bShow=!1}onImgClick(t){const{open_mode:e,open_mode_url:i}=t.data;let a=!1;1==e&&i&&(a=!0,i.includes("http")?Object(m["a"])(i,!0):this.$router.push(i)),globalThis.$TrackUtils.track({event_id:"1070001",event_name:"弹窗公告图打点",action1:t.data.id,action2:t.data.name}),N["a"].isShowNextPopup?this.myProxy.closeCurrentAndShowNext(a):this.myProxy.dialogData.bShow=!1}};Object(d["a"])([Object(p["g"])("isTodayNotShow")],O.prototype,"onIsTodayNotShowChange",null),O=Object(d["a"])([Object(h["b"])({components:{SwiperBanner:C}})],O);var j=O,A=j,V=(i("707c"),Object(x["a"])(A,c,l,!1,null,"46d565d9",null));e["a"]=V.exports},e170:function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var a=i("2b0e"),o=i("3e86"),n=i("762e"),s=i("ee7d");async function r(t=!1){return new Promise((e,i)=>{Object(n["a"])({url:s["a"].api_user_var_reward_coin_show,data:{user_id:core.user_id},cacheTime:0,failHandler:t?()=>{}:void 0,updateHandler:t=>{e(t)}}).catch(i)})}async function c(t){return new Promise((e,i)=>{Object(n["a"])({url:s["a"].api_user_var_reward_coin_update,data:{user_id:core.user_id,...t},cacheTime:0,updateHandler:t=>{e(t)}}).catch(i)})}var l=i("c102");class d extends o["a"]{constructor(){super(d.NAME),this.dialogData=a["default"].observable({bShow:!1,bFirstSet:!1,bSubmitting:!1,info:null}),this.checkedUserId=0,this.checkingPromise=null}get effectiveCoinInfo(){var t;const e=null===(t=this.dialogData.info)||void 0===t?void 0:t.reward_coin_name_unique;return e&&Object(l["a"])().getCoinInfo(e)||null}checkFirstSet(){return core.user_id&&this.checkedUserId!=core.user_id&&(this.checkedUserId=core.user_id,this.checkingPromise=this.doCheckFirstSet()),this.checkingPromise||Promise.resolve()}async doCheckFirstSet(){const t=await r(!0).catch(()=>null);t?1==t.is_feature_enabled&&(this.dialogData.info=t,1==t.need_first_set&&this.hasSelectableCoins(t)&&(this.dialogData.bFirstSet=!0,this.dialogData.bShow=!0)):this.checkedUserId=0}async openModify(){const t=await r().catch(()=>null);t&&1==t.is_feature_enabled&&(this.dialogData.info=t,this.dialogData.bFirstSet=1==t.need_first_set&&this.hasSelectableCoins(t),this.dialogData.bShow=!0)}async loadInfo(){if(!core.user_id)return;const t=await r(!0).catch(()=>null);t&&(this.dialogData.info=t)}hasSelectableCoins(t){var e;return((null===(e=t.selectable_coins)||void 0===e?void 0:e.length)||0)>0}async submit(t){if(this.dialogData.bSubmitting)return!1;this.dialogData.bSubmitting=!0;const e=await c({reward_coin_name_unique:t}).catch(()=>null);return this.dialogData.bSubmitting=!1,!!e&&(this.dialogData.info=e,this.dialogData.bFirstSet=!1,this.dialogData.bShow=!1,!0)}reset(){this.checkedUserId=0,this.dialogData.bShow=!1,this.dialogData.bFirstSet=!1,this.dialogData.info=null}}d.NAME="RewardCoinProxy"},e1ad:function(t,e,i){"use strict";i.d(e,"d",(function(){return r})),i.d(e,"c",(function(){return c})),i.d(e,"e",(function(){return l})),i.d(e,"b",(function(){return d})),i.d(e,"a",(function(){return h}));i("e9f5"),i("910d"),i("f665"),i("ab43");var a=i("8f58"),o=i("2c00"),n=i("e170"),s=i("c102");function r(){var t;return a["a"].isShowUserRewardCoin&&1==(null===(t=Object(s["a"])().getPlatExtends())||void 0===t||null===(t=t.is_user_reward_coin)||void 0===t?void 0:t.is_open)}async function c(){if(!r()||!core.user_id)return!1;const t=Object(o["a"])(n["a"]);return await t.checkFirstSet(),t.dialogData.bShow&&t.dialogData.bFirstSet}function l(){return r()?Object(o["a"])(n["a"]).effectiveCoinInfo:null}function d(){return l()||Object(s["a"])().getAwardCoin()}function h(t,e){const i=Object(s["a"])().getCoinInfo,a=Object.entries(t||{}).filter(([,t])=>void 0!==t&&null!==t&&""!==t).map(([t,e])=>{var a,o;return{coin:t,alias:(null===(a=i(t))||void 0===a?void 0:a.coin_alias)||t,icon:(null===(o=i(t))||void 0===o?void 0:o.icon)||"",amount:String(e)}}),o=a.filter(t=>Number(t.amount)>0);if(o.length)return o;if(null!==e&&void 0!==e&&e.coin_name_unique){const t=a.find(t=>t.coin===e.coin_name_unique);return t?[t]:[{coin:e.coin_name_unique,alias:e.coin_alias||e.coin_name_unique,icon:e.icon||"",amount:"0"}]}return a.length?[a[0]]:[]}}}]);