@builder.io/sdk 0.1.26 → 0.1.27-6

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 (875) hide show
  1. package/.envrc +1 -0
  2. package/.task/checksum/build +1 -0
  3. package/.tool-versions +1 -0
  4. package/CHANGELOG.md +9 -0
  5. package/Earthfile +25 -0
  6. package/README.md +44 -0
  7. package/Taskfile.yaml +15 -0
  8. package/coverage/clover.xml +6 -0
  9. package/coverage/coverage-final.json +1 -0
  10. package/coverage/lcov-report/base.css +224 -0
  11. package/coverage/lcov-report/block-navigation.js +87 -0
  12. package/coverage/lcov-report/favicon.png +0 -0
  13. package/coverage/lcov-report/index.html +101 -0
  14. package/coverage/lcov-report/prettify.css +1 -0
  15. package/coverage/lcov-report/prettify.js +2 -0
  16. package/coverage/lcov-report/query-string.class.ts.html +328 -0
  17. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  18. package/coverage/lcov-report/sorter.js +196 -0
  19. package/coverage/lcov-report/url.ts.html +253 -0
  20. package/{.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 → coverage/lcov.info} +0 -0
  21. package/dist/index.browser.js +2 -0
  22. package/dist/index.browser.js.map +1 -0
  23. package/dist/index.cjs.js +1904 -659
  24. package/dist/index.cjs.js.map +1 -1
  25. package/dist/index.d.ts +6 -0
  26. package/dist/index.esm.js +1897 -654
  27. package/dist/index.esm.js.map +1 -1
  28. package/dist/index.js +13 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/index.umd.js +2605 -11182
  31. package/dist/index.umd.js.map +1 -1
  32. package/dist/package.json +71 -0
  33. package/dist/src/builder.class.d.ts +806 -0
  34. package/dist/src/builder.class.js +1608 -0
  35. package/dist/src/builder.class.js.map +1 -0
  36. package/dist/{clients/js/src → src}/classes/animator.class.d.ts +4 -3
  37. package/dist/src/classes/animator.class.js +193 -0
  38. package/dist/src/classes/animator.class.js.map +1 -0
  39. package/dist/src/classes/cookies.class.d.ts +15 -0
  40. package/dist/src/classes/cookies.class.js +128 -0
  41. package/dist/src/classes/cookies.class.js.map +1 -0
  42. package/dist/src/classes/observable.class.d.ts +26 -0
  43. package/dist/src/classes/observable.class.js +101 -0
  44. package/dist/src/classes/observable.class.js.map +1 -0
  45. package/dist/src/classes/promise.class.d.ts +17 -0
  46. package/dist/src/classes/promise.class.js +170 -0
  47. package/dist/src/classes/promise.class.js.map +1 -0
  48. package/dist/src/classes/query-string.class.d.ts +9 -0
  49. package/dist/src/classes/query-string.class.js +83 -0
  50. package/dist/src/classes/query-string.class.js.map +1 -0
  51. package/dist/src/classes/query-string.class.test.d.ts +1 -0
  52. package/dist/src/classes/query-string.class.test.js +25 -0
  53. package/dist/src/classes/query-string.class.test.js.map +1 -0
  54. package/dist/src/constants/builder.d.ts +2 -0
  55. package/dist/src/constants/builder.js +7 -0
  56. package/dist/src/constants/builder.js.map +1 -0
  57. package/dist/src/functions/assign.function.d.ts +1 -0
  58. package/dist/src/functions/assign.function.js +25 -0
  59. package/dist/src/functions/assign.function.js.map +1 -0
  60. package/dist/{clients/js/src → src}/functions/fetch.function.d.ts +3 -2
  61. package/dist/src/functions/fetch.function.js +74 -0
  62. package/dist/src/functions/fetch.function.js.map +1 -0
  63. package/dist/src/functions/finder.function.d.ts +10 -0
  64. package/dist/src/functions/finder.function.js +340 -0
  65. package/dist/src/functions/finder.function.js.map +1 -0
  66. package/dist/src/functions/get-top-level-domain.d.ts +6 -0
  67. package/dist/src/functions/get-top-level-domain.js +17 -0
  68. package/dist/src/functions/get-top-level-domain.js.map +1 -0
  69. package/dist/src/functions/next-tick.function.d.ts +1 -0
  70. package/dist/src/functions/next-tick.function.js +35 -0
  71. package/dist/src/functions/next-tick.function.js.map +1 -0
  72. package/dist/src/functions/omit.function.d.ts +1 -0
  73. package/dist/src/functions/omit.function.js +17 -0
  74. package/dist/src/functions/omit.function.js.map +1 -0
  75. package/dist/src/functions/server-only-require.function.d.ts +3 -0
  76. package/dist/src/functions/server-only-require.function.js +15 -0
  77. package/dist/src/functions/server-only-require.function.js.map +1 -0
  78. package/dist/src/functions/throttle.function.d.ts +1 -0
  79. package/dist/src/functions/throttle.function.js +42 -0
  80. package/dist/src/functions/throttle.function.js.map +1 -0
  81. package/dist/src/functions/to-error.d.ts +13 -0
  82. package/dist/src/functions/to-error.js +22 -0
  83. package/dist/src/functions/to-error.js.map +1 -0
  84. package/dist/src/functions/uuid.d.ts +8 -0
  85. package/dist/src/functions/uuid.js +21 -0
  86. package/dist/src/functions/uuid.js.map +1 -0
  87. package/dist/src/types/content.d.ts +31 -0
  88. package/dist/src/types/content.js +3 -0
  89. package/dist/src/types/content.js.map +1 -0
  90. package/dist/src/types/element.d.ts +59 -0
  91. package/dist/src/types/element.js +3 -0
  92. package/dist/src/types/element.js.map +1 -0
  93. package/dist/src/url.d.ts +9 -0
  94. package/dist/src/url.js +51 -0
  95. package/dist/src/url.js.map +1 -0
  96. package/dist/src/url.test.d.ts +1 -0
  97. package/dist/src/url.test.js +129 -0
  98. package/dist/src/url.test.js.map +1 -0
  99. package/dist/tsconfig.tsbuildinfo +1 -0
  100. package/docs/interfaces/Component.md +267 -0
  101. package/docs/interfaces/GetContentOptions.md +396 -0
  102. package/docs/interfaces/Input.md +232 -0
  103. package/docs/interfaces/InsertMenuConfig.md +83 -0
  104. package/docs/interfaces/InsertMenuItem.md +39 -0
  105. package/docs/interfaces/ParamsMap.md +5 -0
  106. package/docs/interfaces/UserAttributes.md +25 -0
  107. package/jest.config.ts +196 -0
  108. package/package.json +46 -35
  109. package/rollup.config.js +10 -6
  110. package/scripts/cleanup-generated-docs.js +18 -0
  111. package/tsconfig.json +20 -4
  112. package/typedoc.js +5 -0
  113. package/types.d.ts +2 -0
  114. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  115. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  116. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  117. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  118. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache/856e7a742bf72a5081b738a7fa3bb12595df257d +0 -1
  119. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  120. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  121. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  122. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  123. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  124. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache_/c30c07c6bc59780e06f9f56f6dd3d661259d0f0e +0 -1
  125. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/code/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  126. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  127. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  128. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  129. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  130. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache/856e7a742bf72a5081b738a7fa3bb12595df257d +0 -1
  131. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  132. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  133. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  134. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  135. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  136. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache_/c30c07c6bc59780e06f9f56f6dd3d661259d0f0e +0 -1
  137. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/semanticDiagnostics/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  138. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  139. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  140. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  141. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  142. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache/856e7a742bf72a5081b738a7fa3bb12595df257d +0 -1
  143. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  144. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  145. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  146. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  147. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  148. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache_/c30c07c6bc59780e06f9f56f6dd3d661259d0f0e +0 -1
  149. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/syntacticDiagnostics/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  150. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  151. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  152. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  153. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  154. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  155. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  156. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  157. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  158. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  159. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  160. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  161. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  162. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache/ffa53078ef79d7f5565527eacf74c98a8534ddf1 +0 -0
  163. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  164. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  165. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  166. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  167. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  168. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  169. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  170. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  171. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  172. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  173. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  174. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  175. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  176. package/.rpt2_cache/174dcf2c504becbeee8937c7c57cc70c1125c295/types/cache_/ffa53078ef79d7f5565527eacf74c98a8534ddf1 +0 -0
  177. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/code/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  178. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/code/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  179. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/code/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  180. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/code/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  181. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/semanticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  182. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/semanticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  183. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/semanticDiagnostics/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  184. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/semanticDiagnostics/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  185. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/syntacticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  186. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/syntacticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  187. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/syntacticDiagnostics/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  188. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/syntacticDiagnostics/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  189. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  190. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/235959c13283b94368a2281d86d4d372741a8a65 +0 -0
  191. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  192. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  193. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  194. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  195. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  196. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/75c124ec7ea3cebab8659602a149689c901376ea +0 -0
  197. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  198. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  199. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  200. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  201. package/.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/types/cache/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  202. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/code/cache/11b9e90599c19b25b27e6451e0253df1cfdece11 +0 -1
  203. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/code/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  204. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/code/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  205. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/code/cache/aed8c7392636d2a6588bc3626c166657a4792d5a +0 -1
  206. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/semanticDiagnostics/cache/11b9e90599c19b25b27e6451e0253df1cfdece11 +0 -1
  207. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/semanticDiagnostics/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  208. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/semanticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  209. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/semanticDiagnostics/cache/aed8c7392636d2a6588bc3626c166657a4792d5a +0 -1
  210. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/syntacticDiagnostics/cache/11b9e90599c19b25b27e6451e0253df1cfdece11 +0 -1
  211. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/syntacticDiagnostics/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  212. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/syntacticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  213. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/syntacticDiagnostics/cache/aed8c7392636d2a6588bc3626c166657a4792d5a +0 -1
  214. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  215. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  216. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/235959c13283b94368a2281d86d4d372741a8a65 +0 -0
  217. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  218. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  219. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  220. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  221. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  222. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  223. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  224. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  225. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  226. package/.rpt2_cache/2c1f4adeec962406e44d947046a590e4dc525c59/types/cache/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  227. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  228. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/code/cache/2224ad1bccaafef15bde12d5cfc2ba11827634eb +0 -1
  229. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  230. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/code/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  231. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/code/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  232. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  233. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  234. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/semanticDiagnostics/cache/2224ad1bccaafef15bde12d5cfc2ba11827634eb +0 -1
  235. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  236. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/semanticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  237. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/semanticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  238. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  239. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  240. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/syntacticDiagnostics/cache/2224ad1bccaafef15bde12d5cfc2ba11827634eb +0 -1
  241. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  242. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/syntacticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  243. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/syntacticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  244. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  245. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  246. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  247. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  248. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  249. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  250. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  251. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  252. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  253. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  254. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  255. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  256. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  257. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  258. package/.rpt2_cache/35b66ee400e55ffaef6052b361273a7678c8a720/types/cache/ffa53078ef79d7f5565527eacf74c98a8534ddf1 +0 -0
  259. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/code/cache/0694b7b10a2193b9427c68b1bce2fe25eadea76d +0 -1
  260. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/code/cache/0f169a16abe7f674dd1bf7008588c91090b36416 +0 -1
  261. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/code/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  262. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/code/cache/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  263. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/semanticDiagnostics/cache/0694b7b10a2193b9427c68b1bce2fe25eadea76d +0 -1
  264. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/semanticDiagnostics/cache/0f169a16abe7f674dd1bf7008588c91090b36416 +0 -1
  265. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/semanticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  266. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/semanticDiagnostics/cache/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  267. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/syntacticDiagnostics/cache/0694b7b10a2193b9427c68b1bce2fe25eadea76d +0 -1
  268. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/syntacticDiagnostics/cache/0f169a16abe7f674dd1bf7008588c91090b36416 +0 -1
  269. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/syntacticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  270. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/syntacticDiagnostics/cache/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  271. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  272. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  273. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  274. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  275. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/539771aacfc292456465281cf9f718e5bb00a0db +0 -0
  276. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  277. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/56a6caa7418714d32f04d89364df5503ce31a433 +0 -0
  278. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  279. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  280. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  281. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  282. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  283. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  284. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  285. package/.rpt2_cache/475a183d817a8f7685f3193749cf685f8306af64/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  286. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/code/cache/1b13aba7cd794a36c0791e8cb98549e12236d350 +0 -1
  287. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/code/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  288. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/code/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  289. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/code/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  290. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/semanticDiagnostics/cache/1b13aba7cd794a36c0791e8cb98549e12236d350 +0 -1
  291. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/semanticDiagnostics/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  292. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/semanticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  293. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/semanticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  294. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/syntacticDiagnostics/cache/1b13aba7cd794a36c0791e8cb98549e12236d350 +0 -1
  295. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/syntacticDiagnostics/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  296. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/syntacticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  297. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/syntacticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  298. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  299. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  300. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/235959c13283b94368a2281d86d4d372741a8a65 +0 -0
  301. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  302. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  303. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  304. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  305. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  306. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  307. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  308. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  309. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  310. package/.rpt2_cache/4d916fd766df1868593276ac8680d20f2e9ed2ca/types/cache/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  311. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  312. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/code/cache/0f931f12c5afd41b4366de612d30d54b4d466488 +0 -1
  313. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/code/cache/be88a0a77d234b1983f0f1075e8e4a7a80c2724a +0 -1
  314. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/code/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  315. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/code/cache/ec7bc102ad93e731cc3c9e9901909d18d4eba2ff +0 -1
  316. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  317. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/semanticDiagnostics/cache/0f931f12c5afd41b4366de612d30d54b4d466488 +0 -1
  318. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/semanticDiagnostics/cache/be88a0a77d234b1983f0f1075e8e4a7a80c2724a +0 -1
  319. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/semanticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  320. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/semanticDiagnostics/cache/ec7bc102ad93e731cc3c9e9901909d18d4eba2ff +0 -1
  321. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  322. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/syntacticDiagnostics/cache/0f931f12c5afd41b4366de612d30d54b4d466488 +0 -1
  323. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/syntacticDiagnostics/cache/be88a0a77d234b1983f0f1075e8e4a7a80c2724a +0 -1
  324. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/syntacticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  325. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/syntacticDiagnostics/cache/ec7bc102ad93e731cc3c9e9901909d18d4eba2ff +0 -1
  326. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  327. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  328. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  329. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  330. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  331. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  332. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  333. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  334. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  335. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  336. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  337. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  338. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  339. package/.rpt2_cache/57e851c872924bdb9494c14d43157e062e44b617/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  340. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  341. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/code/cache/1e80c6fada6a0156261bc4661b32df13e15788d7 +0 -1
  342. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  343. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/code/cache/6918fa9a55369a18eeaf4cf7244d365faae9a8fd +0 -1
  344. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/code/cache/cc2c2392209edb315cc9628f3156afb307a38944 +0 -1
  345. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  346. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  347. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/semanticDiagnostics/cache/1e80c6fada6a0156261bc4661b32df13e15788d7 +0 -1
  348. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  349. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/semanticDiagnostics/cache/6918fa9a55369a18eeaf4cf7244d365faae9a8fd +0 -1
  350. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/semanticDiagnostics/cache/cc2c2392209edb315cc9628f3156afb307a38944 +0 -1
  351. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  352. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  353. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/syntacticDiagnostics/cache/1e80c6fada6a0156261bc4661b32df13e15788d7 +0 -1
  354. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  355. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/syntacticDiagnostics/cache/6918fa9a55369a18eeaf4cf7244d365faae9a8fd +0 -1
  356. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/syntacticDiagnostics/cache/cc2c2392209edb315cc9628f3156afb307a38944 +0 -1
  357. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  358. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  359. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  360. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  361. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  362. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  363. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  364. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  365. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  366. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  367. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/abe55c4c362f5b6a4b34788078668bf8d3a1ab30 +0 -0
  368. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  369. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  370. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  371. package/.rpt2_cache/5c7be55d72395c8d4b49b6497d5c2586dc7a72a4/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  372. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  373. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/code/cache/1e80c6fada6a0156261bc4661b32df13e15788d7 +0 -1
  374. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  375. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/code/cache/6918fa9a55369a18eeaf4cf7244d365faae9a8fd +0 -1
  376. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/code/cache/cc2c2392209edb315cc9628f3156afb307a38944 +0 -1
  377. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  378. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  379. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/semanticDiagnostics/cache/1e80c6fada6a0156261bc4661b32df13e15788d7 +0 -1
  380. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  381. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/semanticDiagnostics/cache/6918fa9a55369a18eeaf4cf7244d365faae9a8fd +0 -1
  382. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/semanticDiagnostics/cache/cc2c2392209edb315cc9628f3156afb307a38944 +0 -1
  383. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  384. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  385. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/syntacticDiagnostics/cache/1e80c6fada6a0156261bc4661b32df13e15788d7 +0 -1
  386. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  387. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/syntacticDiagnostics/cache/6918fa9a55369a18eeaf4cf7244d365faae9a8fd +0 -1
  388. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/syntacticDiagnostics/cache/cc2c2392209edb315cc9628f3156afb307a38944 +0 -1
  389. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  390. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  391. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  392. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  393. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  394. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  395. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  396. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  397. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  398. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  399. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/abe55c4c362f5b6a4b34788078668bf8d3a1ab30 +0 -0
  400. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  401. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  402. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  403. package/.rpt2_cache/8014eb8d222a385e08870656aa56241a1b42a900/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  404. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  405. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  406. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/code/cache/54661cfbac5456a8ba9883483816bd1643c39fba +0 -1
  407. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/code/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  408. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  409. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  410. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/semanticDiagnostics/cache/54661cfbac5456a8ba9883483816bd1643c39fba +0 -1
  411. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/semanticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  412. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  413. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  414. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/syntacticDiagnostics/cache/54661cfbac5456a8ba9883483816bd1643c39fba +0 -1
  415. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/syntacticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  416. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  417. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  418. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  419. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  420. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  421. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  422. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  423. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  424. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  425. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  426. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  427. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  428. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  429. package/.rpt2_cache/84370d5025093b2a38c6465e7ce14b49bc590859/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  430. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  431. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  432. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  433. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  434. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  435. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache/e02496ebcddd6a7934462c1ab80be40a3e7b495f +0 -1
  436. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  437. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache_/4691ebf8d34f82c550c142b998eefb678d467883 +0 -1
  438. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  439. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  440. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  441. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/code/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  442. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  443. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  444. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  445. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  446. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  447. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache/e02496ebcddd6a7934462c1ab80be40a3e7b495f +0 -1
  448. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  449. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache_/4691ebf8d34f82c550c142b998eefb678d467883 +0 -1
  450. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  451. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  452. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  453. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/semanticDiagnostics/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  454. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  455. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  456. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  457. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  458. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  459. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache/e02496ebcddd6a7934462c1ab80be40a3e7b495f +0 -1
  460. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  461. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache_/4691ebf8d34f82c550c142b998eefb678d467883 +0 -1
  462. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  463. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  464. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  465. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/syntacticDiagnostics/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  466. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  467. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  468. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  469. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  470. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  471. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  472. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  473. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  474. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  475. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  476. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  477. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  478. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  479. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache/ffa53078ef79d7f5565527eacf74c98a8534ddf1 +0 -0
  480. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  481. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  482. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  483. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  484. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  485. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  486. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  487. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  488. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  489. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  490. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  491. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  492. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  493. package/.rpt2_cache/8526bc42b88a54ff6a8ff8d0baa87b5aab404b3e/types/cache_/ffa53078ef79d7f5565527eacf74c98a8534ddf1 +0 -0
  494. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  495. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  496. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/code/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  497. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/code/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  498. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/code/cache/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  499. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  500. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  501. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  502. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/semanticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  503. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/semanticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  504. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/semanticDiagnostics/cache/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  505. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  506. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  507. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  508. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/syntacticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  509. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/syntacticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  510. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/syntacticDiagnostics/cache/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  511. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  512. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  513. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  514. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  515. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  516. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  517. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  518. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  519. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  520. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  521. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  522. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  523. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  524. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  525. package/.rpt2_cache/8689ecc2030be5941d3487f415e1aae5cc8345b7/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  526. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/code/cache_/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  527. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/code/cache_/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  528. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/code/cache_/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  529. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/semanticDiagnostics/cache_/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  530. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/semanticDiagnostics/cache_/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  531. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/semanticDiagnostics/cache_/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  532. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/syntacticDiagnostics/cache_/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  533. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/syntacticDiagnostics/cache_/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  534. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/syntacticDiagnostics/cache_/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  535. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  536. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  537. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  538. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  539. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  540. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  541. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/75c124ec7ea3cebab8659602a149689c901376ea +0 -0
  542. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  543. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  544. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  545. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  546. package/.rpt2_cache/883bdc4c09870d5bf4366b0e4f8d6bfad343556e/types/cache_/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  547. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  548. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  549. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  550. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  551. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  552. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  553. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/code/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  554. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  555. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  556. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  557. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  558. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  559. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  560. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  561. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/semanticDiagnostics/cache_/87168fa82942d192fee18730961262b17e627f7c +0 -1
  562. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  563. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  564. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  565. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  566. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  567. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  568. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  569. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/syntacticDiagnostics/cache_/87168fa82942d192fee18730961262b17e627f7c +0 -1
  570. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  571. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  572. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  573. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  574. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  575. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  576. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  577. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  578. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  579. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  580. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  581. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  582. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  583. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  584. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  585. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  586. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  587. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  588. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  589. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  590. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  591. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/7c685474fadd3627e39b37a17cbc445da77c3db7 +0 -0
  592. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  593. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  594. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  595. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  596. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  597. package/.rpt2_cache/8f7070d47f2d5f7cc69e8658840ba62330b5257a/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  598. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/code/cache_/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  599. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/code/cache_/ead2e0b613e92119dfcbfc9c7964dcb9ed0b7fa8 +0 -1
  600. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/semanticDiagnostics/cache_/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  601. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/semanticDiagnostics/cache_/ead2e0b613e92119dfcbfc9c7964dcb9ed0b7fa8 +0 -1
  602. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/syntacticDiagnostics/cache_/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  603. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/syntacticDiagnostics/cache_/ead2e0b613e92119dfcbfc9c7964dcb9ed0b7fa8 +0 -1
  604. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  605. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  606. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  607. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  608. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  609. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  610. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/56a6caa7418714d32f04d89364df5503ce31a433 +0 -0
  611. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  612. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  613. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  614. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  615. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  616. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  617. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  618. package/.rpt2_cache/9617eaedf7d2d55b4bb74aaa897f82fb0138ab42/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  619. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  620. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  621. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/code/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  622. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/code/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  623. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/code/cache/8a02e31ed91cdc2b79c1fc8c2d4a5a68ceb7ff9e +0 -1
  624. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  625. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  626. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  627. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/semanticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  628. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/semanticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  629. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/semanticDiagnostics/cache/8a02e31ed91cdc2b79c1fc8c2d4a5a68ceb7ff9e +0 -1
  630. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  631. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  632. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  633. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/syntacticDiagnostics/cache/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  634. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/syntacticDiagnostics/cache/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  635. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/syntacticDiagnostics/cache/8a02e31ed91cdc2b79c1fc8c2d4a5a68ceb7ff9e +0 -1
  636. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  637. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  638. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  639. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  640. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  641. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  642. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  643. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  644. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  645. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  646. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  647. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  648. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  649. package/.rpt2_cache/9b191877eb846466cc90bc370c2c06d0a884fed5/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  650. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/code/cache/1691119d2c1e0c48586ca6631ae6d521b913065a +0 -1
  651. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/code/cache/aafb774646f138f52b1ff28222e5bebe0ee76578 +0 -1
  652. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/code/cache/d80c053cbeb6a52628bb25989df6f53cd166873e +0 -1
  653. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/code/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  654. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/semanticDiagnostics/cache/1691119d2c1e0c48586ca6631ae6d521b913065a +0 -1
  655. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/semanticDiagnostics/cache/aafb774646f138f52b1ff28222e5bebe0ee76578 +0 -1
  656. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/semanticDiagnostics/cache/d80c053cbeb6a52628bb25989df6f53cd166873e +0 -1
  657. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/semanticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  658. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/syntacticDiagnostics/cache/1691119d2c1e0c48586ca6631ae6d521b913065a +0 -1
  659. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/syntacticDiagnostics/cache/aafb774646f138f52b1ff28222e5bebe0ee76578 +0 -1
  660. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/syntacticDiagnostics/cache/d80c053cbeb6a52628bb25989df6f53cd166873e +0 -1
  661. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/syntacticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  662. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  663. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  664. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  665. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  666. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/539771aacfc292456465281cf9f718e5bb00a0db +0 -0
  667. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  668. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/56a6caa7418714d32f04d89364df5503ce31a433 +0 -0
  669. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  670. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  671. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  672. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  673. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  674. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  675. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  676. package/.rpt2_cache/a68d4ad459743c722c8927965d381cb6c7ed6d09/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  677. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/code/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  678. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/code/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  679. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/code/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  680. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/code/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  681. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/semanticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  682. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/semanticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  683. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/semanticDiagnostics/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  684. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/semanticDiagnostics/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  685. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/syntacticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  686. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/syntacticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  687. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/syntacticDiagnostics/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  688. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/syntacticDiagnostics/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  689. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  690. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/235959c13283b94368a2281d86d4d372741a8a65 +0 -0
  691. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  692. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  693. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  694. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  695. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  696. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/75c124ec7ea3cebab8659602a149689c901376ea +0 -0
  697. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  698. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  699. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  700. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  701. package/.rpt2_cache/ba692f202a52dc531ea55bd4c6c1b2757ffb298a/types/cache/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  702. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/code/cache/013fc4ad3e0e1bad4698f00c1d5c7e54614c8b9d +0 -1
  703. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/code/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  704. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/code/cache/177cb9f864396b7068ddcec4d1985d567947cfe5 +0 -1
  705. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  706. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/code/cache/5079964bfb986ce15996b5ce8c6defa8e7301e7d +0 -1
  707. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/code/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  708. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/semanticDiagnostics/cache/013fc4ad3e0e1bad4698f00c1d5c7e54614c8b9d +0 -1
  709. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/semanticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  710. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/semanticDiagnostics/cache/177cb9f864396b7068ddcec4d1985d567947cfe5 +0 -1
  711. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  712. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/semanticDiagnostics/cache/5079964bfb986ce15996b5ce8c6defa8e7301e7d +0 -1
  713. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/semanticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  714. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/syntacticDiagnostics/cache/013fc4ad3e0e1bad4698f00c1d5c7e54614c8b9d +0 -1
  715. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/syntacticDiagnostics/cache/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  716. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/syntacticDiagnostics/cache/177cb9f864396b7068ddcec4d1985d567947cfe5 +0 -1
  717. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  718. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/syntacticDiagnostics/cache/5079964bfb986ce15996b5ce8c6defa8e7301e7d +0 -1
  719. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/syntacticDiagnostics/cache/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  720. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  721. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  722. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  723. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  724. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  725. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  726. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  727. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  728. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  729. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  730. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  731. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  732. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  733. package/.rpt2_cache/bd0d959474a91f1cdfdc2d0d7a6fb2fddb09f72a/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  734. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/code/cache_/2224ad1bccaafef15bde12d5cfc2ba11827634eb +0 -1
  735. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/code/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  736. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/semanticDiagnostics/cache_/2224ad1bccaafef15bde12d5cfc2ba11827634eb +0 -1
  737. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/semanticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  738. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/syntacticDiagnostics/cache_/2224ad1bccaafef15bde12d5cfc2ba11827634eb +0 -1
  739. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/syntacticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  740. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  741. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  742. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  743. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  744. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  745. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  746. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  747. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  748. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  749. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  750. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  751. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  752. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  753. package/.rpt2_cache/bf61a54643ff82afff66f214559fa10a1af179d1/types/cache_/ffa53078ef79d7f5565527eacf74c98a8534ddf1 +0 -0
  754. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/code/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  755. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/code/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  756. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/code/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  757. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/code/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  758. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/semanticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  759. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/semanticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  760. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/semanticDiagnostics/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  761. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/semanticDiagnostics/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  762. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/syntacticDiagnostics/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe +0 -1
  763. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/syntacticDiagnostics/cache/803b71a5bb8e7be1e3b3e8c093aa6bf5013d9b92 +0 -1
  764. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/syntacticDiagnostics/cache/8f802935eae5647e450795760dfed7e1794954f8 +0 -1
  765. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/syntacticDiagnostics/cache/ebe53a8e711e27b2d39b333de18257fe7d5fe3a3 +0 -1
  766. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  767. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/235959c13283b94368a2281d86d4d372741a8a65 +0 -0
  768. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  769. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  770. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  771. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  772. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  773. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/75c124ec7ea3cebab8659602a149689c901376ea +0 -0
  774. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  775. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  776. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  777. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  778. package/.rpt2_cache/c895e5eb56e6fb72e180c4ea5f97a9c1b95acf70/types/cache/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  779. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/code/cache/2faa30eb91bb16284767eb3d84696255e5e7fdb9 +0 -1
  780. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/code/cache/40c5a8a7416fdf6d1a39a3e201061b4d6dd86ced +0 -1
  781. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/code/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  782. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/code/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  783. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/code/cache/7cb64f8b86398f9cad0c0ca04a95a80e7611a702 +0 -1
  784. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/semanticDiagnostics/cache/2faa30eb91bb16284767eb3d84696255e5e7fdb9 +0 -1
  785. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/semanticDiagnostics/cache/40c5a8a7416fdf6d1a39a3e201061b4d6dd86ced +0 -1
  786. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/semanticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  787. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/semanticDiagnostics/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  788. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/semanticDiagnostics/cache/7cb64f8b86398f9cad0c0ca04a95a80e7611a702 +0 -1
  789. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/syntacticDiagnostics/cache/2faa30eb91bb16284767eb3d84696255e5e7fdb9 +0 -1
  790. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/syntacticDiagnostics/cache/40c5a8a7416fdf6d1a39a3e201061b4d6dd86ced +0 -1
  791. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/syntacticDiagnostics/cache/5038e33b20e6470654156843853060e91704f829 +0 -1
  792. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/syntacticDiagnostics/cache/63bbd5b2f23e9f6fb1bcdff5def7d02d56681b93 +0 -1
  793. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/syntacticDiagnostics/cache/7cb64f8b86398f9cad0c0ca04a95a80e7611a702 +0 -1
  794. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  795. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  796. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/235959c13283b94368a2281d86d4d372741a8a65 +0 -0
  797. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  798. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  799. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  800. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  801. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  802. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  803. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  804. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  805. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  806. package/.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/types/cache/f6612bc45ccffc3ddb7e692ebf7bcf2df7975509 +0 -0
  807. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/code/cache/0694b7b10a2193b9427c68b1bce2fe25eadea76d +0 -1
  808. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/code/cache/0f169a16abe7f674dd1bf7008588c91090b36416 +0 -1
  809. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/code/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  810. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/code/cache/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  811. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/semanticDiagnostics/cache/0694b7b10a2193b9427c68b1bce2fe25eadea76d +0 -1
  812. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/semanticDiagnostics/cache/0f169a16abe7f674dd1bf7008588c91090b36416 +0 -1
  813. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/semanticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  814. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/semanticDiagnostics/cache/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  815. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/syntacticDiagnostics/cache/0694b7b10a2193b9427c68b1bce2fe25eadea76d +0 -1
  816. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/syntacticDiagnostics/cache/0f169a16abe7f674dd1bf7008588c91090b36416 +0 -1
  817. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/syntacticDiagnostics/cache/e07adb3a1360f9412412e91eee0d29389145f1d1 +0 -1
  818. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/syntacticDiagnostics/cache/e79f5bd9a22b59ff766e77fb782be7789535afca +0 -1
  819. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  820. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  821. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  822. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  823. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/539771aacfc292456465281cf9f718e5bb00a0db +0 -0
  824. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  825. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/56a6caa7418714d32f04d89364df5503ce31a433 +0 -0
  826. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  827. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  828. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  829. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  830. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  831. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  832. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  833. package/.rpt2_cache/fb3a72974325c9423357dba2881e0622f2073dc2/types/cache/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  834. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/code/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  835. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/code/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  836. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/code/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  837. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/code/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  838. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/code/cache_/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  839. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/code/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  840. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/semanticDiagnostics/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  841. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/semanticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  842. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/semanticDiagnostics/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  843. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/semanticDiagnostics/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  844. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/semanticDiagnostics/cache_/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  845. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/semanticDiagnostics/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  846. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/syntacticDiagnostics/cache_/0f554c71bccddbec9ad128043aae9957be48c436 +0 -1
  847. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/syntacticDiagnostics/cache_/5038e33b20e6470654156843853060e91704f829 +0 -1
  848. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/syntacticDiagnostics/cache_/7084f358e4503a8625968bc8bd67a2b594c0586f +0 -1
  849. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/syntacticDiagnostics/cache_/7cb27b7e7c933b8da9e7ee54fe30a662330b2509 +0 -1
  850. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/syntacticDiagnostics/cache_/81051e30cdbbd9dfe36edbdc76b8df0ce29e54ee +0 -1
  851. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/syntacticDiagnostics/cache_/d00520284e1fdeb42087f7fe1b1c15c3c7d4bd75 +0 -1
  852. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/02b3c08288208fefa5b7549e22a41469d03c4f37 +0 -0
  853. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/057f578563a8bc45e2c5942fda3622f65cac679e +0 -0
  854. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/386627c64c17104c30a10a65d21b43730f4ff4ff +0 -0
  855. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/43827b5b85ae2a7c665eb4d35128e2717873a814 +0 -0
  856. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/507316083c25fd6892576729d1445e82b6a48d93 +0 -0
  857. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/5499365e9f212ded12da5905533f2cb339e41975 +0 -0
  858. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/58682aff358aea4764319bd5f7eea77bacd7fc78 +0 -0
  859. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/6ebc1378c34c1084de72263a2b5dcd622047b150 +0 -0
  860. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/814af3c5efcffd7873834ab2da19bdb81abea340 +0 -0
  861. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/93c8f85e5d75a9339c754a41c075e44cf89d2941 +0 -0
  862. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/bdb78fe55be64a5d46c5d524b463dda58d741390 +0 -0
  863. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/c2a9d4871d7759378b3f708b44b0bc315f6221bb +0 -0
  864. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/cf6891ef7e820afc8c1b9a5e53976382da5a754d +0 -0
  865. package/.rpt2_cache/fc8bb68244660d30fdd2b5e51ab7a510b6104bf1/types/cache_/dd595be812f6d293fb8735a4f7bd1c3e4328237a +0 -0
  866. package/dist/clients/js/index.d.ts +0 -4
  867. package/dist/clients/js/index.js +0 -4
  868. package/dist/clients/js/src/builder.class.d.ts +0 -151
  869. package/dist/clients/js/src/builder.class.js +0 -710
  870. package/dist/clients/js/src/classes/event-capturer.class.d.ts +0 -30
  871. package/dist/clients/js/src/functions/dom-to-vdom.function.d.ts +0 -10
  872. package/dist/clients/js/src/functions/dom-to-vdom.function.js +0 -168
  873. package/dist/clients/js/src/functions/next-tick.function.d.ts +0 -1
  874. package/dist/index.umd.min.js +0 -2
  875. package/dist/index.umd.min.js.map +0 -1
package/dist/index.cjs.js CHANGED
@@ -4,329 +4,30 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
6
 
7
- var Cookies = _interopDefault(require('js-cookie'));
8
- var includes = _interopDefault(require('lodash-es/includes'));
9
- var omit = _interopDefault(require('lodash-es/omit'));
10
- var find = _interopDefault(require('lodash-es/find'));
11
- var round = _interopDefault(require('lodash-es/round'));
12
- var assign = _interopDefault(require('lodash-es/assign'));
13
- var sortBy = _interopDefault(require('lodash-es/sortBy'));
14
- var size = _interopDefault(require('lodash-es/size'));
15
- var throttle = _interopDefault(require('lodash-es/throttle'));
16
- var BehaviorSubject = require('rxjs/internal/BehaviorSubject');
17
- var Observable = require('rxjs/internal/Observable');
18
- var map = require('rxjs/internal/operators/map');
19
- var parser = _interopDefault(require('ua-parser-js'));
20
- var uniqueSelector = _interopDefault(require('unique-selector'));
21
- var url = require('url');
22
- var qs = require('qs');
7
+ var tslib = require('tslib');
8
+ var hash = _interopDefault(require('hash-sum'));
23
9
 
24
- /**
25
- * @this {Promise}
26
- */
27
- function finallyConstructor(callback) {
28
- var constructor = this.constructor;
29
- return this.then(
30
- function(value) {
31
- return constructor.resolve(callback()).then(function() {
32
- return value;
33
- });
34
- },
35
- function(reason) {
36
- return constructor.resolve(callback()).then(function() {
37
- return constructor.reject(reason);
38
- });
39
- }
40
- );
41
- }
42
-
43
- // Store setTimeout reference so promise-polyfill will be unaffected by
44
- // other code modifying setTimeout (like sinon.useFakeTimers())
45
- var setTimeoutFunc = setTimeout;
46
-
47
- function noop() {}
48
-
49
- // Polyfill for Function.prototype.bind
50
- function bind(fn, thisArg) {
51
- return function() {
52
- fn.apply(thisArg, arguments);
53
- };
54
- }
55
-
56
- /**
57
- * @constructor
58
- * @param {Function} fn
59
- */
60
- function Promise$1(fn) {
61
- if (!(this instanceof Promise$1))
62
- throw new TypeError('Promises must be constructed via new');
63
- if (typeof fn !== 'function') throw new TypeError('not a function');
64
- /** @type {!number} */
65
- this._state = 0;
66
- /** @type {!boolean} */
67
- this._handled = false;
68
- /** @type {Promise|undefined} */
69
- this._value = undefined;
70
- /** @type {!Array<!Function>} */
71
- this._deferreds = [];
72
-
73
- doResolve(fn, this);
74
- }
75
-
76
- function handle(self, deferred) {
77
- while (self._state === 3) {
78
- self = self._value;
79
- }
80
- if (self._state === 0) {
81
- self._deferreds.push(deferred);
82
- return;
83
- }
84
- self._handled = true;
85
- Promise$1._immediateFn(function() {
86
- var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;
87
- if (cb === null) {
88
- (self._state === 1 ? resolve : reject)(deferred.promise, self._value);
89
- return;
90
- }
91
- var ret;
92
- try {
93
- ret = cb(self._value);
94
- } catch (e) {
95
- reject(deferred.promise, e);
96
- return;
97
- }
98
- resolve(deferred.promise, ret);
99
- });
100
- }
101
-
102
- function resolve(self, newValue) {
103
- try {
104
- // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure
105
- if (newValue === self)
106
- throw new TypeError('A promise cannot be resolved with itself.');
107
- if (
108
- newValue &&
109
- (typeof newValue === 'object' || typeof newValue === 'function')
110
- ) {
111
- var then = newValue.then;
112
- if (newValue instanceof Promise$1) {
113
- self._state = 3;
114
- self._value = newValue;
115
- finale(self);
116
- return;
117
- } else if (typeof then === 'function') {
118
- doResolve(bind(then, newValue), self);
119
- return;
120
- }
121
- }
122
- self._state = 1;
123
- self._value = newValue;
124
- finale(self);
125
- } catch (e) {
126
- reject(self, e);
127
- }
128
- }
129
-
130
- function reject(self, newValue) {
131
- self._state = 2;
132
- self._value = newValue;
133
- finale(self);
134
- }
135
-
136
- function finale(self) {
137
- if (self._state === 2 && self._deferreds.length === 0) {
138
- Promise$1._immediateFn(function() {
139
- if (!self._handled) {
140
- Promise$1._unhandledRejectionFn(self._value);
141
- }
142
- });
143
- }
144
-
145
- for (var i = 0, len = self._deferreds.length; i < len; i++) {
146
- handle(self, self._deferreds[i]);
147
- }
148
- self._deferreds = null;
149
- }
150
-
151
- /**
152
- * @constructor
153
- */
154
- function Handler(onFulfilled, onRejected, promise) {
155
- this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
156
- this.onRejected = typeof onRejected === 'function' ? onRejected : null;
157
- this.promise = promise;
158
- }
159
-
160
- /**
161
- * Take a potentially misbehaving resolver function and make sure
162
- * onFulfilled and onRejected are only called once.
163
- *
164
- * Makes no guarantees about asynchrony.
165
- */
166
- function doResolve(fn, self) {
167
- var done = false;
168
- try {
169
- fn(
170
- function(value) {
171
- if (done) return;
172
- done = true;
173
- resolve(self, value);
174
- },
175
- function(reason) {
176
- if (done) return;
177
- done = true;
178
- reject(self, reason);
179
- }
180
- );
181
- } catch (ex) {
182
- if (done) return;
183
- done = true;
184
- reject(self, ex);
185
- }
186
- }
187
-
188
- Promise$1.prototype['catch'] = function(onRejected) {
189
- return this.then(null, onRejected);
190
- };
191
-
192
- Promise$1.prototype.then = function(onFulfilled, onRejected) {
193
- // @ts-ignore
194
- var prom = new this.constructor(noop);
195
-
196
- handle(this, new Handler(onFulfilled, onRejected, prom));
197
- return prom;
198
- };
199
-
200
- Promise$1.prototype['finally'] = finallyConstructor;
201
-
202
- Promise$1.all = function(arr) {
203
- return new Promise$1(function(resolve, reject) {
204
- if (!arr || typeof arr.length === 'undefined')
205
- throw new TypeError('Promise.all accepts an array');
206
- var args = Array.prototype.slice.call(arr);
207
- if (args.length === 0) return resolve([]);
208
- var remaining = args.length;
10
+ (function () {
11
+ if (typeof window === 'undefined' || typeof window.CustomEvent === 'function') return false;
209
12
 
210
- function res(i, val) {
211
- try {
212
- if (val && (typeof val === 'object' || typeof val === 'function')) {
213
- var then = val.then;
214
- if (typeof then === 'function') {
215
- then.call(
216
- val,
217
- function(val) {
218
- res(i, val);
219
- },
220
- reject
221
- );
222
- return;
223
- }
224
- }
225
- args[i] = val;
226
- if (--remaining === 0) {
227
- resolve(args);
228
- }
229
- } catch (ex) {
230
- reject(ex);
231
- }
232
- }
233
-
234
- for (var i = 0; i < args.length; i++) {
235
- res(i, args[i]);
236
- }
237
- });
238
- };
239
-
240
- Promise$1.resolve = function(value) {
241
- if (value && typeof value === 'object' && value.constructor === Promise$1) {
242
- return value;
243
- }
244
-
245
- return new Promise$1(function(resolve) {
246
- resolve(value);
247
- });
248
- };
249
-
250
- Promise$1.reject = function(value) {
251
- return new Promise$1(function(resolve, reject) {
252
- reject(value);
253
- });
254
- };
255
-
256
- Promise$1.race = function(values) {
257
- return new Promise$1(function(resolve, reject) {
258
- for (var i = 0, len = values.length; i < len; i++) {
259
- values[i].then(resolve, reject);
260
- }
261
- });
262
- };
263
-
264
- // Use polyfill for setImmediate for performance gains
265
- Promise$1._immediateFn =
266
- (typeof setImmediate === 'function' &&
267
- function(fn) {
268
- setImmediate(fn);
269
- }) ||
270
- function(fn) {
271
- setTimeoutFunc(fn, 0);
272
- };
273
-
274
- Promise$1._unhandledRejectionFn = function _unhandledRejectionFn(err) {
275
- if (typeof console !== 'undefined' && console) {
276
- console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console
13
+ function CustomEvent(event, params) {
14
+ params = params || { bubbles: false, cancelable: false, detail: null };
15
+ var evt = document.createEvent('CustomEvent');
16
+ evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
17
+ return evt;
277
18
  }
278
- };
279
19
 
280
- /** @suppress {undefinedVars} */
281
- var globalNS = (function() {
282
- // the only reliable means to get the global object is
283
- // `Function('return this')()`
284
- // However, this causes CSP violations in Chrome apps.
285
- if (typeof self !== 'undefined') {
286
- return self;
287
- }
288
- if (typeof window !== 'undefined') {
289
- return window;
290
- }
291
- if (typeof global !== 'undefined') {
292
- return global;
293
- }
294
- throw new Error('unable to locate global object');
20
+ window.CustomEvent = CustomEvent;
295
21
  })();
296
22
 
297
- if (!('Promise' in globalNS)) {
298
- globalNS['Promise'] = Promise$1;
299
- } else if (!globalNS.Promise.prototype['finally']) {
300
- globalNS.Promise.prototype['finally'] = finallyConstructor;
301
- }
302
-
303
- /*! *****************************************************************************
304
- Copyright (c) Microsoft Corporation. All rights reserved.
305
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
306
- this file except in compliance with the License. You may obtain a copy of the
307
- License at http://www.apache.org/licenses/LICENSE-2.0
308
-
309
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
310
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
311
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
312
- MERCHANTABLITY OR NON-INFRINGEMENT.
313
-
314
- See the Apache Version 2.0 License for specific language governing permissions
315
- and limitations under the License.
316
- ***************************************************************************** */
317
-
318
- var __assign = Object.assign || function __assign(t) {
319
- for (var s, i = 1, n = arguments.length; i < n; i++) {
320
- s = arguments[i];
321
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
322
- }
323
- return t;
324
- };
325
-
326
23
  var isSafari = typeof window !== 'undefined' &&
327
24
  /^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);
328
- // TODO: move to shared
25
+ // TODO: queue all of these in a debounceNextTick
329
26
  function nextTick(fn) {
27
+ // React native
28
+ if (typeof setImmediate === 'function' && typeof window === 'undefined') {
29
+ return setImmediate(fn);
30
+ }
330
31
  // TODO: should this be setImmediate instead? Forgot if that is micro or macro task
331
32
  // TODO: detect specifically if is server
332
33
  // if (typeof process !== 'undefined' && process.nextTick) {
@@ -349,13 +50,367 @@ function nextTick(fn) {
349
50
  element.data = String((called = ++called));
350
51
  }
351
52
 
352
- // import 'core-js/es6/promise';
53
+ var PROPERTY_NAME_DENY_LIST = Object.freeze(['__proto__', 'prototype', 'constructor']);
54
+ // TODO: unit tests
55
+ var QueryString = /** @class */ (function () {
56
+ function QueryString() {
57
+ }
58
+ QueryString.parseDeep = function (queryString) {
59
+ var obj = this.parse(queryString);
60
+ return this.deepen(obj);
61
+ };
62
+ QueryString.stringifyDeep = function (obj) {
63
+ var map = this.flatten(obj);
64
+ return this.stringify(map);
65
+ };
66
+ QueryString.parse = function (queryString) {
67
+ var query = {};
68
+ var pairs = (queryString[0] === '?' ? queryString.substr(1) : queryString).split('&');
69
+ for (var i = 0; i < pairs.length; i++) {
70
+ var pair = pairs[i].split('=');
71
+ // TODO: node support?
72
+ try {
73
+ query[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || '');
74
+ }
75
+ catch (error) {
76
+ // Ignore malformed URI components
77
+ }
78
+ }
79
+ return query;
80
+ };
81
+ QueryString.stringify = function (map) {
82
+ var str = '';
83
+ for (var key in map) {
84
+ if (map.hasOwnProperty(key)) {
85
+ var value = map[key];
86
+ if (str) {
87
+ str += '&';
88
+ }
89
+ str += encodeURIComponent(key) + '=' + encodeURIComponent(value);
90
+ }
91
+ }
92
+ return str;
93
+ };
94
+ QueryString.deepen = function (map) {
95
+ // FIXME; Should be type Tree = Record<string, string | Tree>
96
+ // requires a typescript upgrade.
97
+ var output = {};
98
+ for (var k in map) {
99
+ var t = output;
100
+ var parts = k.split('.');
101
+ var key = parts.pop();
102
+ for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
103
+ var part = parts_1[_i];
104
+ assertAllowedPropertyName(part);
105
+ t = t[part] = t[part] || {};
106
+ }
107
+ t[key] = map[k];
108
+ }
109
+ return output;
110
+ };
111
+ QueryString.flatten = function (obj, _current, _res) {
112
+ if (_res === void 0) { _res = {}; }
113
+ for (var key in obj) {
114
+ var value = obj[key];
115
+ var newKey = _current ? _current + '.' + key : key;
116
+ if (value && typeof value === 'object') {
117
+ this.flatten(value, newKey, _res);
118
+ }
119
+ else {
120
+ _res[newKey] = value;
121
+ }
122
+ }
123
+ return _res;
124
+ };
125
+ return QueryString;
126
+ }());
127
+ function assertAllowedPropertyName(name) {
128
+ if (PROPERTY_NAME_DENY_LIST.indexOf(name) >= 0)
129
+ throw new Error("Property name \"".concat(name, "\" is not allowed"));
130
+ }
131
+
132
+ var version = "0.1.27-5";
133
+
134
+ var Subscription = /** @class */ (function () {
135
+ function Subscription(listeners, listener) {
136
+ this.listeners = listeners;
137
+ this.listener = listener;
138
+ this.unsubscribed = false;
139
+ this.otherSubscriptions = [];
140
+ }
141
+ Object.defineProperty(Subscription.prototype, "closed", {
142
+ get: function () {
143
+ return this.unsubscribed;
144
+ },
145
+ enumerable: false,
146
+ configurable: true
147
+ });
148
+ Subscription.prototype.add = function (subscription) {
149
+ this.otherSubscriptions.push(subscription);
150
+ };
151
+ Subscription.prototype.unsubscribe = function () {
152
+ if (this.unsubscribed) {
153
+ return;
154
+ }
155
+ if (this.listener && this.listeners) {
156
+ var index = this.listeners.indexOf(this.listener);
157
+ if (index > -1) {
158
+ this.listeners.splice(index, 1);
159
+ }
160
+ }
161
+ this.otherSubscriptions.forEach(function (sub) { return sub.unsubscribe(); });
162
+ this.unsubscribed = true;
163
+ };
164
+ return Subscription;
165
+ }());
166
+ // TODO: follow minimal basic spec: https://github.com/tc39/proposal-observable
167
+ var BehaviorSubject = /** @class */ (function () {
168
+ function BehaviorSubject(value) {
169
+ this.value = value;
170
+ this.listeners = [];
171
+ this.errorListeners = [];
172
+ }
173
+ BehaviorSubject.prototype.next = function (value) {
174
+ this.value = value;
175
+ for (var _i = 0, _a = this.listeners; _i < _a.length; _i++) {
176
+ var listener = _a[_i];
177
+ listener(value);
178
+ }
179
+ };
180
+ // TODO: implement this as PIPE instead
181
+ BehaviorSubject.prototype.map = function (fn) {
182
+ var newSubject = new BehaviorSubject(fn(this.value));
183
+ // TODO: on destroy delete these
184
+ this.subscribe(function (val) {
185
+ newSubject.next(fn(val));
186
+ });
187
+ this.catch(function (err) {
188
+ newSubject.error(err);
189
+ });
190
+ return newSubject;
191
+ };
192
+ BehaviorSubject.prototype.catch = function (errorListener) {
193
+ this.errorListeners.push(errorListener);
194
+ return new Subscription(this.errorListeners, errorListener);
195
+ };
196
+ BehaviorSubject.prototype.error = function (error) {
197
+ for (var _i = 0, _a = this.errorListeners; _i < _a.length; _i++) {
198
+ var listener = _a[_i];
199
+ listener(error);
200
+ }
201
+ };
202
+ BehaviorSubject.prototype.subscribe = function (listener, errorListener) {
203
+ this.listeners.push(listener);
204
+ if (errorListener) {
205
+ this.errorListeners.push(errorListener);
206
+ }
207
+ return new Subscription(this.listeners, listener);
208
+ };
209
+ BehaviorSubject.prototype.toPromise = function () {
210
+ var _this = this;
211
+ return new Promise(function (resolve, reject) {
212
+ var subscription = _this.subscribe(function (value) {
213
+ resolve(value);
214
+ subscription.unsubscribe();
215
+ }, function (err) {
216
+ reject(err);
217
+ subscription.unsubscribe();
218
+ });
219
+ });
220
+ };
221
+ BehaviorSubject.prototype.promise = function () {
222
+ return this.toPromise();
223
+ };
224
+ return BehaviorSubject;
225
+ }());
226
+
227
+ var State = {
228
+ Pending: 'Pending',
229
+ Fulfilled: 'Fulfilled',
230
+ Rejected: 'Rejected',
231
+ };
232
+ function isFunction(val) {
233
+ return val && typeof val === 'function';
234
+ }
235
+ function isObject(val) {
236
+ return val && typeof val === 'object';
237
+ }
238
+ var TinyPromise = /** @class */ (function () {
239
+ function TinyPromise(executor) {
240
+ this._state = State.Pending;
241
+ this._handlers = [];
242
+ this._value = null;
243
+ executor(this._resolve.bind(this), this._reject.bind(this));
244
+ }
245
+ TinyPromise.prototype._resolve = function (x) {
246
+ var _this = this;
247
+ if (x instanceof TinyPromise) {
248
+ x.then(this._resolve.bind(this), this._reject.bind(this));
249
+ }
250
+ else if (isObject(x) || isFunction(x)) {
251
+ var called_1 = false;
252
+ try {
253
+ var thenable = x.then;
254
+ if (isFunction(thenable)) {
255
+ thenable.call(x, function (result) {
256
+ if (!called_1)
257
+ _this._resolve(result);
258
+ called_1 = true;
259
+ return undefined;
260
+ }, function (error) {
261
+ if (!called_1)
262
+ _this._reject(error);
263
+ called_1 = true;
264
+ return undefined;
265
+ });
266
+ }
267
+ else {
268
+ this._fulfill(x);
269
+ }
270
+ }
271
+ catch (ex) {
272
+ if (!called_1) {
273
+ this._reject(ex);
274
+ }
275
+ }
276
+ }
277
+ else {
278
+ this._fulfill(x);
279
+ }
280
+ };
281
+ TinyPromise.prototype._fulfill = function (result) {
282
+ var _this = this;
283
+ this._state = State.Fulfilled;
284
+ this._value = result;
285
+ this._handlers.forEach(function (handler) { return _this._callHandler(handler); });
286
+ };
287
+ TinyPromise.prototype._reject = function (error) {
288
+ var _this = this;
289
+ this._state = State.Rejected;
290
+ this._value = error;
291
+ this._handlers.forEach(function (handler) { return _this._callHandler(handler); });
292
+ };
293
+ TinyPromise.prototype._isPending = function () {
294
+ return this._state === State.Pending;
295
+ };
296
+ TinyPromise.prototype._isFulfilled = function () {
297
+ return this._state === State.Fulfilled;
298
+ };
299
+ TinyPromise.prototype._isRejected = function () {
300
+ return this._state === State.Rejected;
301
+ };
302
+ TinyPromise.prototype._addHandler = function (onFulfilled, onRejected) {
303
+ this._handlers.push({
304
+ onFulfilled: onFulfilled,
305
+ onRejected: onRejected,
306
+ });
307
+ };
308
+ TinyPromise.prototype._callHandler = function (handler) {
309
+ if (this._isFulfilled() && isFunction(handler.onFulfilled)) {
310
+ handler.onFulfilled(this._value);
311
+ }
312
+ else if (this._isRejected() && isFunction(handler.onRejected)) {
313
+ handler.onRejected(this._value);
314
+ }
315
+ };
316
+ TinyPromise.prototype.then = function (onFulfilled, onRejected) {
317
+ var _this = this;
318
+ switch (this._state) {
319
+ case State.Pending: {
320
+ return new TinyPromise(function (resolve, reject) {
321
+ _this._addHandler(function (value) {
322
+ nextTick(function () {
323
+ try {
324
+ if (isFunction(onFulfilled)) {
325
+ resolve(onFulfilled(value));
326
+ }
327
+ else {
328
+ resolve(value);
329
+ }
330
+ }
331
+ catch (ex) {
332
+ reject(ex);
333
+ }
334
+ });
335
+ }, function (error) {
336
+ nextTick(function () {
337
+ try {
338
+ if (isFunction(onRejected)) {
339
+ resolve(onRejected(error));
340
+ }
341
+ else {
342
+ reject(error);
343
+ }
344
+ }
345
+ catch (ex) {
346
+ reject(ex);
347
+ }
348
+ });
349
+ });
350
+ });
351
+ }
352
+ case State.Fulfilled: {
353
+ return new TinyPromise(function (resolve, reject) {
354
+ nextTick(function () {
355
+ try {
356
+ if (isFunction(onFulfilled)) {
357
+ resolve(onFulfilled(_this._value));
358
+ }
359
+ else {
360
+ resolve(_this._value);
361
+ }
362
+ }
363
+ catch (ex) {
364
+ reject(ex);
365
+ }
366
+ });
367
+ });
368
+ }
369
+ case State.Rejected: {
370
+ return new TinyPromise(function (resolve, reject) {
371
+ nextTick(function () {
372
+ try {
373
+ if (isFunction(onRejected)) {
374
+ resolve(onRejected(_this._value));
375
+ }
376
+ else {
377
+ reject(_this._value);
378
+ }
379
+ }
380
+ catch (ex) {
381
+ reject(ex);
382
+ }
383
+ });
384
+ });
385
+ }
386
+ }
387
+ };
388
+ return TinyPromise;
389
+ }());
390
+ var Promise$1 = (typeof Promise !== 'undefined' ? Promise : TinyPromise);
391
+
392
+ // Webpack workaround to conditionally require certain external modules
393
+ // only on the server and not bundle them on the client
394
+ var serverOnlyRequire;
395
+ try {
396
+ // tslint:disable-next-line:no-eval
397
+ serverOnlyRequire = eval('require');
398
+ }
399
+ catch (err) {
400
+ // all good
401
+ serverOnlyRequire = (function () { return null; });
402
+ }
403
+ var serverOnlyRequire$1 = serverOnlyRequire;
404
+
405
+ function promiseResolve(value) {
406
+ return new Promise$1(function (resolve) { return resolve(value); });
407
+ }
353
408
  // Adapted from https://raw.githubusercontent.com/developit/unfetch/master/src/index.mjs
354
- function fetch(url$$1, options) {
409
+ function tinyFetch(url, options) {
355
410
  if (options === void 0) { options = {}; }
356
- return new Promise(function (resolve, reject) {
411
+ return new Promise$1(function (resolve, reject) {
357
412
  var request = new XMLHttpRequest();
358
- request.open(options.method || 'get', url$$1, true);
413
+ request.open(options.method || 'get', url, true);
359
414
  if (options.headers) {
360
415
  for (var i in options.headers) {
361
416
  request.setRequestHeader(i, options.headers[i]);
@@ -379,7 +434,7 @@ function fetch(url$$1, options) {
379
434
  keys.push((key = key.toLowerCase()));
380
435
  all.push([key, value]);
381
436
  header = headers[key];
382
- headers[key] = header ? header + "," + value : value;
437
+ headers[key] = header ? "".concat(header, ",").concat(value) : value;
383
438
  return '';
384
439
  });
385
440
  return {
@@ -388,9 +443,9 @@ function fetch(url$$1, options) {
388
443
  statusText: request.statusText,
389
444
  url: request.responseURL,
390
445
  clone: response,
391
- text: function () { return Promise.resolve(request.responseText); },
392
- json: function () { return Promise.resolve(request.responseText).then(JSON.parse); },
393
- blob: function () { return Promise.resolve(new Blob([request.response])); },
446
+ text: function () { return promiseResolve(request.responseText); },
447
+ json: function () { return promiseResolve(request.responseText).then(JSON.parse); },
448
+ blob: function () { return promiseResolve(new Blob([request.response])); },
394
449
  headers: {
395
450
  keys: function () { return keys; },
396
451
  entries: function () { return all; },
@@ -400,68 +455,696 @@ function fetch(url$$1, options) {
400
455
  };
401
456
  }
402
457
  });
458
+ }
459
+ var fetch;
460
+ // If fetch is defined, in the browser, via polyfill, or in a Cloudflare worker, use it.
461
+ if (globalThis.fetch) {
462
+ fetch = globalThis.fetch;
463
+ }
464
+ // If fetch is not defined, in a Node.js environment, use node-fetch.
465
+ if (typeof window === 'undefined') {
466
+ fetch !== null && fetch !== void 0 ? fetch : (fetch = serverOnlyRequire$1('node-fetch'));
467
+ }
468
+ // Otherwise, use tiny-fetch.
469
+ fetch !== null && fetch !== void 0 ? fetch : (fetch = tinyFetch);
470
+
471
+ function assign(target) {
472
+ var args = [];
473
+ for (var _i = 1; _i < arguments.length; _i++) {
474
+ args[_i - 1] = arguments[_i];
475
+ }
476
+ var to = Object(target);
477
+ for (var index = 1; index < arguments.length; index++) {
478
+ var nextSource = arguments[index];
479
+ if (nextSource != null) {
480
+ // Skip over if undefined or null
481
+ for (var nextKey in nextSource) {
482
+ // Avoid bugs when hasOwnProperty is shadowed
483
+ if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
484
+ to[nextKey] = nextSource[nextKey];
485
+ }
486
+ }
487
+ }
488
+ }
489
+ return to;
490
+ }
491
+
492
+ function throttle(func, wait, options) {
493
+ if (options === void 0) { options = {}; }
494
+ var context;
495
+ var args;
496
+ var result;
497
+ var timeout = null;
498
+ var previous = 0;
499
+ var later = function () {
500
+ previous = options.leading === false ? 0 : Date.now();
501
+ timeout = null;
502
+ result = func.apply(context, args);
503
+ if (!timeout)
504
+ context = args = null;
505
+ };
506
+ return function () {
507
+ var now = Date.now();
508
+ if (!previous && options.leading === false)
509
+ previous = now;
510
+ var remaining = wait - (now - previous);
511
+ context = this;
512
+ args = arguments;
513
+ if (remaining <= 0 || remaining > wait) {
514
+ if (timeout) {
515
+ clearTimeout(timeout);
516
+ timeout = null;
517
+ }
518
+ previous = now;
519
+ result = func.apply(context, args);
520
+ if (!timeout)
521
+ context = args = null;
522
+ }
523
+ else if (!timeout && options.trailing !== false) {
524
+ timeout = setTimeout(later, remaining);
525
+ }
526
+ return result;
527
+ };
528
+ }
529
+
530
+ var camelCaseToKebabCase = function (str) {
531
+ return str ? str.replace(/([A-Z])/g, function (g) { return "-".concat(g[0].toLowerCase()); }) : '';
532
+ };
533
+ var Animator = /** @class */ (function () {
534
+ function Animator() {
535
+ }
536
+ Animator.prototype.bindAnimations = function (animations) {
537
+ for (var _i = 0, animations_1 = animations; _i < animations_1.length; _i++) {
538
+ var animation = animations_1[_i];
539
+ switch (animation.trigger) {
540
+ case 'pageLoad':
541
+ this.triggerAnimation(animation);
542
+ break;
543
+ case 'hover':
544
+ this.bindHoverAnimation(animation);
545
+ break;
546
+ case 'scrollInView':
547
+ this.bindScrollInViewAnimation(animation);
548
+ break;
549
+ }
550
+ }
551
+ };
552
+ Animator.prototype.warnElementNotPresent = function (id) {
553
+ console.warn("Cannot animate element: element with ID ".concat(id, " not found!"));
554
+ };
555
+ Animator.prototype.augmentAnimation = function (animation, element) {
556
+ var stylesUsed = this.getAllStylesUsed(animation);
557
+ var computedStyle = getComputedStyle(element);
558
+ // const computedStyle = getComputedStyle(element);
559
+ // // FIXME: this will break if original load is in one reponsive size then resize to another hmmm
560
+ // Need to use transform instead of left since left can change on screen sizes
561
+ var firstStyles = animation.steps[0].styles;
562
+ var lastStyles = animation.steps[animation.steps.length - 1].styles;
563
+ var bothStyles = [firstStyles, lastStyles];
564
+ // FIXME: this won't work as expected for augmented animations - may need the editor itself to manage this
565
+ for (var _i = 0, bothStyles_1 = bothStyles; _i < bothStyles_1.length; _i++) {
566
+ var styles = bothStyles_1[_i];
567
+ for (var _a = 0, stylesUsed_1 = stylesUsed; _a < stylesUsed_1.length; _a++) {
568
+ var style = stylesUsed_1[_a];
569
+ if (!(style in styles)) {
570
+ styles[style] = computedStyle[style];
571
+ }
572
+ }
573
+ }
574
+ };
575
+ Animator.prototype.getAllStylesUsed = function (animation) {
576
+ var properties = [];
577
+ for (var _i = 0, _a = animation.steps; _i < _a.length; _i++) {
578
+ var step = _a[_i];
579
+ for (var key in step.styles) {
580
+ if (properties.indexOf(key) === -1) {
581
+ properties.push(key);
582
+ }
583
+ }
584
+ }
585
+ return properties;
586
+ };
587
+ Animator.prototype.triggerAnimation = function (animation) {
588
+ var _this = this;
589
+ // TODO: do for ALL elements
590
+ var elements = Array.prototype.slice.call(document.getElementsByClassName(animation.elementId || animation.id || ''));
591
+ if (!elements.length) {
592
+ this.warnElementNotPresent(animation.elementId || animation.id || '');
593
+ return;
594
+ }
595
+ Array.from(elements).forEach(function (element) {
596
+ _this.augmentAnimation(animation, element);
597
+ // TODO: do this properly, may have other animations of different properties
598
+ // TODO: only override the properties
599
+ // TODO: if there is an entrance and hover animation, the transition duration will get effed
600
+ // element.setAttribute('style', '');
601
+ // const styledUsed = this.getAllStylesUsed(animation);
602
+ element.style.transition = 'none';
603
+ element.style.transitionDelay = '0';
604
+ assign(element.style, animation.steps[0].styles);
605
+ // TODO: queue/batch these timeouts
606
+ // TODO: only include properties explicitly set in the animation
607
+ // using Object.keys(styles)
608
+ setTimeout(function () {
609
+ element.style.transition = "all ".concat(animation.duration, "s ").concat(camelCaseToKebabCase(animation.easing));
610
+ if (animation.delay) {
611
+ element.style.transitionDelay = animation.delay + 's';
612
+ }
613
+ assign(element.style, animation.steps[1].styles);
614
+ // TODO: maybe remove/reset transitoin property after animation duration
615
+ // TODO: queue timers
616
+ setTimeout(function () {
617
+ // TODO: what if has other transition (reset back to what it was)
618
+ element.style.transition = '';
619
+ element.style.transitionDelay = '';
620
+ }, (animation.delay || 0) * 1000 + animation.duration * 1000 + 100);
621
+ });
622
+ });
623
+ };
624
+ Animator.prototype.bindHoverAnimation = function (animation) {
625
+ var _this = this;
626
+ // TODO: is it multiple binding when editing...?
627
+ // TODO: unbind on element remove
628
+ // TODO: apply to ALL elements
629
+ var elements = Array.prototype.slice.call(document.getElementsByClassName(animation.elementId || animation.id || ''));
630
+ if (!elements.length) {
631
+ this.warnElementNotPresent(animation.elementId || animation.id || '');
632
+ return;
633
+ }
634
+ Array.from(elements).forEach(function (element) {
635
+ _this.augmentAnimation(animation, element);
636
+ var defaultState = animation.steps[0].styles;
637
+ var hoverState = animation.steps[1].styles;
638
+ function attachDefaultState() {
639
+ assign(element.style, defaultState);
640
+ }
641
+ function attachHoverState() {
642
+ assign(element.style, hoverState);
643
+ }
644
+ attachDefaultState();
645
+ element.addEventListener('mouseenter', attachHoverState);
646
+ element.addEventListener('mouseleave', attachDefaultState);
647
+ // TODO: queue/batch these timeouts
648
+ setTimeout(function () {
649
+ element.style.transition = "all ".concat(animation.duration, "s ").concat(camelCaseToKebabCase(animation.easing));
650
+ if (animation.delay) {
651
+ element.style.transitionDelay = animation.delay + 's';
652
+ }
653
+ });
654
+ });
655
+ };
656
+ // TODO: unbind on element remove
657
+ Animator.prototype.bindScrollInViewAnimation = function (animation) {
658
+ var _this = this;
659
+ // TODO: apply to ALL matching elements
660
+ var elements = Array.prototype.slice.call(document.getElementsByClassName(animation.elementId || animation.id || ''));
661
+ if (!elements.length) {
662
+ this.warnElementNotPresent(animation.elementId || animation.id || '');
663
+ return;
664
+ }
665
+ // TODO: if server side rendered and scrolled into view don't animate...
666
+ Array.from(elements).forEach(function (element) {
667
+ _this.augmentAnimation(animation, element);
668
+ var triggered = false;
669
+ function immediateOnScroll() {
670
+ if (!triggered && isScrolledIntoView(element)) {
671
+ triggered = true;
672
+ setTimeout(function () {
673
+ assign(element.style, animation.steps[1].styles);
674
+ document.removeEventListener('scroll', onScroll);
675
+ setTimeout(function () {
676
+ element.style.transition = '';
677
+ element.style.transitionDelay = '';
678
+ }, (animation.duration * 1000 + (animation.delay || 0)) * 1000 + 100);
679
+ });
680
+ }
681
+ }
682
+ // TODO: roll all of these in one for more efficiency of checking all the rects
683
+ var onScroll = throttle(immediateOnScroll, 200, { leading: false });
684
+ // TODO: fully in view or partially
685
+ function isScrolledIntoView(elem) {
686
+ var rect = elem.getBoundingClientRect();
687
+ var windowHeight = window.innerHeight;
688
+ var thresholdPrecent = 0;
689
+ var threshold = thresholdPrecent * windowHeight;
690
+ // TODO: partial in view? or what if element is larger than screen itself
691
+ return (rect.bottom > threshold && rect.top < windowHeight - threshold // Element is peeking top or bottom
692
+ // (rect.top > 0 && rect.bottom < window.innerHeight) || // element fits within the screen and is fully on screen (not hanging off at all)
693
+ // (rect.top < 0 && rect.bottom > window.innerHeight) // element is larger than the screen and hangs over the top and bottom
694
+ );
695
+ }
696
+ var defaultState = animation.steps[0].styles;
697
+ function attachDefaultState() {
698
+ assign(element.style, defaultState);
699
+ }
700
+ attachDefaultState();
701
+ // TODO: queue/batch these timeouts!
702
+ setTimeout(function () {
703
+ element.style.transition = "all ".concat(animation.duration, "s ").concat(camelCaseToKebabCase(animation.easing));
704
+ if (animation.delay) {
705
+ element.style.transitionDelay = animation.delay + 's';
706
+ }
707
+ });
708
+ // TODO: one listener for everything
709
+ document.addEventListener('scroll', onScroll, { capture: true, passive: true });
710
+ // Do an initial check
711
+ immediateOnScroll();
712
+ });
713
+ };
714
+ return Animator;
715
+ }());
716
+
717
+ /**
718
+ * Only gets one level up from hostname
719
+ * wwww.example.com -> example.com
720
+ * www.example.co.uk -> example.co.uk
721
+ */
722
+ function getTopLevelDomain(host) {
723
+ var parts = host.split('.');
724
+ if (parts.length > 2) {
725
+ return parts.slice(1).join('.');
726
+ }
727
+ return host;
403
728
  }
404
729
 
405
- var version = "0.1.25";
730
+ /**
731
+ * RegExp to match field-content in RFC 7230 sec 3.2
732
+ *
733
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
734
+ * field-vchar = VCHAR / obs-text
735
+ * obs-text = %x80-FF
736
+ */
737
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
738
+ var Cookies = /** @class */ (function () {
739
+ function Cookies(request, response) {
740
+ this.request = request;
741
+ this.response = response;
742
+ }
743
+ Cookies.prototype.get = function (name) {
744
+ var header = this.request.headers['cookie'];
745
+ if (!header) {
746
+ return;
747
+ }
748
+ var match = header.match(getPattern(name));
749
+ if (!match) {
750
+ return;
751
+ }
752
+ var value = match[1];
753
+ return value;
754
+ };
755
+ Cookies.prototype.set = function (name, value, opts) {
756
+ var res = this.response;
757
+ var req = this.request;
758
+ var headers = res.getHeader('Set-Cookie') || [];
759
+ // TODO: just make this always true
760
+ var secure = this.secure !== undefined
761
+ ? !!this.secure
762
+ : req.protocol === 'https' || req.connection.encrypted;
763
+ var cookie = new Cookie(name, value, opts);
764
+ if (typeof headers === 'string') {
765
+ headers = [headers];
766
+ }
767
+ if (!secure && opts && opts.secure) {
768
+ throw new Error('Cannot send secure cookie over unencrypted connection');
769
+ }
770
+ cookie.secure = secure;
771
+ if (opts && 'secure' in opts) {
772
+ cookie.secure = !!opts.secure;
773
+ }
774
+ cookie.domain = req.headers.host && getTopLevelDomain(req.headers.host);
775
+ pushCookie(headers, cookie);
776
+ var setHeader = res.setHeader;
777
+ setHeader.call(res, 'Set-Cookie', headers);
778
+ return this;
779
+ };
780
+ return Cookies;
781
+ }());
782
+ var Cookie = /** @class */ (function () {
783
+ function Cookie(name, value, attrs) {
784
+ this.path = '/';
785
+ this.domain = undefined;
786
+ this.httpOnly = true;
787
+ this.sameSite = false;
788
+ this.secure = false;
789
+ this.overwrite = false;
790
+ this.name = '';
791
+ this.value = '';
792
+ if (!fieldContentRegExp.test(name)) {
793
+ throw new TypeError('argument name is invalid');
794
+ }
795
+ if (value && !fieldContentRegExp.test(value)) {
796
+ throw new TypeError('argument value is invalid');
797
+ }
798
+ if (!value) {
799
+ this.expires = new Date(0);
800
+ }
801
+ this.name = name;
802
+ this.value = value || '';
803
+ if (attrs.expires) {
804
+ this.expires = attrs.expires;
805
+ }
806
+ if (attrs.secure) {
807
+ this.secure = attrs.secure;
808
+ }
809
+ }
810
+ Cookie.prototype.toString = function () {
811
+ return "".concat(this.name, "=").concat(this.value);
812
+ };
813
+ Cookie.prototype.toHeader = function () {
814
+ var header = this.toString();
815
+ if (this.maxAge) {
816
+ this.expires = new Date(Date.now() + this.maxAge);
817
+ }
818
+ if (this.path) {
819
+ header += "; path=".concat(this.path);
820
+ }
821
+ if (this.expires) {
822
+ header += "; expires=".concat(this.expires.toUTCString());
823
+ }
824
+ if (this.domain) {
825
+ header += "; domain=".concat(this.domain);
826
+ }
827
+ // TODO: samesite=none by default (?)
828
+ header += "; SameSite=".concat(this.sameSite === true ? 'strict' : 'None');
829
+ // TODO: On by default
830
+ if (this.secure) {
831
+ header += '; secure';
832
+ }
833
+ if (this.httpOnly) {
834
+ header += '; httponly';
835
+ }
836
+ return header;
837
+ };
838
+ return Cookie;
839
+ }());
840
+ function getPattern(name) {
841
+ return new RegExp("(?:^|;) *".concat(name.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'), "=([^;]*)"));
842
+ }
843
+ function pushCookie(headers, cookie) {
844
+ if (cookie.overwrite) {
845
+ for (var i = headers.length - 1; i >= 0; i--) {
846
+ if (headers[i].indexOf("".concat(cookie.name, "=")) === 0) {
847
+ headers.splice(i, 1);
848
+ }
849
+ }
850
+ }
851
+ headers.push(cookie.toHeader());
852
+ }
406
853
 
407
- // TODO: need es6 polyfill for IE!!!
408
- // import * as es6Promise from 'es6-promise';
409
- // es6Promise.polyfill();
410
- // FIXME: need a fetch polyfill!!! That doesn't break rollup
411
- // import 'isomorphic-fetch';
854
+ function omit(obj) {
855
+ var values = [];
856
+ for (var _i = 1; _i < arguments.length; _i++) {
857
+ values[_i - 1] = arguments[_i];
858
+ }
859
+ var newObject = Object.assign({}, obj);
860
+ for (var _a = 0, values_1 = values; _a < values_1.length; _a++) {
861
+ var key = values_1[_a];
862
+ delete newObject[key];
863
+ }
864
+ return newObject;
865
+ }
866
+
867
+ /**
868
+ * @credit https://stackoverflow.com/a/2117523
869
+ */
870
+ function uuidv4() {
871
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
872
+ var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
873
+ return v.toString(16);
874
+ });
875
+ }
876
+ /**
877
+ * Slightly cleaner and smaller UUIDs
878
+ */
879
+ function uuid() {
880
+ return uuidv4().replace(/-/g, '');
881
+ }
882
+
883
+ function emptyUrl() {
884
+ return {
885
+ query: null,
886
+ port: null,
887
+ auth: null,
888
+ hash: null,
889
+ host: null,
890
+ hostname: null,
891
+ href: null,
892
+ path: null,
893
+ pathname: null,
894
+ protocol: null,
895
+ search: null,
896
+ slashes: null,
897
+ };
898
+ }
899
+ // Replacement for `url.parse` using `URL` global object that works with relative paths.
900
+ // Assumptions: this function operates in a NodeJS environment.
901
+ function parse(url) {
902
+ var out = emptyUrl();
903
+ var u;
904
+ var pathOnly = url === '' || url[0] === '/';
905
+ if (pathOnly) {
906
+ u = new URL(url, 'http://0.0.0.0/');
907
+ out.href = u.href;
908
+ out.href = out.href.slice(14); // remove 'http://0.0.0.0/'
909
+ }
910
+ else {
911
+ u = new URL(url);
912
+ out.href = u.href;
913
+ out.port = u.port === '' ? null : u.port;
914
+ out.hash = u.hash === '' ? null : u.hash;
915
+ out.host = u.host;
916
+ out.hostname = u.hostname;
917
+ out.href = u.href;
918
+ out.pathname = u.pathname;
919
+ out.protocol = u.protocol;
920
+ out.slashes = url[u.protocol.length] === '/'; // check if the mimetype is proceeded by a slash
921
+ }
922
+ out.search = u.search;
923
+ out.query = u.search.slice(1); // remove '?'
924
+ out.path = "".concat(u.pathname).concat(u.search);
925
+ out.pathname = u.pathname;
926
+ return out;
927
+ }
928
+
929
+ /**
930
+ * Safe conversion to error type. Intended to be used in catch blocks where the
931
+ * value is not guaranteed to be an error.
932
+ *
933
+ * @example
934
+ * try {
935
+ * throw new Error('Something went wrong')
936
+ * }
937
+ * catch (err: unknown) {
938
+ * const error: Error = toError(err)
939
+ * }
940
+ */
941
+ function toError(err) {
942
+ if (err instanceof Error)
943
+ return err;
944
+ return new Error(String(err));
945
+ }
946
+
947
+ function datePlusMinutes(minutes) {
948
+ if (minutes === void 0) { minutes = 30; }
949
+ return new Date(Date.now() + minutes * 60000);
950
+ }
951
+ var isPositiveNumber = function (thing) {
952
+ return typeof thing === 'number' && !isNaN(thing) && thing >= 0;
953
+ };
954
+ var isReactNative = typeof navigator === 'object' && navigator.product === 'ReactNative';
955
+ var validEnvList = [
956
+ 'production',
957
+ 'qa',
958
+ 'test',
959
+ 'development',
960
+ 'dev',
961
+ 'cdn-qa',
962
+ 'cloud',
963
+ 'fast',
964
+ 'cdn2',
965
+ 'cdn-prod',
966
+ ];
967
+ function getQueryParam(url, variable) {
968
+ var query = url.split('?')[1] || '';
969
+ var vars = query.split('&');
970
+ for (var i = 0; i < vars.length; i++) {
971
+ var pair = vars[i].split('=');
972
+ if (decodeURIComponent(pair[0]) === variable) {
973
+ return decodeURIComponent(pair[1]);
974
+ }
975
+ }
976
+ return null;
977
+ }
978
+ var urlParser = {
979
+ parse: function (url) {
980
+ var el = document.createElement('a');
981
+ el.href = url;
982
+ var out = {};
983
+ var props = [
984
+ 'username',
985
+ 'password',
986
+ 'host',
987
+ 'hostname',
988
+ 'port',
989
+ 'protocol',
990
+ 'origin',
991
+ 'pathname',
992
+ 'search',
993
+ 'hash',
994
+ ];
995
+ for (var _i = 0, props_1 = props; _i < props_1.length; _i++) {
996
+ var prop = props_1[_i];
997
+ out[prop] = el[prop];
998
+ }
999
+ // IE 11 pathname handling workaround
1000
+ // (IE omits preceeding '/', unlike other browsers)
1001
+ if ((out.pathname || out.pathname === '') &&
1002
+ typeof out.pathname === 'string' &&
1003
+ out.pathname.indexOf('/') !== 0) {
1004
+ out.pathname = '/' + out.pathname;
1005
+ }
1006
+ return out;
1007
+ },
1008
+ };
1009
+ var parse$1 = isReactNative
1010
+ ? function () { return emptyUrl(); }
1011
+ : typeof window === 'object'
1012
+ ? urlParser.parse
1013
+ : parse;
1014
+ function setCookie(name$$1, value, expires) {
1015
+ try {
1016
+ var expiresString = '';
1017
+ // TODO: need to know if secure server side
1018
+ if (expires) {
1019
+ expiresString = '; expires=' + expires.toUTCString();
1020
+ }
1021
+ var secure = isBrowser ? location.protocol === 'https:' : true;
1022
+ document.cookie =
1023
+ name$$1 +
1024
+ '=' +
1025
+ (value || '') +
1026
+ expiresString +
1027
+ '; path=/' +
1028
+ "; domain=".concat(getTopLevelDomain(location.hostname)) +
1029
+ (secure ? ';secure ; SameSite=None' : '');
1030
+ }
1031
+ catch (err) {
1032
+ console.warn('Could not set cookie', err);
1033
+ }
1034
+ }
1035
+ function getCookie(name$$1) {
1036
+ try {
1037
+ return (decodeURIComponent(document.cookie.replace(new RegExp('(?:(?:^|.*;)\\s*' +
1038
+ encodeURIComponent(name$$1).replace(/[\-\.\+\*]/g, '\\$&') +
1039
+ '\\s*\\=\\s*([^;]*).*$)|^.*$'), '$1')) || null);
1040
+ }
1041
+ catch (err) {
1042
+ console.warn('Could not get cookie', err);
1043
+ }
1044
+ }
1045
+ function size(object) {
1046
+ return Object.keys(object).length;
1047
+ }
1048
+ function find(target, callback) {
1049
+ var list = target;
1050
+ // Makes sures is always has an positive integer as length.
1051
+ var length = list.length >>> 0;
1052
+ var thisArg = arguments[1];
1053
+ for (var i = 0; i < length; i++) {
1054
+ var element = list[i];
1055
+ if (callback.call(thisArg, element, i, list)) {
1056
+ return element;
1057
+ }
1058
+ }
1059
+ }
412
1060
  var sessionStorageKey = 'builderSessionId';
413
- var anyParser = parser;
414
- var isBrowser = typeof window !== 'undefined';
1061
+ var localStorageKey = 'builderVisitorId';
1062
+ var isBrowser = typeof window !== 'undefined' && !isReactNative;
415
1063
  var isIframe = isBrowser && window.top !== window.self;
416
- var fetch$1 = isBrowser
417
- ? window.fetch || fetch
418
- : require('node-fetch').default;
419
- // Workaround for oddly random module loading issues
420
- var UaParser = typeof anyParser.default === 'function' ? anyParser.default : anyParser;
421
1064
  function BuilderComponent(info) {
422
1065
  if (info === void 0) { info = {}; }
423
1066
  return Builder.Component(info);
424
1067
  }
425
1068
  var Builder = /** @class */ (function () {
426
- function Builder(apiKey) {
1069
+ function Builder(apiKey, request, response, forceNewInstance, authToken) {
427
1070
  if (apiKey === void 0) { apiKey = null; }
1071
+ if (forceNewInstance === void 0) { forceNewInstance = false; }
1072
+ if (authToken === void 0) { authToken = null; }
428
1073
  var _this = this;
1074
+ this.request = request;
1075
+ this.response = response;
429
1076
  this.eventsQueue = [];
430
1077
  this.throttledClearEventsQueue = throttle(function () {
431
1078
  _this.processEventsQueue();
432
- }, 100);
1079
+ // Extend the session cookie
1080
+ _this.setCookie(sessionStorageKey, _this.sessionId, datePlusMinutes(30));
1081
+ }, 5);
433
1082
  this.env = 'production';
434
- this.isUsed = false;
435
1083
  this.sessionId = this.getSessionId();
436
1084
  this.targetContent = true;
1085
+ this.contentPerRequest = 1;
1086
+ // TODO: make array or function
1087
+ this.allowCustomFonts = true;
1088
+ this.cookies = null;
437
1089
  // TODO: api options object
438
1090
  this.cachebust = false;
1091
+ this.overrideParams = '';
439
1092
  this.noCache = false;
440
- this.overrideHost = '';
441
- this.canTrack$ = new BehaviorSubject.BehaviorSubject(!this.browserTrackingDisabled);
442
- this.apiKey$ = new BehaviorSubject.BehaviorSubject(null);
443
- this.editingMode$ = new BehaviorSubject.BehaviorSubject(isIframe);
1093
+ this.preview = false;
1094
+ this.canTrack$ = new BehaviorSubject(!this.browserTrackingDisabled);
1095
+ this.apiKey$ = new BehaviorSubject(null);
1096
+ this.authToken$ = new BehaviorSubject(null);
1097
+ this.userAttributesChanged = new BehaviorSubject(null);
1098
+ this.editingMode$ = new BehaviorSubject(isIframe);
444
1099
  // TODO: decorator to do this stuff with the get/set (how do with typing too? compiler?)
445
- this.editingModel$ = new BehaviorSubject.BehaviorSubject(null);
1100
+ this.editingModel$ = new BehaviorSubject(null);
446
1101
  this.userAgent = (typeof navigator === 'object' && navigator.userAgent) || '';
447
- this.autoTrack = !this.isDevelopmentEnv;
448
- this.useNewContentApi = false;
1102
+ this.trackingHooks = [];
1103
+ // Set this to control the userId
1104
+ // TODO: allow changing it mid session and updating existing data to be associated
1105
+ // e.g. for when a user navigates and then logs in
1106
+ this.visitorId = this.getVisitorId();
1107
+ this.autoTrack = !Builder.isBrowser
1108
+ ? false
1109
+ : !this.isDevelopmentEnv &&
1110
+ !(Builder.isBrowser && location.search.indexOf('builder.preview=') !== -1);
1111
+ this.trackingUserAttributes = {};
449
1112
  this.blockContentLoading = '';
450
- this.observersByModelType = {};
1113
+ this.observersByKey = {};
1114
+ this.noEditorUpdates = {};
451
1115
  this.overrides = {};
452
1116
  this.getContentQueue = null;
453
1117
  this.priorContentQueue = null;
454
- // TODO: how prune deprecated tests
455
- // TODO: save as one big cookie for html API... hm...
456
- // Also do versions and recalculating
457
1118
  this.testCookiePrefix = 'builder.tests';
458
1119
  this.cookieQueue = [];
1120
+ // TODO: use a window variable for this perhaps, e.g. bc webcomponents may be loading builder twice
1121
+ // with it's and react (use rollup build to fix)
1122
+ if (Builder.isBrowser && !forceNewInstance && Builder.singletonInstance) {
1123
+ return Builder.singletonInstance;
1124
+ }
1125
+ if (this.request && this.response) {
1126
+ this.setUserAgent(this.request.headers['user-agent'] || '');
1127
+ this.cookies = new Cookies(this.request, this.response);
1128
+ }
459
1129
  if (apiKey) {
460
1130
  this.apiKey = apiKey;
461
1131
  }
1132
+ if (authToken) {
1133
+ this.authToken = authToken;
1134
+ }
462
1135
  if (isBrowser) {
463
1136
  this.bindMessageListeners();
464
- window.BUILDER_VERSION = Builder.VERSION;
1137
+ // TODO: postmessage to parent the builder info for every package
1138
+ // type: 'builder.sdk', data: { name: '@builder.io/react', version: '0.1.23' }
1139
+ // (window as any).BUILDER_VERSION = Builder.VERSION;
1140
+ // Ensure always one Builder global singleton
1141
+ // TODO: some people won't want this, e.g. rakuten
1142
+ // Maybe hide this behind symbol or on document, etc
1143
+ // if ((window as any).Builder) {
1144
+ // Builder.components = (window as any).Builder.components;
1145
+ // } else {
1146
+ // (window as any).Builder = Builder;
1147
+ // }
465
1148
  }
466
1149
  if (isIframe) {
467
1150
  this.messageFrameLoaded();
@@ -470,8 +1153,13 @@ var Builder = /** @class */ (function () {
470
1153
  this.canTrack$.subscribe(function (value) {
471
1154
  if (value) {
472
1155
  if (typeof sessionStorage !== 'undefined') {
473
- if (!sessionStorage.getItem(sessionStorageKey)) {
474
- sessionStorage.setItem(sessionStorageKey, _this.sessionId);
1156
+ try {
1157
+ if (!sessionStorage.getItem(sessionStorageKey)) {
1158
+ sessionStorage.setItem(sessionStorageKey, _this.sessionId);
1159
+ }
1160
+ }
1161
+ catch (err) {
1162
+ console.debug('Session storage error', err);
475
1163
  }
476
1164
  }
477
1165
  if (_this.eventsQueue.length) {
@@ -488,27 +1176,100 @@ var Builder = /** @class */ (function () {
488
1176
  if (isBrowser) {
489
1177
  // TODO: defer so subclass constructor runs and injects location service
490
1178
  this.setTestsFromUrl();
1179
+ // TODO: do this on every request send?
1180
+ this.getOverridesFromQueryString();
491
1181
  }
492
1182
  }
1183
+ Builder.register = function (type, info) {
1184
+ // TODO: all must have name and can't conflict?
1185
+ var typeList = this.registry[type];
1186
+ if (!typeList) {
1187
+ typeList = this.registry[type] = [];
1188
+ }
1189
+ typeList.push(info);
1190
+ if (Builder.isBrowser) {
1191
+ var message = {
1192
+ type: 'builder.register',
1193
+ data: {
1194
+ type: type,
1195
+ info: info,
1196
+ },
1197
+ };
1198
+ try {
1199
+ parent.postMessage(message, '*');
1200
+ if (parent !== window) {
1201
+ window.postMessage(message, '*');
1202
+ }
1203
+ }
1204
+ catch (err) {
1205
+ console.debug('Could not postmessage', err);
1206
+ }
1207
+ }
1208
+ this.registryChange.next(this.registry);
1209
+ };
1210
+ Builder.registerEditor = function (info) {
1211
+ if (Builder.isBrowser) {
1212
+ window.postMessage({
1213
+ type: 'builder.registerEditor',
1214
+ data: omit(info, 'component'),
1215
+ }, '*');
1216
+ var hostname = location.hostname;
1217
+ if (!Builder.isTrustedHost(hostname)) {
1218
+ console.error('Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder');
1219
+ }
1220
+ }
1221
+ this.editors.push(info);
1222
+ };
1223
+ Builder.registerPlugin = function (info) {
1224
+ this.plugins.push(info);
1225
+ };
1226
+ Builder.registerAction = function (action) {
1227
+ this.actions.push(action);
1228
+ };
1229
+ Builder.registerTrustedHost = function (host) {
1230
+ this.trustedHosts.push(host);
1231
+ };
1232
+ Builder.isTrustedHost = function (hostname) {
1233
+ return (this.trustedHosts.findIndex(function (trustedHost) { return trustedHost === hostname || hostname.endsWith(".".concat(trustedHost)); }) > -1);
1234
+ };
1235
+ Builder.runAction = function (action) {
1236
+ // TODO
1237
+ var actionObject = typeof action === 'string' ? find(this.actions, function (item) { return item.name === action; }) : action;
1238
+ if (!actionObject) {
1239
+ throw new Error("Action not found: ".concat(action));
1240
+ }
1241
+ };
493
1242
  Builder.fields = function (name$$1, fields) {
494
- window.parent.postMessage({
1243
+ var _a;
1244
+ (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({
495
1245
  type: 'builder.fields',
496
- data: {
497
- name: name$$1,
498
- fields: fields,
499
- },
1246
+ data: { name: name$$1, fields: fields },
500
1247
  }, '*');
501
1248
  };
502
- Builder.loadGoogleFont = function (fontName) {
503
- if (!this.isBrowser) {
1249
+ /**
1250
+ * @deprecated
1251
+ * @hidden
1252
+ *
1253
+ * Use Builder.register('editor.settings', {}) instead.
1254
+ */
1255
+ Builder.set = function (settings) {
1256
+ Builder.register('editor.settings', settings);
1257
+ };
1258
+ Builder.import = function (packageName) {
1259
+ if (!Builder.isBrowser) {
1260
+ // TODO: server side support *maybe*
1261
+ console.warn('Builder.import used on the server - this should only be used in the browser');
504
1262
  return;
505
1263
  }
506
- var link = document.createElement('link');
507
- link.rel = 'stylesheet';
508
- link.href = "https://fonts.googleapis.com/css?family=" + fontName.replace(/\s/g, '+');
509
- document.body.appendChild(link);
1264
+ var System = window.System;
1265
+ if (!System) {
1266
+ console.warn('System.js not available. Please include System.js when using Builder.import');
1267
+ return;
1268
+ }
1269
+ return System.import("https://cdn.builder.io/systemjs/".concat(packageName));
510
1270
  };
511
1271
  Object.defineProperty(Builder, "editingPage", {
1272
+ // useCdnApi = false;
512
1273
  get: function () {
513
1274
  return this._editingPage;
514
1275
  },
@@ -523,45 +1284,99 @@ var Builder = /** @class */ (function () {
523
1284
  }
524
1285
  }
525
1286
  },
526
- enumerable: true,
1287
+ enumerable: false,
527
1288
  configurable: true
528
1289
  });
1290
+ Builder.prepareComponentSpecToSend = function (spec) {
1291
+ return tslib.__assign(tslib.__assign(tslib.__assign({}, spec), (spec.inputs && {
1292
+ inputs: spec.inputs.map(function (input) {
1293
+ var _a;
1294
+ // TODO: do for nexted fields too
1295
+ // TODO: probably just convert all functions, not just
1296
+ // TODO: put this in input hooks: { onChange: ..., showIf: ... }
1297
+ var keysToConvertFnToString = ['onChange', 'showIf'];
1298
+ for (var _i = 0, keysToConvertFnToString_1 = keysToConvertFnToString; _i < keysToConvertFnToString_1.length; _i++) {
1299
+ var key = keysToConvertFnToString_1[_i];
1300
+ if (input[key] && typeof input[key] === 'function') {
1301
+ var fn = input[key];
1302
+ input = tslib.__assign(tslib.__assign({}, input), (_a = {}, _a[key] = "return (".concat(fn.toString(), ").apply(this, arguments)"), _a));
1303
+ }
1304
+ }
1305
+ return input;
1306
+ }),
1307
+ })), { hooks: Object.keys(spec.hooks || {}).reduce(function (memo, key) {
1308
+ var value = spec.hooks && spec.hooks[key];
1309
+ if (!value) {
1310
+ return memo;
1311
+ }
1312
+ if (typeof value === 'string') {
1313
+ memo[key] = value;
1314
+ }
1315
+ else {
1316
+ memo[key] = "return (".concat(value.toString(), ").apply(this, arguments)");
1317
+ }
1318
+ return memo;
1319
+ }, {}), class: undefined });
1320
+ };
1321
+ Builder.registerBlock = function (component, options) {
1322
+ this.registerComponent(component, options);
1323
+ };
1324
+ Builder.registerComponent = function (component, options) {
1325
+ var _a;
1326
+ var spec = tslib.__assign(tslib.__assign({ class: component }, component.builderOptions), options);
1327
+ this.addComponent(spec);
1328
+ var editable = options.models && this.singletonInstance.editingModel
1329
+ ? isBrowser && options.models.includes(this.singletonInstance.editingModel)
1330
+ : isBrowser;
1331
+ if (editable) {
1332
+ var sendSpec = this.prepareComponentSpecToSend(spec);
1333
+ (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({
1334
+ type: 'builder.registerComponent',
1335
+ data: sendSpec,
1336
+ }, '*');
1337
+ }
1338
+ };
1339
+ Builder.addComponent = function (component) {
1340
+ var current = find(this.components, function (item) { return item.name === component.name; });
1341
+ if (current) {
1342
+ // FIXME: why does sometimes we get an extra post without class - probably
1343
+ // from postMessage handler wrong in some place
1344
+ if (current.class && !component.class) {
1345
+ return;
1346
+ }
1347
+ this.components.splice(this.components.indexOf(current), 1, component);
1348
+ }
1349
+ else {
1350
+ this.components.push(component);
1351
+ }
1352
+ };
529
1353
  // TODO: style guide, etc off this system as well?
530
1354
  Builder.component = function (info) {
531
1355
  var _this = this;
532
1356
  if (info === void 0) { info = {}; }
533
1357
  return function (component) {
534
- var spec = __assign({}, info, { class: component });
1358
+ var _a;
1359
+ var spec = tslib.__assign(tslib.__assign({}, info), { class: component });
535
1360
  if (!spec.name) {
536
1361
  spec.name = component.name;
537
1362
  }
538
- if (!find(_this.components, function (item) { return item.name === spec.name; })) {
539
- _this.components.push(spec);
540
- var sendSpec = __assign({}, spec, (spec.inputs && {
541
- inputs: spec.inputs.map(function (input) {
542
- // TODO: do for nexted too
543
- if (input.onChange && typeof input.onChange === 'function') {
544
- var fn = input.onChange;
545
- return __assign({}, input, { onChange: "return (" + fn.toString() + ").apply(this, arguments)" });
546
- }
547
- return input;
548
- }),
549
- }), { class: undefined });
550
- // TODO: serialize component name and inputs
551
- if (isBrowser) {
552
- window.parent.postMessage({
553
- type: 'builder.registerComponent',
554
- data: sendSpec,
555
- }, '*');
556
- }
1363
+ _this.addComponent(spec);
1364
+ var sendSpec = _this.prepareComponentSpecToSend(spec);
1365
+ // TODO: serialize component name and inputs
1366
+ if (isBrowser) {
1367
+ (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({
1368
+ type: 'builder.registerComponent',
1369
+ data: sendSpec,
1370
+ }, '*');
557
1371
  }
1372
+ return component;
558
1373
  };
559
1374
  };
560
1375
  Object.defineProperty(Builder, "Component", {
561
1376
  get: function () {
562
1377
  return this.component;
563
1378
  },
564
- enumerable: true,
1379
+ enumerable: false,
565
1380
  configurable: true
566
1381
  });
567
1382
  Builder.prototype.processEventsQueue = function () {
@@ -570,34 +1385,46 @@ var Builder = /** @class */ (function () {
570
1385
  }
571
1386
  var events = this.eventsQueue;
572
1387
  this.eventsQueue = [];
573
- // TODO: centralize this
1388
+ var fullUserAttributes = tslib.__assign(tslib.__assign({}, Builder.overrideUserAttributes), this.trackingUserAttributes);
1389
+ for (var _i = 0, events_1 = events; _i < events_1.length; _i++) {
1390
+ var event_1 = events_1[_i];
1391
+ if (!event_1.data.metadata) {
1392
+ event_1.data.metadata = {};
1393
+ }
1394
+ if (!event_1.data.metadata.user) {
1395
+ event_1.data.metadata.user = {};
1396
+ }
1397
+ Object.assign(event_1.data.metadata.user, fullUserAttributes, event_1.data.metadata.user);
1398
+ }
574
1399
  var host = this.host;
575
- fetch$1(host + "/api/v1/track", {
1400
+ fetch("".concat(host, "/api/v1/track"), {
576
1401
  method: 'POST',
577
1402
  body: JSON.stringify({ events: events }),
578
1403
  headers: {
579
1404
  'content-type': 'application/json',
580
1405
  },
581
1406
  mode: 'cors',
1407
+ }).catch(function () {
1408
+ // Not the end of the world
582
1409
  });
583
1410
  };
584
1411
  Object.defineProperty(Builder.prototype, "browserTrackingDisabled", {
585
1412
  get: function () {
586
- return Builder.isBrowser && navigator.doNotTrack === '1';
1413
+ return Builder.isBrowser && Boolean(window.builderNoTrack || !navigator.cookieEnabled);
587
1414
  },
588
- enumerable: true,
1415
+ enumerable: false,
589
1416
  configurable: true
590
1417
  });
591
1418
  Object.defineProperty(Builder.prototype, "canTrack", {
592
1419
  get: function () {
593
- return this.canTrack$.value && !this.browserTrackingDisabled;
1420
+ return this.canTrack$.value;
594
1421
  },
595
1422
  set: function (canTrack) {
596
1423
  if (this.canTrack !== canTrack) {
597
1424
  this.canTrack$.next(canTrack);
598
1425
  }
599
1426
  },
600
- enumerable: true,
1427
+ enumerable: false,
601
1428
  configurable: true
602
1429
  });
603
1430
  Object.defineProperty(Builder.prototype, "editingMode", {
@@ -609,7 +1436,7 @@ var Builder = /** @class */ (function () {
609
1436
  this.editingMode$.next(value);
610
1437
  }
611
1438
  },
612
- enumerable: true,
1439
+ enumerable: false,
613
1440
  configurable: true
614
1441
  });
615
1442
  Object.defineProperty(Builder.prototype, "editingModel", {
@@ -621,7 +1448,7 @@ var Builder = /** @class */ (function () {
621
1448
  this.editingModel$.next(value);
622
1449
  }
623
1450
  },
624
- enumerable: true,
1451
+ enumerable: false,
625
1452
  configurable: true
626
1453
  });
627
1454
  Builder.prototype.findParentElement = function (target, callback, checkElement) {
@@ -642,64 +1469,140 @@ var Builder = /** @class */ (function () {
642
1469
  return null;
643
1470
  };
644
1471
  Builder.prototype.findBuilderParent = function (target) {
645
- return this.findParentElement(target, function (el) { return Boolean(el.id && el.id.indexOf('builder-') === 0); });
1472
+ return this.findParentElement(target, function (el) {
1473
+ var id = el.getAttribute('builder-id') || el.id;
1474
+ return Boolean(id && id.indexOf('builder-') === 0);
1475
+ });
646
1476
  };
647
1477
  Builder.prototype.setUserAgent = function (userAgent) {
648
- this.userAgent = userAgent;
1478
+ this.userAgent = userAgent || '';
649
1479
  };
650
- Builder.prototype.track = function (eventName, properties) {
1480
+ /**
1481
+ * Set a hook to modify events being tracked from builder, such as impressions and clicks
1482
+ *
1483
+ * For example, to track the model ID of each event associated with content for querying
1484
+ * by mode, you can do
1485
+ *
1486
+ * builder.setTrackingHook((event, context) => {
1487
+ * if (context.content) {
1488
+ * event.data.metadata.modelId = context.content.modelId
1489
+ * }
1490
+ * })
1491
+ */
1492
+ Builder.prototype.setTrackingHook = function (hook) {
1493
+ this.trackingHooks.push(hook);
1494
+ };
1495
+ Builder.prototype.track = function (eventName, properties, context) {
651
1496
  if (properties === void 0) { properties = {}; }
652
1497
  // TODO: queue up track requests and fire them off when canTrack set to true - otherwise may get lots of clicks with no impressions
653
- if (isIframe || !isBrowser) {
1498
+ if (isIframe || !isBrowser || Builder.isPreviewing) {
1499
+ return;
1500
+ }
1501
+ var apiKey = this.apiKey;
1502
+ if (!apiKey) {
1503
+ console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("«YOUR-API-KEY»");` as early as possible in your application\'s code.');
654
1504
  return;
655
1505
  }
1506
+ var eventData = JSON.parse(JSON.stringify({
1507
+ type: eventName,
1508
+ data: tslib.__assign(tslib.__assign({}, omit(properties, 'meta')), { metadata: tslib.__assign(tslib.__assign({ sdkVersion: Builder.VERSION, url: location.href }, properties.meta), properties.metadata), ownerId: apiKey, userAttributes: this.getUserAttributes(), sessionId: this.sessionId, visitorId: this.visitorId }),
1509
+ }));
1510
+ for (var _i = 0, _a = this.trackingHooks; _i < _a.length; _i++) {
1511
+ var hook = _a[_i];
1512
+ var returnValue = hook(eventData, context || {});
1513
+ if (returnValue) {
1514
+ eventData = returnValue;
1515
+ }
1516
+ }
656
1517
  // batch events
657
- this.eventsQueue.push({
658
- type: 'impression',
659
- data: __assign({ metadata: {
660
- sdkVersion: Builder.VERSION,
661
- url: location.href,
662
- } }, properties, { userAttributes: this.getUserAttributes(), sessionId: this.sessionId }),
663
- });
1518
+ this.eventsQueue.push(eventData);
664
1519
  if (this.canTrack) {
665
1520
  this.throttledClearEventsQueue();
666
1521
  }
667
1522
  };
668
1523
  Builder.prototype.getSessionId = function () {
669
1524
  var _this = this;
670
- // TODO: don't set this until gdpr allowed....
671
- var sessionId = (Builder.isBrowser &&
672
- (typeof sessionStorage !== 'undefined' && sessionStorage.getItem(sessionStorageKey))) ||
673
- '';
1525
+ var sessionId = null;
1526
+ try {
1527
+ if (Builder.isBrowser && typeof sessionStorage !== 'undefined') {
1528
+ sessionId = this.getCookie(sessionStorageKey);
1529
+ }
1530
+ }
1531
+ catch (err) {
1532
+ console.debug('Session storage error', err);
1533
+ // It's ok
1534
+ }
674
1535
  if (!sessionId) {
675
- sessionId = (Date.now() + Math.random()).toString(36);
1536
+ sessionId = uuid();
676
1537
  }
677
1538
  // Give the app a second to start up and set canTrack to false if needed
678
1539
  if (Builder.isBrowser) {
679
1540
  setTimeout(function () {
680
- if (_this.canTrack && typeof sessionStorage !== 'undefined') {
681
- sessionStorage.setItem(sessionStorageKey, sessionId);
1541
+ try {
1542
+ if (_this.canTrack) {
1543
+ _this.setCookie(sessionStorageKey, sessionId, datePlusMinutes(30));
1544
+ }
1545
+ }
1546
+ catch (err) {
1547
+ console.debug('Cookie setting error', err);
682
1548
  }
683
1549
  });
684
1550
  }
685
1551
  return sessionId;
686
1552
  };
687
- Builder.prototype.trackImpression = function (contentId, variationId) {
688
- if (isIframe || !isBrowser) {
1553
+ Builder.prototype.getVisitorId = function () {
1554
+ var _this = this;
1555
+ if (this.visitorId) {
1556
+ return this.visitorId;
1557
+ }
1558
+ var visitorId = null;
1559
+ try {
1560
+ if (Builder.isBrowser && typeof localStorage !== 'undefined') {
1561
+ // TODO: cookie instead?
1562
+ visitorId = localStorage.getItem(localStorageKey);
1563
+ }
1564
+ }
1565
+ catch (err) {
1566
+ console.debug('Local storage error', err);
1567
+ // It's ok
1568
+ }
1569
+ if (!visitorId) {
1570
+ visitorId = uuid();
1571
+ }
1572
+ this.visitorId = visitorId;
1573
+ // Give the app a second to start up and set canTrack to false if needed
1574
+ if (Builder.isBrowser) {
1575
+ setTimeout(function () {
1576
+ try {
1577
+ if (_this.canTrack && typeof localStorage !== 'undefined' && visitorId) {
1578
+ localStorage.setItem(localStorageKey, visitorId);
1579
+ }
1580
+ }
1581
+ catch (err) {
1582
+ console.debug('Session storage error', err);
1583
+ }
1584
+ });
1585
+ }
1586
+ return visitorId;
1587
+ };
1588
+ Builder.prototype.trackImpression = function (contentId, variationId, properties, context) {
1589
+ if (isIframe || !isBrowser || Builder.isPreviewing) {
689
1590
  return;
690
1591
  }
691
1592
  // TODO: use this.track method
692
- this.eventsQueue.push({
693
- type: 'impression',
694
- data: {
695
- contentId: contentId,
696
- variationId: variationId !== contentId ? variationId : undefined,
697
- ownerId: this.apiKey,
698
- userAttributes: this.getUserAttributes(),
699
- sessionId: this.sessionId,
700
- },
701
- });
702
- this.throttledClearEventsQueue();
1593
+ this.track('impression', {
1594
+ contentId: contentId,
1595
+ variationId: variationId !== contentId ? variationId : undefined,
1596
+ metadata: properties,
1597
+ }, context);
1598
+ };
1599
+ Builder.prototype.trackConversion = function (amount, contentId, variationId, customProperties, context) {
1600
+ if (isIframe || !isBrowser || Builder.isPreviewing) {
1601
+ return;
1602
+ }
1603
+ var meta = typeof contentId === 'object' ? contentId : customProperties;
1604
+ var useContentId = typeof contentId === 'string' ? contentId : undefined;
1605
+ this.track('conversion', { amount: amount, variationId: variationId, meta: meta, contentId: useContentId }, context);
703
1606
  };
704
1607
  Object.defineProperty(Builder.prototype, "isDevelopmentEnv", {
705
1608
  // TODO: set this for QA
@@ -709,16 +1612,19 @@ var Builder = /** @class */ (function () {
709
1612
  (Builder.isBrowser && (location.hostname === 'localhost' || location.port !== '')) ||
710
1613
  this.env !== 'production');
711
1614
  },
712
- enumerable: true,
1615
+ enumerable: false,
713
1616
  configurable: true
714
1617
  });
715
- Builder.prototype.trackInteraction = function (contentId, variationId, alreadyTrackedOne, event) {
1618
+ Builder.prototype.trackInteraction = function (contentId, variationId, alreadyTrackedOne, event, context) {
716
1619
  if (alreadyTrackedOne === void 0) { alreadyTrackedOne = false; }
717
- if (isIframe || !isBrowser) {
1620
+ if (isIframe || !isBrowser || Builder.isPreviewing) {
718
1621
  return;
719
1622
  }
720
1623
  var target = event && event.target;
721
1624
  var targetBuilderElement = target && this.findBuilderParent(target);
1625
+ function round(num) {
1626
+ return Math.round(num * 1000) / 1000;
1627
+ }
722
1628
  var metadata = {};
723
1629
  if (event) {
724
1630
  var clientX = event.clientX, clientY = event.clientY;
@@ -726,8 +1632,8 @@ var Builder = /** @class */ (function () {
726
1632
  var targetRect = target.getBoundingClientRect();
727
1633
  var xOffset = clientX - targetRect.left;
728
1634
  var yOffset = clientY - targetRect.top;
729
- var xRatio = round(xOffset / targetRect.width, 4);
730
- var yRatio = round(yOffset / targetRect.height, 4);
1635
+ var xRatio = round(xOffset / targetRect.width);
1636
+ var yRatio = round(yOffset / targetRect.height);
731
1637
  metadata.targetOffset = {
732
1638
  x: xRatio,
733
1639
  y: yRatio,
@@ -737,39 +1643,28 @@ var Builder = /** @class */ (function () {
737
1643
  var targetRect = targetBuilderElement.getBoundingClientRect();
738
1644
  var xOffset = clientX - targetRect.left;
739
1645
  var yOffset = clientY - targetRect.top;
740
- var xRatio = round(xOffset / targetRect.width, 4);
741
- var yRatio = round(yOffset / targetRect.height, 4);
1646
+ var xRatio = round(xOffset / targetRect.width);
1647
+ var yRatio = round(yOffset / targetRect.height);
742
1648
  metadata.builderTargetOffset = {
743
1649
  x: xRatio,
744
1650
  y: yRatio,
745
1651
  };
746
1652
  }
747
1653
  }
748
- var selector = undefined;
749
- if (target) {
750
- try {
751
- selector = uniqueSelector(target);
752
- }
753
- catch (err) {
754
- // nbd
755
- }
1654
+ var builderId = targetBuilderElement &&
1655
+ (targetBuilderElement.getAttribute('builder-id') || targetBuilderElement.id);
1656
+ if (builderId && targetBuilderElement) {
1657
+ metadata.builderElementIndex = [].slice
1658
+ .call(document.getElementsByClassName(builderId))
1659
+ .indexOf(targetBuilderElement);
756
1660
  }
757
- // TODO: use this.track method
758
- this.eventsQueue.push({
759
- type: 'click',
760
- data: {
761
- contentId: contentId,
762
- metadata: metadata,
763
- variationId: variationId !== contentId ? variationId : undefined,
764
- ownerId: this.apiKey,
765
- unique: !alreadyTrackedOne,
766
- targetSelector: selector,
767
- targetBuilderElement: (targetBuilderElement && targetBuilderElement.id) || undefined,
768
- userAttributes: this.getUserAttributes(),
769
- sessionId: this.sessionId,
770
- },
771
- });
772
- this.throttledClearEventsQueue();
1661
+ this.track('click', {
1662
+ contentId: contentId,
1663
+ metadata: metadata,
1664
+ variationId: variationId !== contentId ? variationId : undefined,
1665
+ unique: !alreadyTrackedOne,
1666
+ targetBuilderElement: builderId || undefined,
1667
+ }, context);
773
1668
  };
774
1669
  Builder.prototype.component = function (info) {
775
1670
  if (info === void 0) { info = {}; }
@@ -782,15 +1677,25 @@ var Builder = /** @class */ (function () {
782
1677
  set: function (key) {
783
1678
  this.apiKey$.next(key);
784
1679
  },
785
- enumerable: true,
1680
+ enumerable: false,
786
1681
  configurable: true
787
1682
  });
1683
+ Object.defineProperty(Builder.prototype, "authToken", {
1684
+ get: function () {
1685
+ return this.authToken$.value;
1686
+ },
1687
+ set: function (token) {
1688
+ this.authToken$.next(token);
1689
+ },
1690
+ enumerable: false,
1691
+ configurable: true
1692
+ });
1693
+ Builder.prototype.modifySearch = function (search) {
1694
+ return search.replace(/(^|&|\?)(builder_.*?)=/gi, function (_match, group1, group2) { return group1 + group2.replace(/_/g, '.') + '='; });
1695
+ };
788
1696
  Builder.prototype.setTestsFromUrl = function () {
789
1697
  var search = this.getLocation().search;
790
- var params = qs.parse(search || '', {
791
- allowDots: true,
792
- ignoreQueryPrefix: true,
793
- });
1698
+ var params = QueryString.parseDeep(this.modifySearch(search || '').substr(1));
794
1699
  var tests = params.builder && params.builder.tests;
795
1700
  if (tests && typeof tests === 'object') {
796
1701
  for (var key in tests) {
@@ -800,26 +1705,40 @@ var Builder = /** @class */ (function () {
800
1705
  }
801
1706
  }
802
1707
  };
1708
+ Builder.prototype.resetOverrides = function () {
1709
+ // Ugly - pass down instances per request instead using react context
1710
+ // or use builder.get('foo', { req, res }) in react...........
1711
+ Builder.overrideUserAttributes = {};
1712
+ this.cachebust = false;
1713
+ this.noCache = false;
1714
+ this.preview = false;
1715
+ this.editingModel = null;
1716
+ this.overrides = {};
1717
+ this.env = 'production';
1718
+ this.userAgent = '';
1719
+ this.request = undefined;
1720
+ this.response = undefined;
1721
+ };
803
1722
  Builder.prototype.getOverridesFromQueryString = function () {
804
1723
  var location = this.getLocation();
805
- var params = qs.parse(location.search || '', {
806
- allowDots: true,
807
- ignoreQueryPrefix: true,
808
- });
1724
+ var params = QueryString.parseDeep(this.modifySearch(location.search || '').substr(1));
809
1725
  var builder = params.builder;
810
1726
  if (builder) {
811
- var userAttributes = builder.userAttributes, overrides = builder.overrides, env = builder.env, host = builder.host, api = builder.api, cachebust = builder.cachebust, noCache = builder.noCache;
1727
+ var userAttributes = builder.userAttributes, overrides = builder.overrides, env = builder.env, host = builder.host, api = builder.api, cachebust = builder.cachebust, noCache = builder.noCache, preview = builder.preview, editing = builder.editing, frameEditing = builder.frameEditing, overrideParams = builder.params;
812
1728
  if (userAttributes) {
813
1729
  this.setUserAttributes(userAttributes);
814
1730
  }
815
1731
  if (overrides) {
816
1732
  this.overrides = overrides;
817
1733
  }
818
- if (env || api) {
1734
+ if (validEnvList.indexOf(env || api) > -1) {
819
1735
  this.env = env || api;
820
1736
  }
821
- if (host) {
822
- this.overrideHost = host;
1737
+ if (Builder.isEditing) {
1738
+ var editingModel = frameEditing || editing || preview;
1739
+ if (editingModel && editingModel !== 'true') {
1740
+ this.editingModel = editingModel;
1741
+ }
823
1742
  }
824
1743
  if (cachebust) {
825
1744
  this.cachebust = true;
@@ -827,10 +1746,17 @@ var Builder = /** @class */ (function () {
827
1746
  if (noCache) {
828
1747
  this.noCache = true;
829
1748
  }
1749
+ if (preview) {
1750
+ this.preview = true;
1751
+ }
1752
+ if (params) {
1753
+ this.overrideParams = overrideParams;
1754
+ }
830
1755
  }
831
1756
  };
832
1757
  Builder.prototype.messageFrameLoaded = function () {
833
- window.parent.postMessage({
1758
+ var _a;
1759
+ (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({
834
1760
  type: 'builder.loaded',
835
1761
  data: {
836
1762
  value: true,
@@ -839,46 +1765,97 @@ var Builder = /** @class */ (function () {
839
1765
  };
840
1766
  Builder.prototype.bindMessageListeners = function () {
841
1767
  var _this = this;
842
- // TODO: handle race condition of content already loading
843
- // TODO: move to another file
844
1768
  if (isBrowser) {
845
1769
  addEventListener('message', function (event) {
846
- // FIXME: what was this for?
847
- // if (!this.isUsed) {
848
- // return;
849
- // }
850
- var url$$1 = url.parse(event.origin);
851
- var allowedHosts = ['builder.io', 'localhost', 'local.builder.io', 'qa.builder.io'];
852
- if (!includes(allowedHosts, url$$1.hostname)) {
1770
+ var _a, _b, _c, _d, _e;
1771
+ var url = parse$1(event.origin);
1772
+ var isRestricted = ['builder.register', 'builder.registerComponent'].indexOf((_a = event.data) === null || _a === void 0 ? void 0 : _a.type) === -1;
1773
+ var isTrusted = url.hostname && Builder.isTrustedHost(url.hostname);
1774
+ if (isRestricted && !isTrusted) {
853
1775
  return;
854
1776
  }
855
1777
  var data = event.data;
856
1778
  if (data) {
857
1779
  switch (data.type) {
858
1780
  case 'builder.ping': {
859
- window.parent.postMessage({
1781
+ (_b = window.parent) === null || _b === void 0 ? void 0 : _b.postMessage({
860
1782
  type: 'builder.pong',
861
1783
  data: {},
862
1784
  }, '*');
863
1785
  break;
864
1786
  }
1787
+ case 'builder.register': {
1788
+ // TODO: possibly do this for all...
1789
+ if (event.source === window) {
1790
+ break;
1791
+ }
1792
+ var options = data.data;
1793
+ if (!options) {
1794
+ break;
1795
+ }
1796
+ var type = options.type, info = options.info;
1797
+ // TODO: all must have name and can't conflict?
1798
+ var typeList = Builder.registry[type];
1799
+ if (!typeList) {
1800
+ typeList = Builder.registry[type] = [];
1801
+ }
1802
+ typeList.push(info);
1803
+ Builder.registryChange.next(Builder.registry);
1804
+ break;
1805
+ }
1806
+ case 'builder.settingsChange': {
1807
+ // TODO: possibly do this for all...
1808
+ if (event.source === window) {
1809
+ break;
1810
+ }
1811
+ var settings = data.data;
1812
+ if (!settings) {
1813
+ break;
1814
+ }
1815
+ Object.assign(Builder.settings, settings);
1816
+ Builder.settingsChange.next(Builder.settings);
1817
+ break;
1818
+ }
1819
+ case 'builder.registerEditor': {
1820
+ // TODO: possibly do this for all...
1821
+ if (event.source === window) {
1822
+ break;
1823
+ }
1824
+ var info_1 = data.data;
1825
+ if (!info_1) {
1826
+ break;
1827
+ }
1828
+ var hasComponent_1 = !!info_1.component;
1829
+ Builder.editors.every(function (thisInfo, index) {
1830
+ if (info_1.name === thisInfo.name) {
1831
+ if (thisInfo.component && !hasComponent_1) {
1832
+ return false;
1833
+ }
1834
+ else {
1835
+ Builder.editors[index] = thisInfo;
1836
+ }
1837
+ return false;
1838
+ }
1839
+ return true;
1840
+ });
1841
+ break;
1842
+ }
865
1843
  case 'builder.triggerAnimation': {
866
- // Builder.animator.triggerAnimation(data.data);
1844
+ Builder.animator.triggerAnimation(data.data);
867
1845
  break;
868
1846
  }
869
1847
  case 'builder.contentUpdate':
870
- var model = data.data.modelName;
1848
+ var key = data.data.key || data.data.alias || data.data.entry || data.data.modelName;
871
1849
  var contentData = data.data.data; // hmmm...
872
- var observer = _this.observersByModelType[model];
873
- if (observer) {
1850
+ var observer = _this.observersByKey[key];
1851
+ if (observer && !_this.noEditorUpdates[key]) {
874
1852
  observer.next([contentData]);
875
1853
  }
876
1854
  break;
877
1855
  case 'builder.getComponents':
878
- // TODO: serialize component name and inputs
879
- window.parent.postMessage({
1856
+ (_c = window.parent) === null || _c === void 0 ? void 0 : _c.postMessage({
880
1857
  type: 'builder.components',
881
- data: Builder.components.map(function (item) { return omit(item, 'class'); }),
1858
+ data: Builder.components.map(function (item) { return Builder.prepareComponentSpecToSend(item); }),
882
1859
  }, '*');
883
1860
  break;
884
1861
  case 'builder.editingModel':
@@ -886,7 +1863,7 @@ var Builder = /** @class */ (function () {
886
1863
  break;
887
1864
  case 'builder.registerComponent':
888
1865
  var componentData = data.data;
889
- Builder.components.push(componentData);
1866
+ Builder.addComponent(componentData);
890
1867
  break;
891
1868
  case 'builder.blockContentLoading':
892
1869
  if (typeof data.data.model === 'string') {
@@ -915,191 +1892,362 @@ var Builder = /** @class */ (function () {
915
1892
  // TODO: refetch too
916
1893
  break;
917
1894
  case 'builder.overrideTestGroup':
918
- var _a = data.data, variationId = _a.variationId, contentId = _a.contentId;
1895
+ var _f = data.data, variationId = _f.variationId, contentId = _f.contentId;
919
1896
  if (variationId && contentId) {
920
1897
  _this.setTestCookie(contentId, variationId);
921
1898
  _this.flushGetContentQueue(true);
922
1899
  }
1900
+ break;
923
1901
  case 'builder.evaluate': {
924
- var text_1 = data.data.text;
1902
+ var text = data.data.text;
925
1903
  var args = data.data.arguments || [];
926
1904
  var id_1 = data.data.id;
927
- // Strip istanbul markers if they exist
928
- text_1 = text_1.replace(/cov_[\w\d]+\.\w\[\d+\](\[\d+\])?\+\+(;|,)/g, '');
929
1905
  // tslint:disable-next-line:no-function-constructor-with-string-args
930
- var fn = new Function(text_1);
931
- var result = fn.apply(_this, args);
932
- if (result && typeof result.then === 'function') {
933
- result
934
- .then(function (finalResult) {
935
- window.parent.postMessage({
936
- type: 'builder.evaluateResult',
937
- data: {
938
- id: id_1,
939
- text: text_1,
940
- result: finalResult,
941
- },
942
- }, '*');
943
- })
944
- .catch(console.error);
1906
+ var fn = new Function(text);
1907
+ var result = void 0;
1908
+ var error = null;
1909
+ try {
1910
+ result = fn.apply(_this, args);
945
1911
  }
946
- else {
947
- window.parent.postMessage({
948
- type: 'builder.evaluateResult',
949
- data: { result: result, id: id_1, text: text_1 },
1912
+ catch (err) {
1913
+ error = toError(err);
1914
+ }
1915
+ if (error) {
1916
+ (_d = window.parent) === null || _d === void 0 ? void 0 : _d.postMessage({
1917
+ type: 'builder.evaluateError',
1918
+ data: { id: id_1, error: error.message },
950
1919
  }, '*');
951
1920
  }
1921
+ else {
1922
+ if (result && typeof result.then === 'function') {
1923
+ result
1924
+ .then(function (finalResult) {
1925
+ var _a;
1926
+ (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({
1927
+ type: 'builder.evaluateResult',
1928
+ data: { id: id_1, result: finalResult },
1929
+ }, '*');
1930
+ })
1931
+ .catch(console.error);
1932
+ }
1933
+ else {
1934
+ (_e = window.parent) === null || _e === void 0 ? void 0 : _e.postMessage({
1935
+ type: 'builder.evaluateResult',
1936
+ data: { result: result, id: id_1 },
1937
+ }, '*');
1938
+ }
1939
+ }
1940
+ break;
952
1941
  }
953
1942
  }
954
1943
  }
955
1944
  });
956
1945
  }
957
1946
  };
958
- Builder.prototype.init = function (apiKey, canTrack) {
959
- if (canTrack === void 0) { canTrack = true; }
1947
+ Object.defineProperty(Builder.prototype, "defaultCanTrack", {
1948
+ get: function () {
1949
+ return Boolean(Builder.isBrowser &&
1950
+ navigator.userAgent.trim() &&
1951
+ !navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i) &&
1952
+ !this.browserTrackingDisabled);
1953
+ },
1954
+ enumerable: false,
1955
+ configurable: true
1956
+ });
1957
+ Builder.prototype.init = function (apiKey, canTrack, req, res, authToken) {
1958
+ if (canTrack === void 0) { canTrack = this.defaultCanTrack; }
1959
+ if (req) {
1960
+ this.request = req;
1961
+ }
1962
+ if (res) {
1963
+ this.response = res;
1964
+ }
960
1965
  this.canTrack = canTrack;
961
1966
  this.apiKey = apiKey;
1967
+ if (authToken) {
1968
+ this.authToken = authToken;
1969
+ }
962
1970
  return this;
963
1971
  };
1972
+ Object.defineProperty(Builder.prototype, "previewingModel", {
1973
+ get: function () {
1974
+ var search = this.getLocation().search;
1975
+ var params = QueryString.parse((search || '').substr(1));
1976
+ return params['builder.preview'];
1977
+ },
1978
+ enumerable: false,
1979
+ configurable: true
1980
+ });
1981
+ // TODO: allow adding location object as property and/or in constructor
964
1982
  Builder.prototype.getLocation = function () {
965
- return (typeof location === 'object' && url.parse(location.href)) || {};
1983
+ var _a;
1984
+ var parsedLocation = {};
1985
+ // in ssr mode
1986
+ if (this.request) {
1987
+ parsedLocation = parse$1((_a = this.request.url) !== null && _a !== void 0 ? _a : '');
1988
+ }
1989
+ else if (typeof location === 'object') {
1990
+ // in the browser
1991
+ parsedLocation = parse$1(location.href);
1992
+ }
1993
+ // IE11 bug with parsed path being empty string
1994
+ // causes issues with our user targeting
1995
+ if (parsedLocation.pathname === '') {
1996
+ parsedLocation.pathname = '/';
1997
+ }
1998
+ return parsedLocation;
966
1999
  };
967
2000
  Builder.prototype.getUserAttributes = function (userAgent) {
968
- if (userAgent === void 0) { userAgent = this.userAgent; }
969
- this.isUsed = true;
970
- // This is used
971
- var defaultUserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36';
972
- var ua = new UaParser(userAgent || defaultUserAgent);
973
- // FIXME
974
- var url$$1 = this.getLocation();
975
- var device = ua.getDevice();
976
- // TODO: get these from exension as well
977
- return __assign({ queryString: url$$1.search, urlPath: url$$1.pathname,
978
- // Removinf for now because of cache keys
979
- // referrer: document.referrer,
980
- // language: navigator.language.split('-')[0],
981
- device: device.type || 'desktop', operatingSystem: (ua.getOS().name || '').toLowerCase() || undefined, browser: (ua.getBrowser().name || '').toLowerCase() || undefined }, Builder.overrideUserAttributes);
2001
+ if (userAgent === void 0) { userAgent = this.userAgent || ''; }
2002
+ var isMobile = {
2003
+ Android: function () {
2004
+ return userAgent.match(/Android/i);
2005
+ },
2006
+ BlackBerry: function () {
2007
+ return userAgent.match(/BlackBerry/i);
2008
+ },
2009
+ iOS: function () {
2010
+ return userAgent.match(/iPhone|iPod/i);
2011
+ },
2012
+ Opera: function () {
2013
+ return userAgent.match(/Opera Mini/i);
2014
+ },
2015
+ Windows: function () {
2016
+ return userAgent.match(/IEMobile/i) || userAgent.match(/WPDesktop/i);
2017
+ },
2018
+ any: function () {
2019
+ return (isMobile.Android() ||
2020
+ isMobile.BlackBerry() ||
2021
+ isMobile.iOS() ||
2022
+ isMobile.Opera() ||
2023
+ isMobile.Windows());
2024
+ },
2025
+ };
2026
+ var isTablet = userAgent.match(/Tablet|iPad/i);
2027
+ var url = this.getLocation();
2028
+ return tslib.__assign({ urlPath: url.pathname, host: url.host || url.hostname,
2029
+ // TODO: maybe an option to choose to target off of mobile/tablet/desktop or just mobile/desktop
2030
+ device: isTablet ? 'tablet' : isMobile.any() ? 'mobile' : 'desktop' }, Builder.overrideUserAttributes);
982
2031
  };
983
2032
  Builder.prototype.setUserAttributes = function (options) {
984
2033
  assign(Builder.overrideUserAttributes, options);
2034
+ this.userAttributesChanged.next(options);
2035
+ };
2036
+ /**
2037
+ * Set user attributes just for tracking purposes.
2038
+ *
2039
+ * Do this so properties exist on event objects for querying insights, but
2040
+ * won't affect targeting
2041
+ *
2042
+ * Use this when you want to track properties but don't need to target off
2043
+ * of them to optimize cache efficiency
2044
+ */
2045
+ Builder.prototype.setTrackingUserAttributes = function (attributes) {
2046
+ assign(this.trackingUserAttributes, attributes);
985
2047
  };
986
2048
  Builder.prototype.get = function (modelName, options) {
987
2049
  if (options === void 0) { options = {}; }
988
- return this.queueGetContent(modelName, options).pipe(map.map(function (matches) {
2050
+ var instance = this;
2051
+ if (!Builder.isBrowser) {
2052
+ instance = new Builder(options.apiKey || this.apiKey, options.req, options.res, undefined, options.authToken || this.authToken);
2053
+ instance.setUserAttributes(this.getUserAttributes());
2054
+ }
2055
+ else {
2056
+ if (options.apiKey && !this.apiKey) {
2057
+ this.apiKey = options.apiKey;
2058
+ }
2059
+ if (options.authToken && !this.authToken) {
2060
+ this.authToken = options.authToken;
2061
+ }
2062
+ }
2063
+ return instance.queueGetContent(modelName, options).map(
2064
+ /* map( */ function (matches) {
989
2065
  var match = matches && matches[0];
2066
+ if (Builder.isStatic) {
2067
+ return match;
2068
+ }
990
2069
  var matchData = match && match.data;
991
2070
  if (!matchData) {
992
2071
  return null;
993
2072
  }
2073
+ if (typeof matchData.blocksString !== 'undefined') {
2074
+ matchData.blocks = JSON.parse(matchData.blocksString);
2075
+ delete matchData.blocksString;
2076
+ }
994
2077
  return {
995
2078
  // TODO: add ab test info here and other high level stuff
996
2079
  data: matchData,
997
2080
  id: match.id,
998
- testVariationId: match.testVariationId,
999
- testVariationName: match.testVariationName,
2081
+ variationId: match.testVariationId || match.variationId || null,
2082
+ testVariationId: match.testVariationId || match.variationId || null,
2083
+ testVariationName: match.testVariationName || null,
2084
+ lastUpdated: match.lastUpdated || null,
1000
2085
  };
1001
- }));
2086
+ });
2087
+ // );
1002
2088
  };
1003
- // TODO: also take priority or group name/number so can
1004
- // group fast stuff to show right away and slow or lower priority after'
1005
- // how does graphql defer work?
1006
- // TODO: add defaultContent to regular getContent method
2089
+ // TODO: entry id in options
1007
2090
  Builder.prototype.queueGetContent = function (modelName, options) {
1008
2091
  var _this = this;
1009
2092
  if (options === void 0) { options = {}; }
1010
- // TODO: possibly in node send this to getContent instead, though that would have the consequence of less cache
1011
- // warming / utilization
1012
- var initialContent = options.initialContent;
2093
+ // TODO: if query do modelName + query
2094
+ var key = options.key ||
2095
+ options.alias ||
2096
+ // TODO: SDKs only pass entry key when given to them, and never when editing...
2097
+ // options.entry ||
2098
+ // TODO: this is ugly - instead of multiple of same model with different options are sent
2099
+ // say requires key/alias. Or if not perhaps make a reliable hash of the options and use that.
2100
+ // TODO: store last user state on last request and if user attributes different now
2101
+ // give a warning that need to use keys to request new contente
2102
+ // (options &&
2103
+ // Object.keys(options).filter(key => key !== 'model').length &&
2104
+ // JSON.stringify({ model: modelName, ...options, initialContent: undefined })) ||
2105
+ modelName;
1013
2106
  var isEditingThisModel = this.editingModel === modelName;
2107
+ // TODO: include params in this key........
2108
+ var currentObservable = this.observersByKey[key];
2109
+ // if (options.query && options.query._id) {
2110
+ // this.flushGetContentQueue([options])
2111
+ // }
2112
+ if (this.apiKey === 'DEMO' && !this.overrides[key] && !options.initialContent) {
2113
+ options.initialContent = [];
2114
+ }
2115
+ var initialContent = options.initialContent;
2116
+ // TODO: refresh option in options
2117
+ if (currentObservable && (!currentObservable.value || options.cache)) {
2118
+ // TODO: test if this ran, otherwise on 404 some observers may never be called...
2119
+ if (currentObservable.value) {
2120
+ nextTick(function () {
2121
+ // TODO: return a new observable and only that one fires subscribers, don't refire for existing ones
2122
+ currentObservable.next(currentObservable.value);
2123
+ });
2124
+ }
2125
+ return currentObservable;
2126
+ }
1014
2127
  if (isEditingThisModel) {
1015
2128
  if (Builder.isBrowser) {
1016
- parent.postMessage({ type: 'builder.updateContent' }, '*');
2129
+ parent.postMessage({ type: 'builder.updateContent', data: { options: options } }, '*');
1017
2130
  }
1018
2131
  }
1019
2132
  if (!initialContent /* || isEditingThisModel */) {
1020
2133
  if (!this.getContentQueue) {
1021
2134
  this.getContentQueue = [];
2135
+ }
2136
+ this.getContentQueue.push(tslib.__assign(tslib.__assign({}, options), { model: modelName, key: key }));
2137
+ if (this.getContentQueue && this.getContentQueue.length >= this.contentPerRequest) {
2138
+ var queue_1 = this.getContentQueue.slice();
2139
+ this.getContentQueue = [];
1022
2140
  nextTick(function () {
1023
- _this.flushGetContentQueue();
2141
+ _this.flushGetContentQueue(false, queue_1);
1024
2142
  });
1025
2143
  }
1026
- this.getContentQueue.push(__assign({}, options, { model: modelName }));
1027
- }
1028
- return new Observable.Observable(function (observer) {
1029
- _this.observersByModelType[modelName] = observer;
1030
- if (initialContent) {
2144
+ else {
1031
2145
  nextTick(function () {
1032
- observer.next(initialContent);
2146
+ _this.flushGetContentQueue();
1033
2147
  });
1034
2148
  }
1035
- });
1036
- };
1037
- Builder.prototype.requestUrl = function (url$$1) {
1038
- return fetch$1(url$$1).then(function (res) { return res.json(); });
2149
+ }
2150
+ var observable = new BehaviorSubject(null);
2151
+ this.observersByKey[key] = observable;
2152
+ if (options.noEditorUpdates) {
2153
+ this.noEditorUpdates[key] = true;
2154
+ }
2155
+ if (initialContent) {
2156
+ nextTick(function () {
2157
+ // TODO: need to testModify this I think...?
2158
+ observable.next(initialContent);
2159
+ });
2160
+ }
2161
+ return observable;
1039
2162
  };
1040
2163
  Object.defineProperty(Builder.prototype, "host", {
1041
- // get env() {
1042
- // // builder.env query param, hash, cookie
1043
- // return 'prod';
1044
- // }
1045
2164
  get: function () {
1046
- if (this.overrideHost) {
1047
- return this.overrideHost;
1048
- }
1049
2165
  switch (this.env) {
1050
2166
  case 'qa':
1051
2167
  return 'https://qa.builder.io';
2168
+ case 'test':
2169
+ return 'https://builder-io-test.web.app';
2170
+ case 'fast':
2171
+ return 'https://fast.builder.io';
2172
+ case 'cloud':
2173
+ return 'https://cloud.builder.io';
2174
+ case 'cdn2':
2175
+ return 'https://cdn2.builder.io';
2176
+ case 'cdn-qa':
2177
+ return 'https://cdn-qa.builder.io';
1052
2178
  case 'development':
1053
2179
  case 'dev':
1054
2180
  return 'http://localhost:5000';
2181
+ case 'cdn-prod':
2182
+ return 'https://cdn.builder.io';
1055
2183
  default:
1056
- return 'https://builder.io';
2184
+ return Builder.overrideHost || 'https://cdn.builder.io';
1057
2185
  }
1058
2186
  },
1059
- enumerable: true,
2187
+ enumerable: false,
1060
2188
  configurable: true
1061
2189
  });
1062
- Builder.prototype.flushGetContentQueue = function (usePastQueue) {
2190
+ Builder.prototype.flushGetContentQueue = function (usePastQueue, useQueue) {
1063
2191
  var _this = this;
1064
2192
  if (usePastQueue === void 0) { usePastQueue = false; }
1065
2193
  if (!this.apiKey) {
1066
- throw new Error('Builder needs to be initialized with an API key!');
2194
+ throw new Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));
1067
2195
  }
1068
2196
  if (!usePastQueue && !this.getContentQueue) {
1069
2197
  return;
1070
2198
  }
2199
+ var queue = useQueue || (usePastQueue ? this.priorContentQueue : this.getContentQueue) || [];
1071
2200
  // TODO: do this on every request send?
1072
2201
  this.getOverridesFromQueryString();
1073
- var queryParams = {};
2202
+ var queryParams = tslib.__assign({
2203
+ // TODO: way to force a request to be in a separate queue. or just lower queue limit to be 1 by default
2204
+ omit: queue[0].omit || 'meta.componentsUsed', apiKey: this.apiKey }, queue[0].options);
2205
+ if (queue[0].fields) {
2206
+ queryParams.fields = queue[0].fields;
2207
+ }
2208
+ if (queue[0].format) {
2209
+ queryParams.format = queue[0].format;
2210
+ }
1074
2211
  var pageQueryParams = typeof location !== 'undefined'
1075
- ? qs.parse(location.search, { ignoreQueryPrefix: true })
2212
+ ? QueryString.parseDeep(location.search.substr(1))
1076
2213
  : undefined || {};
1077
- var userAttributes = this.targetContent
1078
- ? this.getUserAttributes()
1079
- : {
1080
- urlPath: this.getLocation().pathname,
1081
- };
2214
+ var userAttributes =
2215
+ // FIXME: HACK: only checks first in queue for user attributes overrides, should check all
2216
+ // TODO: merge user attributes provided here with defaults and current user attiributes (?)
2217
+ queue && queue[0].userAttributes
2218
+ ? queue[0].userAttributes
2219
+ : this.targetContent
2220
+ ? this.getUserAttributes()
2221
+ : {
2222
+ urlPath: this.getLocation().pathname,
2223
+ };
2224
+ var fullUrlQueueItem = queue.find(function (item) { return !!item.includeUrl; });
2225
+ if (fullUrlQueueItem) {
2226
+ var location_1 = this.getLocation();
2227
+ if (location_1.origin) {
2228
+ queryParams.url = "".concat(location_1.origin).concat(location_1.pathname).concat(location_1.search);
2229
+ }
2230
+ }
2231
+ var urlQueueItem = useQueue === null || useQueue === void 0 ? void 0 : useQueue.find(function (item) { return item.url; });
2232
+ if (urlQueueItem === null || urlQueueItem === void 0 ? void 0 : urlQueueItem.url) {
2233
+ userAttributes.urlPath = urlQueueItem.url.split('?')[0];
2234
+ }
1082
2235
  // TODO: merge in the attribute from query string ones
1083
2236
  // TODO: make this an option per component/request
1084
- queryParams.userAttributes = Builder.useNewApi
1085
- ? userAttributes
1086
- : JSON.stringify(userAttributes);
1087
- var queue = (usePastQueue ? this.priorContentQueue : this.getContentQueue) || [];
1088
- if (!usePastQueue) {
2237
+ queryParams.userAttributes = userAttributes;
2238
+ if (!usePastQueue && !useQueue) {
1089
2239
  this.priorContentQueue = queue;
1090
2240
  this.getContentQueue = null;
1091
2241
  }
1092
- // TODO: cachebust if bd.noCache in request, also perhaps if in iframe
1093
- // if (options.cachebust) {
1094
- // queryParams.t = Date.now().toString();
1095
- // }
1096
2242
  var cachebust = this.cachebust ||
1097
2243
  isIframe ||
1098
2244
  pageQueryParams.cachebust ||
1099
2245
  pageQueryParams['builder.cachebust'];
1100
2246
  if (cachebust || this.env !== 'production') {
1101
2247
  queryParams.cachebust = true;
1102
- queryParams.cachebuster = Date.now();
2248
+ }
2249
+ if (Builder.isEditing) {
2250
+ queryParams.isEditing = true;
1103
2251
  }
1104
2252
  if (this.noCache || this.env !== 'production') {
1105
2253
  queryParams.noCache = true;
@@ -1107,83 +2255,118 @@ var Builder = /** @class */ (function () {
1107
2255
  if (size(this.overrides)) {
1108
2256
  for (var key in this.overrides) {
1109
2257
  if (this.overrides.hasOwnProperty(key)) {
1110
- queryParams["overrides." + key] = this.overrides[key];
2258
+ queryParams["overrides.".concat(key)] = this.overrides[key];
1111
2259
  }
1112
2260
  }
1113
2261
  }
1114
- if (Builder.useNewApi && !Builder.isReact) {
2262
+ if (!Builder.isReact) {
1115
2263
  // TODO: remove me once v1 page editors converted to v2
1116
2264
  // queryParams.extractCss = true;
1117
2265
  queryParams.prerender = true;
1118
2266
  }
1119
- if (Builder.useNewApi) {
1120
- for (var _i = 0, queue_1 = queue; _i < queue_1.length; _i++) {
1121
- var options = queue_1[_i];
1122
- var model = options.model;
1123
- // const modelsToUseOldVersion = ['homepage-take-over', 'custom-page', 'merchandised-content'];
1124
- // const forceNoPreRender =
1125
- // this.apiKey === 'bqNZC3dTGjwbxXySE419' && modelsToUseOldVersion.indexOf(model) !== -1;
1126
- // if (forceNoPreRender) {
1127
- // queryParams.options = queryParams.options || {};
1128
- // queryParams.options[model] = queryParams.options[model] || {};
1129
- // queryParams.options[model].prerender = false;
1130
- // }
1131
- var properties = [
1132
- 'prerender',
1133
- 'extractCss',
1134
- 'limit',
1135
- 'offset',
1136
- ];
1137
- for (var _a = 0, properties_1 = properties; _a < properties_1.length; _a++) {
1138
- var key = properties_1[_a];
1139
- var value = options[key];
1140
- if (value) {
1141
- queryParams.options = queryParams.options || {};
1142
- queryParams.options[model] = queryParams.options[model] || {};
1143
- queryParams.options[model][key] = JSON.stringify(value);
1144
- }
2267
+ for (var _i = 0, queue_2 = queue; _i < queue_2.length; _i++) {
2268
+ var options = queue_2[_i];
2269
+ if (options.format) {
2270
+ queryParams.format = options.format;
2271
+ }
2272
+ // TODO: remove me and make permodel
2273
+ if (options.static) {
2274
+ queryParams.static = options.static;
2275
+ }
2276
+ if (options.cachebust) {
2277
+ queryParams.cachebust = options.cachebust;
2278
+ }
2279
+ if (isPositiveNumber(options.cacheSeconds)) {
2280
+ queryParams.cacheSeconds = options.cacheSeconds;
2281
+ }
2282
+ if (isPositiveNumber(options.staleCacheSeconds)) {
2283
+ queryParams.staleCacheSeconds = options.staleCacheSeconds;
2284
+ }
2285
+ var properties = [
2286
+ 'prerender',
2287
+ 'extractCss',
2288
+ 'limit',
2289
+ 'offset',
2290
+ 'query',
2291
+ 'preview',
2292
+ 'model',
2293
+ 'entry',
2294
+ 'rev',
2295
+ 'static',
2296
+ ];
2297
+ for (var _a = 0, properties_1 = properties; _a < properties_1.length; _a++) {
2298
+ var key = properties_1[_a];
2299
+ var value = options[key];
2300
+ if (value !== undefined) {
2301
+ queryParams.options = queryParams.options || {};
2302
+ queryParams.options[options.key] = queryParams.options[options.key] || {};
2303
+ queryParams.options[options.key][key] = JSON.stringify(value);
1145
2304
  }
1146
2305
  }
1147
2306
  }
2307
+ if (this.preview) {
2308
+ queryParams.preview = 'true';
2309
+ }
1148
2310
  var hasParams = Object.keys(queryParams).length > 0;
1149
2311
  // TODO: option to force dev or qa api here
1150
- var host = this.useNewContentApi ? 'https://lambda.builder.codes' : this.host;
1151
- var modelNames = queue.map(function (item) { return item.model; }).join(',');
1152
- var queryStr = Builder.useNewApi
1153
- ? qs.stringify(queryParams, { allowDots: true })
1154
- : qs.stringify(queryParams);
1155
- // FIXME: have a "core" SDK that doesn't implement http,
1156
- // so SDKs like angular can use it's own http method
1157
- var promise = this.requestUrl(host + "/api/v1/" + (Builder.useNewApi ? 'query' : 'content') + "/" + this.apiKey + "/" + modelNames +
1158
- (queryParams && hasParams ? "?" + queryStr : ''))
2312
+ var host = this.host;
2313
+ var keyNames = queue.map(function (item) { return encodeURIComponent(item.key); }).join(',');
2314
+ if (this.overrideParams) {
2315
+ var params = omit(QueryString.parse(this.overrideParams), 'apiKey');
2316
+ assign(queryParams, params);
2317
+ }
2318
+ var queryStr = QueryString.stringifyDeep(queryParams);
2319
+ var format = queryParams.format;
2320
+ var requestOptions = { headers: {} };
2321
+ if (this.authToken) {
2322
+ requestOptions.headers = tslib.__assign(tslib.__assign({}, requestOptions.headers), { Authorization: "Bearer ".concat(this.authToken) });
2323
+ }
2324
+ var fn = format === 'solid' || format === 'react' ? 'codegen' : 'query';
2325
+ var url = "".concat(host, "/api/v1/").concat(fn, "/").concat(this.apiKey, "/").concat(keyNames) +
2326
+ (queryParams && hasParams ? "?".concat(queryStr) : '');
2327
+ var promise = fetch(url, requestOptions)
2328
+ .then(function (res) { return res.json(); })
1159
2329
  .then(function (result) {
1160
- for (var _i = 0, queue_2 = queue; _i < queue_2.length; _i++) {
1161
- var options = queue_2[_i];
1162
- var modelName = options.model;
1163
- if (modelName === _this.blockContentLoading) {
2330
+ for (var _i = 0, queue_3 = queue; _i < queue_3.length; _i++) {
2331
+ var options = queue_3[_i];
2332
+ var keyName = options.key;
2333
+ if (options.model === _this.blockContentLoading && !options.noEditorUpdates) {
1164
2334
  continue;
1165
2335
  }
1166
- var isEditingThisModel = _this.editingModel === modelName;
1167
- if (isEditingThisModel) {
1168
- parent.postMessage({ type: 'builder.updateContent' }, '*');
1169
- return;
2336
+ var isEditingThisModel = _this.editingModel === options.model;
2337
+ if (isEditingThisModel && Builder.isEditing) {
2338
+ parent.postMessage({ type: 'builder.updateContent', data: { options: options } }, '*');
2339
+ // return;
1170
2340
  }
1171
- var observer = _this.observersByModelType[modelName];
2341
+ var observer = _this.observersByKey[keyName];
1172
2342
  if (!observer) {
1173
2343
  return;
1174
2344
  }
1175
- var data = result[modelName];
1176
- var sorted = sortBy(data, function (item) { return item.priority; });
1177
- var testModifiedResults = _this.processResultsForTests(sorted);
1178
- observer.next(testModifiedResults);
1179
- // observer.next(sorted);
1180
- }
1181
- })
1182
- .catch(function (err) {
1183
- for (var _i = 0, queue_3 = queue; _i < queue_3.length; _i++) {
1184
- var options = queue_3[_i];
1185
- var modelName = options.model;
1186
- var observer = _this.observersByModelType[modelName];
2345
+ var data = result[keyName];
2346
+ var sorted = data; // sortBy(data, item => item.priority);
2347
+ if (data) {
2348
+ var testModifiedResults = Builder.isServer
2349
+ ? sorted
2350
+ : _this.processResultsForTests(sorted);
2351
+ observer.next(testModifiedResults);
2352
+ }
2353
+ else {
2354
+ var search = _this.getLocation().search;
2355
+ if ((search || '').includes('builder.preview=' + options.model)) {
2356
+ var previewData = {
2357
+ id: 'preview',
2358
+ name: 'Preview',
2359
+ data: {},
2360
+ };
2361
+ observer.next([previewData]);
2362
+ }
2363
+ observer.next([]);
2364
+ }
2365
+ }
2366
+ }, function (err) {
2367
+ for (var _i = 0, queue_4 = queue; _i < queue_4.length; _i++) {
2368
+ var options = queue_4[_i];
2369
+ var observer = _this.observersByKey[options.key];
1187
2370
  if (!observer) {
1188
2371
  return;
1189
2372
  }
@@ -1194,6 +2377,7 @@ var Builder = /** @class */ (function () {
1194
2377
  };
1195
2378
  Builder.prototype.processResultsForTests = function (results) {
1196
2379
  var _this = this;
2380
+ var _a;
1197
2381
  var mappedResults = results.map(function (item) {
1198
2382
  if (!item.variations) {
1199
2383
  return item;
@@ -1201,9 +2385,9 @@ var Builder = /** @class */ (function () {
1201
2385
  var cookieValue = _this.getTestCookie(item.id);
1202
2386
  var cookieVariation = cookieValue === item.id ? item : item.variations[cookieValue];
1203
2387
  if (cookieVariation) {
1204
- return __assign({}, item, { data: cookieVariation.data, variationId: cookieValue });
2388
+ return tslib.__assign(tslib.__assign({}, item), { data: cookieVariation.data, variationId: cookieValue, testVariationId: cookieValue, testVariationName: cookieVariation.name });
1205
2389
  }
1206
- if (item.variations) {
2390
+ if (_this.canTrack && item.variations && size(item.variations)) {
1207
2391
  var n = 0;
1208
2392
  var random = Math.random();
1209
2393
  for (var id in item.variations) {
@@ -1212,24 +2396,25 @@ var Builder = /** @class */ (function () {
1212
2396
  n += testRatio;
1213
2397
  if (random < n) {
1214
2398
  _this.setTestCookie(item.id, variation.id);
1215
- return __assign({}, item, { data: variation.data, variationId: variation.id, testVariationId: variation.id, testVariationName: variation.name });
2399
+ var variationName = variation.name || (variation.id === item.id ? 'Default variation' : '');
2400
+ return tslib.__assign(tslib.__assign({}, item), { data: variation.data, variationId: variation.id, testVariationId: variation.id, variationName: variationName, testVariationName: variationName });
1216
2401
  }
1217
2402
  }
2403
+ _this.setTestCookie(item.id, item.id);
1218
2404
  }
1219
- _this.setTestCookie(item.id, item.id);
1220
- return __assign({}, item, { variationId: item.id }, (item.variations &&
2405
+ return tslib.__assign(tslib.__assign(tslib.__assign({}, item), { variationId: item.id }), (item.variations &&
1221
2406
  size(item.variations) && {
1222
2407
  testVariationId: item.id,
1223
- testVariationName: 'default',
2408
+ testVariationName: 'Default variation',
1224
2409
  }));
1225
2410
  });
1226
2411
  if (isIframe) {
1227
- window.parent.postMessage({ type: 'builder.contentResults', data: { results: mappedResults } }, '*');
2412
+ (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({ type: 'builder.contentResults', data: { results: mappedResults } }, '*');
1228
2413
  }
1229
2414
  return mappedResults;
1230
2415
  };
1231
2416
  Builder.prototype.getTestCookie = function (contentId) {
1232
- return this.getCookie(this.testCookiePrefix + "." + contentId);
2417
+ return this.getCookie("".concat(this.testCookiePrefix, ".").concat(contentId));
1233
2418
  };
1234
2419
  Builder.prototype.setTestCookie = function (contentId, variationId) {
1235
2420
  if (!this.canTrack) {
@@ -1239,43 +2424,103 @@ var Builder = /** @class */ (function () {
1239
2424
  // 30 days from now
1240
2425
  var future = new Date();
1241
2426
  future.setDate(future.getDate() + 30);
1242
- return this.setCookie(this.testCookiePrefix + "." + contentId, variationId, {
1243
- expires: future,
1244
- });
2427
+ return this.setCookie("".concat(this.testCookiePrefix, ".").concat(contentId), variationId, future);
1245
2428
  };
1246
2429
  Builder.prototype.getCookie = function (name$$1) {
1247
- return Cookies.get(name$$1);
2430
+ if (this.cookies) {
2431
+ return this.cookies.get(name$$1);
2432
+ }
2433
+ return Builder.isBrowser && getCookie(name$$1);
1248
2434
  };
1249
- Builder.prototype.setCookie = function (name$$1, value, options /* Cookies.CookieAttributes */) {
1250
- return Cookies.set(name$$1, value, options);
2435
+ Builder.prototype.setCookie = function (name$$1, value, expires) {
2436
+ if (this.cookies && !(Builder.isServer && Builder.isStatic)) {
2437
+ return this.cookies.set(name$$1, value, {
2438
+ expires: expires,
2439
+ secure: this.getLocation().protocol === 'https:',
2440
+ });
2441
+ }
2442
+ return Builder.isBrowser && setCookie(name$$1, value, expires);
1251
2443
  };
1252
- // TODO:˝ param overrides
1253
- // TODO: gather user attributes
1254
- // Forward query to a server call so params like no cache or overrides can be extraced and applied
1255
2444
  Builder.prototype.getContent = function (modelName, options) {
1256
2445
  if (options === void 0) { options = {}; }
1257
2446
  if (!this.apiKey) {
1258
- throw new Error('Builder needs to be initialized with an API key!');
2447
+ throw new Error("Fetching content from model ".concat(modelName, " failed, expected apiKey to be defined instead got: ").concat(this.apiKey));
1259
2448
  }
1260
- return this.queueGetContent(modelName);
2449
+ return this.queueGetContent(modelName, options);
1261
2450
  };
1262
- // static animator = new Animator();
2451
+ Builder.prototype.getAll = function (modelName, options) {
2452
+ if (options === void 0) { options = {}; }
2453
+ var instance = this;
2454
+ if (!Builder.isBrowser) {
2455
+ instance = new Builder(options.apiKey || this.apiKey, options.req, options.res);
2456
+ instance.setUserAttributes(this.getUserAttributes());
2457
+ }
2458
+ else {
2459
+ if (options.apiKey && !this.apiKey) {
2460
+ this.apiKey = options.apiKey;
2461
+ }
2462
+ }
2463
+ return instance
2464
+ .getContent(modelName, tslib.__assign(tslib.__assign({ limit: 30 }, options), { key: options.key ||
2465
+ // Make the key include all options so we don't reuse cache for the same conent fetched
2466
+ // with different options
2467
+ Builder.isBrowser
2468
+ ? "".concat(modelName, ":").concat(hash(omit(options, 'initialContent', 'req', 'res')))
2469
+ : undefined }))
2470
+ .promise();
2471
+ };
2472
+ /**
2473
+ * @hidden
2474
+ * @deprecated. This is buggy, and always behind by a version.
2475
+ */
2476
+ Builder.VERSION = version;
1263
2477
  Builder.components = [];
2478
+ /**
2479
+ * Makes it so that a/b tests generate code like {@link
2480
+ * https://www.builder.io/blog/high-performance-no-code#__next:~:text=Static%20generated%20A%2FB%20testing}
2481
+ * instead of the old way where we render only one test group at a time on the
2482
+ * server. This is the preferred/better way not and we should ultimately make it
2483
+ * the default
2484
+ */
2485
+ Builder.isStatic = true;
2486
+ Builder.animator = new Animator();
1264
2487
  Builder.nextTick = nextTick;
1265
- Builder.VERSION = version;
1266
- Builder.useNewApi = true;
2488
+ Builder.throttle = throttle;
2489
+ Builder.editors = [];
2490
+ Builder.trustedHosts = ['builder.io', 'localhost'];
2491
+ Builder.plugins = [];
2492
+ Builder.actions = [];
2493
+ Builder.registry = {};
2494
+ Builder.registryChange = new BehaviorSubject({});
1267
2495
  Builder._editingPage = false;
1268
2496
  Builder.isIframe = isIframe;
1269
2497
  Builder.isBrowser = isBrowser;
2498
+ Builder.isReactNative = isReactNative;
2499
+ Builder.isServer = !isBrowser && !isReactNative;
2500
+ Builder.previewingModel = Builder.isBrowser && getQueryParam(location.href, 'builder.preview');
2501
+ Builder.settings = {};
2502
+ Builder.settingsChange = new BehaviorSubject({});
2503
+ // TODO: this is quick and dirty, do better implementation later. Also can be unreliable
2504
+ // if page 301s etc. Use a query param instead? also could have issues with redirects. Injecting var could
2505
+ // work but is async...
2506
+ Builder.isEditing = Boolean(isIframe &&
2507
+ ((document.referrer && document.referrer.match(/builder\.io|localhost:1234/)) ||
2508
+ location.search.indexOf('builder.frameEditing=') !== -1));
2509
+ Builder.isPreviewing = Boolean(isBrowser &&
2510
+ (location.search.indexOf('builder.preview=') !== -1 ||
2511
+ location.search.indexOf('builder.frameEditing=') !== -1));
1270
2512
  Builder.isReact = false;
1271
2513
  Builder.overrideUserAttributes = {};
1272
2514
  return Builder;
1273
2515
  }());
1274
2516
 
1275
- var builder = new Builder();
2517
+ var builder = new Builder(null, undefined, undefined, true);
2518
+ Builder.singletonInstance = builder;
1276
2519
 
1277
2520
  exports.Builder = Builder;
1278
2521
  exports.BuilderComponent = BuilderComponent;
1279
2522
  exports.isBrowser = isBrowser;
2523
+ exports.BehaviorSubject = BehaviorSubject;
2524
+ exports.Subscription = Subscription;
1280
2525
  exports.builder = builder;
1281
2526
  //# sourceMappingURL=index.cjs.js.map