1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
var _tmpl = template("<div</div>", 2), _tmpl$1 = template("<div/>", 0);
const template1 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, simple, null);
return _tmpl;
};
const template2 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic, null);
return _tmpl;
};
const template3 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, simple ? good : bad, null);
return _tmpl;
};
const template4 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, simple ? good() : bad, null);
return _tmpl;
};
const template5 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic ? good() : bad, null);
return _tmpl;
};
const template6 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic && good(), null);
return _tmpl;
};
const template7 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.count > 5 ? state.dynamic ? best : good() : bad, null);
return _tmpl;
};
const template8 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic && state.something && good(), null);
return _tmpl;
};
const template9 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic && good() || bad, null);
return _tmpl;
};
const template10 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.a ? "a" : state.b ? "b" : state.c ? "c" : "fallback", null);
return _tmpl;
};
const template11 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.a ? a() : state.b ? b() : state.c ? "c" : "fallback", null);
return _tmpl;
};
const template12 = createComponent(Comp, {
render: state.dynamic ? good() : bad
});
const template13 = createComponent(Comp, {
render: state.dynamic ? good : bad
});
const template14 = createComponent(Comp, {
render: state.dynamic && good()
});
const template15 = createComponent(Comp, {
render: state.dynamic && good
});
const template16 = createComponent(Comp, {
render: state.dynamic || good()
});
const template17 = createComponent(Comp, {
render: state.dynamic ? createComponent(Comp, {}) : createComponent(Comp, {})
});
const template18 = createComponent(Comp, {
get children: [
state.dynamic ? createComponent(Comp, {}) : createComponent(Comp, {})
]
});
const template19 = () => {
var _el = _tmpl$1.cloneNode(true);
effect(() => {
return setAttribute(_el, "innerHTML", state.dynamic ? createComponent(Comp, {}) : createComponent(Comp, {}));
});
return _el;
};
const template20 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic ? createComponent(Comp, {}) : createComponent(Comp, {}), null);
return _tmpl;
};
const template21 = createComponent(Comp, {
render: state?.dynamic ? "a" : "b"
});
const template22 = createComponent(Comp, {
get children: [
state?.dynamic ? "a" : "b"
]
});
const template23 = () => {
var _el = _tmpl$1.cloneNode(true);
effect(() => {
return setAttribute(_el, "innerHTML", state?.dynamic ? "a" : "b");
});
return _el;
};
const template24 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state?.dynamic ? "a" : "b", null);
return _tmpl;
};
const template25 = createComponent(Comp, {
render: state.dynamic ?? createComponent(Comp, {})
});
const template26 = createComponent(Comp, {
get children: [
state.dynamic ?? createComponent(Comp, {})
]
});
const template27 = () => {
var _el = _tmpl$1.cloneNode(true);
effect(() => {
return setAttribute(_el, "innerHTML", state.dynamic ?? createComponent(Comp, {}));
});
return _el;
};
const template28 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, state.dynamic ?? createComponent(Comp, {}), null);
return _tmpl;
};
const template29 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, (thing() && thing1()) ?? thing2() ?? thing3(), null);
return _tmpl;
};
const template30 = () => {
var _tmpl = _tmpl.cloneNode(true);
insert(_tmpl, thing() || thing1() || thing2(), null);
return _tmpl;
};
const template31 = createComponent(Comp, {
value: count() ? count() ? count() : count() : count()
});
|