import{r as registerInstance,h as h$1,c as Host}from"./index-38ad4957.js";import{n as h}from"./dom-context-hooks.module-50442785.js";import{o as optimizeCloudinaryUrl}from"./imageUrl-4775f17b.js";var HeroImage=function(){function t(t){registerInstance(this,t);this.logoTextSize=32;this.logoTextColor="var(--sqm-primary-color, var(--sqm-text, #555555))";this.nextPage="/";this.height=60;h(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return h$1(Host,null,h$1("a",{href:this.nextPage,part:"sqm-link",style:{textDecoration:"none"}},this.imageUrl?h$1("img",{style:{height:(this===null||this===void 0?void 0:this.height)+"px"},src:optimizeCloudinaryUrl(this===null||this===void 0?void 0:this.imageUrl,{height:(this===null||this===void 0?void 0:this.height)?this.height*2:undefined}),decoding:"async"}):h$1("h3",{style:{fontSize:this.logoTextSize+"px",color:this.logoTextColor}},this.logoText)))};return t}();export{HeroImage as sqm_header_logo};