1import { p as prop, s as slot, b as set_class, a as set_attribute, f as set_style } from './i18n-CGlVUOvE.js'; 2import { t as template_effect, a as append, Q as child, R as from_html, T as reset } from './index-Bq2njFOY.js'; 3 4var root = from_html(`<div><!></div>`); 5 6function BaseForm($$anchor, $$props) { 7 8 let label = prop($$props, 'label', 3, undefined); 9 var div = root(); 10 let classes; 11 let styles; 12 var node = child(div); 13 14 slot(node, $$props, 'default', {}, null); 15 reset(div); 16 17 template_effect(() => { 18 classes = set_class(div, 1, 'form svelte-d5xbca', null, classes, { 19 hidden: $$props.visible === false, 20 'hidden-css': $$props.visible === "hidden" 21 }); 22 23 set_attribute(div, 'role', label() ? "group" : undefined); 24 set_attribute(div, 'aria-label', label()); 25 26 styles = set_style(div, '', styles, { 27 'flex-grow': $$props.scale, 28 'min-width': `calc(min(${$$props.min_width}px, 100%))` 29 }); 30 }); 31 32 append($$anchor, div); 33} 34 35export { BaseForm as B }; 36//# sourceMappingURL=BaseForm-BF0VUPNl.js.map
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.