PageSourceSearch

https://victor-longcat-video-avatar-1-5.hf.space/assets/Example-DD1HLmIx.js

js victor-longcat-video-avatar-1-5.hf.space collected 2026-10-03 10:24:59 UTC 1,587 bytes, 60 lines download raw bytes

1import { p as prop, i as if_block, b as set_class } from './i18n-dpAHICcw.js';
2import { t as template_effect, a as append, W as from_html, V as child, Y as reset } from './index-CDZuCcOm.js';
3import { J as JSON_1 } from './JSON-CeWOiUsf.js';
4import './Check-4kogBHUX.js';
5import './Copy-C8W4pNlO.js';
6import './ScrollFade.svelte_svelte_type_style_lang-DUvCSfRk.js';
7import './snippet-DVkMfmSq.js';
8import './MarkdownCode.svelte_svelte_type_style_lang-GeNUGzep.js';
9import './prism-python-C_fanlsZ.js';
10import './Empty-617iGDfy.js';
11import './IconButtonWrapper-KjCt2Pl8.js';
12
13var root = from_html(`<div><!></div>`);
14
15function Example($$anchor, $$props) {
16	let theme_mode = prop($$props, 'theme_mode', 3, "system"),
17		selected = prop($$props, 'selected', 3, false);
18
19	let show_indices = false;
20	let label_height = 0;
21	var div = root();
22	let classes;
23	var node = child(div);
24
25	{
26		var consequent = ($$anchor) => {
27			JSON_1($$anchor, {
28				get value() {
29					return $$props.value;
30				},
31				open: true,
32				get theme_mode() {
33					return theme_mode();
34				},
35				show_indices,
36				label_height,
37				interactive: false,
38				show_copy_button: false
39			});
40		};
41
42		if_block(node, ($$render) => {
43			if ($$props.value) $$render(consequent);
44		});
45	}
46
47	reset(div);
48
49	template_effect(() => classes = set_class(div, 1, 'container svelte-19cq9h3', null, classes, {
50		table: $$props.type === "table",
51		gallery: $$props.type === "gallery",
52		selected: selected(),
53		border: $$props.value
54	}));
55
56	append($$anchor, div);
57}
58
59export { Example as default };
60//# sourceMappingURL=Example-DD1HLmIx.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.