import{r as o,g as e,c as s,j as r,H as a}from"./index-C7YNCRgy.js";import{u as d}from"./utils-3tiLrJBo.js";const p=class{constructor(e){o(this,e)}get host(){return e(this)}loading=!1;popoverId;render(){const{popoverId:o}=this,e=d(),p=o||e;return s(a,{children:[r("dds-button",{popovertarget:p,popovertargetaction:"toggle",children:"Toggle popover"},"16cebe31c04db5c72f71b8c747117a031917dd60"),r("div",{class:"dds-popover",id:p,popover:"auto",children:r("slot",{},"c7972fb3ef8968958945b080ce8a0708968c6879")},"d77ddf49d7fc84fb849d6bc2982c118ba557854c")]},"d6a9e744284a6e5ad750cfb7b16a745eaedf46ba")}};p.style="@layer base {      dds-popover {     display: contents;   }       .dds-popover {     margin: 0;     position-area: end span-end;     position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;        } }  @layer states {      .dds-popover:popover-open {     display: block;   } }  @layer reset, base, states;";export{p as dds_popover}