PageSourceSearch

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

js eldorado.gg collected 2026-10-02 06:23:42 UTC 33,116 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]="a3753c3b-af5b-5138-b3d9-7a3e899c0cce")}catch(e){}}();
3import{a as it,b as ee,c as nt,d as Te,f as ot,g as _t,h as rt,i as at,j as lt,k as st}from"./chunk-Q5PVE4Q2.js";import{e as et,f as tt}from"./chunk-RJEH4AHA.js";import"./chunk-TARBDGSL.js";import{a as ue}from"./chunk-JGT63LE4.js";import{a as V}from"./chunk-5OBS5MYN.js";import"./chunk-HFDXKP4Z.js";import{b as N,c as je,g as Ke}from"./chunk-SK4CP6Z3.js";import"./chunk-OJTNZT7X.js";import"./chunk-SVCKQJI6.js";import"./chunk-EMKBJTNV.js";import"./chunk-PD36SD65.js";import"./chunk-XNAV352G.js";import"./chunk-Q6WNG4ZE.js";import"./chunk-ZZ6M2MPT.js";import"./chunk-LONKHYJH.js";import"./chunk-MQOEUPCL.js";import"./chunk-W6MVXLEZ.js";import"./chunk-QBR4LE3E.js";import{b as ce}from"./chunk-KEWCGDPX.js";import{a as Qe}from"./chunk-NW6LBU3S.js";import{b as Ze}from"./chunk-QTVHWLHH.js";import"./chunk-NSYF4DJO.js";import"./chunk-FLXVTRWX.js";import"./chunk-RPKUPHGZ.js";import"./chunk-DUY7LPKV.js";import"./chunk-JOUNBJPT.js";import"./chunk-QQSOXE3U.js";import"./chunk-UQRH6SIV.js";import"./chunk-UW6RJTNO.js";import"./chunk-UMK5M6L6.js";import"./chunk-VBZC6THA.js";import"./chunk-Q2W4NJLV.js";import{a as z}from"./chunk-6JNSDIBG.js";import"./chunk-4OFYAGOL.js";import{d as W,e as le,f as se,g as de,j as Y,l as Ee,r as Ae,s as me,z as Se}from"./chunk-DLPJWK4L.js";import"./chunk-GF4LZVAY.js";import"./chunk-IB7PDLZR.js";import"./chunk-CW2OZJHE.js";import"./chunk-RTONOUWN.js";import"./chunk-TZLCZWSJ.js";import"./chunk-XC22UET4.js";import"./chunk-QY63XGLG.js";import"./chunk-7YHKA44F.js";import"./chunk-6VA3YQYO.js";import"./chunk-PRWO7TOS.js";import{i as Je}from"./chunk-JRSEXRUO.js";import"./chunk-QDUENW5W.js";import"./chunk-WKEDV5IB.js";import{K as Ve,i as ze}from"./chunk-I632XHT5.js";import"./chunk-LTX5EWBQ.js";import"./chunk-5SLJO4N5.js";import"./chunk-K3LPZKPV.js";import"./chunk-4R4EGKM3.js";import{a as U}from"./chunk-DUH43RV6.js";import{i as X}from"./chunk-LBWFELBH.js";import"./chunk-LVHFRK5S.js";import"./chunk-2C3TBEYH.js";import"./chunk-P5GCYECX.js";import"./chunk-BI5TAYFX.js";import"./chunk-U3OPTH4F.js";import"./chunk-J77BE44H.js";import"./chunk-UBPRZHFC.js";import"./chunk-5WBPRBLT.js";import{D as qe,m as Ye}from"./chunk-WMK4UHKL.js";import"./chunk-TGY5CREU.js";import{a as x,c as ae}from"./chunk-R2MTWKGX.js";import{a as H}from"./chunk-QFFBMNNE.js";import"./chunk-H77KB3FH.js";import"./chunk-RL5QFXWK.js";import"./chunk-NEMB4EFY.js";import{ma as He,qa as Ue,ra as Xe}from"./chunk-QKEHE5CK.js";import"./chunk-JXQ5ZH4X.js";import{Aa as F,Ac as f,Bb as ve,Bd as Ge,Db as l,Ec as xe,Fc as $e,Ha as O,Ia as y,Ib as be,Id as v,Jd as we,Kc as $,Kd as B,L as Fe,La as ye,Md as ke,Na as G,Sc as S,Ta as R,Uc as 
3ne,Ud as T,Vb as w,Vc as oe,Xc as I,Zd as k,_c as d,_d as M,kd as _e,md as Z,nd as L,oa as Oe,od as D,p as Pe,pc as Be,pd as re,qc as A,sc as m,uc as Ce,v as We,vc as te,wc as ie,xc as E,yc as _,zc as a}from"./chunk-OG4R3H7L.js";import{a as b,b as he}from"./chunk-CHCY4HII.js";var dt=[N.Skrill,N.Sepa,N.Payoneer,N.Bitcoin,N.USDC],Et=[N.Paypal];function Nt(t,r){t&1&&(_(0,"eld-error-message"),S(1,4),a());}function Mt(t,r){if(t&1&&(_(0,"eld-input",17),A(1,Nt,2,0,"eld-error-message"),a()),t&2){let o=d();E("maxLength",o.NAME_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(o.hasCompanyNameError()?1:-1);}}function It(t,r){t&1&&(_(0,"eld-error-message"),S(1,5),a());}function Dt(t,r){t&1&&(_(0,"eld-error-message"),S(1,6),a());}function ht(t,r){if(t&1&&(_(0,"div",18)(1,"eld-input",30),A(2,It,2,0,"eld-error-message"),a(),_(3,"eld-input",31),A(4,Dt,2,0,"eld-error-message"),a()()),t&2){let o=d();l(),E("maxLength",o.NAME_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(o.hasFirstNameError()?2:-1),l(),E("maxLength",o.NAME_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(o.hasLastNameError()?4:-1);}}function Pt(t,r){t&1&&(_(0,"eld-error-message"),S(1,7),a());}function Wt(t,r){t&1&&(_(0,"eld-error-message"),S(1,8),a());}function Ft(t,r){t&1&&(_(0,"eld-error-message"),S(1,9),a());}function Ot(t,r){t&1&&(_(0,"eld-error-message"),S(1,10),a());}function yt(t,r){t&1&&(_(0,"eld-alert",27),L(1),a()),t&2&&(l(),D(r));}var pe=200,Le=200,At=64,mt=20,ct=(()=>{let r=class r{constructor(){this.isCompany=M.required(),this.ibanCountryCode=M.required(),this.isSaving=M(!1),this.errorMessage=M(null),this.initialValue=M(null),this.submitted=k(),this.valueChange=k(),this.destroyRef=F(G),this.ASSET=H,this.COUNTRIES=tt,this.NAME_MAX_LENGTH=pe,this.ADDRESS_MAX_LENGTH=Le,this.POST_CODE_MAX_LENGTH=At,this.PHONE_MAX_LENGTH=mt,this.formSubmitAttempt=R(!1),this.form=new de({firstName:this.requiredTextControl(pe),lastName:this.requiredTextControl(pe),companyName:this.requiredTextControl(pe),phoneNumber:this.requiredTextControl(mt),countryCodeIso2:this.textControl(),city:this.requiredTextControl(Le),street:this.requiredTextControl(Le),postCode:this.requiredTextControl(At)}),this.hasFirstNameError=this.invalidAfterSubmit(this.form.controls.firstName),this.hasLastNameError=this.invalidAfterSubmit(this.form.controls.lastName),this.hasCompanyNameError=this.invalidAfterSubmit(this.form.controls.companyName),this.hasPhoneNumberError=this.invalidAfterSubmit(this.form.controls.phoneNumber),this.hasCityError=this.invalidAfterSubmit(this.form.controls.city),this.hasStreetError=this.invalidAfterSubmit(this.form.controls.street),this.hasPostCodeError=this.invalidAfterSubmit(this.form.controls.postCode),this.formEvent=ae(this.form.events,{initialValue:null});}ngOnInit(){this.initializeFormControls();}saveWallet(){if(this.formSubmitAttempt.set(!0),this.form.invalid)return;let{firstName:e,lastName:i,companyName:n,phoneNumber:s,countryCodeIso2:c,city:C,street:h,postCode:P}=this.form.getRawValue(),p={phoneNumber:s,countryCodeIso2:c,city:C,street:h,postCode:P};this.submitted.emit(this.isCompany()?{sepaDetails:he(b({},p),{companyName:n})}:{firstName:e,lastName:i,sepaDetails:p});}initializeFormControls(){let{firstName:e,lastName:i,companyName:n,countryCodeIso2:s}=this.form.controls,c=this.initialValue();c&&this.form.patchValue(c),s.setValue(this.ibanCountryCode()),s.disable(),this.isCompany()?(e.disable(),i.disable()):n.disable(),this.form.valueChanges.pipe(x(this.destroyRef)).subscribe(C=>this.valueChange.emit(C));}invalidAfterSubmit(e){return T(()=>this.formSubmitAttempt()?(this.formEvent(),e.invalid):!1);}textControl(e=[]){return new Y("",{nonNullable:!0,validators:e});}requiredTextControl(e){return this.textControl([W.required,W.maxLength(e)]);}};r.ɵfac=function(i){return new(i||r)();},r.ɵcmp=w({type:r,selectors:[["eld-sepa-recipient-form"]],inputs:{isCompany:[1,"isCompany"],ibanCountryCode:[1,"ibanCountryCode"],isSaving:[1,"isSaving"],errorMessage:[1,"errorMessage"],initialValue:[1,"initialValue"]},outputs:{submitted:"submitted",valueChange:"valueChange"},decls:32,vars:27,consts:()=>{let e;e="SEPA logo";let i;i="Company name";let n;n="Phone number";let s;s="Country not found";let c;c="Select country";let C;C="City";let h;h="Street";let P;P="Postcode";let p;p="Save wallet";let q;q=" Enter your personal details ";let j;j=" The IBAN owner's full name must exactly match your bank account name. Withdrawals will fail if names differ. ";let K;K="Country";let J;J=" Taken from your IBAN ";let Q;Q=" Field is required ";let g;g="First name";let ge;ge="Last name";let fe;fe=" Field is required ";let Re;Re=" Field is required ";let Ne;Ne=" Field is required ";let Me;Me=" Field is required ";let Ie;Ie=" Field is required ";let De;return De=" Field is required ",[q,j,K,J,Q,fe,Re,Ne,Me,Ie,De,[1,"flex","flex-col","gap-4",3,"formGroup"],[1,"flex","flex-col","items-center","gap-4","pb-4"],[1,"flex","h-8","items-center"],["alt",e,"objectFit","contain",3,"filePath","height","width"],[1,"text-primary","text-center","text-base"],["type","neutral"],["formControlName","companyName","isRequired","","label",i,"size","l",3,"maxLength","trimOnFocusOut"],[1,"grid","grid-cols-2","gap-4"],["formControlName","phoneNumber","isRequired","","label",n,"size","l",3,"maxLength","trimOnFocusOut"],[1,"border-divider"],["for","sepa-country",1,"text-input-text-placeholder","mb-1.5","block","text-base"],["id","sepa-country","bindLabel","name","bindValue","value","formControlName","countryCodeIso2","notFoundText",s,"placeholder",c,3,"clearable","options","virtualScrolling"],[1,"text-secondary","mt-1","text-sm"],["formControlName","city","isRequired","","label",C,"size","l",3,"maxLength","trimOnFocusOut"],["formControlName","street","isRequired","","label",h,"size","l",3,"maxLength","trimOnFocusOut"],["formControlName","postCode","isRequired","","label",P,"size","l",3,"maxLength","trimOnFocusOut"],["type","error"],[1,"flex","md:justify-end"],["size","l","text",p,"theme","primary",1,"w-full","md:w-auto",3,"buttonClick","isLoading"],["formControlName","firstName","
3isRequired","","label",g,"size","l",3,"maxLength","trimOnFocusOut"],["formControlName","lastName","isRequired","","label",ge,"size","l",3,"maxLength","trimOnFocusOut"]];},template:function(i,n){if(i&1&&(_(0,"form",11)(1,"div",12)(2,"span",13),f(3,"eld-image",14),v(4,"getAssetUrl"),a(),_(5,"p",15),S(6,0),a()(),_(7,"eld-alert",16),S(8,1),a(),A(9,Mt,2,3,"eld-input",17)(10,ht,5,6,"div",18),_(11,"eld-input",19),A(12,Pt,2,0,"eld-error-message"),a(),f(13,"hr",20),_(14,"div",18)(15,"div")(16,"label",21)(17,"span"),S(18,2),a()(),f(19,"eld-dropdown",22),_(20,"p",23),S(21,3),a()(),_(22,"eld-input",24),A(23,Wt,2,0,"eld-error-message"),a()(),_(24,"div",18)(25,"eld-input",25),A(26,Ft,2,0,"eld-error-message"),a(),_(27,"eld-input",26),A(28,Ot,2,0,"eld-error-message"),a()(),A(29,yt,2,1,"eld-alert",27),_(30,"div",28)(31,"eld-button",29),I("buttonClick",function(){return n.saveWallet();}),a()()()),i&2){let s;_e("not-submitted",!n.formSubmitAttempt()),E("formGroup",n.form),l(3),E("filePath",B(4,24,"sepa-logo.png",n.ASSET.Payments))("height",32)("width",88),l(6),m(n.isCompany()?9:10),l(2),E("maxLength",n.PHONE_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(n.hasPhoneNumberError()?12:-1),l(7),E("clearable",!1)("options",n.COUNTRIES)("virtualScrolling",!0),l(3),E("maxLength",n.ADDRESS_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(n.hasCityError()?23:-1),l(2),E("maxLength",n.ADDRESS_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(n.hasStreetError()?26:-1),l(),E("maxLength",n.POST_CODE_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(n.hasPostCodeError()?28:-1),l(),m((s=n.errorMessage())?29:-1,s),l(2),E("isLoading",n.isSaving());}},dependencies:[Se,Ee,le,se,me,Ae,V,z,Ze,ue,X,ce,U],encapsulation:2,changeDetection:0});let t=r;return t;})();var vt=/^0x[a-fA-F0-9]{40}$/,ut="You must be the recipient of the funds. Make sure the payout account is registered in your or your company name. Incorrect details may delay or prevent payment.",Tt="You must be the recipient of the funds, with the account withdrawal address registered to you. Incorrect details may delay or prevent payment.",bt={[N.Skrill]:{logo:{fileName:"skrill-gradient.png",width:88,height:32},identifierLabel:"Skrill account email",identifierFormat:{validator:W.email,errorMessages:{email:"Please enter a valid email address"}},recipientNotice:Tt,hasAccountHolderName:!1,hasLinkedAccount:!1,hasRecipientStep:!1,rules:"Withdrawals can only be sent to European (Skrill) bank accounts in Euros.",feesPlacement:"after"},[N.Sepa]:{logo:{fileName:"sepa-logo.png",width:88,height:32},identifierLabel:"SEPA account IBAN",identifierFormat:{validator:rt(et),errorMessages:{ibanFormat:"Please enter a valid IBAN",ibanChecksum:"This IBAN has a typo. Please check it and try again",ibanCountryUnsupported:"Only IBANs from SEPA countries are supported"}},normalizeIdentifier:ot,recipientNotice:Tt,hasAccountHolderName:!1,hasLinkedAccount:!1,hasRecipientStep:!0,rules:"Withdrawals can only be sent to European (SEPA) bank accounts in Euros.",feesPlacement:"after"},[N.Bitcoin]:{logo:{fileName:"bitcoin-logo-dark.png",width:120,height:32},identifierLabel:"Bitcoin account address",recipientNotice:ut,hasAccountHolderName:!0,hasLinkedAccount:!1,hasRecipientStep:!1,rules:"Bitcoin withdrawals are sent through the main Bitcoin blockchain only. No other networks are supported.",feesPlacement:"before"},[N.USDC]:{logo:{fileName:"USDC-logo.png",width:99,height:32},identifierLabel:"USDC account address",identifierFormat:{validator:W.pattern(vt),errorMessages:{pattern:"Please enter a valid ERC-20 wallet address"}},recipientNotice:ut,hasAccountHolderName:!0,hasLinkedAccount:!1,hasRecipientStep:!1,rules:"Withdrawals can only be sent to ERC-20 accounts. OMNI and TRC-20 accounts are NOT supported.",feesPlacement:"after"},[N.Payoneer]:{logo:{fileName:"payoneer-logo-dark.png",width:165,height:32},identifierLabel:"Linked Payoneer account:",recipientNotice:"The withdrawal account must belong to you. Verification may take up to 5 business days. Withdrawals will be available once your account is approved.",hasAccountHolderName:!1,hasLinkedAccount:!0,hasRecipientStep:!1,rules:"Withdrawals can only be sent to Payoneer accounts.",feesPlacement:"after"}};function pt(t){return bt[t]??null;}function Bt(t,r){if(t&1&&(_(0,"dl",10)(1,"dt",18),L(2),a(),_(3,"dd",19),L(4),a()()),t&2){let o=d();l(2),D(o.config().identifierLabel),l(2),D(o.linkedAccount());}}function xt(t,r){t&1&&(_(0,"eld-error-message"),L(1),a()),t&2&&(l(),D(r));}function $t(t,r){if(t&1&&(_(0,"eld-input",11),A(1,xt,2,1,"eld-error-message"),a()),t&2){let o,e=d();E("label",e.config().identifierLabel)("trimOnFocusOut",!0),l(),m((o=e.identifierErrorMessage())?1:-1,o);}}function Gt(t,r){t&1&&(_(0,"eld-error-message"),S(1,1),a());}function wt(t,r){t&1&&(_(0,"eld-error-message"),S(1,2),a());}function kt(t,r){if(t&1&&(_(0,"div",12)(1,"eld-input",20),A(2,Gt,2,0,"eld-error-message"),a(),_(3,"eld-input",21),A(4,wt,2,0,"eld-error-message"),a()()),t&2){let o=d();l(),E("maxLength",o.HOLDER_NAME_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(o.hasFirstNameError()?2:-1),l(),E("maxLength",o.HOLDER_NAME_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(o.hasLastNameError()?4:-1);}}function Ht(t,r){t&1&&(_(0,"eld-error-message"),S(1,3),a());}function Ut(t,r){t&1&&(_(0,"eld-alert",15),L(1),a()),t&2&&(l(),D(r));}var Ct=64,gt=200;function Lt(){return new Y("",{nonNullable:!0,validators:[W.required,W.maxLength(gt)]});}var ft=(()=>
3{let r=class r{constructor(){this.provider=M.required(),this.config=M.required(),this.pricing=M.required(),this.isSaving=M(!1),this.errorMessage=M(null),this.initialValue=M(null),this.linkedAccount=M(null),this.submitted=k(),this.valueChange=k(),this.destroyRef=F(G),this.ASSET=H,this.WALLET_NAME_MAX_LENGTH=Ct,this.HOLDER_NAME_MAX_LENGTH=gt,this.formSubmitAttempt=R(!1),this.form=new de({identifier:new Y("",{nonNullable:!0,validators:[W.required]}),firstName:Lt(),lastName:Lt(),displayName:new Y("",{nonNullable:!0,validators:[W.required,W.maxLength(Ct)]})}),this.logoAlt=T(()=>{let e=ee[this.provider()];return""+e+" logo";}),this.rules=T(()=>{let{rules:e,feesPlacement:i}=this.config(),{feePercent:n,feeFlat:s}=this.pricing(),c=ee[this.provider()],C="All "+c+" withdrawals will incur "+n+"% percentage fee and "+s+" USD flat fee.";return i==="before"?`${C} ${e}`:`${e} ${C}`;}),this.submitLabel=T(()=>this.config().hasRecipientStep?"Continue":"Save wallet"),this.identifierErrorMessage=T(()=>{if(!this.formSubmitAttempt())return null;this.formEvent();let{errors:e}=this.form.controls.identifier;if(!e)return null;if(e.required)return"Field is required";let i=this.config().identifierFormat?.errorMessages??{},n=Object.keys(e).find(s=>s in i);return n?i[n]??null:null;}),this.hasFirstNameError=this.invalidAfterSubmit(this.form.controls.firstName),this.hasLastNameError=this.invalidAfterSubmit(this.form.controls.lastName),this.hasDisplayNameError=this.invalidAfterSubmit(this.form.controls.displayName),this.formEvent=ae(this.form.events,{initialValue:null});}ngOnInit(){let{identifierFormat:e,hasAccountHolderName:i,hasLinkedAccount:n}=this.config(),s=this.initialValue();e&&this.form.controls.identifier.addValidators(e.validator),n&&this.form.controls.identifier.disable(),s&&this.form.patchValue(s),i||(this.form.controls.firstName.disable(),this.form.controls.lastName.disable()),this.form.valueChanges.pipe(x(this.destroyRef)).subscribe(c=>this.valueChange.emit(c));}saveWallet(){if(this.formSubmitAttempt.set(!0),this.form.invalid)return;let{identifier:e,displayName:i,firstName:n,lastName:s}=this.form.getRawValue(),{hasAccountHolderName:c,hasLinkedAccount:C,normalizeIdentifier:h}=this.config(),P=c?{firstName:n,lastName:s}:{},p=C?{}:{identifier:h?.(e)??e};this.submitted.emit(b(b({provider:this.provider(),displayName:i},p),P));}invalidAfterSubmit(e){return T(()=>this.formSubmitAttempt()?(this.formEvent(),e.invalid):!1);}};r.ɵfac=function(i){return new(i||r)();},r.ɵcmp=w({type:r,selectors:[["eld-wallet-details-form"]],inputs:{provider:[1,"provider"],config:[1,"config"],pricing:[1,"pricing"],isSaving:[1,"isSaving"],errorMessage:[1,"errorMessage"],initialValue:[1,"initialValue"],linkedAccount:[1,"linkedAccount"]},outputs:{submitted:"submitted",valueChange:"valueChange"},decls:19,vars:20,consts:()=>{let e;e="Wallet nickname";let i;i="E.g. My primary wallet";let n;n=" Enter your account details ";let s;s="First Name";let c;c="Last Name";let C;C=" Field is required ";let h;h=" Field is required ";let P;return P=" Please provide a nickname for the payout wallet. ",[n,C,h,P,[1,"flex","flex-col","gap-4",3,"formGroup"],[1,"flex","flex-col","items-center","gap-4","pb-4"],[1,"flex","h-8","items-center"],["objectFit","contain",3,"alt","filePath","height","width"],[1,"text-primary","text-center","text-base"],["type","neutral"],[1,"flex","flex-col","gap-1"],["formControlName","identifier","isRequired","","size","l",3,"label","trimOnFocusOut"],[1,"grid","grid-cols-2","gap-4"],["formControlName","displayName","isRequired","","label",e,"placeholder",i,"size","l",3,"maxLength","trimOnFocusOut"],["type","info"],["type","error"],[1,"flex","md:justify-end"],["size","l","theme","primary",1,"w-full","md:w-auto",3,"buttonClick","isLoading","text"],[1,"text-secondary","text-sm"],[1,"text-primary","text-base","font-bold"],["formControlName","firstName","isRequired","","label",s,"size","l",3,"maxLength","trimOnFocusOut"],["formControlName","lastName","isRequired","","label",c,"size","l",3,"maxLength","trimOnFocusOut"]];},template:function(i,n){if(i&1&&(_(0,"form",4)(1,"div",5)(2,"span",6),f(3,"eld-image",7),v(4,"getAssetUrl"),a(),_(5,"p",8),S(6,0),a()(),_(7,"eld-alert",9),L(8),a(),A(9,Bt,5,2,"dl",10)(10,$t,2,3,"eld-input",11),A(11,kt,5,6,"div",12),_(12,"eld-input",13),A(13,Ht,2,0,"eld-error-message"),a(),_(14,"eld-alert",14),L(15),a(),A(16,Ut,2,1,"eld-alert",15),_(17,"div",16)(18,"eld-button",17),I("buttonClick",function(){return n.saveWallet();}),a()()()),i&2){let s;_e("not-submitted",!n.formSubmitAttempt()),E("formGroup",n.form),l(3),E("alt",n.logoAlt())("filePath",B(4,17,n.config().logo.fileName,n.ASSET.Payments))("height",n.config().logo.height)("width",n.config().logo.width),l(5),D(n.config().recipientNotice),l(),m(n.config().hasLinkedAccount?9:10),l(2),m(n.config().hasAccountHolderName?11:-1),l(),E("maxLength",
3n.WALLET_NAME_MAX_LENGTH)("trimOnFocusOut",!0),l(),m(n.hasDisplayNameError()?13:-1),l(2),D(n.rules()),l(),m((s=n.errorMessage())?16:-1,s),l(2),E("isLoading",n.isSaving())("text",n.submitLabel());}},dependencies:[Se,Ee,le,se,me,Ae,V,z,ue,X,ce,U],encapsulation:2,changeDetection:0});let t=r;return t;})();var Xt=()=>["/withdraw"],zt=(t,r)=>r.provider;function Yt(t,r){t&1&&(_(0,"a",11),f(1,"eld-button",21),a()),t&2&&(E("routerLink",Ge(2,Xt)),l(),E("iconSize",24));}function Vt(t,r){if(t&1){let o=$();_(0,"eld-button",22),I("buttonClick",function(){O(o);let i=d();return y(i.backToPreviousStep());}),a();}t&2&&E("iconSize",24);}function qt(t,r){if(t&1&&f(0,"span",23),t&2){let o=r.$implicit,e=d();Z(o<=e.step()?"bg-yellow-1":"bg-alt-2");}}function jt(t,r){if(t&1&&f(0,"span",24),t&2){let o=r.$implicit,e=d();Z(o<=e.step()?"bg-yellow-1":"bg-alt-2");}}function Kt(t,r){if(t&1&&(f(0,"eld-image",33),v(1,"getAssetUrl")),t&2){let o=d(2).$implicit,e=d(2);E("alt",o.logoAlt)("filePath",B(1,4,o.logo,e.ASSET.Payments))("height",32)("width",100);}}function Jt(t,r){if(t&1&&(_(0,"span",34),L(1),a()),t&2){let o=d(2).$implicit;l(),D(o.name);}}function Qt(t,r){if(t&1&&(_(0,"div",30)(1,"p",15),S(2,3),a(),_(3,"span",32),A(4,Kt,2,7,"eld-image",33)(5,Jt,2,1,"span",34),a()()),t&2){let o=d().$implicit;l(4),m(o.logo?4:5);}}function Zt(t,r){if(t&1&&(f(0,"eld-image",37),v(1,"getAssetUrl")),t&2){let o=d(2).$implicit,e=d(2);E("alt",o.logoAlt)("circled",!0)("filePath",B(1,5,o.logo,e.ASSET.Payments))("height",24)("width",24);}}function ei(t,r){if(t&1&&(_(0,"span",34),L(1),a()),t&2){let o=d(2).$implicit;l(),D(o.name);}}function ti(t,r){if(t&1&&(_(0,"span",40),xe(1),S(2,4),$e(),_(3,"span"),L(4,"\xA0+\xA0"),a(),_(5,"span"),S(6,5),v(7,"autoPrecisionCurrency"),a()(),f(8,"hr",41),_(9,"span",42)(10,"span",43),f(11,"eld-icon",44),L(12),v(13,"withdrawDeliveryTime"),a(),_(14,"span",43),f(15,"eld-icon",45),_(16,"span",46),S(17,6),a(),_(18,"span",47),S(19,7),a(),L(20),v(21,"autoPrecisionCurrency"),a()()),t&2){let o=r,e=d(2).$implicit;l(2),ne(o.feePercent),oe(2),l(5),ne(ke(7,6,o.feeFlat,"USD","symbol","1.0-0")),oe(6),l(4),E("size",18),l(),re(" ",we(13,11,e.provider)," "),l(3),E("size",18),l(5),re(" ",B(21,13,o.minAmount,"USD")," ");}}function ii(t,r){if(t&1){let o=$();_(0,"button",35),I("click",function(){O(o);let i=d().$implicit,n=d(2);return y(n.selectProvider(i.provider));}),_(1,"span",36),A(2,Zt,2,8,"eld-image",37)(3,ei,2,1,"span",34),f(4,"span",38),a(),_(5,"span",39),L(6),a(),A(7,ti,22,16),a();}if(t&2){let o,e=d().$implicit,i=d(2).selectedProvider()===e.provider;Z(i?"border-marine bg-marine-8":"border-divider-alt"),Be("aria-checked",i),l(2),m(e.logo?2:3),l(2),Z(i?"border-marine border-[6px]":"border-alt-2 border-2"),l(2),re(" ",e.name," "),l(),m((o=e.pricing)?7:-1,o);}}function ni(t,r){if(t&1&&A(0,Qt,6,1,"div",30)(1,ii,8,8,"button",31),t&2){let o=r.$implicit;m(o.isComingSoon?0:1);}}function oi(t,r){t&1&&(_(0,"eld-alert",27),L(1),a()),t&2&&(l(),D(r));}function _i(t,r){if(t&1){let o=$();_(0,"div",28)(1,"eld-button",48),I("buttonClick",function(){O(o);let i=d(2);return y(i.linkPayoneer("new"));}),a(),_(2,"eld-button",49),I("buttonClick",function(){O(o);let i=d(2);return y(i.linkPayoneer("existing"));}),a()();}if(t&2){let o=d(2);l(),E("isDisabled",o.payoneerRedirect()==="existing")("isLoading",o.payoneerRedirect()==="new"),l(),E("isDisabled",o.payoneerRedirect()==="new")("isLoading",o.payoneerRedirect()==="existing");}}function ri(t,r){if(t&1){let o=$();_(0,"div",29)(1,"eld-button",50),I("buttonClick",function(){O(o);let i=d(2);return y(i.continueToDetails());}),a()();}if(t&2){let o=d(2);l(),E("isDisabled",!o.canContinue()||o.isCheckingPayoneerLink())("isLoading",o.isCheckingPayoneerLink());}}function ai(t,r){if(t&1&&(_(0,"p",25),S(1,2),a(),_(2,"div",26),te(3,ni,2,1,null,null,zt),a(),A(5,oi,2,1,"eld-alert",27),A(6,_i,3,4,"div",28)(7,ri,2,2,"div",29)),t&2){let o,e=d();l(3),ie(e.providerOptions()),l(2),m((o=e.payoneerLinkError())?5:-1,o),l(),m(e.showsPayoneerLinkActions()?6:7);}}function li(t,r){if(t&1){let o=$();_(0,"eld-wallet-details-form",53),I("submitted",function(i){O(o);let n=d(2);return y(n.continueFromDetails(i));})("valueChange",function(i){O(o);let n=d(2);return y(n.detailsDraft.set(i));}),a();}if(t&2){let o=d(),e=d();E("config",o.config)("errorMessage",e.saveError())("initialValue",e.detailsDraft())("isSaving",e.isSaving())("linkedAccount",e.linkedPayoneerAccount())("pricing",o.pricing)("provider",o.provider);}}function si(t,r){if(t&1){let o=$();_(0,"eld-sepa-recipient-form",54),I("submitted",function(i){O(o);let n=d(2);return y(n.saveSepaWallet(i));})("valueChange",function(i){O(o);let n=d(2);return y(n.recipientDraft.set(i));}),a();}if(t&2){let o=d(2);E("errorMessage",o.saveError())("ibanCountryCode",r)("initialValue",o.recipientDraft())("isCompany",o.isCompany())("isSaving",o.isSaving());}}function di(t,r){if(t&1&&A(0,li,1,7,"eld-wallet-details-form",51)(1,si,1,5,"eld-sepa-recipient-form",52),t&2){let o,e=d();m(e.step()===2?0:(o=e.ibanCountryCode())?1:-1,o);}}var Ei=(()=>
3{let r=class r{constructor(){this.router=F(Ue),this.activatedRoute=F(He),this.store=F(Ye),this.payoutWalletsStore=F(at),this.injector=F(ye),this.destroyRef=F(G),this.ASSET=H,this.PAYONEER=N.Payoneer,this.step=R(1),this.selectedProvider=R(null),this.isSaving=R(!1),this.saveError=R(null),this.detailsDraft=R(null),this.recipientDraft=R(null),this.payoneerLink=R({status:"unchecked"}),this.payoneerRedirect=R(null),this.payoneerLinkError=R(null),this.providerOptions=T(()=>{let e=this.pricing(),i=this.availableProviders();if(!e)return[];let n=dt.filter(c=>i.includes(c)).map(c=>this.toProviderOption(c,e)),s=Et.map(c=>this.toProviderOption(c,null));return[...n,...s];}),this.detailsStep=T(()=>{let e=this.selectedProvider(),i=e===null?null:pt(e),n=this.providerOptions().find(s=>s.provider===e)?.pricing;return e&&i&&n?{provider:e,config:i,pricing:n}:null;},{equal:(e,i)=>e?.provider===i?.provider&&e?.pricing===i?.pricing}),this.canContinue=T(()=>this.detailsStep()!==null),this.linkedPayoneerAccount=T(()=>{let e=this.payoneerLink();return e.status==="linked"?this.maskAccountId(e.accountId):null;}),this.showsPayoneerLinkActions=T(()=>this.selectedProvider()===this.PAYONEER&&this.payoneerLink().status==="unlinked"),this.isCheckingPayoneerLink=T(()=>this.payoneerLink().status==="checking"),this.totalSteps=T(()=>this.detailsStep()?.config.hasRecipientStep?3:2),this.stepNumbers=T(()=>Array.from({length:this.totalSteps()},(e,i)=>i+1),{equal:(e,i)=>e.length===i.length}),this.isCompany=T(()=>this.withdrawalSettings()?.isCompany??!1),this.ibanCountryCode=T(()=>{let e=this.submittedDetails()?.identifier;return e?_t(e):null;}),this.submittedDetails=R(null),this.availableProviders=this.store.selectSignal(Ke),this.appConstants=this.store.selectSignal(je),this.withdrawalSettings=this.store.selectSignal(Ve),this.pricing=T(()=>lt(this.appConstants(),this.withdrawalSettings()));}ngOnInit(){let e=this.activatedRoute.snapshot.paramMap.get("withdrawMethod")?.toLowerCase()===this.PAYONEER.toLowerCase();be(()=>{this.store.dispatch(new ze()),e&&this.resumePayoneerLink();},{injector:this.injector});}selectProvider(e){this.selectedProvider()!==e&&(this.detailsDraft.set(null),this.recipientDraft.set(null),this.submittedDetails.set(null),this.payoneerLinkError.set(null)),this.selectedProvider.set(e),e===this.PAYONEER&&this.payoneerLink().status==="unchecked"&&this.loadPayoneerLink().subscribe();}linkPayoneer(e){this.payoneerLinkError.set(null),this.payoneerRedirect.set(e);let i=e==="existing";this.payoutWalletsStore.redirectToPayoneer(i).pipe(x(this.destroyRef)).subscribe({error:n=>{this.payoneerRedirect.set(null),this.payoneerLinkError.set(Te(n,"Could not open Payoneer. Please try again."));}});}resetPayoneerRedirect(){this.payoneerRedirect.set(null);}continueToDetails(){this.step.set(2);}backToPreviousStep(){this.saveError.set(null),this.step.update(e=>e===3?2:1);}continueFromDetails(e){this.detailsDraft.set(e),this.submittedDetails.set(e),this.detailsStep()?.config.hasRecipientStep?this.step.set(3):this.saveWallet(e);}saveSepaWallet(e){let i=this.submittedDetails();i&&this.saveWallet(b(b({},i),e));}saveWallet(e){this.isSaving.set(!0),this.saveError.set(null),this.payoutWalletsStore.createWallet(e).pipe(x(this.destroyRef)).subscribe({next:()=>{this.store.dispatch(qe({payload:"Payout wallet saved"})),this.router.navigate(["/withdraw"]);},error:i=>{this.isSaving.set(!1),this.saveError.set(Te(i,"Could not save the wallet. Please try again."));}});}resumePayoneerLink(){this.selectedProvider.set(this.PAYONEER),this.loadPayoneerLink().subscribe(e=>{e.status==="linked"?this.step.set(2):this.payoneerLinkError()||this.payoneerLinkError.set("Your Payoneer account was not linked. Please try again.");});}loadPayoneerLink(){return this.payoneerLink.set({status:"checking"}),this.payoutWalletsStore.checkPayoneerLink().pipe(We(({isLinked:e,accountId:i})=>e&&i?{status:"linked",accountId:i}:{status:"unlinked"}),Fe(e=>(this.payoneerLinkError.set(Te(e,"Could not check your Payoneer account. Please try again.")),Pe({status:"unlinked"}))),Oe(e=>this.payoneerLink.set(e)),x(this.destroyRef));}toProviderOption(e,i){let n=ee[e];return{provider:e,name:n,logo:it(e),logoAlt:""+n+" logo",pricing:i?st(e,i):null,isComingSoon:!i};}maskAccountId(e){return`****${e.slice(-4)}`;}};r.ɵfac=function(i){return new(i||r)();},r.ɵcmp=w({type:r,selectors:[["eld-add-wallet"]],hostBindings:function(i,n){i&1&&I("pageshow",function(){return n.resetPayoneerRedirect();},ve);},decls:19,vars:4,consts:()=>{let e;e="Back to withdraw";let i;i="Back to previous step";let n;n=" Add new wallet ";let s;s="Step "+"\uFFFD0\uFFFD"+"/"+"\uFFFD1\uFFFD"+"";let c;c="Payout providers";let C;C=" Choose a payout provider: ";let h;h=" Coming soon ";let P;P=""+"\uFFFD0\uFFFD"+"% fee";let p;p=""+"\uFFFD0\uFFFD"+" flat fee";let q;q="Minimum:";let j;j="Min. amount:";let K;K="I need new Payoneer account";let J;J="Link my existing account";let Q;return Q="Continue to next step",[n,s,C,h,P,p,q,j,[1,"primary-container","md:py-10"],[1,"mx-auto","flex","w-full","max-w-162","flex-col","md:gap-6"],[1,"bg-base-1","shadow-alt-1","relative","flex","items-center","gap-2","px-4","py-3","md:bg-transparent","md:p-0","md:shadow-none"],["rel","nofollow","aria-label",e,3,"routerLink"],["iconBeforeText","sign-left","padding","6px","size","s","theme","secondary","aria-label",i,3,"iconSize"],[1,"text-primary","flex-1","text-center","text-lg","font-bold","md:text-2xl"],[1,"flex","flex-col","items-end","gap-1"],[1,"text-secondary","text-sm","font-bold"],["aria-hidden","true",1,"hidden","gap-1","md:flex"],[1,"h-0.75","w-6","rounded-full",3,"class"],["aria-hidden","true",1,"absolute","
3inset-x-0","bottom-0","flex","gap-1","md:hidden"],[1,"h-0.75","flex-1",3,"class"],[1,"bg-base-1","shadow-alt-1","flex","flex-col","gap-6","rounded-b-xl","px-4","pt-6","pb-4","md:rounded-xl","md:px-6","md:py-8"],["iconBeforeText","sign-left","padding","6px","size","s","theme","secondary",3,"iconSize"],["iconBeforeText","sign-left","padding","6px","size","s","theme","secondary","aria-label",i,3,"buttonClick","iconSize"],[1,"h-0.75","w-6","rounded-full"],[1,"h-0.75","flex-1"],[1,"text-primary","text-base"],["role","radiogroup","aria-label",c,1,"grid","grid-cols-2","gap-3","md:grid-cols-3"],["type","error"],[1,"flex","flex-col","gap-3","md:flex-row","md:justify-end"],[1,"md:flex","md:justify-end"],[1,"border-divider-alt","flex","flex-col","items-center","justify-center","gap-4","rounded-xl","border","border-dashed","p-3"],["role","radio","type","button",1,"bg-base-1","relative","flex","cursor-pointer","flex-col","items-start","gap-2","rounded-xl","border","p-3","text-left",3,"class"],[1,"flex","h-4.5","items-center"],["objectFit","contain",3,"alt","filePath","height","width"],[1,"text-primary","text-base","font-bold"],["role","radio","type","button",1,"bg-base-1","relative","flex","cursor-pointer","flex-col","items-start","gap-2","rounded-xl","border","p-3","text-left",3,"click"],[1,"flex","h-4.5","w-full","items-center","justify-between"],[3,"alt","circled","filePath","height","width"],["aria-hidden","true",1,"size-6","shrink-0","rounded-full"],[1,"text-primary","text-sm","font-bold"],[1,"text-secondary","text-sm"],[1,"border-divider","my-2","w-full"],[1,"flex","w-full","flex-col","gap-2"],[1,"text-secondary","flex","items-center","gap-1","text-sm"],["name","clock",3,"size"],["name","warning",3,"size"],[1,"md:hidden"],[1,"hidden","md:inline"],["iconAfterText","external-link","size","l","text",K,"theme","secondary",3,"buttonClick","isDisabled","isLoading"],["iconAfterText","external-link","size","l","text",J,"theme","primary",3,"buttonClick","isDisabled","isLoading"],["size","l","text",Q,"theme","primary",3,"buttonClick","isDisabled","isLoading"],[3,"config","errorMessage","initialValue","isSaving","linkedAccount","pricing","provider"],[3,"errorMessage","ibanCountryCode","initialValue","isCompany","isSaving"],[3,"submitted","valueChange","config","errorMessage","initialValue","isSaving","linkedAccount","pricing","provider"],[3,"submitted","valueChange","errorMessage","ibanCountryCode","initialValue","isCompany","isSaving"]];},template:function(i,n){if(i&1&&(_(0,"div",8)(1,"div",9)(2,"header",10),A(3,Yt,2,3,"a",11)(4,Vt,1,1,"eld-button",12),_(5,"h1",13),S(6,0),a(),_(7,"div",14)(8,"p",15),S(9,1),a(),_(10,"div",16),te(11,qt,1,2,"span",17,Ce),a()(),_(13,"div",18),te(14,jt,1,2,"span",19,Ce),a()(),_(16,"section",20),A(17,ai,8,2)(18,di,2,1),a()()()),i&2){let s;l(3),m(n.step()===1?3:4),l(6),ne(n.step())(n.totalSteps()),oe(9),l(2),ie(n.stepNumbers()),l(3),ie(n.stepNumbers()),l(3),m(n.step()===1?17:(s=n.detailsStep())?18:-1,s);}},dependencies:[Xe,V,z,Je,X,ct,ft,U,Qe,nt],encapsulation:2,changeDetection:0});let t=r;return t;})();export{Ei as AddWalletComponent};/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/
4//# debugId=a3753c3b-af5b-5138-b3d9-7a3e899c0cce

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.