1import g from"./B8wLI8Ne.js";import D from"./CxZ1qCqW.js";import w from"./mbqSDXRF.js";import _ from"./bqZ_Bedm.js";import v from"./C9yiaWcE.js";import y from"./kDircuYl.js";import{u as C}from"./SLKFLf4j.js";import{_ as A,j as L,w as n,T as k,A as R,o as h,c as P,a as i,l as O,b as a,d as m,t as u,e as N}from"./C_VzGqEg.js";import"./DO2IcI8N.js";import"./C666d358.js";import"./DWfGYNrX.js";import"./YpzxG479.js";import"./NUoIgR6R.js";import"./DrwGJLjZ.js";import"./BRvUn7YG.js";import"./DYZy956P.js";import"./DtfDc6gd.js";import"./Bsf0mxQV.js";import"./BLuxgZ3F.js";import"./Dsxsh6sg.js";import"./JR_dtwf4.js";import"./BhyboY_X.js";import"./NnXrcQGe.js";import"./BJ8DeCX5.js";import"./BVIQdDd4.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";import"./BxqZgGlP.js";import"./EI2Bwdx1.js";import"./DVrh3hFW.js";import"./DpqUVFM1.js";import"./CS1lr3E_.js";import"./BP_6SbQ-.js";import"./DuimVzHT.js";import"./DCEUJu9Z.js";import"./BDVHwxPm.js";import"./BHKnQFBo.js";import"./C58-NcYj.js";import"./BEfGZXOn.js";import"./DaIngsXz.js";import"./gIMPQwX2.js";import"./DMAOdAwZ.js";import"./Xz_buBZW.js";import"./jZFfF9dZ.js";const z={name:"ReviewPartnerDrawer",props:{content:{type:Object,required:!0}},data(){return{isMobile:!1,isVisible:!0,previousCasinoLabel:this.$t("reviewsLibrary.previousCasino"),nextCasinoLabel:this.$t("reviewsLibrary.nextCasino")}},computed:{partners(){const e=C().toplist,r=e?.filter(p=>p?.phoenix?.id!==this.partnerData?.phoenix?.id);return this.notActive?r:e},partnerData(){return this.content?.partnerData&&Object.keys(this.content?.partnerData).length?this.content?.partnerData:{}},gradient(){return`background: linear-gradient(180deg, rgba(22, 28, 39, 0.00) 0%, #161C27 100%) ${this.partnerData?.phoenix?.attributes?.gradientStop2};`},headerContent(){return{favicon:this.partnerData?.favicon,partnerName:this.partnerData?.phoenix?.name&&this.partnerData?.phoenix?.name.length?this.partnerData?.phoenix?.name:"",reviewLink:this.partnerData?.supplement?.siteLink&&this.partnerData?.supplement?.siteLink.length?this.partnerData?.supplement?.siteLink:"",affiliateLink:this.affiliateLink}},bodyContent(){return{partnerName:this.partnerData?.phoenix?.name&&this.partnerData?.phoenix?.name.length?this.partnerData?.phoenix?.name:"",rtp:this.partnerData?.phoenix?.attributes?.casinoRtp&&this.partnerData?.phoenix?.attributes?.casinoRtp.length?this.partnerData?.phoenix?.attributes?.casinoRtp:"N/A",payoutTime:this.partnerData?.phoenix?.attributes?.payoutTime&&this.partnerData?.phoenix?.attributes?.payoutTime.length?this.partnerData?.phoenix?.attributes?.payoutTime:"N/A",games:this.partnerData?.phoenix?.attributes?.games&&this.partnerData?.phoenix?.attributes?.games.length?this.partnerData?.phoenix?.attributes?.games:"N/A",expertRating:this.partnerData?.phoenix?.attributes?.rating&&this.partnerData?.phoenix?.attributes?.rating.length?this.partnerData?.phoenix?.attributes?.rating:"N/A",welcomeOffer:this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.titlePreview&&this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.titlePreview.length?this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.titlePreview:"N/A",wagering:this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusWagering&&this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusWagering.length?this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusWagering:"N/A",minMaxDeposit:this.partnerData?.phoenix?.attributes?.depositLimit&&this.partnerData?.phoenix?.attributes?.depositLimit.length?`${this.partnerData?.phoenix?.attributes?.depositLimitCurrency[0]?.currencySymbol}${this.partnerData?.phoenix?.attributes?.depositLimit}`:"N/A",numberOfDeposits:this.partnerData?.phoenix?.attributes?.numberOfDeposits&&this.partnerData?.phoenix?.attributes?.numberOfDeposits.length?this.partnerData?.phoenix?.attributes?.numberOfDeposits:"N/A",timeToWager:this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusValidFor&&this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusValidFor.length?this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusValidFor:"N/A",bonusCode:this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusCode&&this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusCode.length?this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.bonusCode:"N/A",bonusesLink:this.partnerData?.supplement?.bonusesLink&&this.partnerData?.supplement?.bonusesLink.length?this.partnerData?.supplement?.bonusesLink:"",summary:this.partnerData?.supplement?.reviewSnippet&&this.partnerData?.supplement?.reviewSnippet.length?this.partnerData?.supplement?.reviewSnippet:[],paymentMethods:this.partnerData?.phoenix?.attributes?.paymentMethod&&this.partnerData?.phoenix?.attributes?.paymentMethod.length?this.partnerData?.phoenix?.attributes?.paymentMethod:[],gamesAvailable:this.partnerData?.phoenix?.attributes?.gameType&&this.partnerData?.phoenix?.attributes?.gameType.length?this.partnerData?.phoenix?.attributes?.gameType.map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(", "):"",providers:this.partnerData?.phoenix?.attributes?.softwareProvider&&this.partnerData?.phoenix?.attributes?.softwareProvider.length?this.partnerData?.phoenix?.attributes?.softwareProvider:null,topPartners:this.content?.topPartners&&this.content?.topPartners.length?this.content?.topPartners:null,
1showRegulatedBanner:this.content?.showRegulatedBanner,bannerText:this.content?.bannerText,regulatedPartners:this.partners,notActive:this.notActive}},buttonSize(){return this.isMobile?"MD":"LG"},currentIndex(){return this.content?.index},lastPartner(){return this.content?.totalPartners-1},leftArrowColor(){return this.currentIndex===0?"text-foreground-disabled":"text-foreground-2"},rightArrowColor(){return this.currentIndex===this.lastPartner?"text-foreground-disabled":"text-foreground-2"},affiliateLink(){const e=this.partnerData?.phoenix?.attributes?.toplistOffer?.attributes?.afflinkProxy;return e&&!this.notActive?`${R().public.PHOENIX_AFFLINK_SERVER}${e}`:""},notActive(){return this.partnerData?.supplement?.notActive}},beforeMount(){window.addEventListener("resize",this.handleResize),this.handleResize()},mounted(){this.disableBodyScroll(),window.addEventListener("keydown",this.handleEscKey)},beforeUnmount(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("keydown",this.handleEscKey),this.enableBodyScroll()},methods:{handleResize(){this.isMobile=window.innerWidth<768},handlePartnerChange(e){this.$emit("change-partner",e),this.$nextTick(()=>{const r=this.$el.querySelector(".scrollable-body");r&&(r.scrollTop=0)})},handleEscKey(e){e.key==="Escape"&&this.close()},close(){this.enableBodyScroll(),this.isVisible=!1},handleReadReview(e){if(!e){this.close();return}this.close(),setTimeout(()=>{const r=this.$router;r&&e&&r.push(e)},100)},closeDrawer(){this.$emit("close-drawer")},disableBodyScroll(){document.body.style.overflow="hidden"},enableBodyScroll(){document.body.style.overflow="auto"}}},S={key:0,class:"fixed top-0 left-0 right-0 bottom-0 z-50"},T={class:"absolute top-10 md:top-0 right-0 w-full md:w-[560px] h-full pb-10 md:pb-0 flex flex-col gap-fluid-md md:gap-fluid-lg background-2 rounded-t-ui-md md:rounded-t-none overflow-hidden z-40 animation-slide"},B={class:"flex flex-col gap-10.5 md:gap-md relative"},E={class:"flex-1 overflow-y-auto no-scrollbar scrollable-body"},I={class:"flex flex-col gap-fluid-lg md:gap-xl"},V={class:"p-md md:p-2xl flex gap-xs md:gap-lg py-xl"};function M(e,r,p,j,o,t){const d=g,c=D,b=w,f=_,l=v,x=y;return h(),L(k,{name:"drawer","enter-class":"drawer-enter-from",onAfterLeave:t.closeDrawer},{default:n(()=>[o.isVisible?(h(),P("div",S,[i("div",{class:"absolute top-0 left-0 right-0 bottom-0 overlay-ui-dark-2 z-30 animation-fade",onClick:r[0]||(r[0]=(...s)=>t.close&&t.close(...s))}),i("div",T,[i("div",B,[i("div",{class:"absolute top-0 left-0 w-full h-[119px] md:h-[176px] z-40 gradient-transition",style:O(t.gradient)},null,4),a(d,{onCloseDrawer:t.close},null,8,["onCloseDrawer"]),a(c,{content:t.headerContent,onHandleReadReview:t.handleReadReview},null,8,["content","onHandleReadReview"])]),i("div",E,[i("div",I,[a(b,{content:t.bodyContent},null,8,["content"]),i("div",V,[a(l,{variant:"ghost","prior-classes":"flex text-xs w-full",class:"w-full",size:t.buttonSize,disabled:t.currentIndex===0,icon:"","icon-position":"left",onClick:r[1]||(r[1]=s=>t.handlePartnerChange(t.currentIndex-1))},{"icon-left":n(()=>[a(f,{width:"12",height:"12","color-class":t.leftArrowColor},null,8,["color-class"])]),default:n(()=>[m(u(o.previousCasinoLabel),1)]),_:1},8,["size","disabled"]),a(l,{variant:"primary","prior-classes":"block text-xs",class:"w-full",size:t.buttonSize,disabled:t.currentIndex===t.lastPartner,icon:"","icon-position":"right",onClick:r[2]||(r[2]=s=>t.handlePartnerChange(t.currentIndex+1))},{default:n(()=>[m(u(o.nextCasinoLabel),1)]),"icon-right":n(()=>[a(x,{width:"12",height:"12","color-class":t.rightArrowColor},null,8,["color-class"])]),_:1},8,["size","disabled"])])])])])])):N("",!0)]),_:1},8,["onAfterLeave"])}const Ne=Object.assign(A(z,[["render",M],["__scopeId","data-v-23a310bc"]]),{__name:"ReviewPartnerDrawer"});export{Ne 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.