"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[608,5846,8227],{608(t,e,s){s.d(e,{T:()=>r}),s(7161);var o=s(429),l=s(2364),n=function(t,e,s,o){var l,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,o);else for(var i=t.length-1;i>=0;i--)(l=t[i])&&(r=(n<3?l(r):n>3?l(e,s,r):l(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};const r=t=>{if((0,l.V)(r,t))return t;class e extends t{constructor(){super(...arguments),this._slotted=[],this._isSlotted=!1,this.handleSlotChange=()=>{this._isSlotted=!0,this.slotted=this.filterSlotted()}}get slotted(){return this._slotted}set slotted(t){if(this._isSlotted){const e=this._slotted;this._slotted=t,this._isSlotted=!1,this.requestUpdate("slotted",e)}}get slotElement(){return this._slotElement}filterSlotted(){return Array.from(this.children)}slottedChanged(){}firstUpdated(t){super.firstUpdated(t),this.slotElement&&this.slotElement.addEventListener("slotchange",this.handleSlotChange)}update(t){super.update(t),t.has("slotted")&&this.slottedChanged()}disconnectedCallback(){this.slotElement&&this.slotElement.removeEventListener("slotchange",this.handleSlotChange)}}return n([(0,o.property)({type:Array,attribute:!1})],e.prototype,"slotted",null),n([(0,o.query)("slot")],e.prototype,"_slotElement",void 0),(0,l.B)(r,e),e}}}]);