PageSourceSearch

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

js victor-longcat-video-avatar-1-5.hf.space collected 2026-10-03 10:24:43 UTC 2,197 bytes, 90 lines download raw bytes

1import { p as prop, e as init, b as set_class } from './i18n-dpAHICcw.js';
2import { R as push, t as template_effect, a as append, T as pop, U as flushSync, V as child, W as from_html, w as get, ae as derived_safe_equal, I as deep_read_state, z as untrack, Y as reset } from './index-CDZuCcOm.js';
3import './ScrollFade.svelte_svelte_type_style_lang-DUvCSfRk.js';
4import './MarkdownCode.svelte_svelte_type_style_lang-GeNUGzep.js';
5import { I as Image } from './Image-CJziNDBt.js';
6/* empty css                                                    */
7import './StreamingBar.svelte_svelte_type_style_lang-BxBb9ZZb.js';
8/* empty css                                                     */
9import './Upload-BlCAnBIo.js';
10/* empty css                                               */
11import './snippet-DVkMfmSq.js';
12import './prism-python-C_fanlsZ.js';
13import './misc-C2MjMwBX.js';
14/* empty css                                             */
15import './html-h_YSgefI.js';
16import './actions-BTh6ZJJ8.js';
17
18var root = from_html(`<div><!></div>`);
19
20function Example($$anchor, $$props) {
21	push($$props, false);
22
23	let value = prop($$props, 'value', 12);
24	let type = prop($$props, 'type', 12);
25	let selected = prop($$props, 'selected', 12, false);
26
27	var $$exports = {
28		get value() {
29			return value();
30		},
31
32		set value($$value) {
33			value($$value);
34			flushSync();
35		},
36
37		get type() {
38			return type();
39		},
40
41		set type($$value) {
42			type($$value);
43			flushSync();
44		},
45
46		get selected() {
47			return selected();
48		},
49
50		set selected($$value) {
51			selected($$value);
52			flushSync();
53		}
54	};
55
56	init();
57
58	var div = root();
59	let classes;
60	var node = child(div);
61
62	{
63		let $0 = derived_safe_equal(() => (
64			deep_read_state(value()),
65			untrack(() => value().composite?.url || value().background?.url)
66		));
67
68		Image(node, {
69			get src() {
70				return get($0);
71			},
72			alt: ''
73		});
74	}
75
76	reset(div);
77
78	template_effect(() => classes = set_class(div, 1, 'container svelte-ous74z', null, classes, {
79		table: type() === "table",
80		gallery: type() === "gallery",
81		selected: selected()
82	}));
83
84	append($$anchor, div);
85
86	return pop($$exports);
87}
88
89export { Example as default };
90//# sourceMappingURL=Example-fmE_UZAp.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.