PageSourceSearch

https://mike0021-deepspec-decoding-lab.hf.space/assets/Example-DKXxzR9j.js

js mike0021-deepspec-decoding-lab.hf.space collected 2026-10-03 17:08:53 UTC 1,340 bytes, 69 lines download raw bytes

1import { p as prop, i as if_block } from './i18n-dpAHICcw.js';
2import { R as push, a6 as comment, S as first_child, a as append, T as pop, U as flushSync, a7 as text, t as template_effect, a0 as set_text } from './index-CDZuCcOm.js';
3
4function Example($$anchor, $$props) {
5	push($$props, false);
6
7	let title = prop($$props, 'title', 12);
8	let x = prop($$props, 'x', 12);
9	let y = prop($$props, 'y', 12);
10
11	var $$exports = {
12		get title() {
13			return title();
14		},
15
16		set title($$value) {
17			title($$value);
18			flushSync();
19		},
20
21		get x() {
22			return x();
23		},
24
25		set x($$value) {
26			x($$value);
27			flushSync();
28		},
29
30		get y() {
31			return y();
32		},
33
34		set y($$value) {
35			y($$value);
36			flushSync();
37		}
38	};
39
40	var fragment = comment();
41	var node = first_child(fragment);
42
43	{
44		var consequent = ($$anchor) => {
45			var text$1 = text();
46
47			template_effect(() => set_text(text$1, title()));
48			append($$anchor, text$1);
49		};
50
51		var alternate = ($$anchor) => {
52			var text_1 = text();
53
54			template_effect(() => set_text(text_1, `${x() ?? ''} x ${y() ?? ''}`));
55			append($$anchor, text_1);
56		};
57
58		if_block(node, ($$render) => {
59			if (title()) $$render(consequent); else $$render(alternate, false);
60		});
61	}
62
63	append($$anchor, fragment);
64
65	return pop($$exports);
66}
67
68export { Example as default };
69//# sourceMappingURL=Example-DKXxzR9j.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.