import{x as e,y as t,p as o,z as s}from"./popup-e76e963a.js";import{b as r}from"./constants-38572198.js";import{D as i}from"./popupportal-e116a31b.js";import{_ as a}from"./tslib.es6-d65164b3.js";import{e as p}from"./custom-element-267f9a21.js";import{s as n,x as m}from"./lit-element-462e7ad3.js";import"./layouthelper-67dd777a.js";import"./point-e4ec110e.js";import"./constants-7c047c0d.js";import"./rafaction-bba7928b.js";import"./screenhelper-e9ec6e3e.js";import"./transformhelper-ebad0156.js";import"./positiontracker-754c1e75.js";import"./branch-aebd078a.js";import"./property-4ec0b52d.js";import"./eventhelper-8bcec49f.js";import"./logicaltreehelper-67db40f1.js";import"./portal-e7c7352c.js";import"./data-qa-utils-8be7c726.js";import"./const-90026e45.js";import"./dx-html-element-pointer-events-helper-6dda355e.js";import"./dom-4684d8d6.js";import"./_commonjsHelpers-41cdd1e7.js";import"./string-2448bf95.js";import"./browser-3fc721b7.js";import"./devices-17b9ba08.js";import"./dx-ui-element-b777832b.js";import"./lit-element-base-b20b52b2.js";import"./dx-license-e00a5bc7.js";import"./capture-manager-fb670c21.js";import"./focushelper-2eea96ca.js";import"./nameof-factory-64d95f5b.js";import"./custom-events-helper-e7f279d3.js";import"./focustrap-d11cfef9.js";import"./tabbable-a2ae89a6.js";import"./key-a66127fc.js";import"./keyboard-navigation-strategy-0cccb7d5.js";import"./dom-utils-bf33c859.js";import"./css-classes-1103f305.js";import"./focus-utils-1fc0087c.js";import"./disposable-d2c2d283.js";const c="dxbl-modal-root";let d=class extends n{constructor(){super(...arguments),this.slotChangedHandler=this.handleSlotChange.bind(this)}render(){return m`
            <slot @slotchange=${this.slotChangedHandler}></slot>
        `}handleSlotChange(o){const s=o.target.assignedNodes().find((t=>t instanceof e)),r=this.closest(t);r&&(s?(r.notifyDialogConnected(s),r.notifyRootConnected()):(r.notifyDialogDisconnected(),r.notifyRootDisconnected()))}};d=a([p(c)],d);const l=[o,s,t,c,r,i];function j(e){if(!e)throw new Error("failed");return e}const f={getReference:j,registeredComponents:l};export{f as default,j as getReference,l as registeredComponents};
