1import{bd as O,A as j,dm as B,Q as F,R as K,bo as I,p as ne,aD as ae,fO as ie,mX as le,h9 as ce,mc as re,bI as de,bX as ue,a3 as me,aH as fe,bC as ve,rK as Y}from"./commonChunk.NaF3o1Ou.js";import{A as z,g as be,h as _e}from"./2_EventDialogsChunk.Db6xAkEj.js";import{d2 as P,ag as ge,dK as pe,gu as he,gv as ye,gw as we}from"./0_EntryLoginRegisterChunk.CrIfjdaf.js";import{d as M,c as T,h as X,e,a6 as Ie,r as S,f as G,v as Q,m as xe,a4 as Te,n as Se}from"../vendors/vendor-stable.C7xqpJ6l.js";import{m as Ce,a as ke}from"./slashOnce.BSBVwgTa.js";import"./vendorChunk.DAT6JrsC.js";import{a as J}from"./1_PromotionChunk.B9F99oTu.js";import{T as De}from"./1_AgentCenterChunk.D2gdgCWC.js";import{E as Ee,S as Ne,a as Oe}from"../vendors/vendor-swiper.DSkbGEu5.js";import"./0_RechargeDialogsChunk.ZTypCM84.js";import"./1_MineChunk.BY1paOKb.js";import"./0_WithdrawChunk.Br6jEtvg.js";import"./1_SearchGameChunk.PMSthjB4.js";import"./1_PromoteChunk.D6eLHg8S.js";const Me="_detailInfo_1ctph_91",Le="_row_1ctph_91",Be="_label_1ctph_94",je="_value_1ctph_100",Pe="_successItem_1ctph_105",$e="_isEfficientYes_1ctph_106",Ae="_isEfficientNo_1ctph_109",m={detailInfo:Me,row:Le,label:Be,value:je,successItem:Pe,isEfficientYes:$e,isEfficientNo:Ae},W="sub-detail-modal-box",[Re]=O("event-item-cut-once-detail-modal-sub"),Ue=M({name:Re,props:{nextTaskListItemInfo:{type:Object,default:null},record:{type:Object,default:null}},setup(t){const{t:s}=j(),v=T(()=>{var w,k,x,D,E,N,C;const n=[];if(!t.nextTaskListItemInfo)return n;const{firstPayValue:i,onlineTime:c,isNeedLoginApp:_,isNeedBindPhone:y}=((w=t.record)==null?void 0:w.configSubUser)||t.nextTaskListItemInfo,g=((x=(k=t.record)==null?void 0:k.configSubUser)==null?void 0:x.rechargeCount)||((D=t.nextTaskListItemInfo)==null?void 0:D.reChargeValue),a=((N=(E=t.record)==null?void 0:E.configSubUser)==null?void 0:N.daMaCount)||((C=t.nextTaskListItemInfo)==null?void 0:C.daMaValue),{isEfficient:u}=t.record||{};return+g>0&&n.push({text:s("lobby.event.cutOnce.detailInfoText4",{x:B(t.record.rechargeCount||0)}),isSuccess:t.record.rechargeCount>0&&t.record.rechargeCount>=+g||u}),+a>0&&n.push({text:s("lobby.event.cutOnce.detailInfoText7",{n:B(t.record.daMaCount||0)}),isSuccess:t.record.daMaCount>0&&t.record.daMaCount>=+a||u}),+i>0&&n.push({text:s("lobby.event.slashOnce.firstPayValue",{condition:B(t.record.firstPayValue)}),isSuccess:t.record.firstPayValue>0&&t.record.firstPayValue>=+i||u}),+c>0&&n.push({text:s("lobby.event.slashOnce.onlineTime",{condition:Ce(t.record.onlineTime)}),isSuccess:!!t.record.onlineTime&&t.record.onlineTime>=+c||u}),+_>0&&n.push({text:s("lobby.event.slashOnce.appLogin"),isSuccess:!!t.record.isNeedLoginApp||u}),+y>0&&n.push({text:s("lobby.event.slashOnce.bindPhone"),isSuccess:!!t.record.isNeedBindPhone||u}),n.length==0&&n.push({text:s("lobby.event.cutOnce.detailText4"),isSuccess:u}),n});return X(()=>{var i;const n=(i=document.getElementsByClassName(W))==null?void 0:i[0];n!=null&&n.style&&J({style:n.style,cssMap:z()})}),()=>{var n,i,c,_,y,g,a;return e("div",{class:m.detailInfo},[e("div",{class:m.row},[e("span",{class:m.label},[s("lobby.event.cutOnce.userAccount"),":"]),e("span",{class:m.value},[(n=t.record)==null?void 0:n.userName])]),e("div",{class:m.row},[e("span",{class:m.label},[s("lobby.event.cutOnce.createTime"),":"]),e("span",{class:m.value},[F((i=t.record)==null?void 0:i.registerTime,"ymdhms")])]),e("div",{class:m.row},[e("span",{class:m.label},[s("lobby.event.promote.isItEffective"),":"]),e("span",{class:[m.value,(c=t.record)!=null&&c.isEfficient?m.isEfficientYes:m.isEfficientNo]},[(_=t.record)!=null&&_.isEfficient?s("lobby.event.promote.yes"):s("lobby.event.promote.invalid")])]),e("div",{class:m.row},[e("span",{class:m.label},[s("lobby.event.cutOnce.detailInfo"),":"]),e("span",{class:[m.value]},[(y=v.value)==null?void 0:y.map((u,w)=>[e("span",{class:u.isSuccess?m.successItem:""},[[w<v.value.length&&v.value.length>1?`${w+1}ã`:"",u.text]]),w<v.value.length?e("br",null,null):""]),((g=t.record)==null?void 0:g.isIpLimit)>0&&[e("span",{class:m.isEfficientNo},[s("lobby.event.promote.registerIPRestrictions")]),e("br",null,null)],((a=t.record)==null?void 0:a.isDeceiveLimit)>0&&e("span",{class:m.isEfficientNo},[s("lobby.event.promote.registerDeviceRestrictions")])])])])}}}),He="_detailModal_5fhd3_91",Ve="_title_5fhd3_101",Ye="_section_5fhd3_107",qe="_text_5fhd3_121",Fe="_wrap_5fhd3_129",Ke="_table_5fhd3_133",ze="_lookoverText_5fhd3_161",Xe="_isEfficientYes_5fhd3_167",Ge="_isEfficientNo_5fhd3_171",Qe="_guiding_5fhd3_186",Je="_isPutAway_5fhd3_192",We="_icon2_5fhd3_199",Ze="_slashDialogBox_5fhd3_211",d={detailModal:He,title:Ve,section:Ye,text:qe,wrap:Fe,table:Ke,"table-more":"_table-more_5fhd3_157",lookoverText:ze,isEfficientYes:Xe,isEfficientNo:Ge,"detail-btn":"_detail-btn_5fhd3_175",guiding:Qe,isPutAway:Je,icon2:We,slashDialogBox:Ze},[et]=O("event-item-cut-once-detail-modal"),tt=M({name:et,props:{nextTaskListItemInfo:{type:Object,default:null}},setup(t){const{t:s}=j(),v=P(),{subTaskData:n}=Ie(v),i=S(!1),c=a=>{K.showDialog({title:()=>s("lobby.event.cutOnce.detail"),showCloseButton:!0,showConfirmButton:!1,className:`${d.slashDialogBox} ${W}`,message:()=>e(Ue,{record:a,nextTaskListItemInfo:t.nextTaskListItemInfo},null)})},_=T(()=>[{title:s("lobby.event.cutOnce.userAccount"),dataIndex:"userName",key:"userName",align:"center",width:150,customRender:a=>e("span",{class:d.wrap},[a])},{title:s("lobby.event.cutOnce.createTime"),dataIndex:"registerTime",ke
1y:"registerTime",align:"center",width:150,customRender:a=>e("span",{class:d.wrap},[F(Number(a),"ymdhms")])},{title:s("lobby.event.promote.isItEffective"),dataIndex:"isEfficient",key:"isEfficient",align:"center",customRender:a=>e("span",{class:a?d.isEfficientYes:d.isEfficientNo},[s(a?"lobby.event.promote.yes":"lobby.event.promote.invalid")])},{title:s("lobby.event.cutOnce.detail"),dataIndex:"detail",key:"detail",align:"center",customRender:(a,u)=>e("span",{class:d.lookoverText,onClick:()=>c(u)},[s("lobby.event.cutOnce.lookover")])}]),y=()=>{i.value=!i.value},g=()=>{var u;const a=(u=n.value)==null?void 0:u.Data;return e("section",{class:d.section},[e("h3",{class:d.title},["2ã",s("lobby.event.cutOnce.detailTitle3")]),e(De,{class:[d.table,i.value?d["table-more"]:""],columns:_.value,uniqueKey:"useridx",data:a!=null?a:[],list:{emptyText:s("lobby.matchNews.placeholder.noContent")}},null),G(e("div",{class:d["detail-btn"],onClick:y},[i.value?s("lobby.modal.pay.putAway"):s("lobby.event.cutOnce.more"),e("div",{class:{[d.guiding]:!0,[d.isPutAway]:i.value}},[e(I,{class:d.icon1,src:"/lobby_asset/common/web/common/img_scroll_jt.svg"},null),e(I,{class:d.icon2,src:"/lobby_asset/common/web/common/img_scroll_jt.svg"},null)])]),[[Q,(a==null?void 0:a.length)>6]])])};return()=>e("div",{class:d.detailModal},[e("h1",null,[s("lobby.event.slashOnce.promoteSubordinates")]),e("section",{class:d.section},[e("h3",{class:d.title},["1ã",s("lobby.event.cutOnce.detailTitle2")]),!v.isActiveNotStart&&ke(t.nextTaskListItemInfo).map(a=>e("p",{class:d.text},[a]))]),g()])}}),st="_promotionModalContent_11jid_91",ot="_info_11jid_231",nt="_qrcode_11jid_304",at="_shareDropdown_11jid_338",r={promotionModalContent:st,"swiper-container":"_swiper-container_11jid_213","swiper-slide":"_swiper-slide_11jid_218","swiper-slide-content":"_swiper-slide-content_11jid_223","swiper-style-1":"_swiper-style-1_11jid_228","event-item-title":"_event-item-title_11jid_228","swiper-style-2":"_swiper-style-2_11jid_228","swiper-style-3":"_swiper-style-3_11jid_228",info:ot,"info-icon":"_info-icon_11jid_231","icon-svg":"_icon-svg_11jid_231","info-text-invite":"_info-text-invite_11jid_234","info-invite-code":"_info-invite-code_11jid_234","info-text":"_info-text_11jid_234","swiper-style-default":"_swiper-style-default_11jid_240","swiper-slide-content-bg":"_swiper-slide-content-bg_11jid_256","info-item":"_info-item_11jid_266",qrcode:nt,shareDropdown:at};function it(t){if(!t)return;const s=t.innerText.trim();t.innerText=s;const n=Math.ceil(parseFloat(getComputedStyle(t).lineHeight))*2;if(t.scrollHeight<=n)return;let i=s;for(let c=s.length;c>0&&(i=s.slice(0,c)+"...",t.innerText=i,!(t.scrollHeight<=n));c--);t.innerText=i}function lt(t){return typeof t!="string"&&(t=t.toString()),t.length<=3?t:t.slice(0,3)+"*".repeat(t.length-3)}const ct=["xkyd_tgt_","promotional_pic_"],rt=[1,2,3].map(t=>({substrings:ct.map(s=>`${s}${t}`),value:t}));function dt(t){for(const{substrings:s,value:v}of rt)if(s.some(n=>t.includes(n)))return v;return"1"}const[ut]=O("event-item-slash-receive-modal"),mt=M({name:ut,setup(){const t=ge(),s=ne(),v=ae(),n=P(),i=S(void 0),c=S(),_=S(!1),y=S(!1),{t:g}=j(),a=T(()=>{var o,l,f;return(o=n.activeData)!=null&&o.pImageList?(f=(l=n.activeData)==null?void 0:l.pImageList)==null?void 0:f.filter(b=>b.isSelect):[{pImageUrl:"/lobby_asset/common/common/event/xkyd_tgt_1.png"},{pImageUrl:"/lobby_asset/common/common/event/xkyd_tgt_2.png"},{pImageUrl:"/lobby_asset/common/common/event/xkyd_tgt_3.png"}]}),u="promote-modal-box-dropdown";X(()=>{var l;const o=(l=document.getElementsByClassName(u))==null?void 0:l[0];o!=null&&o.style&&J({style:o.style,cssMap:z()})});const w=o=>{a.value[o].bgLoaded&&o===i.value&&k(o)},k=async o=>{const l=a.value[o];if(!y.value||!l||l&&l.blobData)return;const f=$(o);if(f&&!l.toBlobing){l.toBlobing=!0,c.value&&(c.value.allowTouchMove=!1);const b=await he(f);x.value&&o===i.value&&(l.blobData=b),c.value&&(c.value.allowTouchMove=!0),l.toBlobing=!1}},x=T(()=>ie()===le.IOS),D=async o=>{i.value=o.realIndex,x.value&&w(o.realIndex)},E=T(()=>{const o=ce();return{centeredSlides:!0,slidesPerView:"auto",loop:!1,loopedSlides:3,spaceBetween:0,slidesPerGroup:1,grabCursor:!0,effect:"coverflow",coverflowEffect:{rotate:0,stretch:-o*(o<70?.48:.46),depth:150,modifier:1,slideShadows:!1},modules:[Ee]}}),N=o=>{c.value=o,Se(async()=>{var l,f;
1if(o&&((l=a.value)==null?void 0:l.length)>=3){(f=o==null?void 0:o.slideTo)==null||f.call(o,1,0),y.value=!0;const b=document.getElementsByClassName("event-item-title-content");Array.from(b).forEach(p=>{it(p)})}})},C="slash-once-share-swiper-slide-content",$=(o=i.value)=>{var l;return o!==void 0?(l=document.getElementsByClassName(C))==null?void 0:l[o]:void 0},Z=async()=>{var l,f;if(_.value){me.info({message:g("lobby.event.downloadLoadingTips")});return}_.value=!0;const o=`${((l=s.userInfos)==null?void 0:l.platfromid)||"my"}-slash-once`;if(i.value!=null){const b=(f=a.value[i.value])==null?void 0:f.blobData;if(b)ye(b,o);else{const p=$();p&&(c.value&&(c.value.allowTouchMove=!1),await we(p,o),c.value&&(c.value.allowTouchMove=!0))}}_.value=!1},ee=T(()=>{var o,l;return(o=s.userInfos)!=null&&o.platfromid?lt(s.userInfos.platfromid):(l=s.userInfos)==null?void 0:l.platfromid}),te=T(()=>{var f,b,p;const{linkList:o}=(f=t.agentPromotion)!=null?f:{};return(p=(b=o!=null?o:[{url:window.location.origin,select:!0}])==null?void 0:b.find(h=>h.select))==null?void 0:p.url});return()=>{var l;const{inviteCode:o}=(l=t.agentPromotion)!=null?l:{};return e(I,{class:r.promotionModalContent,src:be("/lobby_asset/common/common/event/kyd/{slashTheme}/{colorType}/xkyd_bg.png"),tag:"div"},{default:()=>{var f,b;return[!!((f=a.value)!=null&&f.length)&&e(Ne,xe({class:r["swiper-container"]},E.value,{onInit:N,"data-touchmove-allowed":!0,onTransitionEnd:D}),{default:()=>{var p;return[(p=a.value)==null?void 0:p.map((h,se)=>{const L=h.blobData&&x.value;return e(Oe,{class:[r["swiper-slide"],r["swiper-style-"+dt(h.pImageUrl)]]},{default:()=>{var A,R,U,H,V;return[e("div",{class:[r["swiper-slide-content"],C]},[h.blobData&&L&&e(I,{class:r["swiper-slide-content-bg"],src:h.blobData},null),G(e(I,{class:r["swiper-slide-content-bg"],src:h.pImageUrl,onLoad:async({type:oe})=>{h.bgLoaded=oe===re.Success,h.bgLoaded&&x.value&&(c.value&&(c.value.allowTouchMove=!1),await de(500),c.value&&(c.value.allowTouchMove=!0),w(se))}},null),[[Q,!L]]),!L&&[!((A=n.activeData)!=null&&A.pImageNameSwitch)&&e("div",{class:r["event-item-title"]},[e(ue,{tag:"div",class:"event-item-title-content",html:n.slashOnceData.name},null)]),e("div",{class:r.info},[!((R=n.activeData)!=null&&R.pImageUserIdxSwitch)&&((U=s.userInfos)==null?void 0:U.platfromid)&&e("div",{class:r["info-item"]},[e("div",{class:r["info-icon"]},[e(I,{src:(H=s.userInfos)==null?void 0:H.portrait_id},null)]),e("span",{class:r["info-text"]},[ee.value])]),o&&!((V=n.activeData)!=null&&V.pImageInviteCodeSwitch)&&e("div",{class:r["info-item"]},[e("div",{class:[r["info-icon"],r["icon-svg"]]},[e(I,{src:"/lobby_asset/common/web/event/xkyd_icon_fenxiang.svg"},null)]),e("span",{class:[r["info-text"],r["info-text-invite"]]},[g("lobby.promote.promote.inviteCode"),e("span",{class:r["info-invite-code"]},[o])])])]),e("div",{class:r.qrcode},[e(Te("qrcode-vue"),{value:te.value,size:100,margin:0},null)])]])]}})})]}}),e("div",{class:"slash-once-share-swiper-dot-box"},[(b=a.value)==null?void 0:b.map((p,h)=>e("div",{class:["slash-once-share-swiper-dot-box-item",h===i.value?"active":""]},null))]),e(pe,{class:["promote-modal-box",v.rtlClass?"promote-modal-box-rtl":""],myLinkTitle:`${g("lobby.event.slashOnce.promoteMyLinkTitle")}<span class="promote-link-title-tip">(${g("lobby.promote.promote.myLink")})</span>`,apiNoErrorMessage:!0,dropdownClassName:`${r.shareDropdown} ${u}`},{afterShare:()=>e("div",{class:"slash-promote-modal-save",onClick:Z},[e("div",{class:"slash-promote-modal-save-icon"},[e(I,{src:"/lobby_asset/common/web/event/xkyd_icon_bctp.svg"},null)]),e("div",{class:"slash-promote-modal-save-text"},[g("lobby.event.slashOnce.saveImg")])])})]}})}}}),ft="_dialogBox_1tgga_91",vt="_main_1tgga_95",q={dialogBox:ft,main:vt},[bt]=O("pages-dialogs-slash-once-specific-info"),Nt=M({name:bt,setup(){const t=P(),{visible:s,openOptions:v}=fe("slashOnceSpecificInfo"),n=S();return _e(n),()=>e(K,{class:q.dialogBox,show:s.value,"onUpdate:show":i=>s.value=i,closeOnClickOverlay:!1,showCancelButton:!1},{default:()=>[e(ve,{class:q.main,ref:n},{default:()=>{var i,c,_;return[((i=v.value)==null?void 0:i.infoType)===Y.SubUserDetailModal&&e(tt,{nextTaskListItemInfo:(c=t.subTaskData)==null?void 0:c.NextTaskListItemInfo}
1,null),((_=v.value)==null?void 0:_.infoType)===Y.PromotionModalContent&&e(mt,null,null)]}})]})}});export{Nt 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.