1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2fe9fb4a-e098-5e62-b7b5-922ba90929f8")}catch(e){}}(); 3import{a as Le}from"./chunk-PKNXTESA.js";import{d as Ae}from"./chunk-AQP6QX3A.js";import"./chunk-YOTUHAUV.js";import{a as j}from"./chunk-RNZLFFKC.js";import{c as oe}from"./chunk-N3B3TE63.js";import{a as ke}from"./chunk-ASPQ7FYG.js";import{a as ae,b as re}from"./chunk-URCHDJUK.js";import{c as Re}from"./chunk-SHPQCCCS.js";import{a as De}from"./chunk-O7UIY6IS.js";import"./chunk-TNHIGFEG.js";import"./chunk-PYERVEJ7.js";import{a as D}from"./chunk-XD6BBOOK.js";import"./chunk-UP5NWMB2.js";import"./chunk-NG2UH5JV.js";import"./chunk-V7KFNQFG.js";import"./chunk-OC5US5CA.js";import"./chunk-WZGV2CPF.js";import"./chunk-PNNWHPZU.js";import"./chunk-L6V3QX4D.js";import"./chunk-UCWNRO56.js";import"./chunk-IPHVRA3S.js";import"./chunk-PXSA72QB.js";import{b as ye}from"./chunk-MC32HPIJ.js";import"./chunk-WFSHCAYZ.js";import"./chunk-2SAZIM7C.js";import"./chunk-LM6YNNWJ.js";import{a as Je,b as ie}from"./chunk-CN6LWDZI.js";import"./chunk-JG5J3B7J.js";import"./chunk-PGDKNYNP.js";import"./chunk-K43FAQHA.js";import"./chunk-FLXVTRWX.js";import"./chunk-SAVWZB3V.js";import"./chunk-UAKJ6LOD.js";import{a as Ne,c as Me}from"./chunk-R5JSEUD6.js";import"./chunk-MWL2FFFD.js";import{c as Oe,d as Pe}from"./chunk-A32FKUNT.js";import"./chunk-MJQPGXQA.js";import"./chunk-UP7JJ5CQ.js";import"./chunk-5OIQMPTD.js";import"./chunk-WK7JGA4O.js";import"./chunk-LQ4VKUEJ.js";import"./chunk-BEUPFSZF.js";import"./chunk-WYHHUQGQ.js";import"./chunk-ASX35LZ3.js";import"./chunk-5CMGDIGY.js";import"./chunk-3I3QRXE3.js";import"./chunk-KP4ZWBAU.js";import{i as we}from"./chunk-LENXEETP.js";import{b as be,c as Ie}from"./chunk-QYZK7QCM.js";import"./chunk-IB7PDLZR.js";import{b as Se,n as te}from"./chunk-VCEBYPVT.js";import"./chunk-RUVMA635.js";import"./chunk-QY63XGLG.js";import"./chunk-JP3J2EIG.js";import"./chunk-B4OJV77W.js";import"./chunk-TJLDHIGF.js";import"./chunk-TUAUSIH7.js";import"./chunk-H5VGPPNX.js";import"./chunk-IJME5RCK.js";import"./chunk-VVHXKJVC.js";import"./chunk-53LEKQ6W.js";import"./chunk-TBDJQ7TF.js";import"./chunk-GHFNDSJY.js";import{b as xe,j as he,p as Ee}from"./chunk-EIJYTSSU.js";import{e as ve,f as X}from"./chunk-YSIK6MXW.js";import{a as ne}from"./chunk-JSFO5J2A.js";import"./chunk-XSGLK73N.js";import"./chunk-2FDBDQC5.js";import{b as le}from"./chunk-QRUNXDIJ.js";import"./chunk-UBZAA23F.js";import"./chunk-IKI4AKGO.js";import"./chunk-AYDJY52V.js";import{a as _e}from"./chunk-J62MJSSO.js";import"./chunk-J77BE44H.js";import"./chunk-QZXYJUOV.js";import"./chunk-EDGYPARL.js";import{m as ee,n as Te}from"./chunk-HHMEJT5Q.js";import"./chunk-G3UAL5O7.js";import{a as fe}from"./chunk-RE4Z5UYO.js";import{J as ue,O as Z,da as Ce}from"./chunk-UHERDYYU.js";import{F as H,m as U}from"./chunk-AI7XZROF.js";import{a as Y}from"./chunk-QYBPOF7X.js";import{k as Fe}from"./chunk-ZRIFOCYK.js";import"./chunk-U4TDMDM3.js";import{Aa as S,Ac as s,Bb as se,Bd as B,Cd as A,Db as r,Ha as C,Ia as x,Id as W,Kc as w,Kd as q,Na as ce,Qc as v,Rc as y,Sc as R,Ta as z,Uc as O,Ud as b,Vb as h,Vc as P,Wa as V,Wc as pe,Xc as _,Zd as T,_c as m,_d as p,ld as ge,nd as E,od as M,pd as Q,qc as g,sc as u,tc as me,uc as I,ud as $,vc as F,vd as L,wc as N,wd as k,xc as d,yb as de,yc as l,zc as c}from"./chunk-P7PFFTQP.js";import{h as Ke}from"./chunk-CHCY4HII.js";var Qe=()=>({minWidth:"120px"}),Ze=()=>({marginBottom:"14px"}),et=i=>({"my-5 items-center":i});function tt(i,o){if(i&1&&(l(0,"p",12),E(1),c()),i&2){m(2);let e=k(1);r(),M(e.fields.influencerName);}}function nt(i,o){i&1&&s(0,"eld-skeleton",13);}function it(i,o){if(i&1&&(l(0,"div",16),s(1,"eld-icon",24),l(2,"li"),E(3),c()()),i&2){let e=o.$implicit;r(),d("customStyle",B(3,Ze))("size",18),r(2),M(e);}}function ot(i,o){if(i&1){let e=w();l(0,"div",10)(1,"p",11),R(2,0),c(),l(3,"div"),g(4,tt,2,1,"p",12)(5,nt,1,0,"eld-skeleton",13),c()(),l(6,"h1",14),v(7,1),s(8,"span",11),y(),c(),l(9,"ul",15),F(10,it,4,4,"div",16,I),c(),l(12,"div",17)(13,"eld-button-link",18),_("buttonClick",function(){C(e);let n=m();
3return x(n.buttonClicked.emit("banner"));}),c(),l(14,"div",19),s(15,"eld-icon",20),l(16,"p",21),R(17,2),c()()(),l(18,"div",22),s(19,"eld-trustpilot-block",23),c();}if(i&2){let e=m(),t=k(1);r(4),u(t.fields.influencerName?4:5),r(6),N(e.checklistItems),r(3),ge(B(10,Qe)),d("isLoading",!t||!e.buttonText())("link",t.fields.game==null||t.fields.game.fields==null?null:t.fields.game.fields.listingsUrl)("text",e.buttonText()),r(4),O((t.fields.game==null||t.fields.game.fields==null?null:t.fields.game.fields.warrantyDuration)||5),P(17),r(2),d("clickable",!1)("hideScoreTitle",!0)("roundThousands",!0);}}function at(i,o){i&1&&s(0,"eld-skeleton",6);}function rt(i,o){if(i&1&&(l(0,"div",8),s(1,"eld-image",25),c()),i&2){m();let e=k(0),t=k(1);d("ngClass",A(5,et,!e)),r(),d("filePath",(t==null||t.fields==null||t.fields.influencerImage==null||t.fields.influencerImage.fields==null||t.fields.influencerImage.fields.file==null?null:t.fields.influencerImage.fields.file.url)+`?fm=webp&q=50${e?"&w=420":"&w=110"}`)("ignoreNgSrcset",!0)("priority",!0)("width",e?420:110);}}function lt(i,o){i&1&&s(0,"eld-skeleton",9);}var $e=(()=>{let o=class o{constructor(){this.data=p.required(),this.buttonClicked=T(),this.store=S(ee),this.isDesktop=this.store.selectSignal(Ie),this.ASSET=Y,this.buttonText=b(()=>{let t=this.data();if(t)return"Get "+t.fields?.game?.fields?.gameName+" "+t.fields?.category?.fields.category+"";}),this.checklistItems=["Affordable accounts, protected orders","Money-Back Guarantee","24/7 Live Support"];}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-banner"]],inputs:{data:[1,"data"]},outputs:{buttonClicked:"buttonClicked"},decls:12,vars:14,consts:()=>{let t;t="RECOMMENDED BY";let n;n="Unlock Your "+"\uFFFD#8\uFFFD"+"Exclusive"+"\uFFFD/#8\uFFFD"+" Offer";let a;return a=" "+"\uFFFD0\uFFFD"+" days free warranty ",[t,n,a,[1,"banner-container"],["alt","Influencer Banner Image",3,"desktopPath","mobilePath","optimized","priority"],[1,"column","text-left"],[1,"header-skeleton-size","mb-5","block"],[1,"column","flex","flex-col","items-center","text-center"],[1,"yellow-border",3,"ngClass"],[1,"image-skeleton-size","my-5","block","rounded-full"],[1,"inline-items","mb-7","font-black"],[1,"text-yellow-1"],[1,"text-yellow-1","uppercase"],[1,"block","h-4","w-35"],[1,"text-left","font-black"],[1,"text-lg"],[1,"inline-items","text-primary","h-9","gap-1"],[1,"inline-items","space-bottom","md-column","gap-4"],["size","l","theme","staticYellow",1,"full-width",3,"buttonClick","isLoading","link","text"],[1,"inline-items","margin-top","gap-1"],["name","shield"],[1,"text-lg","text-white"],[1,"text-align-center-md","mt-4"],[1,"text-white",3,"clickable","hideScoreTitle","roundThousands"],["name","check",3,"customStyle","size"],["alt","Influencer Image",3,"filePath","ignoreNgSrcset","priority","width"]];},template:function(n,a){if(n&1&&($(0)(1),l(2,"div",3),s(3,"eld-bg-image",4),W(4,"getAssetUrl"),W(5,"getAssetUrl"),l(6,"div",5),g(7,ot,20,11)(8,at,1,0,"eld-skeleton",6),c(),l(9,"div",7),g(10,rt,2,7,"div",8)(11,lt,1,0,"eld-skeleton",9),c()()),n&2){L(a.isDesktop()),r();let f=L(a.data());r(2),d("desktopPath",q(4,8,"influencer_background.png?q=50&w=1440",a.ASSET.Miscellaneous))("mobilePath",q(5,11,"influencer_background.png?q=50&w=768",a.ASSET.Miscellaneous))("optimized",!1)("priority",!0),r(4),u(f?7:8),r(3),u(!(f==null||f.fields==null)&&f.fields.influencerImage?10:11);}},dependencies:[j,X,oe,we,ve,U,D,ne],styles:["[_nghost-%COMP%] eld-bg-image[_ngcontent-%COMP%] img{object-position:bottom}.banner-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column-reverse;justify-content:center;margin-left:auto;margin-right:auto;align-items:center;padding:148px 10px;margin-top:30px}@media(min-width:961px){.banner-container[_ngcontent-%COMP%]{padding:166px 24px 200px;align-items:unset;flex-direction:row;margin-top:0}}.column[_ngcontent-%COMP%]{flex:1;z-index:2;max-width:600px;text-align:center}.column[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:48px;margin-bottom:24px}@media(min-width:1025px){.column[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:80px}}.column[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:32px;color:#8a869d;list-style-type:none}@media(min-width:961px){.column.text-center[_ngcontent-%COMP%]{text-align:center}.column.text-left[_ngcontent-%COMP%]{text-align:left}}.inline-items[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.inline-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-right:6px}.margin-top[_ngcontent-%COMP%]{margin-top:12px}@media(min-width:841px){.margin-top[_ngcontent-%COMP%]{margin-top:0}}.space-bottom[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:961px){.space-bottom[_ngcontent-%COMP%]{margin-bottom:0}}.text-yellow[_ngcontent-%COMP%] p[_ngcontent-%COMP%], span[_ngcontent-%COMP%]{color:var(--brand-yellow-1)}.md-column[_ngcontent-%COMP%]{flex-direction:column}@media(min-width:961px){.md-column[_ngcontent-%COMP%]{flex-direction:row}}.yellow-border[_ngcontent-%COMP%]{border-radius:50%;width:110px;height:110px;overflow:hidden;border-style:solid;border-color:var(--brand-yellow-1);border-width:3px 1px 0 1px;box-shadow:0 11px 16.9px 6px #000000bd,0 4px 11.9px 6px #0000009e inset}@media(min-width:961px){.yellow-border[_ngcontent-%COMP%]{width:420px;height:420px;border-width:8px 5px 0 5px}}.yellow-border[_ngcontent-%COMP%] eld-image[_ngcontent-%COMP%]{width:110px;height:110px}@media(min-width:961px){.yellow-border[_ngcontent-%COMP%] eld-image[_ngcontent-%COMP%]{width:420px;height:420px}}.text-align-center-md[_ngcontent-%COMP%]{text-align:center}@media(min-width:841px){.text-align-center-md[_ngcontent-%COMP%]{text-align:left}}.header-skeleton-size[_ngcontent-%COMP%]{height:439px;width:600px}.image-skeleton-size[_ngcontent-%COMP%]{height:109px;width:107px}@media(min-width:961px){.image-skeleton-size[_ngcontent-%COMP%]{height:415p
3x;width:410px}}"],changeDetection:0});let i=o;return i;})();var Be=Ke(Je());var dt=()=>[1,2,3];function st(i,o){i&1&&(l(0,"p",4),R(1,0),c());}function mt(i,o){if(i&1&&(l(0,"div",5),E(1),l(2,"span",9),E(3),c(),E(4),c()),i&2){let e,t=m();r(),Q("",t.titlePartOne," "),r(2),M((e=t.sectionTitle())==null?null:e.gameName),r(),Q("",t.titlePartTwo," ");}}function pt(i,o){if(i&1&&s(0,"ngx-skeleton-loader",6),i&2){let e=m();d("theme",e.sectionTitleSkeletonTheme);}}function gt(i,o){if(i&1&&(l(0,"div"),s(1,"ngx-skeleton-loader",6),c()),i&2){let e=m(2);r(),d("theme",e.carSkeletonTheme);}}function ut(i,o){i&1&&F(0,gt,2,1,"div",null,me),i&2&&N(B(0,dt));}function _t(i,o){if(i&1){let e=w();l(0,"div",8),s(1,"img",10),l(2,"div",11)(3,"div",12),E(4),c(),s(5,"eld-contentful-rich-text",13),l(6,"div",14)(7,"div",15)(8,"p",16),R(9,1),c(),l(10,"div",17),E(11),c()(),l(12,"eld-button-link",18),_("buttonClick",function(){let n=C(e).$implicit,a=m();return x(a.buttonClicked.emit(n==null||n.fields==null?null:n.fields.cardLink));}),c()()()();}if(i&2){let e=o.$implicit,t=o.$index,n=m();r(),d("height",144)("src",(e==null||e.fields==null||e.fields.cardBackgroundImage==null||e.fields.cardBackgroundImage.fields==null||e.fields.cardBackgroundImage.fields.file==null?null:e.fields.cardBackgroundImage.fields.file.url)+"?w=384&fm=webp&q=50",de)("width",384),r(3),M(e==null||e.fields==null?null:e.fields.cardTitle),r(),d("document",e==null||e.fields==null?null:e.fields.cardContent),r(6),Q("$",e==null||e.fields==null?null:e.fields.cardStartingFromPrice),r(),d("iconAfterText","sign-right")("link",n.parsedUrls[t].path)("queryParams",n.parsedUrls[t].queryParams)("text",e==null||e.fields==null?null:e.fields.buttonText);}}var Ue=(()=>{let o=class o{constructor(){this.cardsData=p.required(),this.sectionTitle=p(),this.buttonClicked=T(),this.sectionTitleSkeletonTheme={width:"70%",height:"42px",backgroundColor:"#14131A"},this.carSkeletonTheme={height:"488px",width:"384px",backgroundColor:"#14131A"},this.documentToHtmlString=Be.documentToHtmlString,this.parsedUrls=[],V(()=>this.processTitle()),V(()=>this.parseUrls());}processTitle(){let t=this.sectionTitle()?.title;if(!t)return;let[n,a]=t.split("{gameName}");this.titlePartOne=n,this.titlePartTwo=a;}parseUrls(){this.cardsData().forEach((t,n)=>{let a=t.fields.cardLink;this.parsedUrls[n]=Fe(a);});}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-category-cards"]],inputs:{cardsData:[1,"cardsData"],sectionTitle:[1,"sectionTitle"]},outputs:{buttonClicked:"buttonClicked"},decls:9,vars:3,consts:()=>{let t;t="Instant Access";let n;return n="Starting from",[t,n,[1,"card-container"],[1,"center","flex","flex-col","items-center","text-center","text-white"],[1,"font-sm","text-yellow-1","small-caps","mb-[12px]"],[1,"text-3xl","font-bold","md:mb-[56px]"],[3,"theme"],[1,"row"],[1,"card-md","bg-lighter-gradient","border-radius-lg","border-sm"],[1,"text-yellow-1","margin"],["alt","Category Image","loadingBehavior","lazy",3,"height","src","width"],[1,"inner-padding"],[1,"font-md","margin-bottom-sm","text-white"],["customClass","influencer-category-card",3,"document"],[1,"inline-items"],[1,"margin-bottom-sm"],[1,"text-gray","font-sm","small-caps"],[1,"font-md","text-white"],["size","xl","theme","staticYellow",3,"buttonClick","iconAfterText","link","queryParams","text"]];},template:function(n,a){n&1&&(l(0,"div",2)(1,"div",3),g(2,st,2,0,"p",4),g(3,mt,5,3,"div",5)(4,pt,1,1,"ngx-skeleton-loader",6),c(),l(5,"div",7),g(6,ut,2,1),F(7,_t,13,10,"div",8,I),c()()),n&2&&(r(2),u(a.cardsData()?2:-1),r(),u(a.sectionTitle()?3:4),r(3),u(a.cardsData()?-1:6),r(),N(a.cardsData()));},dependencies:[re,ae,ie,D],styles:[".card-container[_ngcontent-%COMP%]{position:relative;width:90%;margin:130px auto 50px}@media(min-width:481px){.card-container[_ngcontent-%COMP%]{width:85%;margin:130px auto 80px}}.text-yellow[_ngcontent-%COMP%]{color:var(--brand-yellow-1)}.text-gray[_ngcontent-%COMP%]{color:var(--text-secondary)}.text-white[_ngcontent-%COMP%]{color:#fff}.small-caps[_ngcontent-%COMP%]{font-weight:900;line-height:140%;letter-spacing:.36px;text-transform:uppercase}.center[_ngcontent-%COMP%]{text-align:center}.font-xl[_ngcontent-%COMP%]{font-size:36px;font-weight:600}@media(min-width:601px){.font-xl[_ngcontent-%COMP%]{font-size:48px}}.font-md[_ngcontent-%COMP%]{font-size:32px;font-style:normal;font-weight:700;line-height:normal}.font-sm[_ngcontent-%COMP%]{font-size:12px}.card-md[_ngcontent-%COMP%]{max-width:384px;min-height:488px}.inner-padding[_ngcontent-%COMP%]{padding:10px 15px;display:grid;min-height:380px}@media(min-width:601px){.inner-padding[_ngcontent-%COMP%]{padding:10px 30px}}.row[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-top:20px;gap:23px;flex-direction:column}@media(min-width:1281px){.row[_ngcontent-%COMP%]{flex-direction:row;align-items:normal}}
3.bg-lighter-gradient[_ngcontent-%COMP%]{background:linear-gradient(180deg,#1e1f2800,#1e1f28)}.border-radius-lg[_ngcontent-%COMP%]{border-radius:var(--corner-large)}.border-sm[_ngcontent-%COMP%]{border:1px solid #2a2a37}.inline-items[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}img[_ngcontent-%COMP%]{width:100%;border-radius:16px 16px 0 0}@media(min-width:601px){img[_ngcontent-%COMP%]{width:auto}}"],changeDetection:0});let i=o;return i;})();function ft(i,o){if(i&1&&(l(0,"div",4),v(1,0),s(2,"span")(3,"span"),y(),c()),i&2){let e=m();r(3),O(e.gameName())(e.category())(e.promoCodePercentageValue()),P(1);}}function Ct(i,o){if(i&1){let e=w();l(0,"div",5)(1,"eld-button-link",6),_("buttonClick",function(){C(e);let n=m();return x(n.buttonClicked.emit("get-influencer-deal"));}),c()();}if(i&2){let e=m();r(),d("link",e.listingsUrl())("text",e.buttonText);}}var Ge=(()=>{let o=class o{constructor(){this.gameName=p.required(),this.category=p.required(),this.influencerName=p.required(),this.promoCodePercentageValue=p.required(),this.listingsUrl=p.required(),this.buttonClicked=T(),this.assetEnum=Y,V(()=>{this.updateButtonText();});}updateButtonText(){this.buttonText="Get "+this.influencerName()+" deal";}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-encourage-section"]],inputs:{gameName:[1,"gameName"],category:[1,"category"],influencerName:[1,"influencerName"],promoCodePercentageValue:[1,"promoCodePercentageValue"],listingsUrl:[1,"listingsUrl"]},outputs:{buttonClicked:"buttonClicked"},decls:6,vars:7,consts:()=>{let t;return t="Get the perfect "+"[\uFFFD#2\uFFFD|\uFFFD#3\uFFFD]"+""+"\uFFFD0\uFFFD"+""+"[\uFFFD/#2\uFFFD|\uFFFD/#3\uFFFD]"+" "+"\uFFFD1\uFFFD"+" with "+"[\uFFFD#2\uFFFD|\uFFFD#3\uFFFD]"+""+"\uFFFD2\uFFFD"+"% off"+"[\uFFFD/#2\uFFFD|\uFFFD/#3\uFFFD]"+"",t=pe(t),[t,[1,"banner-container"],["alt","Lightning background image",3,"desktopPath","lazyLoading"],[1,"banner-text"],[1,"width-50","text-center"],[1,"mt-12","flex","justify-center"],["theme","staticYellow",3,"buttonClick","link","text"]];},template:function(n,a){n&1&&(l(0,"div",1),s(1,"eld-bg-image",2),W(2,"getAssetUrl"),l(3,"div",3),g(4,ft,4,3,"div",4),g(5,Ct,2,2,"div",5),c()()),n&2&&(r(),d("desktopPath",q(2,4,"lightnings.png",a.assetEnum.Miscellaneous))("lazyLoading",!0),r(3),u(a.gameName()&&a.category()&&a.promoCodePercentageValue()?4:-1),r(),u(a.buttonText?5:-1));},dependencies:[j,D,ne],styles:[".banner-container[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;text-align:center;min-height:500px;margin-top:144px}.banner-container[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{color:#fff;max-width:600px;margin:144px 28px;font-size:36px;font-style:normal;font-weight:700;line-height:normal;text-align:center;justify-content:center}.banner-container[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--brand-yellow-1)}.width-75[_ngcontent-%COMP%]{width:75%}.text-center[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0});let i=o;return i;})();function xt(i,o){if(i&1&&(l(0,"div",2),v(1,0),s(2,"span",4),y(),c()),i&2){let e=m();r(2),O(e.gameName()),P(1);}}function ht(i,o){if(i&1){let e=w();l(0,"div")(1,"a",5),_("click",function(){let n=C(e).$implicit,a=m();return x(a.cardClicked.emit("card-"+a.formatIdentifier((n==null||n.fields==null?null:n.fields.gameName)??"")));}),s(2,"eld-image",6),l(3,"span",7),E(4),c()()();}if(i&2){let e=o.$implicit;r(),d("routerLink",e==null||e.fields==null?null:e.fields.link),r(),d("filePath",e==null||e.fields==null||e.fields.gameImage==null||e.fields.gameImage.fields==null||e.fields.gameImage.fields.file==null?null:e.fields.gameImage.fields.file.url)("height",290)("quality",50)("width",220),r(2),M(e==null||e.fields==null?null:e.fields.gameName);}}var ze=(()=>{let o=class o{constructor(){this.gameName=p.required(),this.gamesSlider=p.required(),this.cardClicked=T();}formatIdentifier(t){return t.toLowerCase().replace(/\s+/g,"-");}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-games-slider"]],inputs:{gameName:[1,"gameName"],gamesSlider:[1,"gamesSlider"]}
3,outputs:{cardClicked:"cardClicked"},decls:5,vars:1,consts:()=>{let t;return t=" Are you playing more than "+"\uFFFD#2\uFFFD"+""+"\uFFFD0\uFFFD"+""+"\uFFFD/#2\uFFFD"+"? ",[t,[1,"slider-container"],[1,"text-36","width-565","text-md-center","text-white"],[1,"image-scroll-wrapper","margin-top-56"],[1,"text-yellow-1"],[1,"flex","w-max","flex-none","flex-col",3,"click","routerLink"],["alt","Game Image","loadingBehavior","lazy",3,"filePath","height","quality","width"],[1,"text-16","margin-top-16","text-white"]];},template:function(n,a){n&1&&(l(0,"div",1),g(1,xt,3,1,"div",2),l(2,"div",3),F(3,ht,5,6,"div",null,I),c()()),n&2&&(r(),u(a.gameName()?1:-1),r(2),N(a.gamesSlider()));},dependencies:[X,Z],styles:[".slider-container[_ngcontent-%COMP%]{position:relative;max-width:1240px;width:100%;margin:120px auto;padding:0 16px}@media(min-width:961px){.slider-container[_ngcontent-%COMP%]{width:95%}}.image-scroll-wrapper[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-between;overflow-x:auto;padding:10px 0;-ms-overflow-style:none;scrollbar-width:none}@media(min-width:1281px){.image-scroll-wrapper[_ngcontent-%COMP%]{justify-content:center}}.margin-top-56[_ngcontent-%COMP%]{margin-top:56px}.margin-left-56[_ngcontent-%COMP%]{margin-left:56px}.margin-top-16[_ngcontent-%COMP%]{margin-top:16px}.width-565[_ngcontent-%COMP%]{max-width:565px}.text-36[_ngcontent-%COMP%]{font-size:36px;font-weight:700}.text-16[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.text-white[_ngcontent-%COMP%]{color:#fff}.text-yellow[_ngcontent-%COMP%]{color:var(--brand-yellow-1)}.text-md-center[_ngcontent-%COMP%]{text-align:center}@media(min-width:961px){.text-md-center[_ngcontent-%COMP%]{text-align:left}}eld-image[_ngcontent-%COMP%] img{border-radius:var(--corner-large)}"],changeDetection:0});let i=o;return i;})();var Ve=[{image:{path:"select-list.svg",width:117,height:105,alt:"select-list"},title:"1. Select the perfect product"},{image:{path:"payment-chips-2.svg",width:120,height:120,alt:"payment-chips"},title:"2. Proceed to a secure checkout"},{image:{path:"account-info-2.svg",width:120,height:120,alt:"account-info"},title:"3. Obtain the details from seller"},{image:{path:"rank-up.svg",width:126,height:120,alt:"rank-up"},title:"4. Launch into action!"}];function Et(i,o){if(i&1&&(l(0,"span"),v(1,0),s(2,"span",6),y(),c()),i&2){let e=m();r(2),O(e.gameName())(e.category()),P(1);}}function St(i,o){if(i&1&&s(0,"eld-usp-process-step",4),i&2){let e=o.$implicit;d("step",e);}}function Tt(i,o){if(i&1){let e=w();l(0,"div",5)(1,"eld-button-link",7),_("buttonClick",function(){C(e);let n=m();return x(n.buttonClicked.emit("how-it-works"));}),c()();}if(i&2){let e=m();r(),d("link",e.buttonLink())("text",e.buttonText());}}var We=(()=>{let o=class o{constructor(){this.buttonText=p(),this.buttonLink=p(),this.gameName=p(),this.category=p(),this.buttonClicked=T(),this.HOW_IT_WORKS_STEPS=Ve;}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-how-it-works"]],inputs:{buttonText:[1,"buttonText"],buttonLink:[1,"buttonLink"],gameName:[1,"gameName"],category:[1,"category"]},outputs:{buttonClicked:"buttonClicked"},decls:7,vars:2,consts:()=>{let t;return t="How purchasing "+"\uFFFD#2\uFFFD"+""+"\uFFFD0\uFFFD"+" "+"\uFFFD1\uFFFD"+""+"\uFFFD/#2\uFFFD"+" works?",[t,[1,"how-it-works-container"],[1,"how-it-works-title","text-white"],[1,"steps"],[1,"text-white",3,"step"],[1,"flex","justify-center"],[1,"text-yellow-1"],["theme","staticYellow",1,"hidden","md:block",3,"buttonClick","link","text"]];},template:function(n,a){n&1&&(l(0,"div",1)(1,"div",2),g(2,Et,3,2,"span"),c(),l(3,"div",3),F(4,St,1,1,"eld-usp-process-step",4,I),c(),g(6,Tt,2,2,"div",5),c()),n&2&&(r(2),u(a.gameName()&&a.category()?2:-1),r(2),N(a.HOW_IT_WORKS_STEPS),r(2),u(a.buttonText()&&a.buttonLink()?6:-1));},dependencies:[Ae,D],styles:[".how-it-works-container[_ngcontent-%COMP%]{position:relative;text-align:center;width:100%;margin:24px 0 144px;background-color:#1e1f28;padding:80px 14px 60px;clip-path:polygon(0% 14px,100% 0%,100% calc(100% - 14px),0% 100%);z-index:1}@media(min-width:961px){.how-it-works-container[_ngcontent-%COMP%]{margin:144px 0}}@media(min-width:601px){.how-it-works-container[_ngcontent-%COMP%]{padding:97px 14px 113px;clip-path:polygon(0% 53px,100% 0%,100% calc(100% - 53px),0% 100%)}}.how-it-works-title[_ngcontent-%COMP%]{font-size:36px;font-style:normal;font-weight:700;line-height:normal}.text-yellow[_ngcontent-%COMP%]{color:var(--brand-yellow-1)}.steps[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:73px 0 68px;gap:48px}@media(min-width:841px){.steps[_ngcontent-%COMP%]{margin:40px 0 27px;flex-direction:row;align-items:baseline;gap:0}.steps[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not(:first-child){border-left:1px solid #2a2a37}}.text-white[_ngcontent-%COMP%]{color:#fff}"],changeDetection:0});let i=o;return i;})();var Ft=i=>({"hidden md:block":i});function Nt(i,o){if(i&1&&(l(0,"div",8),s(1,"eld-image",9),W(2,"getElDragoAssetUrl"),s(3,"eld-contentful-rich-text",10)(4,"hr",11),l(5,"div",12),E(6),c()()),i&2){let e=o.$implicit,t=o.$index,n=m(2);d("ngClass",A(9,Ft,t>2)),r(),d("filePath",q(2,6,"quote-left.svg",n.ASSET.Miscellaneous))("height",40)("width",40),r(2),d("document",e==null||e.fields==null?null:e.fields.review),r(3),M(e.f
3ields.reviewerName);}}function Mt(i,o){if(i&1&&(l(0,"div",1)(1,"div",2),s(2,"div",3),l(3,"div",4)(4,"div",5),R(5,0),c(),s(6,"eld-trustpilot-block",6),c(),l(7,"div",7),F(8,Nt,7,11,"div",8,I),c()()()),i&2){m();let e=k(0);r(6),d("clickable",!1)("hideScoreTitle",!0)("roundThousands",!0),r(2),N(e);}}var He=(()=>{let o=class o{constructor(){this.userReviews=p.required(),this.ASSET=Y;}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-reviews"]],inputs:{userReviews:[1,"userReviews"]},decls:2,vars:2,consts:()=>{let t;return t="Trusted by gamers worldwide ",[t,[1,"reviews-container"],[1,"inline-grid","max-w-[1168px]"],[1,"background-yellow-blur"],[1,"inline-space-between"],[1,"h-auto","w-[300px]","text-left","text-4xl","leading-normal","font-bold","text-white"],[1,"text-white",3,"clickable","hideScoreTitle","roundThousands"],[1,"card-container","mt-12"],[1,"card-column","contentful-text","flex","flex-col","gap-2",3,"ngClass"],["alt","quote",3,"filePath","height","width"],["customClass","influencer-page-reviews",3,"document"],[1,"border-divider","w-1/3","border"],[1,"text-left","text-sm","font-bold"]];},template:function(n,a){if(n&1&&($(0),g(1,Mt,10,3,"div",1)),n&2){let f=L(a.userReviews());r(),u(f.length>0?1:-1);}},dependencies:[ie,oe,H,U,X,ye],styles:[".background-yellow-blur[_ngcontent-%COMP%]{width:50%;height:223px;transform:rotate(40deg);position:absolute;left:-134px;bottom:300px;border-radius:848px;opacity:.75;background:radial-gradient(50% 50% at 50% 50%,#ffc950,#ffc950bf);filter:blur(175px)}.reviews-container[_ngcontent-%COMP%]{position:relative;text-align:center;max-width:100%;margin-top:24px;padding:80px 14px 60px}@media(min-width:961px){.reviews-container[_ngcontent-%COMP%]{margin-top:0}}@media(min-width:601px){.reviews-container[_ngcontent-%COMP%]{padding:100px 84px}}.inline-space-between[_ngcontent-%COMP%]{display:flex;position:relative;justify-content:center;align-items:center;flex-wrap:wrap}@media(min-width:1025px){.inline-space-between[_ngcontent-%COMP%]{justify-content:space-between}}.card-container[_ngcontent-%COMP%]{display:flex;position:relative;flex-wrap:wrap;gap:20px}.card-container[_ngcontent-%COMP%] .card-column[_ngcontent-%COMP%]{flex:1 1 100%;padding:20px;box-sizing:border-box;background:#1e1f28;border-radius:16px;height:fit-content}@media(min-width:1025px){.card-container[_ngcontent-%COMP%] .card-column[_ngcontent-%COMP%]{flex:1 1 20%}}eld-trustpilot-block[_ngcontent-%COMP%]{margin-top:18px}@media(min-width:1025px){eld-trustpilot-block[_ngcontent-%COMP%]{margin-top:0}} .trustpilot eld-icon.half-star span.path1:before, .trustpilot eld-icon.half-star ng-icon{background:linear-gradient(90deg,#51b37f 50%,#323141 50%)!important}.icon-yellow[_ngcontent-%COMP%] .icon:before, .icon-yellow[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--brand-yellow-1)}"],changeDetection:0});let i=o;return i;})();var bt=i=>({hide:i}),Ye=()=>["/"],It=i=>({scrolled:i});function wt(i,o){if(i&1&&s(0,"ngx-skeleton-loader",10),i&2){let e=m();d("theme",e.skeletonTitleTheme);}}function vt(i,o){if(i&1&&(l(0,"h3",11),v(1,0),s(2,"span",13),y(),c()),i&2){m();let e=k(0),t=k(1);r(2),O(t)(e),P(1);}}var Xe=(()=>{let o=class o{constructor(){this.promoCode=p.required(),this.promoCodePercentageValue=p.required(),this.buttonText=p.required(),this.buttonLink=p.required(),this.buttonClicked=T(),this.analyticsService=S(te),this.skeletonTitleTheme={width:"200px",height:"26px",marginTop:"10px",backgroundColor:"#14131A"},this.isScrolled=!1;}onWindowScroll(){let t=window.pageYOffset;this.isScrolled=t>50;}homePageClick(){this.analyticsService.eventTrack("ilp_click",{identifier:"home-page-button"});}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-top-bar"]],hostBindings:function(n,a){n&1&&_("scroll",function(){return a.onWindowScroll();},se);},inputs:{promoCode:[1,"promoCode"],promoCodePercentageValue:[1,"promoCodePercentageValue"],buttonText:[1,"buttonText"],buttonLink:[1,"buttonLink"]},outputs:{buttonClicked:"buttonClicked"},decls:14,vars:19,consts:()=>{let t;return t=" -"+"\uFFFD0\uFFFD"+"% off with code "+"\uFFFD#2\uFFFD"+""+"\uFFFD1\uFFFD"+""+"\uFFFD/#2\uFFFD"+"",[t,[1,"mobile-container","flex","md:hidden",3,"ngClass"],["aria-label","Eldorado logo",3,"routerLink"],["textColor","var(--brand-white)",3,"withText"],[1,"rainbow",3,"ngClass"],[1,"hidden","md:block"],["aria-label","Eldorado logo",3,"click","routerLink"],["logoColor","var(--brand-dark)","textColor","var(--brand-dark)",3,"withText"],[1,"center"],[1,"text-title"],[3,"theme"],[1,"font-regular"],["padding","0 12px","theme","staticDark",3,"isLoading","link","text"],[1,"bolder"]];},template:function(n,a){if(n&1&&($(0)(1),l(2,"div",1)(3,"a",2),s(4,"eld-eldorado-logo",3),c()(),l(5,"div",4)(6,"div",5)(7,"a",6),_("click",function(){return a.homePageClick();}),s(8,"eld-eldorado-logo",7),c()(),l(9,"div",8)(10,"div",9),g(11,wt,1,1,"ngx-skeleton-loader",10),g(12,vt,3,2,"h3",11),c(),s(13,"eld-button-link",12),c()()),n&2){let f=L(a.promoCode());r();let K=L(a.promoCodePercentageValue());r(),d("ngClass",A(13,bt,a.isScrolled)),r(),d("routerLink",B(15,Ye)),r(),d("withText",!0),r(),d("ngClass",A(16,It,a.isScrolled)),r(2),d("routerLink",B(18,Ye)),r(),d("withText",!0),r(3),u(!K||!f?11:-1),r(),u(K&&f?12:-1),r(),d("isLoading",!f)("link",a.buttonLink())("text",a.buttonText());}},dependencies:[De,H,U,re,ae,Z,D],styles:[".mobile-container[_ngcontent-%COMP%]{position:fixed;z-index:9998;top:0;width:100%;max-height:60px;padding:10px;transition:max-height .3s ease,padding .3s ease;background:#1e1f28}.mobile-container.hide[_ngcontent-%COMP%]{max-height:0;padding:0 10px;overflow:hidden}.rainbow[_ngcontent-%COMP%]{position:fixed;z-index:9999;display:flex;width:100%;gap:10px;padding:10px;margin-top:60px;background:radial-gradient(circle,#ffc950 23%,#d68aea 71%,#4783ff 100%,#d1f08f);max-height:60px;transition:margin-top .3s ease,padding .3s ease}.rainbow.scrolled[_ngcontent-%COMP%]{margin-top:0}@media(min-width:961px){.rainbow[_ngcontent-%COMP%]{padding:10px 120px;margin-top:0}}.center[_ngcontent-%COMP%]{justify-content:space-between;width:100%;display:flex;gap:0}@media(min-width:601px){.center[_ngcontent-%COMP%]{justify-content:center;gap:100px}}.text-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.text-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;color:var(--brand-dark);margin-bottom:0}@media(min-width:601px){.text-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:24px}}
3.font-regular[_ngcontent-%COMP%]{font-weight:400}.bolder[_ngcontent-%COMP%]{font-weight:900}eld-button[_ngcontent-%COMP%]{min-width:120px;top:-2px}eld-button[_ngcontent-%COMP%] .button__disabled{background-color:#28272e}@media(hover:hover){eld-button[_ngcontent-%COMP%] .button__disabled:hover{background-color:#28272e;cursor:default}}"],changeDetection:0});let i=o;return i;})();var yt=i=>({"hidden md:block":i});function Ot(i,o){if(i&1&&s(0,"eld-bg-image",3),i&2){m();let e=k(0);d("desktopPath",e+"?w=1440&fm=webp&q=50")("lazyLoading",!0)("mobilePath",e+"?w=768&fm=webp&q=50")("optimized",!1);}}function Pt(i,o){if(i&1&&(l(0,"div",8)(1,"p",11),E(2),c(),l(3,"span",12),E(4),c()()),i&2){let e=o.$implicit,t=o.$index;d("ngClass",A(3,yt,t>2)),r(2),M(e.title),r(2),M(e.description);}}var je=(()=>{let o=class o{constructor(){this.backgroundImagePath=p.required(),this.gameName=p.required(),this.category=p.required(),this.listingUrl=p.required(),this.buttonClicked=T(),this.TEXT_GROUPS=[{title:"Save Time",description:"Skip the grind and get straight into the action with high-level accounts."},{title:"Maximize Fun",description:"Spend more time enjoying the game and less on repetitive tasks."},{title:"Top-Tier Skins",description:"Access exclusive in-game skins that aren\u2019t available to the average player."},{title:"Wide Selection",description:"Find the perfect account to match your gaming style and preferences."},{title:"Protected Purchases",description:"Benefit from a money-back guarantee and 24/7 live support."},{title:"Instant Access",description:"Gain immediate access to your new account, no waiting required."}],V(()=>{this.updateButtonText(this.gameName(),this.category());});}updateButtonText(t,n){this.buttonText=t&&n?"Get "+t+" "+n+"":"Buy now";}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-why-choose-eldorado-section"]],inputs:{backgroundImagePath:[1,"backgroundImagePath"],gameName:[1,"gameName"],category:[1,"category"],listingUrl:[1,"listingUrl"]},outputs:{buttonClicked:"buttonClicked"},decls:13,vars:7,consts:()=>{let t;t="WORRY-FREE";let n;return n="Why you should get a "+"\uFFFD#7\uFFFD"+""+"\uFFFD0\uFFFD"+""+"\uFFFD/#7\uFFFD"+" "+"\uFFFD1\uFFFD"+"? ",[t,n,[1,"section-container"],["alt","Influencer Banner Image",3,"desktopPath","lazyLoading","mobilePath","optimized"],[1,"lift-up","text-yellow-1","text-12","small-caps","margin-bottom-sm"],[1,"lift-up","text-36","text-center","text-white"],[1,"text-yellow-1","margin"],[1,"center","space-top","lift-up"],[1,"item-group","margin-bottom-sm","text-white",3,"ngClass"],[1,"space-top"],["theme","staticYellow",3,"buttonClick","isLoading","link","text"],[1,"green-container","text-sulu","text-16","margin-bottom-sm"],[1,"text-14"]];},template:function(n,a){if(n&1&&($(0),l(1,"div",2),g(2,Ot,1,4,"eld-bg-image",3),l(3,"p",4),R(4,0),c(),l(5,"div",5),v(6,1),s(7,"span",6),y(),c(),l(8,"div",7),F(9,Pt,5,5,"div",8,I),c(),l(11,"div",9)(12,"eld-button-link",10),_("buttonClick",function(){return a.buttonClicked.emit("why-choose-eldorado");}),c()()()),n&2){let f=L(a.backgroundImagePath());r(2),u(f?2:-1),r(5),O(a.gameName())(a.category()),P(6),r(2),N(a.TEXT_GROUPS),r(3),d("isLoading",!a.buttonText)("link",a.listingUrl())("text",a.buttonText);}},dependencies:[j,H,U,D],styles:[".section-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;width:100%}@media(min-width:601px){.section-container[_ngcontent-%COMP%]{min-height:947px}}.center[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:24px;justify-content:center;align-items:center;text-align:center}@media(min-width:841px){.center[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto)}}.lift-up[_ngcontent-%COMP%]{z-index:1}.text-white[_ngcontent-%COMP%]{color:#fff}.text-sulu[_ngcontent-%COMP%]{color:#d1f08f}.text-yellow[_ngcontent-%COMP%]{color:#ffc950}.small-caps[_ngcontent-%COMP%]{font-weight:900;line-height:140%;letter-spacing:.36px;text-transform:uppercase}.text-36[_ngcontent-%COMP%]{font-size:36px;font-weight:600}.text-16[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.text-14[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.text-12[_ngcontent-%COMP%]{font-size:12px}.text-center[_ngcontent-%COMP%]{text-align:center}.item-group[_ngcontent-%COMP%]{width:282px}.green-container[_ngcontent-%COMP%]{padding:12px;border-radius:8px;background:#d1f08f33}.margin-bottom-sm[_ngcontent-%COMP%]{margin-bottom:8px}.space-top[_ngcontent-%COMP%]{margin-top:48px}eld-bg-image[_ngcontent-%COMP%] img{object-position:15%}@media(min-width:961px){eld-bg-image[_ngcontent-%COMP%] img{object-position:center}}"],changeDetection:0});let i=o;return i;})();function kt(i,o){if(i&1){let e=w();l(0,"eld-influencer-top-bar",0),_("buttonClicked",function(){C(e);let n=m();return x(n.trackAnalyticsEvent("top-bar"));}),c(),l(1,"eld-influencer-banner",1),_("buttonClicked",function(n){C(e);let a=m();return x(a.trackAnalyticsEvent(n));}),c(),l(2,"div",2),s(3,"eld-statistics-bar",3),c(),l(4,"eld-influencer-category-cards",4),_("buttonClicked",function(n){C(e);let a=m();return x(a.trackAnalyticsEvent(n));}),c(),l(5,"eld-influencer-why-choose-eldorado-section",5),_("buttonClicked",function(n){C(e);let a=m();return x(a.trackAnalyticsEvent(n));}),c(),s(6,"eld-influencer-reviews",6),l(7,"eld-influencer-how-it-works",7),_("buttonClicked",function(n){C(e);let a=m();return x(a.trackAnalyticsEvent(n));}),c(),l(8,"div",8),s(9,"eld-faq",9),c(),l(10,"eld-influencer-encourage-section",10),_("buttonClicked",function(n){C(e);let a=m();return x(a.trackAnalyticsEvent(n));}),c(),l(11,"eld-influencer-games-slider",11),_("cardClicked",function(n){C(e);let a=m();return x(a.trackAnalyticsEvent(n));}),c(),s(12,"eld-footer");}if(i&2){let e=m();d("buttonLink",e.listingsUrl())("buttonText",e.buttonText())("promoCode",e.promoCode())("promoCodePercentageValue",e.promoCodePercentageValue()),r(),d("data",e.influencerData()),r(2),d("statistics",e.STATISTICS_BAR_CONFIG),r(),d("cardsData",e.cardsData())("sectionTitle",e.categoryCardsSectionTitle()),r(),d("backgroundImagePath",e.whySectionBackgroun
3dImagePath())("category",e.category())("gameName",e.gameName())("listingUrl",e.listingsUrl()),r(),d("userReviews",e.userReviews()),r(),d("buttonLink",e.listingsUrl())("buttonText",e.buttonText())("category",e.category())("gameName",e.gameName()),r(2),d("faq",e.faq()),r(),d("category",e.category())("gameName",e.gameName())("influencerName",e.influencerName())("listingsUrl",e.listingsUrl())("promoCodePercentageValue",e.promoCodePercentageValue()),r(),d("gameName",e.gameName())("gamesSlider",e.gamesSliderData());}}var Dt=30,Vi=(()=>{let o=class o{constructor(){this.platform=S(Ce),this.destroyRef=S(ce),this.contentfulService=S(Pe),this.route=S(ue),this.store=S(ee),this.cookieService=S(_e),this.analyticsService=S(te),this.themeService=S(Me),this.abTestsService=S(Ee),this.screen$=this.store.pipe(Te(be)),this.STATISTICS_BAR_CONFIG=[{value:"10 M+",name:"Logged-in gamers"},{value:"5 M+",name:"Orders completed"},{value:"2019",name:"Operating since"},{value:"3500+",name:"Active sellers"}],this.influencerData=z(void 0),this.cardsData=z([]),this.gamesSliderData=z([]),this.userReviews=z([]),this.faq=z(void 0),this.redirectingToListingsUrl=z(!1),this.gameFields=b(()=>this.influencerData()?.fields.game?.fields),this.influencerName=b(()=>this.influencerData()?.fields.influencerName),this.promoCode=b(()=>this.influencerData()?.fields.promoCode),this.promoCodePercentageValue=b(()=>this.influencerData()?.fields.promoCodePercentageValue),this.category=b(()=>this.influencerData()?.fields.category?.fields.category),this.gameName=b(()=>this.gameFields()?.gameName),this.listingsUrl=b(()=>this.gameFields()?.listingsUrl),this.whySectionBackgroundImagePath=b(()=>this.gameFields()?.sectionBackgroundImage?.fields?.file?.url),this.categoryCardsSectionTitle=b(()=>this.gameFields()?.categoryCardsSectionTitle),this.buttonText=b(()=>{if(this.influencerData())return"Get "+this.gameName()+" "+this.category()+"";}),this.influencerExperiment=this.abTestsService.getTestVariant(he.IT_ILP)===xe.EXPERIMENT;}ngOnInit(){this.platform.browser&&(this.redirectingToListingsUrl.set(this.influencerExperiment),this.route.paramMap.pipe(fe(this.destroyRef)).subscribe(t=>{let n=t.get("influencerUrl");n&&this.getPageData(n);}),this.userThemePreference=this.themeService.getActiveTheme(),this.themeService.setThemeSoft(Ne.dark));}ngOnDestroy(){this.themeService.setTheme(this.userThemePreference);}trackAnalyticsEvent(t){this.analyticsService.eventTrack("ilp_click",{identifier:t});}getPageData(t){this.contentfulService.getILP(t).then(n=>{if(!n){this.navigateToPageNotFound();return;}let a=n.fields.game?.fields?.listingsUrl;if(a&&this.influencerExperiment){this.setPromoCode(n.fields.promoCode),this.navigateToListingsUrl(a);return;}this.redirectingToListingsUrl.set(!1),this.renderPage(n);});}navigateToListingsUrl(t){this.store.dispatch(new le({path:[t],extras:{replaceUrl:!0}}));}renderPage(t){this.influencerData.set(t);let{fields:n}=t,a=[];n?.game?.fields?.categoryCard.forEach(J=>{J?.sys?.id&&a.push(J.sys.id);});let f=[];n.game?.fields?.gamesSlider.forEach(J=>{J?.sys?.id&&f.push(J.sys.id);});let K=n.game?.fields.gameId;this.getGamesSlider(f,"ilpSliderGame"),K&&this.getIlpFaq(K),this.getCardsData(a,"ilpBrowseCategoryCard"),this.getUserReviews(),this.setPromoCode(n.promoCode);}getCardsData(t,n){this.contentfulService.getEntriesByIds(t,n).then(a=>{this.cardsData.set(a);});}getGamesSlider(t,n){this.contentfulService.getEntriesByIds(t,n).then(a=>{this.gamesSliderData.set(a);});}getUserReviews(){let t=this.influencerData(),n=this.category();!t||!n||this.contentfulService.getReviews(t.fields.promotedCategorySeoAlias,n,Oe).then(a=>{this.userReviews.set(a);});}getIlpFaq(t){this.contentfulService.getIlpFaq(t).then(n=>{this.faq.set(n.fields);});}setPromoCode(t){this.cookieService.set(Se,t,Dt,"/",void 0,!0,"Lax");}navigateToPageNotFound(){this.store.dispatch(new le({path:["/404"]}));}};o.ɵfac=function(n){return new(n||o)();},o.ɵcmp=h({type:o,selectors:[["eld-influencer-landing-page"]],decls:1,vars:1,consts:[[3,"buttonClicked","buttonLink","buttonText","promoCode","promoCodePercentageValue"],[3,"buttonClicked","data"],[1,"px-[5%]","pt-5","md:px-[15%]","md:pt-0"],[3,"statistics"],[3,"buttonClicked","cardsData","
3sectionTitle"],[3,"buttonClicked","backgroundImagePath","category","gameName","listingUrl"],[3,"userReviews"],[3,"buttonClicked","buttonLink","buttonText","category","gameName"],[1,"mx-auto","max-w-[768px]","px-[14px]"],[1,"dark",3,"faq"],[3,"buttonClicked","category","gameName","influencerName","listingsUrl","promoCodePercentageValue"],[3,"cardClicked","gameName","gamesSlider"]],template:function(n,a){n&1&&g(0,kt,13,25),n&2&&u(a.redirectingToListingsUrl()?-1:0);},dependencies:[$e,Ue,He,je,ze,Ge,We,ke,Xe,Le,Re],encapsulation:2,changeDetection:0});let i=o;return i;})();export{Vi as InfluencerLandingPageComponent};/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/ 4//# debugId=2fe9fb4a-e098-5e62-b7b5-922ba90929f8
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.