1import{c as Y,g as S,l as rt}from"./chunk-62EANYOJ.js";import"./chunk-QEMXCHRL.js";import"./chunk-YQXOG3UL.js";import{f as X}from"./chunk-5H3H3SZO.js";import{b as tt,e as et,f as H,g as it,h as nt,j as ot,q as ht,s as mt}from"./chunk-ZACAFQTT.js";import"./chunk-56B2UA7C.js";import"./chunk-AE4UQ6QO.js";import"./chunk-EJYSSWKW.js";import"./chunk-L5VOFC7U.js";import"./chunk-7J5XKBZY.js";import{$a as c,Ac as d,Db as _,Ga as I,Ia as r,Ib as a,Ja as M,Na as E,Oe as q,S as L,Sb as C,Tc as j,Ua as f,Ub as B,Vf as G,W as P,Xb as y,Yb as F,Yc as k,Za as R,Zb as z,_a as N,_f as J,bg as K,cg as Q,ea as s,jc as A,je as W,nc as U,ob as u,oc as $,q as O,qb as x,ra as V,sc as T,ub as m,v as Z,vb as v,vc as p,wb as l,xa as D,xb as b,yd as w}from"./chunk-A5E7OECT.js";import"./chunk-IAXSR7V4.js";function vt(t,i){if(t&1&&b(0,"img",3),t&2){let n=i;m("src",n.src,I)("srcset",n.srcset)("alt",n.alt)}}function lt(t,i){t&1&&_(0)}function ct(t,i){t&1&&_(0)}function pt(t,i){if(t&1&&(v(0,"div"),c(1,lt,1,0,"ng-container",6)(2,ct,1,0,"ng-container",6),l()),t&2){a();let n=C(7),e=C(9);r(),m("ngTemplateOutlet",n),r(),m("ngTemplateOutlet",e)}}function dt(t,i){t&1&&_(0)}function gt(t,i){if(t&1&&(v(0,"a",5),c(1,dt,1,0,"ng-container",6),l()),t&2){let n=a(),e=C(7);m("b04LinkTarget",n.buttonLink()),r(),m("ngTemplateOutlet",e)}}function ft(t,i){if(t&1&&(v(0,"h3",7),y(1),l()),t&2){let n=a();r(),F(n.title())}}function ut(t,i){if(t&1&&(v(0,"a",8),y(1),l()),t&2){let n=a(2);m("outline",!0)("b04LinkTarget",n.buttonLink()),r(),z(" ",n.buttonText()," ")}}function xt(t,i){if(t&1&&u(0,ut,2,3,"a",8),t&2){let n=a();x(n.buttonLink()?0:-1)}}var st=(()=>{let i=class i{constructor(){this.title=d(),this.buttonText=d(),this.buttonLink=d(),this.image=d(),this.theme=d(),this.isBrowser=s(W),this.scroll=s(X),this.renderer=s(E),this.elRef=s(D),this.size$=s(q).observe(this.elRef.nativeElement),this.isVisible=V(!0),this.size$.pipe(w()).subscribe(e=>{this.renderer.setStyle(this.elRef.nativeElement,"--self-height","".concat(e.height,"px"),M.DashCase),this.renderer.setStyle(this.elRef.nativeElement,"--self-width","".concat(e.width,"px"),M.DashCase)}),this.attachScroll()}attachScroll(){if(!this.isBrowser)return;let e=0;O(null).pipe(P(()=>this.scroll.scrolled()),Z(()=>this.getScrollOffset()),L(),w()).subscribe(([o,h])=>{o||(o=h),e||(e=h),h<o&&(e=h);let g=h-e;this.isVisible.set(g<window.innerHeight)})}getScrollOffset(){return document.scrollingElement.scrollTop}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=f({type:i,selectors:[["b04-sticky-link-item"]],hostVars:2,hostBindings:function(o,h){o&2&&B("v-hidden",!h.isVisible())},inputs:{title:[1,"title"],buttonText:[1,"buttonText"],buttonLink:[1,"buttonLink"],image:[1,"image"],theme:[1,"theme"]},decls:10,vars:6,consts:[["tplHead",""],["tplBtn",""],[1,"pattern","py-xxxs",3,"b04TextColor"],[3,"src","srcset","alt"],[1,"p-xxxs","p-sm-xs","p-md-sm","w-100",3,"b04Theme"],[3,"b04LinkTarget"],[4,"ngTemplateOutlet"],[1,"mb-xs","fs-xs","fs-sm-5","fs-xl-3"],["b04Button","sm",1,"fs-xs","fs-sm-sm","fs-xl-sm","px-xxs","w-100",3,"outline","b04LinkTarget"]],template:function(o,h){if(o&1&&(v(0,"div",2),u(1,vt,1,3,"img",3),U(2,"b04Image"),l(),v(3,"div",4),u(4,pt,3,2,"div")(5,gt,2,2,"a",5),c(6,ft,2,1,"ng-template",null,0,T)(8,xt,1,1,"ng-template",null,1,T),l()),o&2){let g;m("b04TextColor",h.theme()),r(),x((g=$(2,4,h.image()))?1:-1,g),r(2),m("b04Theme",h.theme()),r(),x(h.buttonText()?4:5)}},dependencies:[k,j,nt,it,mt,J,G,H,et,tt,ht],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;position:absolute;top:calc(100dvh - var(--self-height, 0px) - var(--app-header-height));left:0;max-width:10rem;transition:left .3s ease-in-out,top .3s ease-in-out,right .3s ease-in-out}.v-hidden[_nghost-%COMP%]{left:calc(0px - var(--self-width, 0px))}[_nghost-%COMP%]{overflow:visible;filter:drop-shadow(0px 0px 3px rgba(0,0,0,.5))}[_nghost-%COMP%] .pattern[_ngcontent-%COMP%]{min-height:90px}@media(min-width:768px){[_nghost-%COMP%]{left:initial;right:0}.v-hidden[_nghost-%COMP%]{left:initial;right:calc(0px - var(--self-width, 0px))}[_nghost-%COMP%]{max-width:11.25rem}}@media(min-width:768px)and (min-height:900px){[_nghost-%COMP%]{top:40vh}.v-hidden[_nghost-%COMP%]{left:initial;right:0}}@media(min-width:768px){[_nghost-%COMP%] .pattern[_ngcontent-%COMP%]{min-height:100px}}@media(min-width:1200px){[_nghost-%COMP%]{max-width:12.5rem}[_nghost-%COMP%] .pattern[_ngcontent-%COMP%]{min-height:126px}}[_nghost-%COMP%] .pattern[_ngcontent-%COMP%]{position:relative;width:100%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .pattern[_ngcontent-%COMP%]:before{content:"";pointer-events:none;display:block;background:currentColor;-webkit-mask-image:url(\'data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="124"><path d="M6 48.4v3.4H4.2v-3.4H1v-1.7h3.3v-3.5h1.6v3.5h3.3v1.7H6Zm2.2-15.7v-1.3H5.7v-2.6H4.5v2.6H2v1.3h2.5v2.6h1.2v-2.6h2.5ZM7.2 17V16H5.5v-1.7h-.8v1.7H3.1v.9h1.6v1.7h.8V17h1.7Zm-1-15.7V.9h-.9V0H5v.9h-.8v.4h.8v.9h.4v-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3.5h-3.3v1.7h3.3v3.4h1.6v-3.4h3.3Zm-1-15.7v-1.3H16v-2.6h-1.2v2.6h-2.5v1.3h2.5V41H16v-2.6h2.4Zm-1-15.7v-.9h-1.7v-1.7H15v1.7h-1.7v.9H15v1.7h.8v-1.7h1.6ZM16.3 7v-.4h-.8v-1h-.4v1h-.9V7h.9v.8h.4v-.8h.8ZM20 126H0V62h4.1v-4.4h2V62h4.2v2.2h4v4.3h2.1V64H20V126ZM6 77v-3.5h3.2v-1.7H6v-3.4H4.3v3.4H1v1.7h3.3V77h1.6Zm10.2 5.8v-3.5h3.3v-1.7h-3.3v-3.4h-1.6v3.4h-3.3v1.7h3.3v3.5h1.6ZM5.7 91.4v-2.6h2.5v-1.3H5.7V85H4.5v2.6H2v1.3h2.5v2.6h1.2ZM16 97.2v-2.6h2.4v-1.3H16v-2.6h-1.2v2.6h-2.5v1.3h2.5v2.6H16Zm-10.5 8.6v-1.7h1.7v-.9H5.5v-1.7h-.8v1.7H3.1v.9h1.6v1.7h.8Zm10.3 5.8v-1.7h1.6v-.9h-1.6v-1.7H15v1.7h-1.7v.9H15v1.7h.8Zm-10.5 8.6v-.9h.9v-.4h-.9v-.8H5v.8h-.8v.4h.8v.9h.4Zm10.3 3.6h-.4v1h-.8v.3h.8v.9h.4v-.9h.8v-.4h-.8v-.9Z" /></svg>\');-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x;-webkit-mask-size:auto 100%;mask-size:auto 100%;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;z-index:0}[_nghost-%COMP%] .pattern[_ngcontent-%COMP%]:after{content:"";pointer-events:none;display:block;background:currentColor;width:100%;height:1px;position:absolute;bottom:0;z-index:0}[_nghost-%COMP%] img[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:80%;max-height:10rem;min-width:60%}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.5rem;text-transform:uppercase}']});let t=i;return t})();function bt(t,i){if(t&1&&b(0,"b04-sticky-link-item",1),t&2){let n=a();m("theme",n.theme())("title",n.title())("image",n.image())("buttonText",n.buttonText())("buttonLink",n.buttonLink())}}var Kt=(()=>{let i=class i extends K{get outletStickyHeader(){return this.scs.layout.outletStickyHeaderFlush}constructor(){super(),this.scs=s(S,{self:!0}),this.title=p(()=>{var e;return(e=this.config())==null?void 0:e.title}),this.buttonLink=p(()=>{var e;return(e=this.config())==null?void 0:e.buttonLink}),this.buttonText=p(()=>{var e;return(e=this.config())==null?void 0:e.buttonText}),this.image=p(()=>{var e;return ot((e=this.config())==null?void 0:e.image)}),this.theme=p(()=>{var e,o;return((o=(e=this.config())==null?void 0:e.backgroundInfo)==null?void 0:o.color)||"primary"}),this.scs.connect(this)}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=f({type:i,selectors:[["b04-section-sticky-link"]],hostAttrs:[1,"d-block","b04-section","flush-y"],features:[A([S.for(()=>i)]),R([Q]),N],decls:1,vars:1,consts:[[3,"theme","title","image","buttonText","buttonLink",4,"b04PortTo"],[3,"theme","title","image","buttonText","buttonLink"]],template:function(o,h){o&1&&c(0,bt,1,5,"b04-sticky-link-item",0),o&2&&m("b04PortTo",h.outletStickyHeader)},dependencies:[k,rt,Y,H,st],encapsulation:2,changeDetection:0});let t=i;return t})();export{Kt as StickyLinkComponent};
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.