@torpor/view 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/compile.cjs +4 -8
  3. package/dist/compile.cjs.map +1 -1
  4. package/dist/compile.js +4 -8
  5. package/dist/compile.js.map +1 -1
  6. package/dist/index.cjs +1 -4
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +1 -2
  9. package/dist/index.d.ts +1 -2
  10. package/dist/index.js +1 -4
  11. package/dist/index.js.map +1 -1
  12. package/dist/metafile-cjs.json +1 -1
  13. package/dist/metafile-esm.json +1 -1
  14. package/package.json +1 -1
  15. package/src/compile/build/client/buildFragment.ts +2 -8
  16. package/src/compile/build/server/buildServerComponentNode.ts +12 -1
  17. package/src/render/nodeAnchor.ts +1 -11
  18. package/test/await/components/output/Await-client.ts +2 -2
  19. package/test/await/components/temp/{Await-client-5d753441145fbac078393af24cccadb208453d69.ts → Await-client-9c30564ea39457e614e60c0cc0a71c431e8a1e76.ts} +2 -2
  20. package/test/bind/components/output/BindComponent-client.ts +2 -2
  21. package/test/bind/components/output/BindComponent-server.ts +2 -2
  22. package/test/bind/components/temp/{BindComponent-client-aaeb489ce72b664c6372f8764f7e665994a751a7.ts → BindComponent-client-6f650efb818a185ef33e1b071cfd77415a803dd3.ts} +2 -2
  23. package/test/bind/components/temp/{BindComponent-server-c630dee0bee6cea49d5eb8bea04979a737bb8f5e.ts → BindComponent-server-2e6caf0cbbb2831eb4bfbd7dcd6cf4d5c422d047.ts} +2 -2
  24. package/test/child-component/components/output/ParentChild-client.ts +1 -1
  25. package/test/child-component/components/output/ParentChild-server.ts +2 -2
  26. package/test/child-component/components/temp/{ParentChild-client-6cf4d156ea46338815270faf67f56472f1a4ccd4.ts → ParentChild-client-50ca7e499599209c9d674f2561413ca14a282c22.ts} +1 -1
  27. package/test/child-component/components/temp/{ParentChild-server-a34a8b5acf1c00d1990f8ab7433599506265a45a.ts → ParentChild-server-5e4a7fa5f4cd1c7dbe6866819025d2c03bfc62cb.ts} +2 -2
  28. package/test/class/components/output/Class-client.ts +1 -1
  29. package/test/class/components/output/Class-server.ts +2 -2
  30. package/test/class/components/temp/{Class-client-0405eff591f854c04e5728df0479014ef91efc61.ts → Class-client-de2491c550647203bea08727fa8c88f30654db0a.ts} +1 -1
  31. package/test/class/components/temp/{Class-server-daf30ffb1bacf9877e3385dc9a3eede61c972329.ts → Class-server-c24c01d0d3a98169172aba453c183c4152705be9.ts} +2 -2
  32. package/test/component/components/output/Component-client.ts +2 -2
  33. package/test/component/components/output/Component-server.ts +2 -2
  34. package/test/component/components/temp/{Component-client-355b42e5f7411c399e2f50fba3580f4f7c3fa943.ts → Component-client-350d20784712c710929cc3ab34c6828b0ea338d8.ts} +2 -2
  35. package/test/component/components/temp/{Component-server-81012827b18e82d787d194a0a1a9d4e07311a336.ts → Component-server-57f59c74599572da6322a67cb97848cfbfcf6968.ts} +2 -2
  36. package/test/effects/components/output/For-client.ts +1 -1
  37. package/test/effects/components/output/If-client.ts +1 -1
  38. package/test/effects/components/output/NestedIf-client.ts +3 -3
  39. package/test/effects/components/temp/{For-client-fbe876286c0f99b8391ff0c06c92b58bf580218f.ts → For-client-35bf9bea43f53d6c0cf807f9e31500765fa0b455.ts} +1 -1
  40. package/test/effects/components/temp/{If-client-420a093f13de6ce07d2d4bc94705901809096cd9.ts → If-client-efb994796596d9d08f59a0ab5ffdacc74bd04545.ts} +1 -1
  41. package/test/effects/components/temp/{NestedIf-client-af88ec303b1a4184263bb370ef5b1f1e8aca8efc.ts → NestedIf-client-845b3789b8a938439bff758bc9b3731d769c8ff6.ts} +3 -3
  42. package/test/for/components/output/For-client.ts +1 -1
  43. package/test/for/components/output/ForEscape-client.ts +1 -1
  44. package/test/for/components/output/ForIn-client.ts +1 -1
  45. package/test/for/components/output/ForOf-client.ts +1 -1
  46. package/test/for/components/temp/{For-client-421f2a6ca501d135c0aef9d1aaea25de0e1c00e4.ts → For-client-8ecb11a2f34c81f837bffdb88598da06d8c19158.ts} +1 -1
  47. package/test/for/components/temp/{ForEscape-client-72879c80f7544c2edfc224095740bdea20e1e12d.ts → ForEscape-client-14e7648415d967cdc57bf03d176eb6b6dddf0fb2.ts} +1 -1
  48. package/test/for/components/temp/{ForIn-client-e12c45d7f53e50ea3ed456110138dfb95f6930e0.ts → ForIn-client-25cd67f246a50fc6d926a8c66aa5e106f19578a8.ts} +1 -1
  49. package/test/for/components/temp/{ForOf-client-422d67d6c046f1d1de655719d061ea29f67d23f7.ts → ForOf-client-8f6598ccd9dc7b79aff6167b90ccea94f3029c84.ts} +1 -1
  50. package/test/html/components/output/Html-client.ts +1 -1
  51. package/test/html/components/temp/{Html-client-2f309b06c3304a952d249057dec058a514d52874.ts → Html-client-93b0d666142c64cd651dc37f14f12884b2f30612.ts} +1 -1
  52. package/test/if/components/output/IfAfterIf-client.ts +3 -3
  53. package/test/if/components/output/IfElse-client.ts +2 -2
  54. package/test/if/components/output/IfElseIf-client.ts +2 -2
  55. package/test/if/components/output/IfFalse-client.ts +2 -2
  56. package/test/if/components/output/IfNested-client.ts +4 -4
  57. package/test/if/components/temp/{IfAfterIf-client-5ddfc6dc62ffbc9a518220458403008e88e69e6c.ts → IfAfterIf-client-6b4833209a01cdad18d453839e9c8b5dad2a8510.ts} +3 -3
  58. package/test/if/components/temp/{IfElse-client-815057ffb2d9a1861bb316d445321947ddedbb65.ts → IfElse-client-f7eb8e5fe5e62975a2442c4b0ff3344fa44cef69.ts} +2 -2
  59. package/test/if/components/temp/{IfElseIf-client-a7b16a8af24fdd3caa7b9e8e56d4bdb6ad3ab855.ts → IfElseIf-client-734f1b2d9133294573770c1ffc2b589273498532.ts} +2 -2
  60. package/test/if/components/temp/{IfFalse-client-6507ff8abd4842b78da27d8a9d4964abc1d9b727.ts → IfFalse-client-8a388cb48b4a5879d491f57d1f2551834de1e72e.ts} +2 -2
  61. package/test/if/components/temp/{IfNested-client-e09f8af625b4e0b3e9eb210440f8edda720f0d53.ts → IfNested-client-f3045daba052e459add6e7f84e8d21ba7b0d81e4.ts} +4 -4
  62. package/test/party/components/output/AnswerButtonApp-client.ts +2 -2
  63. package/test/party/components/output/AnswerButtonApp-server.ts +2 -2
  64. package/test/party/components/output/ColorSelect-client.ts +1 -1
  65. package/test/party/components/output/Colors-client.ts +1 -1
  66. package/test/party/components/output/FunnyButton-client.ts +1 -1
  67. package/test/party/components/output/FunnyButtonApp-client.ts +2 -2
  68. package/test/party/components/output/FunnyButtonApp-server.ts +3 -3
  69. package/test/party/components/output/TrafficLight-client.ts +1 -1
  70. package/test/party/components/output/UserProfileApp-client.ts +2 -2
  71. package/test/party/components/output/UserProfileApp-server.ts +2 -2
  72. package/test/party/components/output/UserProfileContextApp-client.ts +1 -1
  73. package/test/party/components/output/UserProfileContextApp-server.ts +2 -2
  74. package/test/party/components/temp/{AnswerButtonApp-client-a2b16c738467742436b1a2ddaf2d767795a4d625.ts → AnswerButtonApp-client-5661f07868550612bcdeee268b82c473af6a2613.ts} +2 -2
  75. package/test/party/components/temp/{AnswerButtonApp-server-16161f2c9062dd11b8b6b8c898f9f1249ae2400d.ts → AnswerButtonApp-server-e4ea88e0f4d65508950594437e5e34424bd28897.ts} +2 -2
  76. package/test/party/components/temp/{ColorSelect-client-4e848c296047911f4c0e3bc1447e5562ce06087c.ts → ColorSelect-client-70bf59d6399d63c0eed421b9d370a1e5c97a89ca.ts} +1 -1
  77. package/test/party/components/temp/{Colors-client-dde7bf60e2b16383ec981b08f8414b1ebeb349a5.ts → Colors-client-806316cc5e01e8235c0b025cad34b1068addf5a5.ts} +1 -1
  78. package/test/party/components/temp/{FunnyButton-client-61a1699da08e210375edff33f7b27d3cc0e99cc3.ts → FunnyButton-client-6d5662018a5a5529fd52ee82f7c88975b5c3355a.ts} +1 -1
  79. package/test/party/components/temp/{FunnyButtonApp-client-cbce6a591bae38ab8b312551f8741d50ae6294bf.ts → FunnyButtonApp-client-daa929c6d64f67e4a1a387b884317a4bb615b5d4.ts} +2 -2
  80. package/test/party/components/temp/{FunnyButtonApp-server-48d37de0c755843a2be34d7c7cb5c730689dcc2f.ts → FunnyButtonApp-server-80d85ede7da558154a5aa17cd602d6724bf1c9cb.ts} +3 -3
  81. package/test/party/components/temp/{TrafficLight-client-4010f51fde4c8c21e6c232eff974c86820dbad4f.ts → TrafficLight-client-4a90675ca6157ed7701aefa0d9141575960a1d47.ts} +1 -1
  82. package/test/party/components/temp/{UserProfileApp-client-32b5cc129b32af5cdd94f39c6fb09a2e4806b04e.ts → UserProfileApp-client-e0bfaa4ffed336c8be4b23dd81800501980c9938.ts} +2 -2
  83. package/test/party/components/temp/{UserProfileApp-server-97397c42aaac0ee3902218d02c0ce6884434cc5b.ts → UserProfileApp-server-86c204098fd0ffbeded50372354488768b255156.ts} +2 -2
  84. package/test/party/components/temp/{UserProfileContextApp-client-c4b64ccf44069bcbf18acb585afa62ac9127aeb9.ts → UserProfileContextApp-client-05ce216919de6ffde56d1c2c39299173d9b611b3.ts} +1 -1
  85. package/test/party/components/temp/{UserProfileContextApp-server-95a4b12d30cef621db55d5de102a906ac7286fb2.ts → UserProfileContextApp-server-c970abaa8326db9a5efc3a5c64741743ae0dd1ca.ts} +2 -2
  86. package/test/props/components/output/Reactive-client.ts +1 -1
  87. package/test/props/components/output/Reactive-server.ts +2 -2
  88. package/test/props/components/temp/{Reactive-client-249382840865c9911857b89085bc85ff901b8e8f.ts → Reactive-client-cf6e602b2f74fce8e9451b6c41c6f8ff8eab63a3.ts} +1 -1
  89. package/test/props/components/temp/{Reactive-server-770cd3df7c877c0c99e156b2ba6d1f8b35914027.ts → Reactive-server-206bcc8984bad12c5712661b77d000216cdfe66d.ts} +2 -2
  90. package/test/replace/components/output/Replace-client.ts +1 -1
  91. package/test/replace/components/temp/{Replace-client-ef66f06bc0cfa91e800b185dbccbca6a98693c21.ts → Replace-client-2a9ee3430708b469fa31bbc6989eed5b2f22984d.ts} +1 -1
  92. package/test/slots/components/output/Article-client.ts +3 -3
  93. package/test/slots/components/output/Basic-client.ts +2 -2
  94. package/test/slots/components/output/Basic-server.ts +2 -2
  95. package/test/slots/components/output/Header-client.ts +1 -1
  96. package/test/slots/components/output/Let-client.ts +2 -2
  97. package/test/slots/components/output/Let-server.ts +2 -2
  98. package/test/slots/components/output/List-client.ts +2 -2
  99. package/test/slots/components/output/Named-client.ts +2 -2
  100. package/test/slots/components/output/Named-server.ts +2 -2
  101. package/test/slots/components/output/Unused-client.ts +2 -2
  102. package/test/slots/components/output/Unused-server.ts +2 -2
  103. package/test/slots/components/temp/{Article-client-f7676836f5ded94222b11ef81e41dd675d1af04b.ts → Article-client-3f2da4b399f94ae8c329489e1ba0ba98196df9c5.ts} +3 -3
  104. package/test/slots/components/temp/{Basic-client-e7650b8be5f6e50fa0f2f343a145f86edfe14ff4.ts → Basic-client-a2c4bf685d4b75d0395da427b7754c2a58374dd7.ts} +2 -2
  105. package/test/slots/components/temp/{Basic-server-aed46a5b459cce50e7ddb311c42a76b9e91c2dae.ts → Basic-server-6b37594c9bf74e0c86a05b20213f69651e2cc937.ts} +2 -2
  106. package/test/slots/components/temp/{Header-client-127c27e6bfcd5b37cc871164cd665b740418dc82.ts → Header-client-d7418b71df5db36d58a73e909233863a6c03678b.ts} +1 -1
  107. package/test/slots/components/temp/{Let-client-c107eb0fe42f125996d2c9a83ab7b3c1916ca26d.ts → Let-client-913f9dede92b68a3f4a13d1f56f99b3e08e01efe.ts} +2 -2
  108. package/test/slots/components/temp/{Let-server-62727e5e2db3df405cdbe7a2d339a99113fc7f4a.ts → Let-server-8cad3b1199bec801bc3a1f2f3dbc20f2ef1e9741.ts} +2 -2
  109. package/test/slots/components/temp/{List-client-ca1d8f9a9cc8b513323de7c5531a4ec03898d920.ts → List-client-6bc2d267a8b2028a14b12b2c70feb7c6a47d6d64.ts} +2 -2
  110. package/test/slots/components/temp/{Named-client-636b6a18c25a27099f883cb9eeb04e182e248941.ts → Named-client-f6e7a984759ce8f50bc52dcf56f6f06cab925a80.ts} +2 -2
  111. package/test/slots/components/temp/{Named-server-829daa82c94fd7142a721cabac1b3402cca8fce6.ts → Named-server-2aac48bb8c7300d1a8858917fe81edc17c6372fa.ts} +2 -2
  112. package/test/slots/components/temp/{Unused-client-0aefcc79e9ae050358fa049a35b7e8e0a6bc2d66.ts → Unused-client-ea0a096aa7a1c958f3bf807f35340b96f8a025ee.ts} +2 -2
  113. package/test/slots/components/temp/{Unused-server-379b45ff313e82f8b2949385f50d8ea482094520.ts → Unused-server-6e832928d7db6c43c556e7bda8af34ac37c0d4c1.ts} +2 -2
  114. package/test/special-component/components/output/BigTitle-client.ts +1 -1
  115. package/test/special-component/components/output/Component-client.ts +3 -3
  116. package/test/special-component/components/output/Component-server.ts +2 -1
  117. package/test/special-component/components/output/SmallTitle-client.ts +1 -1
  118. package/test/special-component/components/temp/{BigTitle-client-04ca3c7b6aaf76b81baa5a3d3720fbd2a1760550.ts → BigTitle-client-c4bd66406d55ce83ab4491c4114d563055e1c275.ts} +1 -1
  119. package/test/special-component/components/temp/{Component-client-24cd39596c4281ee2709e6aa482818d071825b4f.ts → Component-client-c39c66cf5274445bb863fd759e0ef223613a9f3a.ts} +3 -3
  120. package/test/special-component/components/temp/{Component-server-3564dfcef8d015cab4944a3c75cc6cf329f3fad6.ts → Component-server-14cd9beb57d6e833f75ab8c6624eb9841444ef63.ts} +2 -1
  121. package/test/special-component/components/temp/{SmallTitle-client-213b422377a30fe0b12f7256e654bf0313ac9cf9.ts → SmallTitle-client-e4b3e51243ca4f1efca21ac0f957b81e8bc93167.ts} +1 -1
  122. package/test/special-self/components/output/Self-client.ts +3 -3
  123. package/test/special-self/components/output/Self-server.ts +2 -2
  124. package/test/special-self/components/temp/{Self-client-99b34229c85a477881299311f56f48686352c3b3.ts → Self-client-43a0a90fac58867c88bf32221883e8da342a0295.ts} +3 -3
  125. package/test/special-self/components/temp/{Self-server-ee440757ca9772d7b4111451a9ee05a157302e7c.ts → Self-server-b857c30c279a16dd81ad29567fb8abb9b2a0c239.ts} +2 -2
  126. package/test/svg/components/output/Shape-client.ts +1 -1
  127. package/test/svg/components/temp/{Shape-client-368789c592401c3e4c99ddcdb8fe6dded45eb34a.ts → Shape-client-052ea7838de07222602834de58968a3f89e6ea56.ts} +1 -1
  128. package/test/switch/components/output/Switch-client.ts +1 -1
  129. package/test/switch/components/temp/{Switch-client-5ef1937202adac7fd5aae866357d95beb4b5805f.ts → Switch-client-30113fadf131c72e7c24160fa62068b651716896.ts} +1 -1
  130. package/test/watch-array/components/output/Array-client.ts +1 -1
  131. package/test/watch-array/components/output/ArrayEntries-client.ts +1 -1
  132. package/test/watch-array/components/output/ArrayIndexes-client.ts +1 -1
  133. package/test/watch-array/components/output/ArrayUnkeyed-client.ts +1 -1
  134. package/test/watch-array/components/temp/{Array-client-24ccac431fa237432ec4875234773f36a9a5b120.ts → Array-client-d048f5c224a3f2e2729878dbb069ce15ca913e12.ts} +1 -1
  135. package/test/watch-array/components/temp/{ArrayEntries-client-ebfb391a78325be4411f24a1ecfdc45ca3a6a621.ts → ArrayEntries-client-741607b276718f5deb520e3b657dbf6abbb8081c.ts} +1 -1
  136. package/test/watch-array/components/temp/{ArrayIndexes-client-0a4b3226862bb1de13fdbc7a14f689d9f7ade2a1.ts → ArrayIndexes-client-8ab14b254ef67dafad5228c9ec1906eb3b3babef.ts} +1 -1
  137. package/test/watch-array/components/temp/{ArrayUnkeyed-client-0966fa5ed460f4c627d8d619e493601098d6a33e.ts → ArrayUnkeyed-client-9684aba82757748815b94c04bf3f8d1f98332535.ts} +1 -1
@@ -26,7 +26,7 @@ export default function IfFalse(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -49,7 +49,7 @@ export default function IfFalse(
49
49
  });
50
50
 
51
51
  // @ts-ignore
52
- const t_text_2 = t_next(t_anchor(t_if_anchor_1, true), true);
52
+ const t_text_2 = t_next(t_if_anchor_1, true);
53
53
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
54
54
  t_next(t_text_2);
55
55
 
@@ -26,7 +26,7 @@ export default function IfNested(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -36,7 +36,7 @@ export default function IfNested(
36
36
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
37
37
  // @ts-ignore
38
38
  const t_root_1 = t_root(t_fragment_1, true);
39
- const t_if_anchor_2 = t_anchor(t_next(t_root_1)) as HTMLElement;
39
+ let t_if_anchor_2 = t_anchor(t_next(t_root_1)) as HTMLElement;
40
40
 
41
41
  /* @if */
42
42
  const t_if_range_2 = t_range();
@@ -66,7 +66,7 @@ export default function IfNested(
66
66
  });
67
67
 
68
68
  // @ts-ignore
69
- const t_text_3 = t_next(t_anchor(t_if_anchor_2, true), true);
69
+ const t_text_3 = t_next(t_if_anchor_2, true);
70
70
  t_add_fragment(t_fragment_1, t_fragment_0, t_before, t_text_3);
71
71
  t_next(t_text_3);
72
72
  });
@@ -85,7 +85,7 @@ export default function IfNested(
85
85
  });
86
86
 
87
87
  // @ts-ignore
88
- const t_text_5 = t_next(t_anchor(t_if_anchor_1, true), true);
88
+ const t_text_5 = t_next(t_if_anchor_1, true);
89
89
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_5);
90
90
  t_next(t_text_5);
91
91
 
@@ -26,7 +26,7 @@ export default function IfAfterIf(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -48,7 +48,7 @@ export default function IfAfterIf(
48
48
  }
49
49
  });
50
50
 
51
- const t_if_anchor_2 = t_anchor(t_next(t_next(t_anchor(t_if_anchor_1, true), true))) as HTMLElement;
51
+ let t_if_anchor_2 = t_anchor(t_next(t_next(t_if_anchor_1, true))) as HTMLElement;
52
52
 
53
53
  /* @if */
54
54
  const t_if_range_2 = t_range();
@@ -71,7 +71,7 @@ export default function IfAfterIf(
71
71
  });
72
72
 
73
73
  // @ts-ignore
74
- const t_text_3 = t_next(t_anchor(t_if_anchor_2, true), true);
74
+ const t_text_3 = t_next(t_if_anchor_2, true);
75
75
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
76
76
  t_next(t_text_3);
77
77
 
@@ -26,7 +26,7 @@ export default function IfElse(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -56,7 +56,7 @@ export default function IfElse(
56
56
  });
57
57
 
58
58
  // @ts-ignore
59
- const t_text_3 = t_next(t_anchor(t_if_anchor_1, true), true);
59
+ const t_text_3 = t_next(t_if_anchor_1, true);
60
60
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
61
61
  t_next(t_text_3);
62
62
 
@@ -26,7 +26,7 @@ export default function IfElseIf(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -67,7 +67,7 @@ export default function IfElseIf(
67
67
  });
68
68
 
69
69
  // @ts-ignore
70
- const t_text_4 = t_next(t_anchor(t_if_anchor_1, true), true);
70
+ const t_text_4 = t_next(t_if_anchor_1, true);
71
71
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_4);
72
72
  t_next(t_text_4);
73
73
 
@@ -26,7 +26,7 @@ export default function IfFalse(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -49,7 +49,7 @@ export default function IfFalse(
49
49
  });
50
50
 
51
51
  // @ts-ignore
52
- const t_text_2 = t_next(t_anchor(t_if_anchor_1, true), true);
52
+ const t_text_2 = t_next(t_if_anchor_1, true);
53
53
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
54
54
  t_next(t_text_2);
55
55
 
@@ -26,7 +26,7 @@ export default function IfNested(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @if */
32
32
  const t_if_range_1 = t_range();
@@ -36,7 +36,7 @@ export default function IfNested(
36
36
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
37
37
  // @ts-ignore
38
38
  const t_root_1 = t_root(t_fragment_1, true);
39
- const t_if_anchor_2 = t_anchor(t_next(t_root_1)) as HTMLElement;
39
+ let t_if_anchor_2 = t_anchor(t_next(t_root_1)) as HTMLElement;
40
40
 
41
41
  /* @if */
42
42
  const t_if_range_2 = t_range();
@@ -66,7 +66,7 @@ export default function IfNested(
66
66
  });
67
67
 
68
68
  // @ts-ignore
69
- const t_text_3 = t_next(t_anchor(t_if_anchor_2, true), true);
69
+ const t_text_3 = t_next(t_if_anchor_2, true);
70
70
  t_add_fragment(t_fragment_1, t_fragment_0, t_before, t_text_3);
71
71
  t_next(t_text_3);
72
72
  });
@@ -85,7 +85,7 @@ export default function IfNested(
85
85
  });
86
86
 
87
87
  // @ts-ignore
88
- const t_text_5 = t_next(t_anchor(t_if_anchor_1, true), true);
88
+ const t_text_5 = t_next(t_if_anchor_1, true);
89
89
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_5);
90
90
  t_next(t_text_5);
91
91
 
@@ -41,7 +41,7 @@ export default function AnswerButtonApp(
41
41
  // @ts-ignore
42
42
  const t_root_0 = t_root(t_fragment_0, true);
43
43
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
44
- const t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
44
+ let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
45
45
 
46
46
  /* @component */
47
47
  const t_props_1: any = $watch({});
@@ -53,7 +53,7 @@ export default function AnswerButtonApp(
53
53
  });
54
54
  AnswerButton(t_comp_parent_1, t_comp_anchor_1, t_props_1, $context);
55
55
 
56
- const t_text_1 = t_child(t_next(t_next(t_anchor(t_comp_anchor_1, true), true)));
56
+ const t_text_1 = t_child(t_next(t_next(t_comp_anchor_1, true)));
57
57
  // @ts-ignore
58
58
  const t_text_2 = t_next(t_comp_parent_1, true);
59
59
  $run(function setTextContent() {
@@ -26,13 +26,13 @@ export default function AnswerButtonApp(
26
26
 
27
27
  /* User interface */
28
28
  let $output = "";
29
- $output += ` <div> <p>Are you happy?</p> `;
29
+ $output += ` <div> <p>Are you happy?</p> <![>`;
30
30
  const t_props_1: any = {};
31
31
  t_props_1["onYes"] = onAnswerYes;
32
32
  t_props_1["onNo"] = onAnswerNo;
33
33
 
34
34
  $output += AnswerButton(t_props_1, $context)
35
- $output += `<!> <p style="font-size: 50px;">${t_fmt($state.isHappy ? "😀" : "😥")}</p> </div> `;
35
+ $output += `<!]><!> <p style="font-size: 50px;">${t_fmt($state.isHappy ? "😀" : "😥")}</p> </div> `;
36
36
 
37
37
  return $output;
38
38
  }
@@ -47,7 +47,7 @@ export default function ColorSelect(
47
47
  const t_root_0 = t_root(t_fragment_0, true);
48
48
  const t_text_1 = t_child(t_next(t_child(t_next(t_root_0))));
49
49
  const t_select_1 = t_next(t_next(t_next(t_child(t_next(t_root_0))), true)) as HTMLElement;
50
- const t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
50
+ let t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
51
51
 
52
52
  /* @for */
53
53
  let t_for_range_1 = t_range();
@@ -34,7 +34,7 @@ export default function Colors(
34
34
  // @ts-ignore
35
35
  const t_root_0 = t_root(t_fragment_0, true);
36
36
  const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
37
- const t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
37
+ let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
38
38
 
39
39
  /* @for */
40
40
  let t_for_range_1 = t_range();
@@ -23,7 +23,7 @@ export default function FunnyButton(
23
23
  // @ts-ignore
24
24
  const t_root_0 = t_root(t_fragment_0, true);
25
25
  const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
26
- const t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
26
+ let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
27
27
  if ($slots && $slots["_"]) {
28
28
  $slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
29
29
  } else {
@@ -26,13 +26,13 @@ export default function FunnyButtonApp(
26
26
  // @ts-ignore
27
27
  const t_root_0 = t_root(t_fragment_0, true);
28
28
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
29
- const t_comp_anchor_1 = t_anchor(t_next(t_child(t_comp_parent_1))) as HTMLElement;
29
+ let t_comp_anchor_1 = t_anchor(t_next(t_child(t_comp_parent_1))) as HTMLElement;
30
30
 
31
31
  /* @component */
32
32
  FunnyButton(t_comp_parent_1, t_comp_anchor_1, undefined, $context);
33
33
 
34
34
  const t_comp_parent_2 = t_comp_parent_1 as HTMLElement;
35
- const t_comp_anchor_2 = t_anchor(t_next(t_next(t_anchor(t_comp_anchor_1, true), true))) as HTMLElement;
35
+ let t_comp_anchor_2 = t_anchor(t_next(t_next(t_comp_anchor_1, true))) as HTMLElement;
36
36
 
37
37
  /* @component */
38
38
  const t_slots_1: Record<string, SlotRender> = {};
@@ -13,10 +13,10 @@ export default function FunnyButtonApp(
13
13
 
14
14
  /* User interface */
15
15
  let $output = "";
16
- $output += ` <div> `;
16
+ $output += ` <div> <![>`;
17
17
 
18
18
  $output += FunnyButton(undefined, $context)
19
- $output += `<!> `;
19
+ $output += `<!]><!> <![>`;
20
20
  const t_slots_1: Record<string, ServerSlotRender> = {};
21
21
  t_slots_1["_"] = (
22
22
  // @ts-ignore
@@ -30,7 +30,7 @@ export default function FunnyButtonApp(
30
30
  }
31
31
 
32
32
  $output += FunnyButton(undefined, $context, t_slots_1)
33
- $output += `<!> </div> `;
33
+ $output += `<!]><!> </div> `;
34
34
 
35
35
  return $output;
36
36
  }
@@ -45,7 +45,7 @@ export default function TrafficLight(
45
45
  const t_button_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
46
46
  const t_text_1 = t_child(t_next(t_next(t_button_1, true)));
47
47
  const t_if_parent_1 = t_next(t_next(t_next(t_next(t_button_1, true)), true)) as HTMLElement;
48
- const t_if_anchor_1 = t_anchor(t_next(t_child(t_next(t_next(t_next(t_next(t_button_1, true)), true))))) as HTMLElement;
48
+ let t_if_anchor_1 = t_anchor(t_next(t_child(t_next(t_next(t_next(t_next(t_button_1, true)), true))))) as HTMLElement;
49
49
 
50
50
  /* @if */
51
51
  const t_if_range_1 = t_range();
@@ -26,7 +26,7 @@ export default function UserProfileApp(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @component */
32
32
  const t_props_1: any = $watch({});
@@ -41,7 +41,7 @@ export default function UserProfileApp(
41
41
  UserProfile(t_fragment_0, t_comp_anchor_1, t_props_1, $context);
42
42
 
43
43
  // @ts-ignore
44
- const t_text_1 = t_next(t_anchor(t_comp_anchor_1, true), true);
44
+ const t_text_1 = t_next(t_comp_anchor_1, true);
45
45
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
46
46
  t_next(t_text_1);
47
47
 
@@ -13,7 +13,7 @@ export default function UserProfileApp(
13
13
 
14
14
  /* User interface */
15
15
  let $output = "";
16
- $output += ` `;
16
+ $output += ` <![>`;
17
17
  const t_props_1: any = {};
18
18
  t_props_1["name"] = "John";
19
19
  t_props_1["age"] = 20;
@@ -21,7 +21,7 @@ export default function UserProfileApp(
21
21
  t_props_1["isAvailable"] = true;
22
22
 
23
23
  $output += UserProfile(t_props_1, $context)
24
- $output += `<!> `;
24
+ $output += `<!]><!> `;
25
25
 
26
26
  return $output;
27
27
  }
@@ -40,7 +40,7 @@ export default function UserProfileContextApp(
40
40
  const t_root_0 = t_root(t_fragment_0, true);
41
41
  const t_text_1 = t_child(t_next(t_child(t_next(t_root_0))));
42
42
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
43
- const t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
43
+ let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
44
44
 
45
45
  /* @component */
46
46
  UserProfileContext(t_comp_parent_1, t_comp_anchor_1, undefined, $context);
@@ -24,10 +24,10 @@ export default function UserProfileContextApp(
24
24
 
25
25
  /* User interface */
26
26
  let $output = "";
27
- $output += ` <div> <h1>Welcome back, ${t_fmt($user.username)}</h1> `;
27
+ $output += ` <div> <h1>Welcome back, ${t_fmt($user.username)}</h1> <![>`;
28
28
 
29
29
  $output += UserProfileContext(undefined, $context)
30
- $output += `<!> </div> `;
30
+ $output += `<!]><!> </div> `;
31
31
 
32
32
  return $output;
33
33
  }
@@ -41,7 +41,7 @@ export default function AnswerButtonApp(
41
41
  // @ts-ignore
42
42
  const t_root_0 = t_root(t_fragment_0, true);
43
43
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
44
- const t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
44
+ let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
45
45
 
46
46
  /* @component */
47
47
  const t_props_1: any = $watch({});
@@ -53,7 +53,7 @@ export default function AnswerButtonApp(
53
53
  });
54
54
  AnswerButton(t_comp_parent_1, t_comp_anchor_1, t_props_1, $context);
55
55
 
56
- const t_text_1 = t_child(t_next(t_next(t_anchor(t_comp_anchor_1, true), true)));
56
+ const t_text_1 = t_child(t_next(t_next(t_comp_anchor_1, true)));
57
57
  // @ts-ignore
58
58
  const t_text_2 = t_next(t_comp_parent_1, true);
59
59
  $run(function setTextContent() {
@@ -26,13 +26,13 @@ export default function AnswerButtonApp(
26
26
 
27
27
  /* User interface */
28
28
  let $output = "";
29
- $output += ` <div> <p>Are you happy?</p> `;
29
+ $output += ` <div> <p>Are you happy?</p> <![>`;
30
30
  const t_props_1: any = {};
31
31
  t_props_1["onYes"] = onAnswerYes;
32
32
  t_props_1["onNo"] = onAnswerNo;
33
33
 
34
34
  $output += AnswerButton(t_props_1, $context)
35
- $output += `<!> <p style="font-size: 50px;">${t_fmt($state.isHappy ? "😀" : "😥")}</p> </div> `;
35
+ $output += `<!]><!> <p style="font-size: 50px;">${t_fmt($state.isHappy ? "😀" : "😥")}</p> </div> `;
36
36
 
37
37
  return $output;
38
38
  }
@@ -47,7 +47,7 @@ export default function ColorSelect(
47
47
  const t_root_0 = t_root(t_fragment_0, true);
48
48
  const t_text_1 = t_child(t_next(t_child(t_next(t_root_0))));
49
49
  const t_select_1 = t_next(t_next(t_next(t_child(t_next(t_root_0))), true)) as HTMLElement;
50
- const t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
50
+ let t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
51
51
 
52
52
  /* @for */
53
53
  let t_for_range_1 = t_range();
@@ -34,7 +34,7 @@ export default function Colors(
34
34
  // @ts-ignore
35
35
  const t_root_0 = t_root(t_fragment_0, true);
36
36
  const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
37
- const t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
37
+ let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
38
38
 
39
39
  /* @for */
40
40
  let t_for_range_1 = t_range();
@@ -23,7 +23,7 @@ export default function FunnyButton(
23
23
  // @ts-ignore
24
24
  const t_root_0 = t_root(t_fragment_0, true);
25
25
  const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
26
- const t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
26
+ let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
27
27
  if ($slots && $slots["_"]) {
28
28
  $slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
29
29
  } else {
@@ -26,13 +26,13 @@ export default function FunnyButtonApp(
26
26
  // @ts-ignore
27
27
  const t_root_0 = t_root(t_fragment_0, true);
28
28
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
29
- const t_comp_anchor_1 = t_anchor(t_next(t_child(t_comp_parent_1))) as HTMLElement;
29
+ let t_comp_anchor_1 = t_anchor(t_next(t_child(t_comp_parent_1))) as HTMLElement;
30
30
 
31
31
  /* @component */
32
32
  FunnyButton(t_comp_parent_1, t_comp_anchor_1, undefined, $context);
33
33
 
34
34
  const t_comp_parent_2 = t_comp_parent_1 as HTMLElement;
35
- const t_comp_anchor_2 = t_anchor(t_next(t_next(t_anchor(t_comp_anchor_1, true), true))) as HTMLElement;
35
+ let t_comp_anchor_2 = t_anchor(t_next(t_next(t_comp_anchor_1, true))) as HTMLElement;
36
36
 
37
37
  /* @component */
38
38
  const t_slots_1: Record<string, SlotRender> = {};
@@ -13,10 +13,10 @@ export default function FunnyButtonApp(
13
13
 
14
14
  /* User interface */
15
15
  let $output = "";
16
- $output += ` <div> `;
16
+ $output += ` <div> <![>`;
17
17
 
18
18
  $output += FunnyButton(undefined, $context)
19
- $output += `<!> `;
19
+ $output += `<!]><!> <![>`;
20
20
  const t_slots_1: Record<string, ServerSlotRender> = {};
21
21
  t_slots_1["_"] = (
22
22
  // @ts-ignore
@@ -30,7 +30,7 @@ export default function FunnyButtonApp(
30
30
  }
31
31
 
32
32
  $output += FunnyButton(undefined, $context, t_slots_1)
33
- $output += `<!> </div> `;
33
+ $output += `<!]><!> </div> `;
34
34
 
35
35
  return $output;
36
36
  }
@@ -45,7 +45,7 @@ export default function TrafficLight(
45
45
  const t_button_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
46
46
  const t_text_1 = t_child(t_next(t_next(t_button_1, true)));
47
47
  const t_if_parent_1 = t_next(t_next(t_next(t_next(t_button_1, true)), true)) as HTMLElement;
48
- const t_if_anchor_1 = t_anchor(t_next(t_child(t_next(t_next(t_next(t_next(t_button_1, true)), true))))) as HTMLElement;
48
+ let t_if_anchor_1 = t_anchor(t_next(t_child(t_next(t_next(t_next(t_next(t_button_1, true)), true))))) as HTMLElement;
49
49
 
50
50
  /* @if */
51
51
  const t_if_range_1 = t_range();
@@ -26,7 +26,7 @@ export default function UserProfileApp(
26
26
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
27
27
  // @ts-ignore
28
28
  const t_root_0 = t_root(t_fragment_0, true);
29
- const t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
29
+ let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
30
30
 
31
31
  /* @component */
32
32
  const t_props_1: any = $watch({});
@@ -41,7 +41,7 @@ export default function UserProfileApp(
41
41
  UserProfile(t_fragment_0, t_comp_anchor_1, t_props_1, $context);
42
42
 
43
43
  // @ts-ignore
44
- const t_text_1 = t_next(t_anchor(t_comp_anchor_1, true), true);
44
+ const t_text_1 = t_next(t_comp_anchor_1, true);
45
45
  t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
46
46
  t_next(t_text_1);
47
47
 
@@ -13,7 +13,7 @@ export default function UserProfileApp(
13
13
 
14
14
  /* User interface */
15
15
  let $output = "";
16
- $output += ` `;
16
+ $output += ` <![>`;
17
17
  const t_props_1: any = {};
18
18
  t_props_1["name"] = "John";
19
19
  t_props_1["age"] = 20;
@@ -21,7 +21,7 @@ export default function UserProfileApp(
21
21
  t_props_1["isAvailable"] = true;
22
22
 
23
23
  $output += UserProfile(t_props_1, $context)
24
- $output += `<!> `;
24
+ $output += `<!]><!> `;
25
25
 
26
26
  return $output;
27
27
  }
@@ -40,7 +40,7 @@ export default function UserProfileContextApp(
40
40
  const t_root_0 = t_root(t_fragment_0, true);
41
41
  const t_text_1 = t_child(t_next(t_child(t_next(t_root_0))));
42
42
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
43
- const t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
43
+ let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
44
44
 
45
45
  /* @component */
46
46
  UserProfileContext(t_comp_parent_1, t_comp_anchor_1, undefined, $context);
@@ -24,10 +24,10 @@ export default function UserProfileContextApp(
24
24
 
25
25
  /* User interface */
26
26
  let $output = "";
27
- $output += ` <div> <h1>Welcome back, ${t_fmt($user.username)}</h1> `;
27
+ $output += ` <div> <h1>Welcome back, ${t_fmt($user.username)}</h1> <![>`;
28
28
 
29
29
  $output += UserProfileContext(undefined, $context)
30
- $output += `<!> </div> `;
30
+ $output += `<!]><!> </div> `;
31
31
 
32
32
  return $output;
33
33
  }
@@ -30,7 +30,7 @@ export default function Reactive(
30
30
  const t_root_0 = t_root(t_fragment_0, true);
31
31
  const t_button_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
32
32
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
33
- const t_comp_anchor_1 = t_anchor(t_next(t_next(t_button_1, true))) as HTMLElement;
33
+ let t_comp_anchor_1 = t_anchor(t_next(t_next(t_button_1, true))) as HTMLElement;
34
34
 
35
35
  /* @component */
36
36
  const t_props_1: any = $watch({});
@@ -13,12 +13,12 @@ export default function Reactive(
13
13
 
14
14
  /* User interface */
15
15
  let $output = "";
16
- $output += ` <div> <button>Update text</button> `;
16
+ $output += ` <div> <button>Update text</button> <![>`;
17
17
  const t_props_1: any = {};
18
18
  t_props_1["text"] = $state.text;
19
19
 
20
20
  $output += Child(t_props_1, $context)
21
- $output += `<!> </div> `;
21
+ $output += `<!]><!> </div> `;
22
22
 
23
23
  return $output;
24
24
  }
@@ -30,7 +30,7 @@ export default function Reactive(
30
30
  const t_root_0 = t_root(t_fragment_0, true);
31
31
  const t_button_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
32
32
  const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
33
- const t_comp_anchor_1 = t_anchor(t_next(t_next(t_button_1, true))) as HTMLElement;
33
+ let t_comp_anchor_1 = t_anchor(t_next(t_next(t_button_1, true))) as HTMLElement;
34
34
 
35
35
  /* @component */
36
36
  const t_props_1: any = $watch({});
@@ -13,12 +13,12 @@ export default function Reactive(
13
13
 
14
14
  /* User interface */
15
15
  let $output = "";
16
- $output += ` <div> <button>Update text</button> `;
16
+ $output += ` <div> <button>Update text</button> <![>`;
17
17
  const t_props_1: any = {};
18
18
  t_props_1["text"] = $state.text;
19
19
 
20
20
  $output += Child(t_props_1, $context)
21
- $output += `<!> </div> `;
21
+ $output += `<!]><!> </div> `;
22
22
 
23
23
  return $output;
24
24
  }
@@ -32,7 +32,7 @@ export default function Replace(
32
32
  // @ts-ignore
33
33
  const t_root_0 = t_root(t_fragment_0, true);
34
34
  const t_replace_parent_1 = t_next(t_root_0) as HTMLElement;
35
- const t_replace_anchor_1 = t_anchor(t_next(t_child(t_replace_parent_1))) as HTMLElement;
35
+ let t_replace_anchor_1 = t_anchor(t_next(t_child(t_replace_parent_1))) as HTMLElement;
36
36
 
37
37
  /* @replace */
38
38
  const t_replace_range_1 = t_range();
@@ -32,7 +32,7 @@ export default function Replace(
32
32
  // @ts-ignore
33
33
  const t_root_0 = t_root(t_fragment_0, true);
34
34
  const t_replace_parent_1 = t_next(t_root_0) as HTMLElement;
35
- const t_replace_anchor_1 = t_anchor(t_next(t_child(t_replace_parent_1))) as HTMLElement;
35
+ let t_replace_anchor_1 = t_anchor(t_next(t_child(t_replace_parent_1))) as HTMLElement;
36
36
 
37
37
  /* @replace */
38
38
  const t_replace_range_1 = t_range();
@@ -23,17 +23,17 @@ export default function Article(
23
23
  // @ts-ignore
24
24
  const t_root_0 = t_root(t_fragment_0, true);
25
25
  const t_slot_parent_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
26
- const t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
26
+ let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
27
27
  if ($slots && $slots["header"]) {
28
28
  $slots["header"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
29
29
  }
30
30
  const t_slot_parent_2 = t_next(t_root_0) as HTMLElement;
31
- const t_slot_anchor_2 = t_anchor(t_next(t_next(t_slot_parent_1, true))) as HTMLElement;
31
+ let t_slot_anchor_2 = t_anchor(t_next(t_next(t_slot_parent_1, true))) as HTMLElement;
32
32
  if ($slots && $slots["_"]) {
33
33
  $slots["_"](t_slot_parent_2, t_slot_anchor_2, undefined, $context)
34
34
  }
35
35
  const t_slot_parent_3 = t_slot_parent_2 as HTMLElement;
36
- const t_slot_anchor_3 = t_anchor(t_next(t_next(t_anchor(t_slot_anchor_2, true), true))) as HTMLElement;
36
+ let t_slot_anchor_3 = t_anchor(t_next(t_next(t_slot_anchor_2, true))) as HTMLElement;
37
37
  if ($slots && $slots["footer"]) {
38
38
  $slots["footer"](t_slot_parent_3, t_slot_anchor_3, undefined, $context)
39
39
  }