1import { p as prop, s as slot, i as if_block, a as set_attribute, b as set_class } from './i18n-CMo5lpzy.js'; 2import { R as push, S as first_child, t as template_effect, a as append, T as pop, U as flushSync, V as child, W as from_html, X as sibling, Y as reset } from './index-BvBk1Iap.js'; 3import { I as Info } from './Info-BrkJhX6_.js'; 4import './ScrollFade.svelte_svelte_type_style_lang-Xm-PLg9E.js'; 5 6var root = from_html(`<span data-testid="block-info"><!></span> <!>`, 1); 7 8function BlockTitle($$anchor, $$props) { 9 push($$props, false); 10 11 let show_label = prop($$props, 'show_label', 12, true); 12 let info = prop($$props, 'info', 12, undefined); 13 let rtl = prop($$props, 'rtl', 12, false); 14 15 var $$exports = { 16 get show_label() { 17 return show_label(); 18 }, 19 20 set show_label($$value) { 21 show_label($$value); 22 flushSync(); 23 }, 24 25 get info() { 26 return info(); 27 }, 28 29 set info($$value) { 30 info($$value); 31 flushSync(); 32 }, 33 34 get rtl() { 35 return rtl(); 36 }, 37 38 set rtl($$value) { 39 rtl($$value); 40 flushSync(); 41 } 42 }; 43 44 var fragment = root(); 45 var span = first_child(fragment); 46 let classes; 47 var node = child(span); 48 49 slot(node, $$props, 'default', {}); 50 reset(span); 51 52 var node_1 = sibling(span, 2); 53 54 { 55 var consequent = ($$anchor) => { 56 Info($$anchor, { 57 get info() { 58 return info(); 59 } 60 }); 61 }; 62 63 if_block(node_1, ($$render) => { 64 if (info()) $$render(consequent); 65 }); 66 } 67 68 template_effect(() => { 69 set_attribute(span, 'dir', rtl() ? "rtl" : "ltr"); 70 71 classes = set_class(span, 1, 'svelte-jdcl7l', null, classes, { 72 hide: !show_label(), 73 'has-info': info() != null, 74 'sr-only': !show_label() 75 }); 76 77 span.dir = span.dir; 78 }); 79 80 append($$anchor, fragment); 81 82 return pop($$exports); 83} 84 85export { BlockTitle as B }; 86//# sourceMappingURL=BlockTitle-7XQ-8ENg.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.