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