1import { O as Ohm } from './bundled-app.js'; 2import { C as Component } from './bundled-Component.js'; 3 4function HostChildren(r,{returnJQuery:n=!1}={}){return function(o,l){let i=[];return {get(){if("string"==typeof r)i=n?jQuery(r):this.host.querySelectorAll(r);else if(this.innerOhmModule){let n=this.innerOhmModule.getInstancesByConstructor(r),o=function(r,n){let o=[];for(let l=0;l<r.length;l++){let i=r[l];if(i.hasAttribute(Component.MODULE_ID_ATTR_NAME)){let r=Ohm.getModule(i.getAttribute(Component.MODULE_ID_ATTR_NAME));if(r){let t=r.getInstancesByConstructor(n);t.length&&(o=[...o,...t]);}}}return o}(this.host.querySelectorAll(`[${Component.MODULE_ID_ATTR_NAME}]`),r),l=[];n.length&&(l=[].concat(l,n)),o.length&&(l=[].concat(l,o)),i=l;}else i=Ohm.getHostChildrenDirectives(this.host,r);return i},set(t){i=t;}}}} 5 6export { HostChildren as H };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.