/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import{t as e,p as t,H as i,h as o}from"./p-DmsAWRoU.js";import{c as r}from"./p-C6gMOKYg.js";import{d as s}from"./p-CdoAt_fp.js";const n=()=>`.layer{padding:1rem;display:flex}.layer.position-top{align-items:flex-start}.layer.position-middle{align-items:center}.layer.position-bottom{align-items:flex-end}.layer.position-left{justify-content:flex-start}.layer.position-center{justify-content:center}.layer.position-right{justify-content:flex-end}.inner{display:flex}.inner.vertical{flex-direction:column}.inner.horizonal{flex-direction:row}::slotted(*){pointer-events:initial}`;const l=t(class e extends i{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.placement="bottom-center";this.direction="horizontal"}render(){const[e,t]=this.placement.split("-");return o("vertex-viewer-layer",{key:"9a806f9d919ccd7dccdb849e8403cac35ad50e4d",class:r("layer",{"position-top":e==="top","position-middle":e==="middle","position-bottom":e==="bottom","position-left":t==="left","position-center":t==="center","position-right":t==="right"})},o("div",{key:"07b21949f6065f08e78143fe664b17348f67e28f",class:r("inner",{vertical:this.direction==="vertical",horizontal:this.direction==="horizontal"})},o("slot",{key:"d5b7ee0c96e101a581c1e3d6d4e286ab843942a1"})))}static get style(){return n()}},[257,"vertex-viewer-toolbar",{placement:[1],direction:[1]}]);function a(){if(typeof customElements==="undefined"){return}const t=["vertex-viewer-toolbar","vertex-viewer-layer"];t.forEach((t=>{switch(t){case"vertex-viewer-toolbar":if(!customElements.get(e(t))){customElements.define(e(t),l)}break;case"vertex-viewer-layer":if(!customElements.get(e(t))){s()}break}}))}a();export{l as V,a as d};
//# sourceMappingURL=p-BqWR8F1N.js.map