import{template as l,makeStyleResponsive as d}from"@gem-sdk/core";let CODE_ATTRIBUTE="data-bndlr-ccid",CODE_ATTRIBUTE_VALUE_REGEX=RegExp('(?<=data-bndlr-ccid=")[^"]+(?=")',"g"),Bundler=({setting:e,advanced:a})=>{let{shortCode:t,align:r}=e??{},[s]=t?.match(CODE_ATTRIBUTE_VALUE_REGEX)??[],E=s??t;return l`
    <div
      class="${a?.cssClass}"
      style="${{...d("ta",r)}}"
      class="h-full w-full"
    >
      <div class="bundler-target-element" data-bndlr-ccid="${E}"></div>
    </div>
  `};export{Bundler as default};
