1import{b as q}from"./chunk-7NAUMQVB.js";import{a as B}from"./chunk-OI4PJH5S.js";import{a as F}from"./chunk-CEB3EGOH.js";import{a as V}from"./chunk-CDFLSGVF.js";import"./chunk-WCOYIV4F.js";import"./chunk-IVSAID55.js";import"./chunk-LOXRUZZT.js";import{s as D}from"./chunk-5T2DNLMX.js";import{e as I,x as T}from"./chunk-3LTWABA2.js";import"./chunk-FFD4FCXF.js";import"./chunk-OMIG4XQM.js";import"./chunk-EZU47FZU.js";import{b as z}from"./chunk-MCPSNZ6Z.js";import"./chunk-ZWU4UJ7Y.js";import"./chunk-P2JPSACO.js";import"./chunk-5HHNY7MZ.js";import"./chunk-4ODXV7TO.js";import"./chunk-2JAQNLEF.js";import{c as R}from"./chunk-X5IRMSC3.js";import"./chunk-ZBHX2HU3.js";import{b as L,za as k}from"./chunk-F7F74EY7.js";import"./chunk-3O5ZWDSR.js";import{f as w}from"./chunk-GGOWL5SE.js";import"./chunk-BI5VTMHT.js";import{a as E}from"./chunk-JUHOAXP3.js";import{a as x}from"./chunk-WAWTWHFZ.js";import{u}from"./chunk-EV4J3N6P.js";import{Dc as c,Fd as v,Ia as O,Jb as b,M as P,Pc as h,Pd as S,Sc as d,Ta as y,Uc as f,_b as m,ac as g,fc as r,gc as a,hc as p,ic as s,k as C,la as o,tb as i,ya as M}from"./chunk-DUPCTLQR.js";import"./chunk-4HFMTYW3.js";function H(t,n){if(t&1&&(a(0,"h1"),d(1),p()),t&2){let e=c();i(),f(" ",e.slice().primary.banner_title," ")}}function U(t,n){if(t&1&&(a(0,"h1"),d(1),p()),t&2){let e=c();i(),f(" ",e.slice().primary.banner_title," ")}}function $(t,n){if(t&1&&(a(0,"div",2),s(1,"act-subscription-plan-form",5),p()),t&2){let e=c();i(),r("pricingOptions",e.plan.pricingOptions)("buttonLabel",e.slice().primary.button_label)("isFreePlan",e.plan.planType==="free")}}function j(t,n){if(t&1&&s(0,"app-youtube-embed-player",3),t&2){let e=c();r("embed",e.slice().primary.video_embed)("playInModal",e.playVideoInModal)}}function N(t,n){if(t&1&&(a(0,"video",4),s(1,"source",6),p()),t&2){let e=c();r("playbackRate",e.slice().primary.video_playback_speed),i(),r("src",e.slice().primary.video_file.url)}}var A=class _{constructor(){this.slice=v.required(),this.playVideoInModal=!1,this.route=o(w),this.currentProfile=o(T),this.subscriptionPlanService=o(I),this.titleService=o(k),this.breakpointObserver=o(R),this.computedStyle=o(L),this.elementRef=o(y),this.changeDetectorRef=o(S),this.destroyRef=o(M),this.platformId=o(O)}ngOnInit(){this.setSubscriptionPlan(),this.setPageTitle(),this.setPlayVideoInModal()}setSubscriptionPlan(){u(this.platformId)?this.currentProfile.getQualifiedPlanByType(this.slice().primary.pricing_plan.toLowerCase()).pipe(P(1)).subscribe(n=>{n?this.plan=n:this.plan=this.subscriptionPlanService.getUnqualifiedPlanByPlanType(this.slice().primary.pricing_plan.toLowerCase()),this.changeDetectorRef.detectChanges()}):this.plan=this.subscriptionPlanService.getUnqualifiedPlanByPlanType(this.slice().primary.pricing_plan.toLowerCase())}setPageTitle(){let n=this.route.snapshot.data.siteTemplate.data.page_title_prefix;this.titleService.setTitle(`${n} ${this.slice().primary.banner_title}`)}setPlayVideoInModal(){if(u(this.platformId)&&this.slice().primary.video_embed){let n=this.computedStyle.getStringValFromProp(this.elementRef.nativeElement,"--bannerLandingPageVideo--small");this.breakpointObserver.observe(`(max-width: ${n})`).pipe(x(this.destroyRef)).subscribe(e=>{this.playVideoInModal=!e.matches,this.changeDetectorRef.markForCheck()})}}static{this.\u0275fac=function(e){return new(e||_)}}static{this.\u0275cmp=b({type:_,selectors:[["app-banner-landing-page-slice"]],inputs:{slice:[1,"slice"]},decls:11,vars:7,consts:[[1,"content"],[1,"appFormattedContent",3,"appRenderHtmlContent"],[1,"button"],[3,"embed","playInModal"],["vidVideoAutoPlay","",3,"playbackRate"],[3,"pricingOptions","buttonLabel","isFreePlan"],[3,"src"]],template:function(e,l){e&1&&(a(0,"app-page-content")(1,"app-page-content-full"),m(2,H,2,1,"h1"),a(3,"section"),m(4,U,2,1,"h1"),a(5,"div",0),s(6,"div",1),p(),m(7,$,2,3,"div",2),p(),a(8,"section"),m(9,j,1,2,"app-youtube-embed-player",3)(10,N,2,2,"video",4),p()()()),e&2&&(i(),h("layout--02",l.slice().primary.layout==="layout-02"),i(),g(l.slice().primary.layout==="layout-01"?2:-1),i(2),g(l.slice().primary.layout!=="layout-01"?4:-1),i(2),r("appRenderHtmlContent",l.slice().primary.banner_content),i(),g(l.plan?7:-1),i(2),g(l.slice().primary.video_embed.embed_url?9:l.slice().primary.video_file?10:-1))},dependencies:[F,B,V,D,q,z],styles:['[_nghost-%COMP%]{--bannerLandingPageVideo--small: 73.75rem}
1app-page-content-full[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--themed__content__color__strong__01--01);font-weight:600;line-height:1.25;margin:0 0 .6em}app-page-content-full[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{margin-top:clamp(1.25em,5.875vw,2em)}app-page-content-full.layout--02[_ngcontent-%COMP%]:before{content:""}app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-of-type{background-color:var(--background__match);filter:drop-shadow(0 0 .75em rgba(0,0,0,.25));--inset: .25rem;--borderRadiusInner: calc(var(--borderRadius) - var(--inset));--outlineColor: transparent}@media(max-width:84.375rem){app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-of-type{--borderRadius: .75rem;border-radius:var(--borderRadius)}}@media(min-width:84.375rem){app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-of-type{--borderRadius: 1.25rem;border-radius:var(--borderRadius)}}app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > video[_ngcontent-%COMP%]{border-radius:var(--borderRadiusInner);display:block;margin:var(--inset);width:calc(100% - var(--inset) * 2)}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:170%}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{line-height:1.4}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .appFormattedContent[_ngcontent-%COMP%] ul, app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .appFormattedContent[_ngcontent-%COMP%] ol, app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .appFormattedContent[_ngcontent-%COMP%] ul~p, app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .appFormattedContent[_ngcontent-%COMP%] ol~p{font-size:80%}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .appFormattedContent[_ngcontent-%COMP%] ul li:before{margin-top:.3em}@media(max-width:31.25rem){app-page-content-full[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{font-size:2.125em}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:1.2em}app-page-content-full[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{font-size:.7em}}@media(max-width:73.75rem){app-page-content-full[_ngcontent-%COMP%]{display:flex;flex-direction:column}app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:first-of-type{display:contents}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{order:2}app-page-content-full[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{margin-block:2em;order:1}}@media(min-width:73.75rem){app-page-content-full[_ngcontent-%COMP%]{align-items:flex-start;column-gap:2em;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:auto auto;margin-bottom:8em}app-page-content-full[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{margin-top:clamp(1.25em,5.875vw,2em)}app-page-content-full[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{grid-column:1/-1;grid-row:1}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], app-page-content-full[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{order:0}app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:first-of-type{display:block}app-page-content-full[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}app-page-content-full[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;margin-bottom:0;margin-top:-.5em}app-page-content-full.layout--02[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:.3em}app-page-content-full.layout--02[_ngcontent-%COMP%] section[_ngcontent-%COMP%]:last-of-type{margin-top:1.5em}}@media(min-width:31.25rem)and (max-width:61.25rem){app-page-content-full[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{font-size:2.82625em}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:1.33875em}app-page-content-full[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{font-size:.8em}}@media(min-width:61.25rem)and (max-width:73.75rem),(min-width:90rem){app-page-content-full[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{font-size:3.740625em}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:1.434375em}}@media(min-width:73.75rem)and (min-width:61.25rem)and (max-width:90rem){app-page-content-full[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], app-page-content-full.layout--02[_ngcontent-%COMP%]:before{font-size:3.325em}app-page-content-full[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:1.1em}}']})}};A=C([E("banner__landing_page",{requiredPrimaryProperties:[]})],A);
1export{A as BannerLandingPageSliceComponent}; 2/**i18n:a2502b59ec888cc0cb2e5ee02c4b437365b65594fe91782f5f7397b50dc02b90*/
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.