1import{ac as k,N as s,_ as b,D as e,E as n,f as i,U as r,S as o,a0 as d,H as u,Q as c,F as x,a2 as v,W as T,$ as S,R as C}from"./vue.00f7c436.js";import{V as w}from"./vue-scrollto.2fdf075e.js";import A from"./TmlFloatingContainer.7f90be12.js";import{_ as B,af as L,ag as U,O as F}from"./index.b39fe1b1.js";import"./sentry.09480738.js";k.use(w);const I={name:"TmlFullPageBanner",components:{TmlFloatingContainer:A,TmlItemTray:L,TmlButton:U},props:{title:String,subtitle:String,copy:"",imgUrl:String,imgAlign:String,actionUrl:String,actionText:String,actionIcon:Object,action:{type:Function,default:()=>{}},secondaryActionUrl:String,secondaryActionText:String,secondaryAction:{type:Function,default:()=>{}},hideLearnMore:Boolean,layout:String,buttonTray:Boolean,height:{type:String,default:"100%"},contentWidth:{type:String,default:"100%"}},data(){return{copyLines:[]}},computed:{getWidth(){return F("md")?"100%":this.contentWidth}},mounted(){this.copy&&typeof this.copy=="string"?this.copyLines=[this.copy]:this.copyLines=this.copy},methods:{getBackgroundImage(){return`url(${this.imgUrl})`},isDashboard(){return this.layout==="dashboard"||!1}}},D={class:"center light container",style:{left:"0",right:"0"}},V={class:"title mb-2"},W={key:1,class:"mb-6"},M={key:3,class:"custom-buttons"},N={key:0,class:"row mb-6"},P={class:"col-md-12"},z={key:1,class:"row mb-6"},E={class:"col-md-12"},O={key:2,class:"row"},j={class:"col-md-12"},H={key:0,id:"learn-more"};function Q(R,q,t,G,l,m){const a=s("tml-button"),h=s("tml-item-tray"),_=s("tml-floating-container"),y=b("scroll-to");return e(),n("div",{class:u(["full-page-banner",{"no-image":!t.imgUrl}]),style:C({"min-height":t.height,"background-image":m.getBackgroundImage(),"background-position":t.imgAlign})},[i(_,{class:"title-card-contents",height:t.height,width:m.getWidth},{default:r(()=>[o("div",D,[o("h1",V,d(t.title),1),t.subtitle?(e(),n("h2",{key:0,class:u(["mb-2",{"mb-8":!l.copyLines}])},d(t.subtitle),3)):c("",!0),l.copyLines&&l.copyLines.length?(e(),n("div",W,[(e(!0),n(x,null,v(l.copyLines,(g,f)=>(e(),n("p",{key:f,class:"mb-1"},[o("b",null,d(g),1)]))),128))])):c("",!0),t.buttonTray?(e(),T(h,{key:2},{primary:r(()=>[i(a,{primary:"",class:"w-full",href:t.actionUrl,text:t.actionText,icon:t.actionIcon,onClick:t.action},null,8,["href","text","icon","onClick"])]),secondary:r(()=>[i(a,{primary:"",class:"w-full",href:t.secondaryActionUrl,text:t.secondaryActionText,onClick:t.secondaryAction},null,8,["href","text","onClick"])]),_:1})):(e(),n("div",M,[t.actionUrl?(e(),n("div",N,[o("div",P,[i(a,{primary:"",large:"",class:"w-full",href:t.actionUrl,text:t.actionText,icon:t.actionIcon,onClick:t.action},null,8,["href","text","icon","onClick"])])])):c("",!0),t.secondaryActionUrl?(e(),n("div",z,[o("div",E,[i(a,{class:"w-full",href:t.secondaryActionUrl,text:t.secondaryActionText,onClick:t.secondaryAction},null,8,["href","text","onClick"])])])):c("",!0),t.hideLearnMore?c("",!0):(e(),n("div",O,[o("div",j,[S(i(a,{class:"w-full learn-more",href:"#",text:"Learn More"},null,512),[[y,"#learn-more"]])])]))]))])]),_:1},8,["height","width"]),t.hideLearnMore?c("",!0):(e(),n("div",H))],6)}const p=B(I,[["render",Q],["__scopeId","data-v-f43a57a8"]]);export{p as default}; 2//# sourceMappingURL=TmlFullPageBanner.15c23355.js.map
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.