1import { p as prop, i as if_block, b as set_class, k as each, u as index } from './i18n-CGlVUOvE.js'; 2import { M as push, t as template_effect, a as append, O as pop, R as from_html, Q as child, N as first_child, T as reset, X as set_text, Z as get, S as sibling } from './index-Bq2njFOY.js'; 3 4var root_2 = from_html(`<li><code> </code></li>`); 5var root_3 = from_html(`<li class="extra svelte-14aa7hi">...</li>`); 6var root_1 = from_html(`<!> <!>`, 1); 7var root = from_html(`<ul><!></ul>`); 8 9function Example($$anchor, $$props) { 10 push($$props, true); 11 12 let selected = prop($$props, 'selected', 3, false); 13 var ul = root(); 14 let classes; 15 var node = child(ul); 16 17 { 18 var consequent_1 = ($$anchor) => { 19 var fragment = root_1(); 20 var node_1 = first_child(fragment); 21 22 each(node_1, 17, () => Array.isArray($$props.value) ? $$props.value.slice(0, 3) : [$$props.value], index, ($$anchor, path) => { 23 var li = root_2(); 24 var code = child(li); 25 var text = child(code); 26 27 reset(code); 28 reset(li); 29 template_effect(() => set_text(text, `./${get(path) ?? ''}`)); 30 append($$anchor, li); 31 }); 32 33 var node_2 = sibling(node_1, 2); 34 35 { 36 var consequent = ($$anchor) => { 37 var li_1 = root_3(); 38 39 append($$anchor, li_1); 40 }; 41 42 if_block(node_2, ($$render) => { 43 if (Array.isArray($$props.value) && $$props.value.length > 3) $$render(consequent); 44 }); 45 } 46 47 append($$anchor, fragment); 48 }; 49 50 if_block(node, ($$render) => { 51 if ($$props.value) $$render(consequent_1); 52 }); 53 } 54 55 reset(ul); 56 57 template_effect(() => classes = set_class(ul, 1, 'svelte-14aa7hi', null, classes, { 58 table: $$props.type === "table", 59 gallery: $$props.type === "gallery", 60 selected: selected() 61 })); 62 63 append($$anchor, ul); 64 pop(); 65} 66 67export { Example as default }; 68//# sourceMappingURL=Example-DQSMQK5Q.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.