import{proxyCustomElement as e,HTMLElement as t,createEvent as o,transformTag as n}from"@stencil/core/internal/client";import{H as i,b as l}from"./index.esm.js";import{H as s}from"./highlight-item.handler.js";let c=class{constructor(e){this.itemId=e}};c=function(e,t,o,n){var i,l=arguments.length,s=l<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(s=(l<3?i(s):l>3?i(t,o,s):i(t,o))||s);return l>3&&s&&Object.defineProperty(t,o,s),s}([i({id:"limebb-feed.highlight-item"})],c);const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.loaded=o(this,"loaded",7)}connectedCallback(){}async componentWillLoad(){const e=new s;this.platform.register(s.SERVICE_NAME,e),this.commandBus.register(c,e),this.loaded.emit()}componentWillUpdate(){}disconnectedCallback(){}get commandBus(){return this.platform.get(l.CommandBus)}},[1,"limebb-loader",{platform:[16],context:[16]}]),m=r,a=function(){"undefined"!=typeof customElements&&["limebb-loader"].forEach((e=>{"limebb-loader"===e&&(customElements.get(n(e))||customElements.define(n(e),r))}))};export{m as LimebbLoader,a as defineCustomElement}