1import { D as Directive, H as HostAttr } from './bundled-app.js'; 2 3function t(t,e,i,o){var s,r=arguments.length,c=r<3?e:o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(c=(r<3?s(c):r>3?s(e,i,c):s(e,i))||c);return r>3&&c&&Object.defineProperty(e,i,c),c}function e(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}class PassAttributeToSection extends Directive{constructor(t){if(super(t),this.host=t,this.sectionSelector?this.section=document.querySelector(this.sectionSelector):this.section=this.host.closest(".shopify-section"),!this.section)return;if("object"==typeof this.attribute)for(let t=0;t<this.attribute.length;t++)this.section.setAttribute(this.attribute[t].label,this.attribute[t].value);else this.section.setAttribute(this.attribute,"");}}PassAttributeToSection.selector="[pass-attribute-to-section]",t([HostAttr("=pass-attribute-to-section"),e("design:type",Object)],PassAttributeToSection.prototype,"attribute",void 0),t([HostAttr(),e("design:type",String)],PassAttributeToSection.prototype,"sectionSelector",void 0); 4 5export { PassAttributeToSection };
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.