1"use strict";(self.webpackChunkalison=self.webpackChunkalison||[]).push([[7201],{1198(b,x,o){o.d(x,{Hv:()=>h,TV:()=>r,qW:()=>M});var C=o(177),F=o(2200),e=o(2615),t=o(3664),n=o(7705),A=o(9417);const N=["*"];let M=(()=>{class s{config;afterChange=(0,n.CGW)();beforeChange=(0,n.CGW)();breakpoint=(0,n.CGW)();destroy=(0,n.CGW)();init=(0,n.CGW)();$instance;currentIndex=0;slides=[];initialized=!1;_removedSlides=[];_addedSlides=[];el=(0,e.WQX)(t.aKT);zone=(0,e.WQX)(t.SKi);isServer=(0,C.Vy)((0,e.WQX)(t.Agw));ngOnDestroy(){this.unslick()}ngAfterViewInit(){this.ngAfterViewChecked()}ngAfterViewChecked(){if(!this.isServer&&(this._addedSlides.length>0||this._removedSlides.length>0)){const a=this.slides.length-this._removedSlides.length+this._addedSlides.length;this.initialized?0===a?this.unslick():(this._addedSlides.forEach(i=>{this.slides.push(i),this.$instance.slick("slickAdd",i.el.nativeElement)}),this._addedSlides=[],this._removedSlides.forEach(i=>{const l=this.slides.indexOf(i);this.slides=this.slides.filter(d=>d!==i),this.$instance.slick("slickRemove",l)}),this._removedSlides=[]):a>0&&this.initSlick()}}initSlick(){this.slides=this._addedSlides,this._addedSlides=[],this._removedSlides=[],this.$instance=jQuery(this.el.nativeElement),this.$instance.on("init",(a,i)=>{this.zone.run(()=>{this.init.emit({event:a,slick:i})})}),this.$instance.slick(this.config),this.zone.run(()=>{this.initialized=!0,this.currentIndex=this.config?.initialSlide||0}),this.$instance.on("afterChange",(a,i,l)=>{this.zone.run(()=>{this.afterChange.emit({event:a,slick:i,currentSlide:l,first:0===l,last:i.$slides.length===l+i.options.slidesToScroll}),this.currentIndex=l})}),this.$instance.on("beforeChange",(a,i,l,d)=>{this.zone.run(()=>{this.beforeChange.emit({event:a,slick:i,currentSlide:l,nextSlide:d}),this.currentIndex=d})}),this.$instance.on("breakpoint",(a,i,l)=>{this.zone.run(()=>{this.breakpoint.emit({event:a,slick:i,breakpoint:l})})}),this.$instance.on("destroy",(a,i)=>{this.zone.run(()=>{this.destroy.emit({event:a,slick:i}),this.initialized=!1})})}addSlide(a){this._addedSlides.push(a)}removeSlide(a){this._removedSlides.push(a)}slickGoTo(a){this.$instance.slick("slickGoTo",a)}slickNext(){this.$instance.slick("slickNext")}slickPrev(){this.$instance.slick("slickPrev")}slickPause(){this.$instance.slick("slickPause")}slickPlay(){this.$instance.slick("slickPlay")}unslick(){this.$instance&&(this.$instance.slick("unslick"),this.$instance=void 0),this.initialized=!1}ngOnChanges(a){if(this.initialized){const i=a.config;if(i.previousValue!==i.currentValue&&void 0!==i.currentValue){const l=i.currentValue.refresh,d=Object.assign({},i.currentValue);delete d.refresh,this.$instance.slick("slickSetOption",d,l)}}}static \u0275fac=function(i){return new(i||s)};static \u0275cmp=t.VBU({type:s,selectors:[["ngx-slick-carousel"]],inputs:{config:"config"},outputs:{afterChange:"afterChange",beforeChange:"beforeChange",breakpoint:"breakpoint",destroy:"destroy",init:"init"},exportAs:["slick-carousel"],standalone:!1,features:[t.Jv_([{provide:A.kq,useExisting:(0,e.Rfq)(()=>s),multi:!0}]),t.OA$],ngContentSelectors:N,decls:1,vars:0,template:function(i,l){1&i&&(t.NAR(),t.SdG(0))},encapsulation:2})}return s})(),h=(()=>{class s{carousel=(0,e.WQX)(M,{host:!0});renderer=(0,e.WQX)(t.sFG);el=(0,e.WQX)(t.aKT);isServer=(0,C.Vy)((0,e.WQX)(t.Agw));ngOnInit(){this.carousel.addSlide(this),this.isServer&&this.carousel.slides.length>0&&this.renderer.setStyle(this.el,"display","none")}ngOnDestroy(){this.carousel.removeSlide(this)}static \u0275fac=function(i){return new(i||s)};static \u0275dir=t.FsC({type:s,selectors:[["","ngxSlickItem",""]],standalone:!1})}return s})(),r=(()=>{class s{static \u0275fac=function(i){return new(i||s)};static \u0275mod=t.$C({type:s});static \u0275inj=e.G2t({imports:[F.MD]})}return s})()},1756(b,x,o){var C,F;o.d(x,{v:()=>C}),(F=C||(C={})).toBoolean=function e(r){switch("string"==typeof r&&(r=r?.toLowerCase()?.trim()),r){case"false":case"no":case"0":case null:case void 0:case!1:return!1;default:return!!r}},F.toCapitalize=function t(r){return r.split("_").map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" ")},F.sanitizeParams=function n(r){return"object"!=typeof r||null===r||(Array.isArray(r)&&(r=r.filter(s=>null!=s)),Object.keys(r).forEach(s=>{const u=r[s];null==u||"object"==typeof u&&0===Object.keys(u).length?delete r[s]:"object"==typeof u&&(r[s]=n(u))})),r},F.isEnumMember=function A(r,s){return Object.values(s).includes(r)},F.appendOrdinal=function N(r){const s=["th","st","nd","rd"],u=r%100;return r+(s[(u-20)%10]||s[u]||s[0])},F.extractYouTubeVideoId=function M(r){const u=r.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return u?u[1]:""},F.getLocale=function h(r,s="en"){try{if(typeof window<"u"&&window.document&&"server"!==r){const a=window.location?.pathname||"",i=["es","en"];for(const l of i)if(a===`/${l}`||a.startsWith(`/${l}/`))return l;return"en"}return s}catch{return s}}},1869(b,x,o){o.d(x,{A:()=>a});var C=o(890),F=o(2200),e=o(3664),t=o(2993),n=o(4668);const A=["*"],N=()=>({className:"achivement-item"}),M=()=>({className:"achivement-mobile-item"});function h(i,l){1&i&&(e.qex(0),e.SdG(1),e.bVm())}function r(i,l){if(1&i&&(e.qex(0),e.j41(1,"div"),e.nrm(2,"i",14),e.j41(3,"span",15),e.PLo(4,2),e.nrm(5,"span",16),e.qex(6),e.nrm(7,"b",17)(8,"span",18),e.bVm(),e.YFu(),e.k0s()(),e.j41(9,"div"),e.nrm(10,"i",19),e.j41(11,"span",15),e.PLo(12,3),e.nrm(13,"span",20),e.qex(14),e.nrm(15,"b",17)(16,"span",18),e.bVm(),e.YFu(),e.k0s()(),e.j41(17,"div"),e.nrm(18,"i",21),e.j41(19,"span",22),e.PLo(20,4),e.nrm(21,"b",16),e.qex(22),e.nrm(23,"span",18),e.bVm(),e.YFu(),e.k0s()(),e.bVm()),2&i){const d=l.ngIf,S=e.XpG().className;e.R7$(),e.HbH(e.VkB("flex items-center mr-2.5 lg:mx-0 justify-center flex-col lg:flex-row ",S)),e.R7$(7),e.uP7((null==d?null:d.al
1isonLearnersNum)??0),e.nnv(4),e.R7$(),e.HbH(e.VkB("flex items-center mx-2.5 lg:mx-0 justify-center flex-col lg:flex-row ",S)),e.R7$(7),e.uP7((null==d?null:d.alisonGraduatesNum)??0),e.nnv(12),e.R7$(),e.HbH(e.VkB("flex items-center ml-2.5 lg:mx-0 justify-center flex-col lg:flex-row ",S)),e.R7$(6),e.uP7((null==d?null:d.alisonCountriesNum)??0),e.nnv(20)}}function s(i,l){if(1&i&&(e.DNE(0,r,24,12,"ng-container",13),e.nI1(1,"async")),2&i){const d=e.XpG();e.Y8G("ngIf",e.bMT(1,1,d.achievements$))}}function u(i,l){if(1&i&&(e.j41(0,"div",23),e.nrm(1,"img",24),e.nI1(2,"cdn"),e.nI1(3,"cdn"),e.k0s()),2&i){const d=e.XpG();e.R7$(),e.Y8G("srcset",e.bMT(2,2,d.trustopilotLink))("src",e.bMT(3,4,d.trustopilotLink),e.B4B)}}let a=(()=>{var i;class l{constructor(S,c){this._baseAPI=S,this._platformId=c,this.hasLeftContent=!1,this.className="",this.isLarge=!1,this.locale="en",this.achievements$=this._baseAPI.achievements.getAchievementStats().pipe((0,n.t)({bufferSize:1,refCount:!0})),this.locale=C.vX.getLocale(this._platformId)||"en"}ngOnInit(){this.trustopilotLink="es"===this.locale?"/ssr/assets/images/about/how-alison-works/stats-trustpilot-es.png":"/ssr/assets/images/achievements/achievements-trustpilot-en.svg"}static#t=i=()=>(this.\u0275fac=function(c){return new(c||l)(e.rXU(C.dB),e.rXU(e.Agw))},this.\u0275cmp=e.VBU({type:l,selectors:[["app-achivements-bar"]],inputs:{hasLeftContent:"hasLeftContent",className:"className",isLarge:"isLarge"},ngContentSelectors:A,decls:13,vars:10,consts:()=>{let S,c,m;return S="" + "\ufffd#5\ufffd" + " " + "\ufffd0\ufffd" + " " + "[\ufffd/#5\ufffd|\ufffd/#8\ufffd]" + "" + "\ufffd#6\ufffd" + "" + "\ufffd#7\ufffd" + "Million+" + "\ufffd/#7\ufffd" + "" + "\ufffd#8\ufffd" + "Learners" + "[\ufffd/#5\ufffd|\ufffd/#8\ufffd]" + "" + "\ufffd/#6\ufffd" + "",S=e.k04(S),c="" + "\ufffd#13\ufffd" + " " + "\ufffd0\ufffd" + " " + "[\ufffd/#13\ufffd|\ufffd/#16\ufffd]" + "" + "\ufffd#14\ufffd" + "" + "\ufffd#15\ufffd" + "Million+" + "\ufffd/#15\ufffd" + "" + "\ufffd#16\ufffd" + "Graduates" + "[\ufffd/#13\ufffd|\ufffd/#16\ufffd]" + "" + "\ufffd/#14\ufffd" + "",c=e.k04(c),m="" + "\ufffd#21\ufffd" + " " + "\ufffd0\ufffd" + " " + "\ufffd/#21\ufffd" + "" + "\ufffd#22\ufffd" + "" + "\ufffd#23\ufffd" + "Countries" + "\ufffd/#23\ufffd" + "" + "\ufffd/#22\ufffd" + "",[["achivementItems",""],["leftContent",""],S,c,m,[1,"achivements-bar","flex","items-center","justify-center"],[1,"achievements-bar-container","max-w-alison","flex","flex-col","lg:flex-row","items-center","justify-between","px-6","md:px-10","lg:px-22","w-full"],[1,"trustpilot-rating","mr-0","md:mr-6","lg:mr-10","md:py-2","lg:py-0","py-4"],[4,"ngIf","ngIfElse"],[1,"right-separator","hidden","lg:block"],[1,"achivement-items-container","hidden","lg:flex","md:flex-row","items-center","justify-between","w-full","py-0"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mobile-achivement-items-container","flex","lg:hidden","md:flex-row","items-center","justify-between","w-full","pb-5"],[4,"ngIf"],[1,"alison-icon-lg","achievement-icon","lg:mr-2","icon-user-group"],[1,"text-center","achievement-result"],[1,"mr-1","font-bold"],[1,"md:mr-1"],[1,"block","md:inline"],[1,"alison-icon-lg","achievement-icon","lg:mr-2","icon-graduation-cap"],[1,"font-bold"],[1,"alison-icon-lg","achievement-icon","lg:mr-2","icon-globe","country-icon-tmpl"],[1,"text-center","achievement-result","md:px-1","lg:px-0"],[1,"trustpilot-div","pr-0","md:pr-7","lg:pr-12"],["title","Rate us on Trustpilot","alt","Rating on Trustpilot",1,"px-6","lg:px-0",3,"srcset","src"]]},template:function(c,m){if(1&c&&(e.NAR(),e.j41(0,"div",5)(1,"div",6)(2,"div",7),e.DNE(3,h,2,0,"ng-container",8),e.nrm(4,"div",9),e.k0s(),e.j41(5,"div",10),e.eu8(6,11),e.k0s(),e.j41(7,"div",12),e.eu8(8,11),e.k0s()()(),e.DNE(9,s,2,3,"ng-template",null,0,e.C5r)(11,u,4,6,"ng-template",null,1,e.C5r)),2&c){const T=e.sdS(10),E=e.sdS(12);e.HbH(m.className),e.R7$(3),e.Y8G("ngIf",m.hasLeftContent)("ngIfElse",E),e.R7$(3),e.Y8G("ngTemplateOutlet",T)("ngTemplateOutletContext",e.lJ4(8,N)),e.R7$(2),e.Y8G("ngTemplateOutlet",T)("ngTemplateOutletContext",e.lJ4(9,M))}},dependencies:[F.bT,F.T3,F.MD,F.Jj,t.w],styles:['.achivements-bar[_ng
1content-%COMP%]{min-height:62px;background-color:#0b2441;color:#fff}.achivements-bar[_ngcontent-%COMP%] .trustpilot-rating[_ngcontent-%COMP%]{min-width:357px;position:relative}.achivements-bar[_ngcontent-%COMP%] .trustpilot-rating[_ngcontent-%COMP%] .right-separator[_ngcontent-%COMP%]{content:"";width:1px;height:140%;top:-20%;position:absolute;background-color:#bebebe;right:0}.achivements-bar[_ngcontent-%COMP%] .trustpilot-rating[_ngcontent-%COMP%] .left-content[_ngcontent-%COMP%]{color:#fff;font-family:var(--ng-alison-font-family),sans-serif;font-size:16px;font-style:normal;font-weight:700;line-height:150%}.achivements-bar[_ngcontent-%COMP%] .achievement-icon[_ngcontent-%COMP%]{opacity:.6}@media (max-width: 768px){.achivements-bar[_ngcontent-%COMP%] .achievement-icon[_ngcontent-%COMP%]{width:32px;height:32px}.achivements-bar[_ngcontent-%COMP%] .achievement-icon.country-icon-tmpl[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.achivements-bar[_ngcontent-%COMP%] .achievement-icon.country-icon-tmpl[_ngcontent-%COMP%]:before{font-size:23px}}.achivements-bar[_ngcontent-%COMP%] .achievement-result[_ngcontent-%COMP%]{color:#fff;font-family:Roboto;font-size:18px;font-style:normal;font-weight:400;line-height:28px}.achivements-bar[_ngcontent-%COMP%] .achievement-result[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 768px){.achivements-bar[_ngcontent-%COMP%] .achievement-result[_ngcontent-%COMP%]{font-size:14px;line-height:20px;padding:2px 9px}}.achivements-bar[_ngcontent-%COMP%] .achivement-mobile-item[_ngcontent-%COMP%]{height:84px;width:100%;background-color:#ffffff20;border-radius:12px}.gift-cards-banner[_ngcontent-%COMP%] .achievements-bar-container[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.trustpilot-div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:368px}'],changeDetection:0}))}return i(),l})()},4587(b,x,o){o.d(x,{V:()=>i});var C=o(890),F=o(177),e=o(2615),t=o(2200),n=o(3664),A=o(9079),N=o(1807),M=o(5558),h=o(5964),r=o(467);let s=(()=>{var l;class d{constructor(){this.queue=[],this.processing=!1}enqueue(c){this.queue.push(()=>Promise.resolve(c())),this.processQueue()}processQueue(){var c=this;return(0,r.A)(function*(){if(c.processing||!c.queue.length)return;c.processing=!0;const m=c.queue.shift();try{yield m()}catch(T){console.error("Adsense queue error:",T)}setTimeout(()=>{c.processing=!1,c.processQueue()},150)})()}static#t=l=()=>(this.\u0275fac=function(m){return new(m||d)},this.\u0275prov=e.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}))}return l(),d})();const u=["adsContainerRef"];function a(l,d){if(1&l&&(n.j41(0,"div",2),n.nrm(1,"div",3,0),n.k0s()),2&l){const S=n.XpG();n.Aen(S.outerStyles),n.R7$(),n.xc7("top",S.stickyTop),n.AVh("ad-sticky","fixed"===S.adFormat),n.Y8G("ngClass",S.panelClass||""),n.BMQ("id",S.id)}}let i=(()=>{var l;class d{get outerStyles(){return this.defaultStyles[this.fromExistingCSS]?.outher||this.cssStyle?.outher||""}constructor(c,m,T,E){this._platformID=c,this._document=m,this._coreProviders=T,this._adsenseQueue=E,this.adSlot=5771925601,this.adFormat="fixed",this.panelClass="",this.destroyRef=(0,e.WQX)(e.abz),this.defaultStyles={underHeader:{outher:"width: 100%; height: 124px; padding: 16px 0",inner:"display: block; width: 728px; height: 92px; margin: 0 auto"},underContent:{outher:"width: 100%; height: 124px; padding: 16px 0",inner:"display: block; width: 728px; height: 92px; margin: 0 auto"},rightFixed:{outher:"width: 174px; min-width: 174px; height: 100%",inner:"display:inline-block;width:150px;height:600px;margin:12px"}},this.stickyTop="auto"}ngAfterViewInit(){(0,F.UE)(this._platformID)&&(this.id=`id-${Math.random().toString(36).substring(2,9)}-inner`,"fixed"===this.adFormat&&(this.stickyTop="var(--alison-header-height, 72px)"),(0,N.O)(1e3).pipe((0,A.pQ)(this.destroyRef),(0,M.n)(()=>this.showAds()),(0,h.p)(c=>c)).subscribe(()=>{this._adsenseQueue.enqueue(()=>{this._createAd()})}))}showAds(){return this._coreProviders.app.getShowAds()}_createAd(){return new Promise(c=>{let m=this.cssStyle?.inner;this.fromExistingCSS&&this.defaultStyles[this.fromExistingCSS]&&(m=this.defaultStyles[this.fromExistingCSS].inner);const T=this.adsContainerRef?.nativeElement;if(!T)return void c();const E={id:this.id,class:"adsbygoogle","data-ad-client":"ca-pub-4877892089121284","data-ad-slot":this.adSlot,"data-ad-format":this.adFormat,style:m},D=this._document.createElement("ins");for(const y in E)D.setAttribute(y,`${E[y]}`);T.appendChild(D);const P=this._document.defaultView;P?(P.adsbygoogle=P.adsbygoogle||[],requestAnimationFrame(()=>{try{P.adsbygoogle.push({})}catch(y){console.error("AdSense Initialization Error:",y)}setTimeout(()=>{c()},100)})):c()})}static#t=l=()=>(this.\u0275fac=function(m){return new(m||d)(n.rXU(n.Agw),n.rXU(e.qQL),n.rXU(C.Dc),n.rXU(s))},this.\u0275cmp=n.VBU({type:d,selectors:[["google-adsense"]],viewQuery:function(m,T){if(1&m&&n.GBs(u,5),2&m){let E;
1n.mGM(E=n.lsd())&&(T.adsContainerRef=E.first)}},inputs:{adSlot:"adSlot",adFormat:"adFormat",cssStyle:"cssStyle",fromExistingCSS:"fromExistingCSS",panelClass:"panelClass"},decls:2,vars:3,consts:[["adsContainerRef",""],["class","ad-outher-container",3,"style",4,"ngIf"],[1,"ad-outher-container"],[1,"w-full",3,"ngClass"]],template:function(m,T){1&m&&(n.DNE(0,a,3,8,"div",1),n.nI1(1,"async")),2&m&&n.Y8G("ngIf",n.bMT(1,1,T.showAds()))},dependencies:[t.bT,t.YU,t.Jj],styles:["[_nghost-%COMP%]{width:100%}.ad-sticky[_ngcontent-%COMP%]{position:sticky}"]}))}return l(),d})()},4773(b,x,o){o.d(x,{c:()=>M});var C=o(2200),F=o(4587),e=o(3664);const t=["*"];function n(h,r){if(1&h&&(e.j41(0,"div",6),e.nrm(1,"google-adsense",7),e.k0s()),2&h){const s=e.XpG();e.R7$(),e.Y8G("adSlot",s.topAdSlot)("fromExistingCSS","underHeader")("adFormat","horizontal")}}function A(h,r){if(1&h&&(e.j41(0,"div",8),e.nrm(1,"google-adsense",7),e.k0s()),2&h){const s=e.XpG();e.R7$(),e.Y8G("adSlot",s.bottomAdSlot)("fromExistingCSS","underContent")("adFormat","horizontal")}}function N(h,r){if(1&h&&(e.j41(0,"div",9),e.nrm(1,"google-adsense",10),e.k0s()),2&h){const s=e.XpG();e.R7$(),e.Y8G("adSlot",s.rightAdSlot)("fromExistingCSS","rightFixed")("panelClass","hidden xl:flex")}}let M=(()=>{var h;class r{constructor(){this.topAd=!0,this.bottomAd=!1,this.rightAd=!0,this.topAdSlot=5771925601,this.bottomAdSlot=5771925601,this.rightAdSlot=5771925601}static#t=h=()=>(this.\u0275fac=function(a){return new(a||r)},this.\u0275cmp=e.VBU({type:r,selectors:[["app-landing-page-template"]],inputs:{topAd:"topAd",bottomAd:"bottomAd",rightAd:"rightAd",topAdSlot:"topAdSlot",bottomAdSlot:"bottomAdSlot",rightAdSlot:"rightAdSlot"},ngContentSelectors:t,decls:7,vars:3,consts:[[1,"landing-page-outer-container","flex","w-full"],[1,"landing-page-inner-container","w-full"],["class","ads-container-top",4,"ngIf"],[1,"landing-page-container"],["class","ads-container-bottom",4,"ngIf"],["class","ads-container-right hidden xl:flex",4,"ngIf"],[1,"ads-container-top"],[3,"adSlot","fromExistingCSS","adFormat"],[1,"ads-container-bottom"],[1,"ads-container-right","hidden","xl:flex"],[3,"adSlot","fromExistingCSS","panelClass"]],template:function(a,i){1&a&&(e.NAR(),e.j41(0,"div",0)(1,"div",1),e.DNE(2,n,2,3,"div",2),e.j41(3,"div",3),e.SdG(4),e.k0s(),e.DNE(5,A,2,3,"div",4),e.k0s(),e.DNE(6,N,2,3,"div",5),e.k0s()),2&a&&(e.R7$(2),e.Y8G("ngIf",i.topAd),e.R7$(3),e.Y8G("ngIf",i.bottomAd),e.R7$(),e.Y8G("ngIf",i.rightAd))},dependencies:[C.bT,F.V],styles:[".ads-container-top[_ngcontent-%COMP%], .ads-container-right[_ngcontent-%COMP%], .ads-container-bottom[_ngcontent-%COMP%]{background-color:#f7f7f7}.landing-page-container[_ngcontent-%COMP%]{background-color:var(--text-contrast)}.ads-container-top[_ngcontent-%COMP%], .ads-container-bottom[_ngcontent-%COMP%]{max-height:124px;height:124px;display:flex;overflow:hidden;justify-content:center}.ads-container-right[_ngcontent-%COMP%]{min-width:170px}"],changeDetection:0}))}return h(),r})()},7201(b,x,o){o.d(x,{GamificationNonAlisonUsersModule:()=>B});var C=o(2200),F=o(8132),e=o(890),t=o(3664),n=o(8834),A=o(4773),N=o(1869),M=o(8569),h=o(2993);const r=g=>({"background-color":g});function s(g,p){if(1&g&&(t.j41(0,"div",2)(1,"div",3),t.nrm(2,"img",4),t.nI1(3,"cdn"),t.k0s(),t.j41(4,"div",5)(5,"div",6),t.EFF(6),t.k0s(),t.j41(7,"div",7),t.EFF(8),t.k0s(),t.j41(9,"a",8),t.EFF(10),t.k0s()()()),2&g){const f=t.XpG();t.Y8G("ngStyle",t.eq3(12,r,f.gamificationTool.bgColor)),t.R7$(),t.xc7("border",f.gamificationTool.border),t.R7$(),t.Y8G("src",t.mNQ(f.gamificationTool.imgUrl),t.B4B)("src",t.bMT(3,10,f.gamificationTool.imgUrl),t.B4B),t.R7$(4),t.SpI(" ",f.gamificationTool.title," "),t.R7$(2),t.SpI(" ",f.gamificationTool.description," "),t.R7$(),t.Y8G("href",f.gamificationTool.btnLink,t.B4B),t.R7$(),t.JRh(f.gamificationTool.btnText)}}function u(g,p){if(1&g&&(t.j41(0,"div",9)(1,"div",10),t.EFF(2),t.k0s(),t.j41(3,"div",11),t.EFF(4),t.k0s(),t.nrm(5,"img",12),t.nI1(6,"cdn"),t.j41(7,"a",8),t.EFF(8),t.k0s()()),2&g){const f=t.XpG();t.Y8G("ngStyle",t.eq3(10,r,f.gamificationTool.bgColor)),t.R7$(2),t.SpI(" ",f.gamificationTool.title," "),t.R7$(2),t.SpI(" ",f.gamificationTool.description," "),t.R7$(),t.Y8G("src",t.mNQ(f.gamificationTool.imgUrl),t.B4B)("src",t.bMT(6,8,f.gamificationTool.imgUrl),t.B4B),t.R7$(2),t.Y8G("href",f.gamificationTool.btnLink,t.B4B),t.R7$(),t.JRh(f.gam
1ificationTool.btnText)}}let a=(()=>{var g;class p{static#t=g=()=>(this.\u0275fac=function(_){return new(_||p)},this.\u0275cmp=t.VBU({type:p,selectors:[["app-gamification-tool"]],inputs:{gamificationTool:"gamificationTool",isMobile$:"isMobile$"},decls:4,vars:4,consts:[["desktopVersion",""],["class","gamification-tool-wrapper-mobile flex flex-col items-center text-center px-4",3,"ngStyle",4,"ngIf","ngIfElse"],[1,"gamification-tool-wrapper","md:flex","justify-center","items-center",3,"ngStyle"],[1,"left-part"],["alt","gif",1,"gift",3,"src"],[1,"right-part","md:py-18","md:mx-14"],[1,"title","font-black","md:alison-heading","alison-h3","mb-6"],[1,"description","alison-body-secondary","mb-6"],["mat-flat-button","",1,"start-btn","bg-alison-button-green","alison-button","alison-button-lg",3,"href"],[1,"gamification-tool-wrapper-mobile","flex","flex-col","items-center","text-center","px-4",3,"ngStyle"],[1,"title","font-black","alison-h3","mb-4","mt-6"],[1,"description","alison-body-secondary","mb-4"],["alt","gif",1,"gift","mb-4",3,"src"]],template:function(_,v){if(1&_&&(t.DNE(0,s,11,14,"ng-template",null,0,t.C5r)(2,u,9,12,"div",1),t.nI1(3,"async")),2&_){const I=t.sdS(1);t.R7$(2),t.Y8G("ngIf",t.bMT(3,2,v.isMobile$))("ngIfElse",I)}},dependencies:[n.Hl,n.$z,C.B3,C.bT,C.Jj,h.w],styles:[".gamification-tool-wrapper[_ngcontent-%COMP%]{border-radius:52px;width:1080px;margin:0 auto;position:relative;display:flex;justify-content:flex-end;align-items:center}.gamification-tool-wrapper[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{border:20px solid #ffeab6;border-radius:83px;position:absolute;left:0}.gamification-tool-wrapper[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .gift[_ngcontent-%COMP%]{width:450px;height:420px;border:20px solid white;border-radius:72px}.gamification-tool-wrapper[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{max-width:506px;max-height:424px;color:#343c41}.gamification-tool-wrapper[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .gamification-tool-wrapper[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{line-height:150%}.gamification-tool-wrapper[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .start-btn[_ngcontent-%COMP%]{padding:12px 60px;background:#009b5d;color:#fff;border-radius:8px}@media only screen and (max-width: 768px){.gamification-tool-wrapper-mobile[_ngcontent-%COMP%]{width:100%;height:608px;padding-bottom:24px}.gamification-tool-wrapper-mobile[_ngcontent-%COMP%] .gift[_ngcontent-%COMP%]{width:272px;height:248px;border:12px solid white;border-radius:42px}.gamification-tool-wrapper-mobile[_ngcontent-%COMP%] .start-btn[_ngcontent-%COMP%]{padding:12px 60px;background:#009b5d;color:#fff;border-radius:8px}}"]}))}return g(),p})();var i=o(1198),l=o(6354),d=o(3294),S=o(980),c=o(1756),m=o(2615),T=o(4330);const E=["carouselRef"];function D(g,p){if(1&g&&(t.j41(0,"div",22),t.nrm(1,"app-gamification-tool",23),t.k0s()),2&g){const f=p.$implicit,O=t.XpG(2);t.R7$(),t.Y8G("isMobile$",O.isMobile$)("gamificationTool",f)}}function P(g,p){if(1&g){const f=t.RV6();t.j41(0,"div",19)(1,"div")(2,"ngx-slick-carousel",20,0),t.bIt("init",function(){m.eBV(f);const _=t.XpG();return m.Njj(_.onCarouselInit())}),t.DNE(4,D,2,2,"div",21),t.k0s()()()}if(2&g){const f=t.XpG();t.R7$(),t.AVh("invisible",!f.isCarouselInitialized),t.R7$(),t.Y8G("config",f.SliderConfig),t.R7$(2),t.Y8G("ngForOf",f.gamificationTools)}}function y(g,p){if(1&g&&(t.j41(0,"div",24)(1,"div",25),t.pXf(2,4),t.k0s(),t.nrm(3,"app-faqs",26),t.j41(4,"div",27)(5,"a",28),t.pXf(6,5),t.k0s()()()),2&g){const f=t.XpG();t.R7$(3),t.Y8G("faqs",f.faqs),t.R7$(2),t.Y8G("href",f.achievementsFAQsUrl,t.B4B)}}const L=[...e.W_.mapToRoute([""],{component:(()=>{var g;class p{constructor(O,_,v,I){this._breakpointObserver=O,this._baseAPI=_,this._coreProviders=v,this._platformId=I,this.isCarouselInitialized=!1,this.gamificationTools=[],this.SliderConfig={slidesToScroll:1,slidesToShow:1,dots:!0,arrows:!0,variableWidth:!0,infinite:!0,responsive:[{breakpoint:768,settings:{arrows:!1,centerMode:!1,variableWidth:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,dots:!0}}]},this.achievementsUrl="/achievements",this.achievementsFAQsUrl="/achievements/FAQs",this.locale=c.v.getLocale(this._platformId),this.topFoldURL="es"===this.locale?"/ssr/assets/images/gamification-non-alison/TopFold_GameLP-es.gif":"/ssr/assets/images/gamification-non-alison/TopFold_GameLP.gif",this.isMobile$=this._breakpointObserver.observe(["(max-width: 767px)"]).pipe((0,l.T)(R=>R.matches),(0,d.F)())}ngOnInit(){this._getFAQs(),this.achievementsUrl="es"===this.locale?"/es/achievements":"/achievements",this.achievementsFAQsUrl="es"===this.locale?"/es/achievements/FAQs":"/achievements/FAQs"}ngAfterViewInit(){this._coreProviders.loading.on(),this.gamificationTools=[{title:"Keep your learning Streak, Show It Off",description:"A learning Streak helps you build consistent study habits, turning daily learning into a rewarding routine.\n Gain a Streak for every day you learn on Alison, or lose it all by missing a day.\n But you wouldn\u2019t want to miss it, because others will be showing their Streak off!",btnText:"Start Your Streak",btnLink:"es"===this.locale?"/es/achievements":"/achievements",bgColor:"#FFEAB6",border:"20px solid #ffeab6",imgUrl:"es"===this.locale?"/ssr/assets/images/gamification-non-alison/learning_streak-es.gif":"/ssr/assets/images/gamification-non-alison/learning_streak.gif"},{title:"Collect XPs, Quantify Your Progress",description:"Showcase your dedication to your learning and development with XPs (experience points).\n Collect XPs for your learning activity on Alison.\n The more you learn, the more XPs you collect.",btnText:"Collect XPs",btnLink:"es"===this.locale?"/es/achievements":"/achievements",bgColor:"#FFDB44",border:"20px solid #FFDB44",imgUrl:"es"===this.locale?"/ssr/assets/images/gamification-non-alison/boost-es.gif":"/ssr/assets/images/gamification-non-alison/boost.gif"}
1,{title:"Climb The Leaderboard, Reach New Heights",description:"Enjoy some friendly competition with other Learners on the Alison Leaderboard.\n Compete locally and globally, and make your way to the top with the XPs you have earned.\n Enrol in any course to start earning XPs and join the Leaderboard.",btnText:"Climb The Leaderboard",btnLink:"es"===this.locale?"/es/achievements":"/achievements",bgColor:"#B1E2F1",border:"20px solid #B1E2F1",imgUrl:"es"===this.locale?"/ssr/assets/images/gamification-non-alison/leaderboard.gif":"/ssr/assets/images/gamification-non-alison/leaderboard-es.gif"}]}onCarouselInit(){this.isCarouselInitialized=!0,this._coreProviders.loading.off()}_getFAQs(){const O=this._coreProviders.loading.on();this._baseAPI.general.getGamificationNonAlisonUsersFAQs({type:"aptitude"}).pipe((0,S.j)(()=>this._coreProviders.loading.off(O))).subscribe({next:_=>{this.faqs=_.data.faqs},error:_=>{console.error("Failed to fetch FAQs:",_)}})}static#t=g=()=>(this.\u0275fac=function(_){return new(_||p)(t.rXU(T.Q),t.rXU(e.dB),t.rXU(e.Dc),t.rXU(t.Agw))},this.\u0275cmp=t.VBU({type:p,selectors:[["app-gamification-non-alison-users"]],viewQuery:function(_,v){if(1&_&&t.GBs(E,5),2&_){let I;t.mGM(I=t.lsd())&&(v.carouselRef=I.first)}},decls:21,vars:16,consts:()=>{let O,_,v,I,R;return O=" The fun and effective way to upskill and get your dream job! ",_=" Introducing XPs, Leaderboards and Streaks to make your learning experience rewarding and engaging. Now, earn points for different learning activities and empower yourself while having a little bit of fun! ",v="Start Gamified Learning",I=" Frequently Asked Questions ",R=" View All FAQs ",[["carouselRef",""],O,_,v,I,R,[3,"topAd"],[1,"bg-gradient-to-r","from-sky-200","via-sky-50","to-yellow-100","gamification-first-fold","flex","flex-col","md:flex-row","items-center","justify-center","mx-auto"],[1,"first-fold-left"],[1,"description-title","md:text-left","mx-auto","md:mx-0","text-center","font-black","md:alison-heading","alison-h3","md:mb-3","mb-4"],[1,"description","md:alison-body-secondary","md:font-normal","mx-auto","md:mx-0","md:text-left","text-center","md:mb-9","mb-4"],[1,"mx-auto","md:mx-0","w-fit","md:mb-0","mb-10","h-10"],["mat-flat-button","",1,"start-btn","bg-alison-button-green","alison-button","alison-button-lg",3,"href"],[1,"first-fold-right"],["alt","Gamification First Fold",1,"md:block","hidden",3,"src"],["alt","Gamification First Fold",1,"md:hidden","block",3,"src"],[1,"max-w-alison","mx-auto"],["class","max-w-alison mx-auto md:py-18",4,"ngIf"],["class","max-w-alison mx-auto md:pb-18 md:px-30 pb-6 px-6",4,"ngIf"],[1,"max-w-alison","mx-auto","md:py-18"],[1,"slick-default","gamification-non-alison-users",3,"init","config"],["class","rounded-xl w-full md:w-auto slick-item-wrapper","ngxSlickItem","",4,"ngFor","ngForOf"],["ngxSlickItem","",1,"rounded-xl","w-full","md:w-auto","slick-item-wrapper"],[3,"isMobile$","gamificationTool"],[1,"max-w-alison","mx-auto","md:pb-18","md:px-30","pb-6","px-6"],[1,"mb-7","font-black","md:alison-h1","alison-h3","leading-[1.5]"],[3,"faqs"],[1,"mt-6","md:mt-12","mx-auto","text-center"],[1,"alison-body-secondary","alison-primary","underline","font-bold","view-less-more",3,"href"]]},template:function(_,v){1&_&&(t.j41(0,"app-landing-page-template",6)(1,"div",7)(2,"div",8)(3,"div",9),t.pXf(4,1),t.k0s(),t.j41(5,"div",10),t.pXf(6,2),t.k0s(),t.j41(7,"div",11)(8,"a",12),t.pXf(9,3),t.k0s()()(),t.j41(10,"div",13),t.nrm(11,"img",14),t.nI1(12,"cdn"),t.nI1(13,"cdn"),t.nrm(14,"img",15),t.nI1(15,"cdn"),t.nI1(16,"cdn"),t.k0s()(),t.j41(17,"div",16),t.nrm(18,"app-achivements-bar"),t.k0s(),t.DNE(19,P,5,4,"div",17)(20,y,7,2,"div",18),t.k0s()),2&_&&(t.Y8G("topAd",!1),t.R7$(8),t.Y8G("href",v.achievementsUrl,t.B4B),t.R7$(3),t.Y8G("src",t.bMT(12,8,v.topFoldURL),t.B4B)("src",t.bMT(13,10,v.topFoldURL),t.B4B),t.R7$(3),t.Y8G("src",t.bMT(15,12,"/ssr/assets/images/gamification-non-alison/topfold-mobile.gif"),t.B4B)("src",t.bMT(16,14,"/ssr/assets/images/gamification-non-alison/topfold-mobile.gif"),t.B4B),t.R7$(5),t.Y8G("ngIf",v.gamificationTools.length>0),t.R7$(),t.Y8G("ngIf",v.faqs&&v.faqs.length>0))},dependencies:[A.c,n.Hl,n.$z,N.A,i.TV,i.qW,i.Hv,a,C.Sq,M.F,C.bT,h.w],styles:[".gamification-first-fold[_ngcontent-%COMP%]{max-width:1366px}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%]{padding:100px 0 100px 140px}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%] .description-title[_ngcontent-%COMP%]{max-width:400px;line-height:150%;vertical-align:middle;color:#343c41}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:400px;font-weight:400;line-height:150%;vertical-align:middle}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%] .start-btn[_ngcontent-%COMP%]{width:288px;margin-top:20px;background:#009b5d;color:#fff;border-radius:8px}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:808px;height:550px}.slick-item-wrapper[_ngcontent-%COMP%]{height:464px;width:1080px;display:flex;justify-content:center;align-items:center}.invisible[_ngcontent-%COMP%]{visibility:hidden}@media only screen and (max-width: 768px){.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%]{width:312px;padding:0;margin:28px auto 0}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%] .start-btn[_ngcontent-%COMP%]{height:40px}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-left[_ngcontent-%COMP%] .description-title[_ngcontent-%COMP%]{max-width:312px}.gamification-first-fold[_ngcontent-%COMP%] .first-fold-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:unset;width:unset}.slick-item-wrapper[_ngcontent-%COMP%]{height:unset}}"]}))}return g(),p})()})];let w=(()=>{var g;class p{static#t=g=()=>(this.\u0275fac=function(_){return new(_||p)},this.\u0275mod=t.$C({type:p}),this.\u0275inj=m.G2t({imports:[F.iI.forChild(L),F.iI]}))}return g(),p})(),B=(()=>{var g;class p{static#t=g=()=>(this.\u0275fac=function(_){return new(_||p)},this.\u0275mod=t.$C({type:p}),this.\u0275inj=m.G2t({imports:[C.MD,w]}))}return g(),p})()},8569(b,x,o){o.d(x,{F:()=>h});var C=o(890),F=o(177),e=o(2615),t=o(2200),n=o(3664),A=o(9454),N=o(5833);function M(r,s){if(1&r&&(n.j41(0,"mat-expansion-panel",4,0)(2,"mat-expansion-panel-header",5)(3,"div",6),n.EFF(4),n.nrm(5,"i",7),n.k0s()(),n.nrm(6,"div",8),n.nI1(7,"sanitize"),n.k0s()),2&r){const u=s.$implicit,a=s.index,i=n.sdS(1);n.Y8G("expanded",!a),n.R7$(2),n.Y8G("collapsedHeight","auto")("expandedHeight","auto"),n.R7$(),n.AVh("faq-header-opened",i.expanded),n.R7$(),n.Sp
1I(" ",u.question," "),n.R7$(),n.AVh("icon-plus",!i.expanded)("icon-minus1",i.expanded),n.R7$(),n.Y8G("innerHTML",n.bMT(7,11,u.answer),n.npT)}}let h=(()=>{var r;class s{get faqs(){return this._faqs}set faqs(a){this._faqs=a,a&&(this.faqsSchema=C.Qn.generateFAQsScheme(a),this.faqsSchema&&!(0,F.UE)(this._patformId)&&this.insertFAQsSchemaIntoDocument())}constructor(a,i,l){this._renderer=a,this._document=i,this._patformId=l,this.color="secondary"}insertFAQsSchemaIntoDocument(){const a=this._renderer.createElement("script");a.type="application/ld+json",a.text=JSON.stringify(this.faqsSchema),this._renderer.appendChild(this._document.body,a)}static#t=r=()=>(this.\u0275fac=function(i){return new(i||s)(n.rXU(n.sFG),n.rXU(e.qQL),n.rXU(n.Agw))},this.\u0275cmp=n.VBU({type:s,selectors:[["app-faqs"]],inputs:{color:"color",faqs:"faqs"},decls:3,vars:10,consts:[["panel",""],[1,"faqs"],[3,"hideToggle"],["class","mat-elevation-z0 border-t-0 md:border-solid",3,"expanded",4,"ngFor","ngForOf"],[1,"mat-elevation-z0","border-t-0","md:border-solid",3,"expanded"],[3,"collapsedHeight","expandedHeight"],[1,"faq-header","font-bold","w-full","alison-caption","md:alison-body-secondary","py-3","md:py-0","px-0","flex","items-center","justify-between","text-color"],[1,"text-color","ml-12"],[1,"pb-6","text-color","alison-small","md:alison-body-secondary","pr-6","md:pr-10","md:pl-0","faq-body",3,"innerHTML"]],template:function(i,l){1&i&&(n.j41(0,"div",1)(1,"mat-accordion",2),n.DNE(2,M,8,13,"mat-expansion-panel",3),n.k0s()()),2&i&&(n.AVh("mat-secondary","secondary"===l.color)("mat-primary","primary"===l.color)("mat-accent","accent"===l.color)("mat-warn","warn"===l.color),n.R7$(),n.Y8G("hideToggle",!0),n.R7$(),n.Y8G("ngForOf",l.faqs))},dependencies:[t.Sq,A.MY,A.BS,A.GK,A.Z2,N.a],styles:[".faqs.mobile-border[_ngcontent-%COMP%]{border-top-color:#b3bdc0}.faqs[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-bottom:1px solid #B3BDC0;border-radius:0;margin-bottom:0!important;margin-top:0!important;background-color:transparent}.faqs[_ngcontent-%COMP%] .faq-header-opened[_ngcontent-%COMP%]{color:var(--active-color)}.faqs[_ngcontent-%COMP%] .mat-expansion-panel-header{padding:0!important;min-height:54px}.faqs[_ngcontent-%COMP%] .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:unset!important}.faqs[_ngcontent-%COMP%] .mat-expansion-panel-header:hover:not([aria-disabled=true]) .faq-header{color:var(--active-color);cursor:pointer}.faqs[_ngcontent-%COMP%] .mat-expansion-panel-header .mat-content.mat-content-hide-toggle{margin-right:0}.faqs[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0!important}.faq-body[_ngcontent-%COMP%] p{font-size:inherit!important;font-family:inherit!important}.faq-body[_ngcontent-%COMP%] a{color:var(--active-color);text-decoration:underline;cursor:pointer}.faq-body[_ngcontent-%COMP%] *{max-width:100%}.faqs.mat-primary[_ngcontent-%COMP%]{--active-color: var(--mat-primary-color)}.faqs.mat-accent[_ngcontent-%COMP%]{--active-color: var(--mat-accent-color)}.faqs.mat-warn[_ngcontent-%COMP%]{--active-color: var(--mat-warn-color)}.faqs.mat-secondary[_ngcontent-%COMP%]{--active-color: var(--extra1-color)}"]}))}return r(),s})()}}]);
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.