PageSourceSearch

https://www.tax-free.no/chunk-7JS6X37W.js

js tax-free.no collected 2026-10-06 15:02:00 UTC 22,216 bytes, 1 lines download raw bytes

1import{a as Ke}from"./chunk-WWGKEPUM.js";import{a as ge,b as it}from"./chunk-LGOQ47B4.js";import{c as Ze,d as et,e as tt}from"./chunk-74G4FPYC.js";import{a as se}from"./chunk-V4JPGCTV.js";import{c as pe}from"./chunk-EYCOFZDF.js";import{a as Qe}from"./chunk-YXYPU3MC.js";import{a as Xe}from"./chunk-6N7JK7IB.js";import{a as Je,b as j}from"./chunk-J76FQZ2L.js";import"./chunk-3YYKTTRK.js";import{a as ae}from"./chunk-MOFVCWFZ.js";import{d as qe}from"./chunk-543EVXPR.js";import{g as je}from"./chunk-KJKIPU3Z.js";import"./chunk-6NEIA7KQ.js";import"./chunk-CNBMOLNM.js";import"./chunk-INSB3ZVY.js";import"./chunk-4F3YZWOP.js";import{a as He}from"./chunk-GW6I55VC.js";import{a as We}from"./chunk-4ZJHJNLB.js";import"./chunk-3IRW6MAO.js";import"./chunk-FVZKEHFL.js";import{a as Ge}from"./chunk-CABTRMED.js";import"./chunk-OBUWOHWX.js";import"./chunk-AWTSZHSK.js";import"./chunk-KUHFH43V.js";import"./chunk-JC5PZU5R.js";import"./chunk-N4SAKXVX.js";import"./chunk-U6HR6JGF.js";import"./chunk-GJK2E2S6.js";import"./chunk-QIWZL5RQ.js";import{j as Ye}from"./chunk-MOINSKK7.js";import"./chunk-SU7S3GV3.js";import"./chunk-ME6REO5O.js";import"./chunk-RPX352E4.js";import{a as R}from"./chunk-CIDLE6M4.js";import{a as Ue}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-ELFTTI6P.js";import"./chunk-DFKOY57W.js";import"./chunk-3OSB33KW.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import{a as ze}from"./chunk-A3QLZGQA.js";import{D as Ae,G as re,Y as U,c as _,f as te,g as ie,j as c,m as ne,t as oe}from"./chunk-LJH5OBMW.js";import{Ad as Pe,Ag as q,Bg as ee,Dc as J,Eb as f,Fd as Te,Gb as h,Ge as F,Ja as _e,Jc as r,Kc as a,Lb as p,Lg as Ve,Mb as m,Mg as $e,Mh as z,Nb as l,Nh as A,Ob as d,S as be,Tc as Se,Ue as Q,V as ue,Vb as L,Ve as Me,Wf as Ie,Xa as D,Xb as B,Ye as Re,Z as O,Zb as u,_f as ke,a as he,cb as o,d as $,ga as H,ka as W,kc as K,lf as Oe,lg as Le,ma as Y,mc as y,n as G,nc as N,nd as T,ob as S,oc as we,pb as x,ph as M,qa as xe,ra as b,rh as De,sb as ve,se as Fe,sg as Be,tg as Ne,u as Ce,ua as n,uf as X,vc as v,vg as Z,wc as E,wd as ye,wg as Ee,xc as P,ya as I,za as k}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";function ut(t,C){if(t&1&&(d(0,"h2",1),r(1,"safeHtml")),t&2){let e=u();p("innerHTML",a(1,1,e.title),D)}}function gt(t,C){if(t&1&&(d(0,"p",2),r(1,"safeHtml")),t&2){let e=u();p("innerHTML",a(1,1,e.subtitle),D)}}function ft(t,C){if(t&1&&(m(0,"div",0),f(1,ut,2,3,"h2",1),f(2,gt,2,3,"p",2),d(3,"trn-button",3),l()),t&2){let e=C;o(),h(e.title?1:-1),o(),h(e.subtitle?2:-1),o(),K("solid"),p("fill",!0)("label",e.cmsLink.linkName)("url",e.cmsLink.url)("targetBlank",e.cmsLink.target==="true")("color","primary")("appearance","link")("size","medium")}}var nt=(()=>{class t{componentData=n(U);data$=this.componentData.data$;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=S({type:t,selectors:[["trn-login-button"]],decls:2,vars:3,consts:[[1,"wrapper"],[1,"heading",3,"innerHTML"],[1,"description",3,"innerHTML"],[3,"fill","label","url","targetBlank","color","appearance","size"]],template:function(i,s){if(i&1&&(f(0,ft,4,11,"div",0),r(1,"async")),i&2){let g;h((g=a(1,1,s.data$))?0:-1,g)}},dependencies:[R,T,Ge],styles:[".wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.heading[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.heading[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.heading[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.description[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:992px){.description[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}trn-button[_ngcontent-%COMP%]{padding-top:8px;margin-top:auto}"]})}return t})();var ot=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=x({type:t});static \u0275inj=b({providers:[F({cmsComponents:{[et]:{component:nt}}})]})}return t})();function Ct(t,C){if(t&1&&(v(0),r(1,"async"),d(2,"trn-button",11),r(3,"cxTranslate")),t&2){let e=a(1,7,u(2).isLoading$);o(2),p("typeSubmit",!0)("icon",e?"custom_spinner":void 0)("iconPlacement","icon-center")("disabled",e)("fill",!0)("label",a(3,9,"common.create_an_account"))("size","large")}}function bt(t,C){if(t&1){let e=L();m(0,"form",1),B("ngSubmit",function(){I(e);let s=u();
1return k(s.submitForm())}),d(1,"trn-input-phone",2),r(2,"cxTranslate"),d(3,"trn-input-text",3),r(4,"cxTranslate"),r(5,"cxTranslate"),d(6,"trn-input-date-manual",4),r(7,"cxTranslate"),d(8,"trn-input-password",5),r(9,"cxTranslate"),r(10,"cxTranslate"),m(11,"fieldset",6),r(12,"cxTranslate"),m(13,"legend",7),y(14),r(15,"cxTranslate"),l(),m(16,"trn-checkbox",8),d(17,"div",9),l(),m(18,"trn-checkbox",10),d(19,"div",9),l()(),f(20,Ct,4,11,"trn-button",11),l()}if(t&2){let e=u(),i=P(0);p("formGroup",e.registerForm),o(),p("form",e.registerForm)("hideErrorsOnFocus",!0)("label",a(2,31,"common.phone_number"))("value",e.fetchedPhoneNumber())("requiredMarker",!0),o(2),p("form",e.registerForm)("label",a(4,33,"common.email_address"))("hideErrorsOnFocus",!0)("requiredMarker",!0)("placeholder",a(5,35,"common.email_address")),o(3),p("form",e.registerForm)("label",a(7,37,"common.date_of_birth"))("tooltipLabel",i.dateOfBirthLabel)("tooltipContent",i.dateOfBirthContent),o(2),p("form",e.registerForm)("label",a(9,39,"common.password_registration"))("hideErrorsOnFocus",!1)("showOnlyRequiredError",!1)("withValidation",!0)("validateStrength",!0)("requiredMarker",!0)("placeholder",a(10,41,"common.password")),o(3),p("name",a(12,43,"common.agreements")),o(3),N(a(15,45,"common.agreements")),o(2),p("form",e.registerForm)("requiredMarker",!0),o(),p("innerHTML",i.termsOfUseAgreementLabel,D),o(),p("form",e.registerForm),o(),p("innerHTML",i.newsletterAgreementLabel,D),o(),h(e.showSubmit()?20:-1)}}var at=(()=>{class t extends it{winRef=n(Q);cookiebotService=n(qe);viewportScroller=n(ye);eventService=n(X);cmsService=n(M);auth=n(Z);activatedRoute=n(Fe);showSubmit=Se(!0);subs=new he;component=n(U);componentData$=this.component.data$;fetchedPhoneNumber=_e("");registerForm=new ie({birthDate:new c(null,{updateOn:"change"}),email:new c(null,[_.required,j.emailValidator]),linkCode:new c(null),newsletter:new c(!1,{updateOn:"change"}),password:new c(null,{validators:[_.required],updateOn:"change"}),phoneNumber:new c(null,[_.required]),phoneNumberCode:new c(null,[_.required]),phoneCountryISO:new c(null,[]),termsAndConditions:new c(!1,{validators:[j.validationMessage(_.requiredTrue,{terms_and_conditions:!0})],updateOn:"change"}),store:new c(null)},{updateOn:"blur"});successRedirectUrl=ze.registrationLoyaltyRedirect?"/register/loyalty":"/register/success";constructor(){super(n(q),n(Ae),n(Be),n(Ee),n($e),n(ke),n(ge)),this.winRef.isBrowser()||this.isLoading$.next(!0),this.subs.add(this.isLoading$.asObservable().pipe(ue()).subscribe(e=>e?this.registerForm.disable():this.registerForm.enable())),this.subs.add(this.auth.isUserLoggedIn().pipe(ue()).subscribe(e=>{e&&this.successRedirect()})),this.activatedRoute.snapshot?.queryParams&&(this.activatedRoute.snapshot.queryParams.linkCode&&this.registerForm.get("linkCode").setValue(this.activatedRoute.snapshot.queryParams.linkCode),this.activatedRoute.snapshot.queryParams.storeid&&this.registerForm.get("store").setValue(this.activatedRoute.snapshot.queryParams.storeid),this.activatedRoute.snapshot.queryParams.msisdn&&this.fetchedPhoneNumber.set(this.activatedRoute.snapshot.queryParams.msisdn))}userDataWithConsent(e,i){return Object.assign({},e,{googleAdUserDataConsent:i.preferences,googleAdUserPersonalizationConsent:i.statistics})}collectDataFromRegisterForm(e){let{birthDate:i,email:s,linkCode:g,newsletter:V,password:me,phoneNumber:le,phoneNumberCode:de,phoneCountryISO:ce,store:ct}=e;return{avinorNewsletter:V,dateOfBirth:i?Je.formatDateOfBirthDate(i):null,email:s.toLowerCase(),linkCode:g,password:me,phoneNumber:le,phoneNumberCode:de,phoneCountryISO:ce,store:ct}}submitForm(){let e=this.registerForm.get("birthDate");e.value!==null?e.addValidators([j.minAgeValidator(18),j.maxAgeValidator(120)]):e.removeValidators([]),Object.keys(this.registerForm.controls).forEach(i=>{this.registerForm.get(i).updateValueAndValidity()}),this.registerForm.valid?this.registerUser():this.registerForm.markAllAsTouched()}registerUser(){this.isLoading$.next(!0),this.cookiebotService.consent$.pipe(H(e=>this.registerComponentService.register(this.userDataWithConsent(this.collectDataFromRegisterForm(this.registerForm.value),e))),O()).subscribe({next:()=>this.onRegisterSuccess(this.registerForm.value),complete:()=>this.isLoading$.next(!1),error:e=>
1{this.isLoading$.next(!1),(e.details||[]).forEach(({subject:i,message:s})=>{this.registerForm.get(i)?.setErrors({error:s})}),this.registerForm.updateValueAndValidity()}})}onRegisterSuccess(e){let{phoneNumber:i,phoneNumberCode:s,email:g,password:V,dateOfBirth:me,avinorNewsletter:le}=e,de=`${s}${i}`;this.eventService.dispatch({event:"registration",data:{avinorNewsletter:le,dateOfBirth:me,email:g,user:s.toString()+i.toString()}},Ke),G(this.auth.loginWithCredentials(de,V)).pipe(Y(this.auth.isUserLoggedIn()),W(([,ce])=>this.onSuccess(ce,e))).subscribe()}onSuccess(e,i){e&&(this.eventService.dispatch({event:"authorization",data:{user:i.phoneNumberCode.toString()+i.phoneNumber.toString(),type:"login_after_registration"}},ae),this.successRedirect())}successRedirect(){this.cmsService.getCurrentPage().pipe(Ce(e=>e?.template==="CheckoutLoginPageTemplate"||e?.template==="MultiStepCheckoutSummaryPageTemplate"?{cxRoute:"checkout"}:this.successRedirectUrl),O()).subscribe(e=>this.router.go(e))}ngOnDestroy(){super.ngOnDestroy(),this.subs.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=S({type:t,selectors:[["trn-registration-form"]],inputs:{showSubmit:[1,"showSubmit"]},features:[J([ge]),ve],decls:3,vars:4,consts:[[3,"formGroup"],[3,"ngSubmit","formGroup"],["name","phoneNumber","prefixName","phoneNumberCode",1,"form-field",3,"form","hideErrorsOnFocus","label","value","requiredMarker"],["name","email","type","email","size","large",1,"form-field",3,"form","label","hideErrorsOnFocus","requiredMarker","placeholder"],["labelDecoration","dotted-underline","size","large","type","date-of-birth","name","birthDate",1,"form-field",3,"form","label","tooltipLabel","tooltipContent"],["name","password",1,"form-field",3,"form","label","hideErrorsOnFocus","showOnlyRequiredError","withValidation","validateStrength","requiredMarker","placeholder"],[3,"name"],[1,"agreements"],["name","termsAndConditions",1,"form-field",3,"form","requiredMarker"],[3,"innerHTML"],["name","newsletter",1,"form-field",3,"form"],[1,"register-button",3,"typeSubmit","icon","iconPlacement","disabled","fill","label","size"]],template:function(i,s){if(i&1&&(v(0),r(1,"async"),f(2,bt,21,47,"form",0)),i&2){let g=E(a(1,1,s.componentData$));o(2),h(g?2:-1)}},dependencies:[re,ne,te,oe,pe,We,Qe,se,He,R,A,T,z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   fieldset[_ngcontent-%COMP%]{padding:0;margin:0;border:0}.form-field[_ngcontent-%COMP%]{display:block;margin-bottom:16px}.agreements[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:16px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}@media all and (min-width:576px){.agreements[_ngcontent-%COMP%]{font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.agreements[_ngcontent-%COMP%]{font-size:22px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.agreements[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:16px}.register-button[_ngcontent-%COMP%]{display:block;margin-top:40px}"]})}return t})();var st=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=x({type:t});static \u0275inj=b({providers:[F({cmsComponents:{[tt]:{component:at}}})]})}return t})();var pt=(()=>{class t{cmsService=n(M);page$=this.cmsService.getCurrentPage();getUrl(e){return e.template==="CheckoutLoginPageTemplate"?"/checkout/login":"/login"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=S({type:t,selectors:[["trn-sign-in-button"]],decls:9,vars:18,consts:[[1,"heading"],[1,"description"],[3,"fill","label","url","color","appearance","size"]],template:function(i,s){i&1&&(m(0,"div",0),y(1),r(2,"cxTranslate"),l(),m(3,"p",1),y(4),r(5,"cxTranslate"),l(),d(6,"trn-button",2),r(7,"cxTranslate"),r(8,"async")),i&2&&(o(),N(a(2,10,"common.sign_in")),o(3),N(a(5,12,"common.sign_in_description")),o(2),K("outlined"),p("fill",!0)("label",a(7,14,"common.sign_in"))("url",s.getUrl(a(8,16,s.page$)))("color","primary")("appearance","link")("size","small"))},dependencies:[A,R,T,z],styles:["[_nghost-%COMP%]{display:block}.heading[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.heading[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.heading[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.heading[_ngcontent-%COMP%]{margin-bottom:8px}.description[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:992px){.description[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.description[_ngcontent-%COMP%]{margin-bottom:8px}"]})}return t})();var mt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=x({type:t});static \u0275inj=b({providers:[F({cmsComponents:{[Ze]:{component:pt}}})]})}return t})();var fe=(()=>{class t{auth=n(Z);authRedirect=n(Ne);authRedirectStorageService=n(Ie);cmsService=n(M);eventService=n(X);globalMessage=n(q);globalMessageService=n(q);http=n(Te);occEndpoints=n(Oe);winRef=n(Q);wishListService=n(je);semanticPathService=n(Le);liveAnnouncer=n(Ye);translationService=n(De);busy$=new $(!1);textCode$=new $("");isUpdating$=this.busy$.pipe(W(e=>{let i=this.winRef.nativeWindow?.history?.state?.newUid;i&&this.signInForm.patchValue({userId:i}),e===!0?this.signInForm.disable():this.signInForm.enable()}));
1signInForm=new ie({phoneNumber:new c("",{validators:[_.required],updateOn:"blur"}),phonePrefix:new c("",{validators:[_.required],updateOn:"blur"}),phoneCountryISO:new c("",{validators:[],updateOn:"blur"}),password:new c("",[_.required])},{updateOn:"submit"});login(e){if(!this.signInForm.valid){this.signInForm.markAllAsTouched();return}this.busy$.next(!0),this.setRedirectUrl(e),this.authRedirectStorageService.getRedirectUrl().pipe(O(),H(()=>G(this.auth.loginWithCredentials(this.signInForm.value.phonePrefix+this.signInForm.value.phoneNumber,this.signInForm.value.password)).pipe(Y(this.auth.isUserLoggedIn()))),O()).subscribe(([,i])=>this.onSuccess(i))}setRedirectUrl(e){let i="/my-account";(e==="CheckoutLoginPageTemplate"||e==="MultiStepCheckoutSummaryPageTemplate")&&(i=this.semanticPathService.get("checkout")),this.authRedirect.setRedirectUrl(i)}onSuccess(e){this.globalMessage.remove(ee.MSG_TYPE_ERROR),e&&(this.eventService.dispatch({event:"authorization",data:{user:this.signInForm.value.phonePrefix+this.signInForm.value.phoneNumber,type:"login_in"}},ae),this.wishListService.checkAnonymousWishListAndMerge(),this.globalMessage.add({key:"common.successful_login"},ee.MSG_TYPE_CONFIRMATION),this.announceLoginSuccess()),e||(this.busy$.next(!1),this.signInForm.setErrors({incorrect:!0}))}announceLoginSuccess(){this.translationService.translate("common.successful_login").pipe(be(1)).subscribe(e=>{e&&this.liveAnnouncer.announce(e,"polite")})}validatePhoneInput(){return!this.signInForm.get("phoneNumber").valid||!this.signInForm.get("phonePrefix").valid?(this.signInForm.get("phoneNumber").markAsTouched(),this.signInForm.get("phonePrefix").markAsTouched(),!1):!0}doResetPassword(){if(!this.validatePhoneInput())return;this.busy$.next(!0);let e=this.occEndpoints.buildUrl("/passwordRestoreToken"),i=new Pe({"Content-Type":"application/json"});i=Re.createHeader(Me,!0,i),this.http.post(e,{loginId:this.signInForm.value.phonePrefix+this.signInForm.value.phoneNumber},{headers:i}).pipe(O()).subscribe({next:()=>this.onResetSuccess(),error:()=>this.onResetError()})}onResetSuccess(){this.textCode$.next("common.code_was_sent"),this.busy$.next(!1)}onResetError(){this.globalMessageService.add({key:"httpHandlers.unauthorized.common"},ee.MSG_TYPE_ERROR),this.busy$.next(!1)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=xe({token:t,factory:t.\u0275fac})}return t})();function xt(t,C){if(t&1){let e=L();m(0,"trn-link",9),r(1,"cxTranslate"),B("onClick",function(){I(e);let s=u(3);return k(s.showResetPassword())}),l()}t&2&&p("label",a(1,1,"common.send_code"))}function _t(t,C){if(t&1){let e=L();m(0,"p",10),y(1),r(2,"cxTranslate"),l(),m(3,"trn-link",11),r(4,"cxTranslate"),B("onClick",function(){I(e);let s=u(3);return k(s.doResetPassword())}),l()}if(t&2){u(2);let e=P(8);o(),N(a(2,2,e)),o(2),p("label",a(4,4,"common.resend_code"))}}function vt(t,C){if(t&1&&(m(0,"trn-status-message",4),r(1,"cxTranslate"),f(2,xt,2,3,"trn-link",8),f(3,_t,5,6),l()),t&2){u();let e=P(8),i=P(10),s=P(12);p("title",a(1,3,"common.password_recovery")),o(2),h(e===""&&i?2:-1),o(),h(e&&s?3:-1)}}function wt(t,C){if(t&1){let e=L();m(0,"trn-link",12),r(1,"cxTranslate"),B("onClick",function(){I(e);let s=u(2);return k(s.showResetPasswordConfirmation())}),l()}t&2&&p("label",a(1,1,"common.forgot_your_password"))}function St(t,C){t&1&&(m(0,"p",6),y(1),r(2,"cxTranslate"),l()),t&2&&(o(),we(" ",a(2,1,"common.invalid_login")," "))}function yt(t,C){if(t&1){let e=L();m(0,"div")(1,"form",0),B("ngSubmit",function(){I(e);let s=u(),g=P(0);return k(s.submit(g.template))}),d(2,"trn-input-phone",1),r(3,"cxTranslate"),d(4,"trn-input-password",2),r(5,"cxTranslate"),r(6,"cxTranslate"),m(7,"div",3),v(8),r(9,"async"),v(10),r(11,"async"),v(12),r(13,"async"),f(14,vt,4,5,"trn-status-message",4)(15,wt,2,3,"trn-link",5),l(),f(16,St,3,3,"p",6),v(17),r(18,"async"),d(19,"trn-button",7),r(20,"cxTranslate"),l()()}if(t&2){let e=u();o(),p("formGroup",e.form),o(),p("label",a(3,19,"common.phone_number"))("hideErrorsOnFocus",!0)("form",e.form),o(2),p("label",a(5,21,"common.password"))("placeholder",a(6,23,"common.password"))("hideErrorsOnFocus",!0)("withValidation",!0)("showOnlyRequiredError",!0)("form",e.form),o(4);let i=E(a(9,25,e.textCode$));o(2);let s=E(a(11,28,e.isResetPasswordConfirmationVisible$));o(2);let g=E(a(13,31,e.isResetPasswordVisible$));o(2),h(s||g?14:i===""?15:-1),o(2),h(e.form.errors&&e.form.invali
1d?16:-1);let V=a(18,34,e.isUpdating$);o(3),p("label",a(20,36,"common.sign_in"))("icon",V?"custom_spinner":void 0)("iconPlacement","icon-center")("size","medium")("typeSubmit",!0)("disabled",V)("fill",!0)}}var lt=(()=>{class t{service=n(fe);cmsService=n(M);form=this.service.signInForm;isUpdating$=this.service.isUpdating$;page$=this.cmsService.getCurrentPage();textCode$=this.service.textCode$;isResetPasswordConfirmationVisible$=new $(!1);isResetPasswordVisible$=new $(!1);componentData=n(U);data$=this.componentData.data$;submit(e){this.service.login(e)}showResetPassword(){this.isResetPasswordConfirmationVisible$.next(!1),this.isResetPasswordVisible$.next(!0),this.doResetPassword()}showResetPasswordConfirmation(){this.service.validatePhoneInput()&&(this.isResetPasswordVisible$.next(!1),this.isResetPasswordConfirmationVisible$.next(!0))}doResetPassword(){this.service.doResetPassword()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=S({type:t,selectors:[["trn-sign-in-form"]],features:[J([fe])],decls:3,vars:4,consts:[[3,"ngSubmit","formGroup"],["name","phoneNumber","prefixName","phonePrefix",3,"label","hideErrorsOnFocus","form"],["name","password",3,"label","placeholder","hideErrorsOnFocus","withValidation","showOnlyRequiredError","form"],[1,"forgot-password"],["type","info",3,"title"],["size","medium","appearance","button",3,"label"],["role","alert","aria-live","assertive",1,"error-message"],[1,"sign-in-button",3,"label","icon","iconPlacement","size","typeSubmit","disabled","fill"],["size","small","appearance","button",3,"label"],["size","small","appearance","button",3,"onClick","label"],[1,"forgot-password-text"],["id","reset-password","size","small","appearance","button","icon","refresh","iconPlacement","icon-right",3,"onClick","label"],["size","medium","appearance","button",3,"onClick","label"]],template:function(i,s){if(i&1&&(v(0),r(1,"async"),f(2,yt,21,38,"div")),i&2){let g=E(a(1,1,s.page$));o(2),h(g?2:-1)}},dependencies:[re,ne,te,oe,A,Ue,Xe,R,pe,se,T,z],styles:["[_nghost-%COMP%]{display:block}trn-input-password[_ngcontent-%COMP%]{display:block;margin-top:16px}.error-message[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px;color:#e3000f;margin-top:16px}.forgot-password[_ngcontent-%COMP%]{margin:8px 0}.forgot-password[_ngcontent-%COMP%]   .forgot-password-text[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}.sign-in-button[_ngcontent-%COMP%]{display:block;margin-top:32px}@media all and (min-width:992px){.sign-in-button[_ngcontent-%COMP%]{margin-top:48px}}"]})}return t})();var dt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=x({type:t});static \u0275inj=b({providers:[F({cmsComponents:{TrnSignInFormComponent:{component:lt,guards:[Ve]}}})]})}return t})();var Qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=x({type:t});static \u0275inj=b({imports:[ot,mt,dt,st]})}return t})();export{Qi as UserAccountModule};

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.