import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";const prestoActionBarUiCss=":host{display:block;overflow:hidden}.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;background:var(--presto-action-bar-background, #1d1d1d);color:#fff;padding:0 var(--presto-action-bar-padding, 6px);line-height:1em;font-size:16px;margin-top:-100%;transition:margin var(--presto-action-bar-animation-speed, 0.5s) ease-in-out;transform:translate3d(0);border-radius:0px 0px var(--presto-player-border-radius) var(--presto-player-border-radius)}.bar.bar--open{margin-top:0}.bar__button{margin:var(--presto-action-bar-padding, 6px);display:flex;align-items:center}.bar__content{margin:var(--presto-action-bar-padding, 6px);width:100%;text-align:center}@media screen and (min-width: 480px){.bar__content{width:auto}}",PrestoActionBarUi=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return h("div",{key:"b45af8959832ecc2f240622497174cd70f17015d",class:{bar:!0,"bar--open":this.open}},h("span",{key:"96010998372b90e5afba2316b9b71b3efb0e7502",part:"content",class:"bar__content"},h("slot",{key:"c166254469403bf9b24479697f11fda494246dcb"})),h("span",{key:"94a877081d27b5b19dd68419ca1b0694ef25053c",part:"button",class:"bar__button"},h("slot",{key:"de591a41e84782ef5b9dcdc06c5ee06e22e1b024",name:"button"})))}static get style(){return prestoActionBarUiCss}},[257,"presto-action-bar-ui",{open:[4]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["presto-action-bar-ui"].forEach(e=>{"presto-action-bar-ui"===e&&(customElements.get(e)||customElements.define(e,PrestoActionBarUi))})}export{PrestoActionBarUi as P,defineCustomElement as d};