1import{a as Ze,b as et}from"./chunk-TAOXQMSA.js";import{a as Xe}from"./chunk-YQIKKXVK.js";import{a as tt}from"./chunk-V63K5XVN.js";import{a as ot}from"./chunk-B5VVGIYG.js";import{a as at}from"./chunk-F7UBITXZ.js";import"./chunk-EC76DFPO.js";import{a as Ye,b as it}from"./chunk-UQFC7YXJ.js";import{a as nt}from"./chunk-OGT2YER3.js";import"./chunk-CN7WBXY6.js";import{a as rt}from"./chunk-BEH7KIF7.js";import"./chunk-5UEVCQI5.js";import{a as Qe}from"./chunk-JKZLWLIZ.js";import"./chunk-LEFUAFGF.js";import"./chunk-7GRPRFRY.js";import{e as ze}from"./chunk-UQJAX2V6.js";import{a as Ke,b as je}from"./chunk-7BJI53X2.js";import{a as Je,b as G}from"./chunk-SWWLFFHU.js";import"./chunk-C6D7Z25I.js";import{a as O}from"./chunk-YNGYL2DN.js";import{a as Ne,b as Ge}from"./chunk-WWMNN3Q3.js";import{a as Re,b as Te,c as ke,d as Be}from"./chunk-U34Y2WWS.js";import{a as Ue}from"./chunk-C3SQC7MQ.js";import{b as qe}from"./chunk-5WYYZWB5.js";import{a as Le}from"./chunk-WN6NMQZM.js";import"./chunk-ABSZEHYV.js";import"./chunk-VLRYAODP.js";import"./chunk-4OCWZAME.js";import{a as q}from"./chunk-B5VHWM5E.js";import"./chunk-SGFAW3CI.js";import"./chunk-BTKSW7FU.js";import{a as Ce}from"./chunk-GZ3CCEA4.js";import"./chunk-JPTPNP2F.js";import{a as We}from"./chunk-BL67EJLX.js";import"./chunk-3YQBQXIM.js";import"./chunk-3RK6DDJD.js";import{a as Me,e as Pe,f as Ae,h as De,i as Oe}from"./chunk-YF3RQ2MC.js";import"./chunk-ZU57TR6D.js";import{b as we,d as W,f as xe,g as Fe,i as Ee,j as be,k as Se,m as ye,n as ve}from"./chunk-XBMZ5JOC.js";import"./chunk-HSP554XF.js";import"./chunk-KTJO7KWX.js";import"./chunk-SSC36NEW.js";import{b as K,e as He}from"./chunk-UBTIP5BU.js";import{c as le,h as fe,k as ge}from"./chunk-YUTYK7XA.js";import"./chunk-FXFPJEY7.js";import"./chunk-KBHFTPWK.js";import"./chunk-N3G2BUZV.js";import"./chunk-YNQPX5G6.js";import"./chunk-KSEWS4G5.js";import{a as Ie}from"./chunk-Y4SRAZ7R.js";import"./chunk-DB56CARA.js";import{a as ue}from"./chunk-KP3EQ463.js";import{c as z}from"./chunk-EMTSBDLW.js";import"./chunk-B4Z73AGB.js";import"./chunk-N7SW55NY.js";import"./chunk-QCL32XSP.js";import"./chunk-O7GXRGCE.js";import"./chunk-3DV4IO66.js";import"./chunk-J7Y65VEI.js";import"./chunk-MJEZX65R.js";import"./chunk-PEUKZ4TH.js";import"./chunk-3UH6DHGO.js";import"./chunk-ASVI4VA4.js";import"./chunk-PSVCQX6Z.js";import"./chunk-6FN3DEFJ.js";import{a as $e}from"./chunk-IBXWEY4H.js";import{l as he,n as N}from"./chunk-4VD3U6QV.js";import"./chunk-DFEA4D2H.js";import"./chunk-QB5I442C.js";import"./chunk-JW73VMKH.js";import"./chunk-ZI7UWMJR.js";import{a as Ve}from"./chunk-5FMV2KJJ.js";import{b as ce,g as de}from"./chunk-N55VWQRS.js";import{a as _e}from"./chunk-TXR7UETL.js";import{a as I}from"./chunk-35XCR4AO.js";import{p as se}from"./chunk-LQMOMI6X.js";import"./chunk-LCNXCPPK.js";import"./chunk-DOA3MGAE.js";import"./chunk-GPPOFSAB.js";import{a as pe}from"./chunk-DXFETWGI.js";import{h as V,k as me}from"./chunk-OE5A6RT6.js";import"./chunk-7FSJGGG7.js";import"./chunk-OEDBDQ6H.js";import"./chunk-M3JNYVTH.js";import"./chunk-UUCG6F7I.js";import"./chunk-C44VSSMM.js";import"./chunk-CGPO2DOV.js";import"./chunk-IRUPMNUO.js";import"./chunk-TH7CJVME.js";import{k as ae}from"./chunk-PTTT4KVG.js";import{$ as Y,$b as H,Aa as k,Bb as P,C as Q,Ha as M,Lc as oe,Mc as L,Pb as _,Qb as C,Qc as re,Rc as ne,Ub as g,Vb as f,Wb as p,Xb as x,Xc as A,Yb as T,Zb as S,Zc as D,_b as B,ac as $,ad as v,bd as ie,cc as b,gb as s,gc as F,ic as h,ka as d,lb as U,qa as l,qc as X,r as j,ra as m,rc as Z,sc as c,uc as ee,wc as u,xb as w,xc as te,zb as J}from"./chunk-ORWL3X75.js";import"./chunk-IMPBB4AK.js";var st=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=w({type:e,selectors:[["gg-modal-intro-account-created"]],decls:9,vars:0,consts:[["src","/assets/general/icons/account.svg","alt","",1,"modal-intro-account-created-image"],[1,"modal-intro-account-created-title","modal
1-intro-account-created-title--from-tablet"],[1,"modal-intro-account-created-text"],[1,"modal-intro-account-created-title","modal-intro-account-created-title--mobile"]],template:function(r,n){r&1&&(B(0,"img",0),T(1,"p",1)(2,"span",2),u(3,"Your account has been "),S(),u(4,`successfully created 2`),S(),T(5,"p",3)(6,"span",2),u(7,"Account "),S(),u(8,`Created 3`),S())},styles:["[_ngcontent-%COMP%]:root{--neutral-50: #F1F3F5;--neutral-100: #E3E6EA;--neutral-200: #C7CED5;--neutral-400: #8E9DAC;--neutral-500: #728497;--neutral-600: #5B6A79;--neutral-700: #444F5B;--neutral-800: #2E353C;--neutral-900: #171A1E;--primary-50: #EEF2E5;--primary-100: #DEE6CC;--primary-400: #7B9B33;--primary-500: #68AF10;--primary-600: #486800;--primary-700: #364E00;--primary-800: #243400;--secondary-50: #E6F4FB;--secondary-200: #9ACDF1;--secondary-400: #359BE2;--secondary-500: #0382DB;--secondary-600: #0268AF;--error-50: #FDF1E8;--error-400: #F18C46;--error-500: #EE6F18;--error-600: #BE5913;--warning-50: #FFF9EB}[_ngcontent-%COMP%]:root{--spacing-xxs: .5rem;--spacing-xs: 1rem;--spacing-s: 1.5rem;--spacing-m: 2rem;--spacing-l: 3rem;--spacing-xl: 4rem}[_nghost-%COMP%]{background:#2cab75;background:linear-gradient(-90deg,#b9f15e,#2cab75);display:flex;padding:10px 0 10px 35px;font-weight:600;line-height:1.1}@media screen and (min-width:1200px){[_nghost-%COMP%]{background:linear-gradient(-90deg,#6ec95e,#2cab75)}}@media screen and (min-width:768px)and (max-width:1199.5px){[_nghost-%COMP%]{padding:20px 0 20px 35px}}@media screen and (min-width:1200px){[_nghost-%COMP%]{flex-direction:column;justify-content:center;width:480px;padding:0 0 0 50px}}.modal-intro-account-created-image[_ngcontent-%COMP%]{width:40px;align-self:center}@media screen and (min-width:768px)and (max-width:1199.5px){.modal-intro-account-created-image[_ngcontent-%COMP%]{display:none}}@media screen and (min-width:1200px){.modal-intro-account-created-image[_ngcontent-%COMP%]{align-self:flex-start;width:auto}}.modal-intro-account-created-title[_ngcontent-%COMP%]{font-family:Dosis,sans-serif;font-weight:300;color:#fff;padding-left:20px;font-size:21px;line-height:23px}@media screen and (min-width:1200px){.modal-intro-account-created-title[_ngcontent-%COMP%]{margin-top:20px;padding-left:0;font-size:30px;line-height:40px}}@media screen and (min-width:768px){.modal-intro-account-created-title--mobile[_ngcontent-%COMP%]{display:none}}@media screen and (max-width:767.5px){.modal-intro-account-created-title--from-tablet[_ngcontent-%COMP%]{display:none}}.modal-intro-account-created-text[_ngcontent-%COMP%]{display:block;font-weight:700}"],changeDetection:0});let t=e;return t})();var ct=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=w({type:e,selectors:[["gg-modal-intro-inbox-check"]],decls:5,vars:0,consts:[["src","/assets/general/icons/subscribe.svg","alt",""],[1,"modal-intro-inbox-check-title"],[1,"modal-intro-inbox-check-text"]],template:function(r,n){r&1&&(B(0,"img",0),T(1,"p",1)(2,"span",2),u(3,"Please "),S(),u(4,"check your inbox"),S())},styles:["[_ngcontent-%COMP%]:root{--neutral-50: #F1F3F5;--neutral-100: #E3E6EA;--neutral-200: #C7CED5;--neutral-400: #8E9DAC;--neutral-500: #728497;--neutral-600: #5B6A79;--neutral-700: #444F5B;--neutral-800: #2E353C;--neutral-900: #171A1E;--primary-50: #EEF2E5;--primary-100: #DEE6CC;--primary-400: #7B9B33;--primary-500: #68AF10;--primary-600: #486800;--primary-700: #364E00;--primary-800: #243400;--secondary-50: #E6F4FB;--secondary-200: #9ACDF1;--secondary-400: #359BE2;--secondary-500: #0382DB;--secondary-600: #0268AF;--error-50: #FDF1E8;--error-400: #F18C46;--error-500: #EE6F18;--error-600: #BE5913;--warning-50: #FFF9EB}[_ngcontent-%COMP%]:root{--spacing-xxs: .5rem;--spacing-xs: 1rem;--spacing-s: 1.5rem;--spacing-m: 2rem;--spacing-l: 3rem;--spacing-xl: 4rem}[_nghost-%COMP%]{background:#2cab75;background:linear-gradient(-90deg,#b9f15e,#2cab75);display:none}@media screen and (min-width:1200px){[_nghost-%COMP%]{background:linear-gradient(-90deg,#6ec95e,#2cab75)}}@media screen and (min-width:1200px){[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:480px;padding-left:50px}}.modal-intro-inbox-check-title[_ngcontent-%COMP%]{font-family:Dosis,sans-serif;font-weight:300;color:#fff;padding-left:20px;font-size:21px;line-height:23px}@media screen and (min-width:1200px){.modal-intro-inbox-check-title[_ngcontent-%COMP%]{margin-top:20px;padding-left:0;font-size:30px;line-height:40px}}.modal-intro-inbox-check-text[_ngcontent-%COMP%]{display:block;font-weight:700}"],changeDetection:0});let t=e;return t})();var ut=["cfCaptchaRef"],gt=()=>({modal:"signin"}),ht=t=>({outlets:t}),_t=t=>["",t];function Ct(t,e){if(t&1){let i=b();f(0,"a",14,2),F("click",function(){l(i);let r=c(1);return m(r.changeSubscriptionSource(r.subscriptionSources.SIGN_IN))}),u(2,"Back"),p()}t&2&&g("routerLink",L(4,_t,L(2,ht,oe(1,gt))))}var pt=(()=>
3{let e=class e extends _e{constructor(){super(...arguments),this.fb=d(ye),this.formScroll=d(je),this.authFacade=d(G),this.routerState=d(I),this.appConfig=d(pe),this.errors=v(null),this.additionalOffset=v(10),this.submitAction=new U,this.resetAction=new U,this.cfCaptchaRef=ie("cfCaptchaRef"),this.form=this.fb.group({email:this.fb.control("",[W.required,ze()]),captcha:this.fb.control("",[W.required])}),this.customErrors={email:{required:"Please provide valid email",emailExtendedValidation:"Please provide valid email"},captcha:{required:"Please provide captcha"}},this.captchaKey=this.appConfig.getConfig().captchaKey,this.captchaId=qe.FORGOTTEN_PASSWORD,this.shouldHaveBackButton=k(!0),this.errorsEffect=D(()=>{this.errors(),A(()=>{this.cfCaptchaRef()?.reset()})})}ngOnInit(){this.detectUserEmail(),this.handleBackButtonState()}onSubmit(){this.submitAction.emit(this.form.getRawValue())}scrollToError(o){this.formScroll.scrollToError(o,this.additionalOffset())}setSuccessCaptcha(o){this.form.controls.captcha.setValue({response:o},{emitEvent:!1}),this.form.controls.captcha.updateValueAndValidity({emitEvent:!1})}setErrorCaptcha(){this.form.controls.captcha.setValue("")}detectUserEmail(){let o=this.authFacade.detectUserEmail();o&&o.length>0&&this.form.controls.email.setValue(o.toLowerCase(),{emitEvent:!1})}handleBackButtonState(){this.routerState.currentRoute$.pipe(Y(this.destroy$)).subscribe(o=>{o&&["buy-auth","profile"].indexOf(o.stateName)!==-1&&this.shouldHaveBackButton.set(!1)})}};e.\u0275fac=(()=>{let o;return function(n){return(o||(o=M(e)))(n||e)}})(),e.\u0275cmp=w({type:e,selectors:[["gg-forgotten-password-form"]],viewQuery:function(r,n){r&1&&X(n.cfCaptchaRef,ut,5),r&2&&Z()},inputs:{errors:[1,"errors"],additionalOffset:[1,"additionalOffset"]},outputs:{submitAction:"submitAction",resetAction:"resetAction"},features:[P],decls:18,vars:14,consts:[["gf","appGenericForm"],["cfCaptchaRef","cfCaptcha"],["source","changeSubscriptionSource"],["appScrollToFormError","","globalErrorSelector","gg-loadable-alert",1,"forgotten-password-form",3,"scrollTargetDetect","globalError","form"],["appForm","","appGenericForm","","showError","change","autocomplete","off",3,"submitted","errorsReset","formGroup","errors"],[3,"error"],["appearance","fill","appControlErrorContainer","","hideRequiredMarker","",1,"c-form-field"],["formControlName","email","matInput","","appFormControlErrors","",3,"customErrors","serverError"],[1,"forgotten-password-form__recaptcha"],["appCfCaptcha","",1,"forgotten-password-form__inner-recaptcha",3,"successResponse","errorResponse","timeoutResponse","elementId","siteKey"],[3,"show"],["type","hidden","formControlName","captcha","appFormControlErrors","",3,"customErrors","serverError"],["type","submit",1,"forgotten-password-form__button","loadable","sys-forgotten-password-button",3,"disabled"],["appChangeSubscriptionSource","","queryParamsHandling","preserve",1,"forgotten-password-form__button-back",3,"routerLink"],["appChangeSubscriptionSource","","queryParamsHandling","preserve",1,"forgotten-password-form__button-back",3,"click","routerLink"]],template:function(r,n){if(r&1){let a=b();f(0,"gg-modal-title"),u(1,"Forgotten password"),p(),f(2,"div",3),F("scrollTargetDetect",function(y){return l(a),m(n.scrollToError(y))}),f(3,"form",4,0),F("submitted",function(){return l(a),m(n.onSubmit())})("errorsReset",function(){return l(a),m(n.resetAction.emit())}),x(5,"gg-loadable-alert",5),f(6,"mat-form-field",6)(7,"mat-label"),u(8,"Your email"),p(),x(9,"input",7),p(),f(10,"div",8)(11,"div",9,1),F("successResponse",function(y){return l(a),m(n.setSuccessCaptcha(y))})("errorResponse",function(){return l(a),m(n.setErrorCaptcha())})("timeoutResponse",function(){return l(a),m(n.setErrorCaptcha())}),p(),x(13,"gg-captcha-loading",10),p(),x(14,"input",11),f(15,"button",12),u(16," Send "),p(),_(17,Ct,3,6,"a",13),p()()}if(r&2){let a,E,y=c(4),ft=c(12);s(2),g("globalError",n.errors())("form",n.form),s(),g("formGroup",n.form)("errors",n.errors()),s(2),g("error",n.errors()),s(4),g("customErrors",n.customErrors.email)("serverError",(a=n.errors())==null?null:a.errors),s(2),g("elementId",n.captchaId)("siteKey",n.captchaKey),s(2),g("show",ft.showLoadingTemplate),s(),g("customErrors",n.customErrors.captcha)("serverError",(E=n.errors())==null?null:E.errors),s(),g("disabled",y.isButtonLoading()),s(2),C(n.shouldHaveBackButton()?17:-1)}}
3,dependencies:[ve,Ee,we,xe,Fe,be,Se,Ae,Pe,Me,Oe,De,N,Ke,Re,Te,ke,Be,se,Ne,Xe,Ge,Ue,q],styles:['[_ngcontent-%COMP%]:root{--neutral-50: #F1F3F5;--neutral-100: #E3E6EA;--neutral-200: #C7CED5;--neutral-400: #8E9DAC;--neutral-500: #728497;--neutral-600: #5B6A79;--neutral-700: #444F5B;--neutral-800: #2E353C;--neutral-900: #171A1E;--primary-50: #EEF2E5;--primary-100: #DEE6CC;--primary-400: #7B9B33;--primary-500: #68AF10;--primary-600: #486800;--primary-700: #364E00;--primary-800: #243400;--secondary-50: #E6F4FB;--secondary-200: #9ACDF1;--secondary-400: #359BE2;--secondary-500: #0382DB;--secondary-600: #0268AF;--error-50: #FDF1E8;--error-400: #F18C46;--error-500: #EE6F18;--error-600: #BE5913;--warning-50: #FFF9EB}[_ngcontent-%COMP%]:root{--spacing-xxs: .5rem;--spacing-xs: 1rem;--spacing-s: 1.5rem;--spacing-m: 2rem;--spacing-l: 3rem;--spacing-xl: 4rem}.modal-content[_ngcontent-%COMP%]{width:100%}@media screen and (min-width:768px)and (max-width:1199.5px){.modal-content[_ngcontent-%COMP%]{width:480px}}@media screen and (min-width:1200px){.modal-content[_ngcontent-%COMP%]{width:480px;transition:.3s width}}@media screen and (max-width:767.5px){.modal-content--wide[_ngcontent-%COMP%]{display:flex;flex-direction:column}}@media screen and (min-width:768px){.modal-content--wide[_ngcontent-%COMP%]{overflow:hidden}}@media screen and (min-width:1200px){.modal-content--wide[_ngcontent-%COMP%]{width:100%}}@media screen and (min-width:768px)and (max-width:1199.5px){.modal-content--choose-interest[_ngcontent-%COMP%]{width:586px}}.modal-content[_ngcontent-%COMP%] [hidden][_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%}@media screen and (min-width:768px){[_nghost-%COMP%]{min-height:530px}}.forgotten-password-form[_ngcontent-%COMP%]{overflow:hidden;padding:20px}@media screen and (min-width:768px)and (max-width:1199.5px){.forgotten-password-form[_ngcontent-%COMP%]{padding:0 50px 20px}}@media screen and (min-width:1200px){.forgotten-password-form[_ngcontent-%COMP%]{padding:0 70px 20px}}@media screen and (min-width:768px){.forgotten-password-form[_ngcontent-%COMP%]{margin:auto 0}}.forgotten-password-form__recaptcha[_ngcontent-%COMP%]{position:relative}.forgotten-password-form__inner-recaptcha[_ngcontent-%COMP%]{margin-top:10px;height:65px}.forgotten-password-form__button[_ngcontent-%COMP%]{display:inline-block;position:relative;white-space:nowrap;height:2.75rem;border-radius:.25rem;padding:0 1.5rem;background-color:var(--primary-500);font-family:Arial,Helvetica,sans-serif;font-size:1rem;font-weight:400;color:#fff;line-height:2.75rem;transition:background .3s ease;text-align:center;cursor:pointer;margin-top:14px;width:100%}@media screen and (min-width:1200px){.forgotten-password-form__button[_ngcontent-%COMP%]:hover:not(.inactive,.loadable[disabled]), .forgotten-password-form__button[_ngcontent-%COMP%]:focus-visible:not(.inactive,.loadable[disabled]){background-color:var(--primary-600)}}.forgotten-password-form__button.loadable[disabled][_ngcontent-%COMP%]{color:transparent;opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.forgotten-password-form__button.loadable[disabled][_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-left:-2rem;width:.75rem;height:.75rem;border-radius:50%}@keyframes _ngcontent-%COMP%_dots-primary{0%{box-shadow:14px 0 0 -2px #fff9,32px 0 0 -2px #fff9,50px 0 0 -2px #fff9}25%{box-shadow:14px 0 0 2px #fff,32px 0 0 -2px #fff9,50px 0 0 -2px #fff9}50%{box-shadow:14px 0 0 -2px #fff9,32px 0 0 2px #fff,50px 0 0 -2px #fff9}75%{box-shadow:14px 0 0 -2px #fff9,32px 0 0 -2px #fff9,50px 0 0 2px #fff}to{box-shadow:14px 0 0 -2px #fff9,32px 0 0 -2px #fff9,50px 0 0 -2px #fff9}}.forgotten-password-form__button.loadable[disabled][_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_dots-primary 1s linear infinite}.forgotten-password-form__button.inactive[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none}.forgotten-password-form__button-back[_ngcontent-%COMP%]{display:inline-block;position:relative;white-space:nowrap;height:2.75rem;border-radius:.25rem;padding:0 1.5rem;background-color:transparent;font-family:Arial,Helvetica,sans-serif;font-size:1rem;font-weight:400;color:var(--secondary-500);line-height:2.75rem;transition:background .3s ease;text-align:center;cursor:pointer;display:block;margin:20px auto 0;
3width:200px}@media screen and (min-width:1200px){.forgotten-password-form__button-back[_ngcontent-%COMP%]:hover:not(.inactive,.loadable[disabled]), .forgotten-password-form__button-back[_ngcontent-%COMP%]:focus-visible:not(.inactive,.loadable[disabled]){color:var(--secondary-600)}}.forgotten-password-form__button-back.loadable[disabled][_ngcontent-%COMP%]{color:transparent;opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.forgotten-password-form__button-back.loadable[disabled][_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-left:-2rem;width:.75rem;height:.75rem;border-radius:50%}@keyframes _ngcontent-%COMP%_dots-primary-dark{0%{box-shadow:14px 0 0 -2px #c7ced5,32px 0 0 -2px #c7ced5,50px 0 0 -2px #c7ced5}25%{box-shadow:14px 0 0 2px #728497,32px 0 0 -2px #c7ced5,50px 0 0 -2px #c7ced5}50%{box-shadow:14px 0 0 -2px #c7ced5,32px 0 0 2px #728497,50px 0 0 -2px #c7ced5}75%{box-shadow:14px 0 0 -2px #c7ced5,32px 0 0 -2px #c7ced5,50px 0 0 2px #728497}to{box-shadow:14px 0 0 -2px #c7ced5,32px 0 0 -2px #c7ced5,50px 0 0 -2px #c7ced5}}.forgotten-password-form__button-back.loadable[disabled][_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_dots-primary-dark 1s linear infinite}.forgotten-password-form__button-back.inactive[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none}']});let t=e;return t})();var dt=(()=>{let e=class e{constructor(){this.email=v(void 0)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=w({type:e,selectors:[["gg-forgotten-password-success"]],inputs:{email:[1,"email"]},decls:9,vars:1,consts:[[1,"forgotten-password-success"],[1,"forgotten-password-success__sub-title"],[1,"forgotten-password-success__text-email"],[1,"forgotten-password-success__description"]],template:function(r,n){r&1&&(f(0,"gg-modal-title"),u(1,"Forgotten password"),p(),f(2,"div",0)(3,"p",1),u(4,"We have emailed"),p(),f(5,"p",2),u(6),p(),f(7,"p",3),u(8," with \u0430 link to reset your password. Please check your inbox and follow the instructions. "),p()()),r&2&&(s(6),te(n.email()))},dependencies:[q],styles:["[_ngcontent-%COMP%]:root{--neutral-50: #F1F3F5;--neutral-100: #E3E6EA;--neutral-200: #C7CED5;--neutral-400: #8E9DAC;--neutral-500: #728497;--neutral-600: #5B6A79;--neutral-700: #444F5B;--neutral-800: #2E353C;--neutral-900: #171A1E;--primary-50: #EEF2E5;--primary-100: #DEE6CC;--primary-400: #7B9B33;--primary-500: #68AF10;--primary-600: #486800;--primary-700: #364E00;--primary-800: #243400;--secondary-50: #E6F4FB;--secondary-200: #9ACDF1;--secondary-400: #359BE2;--secondary-500: #0382DB;--secondary-600: #0268AF;--error-50: #FDF1E8;--error-400: #F18C46;--error-500: #EE6F18;--error-600: #BE5913;--warning-50: #FFF9EB}[_ngcontent-%COMP%]:root{--spacing-xxs: .5rem;--spacing-xs: 1rem;--spacing-s: 1.5rem;--spacing-m: 2rem;--spacing-l: 3rem;--spacing-xl: 4rem}[_nghost-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%}@media screen and (min-width:768px){[_nghost-%COMP%]{min-height:530px}}.forgotten-password-success[_ngcontent-%COMP%]{text-align:center;padding:20px}@media screen and (min-width:768px)and (max-width:1199.5px){.forgotten-password-success[_ngcontent-%COMP%]{padding:0 50px 20px}}@media screen and (min-width:1200px){.forgotten-password-success[_ngcontent-%COMP%]{padding:0 70px 20px}}@media screen and (min-width:768px){.forgotten-password-success[_ngcontent-%COMP%]{margin:auto 0}}@media screen and (max-width:767.5px){.forgotten-password-success[_ngcontent-%COMP%]{padding:0}}.forgotten-password-success__sub-title[_ngcontent-%COMP%]{font-family:Dosis,sans-serif;font-size:36px;font-weight:300;color:#3a4651}.forgotten-password-success__text-email[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:10px;width:100%;height:60px;padding:0 10px;background-color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#77b02a;line-height:60px}@media screen and (min-width:768px){.forgotten-password-success__text-email[_ngcontent-%COMP%]{font-size:18px}}.forgotten-password-success__description[_ngcontent-%COMP%]{margin:20px auto 0;max-width:240px;font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#000;line-height:18px}@media screen and (min-width:768px){.forgotten-password-success__description[_ngcontent-%COMP%]{max-width:100%;text-align:left}}"],changeDetection:0});let t=e;return t})();var lt=(()=>{let e=class e extends Ve{constructor(){super(...arguments),this.routerState=d(I),this.prefService=d(de),this.gaService=d(He),this.pixelFacade=d(Ie),this.subscriptionFacade=d(We),this.flowStepper=d(rt),this.modalManager=d(nt),this.authFacade=d(G),this.captchaService=d(Je),this.deviceDetection=d(me),this.siteAuthStore=d(le),this.subscriptionsStore=d(ge),this.profileStore=d(fe),this.subscriptionCode$=V(this.subscriptionsStore.subscriptionCode),this.isAuth$=V(this.profileStore.isAuth),this.closeWithDelay=v(!1),this.requestForgottenPasswordErrors=this.siteAuthStore.requestForgottenPasswordError,this.requestRegisterError=this.siteAuthStore.requestRegisterError,this.isMobile$=V(this.deviceDetection.isMobile),this.backToLogin$=this.routerState.previousRoute$.pipe(j(o=>o?.outlets?.modal)),this.createAccountEmail=k(""),this.isForgottenResponseActive=!1,this.isRegisterResponseActive=!1,this.forgottenPasswordErrorEffect=D(()=>{this.siteAuthStore.requestForgottenPasswordError()&&this.isForgottenResponseActive&&A(()=>this.forgottenErrorTracking().catch())}),this.forgottenPasswordSuccessEffect=D(()=>{let o=this.siteAuthStore.requestForgottenPasswordSuccess();o&&this.isForgottenResponseActive&&(this.isForgottenResponseActive=!1,A(()=>{this.forgottenSuccessTracking().catch();let r=this.routerState.currentRoute;if(r.stateName.includes("buy")&&(this.prefService.setBuyAuthDealKey(r.params.deal_key),this.prefService.setBuyAuthPriceOption(r.params.price_option)),o.is_new){this.flowStepper.setFlowStep(O.CREATE_ACCOUNT);return}this.flowStepper.setFlowStep(O.FORGOTTEN_SUCCESS)}))}),this.registerErrorEffect=D(()=>{this.siteAuthStore.requestRegisterError()&&this.isRegisterResponseActive&&(this.isRegisterResponseActive=!1,A(()=>this.gaService.concatCurrentPage(K.REGISTER_WEB_SITE_ERROR)))})}ngOnInit(){this.flowStepper.setFlowStep(O.INITIAL),this.authFacade.resetAuth(),this.siteAuthStore.resetForgottenPasswordRequest(),this.initGTM()}forgottenSubmit(o){this.pixelFacade.pushEvent({event:"forgottenPasswordCl
3ick"}).catch(),this.siteAuthStore.forgottenPassword(o).catch(),this.forgottenResponse(o)}forgottenReset(){this.siteAuthStore.requestForgottenPasswordError()&&this.siteAuthStore.resetForgottenPasswordRequest()}createAccount(o){this.siteAuthStore.register(o).catch(),this.subscriptionsStore.updateSubscriptionSource(ce.FORGOTTEN),o.subscribe&&this.subscriptionFacade.trackSubscribeClick().catch(),this.createAccountResponse()}createAccountReset(){this.siteAuthStore.requestRegisterError()&&this.siteAuthStore.resetRegisterRequest()}createAccountBack(){this.flowStepper.resetStep()}forgottenResponse(o){this.createAccountEmail.set(o.email),this.isForgottenResponseActive=!0}async forgottenErrorTracking(){await this.pixelFacade.pushEvent({event:"forgottenPasswordRequest",param_is_success:!1}),await this.pixelFacade.pushVeryEvent({ename:"forgotten_password_request",etype:"load",is_success:!1})}async forgottenSuccessTracking(){await this.pixelFacade.pushEvent({event:"forgottenPasswordRequest",param_is_success:!0}),await this.pixelFacade.pushVeryEvent({ename:"forgotten_password_request",etype:"load",is_success:!0})}createAccountResponse(){this.isAuth$.pipe(Q(o=>!!o),z(this.destroy$)).subscribe(()=>{let o=this.prefService.getIntentUserProvider(),n=this.routerState.currentRoute?.params?.deal_key||"",a=this.siteAuthStore.requestRegisterRequest();this.captchaService.deactivateAll(),this.authFacade.authSuccess(o,n,!0).catch(),this.gaService.concatCurrentPage(K.REGISTER_WEB_SITE_SUCCESS),this.checkSubscriptions(a)}),this.isRegisterResponseActive=!0}checkSubscriptions(o){this.subscriptionsStore.loadSubscriptions(!0).catch(),this.subscriptionCode$.pipe(z(this.destroy$)).subscribe(r=>{if(r===ue.NOT_SUBSCRIBED&&!o){this.flowStepper.setFlowStep(O.ACTIVATE_SUBSCRIPTION);return}if(o?.subscribe){this.subscriptionFacade.trackSubscribe(!0,!0).catch(),this.flowStepper.setFlowStep(O.CHOOSE_INTERESTS);return}this.modalManager.closeAndInitStep(this.closeWithDelay())})}initGTM(){this.pixelFacade.pushEvent({event:"forgottenPasswordLoad"}).catch()}};e.\u0275fac=(()=>{let o;return function(n){return(o||(o=M(e)))(n||e)}})(),e.\u0275dir=J({type:e,selectors:[["","appDataForgottenFlow",""]],inputs:{closeWithDelay:[1,"closeWithDelay"]},exportAs:["dataForgottenFlow"],features:[P]});let t=e;return t})();function wt(t,e){t&1&&x(0,"gg-modal-intro-sign-in")}function xt(t,e){t&1&&x(0,"gg-modal-intro-no-match")}function Ft(t,e){t&1&&x(0,"gg-modal-intro-inbox-check")}function Et(t,e){t&1&&x(0,"gg-modal-intro-account-created")}function bt(t,e){if(t&1&&(_(0,wt,1,0,"gg-modal-intro-sign-in"),_(1,xt,1,0,"gg-modal-intro-no-match"),_(2,Ft,1,0,"gg-modal-intro-inbox-check"),_(3,Et,1,0,"gg-modal-intro-account-created")),t&2){h();let i=c(2);C(i.currentStep()===i.flowSteps.INITIAL?0:-1),s(),C(i.currentStep()===i.flowSteps.CREATE_ACCOUNT?1:-1),s(),C(i.currentStep()===i.flowSteps.FORGOTTEN_SUCCESS?2:-1),s(),C(i.currentStep()===i.flowSteps.ACTIVATE_SUBSCRIPTION?3:-1)}}function St(t,e){if(t&1){let i=b();f(0,"gg-forgotten-password-form",11),F("resetAction",function(){l(i),h();let r=c(1);return m(r.forgottenReset())})("submitAction",function(r){l(i),h();let n=c(1);return m(n.forgottenSubmit(r))}),p()}if(t&2){h();let i=c(1);g("errors",i.requestForgottenPasswordErrors())}}function yt(t,e){if(t&1){let i=b();f(0,"gg-create-account-form",12),F("backAction",function(){l(i),h();let r=c(1);return m(r.createAccountBack())})("changeStaticPage",function(r){l(i),h();let n=c(2);return m(n.pageChange(r))})("resetAction",function(){l(i),h();let r=c(1);return m(r.createAccountReset())})("submitAction",function(r){l(i),h();let n=c(1);return m(n.createAccount(r))}),p()}if(t&2){h();let i=c(1);g("email",i.createAccountEmail())("errors",i.requestRegisterError())}}function vt(t,e){if(t&1){let i=b();f(0,"gg-activate-subscription",13),F("changeStaticPage",function(r){l(i),h();let n=c(2);return m(n.pageChange(r))})("subscribe",function(){l(i),h();let r=c(9);return m(r.activateSubscription())}),p()}if(t&2){h();let i=c(9);g("error$",i.activateSubscriptionError$)}}function Mt(t,e){if(t&1){let i=b();f(0,"gg-choose-interests",14),F("update",function(r){l(i),h();let n=c(9);return m(n.updateCategories(r))}),p()}}function Pt(t,e){if(t&1&&x(0,"gg-forgotten-password-success",9),t&2){h();let i=c(1);g("email",i.createAccountEmail())}}function At(t,e){if(t&1&&(x(0,"gg-static-page-view",10),re(1,"async")),t&2){h();let i=c(2);g("pageId",ne(1,1,i.pageId$))}}var mt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=w({type:e,selectors:[["gg-forgotten-flow-modal"]],decls:14,vars:12,consts:[["pageDataRef","dataForgottenFlow","flowStepperRef","dataFlowStepper"],["subscriptionRef","dataSubscriptionFlow"],["appDataForgottenFlow","","appDataFlowStepper",""],["appCookieBarDetector","",1,"modal-content"],[3,"closeAction","isButtonBack"],[3,"errors"],[3,"email","errors"],["appDataSubscriptionFlow",""],[3,"error$"],[3,"email"],[3,"pageId"],[3,"resetAction","submitAction","errors"],[3,"backAction","changeStaticPage","resetAction","submitAction","email","errors"],[3,"changeStaticPage","subscribe","error$"],[3,"update"]],template:function(r,n){if(r&1){let a=b();H(0,2,0),_(3,bt,4,4),f(4,"mat-dialog-content",3)(5,"gg-modal-header",4),F("closeAction",function(){l(a);let y=c(2);return m(y.closeModalHeader())}),p(),_(6,St,1,1,"gg-forgotten-password-form",5),_(7,yt,1,2,"gg-create-account-form",6),H(8,7,1),_(10,vt,1,1,"gg-activate-subscription",8),_(11,Mt,1,0,"gg-choose-interests"),$(),_(12,Pt,1,1,"gg-forgotten-password-success",9),_(13,At,2,3,"gg-static-page-view",10),p(),$()}if(r&2){let a=c(2);s(3),C(a.isWideStep()?-1:3),s(),ee("modal-content--wide",a.isWideStep())("modal-content--choose-interest",a.currentStep()===a.flowSteps.CHOOSE_INTERESTS),s(),g("isButtonBack",a.currentStep()===a.flowSteps.STATIC_PAGE
3),s(),C(a.currentStep()===a.flowSteps.INITIAL?6:-1),s(),C(a.currentStep()===a.flowSteps.CREATE_ACCOUNT?7:-1),s(3),C(a.currentStep()===a.flowSteps.ACTIVATE_SUBSCRIPTION?10:-1),s(),C(a.currentStep()===a.flowSteps.CHOOSE_INTERESTS?11:-1),s(),C(a.currentStep()===a.flowSteps.FORGOTTEN_SUCCESS?12:-1),s(),C(a.currentStep()===a.flowSteps.STATIC_PAGE?13:-1)}},dependencies:[ot,Ze,ct,st,at,lt,it,N,he,Ce,pt,et,tt,Ye,dt,Le,$e,ae],styles:["[_ngcontent-%COMP%]:root{--neutral-50: #F1F3F5;--neutral-100: #E3E6EA;--neutral-200: #C7CED5;--neutral-400: #8E9DAC;--neutral-500: #728497;--neutral-600: #5B6A79;--neutral-700: #444F5B;--neutral-800: #2E353C;--neutral-900: #171A1E;--primary-50: #EEF2E5;--primary-100: #DEE6CC;--primary-400: #7B9B33;--primary-500: #68AF10;--primary-600: #486800;--primary-700: #364E00;--primary-800: #243400;--secondary-50: #E6F4FB;--secondary-200: #9ACDF1;--secondary-400: #359BE2;--secondary-500: #0382DB;--secondary-600: #0268AF;--error-50: #FDF1E8;--error-400: #F18C46;--error-500: #EE6F18;--error-600: #BE5913;--warning-50: #FFF9EB}[_ngcontent-%COMP%]:root{--spacing-xxs: .5rem;--spacing-xs: 1rem;--spacing-s: 1.5rem;--spacing-m: 2rem;--spacing-l: 3rem;--spacing-xl: 4rem}.modal-content[_ngcontent-%COMP%]{width:100%}@media screen and (min-width:768px)and (max-width:1199.5px){.modal-content[_ngcontent-%COMP%]{width:480px}}@media screen and (min-width:1200px){.modal-content[_ngcontent-%COMP%]{width:480px;transition:.3s width}}@media screen and (max-width:767.5px){.modal-content--wide[_ngcontent-%COMP%]{display:flex;flex-direction:column}}@media screen and (min-width:768px){.modal-content--wide[_ngcontent-%COMP%]{overflow:hidden}}@media screen and (min-width:1200px){.modal-content--wide[_ngcontent-%COMP%]{width:100%}}@media screen and (min-width:768px)and (max-width:1199.5px){.modal-content--choose-interest[_ngcontent-%COMP%]{width:586px}}.modal-content[_ngcontent-%COMP%] [hidden][_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]{display:block;position:relative}@media screen and (max-width:767.5px){[_nghost-%COMP%]{padding-top:63px;height:100%}}@media screen and (min-width:1200px){[_nghost-%COMP%]{display:flex;justify-content:flex-end}}"],changeDetection:0});let t=e;return t})();var ir=(()=>{let e=class e extends Qe{constructor(){super(...arguments),this.modalComponentName=mt}};e.\u0275fac=(()=>{let o;return function(n){return(o||(o=M(e)))(n||e)}})(),e.\u0275cmp=w({type:e,selectors:[["gg-forgotten-flow"]],features:[P],decls:0,vars:0,template:function(r,n){},encapsulation:2,changeDetection:0});let t=e;return t})();export{ir 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.