1import{a as F}from"./chunk-N2BRNX2G.js";import{aa as B}from"./chunk-5B73PZKH.js";import{$ as S,La as D,_ as I,ce as H,d as E,j as L,ma as $,pa as V}from"./chunk-BDKH7HVI.js";import{E as C,Hb as _,Mb as T,Oa as M,Oc as v,Pc as u,Qc as w,Zb as g,ac as r,cc as s,ec as P,fc as O,gc as z,gd as d,hc as x,hd as p,ic as m,jc as l,kc as h,lb as k,mb as f,na as y,rb as t,s as b,zc as c}from"./chunk-4Q6BE6NT.js";import"./chunk-DIQPMGB2.js";function Y(n,o){if(n&1&&(m(0,"div",2),v(1),l()),n&2){let e=c(2);t(),w(" ",e.addressTitle," ")}}function U(n,o){if(n&1&&(h(0,"div",3),d(1,"safeHTML")),n&2){let e=c(2);x("innerHTML",p(1,1,e.address),k)}}function A(n,o){if(n&1&&(m(0,"div",4),v(1),l()),n&2){let e=c().$implicit;t(),w(" ",e.value," ")}}function X(n,o){if(n&1&&(m(0,"a",5,0)(2,"span"),v(3),l()()),n&2){let e=c().$implicit;x("ngClass","wxp-event-venuebox__icon--"+e.type),g("href","tel:"+e.value,f),t(3),u(e.value)}}function j(n,o){if(n&1&&(m(0,"a",6,0)(2,"span"),v(3),l()()),n&2){let e=c().$implicit;g("href",e.value,f),t(3),u(e.websiteName)}}function q(n,o){if(n&1&&(m(0,"div"),r(1,A,2,1,"div",4),r(2,X,4,3,"a",5),r(3,j,4,2,"a",6),l()),n&2){let e=o.$implicit;t(),s(e.type==="fax"?1:-1),t(),s(e.type==="phone"||e.type==="mobile"?2:-1),t(),s(e.type==="website"?3:-1)}}function G(n,o){if(n&1&&(m(0,"div")(1,"a",7)(2,"span"),v(3),d(4,"translate"),l()()()),n&2){let e=c(2);t(),g("href",e.directionsLink.link,f)("target",e.directionsLink.target),t(2),u(p(4,3,"event-venuebox.getDirections"))}}function J(n,o){if(n&1&&(m(0,"div",1),r(1,Y,2,1,"div",2),r(2,U,2,3,"div",3),O(3,q,4,3,"div",null,P),r(5,G,5,5,"div"),l()),n&2){let e=c();t(),s(e.addressTitle?1:-1),t(),s(e.address?2:-1),t(),z(e.contactInfo),t(2),s(e.directionsLink?5:-1)}}var N=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=_({type:n,selectors:[["basf-wxp-event-venuebox"]],inputs:{addressTitle:"addressTitle",address:"address",directionsLink:"directionsLink",contactInfo:"contactInfo"},decls:1,vars:1,consts:[["link",""],[1,"wxp-event-venuebox"],[1,"wxp-event-venuebox__headline"],[1,"wxp-event-venuebox__address",3,"innerHTML"],[1,"wxp-event-venuebox__item","wxp-event-venuebox__icon--fax"],["wxpTrackLinks","",1,"wxp-event-venuebox__item",3,"ngClass"],["wxpTrackLinks","",1,"wxp-event-venuebox__item","wxp-event-venuebox__icon--website"],["wxpTrackLinks","",1,"wxp-event-venuebox__item","wxp-event-venuebox__map-link"]],template:function(a,i){a&1&&r(0,J,6,3,"div",1),a&2&&s(i.addressTitle||i.address||i.directionsLink||i.contactInfo.length!==0?0:-1)},dependencies:[V,$,E,S,H,I],styles:['@keyframes _ngcontent-%COMP%_slide-bottom{0%{-webkit-transform:translateX(-50%) translateY(0) rotate(45deg);transform:translate(-50%) translateY(0) rotate(45deg)}to{-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translate(-50%) translateY(-50%) rotate(45deg)}}[_nghost-%COMP%]{height:100%}.wxp-event-venuebox[_ngcontent-%COMP%]{background-color:var(--wxp-pale-color);padding:1.25rem;height:100%}@media(min-width:61em){.wxp-event-venuebox[_ngcontent-%COMP%]{padding:1.5625rem}}.wxp-event-venuebox__headline[_ngcontent-%COMP%]{font-family:Helvetica Neue LT W05_45,"Helvetica Neue World 45",helvetica,arial,sans-serif;font-weight:var(--wxp-weight-normal);font-size:.9375rem;line-height:1.7333333333;margin-inside:0;margin-outside:0;margin-block:0}@media(min-width:48em){.wxp-event-venuebox__headline[_ngcontent-%COMP%]{font-size:1rem;line-height:1.75}}@media(min-width:61em){.wxp-event-venuebox__headline[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.7777777778}}@media(min-width:75em){.wxp-event-venuebox__headline[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.7}}.wxp-event-venuebox__headline[_ngcontent-%COMP%]{margin-top:0;margin-bottom:1em;font-weight:var(--wxp-weight-heavy)}.wxp-event-venuebox__item[_ngcontent-%COMP%]{font-family:Helvetica Neue LT W05_45,"Helvetica Neue World 45",helvetica,arial,sans-serif;font-weight:var(--wxp-weight-normal);font-size:.9375rem;line-height:1.7333333333;margin-inside:0;margin-outside:0;margin-block:0}@media(min-width:48em){.wxp-event-venuebox__item[_ngcontent-%COMP%]{font-size:1rem;line-height:1.75}}@media(min-width:61em){.wxp-event-venuebox__item[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.7777777778}}
1@media(min-width:75em){.wxp-event-venuebox__item[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.7}}.wxp-event-venuebox__address[_ngcontent-%COMP%]{font-family:Helvetica Neue LT W05_45,"Helvetica Neue World 45",helvetica,arial,sans-serif;font-size:1.25rem;line-height:1.4;font-weight:var(--wxp-weight-light);margin-top:1.25rem;margin-bottom:.625rem;color:var(--wxp-primary-color)}@media(min-width:48em){.wxp-event-venuebox__address[_ngcontent-%COMP%]{font-size:1.375rem;line-height:1.3636363636}}@media(min-width:61em){.wxp-event-venuebox__address[_ngcontent-%COMP%]{font-size:1.625rem;line-height:1.3846153846}}@media(min-width:75em){.wxp-event-venuebox__address[_ngcontent-%COMP%]{font-size:1.75rem;line-height:1.3571428571}}.wxp-event-venuebox__address[_ngcontent-%COMP%]{margin-top:0;color:var(--wxp-text-color)}.wxp-event-venuebox__map-link[_ngcontent-%COMP%]:before{font-family:wxp-icons;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;min-width:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f183";margin-right:.3em}.wxp-event-venuebox__icon--phone[_ngcontent-%COMP%]{color:var(--wxp-text-color)}.wxp-event-venuebox__icon--phone[_ngcontent-%COMP%]:before{font-family:wxp-icons;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;min-width:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f169";margin-right:.3em}.wxp-event-venuebox__icon--fax[_ngcontent-%COMP%]:before{font-family:wxp-icons;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;min-width:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f123";margin-right:.3em}.wxp-event-venuebox__icon--mobile[_ngcontent-%COMP%]{color:var(--wxp-text-color)}.wxp-event-venuebox__icon--mobile[_ngcontent-%COMP%]:before{font-family:wxp-icons;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;min-width:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f163";margin-right:.3em}.wxp-event-venuebox__icon--website[_ngcontent-%COMP%]:before{font-family:wxp-icons;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;min-width:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f12f";margin-right:.3em}'],changeDetection:0})}}return n})();var pe=(()=>{class n extends F{constructor(){super(...arguments),this.eventsService=y(B),this.addressTitle$=this.eventsService.addressTitle$,this.address$=this.eventsService.address$,this.directionsLink$=this.eventsService.directionsLink$.pipe(C(e=>!!e),b(e=>({link:e,label:"",target:D.Blank,external:!0})))}ngOnInit(){this.contactInfo$=this.eventsService.getContactInfo$}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=M(n)))(i||n)}})()}static{this.\u0275cmp=_({type:n,selectors:[["basf-mgnl-event-venuebox"]],features:[T],decls:5,vars:12,consts:[[3,"addressTitle","address","directionsLink","contactInfo"]],template:function(a,i){a&1&&(h(0,"basf-wxp-event-venuebox",0),d(1,"async"),d(2,"async"),d(3,"async"),d(4,"async")),a&2&&x("addressTitle",p(1,4,i.addressTitle$))("address",p(2,6,i.address$))("directionsLink",p(3,8,i.directionsLink$))("contactInfo",p(4,10,i.contactInfo$))},dependencies:[N,L],encapsulation:2,changeDetection:0})}}return n})();export{pe as MgnlEventVenueboxComponent};
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.