PageSourceSearch

https://www.eldorado.gg/chunk-YHBBQX5Q.js

js eldorado.gg collected 2026-10-02 06:22:21 UTC 12,714 bytes, 4 lines download raw bytes

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]="9eec4058-5cfc-53d6-ac2c-6a19d5ad6da7")}catch(e){}}();
3import{a as ue}from"./chunk-GGN4J6ZX.js";import{a as pe}from"./chunk-O44EGDQK.js";import{a as de}from"./chunk-EDRZQBBI.js";import"./chunk-WLKADQ3E.js";import"./chunk-DSJSYB4E.js";import"./chunk-C2G5RE3R.js";import"./chunk-6GVNYEQP.js";import"./chunk-OJTNZT7X.js";import{b as me}from"./chunk-Z3QG2G4P.js";import"./chunk-QPZXNIK5.js";import"./chunk-JARYQ55D.js";import{a as ce}from"./chunk-D3TRBYDQ.js";import"./chunk-UN3O3IFS.js";import"./chunk-OFYW6MS4.js";import"./chunk-3OTOMHWL.js";import"./chunk-PD36SD65.js";import"./chunk-IFE2GPQA.js";import{b as ae}from"./chunk-ZKLPADAU.js";import"./chunk-U6RKU7UR.js";import"./chunk-NRM2Y3YH.js";import"./chunk-EY2234XP.js";import{b as se,f as le}from"./chunk-AAQHVPE7.js";import"./chunk-N5ZVBAC3.js";import"./chunk-7DTBIKTL.js";import"./chunk-X5XZKHM4.js";import"./chunk-MGWK276X.js";import"./chunk-MQOEUPCL.js";import"./chunk-UNOJGYF4.js";import{a as O}from"./chunk-JFK4CL5R.js";import{b as ie}from"./chunk-KP2MTX2A.js";import"./chunk-VID4LFWM.js";import"./chunk-DUY7LPKV.js";import{a as M}from"./chunk-6JNSDIBG.js";import"./chunk-4OFYAGOL.js";import"./chunk-IB7PDLZR.js";import"./chunk-CW2OZJHE.js";import{i as J,m as te,p as re}from"./chunk-RTONOUWN.js";import"./chunk-TZLCZWSJ.js";import"./chunk-XC22UET4.js";import"./chunk-QY63XGLG.js";import"./chunk-7YHKA44F.js";import"./chunk-PHQDK3CD.js";import"./chunk-6VA3YQYO.js";import"./chunk-PRWO7TOS.js";import"./chunk-GYTVHEQZ.js";import"./chunk-JRSEXRUO.js";import"./chunk-QDUENW5W.js";import"./chunk-WKEDV5IB.js";import{sa as b}from"./chunk-I632XHT5.js";import"./chunk-LTX5EWBQ.js";import"./chunk-5SLJO4N5.js";import"./chunk-K3LPZKPV.js";import"./chunk-4R4EGKM3.js";import"./chunk-DUH43RV6.js";import{i as oe}from"./chunk-LBWFELBH.js";import"./chunk-LVHFRK5S.js";import"./chunk-2C3TBEYH.js";import"./chunk-P5GCYECX.js";import{a as ee}from"./chunk-BI5TAYFX.js";import"./chunk-U3OPTH4F.js";import"./chunk-J77BE44H.js";import"./chunk-UBPRZHFC.js";import"./chunk-5WBPRBLT.js";import{m as Z}from"./chunk-WMK4UHKL.js";import"./chunk-TGY5CREU.js";import{a as W}from"./chunk-R2MTWKGX.js";import{a as ne}from"./chunk-QFFBMNNE.js";import"./chunk-H77KB3FH.js";import{L as K}from"./chunk-RL5QFXWK.js";import"./chunk-NEMB4EFY.js";import{ma as j,p as X,z as H}from"./chunk-QKEHE5CK.js";import"./chunk-JXQ5ZH4X.js";import{Aa as f,Ac as h,Bd as I,Db as a,Ha as L,Ia as k,Id as _,Jd as S,Kc as x,Kd as z,Na as U,Sc as F,Uc as Q,Vb as R,Vc as V,Xc as E,Zd as A,_c as l,_d as C,nd as D,od as N,pd as q,qc as d,sc as p,ud as g,v as y,vd as B,w as G,wd as T,xc as u,yc as c,zc as s}from"./chunk-OG4R3H7L.js";import{a as Y,b as w}from"./chunk-CHCY4HII.js";function Ee(n,i){if(n&1){let o=x();c(0,"eld-button",9),E("buttonClick",function(){L(o);let t=l();return k(t.openLiveChat.emit());}),s();}}function ge(n,i){if(n&1&&h(0,"eld-button-link",8),n&2){let o=l();u("link",o.checkoutButtonLink())("queryParams",o.checkoutButtonQueryParams())("text",o.errorDetails().redirectLabel);}}var Ce=(()=>{let i=class i{constructor(){this.errorSource=C.required(),this.errorDetails=C.required(),this.checkoutButtonLink=C(),this.checkoutButtonQueryParams=C({}),this.openLiveChat=A();}};i.ɵfac=function(t){return new(t||i)();},i.ɵcmp=R({type:i,selectors:[["eld-cc-error-display"]],inputs:{errorSource:[1,"errorSource"],errorDetails:[1,"errorDetails"],checkoutButtonLink:[1,"checkoutButtonLink"],checkoutButtonQueryParams:[1,"checkoutButtonQueryParams"]},outputs:{openLiveChat:"openLiveChat"},decls:10,vars:4,consts:()=>{let e;e="Live chat";let t;return t=""+"\uFFFD0\uFFFD"+"",[t,[1,"flex","flex-col","items-center","justify-center","px-[14px]","text-center"],["color","red","icon","close"],[1,"grid","max-w-[420px]","gap-[14px]"],[1,"text-primary","mt-[40px]","text-center","text-2xl","font-bold"],[1,"text-secondary","text-sm"],[1,"mt-[24px]","flex","justify-center","gap-4"],["iconAfterText","message","text",e,"theme","secondary",1,"max-w-[126px]"],["theme","primary",1,"max-w-[181px]",3,"link","queryParams","text"],["iconAfterText","message","text",e,"theme","secondary",1,"max-w-[126px]",3,"buttonClick"]];},template:function(t,r){t&1&&(c(0,"div",1),h(1,"eld-payment-resolution-icon",2),c(2,"div",3)(3,"span",4),F(4,0),s(),c(5,"p",5),D(6),s(),c(7,"div",6),d(8,Ee,1,0,"eld-button",7),d(9,ge,1,3,"eld-button-link",8),s()()()),t&2&&(a(4),Q(r.errorDetails().message),V(4),a(2),q(" ",r.errorDetails().description," "),a(2),p(r.errorDetails().isLiveChatShown?8:-1),a(),p(r.checkoutButtonLink()&&r.errorDetails().redirectLabel?9:-1));},dependencies:[ue,M,O],encapsulation:2,changeDetection:0});let n=i;return n;})();function Se(n,i){if(n&1&&h(0,"eld-button-link",8)(1,"eld-button-link",9),n&2){let o=l(2);u("link",o.checkoutButtonLink())("queryParams",o.checkoutButtonQueryParams())("text",o.errorDetails().redirectToCheckoutLabel),a(),u("link",o.gameLandingUrl())("text",o.errorDetails().redirectLabel);}}function Le(n,i){if(n&1&&h(0,"eld-button-link",7),n&2){let o=l(2);u("link",o.gameLandingUrl())("text",o.errorDetails().redirectLabel);}}function ke(n,i){if(n&1&&d(0,Se,2,5)(1,Le,1,2,"eld-button-link",7),n&2){let o=l();p(o.errorDetails().redirectLabel&&o.errorDetails().redirectToCheckoutLabel&&o.checkoutButtonLink()?0:o.errorDetails().redirectLabel?1:-1);}}function xe(n,i){if(n&1){let o=x();c(0,"eld-button",10),E("buttonClick",function(){L(o);let t=l();return k(t.openLiveChat.emit());}),s();}}var fe=(()=>{let i=class i{constructor(){this.errorDetails=C.required(),this.gameLandingUrl=C(),this.checkoutButtonLink=C(),this.checkoutButtonQueryParams=C({}),this.openLiveChat=A(),this.ASSET=ne;}};i.ɵfac=function(t){return new(t||i)();},i.ɵcmp=R({type:i,selectors:[["eld-payment-error-display"]],inputs:{errorDetails:[1,"errorDetails"],gameLandingUrl:[1,"gameLandingUrl"],checkoutButtonLink:[1,"checkoutButtonLink"],checkoutButtonQueryParams:[1,"checkoutButtonQueryParams"]},outputs:{openLiveChat:"openLiveChat"},decls:11,vars:11,consts:()=>{let e;e="Live chat";let t;return t="Error page image",[[1,"mt-[48px]","grid","w-full","justify-center","gap-4","md:grid-cols-2"],[1,"mt-[56px]","grid","gap-4","px-[14px]","md:mt-[105px]","md:max-w-[511px]","md:px-[24px]"],[1,"text-primary","text-2xl","font-bold"],[1,"text-secondary","mb-[48px]","text-sm","md:text-lg"],[1,"mb-[56px]","flex","gap-4"],["iconAfterText","message","text",e,"theme","secondary"],["alt",t,1,"image","z-1","overflow-hidden","object-none","object-center","md:mt-[60px]",3,"filePath","height","priority","width"],["theme","primary",3,"link","text"],["theme","primary",3,"link","queryParams","text"],["theme","secondary",3,"link","text"],["iconAfterText","message","text",e,"theme","secondary",3,"buttonClick"]];},template:function(t,r){t&1&&(c(0,"div",0)(1,"div",1)(2,"span",2),D(3),s(),c(4,"p",3),D(5),s(),c(6,"div",4),d(7,ke,2,1),d(8,xe,1,0,"eld-button",5),s()(),h(9,"eld-image",6),_(10,"getElDragoAssetUrl"),s()),t&2&&(a(3),N(r.errorDetails().message),a(2),N(r.errorDetails().description),a(2),p(r.gameLandingUrl()?7:-1),a(),p(r.errorDetails().isLiveChatShown?8:-1),a(),u("filePath",z(10,8,"error-page-image.svg",r.ASSET.Miscellaneous))("height",235)("priority",!0)("width",750));},dependencies:[M,oe,O,ie],encapsulation:2,changeDetection:0});let n=i;return n;})();var P={GameId:"gameId",CategoryId:"categoryId",CheckoutUrl:"checkoutUrl",ErrorSource:"errorSource"};var he=()=>({});function Pe(n,i){if(n&1){let o=x();g(0),_(1,"async"),g(2),_(3,"async"),g(4),_(5,"async"),c(6,"eld-payment-error-display",5),E("openLiveChat",function(){L(o);let t=l(2);return k(t.openLiveChat());}),s();}if(n&2){let o=l(2),e=T(2),t=S(1,4,o.gameLandingUrl$)??void 0,r=S(3,6,o.checkoutButtonLink$),m=S(5,8,o.checkoutButtonQueryParams$)??I(10,he);a(6),u("checkoutButtonLink",r)("checkoutButtonQueryParams",m)("errorDetails",e)("gameLandingUrl",t);}}function Re(n,i){if(n&1){let o=x();g(0),_(1,"async"),g(2),_(3,"async"),c(4,"eld-cc-error-display",7),E("openLiveChat",function(){L(o);let t=l(3);return k(t.openLiveChat());}),s();}if(n&2){l();let o=T(0),e=l(2),t=T(2),r=S(1,4,e.checkoutButtonLink$),m=S(3,6,e.checkoutButtonQueryParams$)??I(8,he);a(4),u("checkoutButtonLink",r)("checkoutButtonQueryParams",m)("errorDetails",t)("errorSource",o);}}function ve(n,i){if(n&1&&(g(0),_(1,"async"),d(2,Re,5,9,"eld-cc-error-display",6)),n&2){let o=B(S(1,1,l(2).ccErrorSource$));a(2),p(o?2:-1);}}function De(n,i){if(n&1&&d(0,Pe,7,11,"eld-payment-error-display",4)(1,ve,3,4),n&2){l();let o=T(2);
3p(o.type!=="CCFailure"?0:o.type==="CCFailure"?1:-1);}}var Te=(()=>{let i=class i{constructor(){this.route=f(j),this.store=f(Z),this.intercomService=f(ce),this.sentry=f(K),this.destroyRef=f(U),this.recommendedOffersAnalyticsService=f(re),this.lastPaymentFailureReasonService=f(de),this.analyticsService=f(te),this.library$=this.store.select(ae),this.bannerImages=se,this.gameCategory$=G([this.route.queryParams,this.library$]).pipe(y(([e,t])=>{let r=e[P.GameId],m=e[P.CategoryId];if(!(!r||!m||!t))return t.getByGameIdAndCategory(r,m);})),this.gameLandingUrl$=this.gameCategory$.pipe(y(e=>{if(e)return`/${ee.getLandingUrl(e.seoAlias,e.category,e.legacyUrlId,e.gameId)}`;})),this.paymentErrorDetails$=this.route.queryParams.pipe(y(e=>{let t=e[P.ErrorSource];return b(t);})),this.ccErrorSource$=this.route.queryParams.pipe(y(e=>e[P.ErrorSource])),this.checkoutUrl$=this.route.queryParams.pipe(y(e=>e[P.CheckoutUrl])),this.checkoutButtonLink$=this.checkoutUrl$.pipe(y(e=>{if(!e)return;let r=decodeURIComponent(e).split("?")[0];return r.startsWith("/")?r:`/${r}`;})),this.checkoutButtonQueryParams$=this.checkoutUrl$.pipe(y(e=>{if(!e)return{};let r=decodeURIComponent(e).split("?")[1];if(!r)return{};let m={};for(let v of r.split("&")){let[$,ye]=v.split("=");$&&(m[$]=ye??"");}return m;})),this.location="payment error page";}ngOnInit(){this.handlePaymentErrorLogging(),this.store.dispatch(new me());}openLiveChat(){this.intercomService.openLiveChat();}trackRecommendedOfferClick(e){this.recommendedOffersAnalyticsService.trackOfferClick(this.location,e.offer);}trackRecommendedOfferHover(e){this.recommendedOffersAnalyticsService.trackOfferHover(this.location,e.offer);}trackScroll(){this.recommendedOffersAnalyticsService.trackHorizontalScroll(this.location);}handlePaymentErrorLogging(){this.route.queryParams.pipe(W(this.destroyRef)).subscribe(e=>{let t=e[P.ErrorSource],r=b(t);r.type!=="Unknown"||this.sentry.captureEvent({message:"Unknown payment error pattern detected",level:"warning",extra:w(Y({},e),{errorType:r.type,sourceType:r.sourceType,matchedKey:r.matchedKey,originalMessage:r.originalMessage})}),this.trackPaymentFailure(t??"Unknown payment error pattern",r.type??"Unknown",!!(e.failedBeforePayment??!1));});}trackPaymentFailure(e,t,r=!1){this.lastPaymentFailureReasonService.set(e),r||this.analyticsService.trackEvent({name:"payment_failed",params:{reason:e,group:t},deliveryMethod:J.STANDARD});}};i.ɵfac=function(t){return new(t||i)();},i.ɵcmp=R({type:i,selectors:[["ng-component"]],decls:7,vars:5,consts:[["alt","Auth callback page banner background image",3,"bannerImages"],[1,"mr-auto","ml-auto","flex","max-w-[1210px]","items-center"],[1,"relative","mr-auto","ml-auto","flex","max-w-[1210px]","items-center","pt-15","pb-5"],[1,"w-full","max-w-[1210px]",3,"trackOfferClick","trackOfferHover","trackScroll"],[3,"checkoutButtonLink","checkoutButtonQueryParams","errorDetails","gameLandingUrl"],[3,"openLiveChat","checkoutButtonLink","checkoutButtonQueryParams","errorDetails","gameLandingUrl"],[1,"z-1","mt-[64px]","mr-auto","ml-auto","flex","md:mt-[74px]",3,"checkoutButtonLink","checkoutButtonQueryParams","errorDetails","errorSource"],[1,"z-1","mt-[64px]","mr-auto","ml-auto","flex","md:mt-[74px]",3,"openLiveChat","checkoutButtonLink","checkoutButtonQueryParams","errorDetails","errorSource"]],template:function(t,r){if(t&1&&(h(0,"eld-banner",0),c(1,"div",1),g(2),_(3,"async"),d(4,De,2,1),s(),c(5,"div",2)(6,"eld-offer-recommendations",3),E("trackOfferClick",function(v){return r.trackRecommendedOfferClick(v);})("trackOfferHover",function(v){return r.trackRecommendedOfferHover(v);})("trackScroll",function(){return r.trackScroll();}),s()()),t&2){u("bannerImages",r.bannerImages),a(2);let m=B(S(3,2,r.paymentErrorDetails$));a(2),p(m?4:-1);}},dependencies:[H,le,fe,Ce,pe,X],encapsulation:2,changeDetection:0});let n=i;return n;})();export{Te as PaymentErrorComponent};/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/
4//# debugId=9eec4058-5cfc-53d6-ac2c-6a19d5ad6da7

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.