PageSourceSearch

https://uwinsportsbet.in/js/async/149.97f40ae241.js

js uwinsportsbet.in collected 2026-10-08 08:29:59 UTC 15,529 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkpc_project=self.rspackChunkpc_project||[]).push([[149],{55092(t,e,s){s.r(e),s.d(e,{default:()=>n}),s(44114),s(18111),s(61701),s(22489),s(13579);var i=s(14486);let a=(0,i.A)({name:"nothing",data:()=>({}),props:{img:String,title:String}},function(){var t=this._self._c;return t("div",{staticClass:"nothing"},[t("img",{attrs:{src:s(53110),alt:""}}),t("div",{staticClass:"nothingText"},[this._v(this._s(this.title))])])},[],!1,null,"0744f50c",null).exports,o=(0,i.A)({name:"messages",data(){return{currentPage:1,pageSize:7,totalRecords:0,hidePagination:!1,messageDataList:[],isShowList:!0,messageDetail:{},messageReqSuccessFlag:!0,isScrollTop:!1,isClick:!1,loadingType:"more",loadingText:{loadingDown:this.$t("activityPage.Pullmore"),loadingRefresh:this.$t("activityPage.Loading"),loadingNoMore:this.$t("activityPage.ThereNOdata")},actListReqSuccess:!0,totalRecords:0,messagesIndex:0}},filters:{timeSwitch(t){if(t){var e=new Date(t);return e.getFullYear()+"."+((e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+".")+(10>e.getDate()?"0"+e.getDate():e.getDate())}},timeSwitchAll(t){if(t){var e=new Date(t);return e.getFullYear()+"-"+((e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-")+((10>e.getDate()?"0"+e.getDate():e.getDate())+" ")+((10>e.getHours()?"0"+e.getHours():e.getHours())+":")+((10>e.getMinutes()?"0"+e.getMinutes():e.getMinutes())+":")+(10>e.getSeconds()?"0"+e.getSeconds():e.getSeconds())}}},props:{curPage:Number,toMsgList:Boolean},mounted(){this.getMessages(),this.isShowList=this.toMsgList?this.toMsgList:this.isShowList},methods:{load(){"more"==this.loadingType&&(this.currentPage++,this.getMessages())},async getMessages(t){this.loadingType="loading";var e={currentPage:this.currentPage,pageSize:this.pageSize,receiverType:0},s=await this.$http.post(this.$api.message,e,!0);if(0==s.code){if(t&&(this.isShowList=!0),this.messagesIndex=1==this.currentPage?0:this.messagesIndex,this.totalRecords=s.data.totalRecords,s.data.content.length>0){let t=1==this.currentPage?[]:this.messageDataList;t.push(...s.data.content),this.messageDataList=t,this.actListReqSuccess=!0,this.messageReqSuccessFlag=!0}else this.actListReqSuccess=1!=this.currentPage,this.messageReqSuccessFlag=!1;this.messageDataList.length==s.data.totalRecords?this.loadingType="noMore":this.loadingType="more"}else{this.messageReqSuccessFlag=!1,this.actListReqSucces=!1;var i=this.$t(`errorCode.${s.code}`)+`(${s.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(i)}},currentChange(t){this.currentPage=t,this.getMessages()},async deleteAllMsgs(){var t=this.messageDataList.map(function(t){return t.id}),e=await this.$http.deleteArray(this.$api.deleteMessages,{messageIds:t,type:0});if(0==e.code)this.$message.success(this.$t("noticeInfo.msgAllDeleteSuccess")),this.currentPage--,this.getMessages(),this.$store.commit("updateUnRead","message");else{var s=this.$t(`errorCode.${e.code}`)+`(${e.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(s)}},markAllRead(){if(this.needMarkReaded){var t=this.messageDataList.map(function(t){return t.id});this.markReaded(t)}},sizeChange(){},async showDetail(t,e){this.messagesIndex=e,this.isClick||(this.isClick=!0,this.messageDataList.filter(function(e){return e.id==t})[0].readFlag||await this.markReaded(t),await this.messageDetailInter(t))},async markReaded(t){var e="number"==typeof t?[t]:t;let s=await this.$http.put(this.$api.readMessages,{messageIds:e,type:0});if(0==s.code)this.messageDataList.map(function(t){e.map(function(e){t.id==e&&(t.readFlag=1)})}),"object"==typeof t&&this.$message.success(this.$t("noticeInfo.msgAllReadSuccess")),this.$store.commit("updateUnRead","message");else{var i=this.$t(`errorCode.${s.code}`)+`(${s.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(i)}},async messageDetailInter(t){this.isShowList=!1;let e=await this.$http.get(this.$api.messageInfo,t,!0);if(0==e.code)this.messageDetail=e.data,this.isClick=!1;else{var s=this.$t(`errorCode.${e.code}`)+`(${e.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(s)}},async deleteMessage(t){var e=await this.$http.delete(this.$api.deleteMessage,"0/"+t);if(0==e.code)this.$message.success(this.$t("noticeInfo.msgDeleteSuccess")),this.messageDataList.length>1||this.currentPage--,this.getMessages(),this.backToList(),this.$store.commit("updateUnRead","message");else{var s=this.$t(`errorCode.${e.code}`)+`(${e.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(s)}},backToList(){this.$parent.isShowMsgDetail=!1,this.isShowList=!0,this.messageDetail={}}},computed:{needMarkReaded(){return this.messageDataList.some(function(t){return 0==t.readFlag})}},components:{Nothing:a},watch:{curPage(t){t&&(this.currentPage=1,this.getMessages())},isShowList(t){this.$emit("isShowMsgDetailFn",!t)}}},function(){var t=this,e=t._self._c;return e("div",{staticClass:"messages"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowList,expression:"isShowList"}],staticStyle:{height:"100%"}},[t.messageReqSuccessFlag?[e("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"message-container"},t._l(t.messageDataList,function(s,i){return e("div",{key:i,staticClass:"messageItem",class:{curs
1orPoint:t.messagesIndex==i},on:{click:function(e){return t.showDetail(s.id,i)}}},[e("div",{staticClass:"messageItem-content"},[e("div",{staticClass:"msgContainer"},[e("div",{staticClass:"msgTopRow"},[e("div",{staticClass:"msgTitle"},[t._v(t._s(s.subject))]),e("div",{staticClass:"msgContent"},[t._v(t._s(s.content))])]),e("div",{staticClass:"msgTime"},[t._v(t._s(t._f("timeSwitch")(s.publishedAt)))])])])])}),0)]:t._e(),"loading"==t.loadingType?e("div",[e("div",{staticClass:"loadingGif loading-text actTextColor8",staticStyle:{"margin-bottom":"0.2rem"}},[e("div",{staticClass:"themeLightColorClass"},[t._v(" "+t._s(t.loadingText.loadingRefresh)+" ")])])]):"more"==t.loadingType?e("div",{staticClass:"loading-text actTextColor8 u-flex-all",staticStyle:{"margin-bottom":"0.2rem"}},[t._v(" "+t._s(t.loadingText.loadingDown)+" ")]):e("div",[e("div",{staticClass:"loading-text actTextColor8 u-flex-all",staticStyle:{"margin-bottom":"0.2rem"}},[t._v(" "+t._s(t.loadingText.loadingNoMore)+" ")])])],2),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isShowList,expression:"!isShowList"}],staticClass:"msg-detail-container"},["{}"!=JSON.stringify(t.messageDetail)?[e("div",{staticClass:"header-row"},[e("div",{staticClass:"title"},[t._v(t._s(t.messageDetail.subject))]),e("div",{staticClass:"text-timer"},[t._v(" "+t._s(t._f("timeSwitchAll")(t.messageDetail.publishedAt))+" ")]),e("div",{staticClass:"delete-btn",on:{click:function(e){return t.deleteMessage(t.messageDetail.id)}}})]),e("div",{staticClass:"msgDetailContent"},[e("el-scrollbar",{staticStyle:{height:"100%"}},[t._v(" "+t._s(t.messageDetail.content)+" ")])],1),e("div",{staticClass:"close_btn",on:{click:function(e){return t.backToList()}}})]:t._e()],2)])},[],!1,null,"ec095c70",null).exports,c=(0,i.A)({name:"messages",data(){return{currentPage:1,pageSize:7,totalRecords:0,hidePagination:!0,noticeDataList:[],isShowList:!0,noticeDetail:{},noticeReqSuccessFlag:!0,isClick:!1,loadingType:"more",loadingText:{loadingDown:this.$t("activityPage.Pullmore"),loadingRefresh:this.$t("activityPage.Loading"),loadingNoMore:this.$t("activityPage.ThereNOdata")},actListReqSuccess:!0,totalRecords:0,noticeIndex:0}},props:{noticeItem:Object,toNoticeList:Boolean},created(){this.$common.getUser()&&(this.userId=this.$common.getUser().user_id)},mounted(){this.getNotices(),this.isShowList=this.toNoticeList?this.toNoticeList:this.isShowList},filters:{timeSwitch(t){if(t){var e=new Date(t);return e.getFullYear()+"."+((e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+".")+(10>e.getDate()?"0"+e.getDate():e.getDate())}},timeSwitchAll(t){if(t){var e=new Date(t);return e.getFullYear()+"-"+((e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-")+((10>e.getDate()?"0"+e.getDate():e.getDate())+" ")+((10>e.getHours()?"0"+e.getHours():e.getHours())+":")+((10>e.getMinutes()?"0"+e.getMinutes():e.getMinutes())+":")+(10>e.getSeconds()?"0"+e.getSeconds():e.getSeconds())}}},methods:{load(){"more"==this.loadingType&&(this.currentPage++,this.getNotices())},async getNotices(t){var e=this;e.loadingType="loading";var s={createdAt:"",currentPage:e.currentPage,pageSize:e.pageSize,publishedAt:"",subject:""},i=await e.$http.post(e.$api.noticeList,s,!0);if(0==i.code){if(t&&(this.isShowList=!0),e.noticeIndex=1==e.currentPage?0:e.noticeIndex,e.totalRecords=i.data.totalRecords,i.data.content.length>0){let t=1==e.currentPage?[]:e.noticeDataList;t.push(...i.data.content),e.noticeDataList=t,e.actListReqSuccess=!0,e.noticeReqSuccessFlag=!0,this.$nextTick(()=>{e.$refs.multipleTable.wrap.scrollTop=0})}else e.actListReqSuccess=1!=e.currentPage,e.noticeReqSuccessFlag=!1;e.noticeDataList.length==i.data.totalRecords?e.loadingType="noMore":e.loadingType="more"}else{e.noticeReqSuccessFlag=!1,e.actListReqSuccess=!1;var a=e.$t(`errorCode.${i.code}`)+`(${i.code})`||e.$t("errorCode.webDefault");this.$http.errMsg(a)}},currentChange(t){this.currentPage=t,this.getNotices()},async showDetail(t,e,s){this.noticeIndex=s,this.isClick||(this.isClick=!0,e?this.$store.state.token&&(this.$common.getUser()&&(this.userId=this.$common.getUser().user_id),await this.markReaded(t)):!this.noticeDataList.filter(function(e){return e.id==t})[0].readFlag&&this.$common.getToken()&&await this.markReaded(t),await this.messageDetailInter(t))},async markReaded(t){var e=[t],s={content:"",delFlag:"",endAt:"",id:"",memberId:this.userId,noticeIds:e,operator:"",publishedAt:"",publishedAtType:0,readFlag:0,status:0,subject:""};let i=await this.$http.post(this.$api.readNotice,s);if(0==i.code)this.noticeDataList.map(function(t){e.map(function(e){t.id==e&&(t.readFlag=1)})}),this.$store.commit("updateUnRead","notice");else{var a=this.$t(`errorCode.${i.code}
1`)+`(${i.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(a)}},async messageDetailInter(t){this.isShowList=!1;let e=await this.$http.get(this.$api.noticeInfo,t,!0);if(0==e.code)this.noticeDetail=e.data,this.isClick=!1;else{var s=this.$t(`errorCode.${e.code}`)+`(${e.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(s)}this.$store.commit("showSwiperNoticeDetail",null)},backToList(){this.$parent.isShowNoticeDetail=!1,this.isShowList=!0,this.noticeDetail={}}},components:{Nothing:a},watch:{"$store.state.swiperNoticeItem":{handler(t){t&&(t.urlId?this.showDetail(t.urlId,t):this.showDetail(t.id,t))},immediate:!0,deep:!0},isShowList(t){this.$emit("isShowNoticeDetailFn",!t)}}},function(){var t=this,e=t._self._c;return e("div",{staticClass:"messages notices"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowList,expression:"isShowList"}],staticStyle:{height:"100%"}},[t.noticeReqSuccessFlag?[e("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"message-container"},t._l(t.noticeDataList,function(s,i){return e("div",{key:i,staticClass:"messageItem",class:{cursorPoint:t.noticeIndex==i},on:{click:function(e){return t.showDetail(s.id,s,i)}}},[e("div",{staticClass:"messageItem-content"},[e("div",{staticClass:"msgContainer"},[e("div",{staticClass:"msgTopRow"},[e("div",{staticClass:"msgTitle"},[t._v(t._s(s.subject))]),e("div",{staticClass:"msgContent"},[t._v(t._s(s.content))])]),e("div",{staticClass:"msgTime"},[t._v(t._s(t._f("timeSwitch")(s.publishedAt)))])])]),e("div",{staticClass:"messageItem-line"})])}),0)]:t._e(),"loading"==t.loadingType?e("div",[e("div",{staticClass:"loadingGif loading-text actTextColor8",staticStyle:{"margin-bottom":"0.2rem"}},[e("div",{staticClass:"themeLightColorClass"},[t._v(" "+t._s(t.loadingText.loadingRefresh)+" ")])])]):"more"==t.loadingType?e("div",{staticClass:"loading-text actTextColor8 u-flex-all",staticStyle:{"margin-bottom":"0.2rem"}},[t._v(" "+t._s(t.loadingText.loadingDown)+" ")]):e("div",[e("div",{staticClass:"loading-text actTextColor8 u-flex-all",staticStyle:{"margin-bottom":"0.2rem"}},[t._v(" "+t._s(t.loadingText.loadingNoMore)+" ")])])],2),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isShowList,expression:"!isShowList"}],staticClass:"msg-detail-container"},["{}"!=JSON.stringify(t.noticeDetail)?[e("div",{staticClass:"header-row"},[e("div",{staticClass:"title"},[t._v(t._s(t.noticeDetail.subject))]),e("div",{staticClass:"text-timer"},[t._v(" "+t._s(t._f("timeSwitchAll")(t.noticeDetail.publishedAt))+" ")])]),e("div",{staticClass:"msgDetailContent"},[e("el-scrollbar",{staticStyle:{height:"100%"}},[t._v(" "+t._s(t.noticeDetail.content)+" ")])],1),e("div",{staticClass:"close_btn",on:{click:function(e){return t.backToList()}}})]:t._e()],2)])},[],!1,null,"354d80f8",null).exports,n=(0,i.A)({name:"noticeInfo",data:()=>({show:!1,dialogVisible:!0,isShowClose:!1,isNavActive:1,curPage:1,timeId:"",isShowMsgDetail:!1,isShowNoticeDetail:!1}),mounted(){this.timeId=new Date().getTime(),this.$route.query.type&&(this.isNavActive=2)},methods:{async getMessages(){var t=await this.$http.post(this.$api.message,{currentPage:"",pageSize:"",receiverType:0});if(0==t.code)this.$store.commit("msgUnReadTotalVuex",t.data.unreadCount);else{var e=this.$t(`errorCode.${t.code}`)+`(${t.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(e)}},async getNotices(){var t=await this.$http.post(this.$api.noticeList,{createdAt:"",currentPage:"",pageSize:"",publishedAt:"",subject:"",type:""});if(0==t.code)this.$store.commit("noticeUnReadTotalVuex",t.data.unreadCount);else{var e=this.$t(`errorCode.${t.code}`)+`(${t.code})`||this.$t("errorCode.webDefault");this.$http.errMsg(e)}},switchMessage(){this.isNavActive=1,this.$refs.message&&(this.$refs.message.currentPage=1,this.$refs.message.getMessages("switchMessage"))},switchNotice(){this.isNavActive=2,this.$refs.notice&&(this.$refs.notice.currentPage=1,this.$refs.notice.getNotices("switchNotice"))},isShowMsgDetailFn(t){t&&(this.isShowMsgDetail=!0)},isShowNoticeDetailFn(t){t&&(this.isShowNoticeDetail=!0)},toList(){this.isShowMsgDetail&&this.$refs.message.backToList(),this.isShowNoticeDetail&&this.$refs.notice.backToList()}},components:{Messages:o,Notices:c},watch:{"$store.state.unReadFlag"(t){"message"==t?(this.$emit("unReadMark","message"),this.$store.commit("updateUnRead","")):"notice"==t&&(this.$emit("unReadMark","notice"),this.$store.commit("updateUnRead",""))}}},function(){var t=this,e=t._self._c;return e("div",{staticClass:"notice-info-layout"},[e("div",{staticClass:"ni-title"},[e("div",{staticClass:"cursorPoint",on:{click:function(e){return t.toList()}}},[t._v(t._s(t.$t("myPage.Notice")))])]),e("div",{staticClass:"ni-nav-btns"},[e("div",{staticClass:"message-nav-btn u-flex-all button-hover",class:{activeNavBtn:1==t.isNavActive},on:{click:function(e){return t.switchMessage()}}},[t._v(" "+t._s(t.$t("noticeInfo.messageNavTitle"))+" ("+t._s(t.$store.state.msgUnReadTotalVuex)+") ")]),e("div",{staticClass:"notice-nav-btn u-flex-all button-hover",class:{activeNavBtn:2==t.isNavActive},on:{click:function(e){return t.switchNotice()}}},[t._v(" "+t._s(t.$t("noticeInfo.noticeNavTitle"))+" ("+t._s(t.$store.state.noticeUnReadTotalVuex)+") ")])]),1==t.isNavActive?e("Messages",{ref:"message",attrs:{curPage:t.curPage},on:{isShowMsgDetailFn:t.isShowMsgDetailFn}}):t._e(),2==t.isNavActive?e("Notices",{key:t.timeId,ref:"notice",on:{isShowNoticeDetailFn:t.isShowNoticeDetailFn}}):t._e()],1)},[],!1,null,"a6947c26",null).exports},53110(t,e,s){t.exports=s.p+"img/null.7f8f2554d8.png"}}]);

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.