1import{b as T}from"./chunk-OKPIFA3E.js";import"./chunk-WB4PYEWL.js";import"./chunk-7MWQAEV6.js";import"./chunk-BNQW4SXM.js";import"./chunk-3CLHZZDI.js";import"./chunk-BVNSCYND.js";import{a as E}from"./chunk-ETTTDFJZ.js";import"./chunk-BZVZ5BWR.js";import"./chunk-ZSPMAJOL.js";import"./chunk-BWRUQHPB.js";import"./chunk-3IU77BSD.js";import"./chunk-BV2QQ555.js";import"./chunk-IWECOY4K.js";import"./chunk-2UUDP47Z.js";import"./chunk-7TDLRKJY.js";import"./chunk-G6TSCUPF.js";import"./chunk-23LGZAAN.js";import"./chunk-RHUCFSJQ.js";import"./chunk-NQMHQ5UR.js";import"./chunk-GRUGAR3Z.js";import"./chunk-YX33HTFC.js";import"./chunk-HG5CHN5K.js";import"./chunk-FN2KR7MD.js";import"./chunk-TLBT6NOH.js";import"./chunk-WUUDBKNO.js";import"./chunk-74PBRJ6U.js";import"./chunk-PKUEMAKD.js";import{b as D,e as R}from"./chunk-DJMZWT4N.js";import"./chunk-ZBNCHSP7.js";import"./chunk-BQJY3FMY.js";import"./chunk-DKTYVUZB.js";import"./chunk-ZYY6AL2Y.js";import"./chunk-QKLLASJU.js";import"./chunk-FKUC2CRB.js";import"./chunk-ZNZ7HPSY.js";import"./chunk-TOYGKSYR.js";import"./chunk-E2VIPH2W.js";import"./chunk-VPMZDGQ2.js";import{y as w}from"./chunk-XNZMQTYM.js";import"./chunk-GI65VDHJ.js";import"./chunk-UE6TEYQD.js";import{c as M,d as b}from"./chunk-W5YNDQA3.js";import{b as S}from"./chunk-44UTOCO3.js";import{b as O}from"./chunk-6UPYPU4G.js";import"./chunk-EFVQNVGF.js";import{a as P}from"./chunk-IWSPSW5O.js";import"./chunk-LHG5GHGT.js";import"./chunk-ERR6X27Y.js";import{C as a,Fc as l,Ic as v,Kc as C,L as m,ad as _,b as c,bd as x,ec as g,fc as s,gc as p,hc as h,jb as n,tb as o,uc as f,zb as u}from"./chunk-5UMF6ZTD.js";import"./chunk-EQDQRRRY.js";var Y=(()=>{class r{constructor(t,i,e,d,I){this._deviceDetectorService=t,this._mobileWidthDetectorService=i,this._piwikService=e,this._browserRef=d,this._router=I,this.isMobile=this._deviceDetectorService.isMobile(),this._subscriptions=new c}ngOnInit(){this._subscriptions.add(this._mobileWidthDetectorService.isMobileWidth$.subscribe(t=>this.isMobile=t)),this.initialUserData=this._router.lastSuccessfulNavigation()?.extras?.state}ngAfterViewInit(){this.isMobile&&setTimeout(()=>this._onScroll(),2e3)}ngOnDestroy(){this._subscriptions.unsubscribe()}onPopupClose(){this._piwikService.pushClickPopup(D.REGISTER_FORM,"exit")}_onScroll(){let t=a(this._browserRef.getDocument().querySelector(".popup-outlet-content"),"scroll").pipe(m(20));this._subscriptions.add(t.subscribe(()=>this.isScrolled=this._browserRef.getDocument().querySelector(".register-fieldset").getBoundingClientRect().top<50))}static{this.\u0275fac=function(i){return new(i||r)(o(O),o(S),o(R),o(P),o(w))}}static{this.\u0275cmp=u({type:r,selectors:[["kfc-register"]],decls:9,vars:11,consts:[[1,"singleContent"],[3,"popupClose"],[1,"row"],[1,"col-12"],[1,"form-row","title-form-row"],[1,"col-12","register-title","heading-24"],[3,"initialUserData","isMobile"]],template:function(i,e){i&1&&(s(0,"div",0)(1,"popup-outlet",1),f("popupClose",function(){return e.onPopupClose()}),s(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),v(6),_(7,"translate"),p()(),h(8,"kfc-register-form",6),p()()()()),i&2&&(n(4),l("is-scrolled",e.isMobile&&e.isScrolled),n(),l("font-weight-700",e.isMobile)("font-weight-900",!e.isMobile),n(),C(" ",x(7,9,e.isMobile?"AUTH.REGISTER.TITLE":"AUTH.REGISTER.WELCOME_TO_KFC")," "),n(2),g("initialUserData",e.initialUserData)("isMobile",e.isMobile))},dependencies:[E,T,b,M],styles:["[_nghost-%COMP%] .popup-outlet-dialog{max-width:568px}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .popup-outlet-dialog{max-width:960px}}@media screen and (max-width:767px){[_nghost-%COMP%] .popup-outlet-dialog{max-width:100vw}}[_nghost-%COMP%] .tooltip{width:400px}[_nghost-%COMP%] .tooltip .tooltip-inner{max-width:400px}[_nghost-%COMP%] div.singleContent .register-title{color:#1c1210;padding:48px 100px 0;text-transform:uppercase;font-weight:900}[_nghost-%COMP%] div.singleContent .register-fieldset{padding:16px 0 36px}[_nghost-%COMP%] div.singleContent .register-fieldset .register-fieldset-content{width:368px;margin:0 auto}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] div.singleContent .register-fieldset .register-fieldset-content{padding-left:40px;padding-right:13px}}@media screen and (max-width:767px){[_nghost-%COMP%] div.singleContent .register-fieldset .register-fieldset-content{width:100%}}[_nghost-%COMP%] div.singleContent .checkout-terms .form-group{padding:0}[_nghost-%COMP%] div.singleContent .popup-outlet .popup-outlet-close{z-index:10}@media screen and (max-width:767px){[_nghost-%COMP%] div.singleContent .popup-outlet .popup-outlet-content{padding:56px 24px 0}[_nghost-%COMP%] div.singleContent .popup-outlet .popup-outlet-content .title-form-row{position:fixed;width:100%;height:68px;top:0;left:0;background-color:#fff;padding:20px 24px;z-index:9}[_nghost-%COMP%] div.singleContent .popup-outlet .popup-outlet-content .title-form-row .register-title{color:#000;text-align:left;padding:0;text-transform:capitalize}[_nghost-%COMP%] div.singleContent .popup-outlet .popup-outlet-content .title-form-row.is-scrolled{box-shadow:0 3px 10px #0000001a}}"]})}}return r})();export{Y as RegisterPopupComponent};
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.