PageSourceSearch

https://r3gm-diffusecraft.hf.space/assets/Square-Bg2evxzG.js

js r3gm-diffusecraft.hf.space collected 2026-10-03 10:21:56 UTC 1,176 bytes, 45 lines download raw bytes

1import { p as prop, a as set_attribute } from './i18n-dpAHICcw.js';
2import { R as push, t as template_effect, a as append, T as pop, U as flushSync, f as from_svg } from './index-CDZuCcOm.js';
3
4var root = from_svg(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" class="feather feather-square"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect></svg>`);
5
6function Square($$anchor, $$props) {
7	push($$props, false);
8
9	let fill = prop($$props, 'fill', 12, "currentColor");
10	let stroke_width = prop($$props, 'stroke_width', 12, 1.5);
11
12	var $$exports = {
13		get fill() {
14			return fill();
15		},
16
17		set fill($$value) {
18			fill($$value);
19			flushSync();
20		},
21
22		get stroke_width() {
23			return stroke_width();
24		},
25
26		set stroke_width($$value) {
27			stroke_width($$value);
28			flushSync();
29		}
30	};
31
32	var svg = root();
33
34	template_effect(() => {
35		set_attribute(svg, 'fill', fill());
36		set_attribute(svg, 'stroke-width', `${stroke_width()}`);
37	});
38
39	append($$anchor, svg);
40
41	return pop($$exports);
42}
43
44export { Square as S };
45//# sourceMappingURL=Square-Bg2evxzG.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.