import{r as s,h as o}from"./p-083180bf.js";import{n as t}from"./p-a7fc1e02.js";import{g as r}from"./p-d0993bb9.js";import"./p-cef45012.js";import"./p-49b20dae.js";import{C as i}from"./p-d0559e66.js";const a=class{constructor(o){s(this,o),this.color="#000000",t(this)}disconnectedCallback(){}render(){var s;const t=r();return"SquatchJS2"!==t.type||"POPUP"!==(null===(s=t.widgetIdent)||void 0===s?void 0:s.engagementMedium)?o("div",{style:{display:"none"}}):o(i,{onClick:()=>{var s,o;"SquatchJS2"===t.type&&(null===(o=(s=t.api).close)||void 0===o||o.call(s))},color:this.color})}};export{a as sqm_close_button}