@cooperco/cooper-component-library 0.1.38 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6633,7 +6633,8 @@ const $e = /* @__PURE__ */ R({
|
|
|
6633
6633
|
to: s.value ? "" : a.value,
|
|
6634
6634
|
href: s.value ? a.value : "",
|
|
6635
6635
|
target: s.value ? d.value : "",
|
|
6636
|
-
rel: s.value ? "noopener" : ""
|
|
6636
|
+
rel: s.value ? "noopener" : "",
|
|
6637
|
+
class: g(e.class)
|
|
6637
6638
|
}, {
|
|
6638
6639
|
default: Z(() => [
|
|
6639
6640
|
de(y(Mt), {
|
|
@@ -6663,7 +6664,7 @@ const $e = /* @__PURE__ */ R({
|
|
|
6663
6664
|
}, 8, ["class", "link"])
|
|
6664
6665
|
]),
|
|
6665
6666
|
_: 1
|
|
6666
|
-
}, 8, ["aria-label", "aria-description", "to", "href", "target", "rel"]);
|
|
6667
|
+
}, 8, ["aria-label", "aria-description", "to", "href", "target", "rel", "class"]);
|
|
6667
6668
|
};
|
|
6668
6669
|
}
|
|
6669
6670
|
}), Ea = { key: 2 }, ja = ["innerHTML"], Ma = ["innerHTML"], Va = ["innerHTML"], Na = /* @__PURE__ */ R({
|
|
@@ -86,7 +86,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
86
86
|
flex: 1 0 `).concat(100/s.numVisible,`%
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
`)}}this.carouselStyle.innerHTML=o},isVertical:function(){return this.orientation==="vertical"},isCircular:function(){return this.value&&this.d_circular&&this.value.length>=this.d_numVisible},isAutoplay:function(){return this.autoplayInterval&&this.allowAutoplay},firstIndex:function(){return this.isCircular()?-1*(this.totalShiftedItems+this.d_numVisible):this.totalShiftedItems*-1},lastIndex:function(){return this.firstIndex()+this.d_numVisible-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{totalIndicators:function(){return this.value?Math.max(Math.ceil((this.value.length-this.d_numVisible)/this.d_numScroll)+1,0):0},backwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&this.d_page===0},forwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&(this.d_page===this.totalIndicators-1||this.totalIndicators===0)},ariaSlideLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slide:void 0},ariaPrevButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.prevPageLabel:void 0},ariaNextButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.nextPageLabel:void 0},attributeSelector:function(){return qo()},empty:function(){return!this.value||this.value.length===0},emptyMessageText:function(){var e;return((e=this.$primevue.config)===null||e===void 0||(e=e.locale)===null||e===void 0?void 0:e.emptyMessage)||""}},components:{ChevronRightIcon:kn,ChevronDownIcon:bn,ChevronLeftIcon:Cn,ChevronUpIcon:wn},directives:{ripple:dn}};function ve(n){"@babel/helpers - typeof";return ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ve(n)}function vn(n,e){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),o.push.apply(o,r)}return o}function Ve(n){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?vn(Object(o),!0).forEach(function(r){Wi(n,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):vn(Object(o)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(o,r))})}return n}function Wi(n,e,o){return e=Ui(e),e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n}function Ui(n){var e=Ki(n,"string");return ve(e)=="symbol"?e:String(e)}function Ki(n,e){if(ve(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var r=o.call(n,e||"default");if(ve(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var qi=["aria-live"],Gi=["disabled","aria-label"],Xi=["data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],Yi=["aria-hidden","aria-label","aria-roledescription","data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],Zi=["disabled","aria-label"],Ji=["data-p-highlight"],Qi=["tabindex","aria-label","aria-current","onClick"];function el(n,e,o,r,i,l){var s=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:n.cx("root"),role:"region"},n.ptmi("root")),[n.$slots.header?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,class:n.cx("header")},n.ptm("header")),[t.renderSlot(n.$slots,"header")],16)):t.createCommentVNode("",!0),l.empty?t.renderSlot(n.$slots,"empty",{key:2},function(){return[t.createTextVNode(t.toDisplayString(l.emptyMessageText),1)]}):(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:1,class:[n.cx("content"),n.contentClass]},n.ptm("content")),[t.createElementVNode("div",t.mergeProps({class:[n.cx("container"),n.containerClass],"aria-live":i.allowAutoplay?"polite":"off"},n.ptm("container")),[n.showNavigators?t.withDirectives((t.openBlock(),t.createElementBlock("button",t.mergeProps({key:0,type:"button",class:n.cx("previousButton"),disabled:l.backwardIsDisabled,"aria-label":l.ariaPrevButtonLabel,onClick:e[0]||(e[0]=function(){return l.navBackward&&l.navBackward.apply(l,arguments)})},Ve(Ve({},n.prevButtonProps),n.ptm("previousButton")),{"data-pc-group-section":"navigator"}),[t.renderSlot(n.$slots,"previousicon",{},function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.isVertical()?"ChevronUpIcon":"ChevronLeftIcon"),t.mergeProps({class:n.cx("previousButtonIcon")},n.ptm("previousButtonIcon")),null,16,["class"]))]})],16,Gi)),[[s]]):t.createCommentVNode("",!0),t.createElementVNode("div",t.mergeProps({class:n.cx("itemsContent"),style:[{height:l.isVertical()?n.verticalViewPortHeight:"auto"}],onTouchend:e[2]||(e[2]=function(){return l.onTouchEnd&&l.onTouchEnd.apply(l,arguments)}),onTouchstart:e[3]||(e[3]=function(){return l.onTouchStart&&l.onTouchStart.apply(l,arguments)}),onTouchmove:e[4]||(e[4]=function(){return l.onTouchMove&&l.onTouchMove.apply(l,arguments)})},n.ptm("itemsContent")),[t.createElementVNode("div",t.mergeProps({ref:"itemsContainer",class:n.cx("itemsContainer"),onTransitionend:e[1]||(e[1]=function(){return l.onTransitionEnd&&l.onTransitionEnd.apply(l,arguments)})},n.ptm("itemsContainer")),[l.isCircular()?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.value.slice(-1*i.d_numVisible),function(a,c){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:c+"_scloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:i.totalShiftedItems,d_numVisible:i.d_numVisible})},n.ptm("itemCloned"),{"data-p-carousel-item-active":i.totalShiftedItems*-1===n.value.length+i.d_numVisible,"data-p-carousel-item-start":c===0,"data-p-carousel-item-end":n.value.slice(-1*i.d_numVisible).length-1===c}),[t.renderSlot(n.$slots,"item",{data:a,index:c})],16,Xi)}),128)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,function(a,c){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:c,class:n.cx("item",{index:c}),role:"group","aria-hidden":l.firstIndex()>c||l.lastIndex()<c?!0:void 0,"aria-label":l.ariaSlideNumber(c),"aria-roledescription":l.ariaSlideLabel},n.ptm("item"),{"data-p-carousel-item-active":l.firstIndex()<=c&&l.lastIndex()>=c,"data-p-carousel-item-start":l.firstIndex()===c,"data-p-carousel-item-end":l.lastIndex()===c}),[t.renderSlot(n.$slots,"item",{data:a,index:c})],16,Yi)}),128)),l.isCircular()?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(n.value.slice(0,i.d_numVisible),function(a,c){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:c+"_fcloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:i.totalShiftedItems,d_numVisible:i.d_numVisible})},n.ptm("itemCloned")),[t.renderSlot(n.$slots,"item",{data:a,index:c})],16)}),128)):t.createCommentVNode("",!0)],16)],16),n.showNavigators?t.withDirectives((t.openBlock(),t.createElementBlock("button",t.mergeProps({key:1,type:"button",class:n.cx("nextButton"),disabled:l.forwardIsDisabled,"aria-label":l.ariaNextButtonLabel,onClick:e[5]||(e[5]=function(){return l.navForward&&l.navForward.apply(l,arguments)})},Ve(Ve({},n.nextButtonProps),n.ptm("nextButton")),{"data-pc-group-section":"navigator"}),[t.renderSlot(n.$slots,"nexticon",{},function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.isVertical()?"ChevronDownIcon":"ChevronRightIcon"),t.mergeProps({class:n.cx("nextButtonIcon")},n.ptm("nextButtonIcon")),null,16,["class"]))]})],16,Zi)),[[s]]):t.createCommentVNode("",!0)],16,qi),l.totalIndicators>=0&&n.showIndicators?(t.openBlock(),t.createElementBlock("ul",t.mergeProps({key:0,ref:"indicatorContent",class:[n.cx("indicators"),n.indicatorsContentClass],onKeydown:e[6]||(e[6]=function(){return l.onIndicatorKeydown&&l.onIndicatorKeydown.apply(l,arguments)})},n.ptm("indicators")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.totalIndicators,function(a,c){return t.openBlock(),t.createElementBlock("li",t.mergeProps({key:"p-carousel-indicator-"+c.toString(),class:n.cx("indicator",{index:c})},n.ptm("indicator",l.getIndicatorPTOptions(c)),{"data-p-highlight":i.d_page===c}),[t.createElementVNode("button",t.mergeProps({class:n.cx("indicatorButton"),type:"button",tabindex:i.d_page===c?"0":"-1","aria-label":l.ariaPageLabel(c+1),"aria-current":i.d_page===c?"page":void 0,onClick:function(d){return l.onIndicatorClick(d,c)}},n.ptm("indicatorButton",l.getIndicatorPTOptions(c))),null,16,Qi)],16,Ji)}),128))],16)):t.createCommentVNode("",!0)],16)),n.$slots.footer?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:3,class:n.cx("footer")},n.ptm("footer")),[t.renderSlot(n.$slots,"footer")],16)):t.createCommentVNode("",!0)],16)}$n.render=el;const tl=["innerHTML"],Sn=t.defineComponent({__name:"CarouselModule",props:{__typename:{},headline:{},carouselItems:{},backgroundColor:{},pt:{},variant:{default:"Default"},isProvider:{type:Boolean,default:!0},class:{}},setup(n){const e=n,o=t.computed(()=>w(Ke,e.pt??{})),{backgroundColor:r,palette:i}=F(e),l=t.computed(()=>`${O(e.variant!=="Hero"?"py-16 px-8":"",`bg-${r}`,e.class)} ${e.variant.toLowerCase()} carousel`);return(s,a)=>{var c;return t.openBlock(),t.createBlock(t.unref($n),{value:s.carouselItems,"num-visible":1,"num-scroll":1,class:t.normalizeClass(l.value),pt:o.value,"pt:item:class":`carousel-item w-full ${((c=o.value)==null?void 0:c.item)??""}`},t.createSlots({item:t.withCtx(u=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.data.__typename),t.mergeProps(u.data,{"is-child":!0}),null,16))]),footer:t.withCtx(()=>[]),nexticon:t.withCtx(()=>[]),_:2},[s.headline?{name:"header",fn:t.withCtx(()=>{var u;return[t.createElementVNode("h2",{class:t.normalizeClass(`carousel-headline ${((u=o.value)==null?void 0:u.headline)??""} text-${t.unref(i).headline}`),innerHTML:s.headline},null,10,tl)]}),key:"0"}:void 0]),1032,["value","class","pt","pt:item:class"])}}});var Se=(n=>(n[n.IconTile=0]="IconTile",n[n.ImageTile=1]="ImageTile",n[n.VideoTile=2]="VideoTile",n[n.ImageStackedAnimatedTile=3]="ImageStackedAnimatedTile",n[n.VideoLeft=4]="VideoLeft",n[n.Hero=5]="Hero",n[n.Centered=6]="Centered",n))(Se||{});const nl=["innerHTML"],Bn=t.defineComponent({__name:"ContainerModule",props:{__typename:{},headline:{},subHeadline:{},fullWidthContent:{},start:{},end:{},textColor:{},backgroundColor:{},backgroundImage:{},variant:{default:"Centered"},isChild:{type:Boolean,default:!1},pt:{},isProvider:{type:Boolean,default:!0},class:{}},setup(n){var f,p,h,C,g,b;const e=n,{backgroundColor:o,palette:r}=F(e),i=t.computed(()=>w(Ge[e.variant],e.pt??{})),l=t.computed(()=>Se[e.variant]===Se.Hero),s=t.computed(()=>Se[e.variant]===Se.Centered),a=t.computed(()=>{var y,B,T;return O(`container-module bg-${o} relative ${(y=i.value)==null?void 0:y.root} ${l.value?e.backgroundImage?`md:h-[60vw] md:max-h-[70vh] ${(B=i.value)==null?void 0:B.container}`:`md:h-[500px] md:max-h-[500px] ${(T=i.value)==null?void 0:T.container}`:""} `,e.class??"")}),c=t.computed(()=>{var B,T;let y=JSON.parse(JSON.stringify(e.backgroundImage));return y!=null&&y.media.width&&(y.media.width=void 0),y!=null&&y.media.height&&(y.media.height=void 0),(B=y==null?void 0:y.mobileMedia)!=null&&B.width&&(y.mobileMedia.width=void 0),(T=y==null?void 0:y.mobileMedia)!=null&&T.height&&(y.mobileMedia.height=void 0),y}),u=((f=e.fullWidthContent)==null?void 0:f.__typename)==="TileContent"?"TileContentTextTile":(p=e.fullWidthContent)==null?void 0:p.__typename,d=((h=e.start)==null?void 0:h.__typename)==="TileContent"?"TileContentTextTile":(C=e.start)==null?void 0:C.__typename,m=((g=e.end)==null?void 0:g.__typename)==="TileContent"?"TileContentTextTile":(b=e.end)==null?void 0:b.__typename;return(y,B)=>{const T=H;return t.openBlock(),t.createBlock(t.resolveDynamicComponent(y.isChild?"div":"section"),{class:t.normalizeClass(a.value)},{default:t.withCtx(()=>{var x,V,P,I,_,N,j,$,R;return[y.backgroundImage&&c.value?(t.openBlock(),t.createBlock(T,{key:0,media:c.value.media,"mobile-media":c.value.mobileMedia,class:t.normalizeClass(`md:absolute md:top-0 md:right-0 object-cover w-full h-full z-0 ${l.value?"object-bottom":""}`)},null,8,["media","mobile-media","class"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(`container-module-inner relative z-10 ${l.value?((x=y.start)==null?void 0:x.__typename)==="Image"?"container-hero-right":"container-hero":"container"} ${y.isChild||l.value?"":"py-4 px-8 md:py-16 md:px-4"} ${((V=i.value)==null?void 0:V.inner)??""}`)},[y.headline?(t.openBlock(),t.createElementBlock("h2",{key:0,class:t.normalizeClass(`container-module-headline ${!y.isChild&&l.value?"py-16":""} ${s.value?"text-center":""} ${((P=i.value)==null?void 0:P.headline)??""} text-${t.unref(r).headline}`),innerHTML:y.headline},null,10,nl)):t.createCommentVNode("",!0),y.subHeadline?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(`container-module-subheadline ${s.value?"text-center":""} ${((I=i.value)==null?void 0:I.subheadline)??""} text-${t.unref(r).subheadline}`)},t.toDisplayString(y.subHeadline),3)):t.createCommentVNode("",!0),y.fullWidthContent||y.start||y.end?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(`container-module-content flex flex-col ${((_=y.end)==null?void 0:_.__typename)==="Image"&&"flex-col-reverse"} md:flex-row gap-5 h-full ${((N=i.value)==null?void 0:N.bodyCopy)??""}`)},[y.fullWidthContent?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(`container-module-full-width-content ${((j=i.value)==null?void 0:j.fullWidthContent)??""} ${s.value?"mx-auto":""}`)},[t.unref(u)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(u)),t.mergeProps({key:0},y.fullWidthContent,{"is-child":!0,"is-hero":!!(t.unref(u)==="ContentModule"&&l.value)}),null,16,["is-hero"])):t.createCommentVNode("",!0)],2)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[y.start?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(`container-module-start basis-1/2 ${(($=i.value)==null?void 0:$.start)??""} ${l.value&&t.unref(d)!=="Image"?"py-16 md:pr-16 md:pl-0 px-12":""}`)},[t.unref(d)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(d)),t.mergeProps({key:0},y.start,{"is-child":!0,"is-hero":!!(t.unref(d)==="ContentModule"&&l.value)}),null,16,["is-hero"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(`container-module-end basis-1/2 ${((R=i.value)==null?void 0:R.end)??""} ${l.value&&t.unref(m)!=="Image"?"py-16 md:pr-16 md:pl-0 px-12":""}`)},[t.unref(m)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(m)),t.mergeProps({key:0},y.end,{"is-child":!0,"is-hero":!!(t.unref(m)==="ContentModule"&&l.value)}),null,16,["is-hero"])):t.createCommentVNode("",!0)],2)],64))],2)):t.createCommentVNode("",!0)],2),t.renderSlot(y.$slots,"default")]}),_:3},8,["class"])}}});var le=(n=>(n.Left="left",n.Center="center",n.Right="right",n.Inline="inline",n))(le||{});const G=t.defineComponent({__name:"CTA",props:{__typename:{},title:{},link:{},color:{},textColor:{},buttonType:{},logo:{},pt:{},ariaLabel:{},ariaDescription:{},anchor:{},target:{},size:{},class:{}},setup(n){const e=n,o=t.computed(()=>w(Ye[e.buttonType],e.pt??{})),r=t.computed(()=>e.buttonType==="link"||e.buttonType==="logo"),{palette:i}=F(e),l=i.cta[e.buttonType],s=t.computed(()=>{var h;const p=["cta whitespace-nowrap",O(((h=o.value)==null?void 0:h.root)??"",e.class??"","flex items-center gap-2")];if((e.buttonType==="link"||e.buttonType==="logo")&&p.push("hover:underline"),p.push(`text-${e.textColor??l.copy}`),e.size)switch(e.size){case"sm":p.push("*:text-sm"),e.buttonType==="fill"&&p.push("py-0.5 px-4");break;case"lg":p.push("*:text-lg font-bold"),e.buttonType==="fill"&&p.push("py-1.5 px-8");break;case"xl":p.push("*:text-xl font-bold"),e.buttonType==="fill"&&p.push("py-2 px-12");break;case"xxl":p.push("*:text-3xl font-bold"),e.buttonType==="fill"&&p.push("py-2 px-16");break}return e.buttonType==="fill"&&(p.push("rounded-[2rem]"),(e.color||l.bg)&&p.push(`bg-${e.color||l.bg}`),e.size||p.push("py-1 px-4")),l.border&&p.push(`border-${e.color??l.border}`),p.join(" ")}),a=t.computed(()=>{var p,h,C,g,b,y;return(h=(p=e.link)==null?void 0:p.page)!=null&&h.slug?`${(g=(C=e.link)==null?void 0:C.page)==null?void 0:g.slug}`:(b=e.link)!=null&&b.externalUrl?(y=e.link)==null?void 0:y.externalUrl:""}),c=t.computed(()=>{var p;return!!((p=e.link)!=null&&p.externalUrl)}),u=t.computed(()=>{var p;return e.ariaLabel??((p=e.link)==null?void 0:p.ariaLabel)??e.title}),d=t.computed(()=>{var p;return e.ariaDescription??((p=e.link)==null?void 0:p.ariaDescription)??""}),m=t.computed(()=>{var p,h,C;return e.target==="New Tab"||((p=e.link)==null?void 0:p.target)==="New Tab"?"_blank":e.target==="Same Tab"||((h=e.link)==null?void 0:h.target)==="Same Tab"?"_self":(C=e.link)!=null&&C.externalUrl?"_blank":"_self"}),f=t.computed(()=>c.value?"a":"router-link");return(p,h)=>{const C=H;return t.openBlock(),t.createBlock(t.resolveDynamicComponent(f.value),{"aria-label":u.value,"aria-description":d.value,to:c.value?"":a.value,href:c.value?a.value:"",target:c.value?m.value:"",rel:c.value?"noopener":""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ct),{class:t.normalizeClass(s.value),link:r.value},{default:t.withCtx(()=>{var g,b,y;return[p.logo?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(`${p.buttonType==="logo"?(g=o.value)==null?void 0:g.logo:""} ${p.buttonType==="logo"?`bg-${e.textColor??t.unref(l).copy}`:""}`)},[typeof p.logo=="object"?(t.openBlock(),t.createBlock(C,t.normalizeProps(t.mergeProps({key:0},p.logo)),null,16)):typeof p.logo=="string"?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(t.unref(O)(p.logo,(b=o.value)==null?void 0:b.logo))},null,2)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(t.unref(O)("pointer-events-none whitespace-nowrap",((y=o.value)==null?void 0:y.headline)??""))},t.toDisplayString(p.title),3)]}),_:1},8,["class","link"])]),_:1},8,["aria-label","aria-description","to","href","target","rel"])}}}),ol={key:2},rl=["innerHTML"],il=["innerHTML"],ll=["innerHTML"],Tn=t.defineComponent({__name:"ContentModule",props:{__typename:{},headline:{},subHeadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},pt:{},logo:{},isHero:{type:Boolean,default:!1},alignment:{default:le.Left},isChild:{type:Boolean},isProvider:{type:Boolean},class:{}},setup(n){const e=n,o=e.alignment?e.alignment.toLowerCase():"left",r=t.computed(()=>w(Xe,e.pt??{})),i=t.computed(()=>o===le.Inline?"text-left md:text-left":`text-${o}`),l=t.computed(()=>{let m="";switch(o){case le.Right:m="justify-end";break;case le.Center:m="justify-center";break;default:m="justify-start"}return m}),s=t.computed(()=>{var m,f;return`${((m=r.value)==null?void 0:m.logo)??""} ${(f=e==null?void 0:e.logo)==null?void 0:f.class}`}),{backgroundColor:a,palette:c}=F(e),u=t.computed(()=>{var f;const m=["content-module-headline",`text-${c.headline}`,O(((f=r==null?void 0:r.value)==null?void 0:f.headline)??"",i.value)];return e.isChild?m.push("text-3xl md:text-4xl"):m.push("text-3xl md:text-5xl"),(e.bodyCopy||e.subHeadline&&e.isHero)&&m.push("mb-4 md:mb-6"),m.join(" ")}),d=t.computed(()=>{var f;return["content-module-subheadline mb-2",`text-${c.subheadline}`,O(((f=r==null?void 0:r.value)==null?void 0:f.subheadline)??"",i.value)].join(" ")});return(m,f)=>{var h,C,g,b;const p=H;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(`content-module ${m.isChild?"":"p-8 md:p-16"} ${((h=r.value)==null?void 0:h.root)??""} ${e.class??""} ${e.backgroundColor||!m.isChild?`bg-${t.unref(a)}`:""}`)},[t.createElementVNode("div",{class:t.normalizeClass(`content-module-container mx-auto ${((C=r.value)==null?void 0:C.container)??""} ${t.unref(o)===t.unref(le).Inline?"flex flex-col md:flex-row justify-between items-center gap-4":""}`)},[m.logo?(t.openBlock(),t.createBlock(p,t.mergeProps({key:0},m.logo,{class:s.value}),null,16,["class"])):t.createCommentVNode("",!0),m.subHeadline&&!m.isHero?(t.openBlock(),t.createElementBlock("h6",{key:1,class:t.normalizeClass(d.value)},t.toDisplayString(m.subHeadline),3)):t.createCommentVNode("",!0),m.headline?(t.openBlock(),t.createElementBlock("div",ol,[m.isHero?(t.openBlock(),t.createElementBlock("h1",{key:0,class:t.normalizeClass(u.value),innerHTML:m.headline},null,10,rl)):(t.openBlock(),t.createElementBlock("h2",{key:1,class:t.normalizeClass(u.value),innerHTML:m.headline},null,10,il))])):t.createCommentVNode("",!0),m.subHeadline&&m.isHero?(t.openBlock(),t.createElementBlock("h6",{key:3,class:t.normalizeClass(d.value)},t.toDisplayString(m.subHeadline),3)):t.createCommentVNode("",!0),m.bodyCopy?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(`content-module-body-copy text-${t.unref(c).copy} ${t.unref(O)(((g=r.value)==null?void 0:g.bodyCopy)??"",i.value)}`),innerHTML:m.bodyCopy},null,10,ll)):t.createCommentVNode("",!0),m.ctas?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(`content-module-ctas flex flex-wrap gap-4 ${l.value} ${t.unref(O)(((b=r.value)==null?void 0:b.ctas)??"",i.value)}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.ctas,(y,B)=>(t.openBlock(),t.createBlock(G,t.mergeProps({ref_for:!0},y,{key:`cta-${y.title}-${B}`,class:`${m.isHero?"w-full sm:w-auto justify-center":""}`}),null,16,["class"]))),128))],2)):t.createCommentVNode("",!0)],2)],2)}}}),al=["innerHTML"],En=t.defineComponent({__name:"ContainerCollectionModule",props:{__typename:{},headline:{},modules:{},backgroundColor:{},pt:{},isProvider:{type:Boolean,default:!0},class:{}},setup(n){const e=n,o=t.computed(()=>w(qe,e.pt??{})),{backgroundColor:r,palette:i}=F(e);return(l,s)=>{var a,c;return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`container-collection ${e.class??""} bg-${t.unref(r)}`)},[l.headline?(t.openBlock(),t.createElementBlock("h2",{key:0,class:t.normalizeClass(`container-collection-headline ${(a=o.value)==null?void 0:a.headline} text-${t.unref(i).headline}`),innerHTML:l.headline},null,10,al)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(`container-collection-content space-y-8 mx-auto container ${(c=o.value)==null?void 0:c.bodyCopy}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.modules,(u,d)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.__typename),t.mergeProps({ref_for:!0},u,{key:`${u==null?void 0:u.__typename}-${d}`,"is-child":!0}),null,16))),128))],2)],2)}}});var ne=(n=>(n[n.header=0]="header",n[n.footer=1]="footer",n))(ne||{});/*!
|
|
89
|
+
`)}}this.carouselStyle.innerHTML=o},isVertical:function(){return this.orientation==="vertical"},isCircular:function(){return this.value&&this.d_circular&&this.value.length>=this.d_numVisible},isAutoplay:function(){return this.autoplayInterval&&this.allowAutoplay},firstIndex:function(){return this.isCircular()?-1*(this.totalShiftedItems+this.d_numVisible):this.totalShiftedItems*-1},lastIndex:function(){return this.firstIndex()+this.d_numVisible-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{totalIndicators:function(){return this.value?Math.max(Math.ceil((this.value.length-this.d_numVisible)/this.d_numScroll)+1,0):0},backwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&this.d_page===0},forwardIsDisabled:function(){return this.value&&(!this.circular||this.value.length<this.d_numVisible)&&(this.d_page===this.totalIndicators-1||this.totalIndicators===0)},ariaSlideLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slide:void 0},ariaPrevButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.prevPageLabel:void 0},ariaNextButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.nextPageLabel:void 0},attributeSelector:function(){return qo()},empty:function(){return!this.value||this.value.length===0},emptyMessageText:function(){var e;return((e=this.$primevue.config)===null||e===void 0||(e=e.locale)===null||e===void 0?void 0:e.emptyMessage)||""}},components:{ChevronRightIcon:kn,ChevronDownIcon:bn,ChevronLeftIcon:Cn,ChevronUpIcon:wn},directives:{ripple:dn}};function ve(n){"@babel/helpers - typeof";return ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ve(n)}function vn(n,e){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),o.push.apply(o,r)}return o}function Ve(n){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?vn(Object(o),!0).forEach(function(r){Wi(n,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):vn(Object(o)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(o,r))})}return n}function Wi(n,e,o){return e=Ui(e),e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n}function Ui(n){var e=Ki(n,"string");return ve(e)=="symbol"?e:String(e)}function Ki(n,e){if(ve(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var r=o.call(n,e||"default");if(ve(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var qi=["aria-live"],Gi=["disabled","aria-label"],Xi=["data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],Yi=["aria-hidden","aria-label","aria-roledescription","data-p-carousel-item-active","data-p-carousel-item-start","data-p-carousel-item-end"],Zi=["disabled","aria-label"],Ji=["data-p-highlight"],Qi=["tabindex","aria-label","aria-current","onClick"];function el(n,e,o,r,i,l){var s=t.resolveDirective("ripple");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:n.cx("root"),role:"region"},n.ptmi("root")),[n.$slots.header?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,class:n.cx("header")},n.ptm("header")),[t.renderSlot(n.$slots,"header")],16)):t.createCommentVNode("",!0),l.empty?t.renderSlot(n.$slots,"empty",{key:2},function(){return[t.createTextVNode(t.toDisplayString(l.emptyMessageText),1)]}):(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:1,class:[n.cx("content"),n.contentClass]},n.ptm("content")),[t.createElementVNode("div",t.mergeProps({class:[n.cx("container"),n.containerClass],"aria-live":i.allowAutoplay?"polite":"off"},n.ptm("container")),[n.showNavigators?t.withDirectives((t.openBlock(),t.createElementBlock("button",t.mergeProps({key:0,type:"button",class:n.cx("previousButton"),disabled:l.backwardIsDisabled,"aria-label":l.ariaPrevButtonLabel,onClick:e[0]||(e[0]=function(){return l.navBackward&&l.navBackward.apply(l,arguments)})},Ve(Ve({},n.prevButtonProps),n.ptm("previousButton")),{"data-pc-group-section":"navigator"}),[t.renderSlot(n.$slots,"previousicon",{},function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.isVertical()?"ChevronUpIcon":"ChevronLeftIcon"),t.mergeProps({class:n.cx("previousButtonIcon")},n.ptm("previousButtonIcon")),null,16,["class"]))]})],16,Gi)),[[s]]):t.createCommentVNode("",!0),t.createElementVNode("div",t.mergeProps({class:n.cx("itemsContent"),style:[{height:l.isVertical()?n.verticalViewPortHeight:"auto"}],onTouchend:e[2]||(e[2]=function(){return l.onTouchEnd&&l.onTouchEnd.apply(l,arguments)}),onTouchstart:e[3]||(e[3]=function(){return l.onTouchStart&&l.onTouchStart.apply(l,arguments)}),onTouchmove:e[4]||(e[4]=function(){return l.onTouchMove&&l.onTouchMove.apply(l,arguments)})},n.ptm("itemsContent")),[t.createElementVNode("div",t.mergeProps({ref:"itemsContainer",class:n.cx("itemsContainer"),onTransitionend:e[1]||(e[1]=function(){return l.onTransitionEnd&&l.onTransitionEnd.apply(l,arguments)})},n.ptm("itemsContainer")),[l.isCircular()?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.value.slice(-1*i.d_numVisible),function(a,c){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:c+"_scloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:i.totalShiftedItems,d_numVisible:i.d_numVisible})},n.ptm("itemCloned"),{"data-p-carousel-item-active":i.totalShiftedItems*-1===n.value.length+i.d_numVisible,"data-p-carousel-item-start":c===0,"data-p-carousel-item-end":n.value.slice(-1*i.d_numVisible).length-1===c}),[t.renderSlot(n.$slots,"item",{data:a,index:c})],16,Xi)}),128)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,function(a,c){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:c,class:n.cx("item",{index:c}),role:"group","aria-hidden":l.firstIndex()>c||l.lastIndex()<c?!0:void 0,"aria-label":l.ariaSlideNumber(c),"aria-roledescription":l.ariaSlideLabel},n.ptm("item"),{"data-p-carousel-item-active":l.firstIndex()<=c&&l.lastIndex()>=c,"data-p-carousel-item-start":l.firstIndex()===c,"data-p-carousel-item-end":l.lastIndex()===c}),[t.renderSlot(n.$slots,"item",{data:a,index:c})],16,Yi)}),128)),l.isCircular()?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(n.value.slice(0,i.d_numVisible),function(a,c){return t.openBlock(),t.createElementBlock("div",t.mergeProps({key:c+"_fcloned",class:n.cx("itemCloned",{index:c,value:n.value,totalShiftedItems:i.totalShiftedItems,d_numVisible:i.d_numVisible})},n.ptm("itemCloned")),[t.renderSlot(n.$slots,"item",{data:a,index:c})],16)}),128)):t.createCommentVNode("",!0)],16)],16),n.showNavigators?t.withDirectives((t.openBlock(),t.createElementBlock("button",t.mergeProps({key:1,type:"button",class:n.cx("nextButton"),disabled:l.forwardIsDisabled,"aria-label":l.ariaNextButtonLabel,onClick:e[5]||(e[5]=function(){return l.navForward&&l.navForward.apply(l,arguments)})},Ve(Ve({},n.nextButtonProps),n.ptm("nextButton")),{"data-pc-group-section":"navigator"}),[t.renderSlot(n.$slots,"nexticon",{},function(){return[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.isVertical()?"ChevronDownIcon":"ChevronRightIcon"),t.mergeProps({class:n.cx("nextButtonIcon")},n.ptm("nextButtonIcon")),null,16,["class"]))]})],16,Zi)),[[s]]):t.createCommentVNode("",!0)],16,qi),l.totalIndicators>=0&&n.showIndicators?(t.openBlock(),t.createElementBlock("ul",t.mergeProps({key:0,ref:"indicatorContent",class:[n.cx("indicators"),n.indicatorsContentClass],onKeydown:e[6]||(e[6]=function(){return l.onIndicatorKeydown&&l.onIndicatorKeydown.apply(l,arguments)})},n.ptm("indicators")),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.totalIndicators,function(a,c){return t.openBlock(),t.createElementBlock("li",t.mergeProps({key:"p-carousel-indicator-"+c.toString(),class:n.cx("indicator",{index:c})},n.ptm("indicator",l.getIndicatorPTOptions(c)),{"data-p-highlight":i.d_page===c}),[t.createElementVNode("button",t.mergeProps({class:n.cx("indicatorButton"),type:"button",tabindex:i.d_page===c?"0":"-1","aria-label":l.ariaPageLabel(c+1),"aria-current":i.d_page===c?"page":void 0,onClick:function(d){return l.onIndicatorClick(d,c)}},n.ptm("indicatorButton",l.getIndicatorPTOptions(c))),null,16,Qi)],16,Ji)}),128))],16)):t.createCommentVNode("",!0)],16)),n.$slots.footer?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:3,class:n.cx("footer")},n.ptm("footer")),[t.renderSlot(n.$slots,"footer")],16)):t.createCommentVNode("",!0)],16)}$n.render=el;const tl=["innerHTML"],Sn=t.defineComponent({__name:"CarouselModule",props:{__typename:{},headline:{},carouselItems:{},backgroundColor:{},pt:{},variant:{default:"Default"},isProvider:{type:Boolean,default:!0},class:{}},setup(n){const e=n,o=t.computed(()=>w(Ke,e.pt??{})),{backgroundColor:r,palette:i}=F(e),l=t.computed(()=>`${O(e.variant!=="Hero"?"py-16 px-8":"",`bg-${r}`,e.class)} ${e.variant.toLowerCase()} carousel`);return(s,a)=>{var c;return t.openBlock(),t.createBlock(t.unref($n),{value:s.carouselItems,"num-visible":1,"num-scroll":1,class:t.normalizeClass(l.value),pt:o.value,"pt:item:class":`carousel-item w-full ${((c=o.value)==null?void 0:c.item)??""}`},t.createSlots({item:t.withCtx(u=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.data.__typename),t.mergeProps(u.data,{"is-child":!0}),null,16))]),footer:t.withCtx(()=>[]),nexticon:t.withCtx(()=>[]),_:2},[s.headline?{name:"header",fn:t.withCtx(()=>{var u;return[t.createElementVNode("h2",{class:t.normalizeClass(`carousel-headline ${((u=o.value)==null?void 0:u.headline)??""} text-${t.unref(i).headline}`),innerHTML:s.headline},null,10,tl)]}),key:"0"}:void 0]),1032,["value","class","pt","pt:item:class"])}}});var Se=(n=>(n[n.IconTile=0]="IconTile",n[n.ImageTile=1]="ImageTile",n[n.VideoTile=2]="VideoTile",n[n.ImageStackedAnimatedTile=3]="ImageStackedAnimatedTile",n[n.VideoLeft=4]="VideoLeft",n[n.Hero=5]="Hero",n[n.Centered=6]="Centered",n))(Se||{});const nl=["innerHTML"],Bn=t.defineComponent({__name:"ContainerModule",props:{__typename:{},headline:{},subHeadline:{},fullWidthContent:{},start:{},end:{},textColor:{},backgroundColor:{},backgroundImage:{},variant:{default:"Centered"},isChild:{type:Boolean,default:!1},pt:{},isProvider:{type:Boolean,default:!0},class:{}},setup(n){var f,p,h,C,g,b;const e=n,{backgroundColor:o,palette:r}=F(e),i=t.computed(()=>w(Ge[e.variant],e.pt??{})),l=t.computed(()=>Se[e.variant]===Se.Hero),s=t.computed(()=>Se[e.variant]===Se.Centered),a=t.computed(()=>{var y,B,T;return O(`container-module bg-${o} relative ${(y=i.value)==null?void 0:y.root} ${l.value?e.backgroundImage?`md:h-[60vw] md:max-h-[70vh] ${(B=i.value)==null?void 0:B.container}`:`md:h-[500px] md:max-h-[500px] ${(T=i.value)==null?void 0:T.container}`:""} `,e.class??"")}),c=t.computed(()=>{var B,T;let y=JSON.parse(JSON.stringify(e.backgroundImage));return y!=null&&y.media.width&&(y.media.width=void 0),y!=null&&y.media.height&&(y.media.height=void 0),(B=y==null?void 0:y.mobileMedia)!=null&&B.width&&(y.mobileMedia.width=void 0),(T=y==null?void 0:y.mobileMedia)!=null&&T.height&&(y.mobileMedia.height=void 0),y}),u=((f=e.fullWidthContent)==null?void 0:f.__typename)==="TileContent"?"TileContentTextTile":(p=e.fullWidthContent)==null?void 0:p.__typename,d=((h=e.start)==null?void 0:h.__typename)==="TileContent"?"TileContentTextTile":(C=e.start)==null?void 0:C.__typename,m=((g=e.end)==null?void 0:g.__typename)==="TileContent"?"TileContentTextTile":(b=e.end)==null?void 0:b.__typename;return(y,B)=>{const T=H;return t.openBlock(),t.createBlock(t.resolveDynamicComponent(y.isChild?"div":"section"),{class:t.normalizeClass(a.value)},{default:t.withCtx(()=>{var x,V,P,I,_,N,j,$,R;return[y.backgroundImage&&c.value?(t.openBlock(),t.createBlock(T,{key:0,media:c.value.media,"mobile-media":c.value.mobileMedia,class:t.normalizeClass(`md:absolute md:top-0 md:right-0 object-cover w-full h-full z-0 ${l.value?"object-bottom":""}`)},null,8,["media","mobile-media","class"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(`container-module-inner relative z-10 ${l.value?((x=y.start)==null?void 0:x.__typename)==="Image"?"container-hero-right":"container-hero":"container"} ${y.isChild||l.value?"":"py-4 px-8 md:py-16 md:px-4"} ${((V=i.value)==null?void 0:V.inner)??""}`)},[y.headline?(t.openBlock(),t.createElementBlock("h2",{key:0,class:t.normalizeClass(`container-module-headline ${!y.isChild&&l.value?"py-16":""} ${s.value?"text-center":""} ${((P=i.value)==null?void 0:P.headline)??""} text-${t.unref(r).headline}`),innerHTML:y.headline},null,10,nl)):t.createCommentVNode("",!0),y.subHeadline?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(`container-module-subheadline ${s.value?"text-center":""} ${((I=i.value)==null?void 0:I.subheadline)??""} text-${t.unref(r).subheadline}`)},t.toDisplayString(y.subHeadline),3)):t.createCommentVNode("",!0),y.fullWidthContent||y.start||y.end?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(`container-module-content flex flex-col ${((_=y.end)==null?void 0:_.__typename)==="Image"&&"flex-col-reverse"} md:flex-row gap-5 h-full ${((N=i.value)==null?void 0:N.bodyCopy)??""}`)},[y.fullWidthContent?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(`container-module-full-width-content ${((j=i.value)==null?void 0:j.fullWidthContent)??""} ${s.value?"mx-auto":""}`)},[t.unref(u)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(u)),t.mergeProps({key:0},y.fullWidthContent,{"is-child":!0,"is-hero":!!(t.unref(u)==="ContentModule"&&l.value)}),null,16,["is-hero"])):t.createCommentVNode("",!0)],2)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[y.start?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(`container-module-start basis-1/2 ${(($=i.value)==null?void 0:$.start)??""} ${l.value&&t.unref(d)!=="Image"?"py-16 md:pr-16 md:pl-0 px-12":""}`)},[t.unref(d)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(d)),t.mergeProps({key:0},y.start,{"is-child":!0,"is-hero":!!(t.unref(d)==="ContentModule"&&l.value)}),null,16,["is-hero"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(`container-module-end basis-1/2 ${((R=i.value)==null?void 0:R.end)??""} ${l.value&&t.unref(m)!=="Image"?"py-16 md:pr-16 md:pl-0 px-12":""}`)},[t.unref(m)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(m)),t.mergeProps({key:0},y.end,{"is-child":!0,"is-hero":!!(t.unref(m)==="ContentModule"&&l.value)}),null,16,["is-hero"])):t.createCommentVNode("",!0)],2)],64))],2)):t.createCommentVNode("",!0)],2),t.renderSlot(y.$slots,"default")]}),_:3},8,["class"])}}});var le=(n=>(n.Left="left",n.Center="center",n.Right="right",n.Inline="inline",n))(le||{});const G=t.defineComponent({__name:"CTA",props:{__typename:{},title:{},link:{},color:{},textColor:{},buttonType:{},logo:{},pt:{},ariaLabel:{},ariaDescription:{},anchor:{},target:{},size:{},class:{}},setup(n){const e=n,o=t.computed(()=>w(Ye[e.buttonType],e.pt??{})),r=t.computed(()=>e.buttonType==="link"||e.buttonType==="logo"),{palette:i}=F(e),l=i.cta[e.buttonType],s=t.computed(()=>{var h;const p=["cta whitespace-nowrap",O(((h=o.value)==null?void 0:h.root)??"",e.class??"","flex items-center gap-2")];if((e.buttonType==="link"||e.buttonType==="logo")&&p.push("hover:underline"),p.push(`text-${e.textColor??l.copy}`),e.size)switch(e.size){case"sm":p.push("*:text-sm"),e.buttonType==="fill"&&p.push("py-0.5 px-4");break;case"lg":p.push("*:text-lg font-bold"),e.buttonType==="fill"&&p.push("py-1.5 px-8");break;case"xl":p.push("*:text-xl font-bold"),e.buttonType==="fill"&&p.push("py-2 px-12");break;case"xxl":p.push("*:text-3xl font-bold"),e.buttonType==="fill"&&p.push("py-2 px-16");break}return e.buttonType==="fill"&&(p.push("rounded-[2rem]"),(e.color||l.bg)&&p.push(`bg-${e.color||l.bg}`),e.size||p.push("py-1 px-4")),l.border&&p.push(`border-${e.color??l.border}`),p.join(" ")}),a=t.computed(()=>{var p,h,C,g,b,y;return(h=(p=e.link)==null?void 0:p.page)!=null&&h.slug?`${(g=(C=e.link)==null?void 0:C.page)==null?void 0:g.slug}`:(b=e.link)!=null&&b.externalUrl?(y=e.link)==null?void 0:y.externalUrl:""}),c=t.computed(()=>{var p;return!!((p=e.link)!=null&&p.externalUrl)}),u=t.computed(()=>{var p;return e.ariaLabel??((p=e.link)==null?void 0:p.ariaLabel)??e.title}),d=t.computed(()=>{var p;return e.ariaDescription??((p=e.link)==null?void 0:p.ariaDescription)??""}),m=t.computed(()=>{var p,h,C;return e.target==="New Tab"||((p=e.link)==null?void 0:p.target)==="New Tab"?"_blank":e.target==="Same Tab"||((h=e.link)==null?void 0:h.target)==="Same Tab"?"_self":(C=e.link)!=null&&C.externalUrl?"_blank":"_self"}),f=t.computed(()=>c.value?"a":"router-link");return(p,h)=>{const C=H;return t.openBlock(),t.createBlock(t.resolveDynamicComponent(f.value),{"aria-label":u.value,"aria-description":d.value,to:c.value?"":a.value,href:c.value?a.value:"",target:c.value?m.value:"",rel:c.value?"noopener":"",class:t.normalizeClass(e.class)},{default:t.withCtx(()=>[t.createVNode(t.unref(Ct),{class:t.normalizeClass(s.value),link:r.value},{default:t.withCtx(()=>{var g,b,y;return[p.logo?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(`${p.buttonType==="logo"?(g=o.value)==null?void 0:g.logo:""} ${p.buttonType==="logo"?`bg-${e.textColor??t.unref(l).copy}`:""}`)},[typeof p.logo=="object"?(t.openBlock(),t.createBlock(C,t.normalizeProps(t.mergeProps({key:0},p.logo)),null,16)):typeof p.logo=="string"?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(t.unref(O)(p.logo,(b=o.value)==null?void 0:b.logo))},null,2)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(t.unref(O)("pointer-events-none whitespace-nowrap",((y=o.value)==null?void 0:y.headline)??""))},t.toDisplayString(p.title),3)]}),_:1},8,["class","link"])]),_:1},8,["aria-label","aria-description","to","href","target","rel","class"])}}}),ol={key:2},rl=["innerHTML"],il=["innerHTML"],ll=["innerHTML"],Tn=t.defineComponent({__name:"ContentModule",props:{__typename:{},headline:{},subHeadline:{},bodyCopy:{},ctas:{},textColor:{},backgroundColor:{},pt:{},logo:{},isHero:{type:Boolean,default:!1},alignment:{default:le.Left},isChild:{type:Boolean},isProvider:{type:Boolean},class:{}},setup(n){const e=n,o=e.alignment?e.alignment.toLowerCase():"left",r=t.computed(()=>w(Xe,e.pt??{})),i=t.computed(()=>o===le.Inline?"text-left md:text-left":`text-${o}`),l=t.computed(()=>{let m="";switch(o){case le.Right:m="justify-end";break;case le.Center:m="justify-center";break;default:m="justify-start"}return m}),s=t.computed(()=>{var m,f;return`${((m=r.value)==null?void 0:m.logo)??""} ${(f=e==null?void 0:e.logo)==null?void 0:f.class}`}),{backgroundColor:a,palette:c}=F(e),u=t.computed(()=>{var f;const m=["content-module-headline",`text-${c.headline}`,O(((f=r==null?void 0:r.value)==null?void 0:f.headline)??"",i.value)];return e.isChild?m.push("text-3xl md:text-4xl"):m.push("text-3xl md:text-5xl"),(e.bodyCopy||e.subHeadline&&e.isHero)&&m.push("mb-4 md:mb-6"),m.join(" ")}),d=t.computed(()=>{var f;return["content-module-subheadline mb-2",`text-${c.subheadline}`,O(((f=r==null?void 0:r.value)==null?void 0:f.subheadline)??"",i.value)].join(" ")});return(m,f)=>{var h,C,g,b;const p=H;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(`content-module ${m.isChild?"":"p-8 md:p-16"} ${((h=r.value)==null?void 0:h.root)??""} ${e.class??""} ${e.backgroundColor||!m.isChild?`bg-${t.unref(a)}`:""}`)},[t.createElementVNode("div",{class:t.normalizeClass(`content-module-container mx-auto ${((C=r.value)==null?void 0:C.container)??""} ${t.unref(o)===t.unref(le).Inline?"flex flex-col md:flex-row justify-between items-center gap-4":""}`)},[m.logo?(t.openBlock(),t.createBlock(p,t.mergeProps({key:0},m.logo,{class:s.value}),null,16,["class"])):t.createCommentVNode("",!0),m.subHeadline&&!m.isHero?(t.openBlock(),t.createElementBlock("h6",{key:1,class:t.normalizeClass(d.value)},t.toDisplayString(m.subHeadline),3)):t.createCommentVNode("",!0),m.headline?(t.openBlock(),t.createElementBlock("div",ol,[m.isHero?(t.openBlock(),t.createElementBlock("h1",{key:0,class:t.normalizeClass(u.value),innerHTML:m.headline},null,10,rl)):(t.openBlock(),t.createElementBlock("h2",{key:1,class:t.normalizeClass(u.value),innerHTML:m.headline},null,10,il))])):t.createCommentVNode("",!0),m.subHeadline&&m.isHero?(t.openBlock(),t.createElementBlock("h6",{key:3,class:t.normalizeClass(d.value)},t.toDisplayString(m.subHeadline),3)):t.createCommentVNode("",!0),m.bodyCopy?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(`content-module-body-copy text-${t.unref(c).copy} ${t.unref(O)(((g=r.value)==null?void 0:g.bodyCopy)??"",i.value)}`),innerHTML:m.bodyCopy},null,10,ll)):t.createCommentVNode("",!0),m.ctas?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(`content-module-ctas flex flex-wrap gap-4 ${l.value} ${t.unref(O)(((b=r.value)==null?void 0:b.ctas)??"",i.value)}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.ctas,(y,B)=>(t.openBlock(),t.createBlock(G,t.mergeProps({ref_for:!0},y,{key:`cta-${y.title}-${B}`,class:`${m.isHero?"w-full sm:w-auto justify-center":""}`}),null,16,["class"]))),128))],2)):t.createCommentVNode("",!0)],2)],2)}}}),al=["innerHTML"],En=t.defineComponent({__name:"ContainerCollectionModule",props:{__typename:{},headline:{},modules:{},backgroundColor:{},pt:{},isProvider:{type:Boolean,default:!0},class:{}},setup(n){const e=n,o=t.computed(()=>w(qe,e.pt??{})),{backgroundColor:r,palette:i}=F(e);return(l,s)=>{var a,c;return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`container-collection ${e.class??""} bg-${t.unref(r)}`)},[l.headline?(t.openBlock(),t.createElementBlock("h2",{key:0,class:t.normalizeClass(`container-collection-headline ${(a=o.value)==null?void 0:a.headline} text-${t.unref(i).headline}`),innerHTML:l.headline},null,10,al)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(`container-collection-content space-y-8 mx-auto container ${(c=o.value)==null?void 0:c.bodyCopy}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.modules,(u,d)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.__typename),t.mergeProps({ref_for:!0},u,{key:`${u==null?void 0:u.__typename}-${d}`,"is-child":!0}),null,16))),128))],2)],2)}}});var ne=(n=>(n[n.header=0]="header",n[n.footer=1]="footer",n))(ne||{});/*!
|
|
90
90
|
* vue-router v4.4.3
|
|
91
91
|
* (c) 2024 Eduardo San Martin Morote
|
|
92
92
|
* @license MIT
|