groove-dev 0.27.86 → 0.27.87

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 (507) hide show
  1. package/CLAUDE.md +10 -0
  2. package/moe-training/client/scrubber.js +4 -2
  3. package/moe-training/client/step-classifier.js +17 -0
  4. package/moe-training/client/trajectory-capture.js +80 -6
  5. package/moe-training/client/transmission-queue.js +11 -0
  6. package/moe-training/test/client/scrubber.test.js +14 -4
  7. package/moe-training/test/client/step-classifier.test.js +47 -0
  8. package/moe-training/test/client/transmission-queue.test.js +33 -0
  9. package/node_modules/@groove-dev/cli/bin/groove.js +10 -1
  10. package/node_modules/@groove-dev/cli/package.json +1 -1
  11. package/node_modules/@groove-dev/cli/src/commands/connect.js +116 -205
  12. package/node_modules/@groove-dev/cli/src/commands/disconnect.js +38 -62
  13. package/node_modules/@groove-dev/cli/src/commands/remotes.js +75 -0
  14. package/node_modules/@groove-dev/daemon/package.json +1 -1
  15. package/node_modules/@groove-dev/daemon/src/process.js +56 -1
  16. package/node_modules/@groove-dev/gui/dist/assets/index-BCQY8ojz.css +1 -0
  17. package/node_modules/@groove-dev/gui/dist/assets/index-C5e7KVGN.js +8637 -0
  18. package/node_modules/@groove-dev/gui/dist/index.html +2 -2
  19. package/node_modules/@groove-dev/gui/package.json +2 -1
  20. package/node_modules/@groove-dev/gui/src/components/preview/preview-workspace.jsx +6 -5
  21. package/node_modules/@groove-dev/gui/src/components/preview/screenshot-overlay.jsx +41 -29
  22. package/node_modules/@groove-dev/gui/src/stores/groove.js +6 -2
  23. package/node_modules/@groove-dev/gui/src/views/agents.jsx +15 -1
  24. package/node_modules/@groove-dev/gui/src/views/settings.jsx +104 -26
  25. package/node_modules/base64-arraybuffer/CHANGELOG.md +28 -0
  26. package/node_modules/base64-arraybuffer/LICENSE +22 -0
  27. package/node_modules/base64-arraybuffer/README.md +27 -0
  28. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js +50 -0
  29. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js.map +1 -0
  30. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js +61 -0
  31. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js.map +1 -0
  32. package/node_modules/base64-arraybuffer/dist/lib/index.js +48 -0
  33. package/node_modules/base64-arraybuffer/dist/lib/index.js.map +1 -0
  34. package/node_modules/base64-arraybuffer/dist/types/index.d.ts +2 -0
  35. package/node_modules/base64-arraybuffer/package.json +54 -0
  36. package/node_modules/base64-arraybuffer/rollup.config.ts +40 -0
  37. package/node_modules/css-line-break/CHANGELOG.md +58 -0
  38. package/node_modules/css-line-break/LICENSE +22 -0
  39. package/node_modules/css-line-break/README.md +66 -0
  40. package/node_modules/css-line-break/dist/css-line-break.es5.js +706 -0
  41. package/node_modules/css-line-break/dist/css-line-break.es5.js.map +1 -0
  42. package/node_modules/css-line-break/dist/css-line-break.umd.js +718 -0
  43. package/node_modules/css-line-break/dist/css-line-break.umd.js.map +1 -0
  44. package/node_modules/css-line-break/dist/lib/LineBreak.js +516 -0
  45. package/node_modules/css-line-break/dist/lib/LineBreak.js.map +1 -0
  46. package/node_modules/css-line-break/dist/lib/Util.js +109 -0
  47. package/node_modules/css-line-break/dist/lib/Util.js.map +1 -0
  48. package/node_modules/css-line-break/dist/lib/index.js +9 -0
  49. package/node_modules/css-line-break/dist/lib/index.js.map +1 -0
  50. package/node_modules/css-line-break/dist/lib/linebreak-trie.js +6 -0
  51. package/node_modules/css-line-break/dist/lib/linebreak-trie.js.map +1 -0
  52. package/node_modules/css-line-break/dist/types/LineBreak.d.ts +38 -0
  53. package/node_modules/css-line-break/dist/types/Util.d.ts +5 -0
  54. package/node_modules/css-line-break/dist/types/index.d.ts +2 -0
  55. package/node_modules/css-line-break/dist/types/linebreak-trie.d.ts +2 -0
  56. package/node_modules/css-line-break/package.json +61 -0
  57. package/node_modules/css-line-break/rollup.config.ts +40 -0
  58. package/node_modules/html2canvas/CHANGELOG.md +566 -0
  59. package/node_modules/html2canvas/LICENSE +22 -0
  60. package/node_modules/html2canvas/README.md +73 -0
  61. package/node_modules/html2canvas/dist/html2canvas.esm.js +7822 -0
  62. package/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -0
  63. package/node_modules/html2canvas/dist/html2canvas.js +7830 -0
  64. package/node_modules/html2canvas/dist/html2canvas.js.map +1 -0
  65. package/node_modules/html2canvas/dist/html2canvas.min.js +20 -0
  66. package/node_modules/html2canvas/dist/lib/__tests__/index.js +144 -0
  67. package/node_modules/html2canvas/dist/lib/__tests__/index.js.map +1 -0
  68. package/node_modules/html2canvas/dist/lib/core/__mocks__/cache-storage.js +10 -0
  69. package/node_modules/html2canvas/dist/lib/core/__mocks__/cache-storage.js.map +1 -0
  70. package/node_modules/html2canvas/dist/lib/core/__mocks__/context.js +22 -0
  71. package/node_modules/html2canvas/dist/lib/core/__mocks__/context.js.map +1 -0
  72. package/node_modules/html2canvas/dist/lib/core/__mocks__/features.js +12 -0
  73. package/node_modules/html2canvas/dist/lib/core/__mocks__/features.js.map +1 -0
  74. package/node_modules/html2canvas/dist/lib/core/__mocks__/logger.js +24 -0
  75. package/node_modules/html2canvas/dist/lib/core/__mocks__/logger.js.map +1 -0
  76. package/node_modules/html2canvas/dist/lib/core/__tests__/cache-storage.js +420 -0
  77. package/node_modules/html2canvas/dist/lib/core/__tests__/cache-storage.js.map +1 -0
  78. package/node_modules/html2canvas/dist/lib/core/__tests__/logger.js +28 -0
  79. package/node_modules/html2canvas/dist/lib/core/__tests__/logger.js.map +1 -0
  80. package/node_modules/html2canvas/dist/lib/core/bitwise.js +6 -0
  81. package/node_modules/html2canvas/dist/lib/core/bitwise.js.map +1 -0
  82. package/node_modules/html2canvas/dist/lib/core/cache-storage.js +198 -0
  83. package/node_modules/html2canvas/dist/lib/core/cache-storage.js.map +1 -0
  84. package/node_modules/html2canvas/dist/lib/core/context.js +18 -0
  85. package/node_modules/html2canvas/dist/lib/core/context.js.map +1 -0
  86. package/node_modules/html2canvas/dist/lib/core/debugger.js +25 -0
  87. package/node_modules/html2canvas/dist/lib/core/debugger.js.map +1 -0
  88. package/node_modules/html2canvas/dist/lib/core/features.js +193 -0
  89. package/node_modules/html2canvas/dist/lib/core/features.js.map +1 -0
  90. package/node_modules/html2canvas/dist/lib/core/logger.js +88 -0
  91. package/node_modules/html2canvas/dist/lib/core/logger.js.map +1 -0
  92. package/node_modules/html2canvas/dist/lib/core/util.js +5 -0
  93. package/node_modules/html2canvas/dist/lib/core/util.js.map +1 -0
  94. package/node_modules/html2canvas/dist/lib/css/IPropertyDescriptor.js +3 -0
  95. package/node_modules/html2canvas/dist/lib/css/IPropertyDescriptor.js.map +1 -0
  96. package/node_modules/html2canvas/dist/lib/css/ITypeDescriptor.js +3 -0
  97. package/node_modules/html2canvas/dist/lib/css/ITypeDescriptor.js.map +1 -0
  98. package/node_modules/html2canvas/dist/lib/css/index.js +216 -0
  99. package/node_modules/html2canvas/dist/lib/css/index.js.map +1 -0
  100. package/node_modules/html2canvas/dist/lib/css/layout/__mocks__/bounds.js +9 -0
  101. package/node_modules/html2canvas/dist/lib/css/layout/__mocks__/bounds.js.map +1 -0
  102. package/node_modules/html2canvas/dist/lib/css/layout/bounds.js +42 -0
  103. package/node_modules/html2canvas/dist/lib/css/layout/bounds.js.map +1 -0
  104. package/node_modules/html2canvas/dist/lib/css/layout/text.js +137 -0
  105. package/node_modules/html2canvas/dist/lib/css/layout/text.js.map +1 -0
  106. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/background-tests.js +48 -0
  107. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/background-tests.js.map +1 -0
  108. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/font-family.js +25 -0
  109. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/font-family.js.map +1 -0
  110. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/paint-order.js +88 -0
  111. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/paint-order.js.map +1 -0
  112. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/text-shadow.js +94 -0
  113. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/text-shadow.js.map +1 -0
  114. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/transform-tests.js +18 -0
  115. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/transform-tests.js.map +1 -0
  116. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-clip.js +24 -0
  117. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-clip.js.map +1 -0
  118. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-color.js +11 -0
  119. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-color.js.map +1 -0
  120. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-image.js +24 -0
  121. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-image.js.map +1 -0
  122. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-origin.js +24 -0
  123. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-origin.js.map +1 -0
  124. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-position.js +17 -0
  125. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-position.js.map +1 -0
  126. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-repeat.js +36 -0
  127. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-repeat.js.map +1 -0
  128. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-size.js +24 -0
  129. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-size.js.map +1 -0
  130. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-color.js +15 -0
  131. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-color.js.map +1 -0
  132. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-radius.js +18 -0
  133. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-radius.js.map +1 -0
  134. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-style.js +27 -0
  135. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-style.js.map +1 -0
  136. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-width.js +21 -0
  137. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-width.js.map +1 -0
  138. package/node_modules/html2canvas/dist/lib/css/property-descriptors/box-shadow.js +55 -0
  139. package/node_modules/html2canvas/dist/lib/css/property-descriptors/box-shadow.js.map +1 -0
  140. package/node_modules/html2canvas/dist/lib/css/property-descriptors/color.js +11 -0
  141. package/node_modules/html2canvas/dist/lib/css/property-descriptors/color.js.map +1 -0
  142. package/node_modules/html2canvas/dist/lib/css/property-descriptors/content.js +20 -0
  143. package/node_modules/html2canvas/dist/lib/css/property-descriptors/content.js.map +1 -0
  144. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-increment.js +31 -0
  145. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-increment.js.map +1 -0
  146. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-reset.js +27 -0
  147. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-reset.js.map +1 -0
  148. package/node_modules/html2canvas/dist/lib/css/property-descriptors/direction.js +19 -0
  149. package/node_modules/html2canvas/dist/lib/css/property-descriptors/direction.js.map +1 -0
  150. package/node_modules/html2canvas/dist/lib/css/property-descriptors/display.js +82 -0
  151. package/node_modules/html2canvas/dist/lib/css/property-descriptors/display.js.map +1 -0
  152. package/node_modules/html2canvas/dist/lib/css/property-descriptors/duration.js +15 -0
  153. package/node_modules/html2canvas/dist/lib/css/property-descriptors/duration.js.map +1 -0
  154. package/node_modules/html2canvas/dist/lib/css/property-descriptors/float.js +23 -0
  155. package/node_modules/html2canvas/dist/lib/css/property-descriptors/float.js.map +1 -0
  156. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-family.js +33 -0
  157. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-family.js.map +1 -0
  158. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-size.js +11 -0
  159. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-size.js.map +1 -0
  160. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-style.js +21 -0
  161. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-style.js.map +1 -0
  162. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-variant.js +14 -0
  163. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-variant.js.map +1 -0
  164. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-weight.js +26 -0
  165. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-weight.js.map +1 -0
  166. package/node_modules/html2canvas/dist/lib/css/property-descriptors/letter-spacing.js +22 -0
  167. package/node_modules/html2canvas/dist/lib/css/property-descriptors/letter-spacing.js.map +1 -0
  168. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-break.js +24 -0
  169. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-break.js.map +1 -0
  170. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-height.js +25 -0
  171. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-height.js.map +1 -0
  172. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-image.js +17 -0
  173. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-image.js.map +1 -0
  174. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-position.js +19 -0
  175. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-position.js.map +1 -0
  176. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-type.js +123 -0
  177. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-type.js.map +1 -0
  178. package/node_modules/html2canvas/dist/lib/css/property-descriptors/margin.js +14 -0
  179. package/node_modules/html2canvas/dist/lib/css/property-descriptors/margin.js.map +1 -0
  180. package/node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js +17 -0
  181. package/node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js.map +1 -0
  182. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow-wrap.js +19 -0
  183. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow-wrap.js.map +1 -0
  184. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow.js +28 -0
  185. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow.js.map +1 -0
  186. package/node_modules/html2canvas/dist/lib/css/property-descriptors/padding.js +15 -0
  187. package/node_modules/html2canvas/dist/lib/css/property-descriptors/padding.js.map +1 -0
  188. package/node_modules/html2canvas/dist/lib/css/property-descriptors/paint-order.js +34 -0
  189. package/node_modules/html2canvas/dist/lib/css/property-descriptors/paint-order.js.map +1 -0
  190. package/node_modules/html2canvas/dist/lib/css/property-descriptors/position.js +23 -0
  191. package/node_modules/html2canvas/dist/lib/css/property-descriptors/position.js.map +1 -0
  192. package/node_modules/html2canvas/dist/lib/css/property-descriptors/quotes.js +42 -0
  193. package/node_modules/html2canvas/dist/lib/css/property-descriptors/quotes.js.map +1 -0
  194. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-align.js +22 -0
  195. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-align.js.map +1 -0
  196. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-color.js +11 -0
  197. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-color.js.map +1 -0
  198. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-line.js +29 -0
  199. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-line.js.map +1 -0
  200. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-shadow.js +47 -0
  201. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-shadow.js.map +1 -0
  202. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-transform.js +21 -0
  203. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-transform.js.map +1 -0
  204. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform-origin.js +25 -0
  205. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform-origin.js.map +1 -0
  206. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform.js +37 -0
  207. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform.js.map +1 -0
  208. package/node_modules/html2canvas/dist/lib/css/property-descriptors/visibility.js +21 -0
  209. package/node_modules/html2canvas/dist/lib/css/property-descriptors/visibility.js.map +1 -0
  210. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-color.js +11 -0
  211. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-color.js.map +1 -0
  212. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-width.js +17 -0
  213. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-width.js.map +1 -0
  214. package/node_modules/html2canvas/dist/lib/css/property-descriptors/word-break.js +27 -0
  215. package/node_modules/html2canvas/dist/lib/css/property-descriptors/word-break.js.map +1 -0
  216. package/node_modules/html2canvas/dist/lib/css/property-descriptors/z-index.js +20 -0
  217. package/node_modules/html2canvas/dist/lib/css/property-descriptors/z-index.js.map +1 -0
  218. package/node_modules/html2canvas/dist/lib/css/syntax/__tests__/tokernizer-tests.js +34 -0
  219. package/node_modules/html2canvas/dist/lib/css/syntax/__tests__/tokernizer-tests.js.map +1 -0
  220. package/node_modules/html2canvas/dist/lib/css/syntax/parser.js +147 -0
  221. package/node_modules/html2canvas/dist/lib/css/syntax/parser.js.map +1 -0
  222. package/node_modules/html2canvas/dist/lib/css/syntax/tokenizer.js +630 -0
  223. package/node_modules/html2canvas/dist/lib/css/syntax/tokenizer.js.map +1 -0
  224. package/node_modules/html2canvas/dist/lib/css/types/__tests__/color-tests.js +66 -0
  225. package/node_modules/html2canvas/dist/lib/css/types/__tests__/color-tests.js.map +1 -0
  226. package/node_modules/html2canvas/dist/lib/css/types/__tests__/image-tests.js +233 -0
  227. package/node_modules/html2canvas/dist/lib/css/types/__tests__/image-tests.js.map +1 -0
  228. package/node_modules/html2canvas/dist/lib/css/types/angle.js +81 -0
  229. package/node_modules/html2canvas/dist/lib/css/types/angle.js.map +1 -0
  230. package/node_modules/html2canvas/dist/lib/css/types/color.js +288 -0
  231. package/node_modules/html2canvas/dist/lib/css/types/color.js.map +1 -0
  232. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-linear-gradient.js +33 -0
  233. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-linear-gradient.js.map +1 -0
  234. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-radial-gradient.js +84 -0
  235. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-radial-gradient.js.map +1 -0
  236. package/node_modules/html2canvas/dist/lib/css/types/functions/-webkit-gradient.js +60 -0
  237. package/node_modules/html2canvas/dist/lib/css/types/functions/-webkit-gradient.js.map +1 -0
  238. package/node_modules/html2canvas/dist/lib/css/types/functions/__tests__/radial-gradient.js +68 -0
  239. package/node_modules/html2canvas/dist/lib/css/types/functions/__tests__/radial-gradient.js.map +1 -0
  240. package/node_modules/html2canvas/dist/lib/css/types/functions/counter.js +374 -0
  241. package/node_modules/html2canvas/dist/lib/css/types/functions/counter.js.map +1 -0
  242. package/node_modules/html2canvas/dist/lib/css/types/functions/gradient.js +165 -0
  243. package/node_modules/html2canvas/dist/lib/css/types/functions/gradient.js.map +1 -0
  244. package/node_modules/html2canvas/dist/lib/css/types/functions/linear-gradient.js +28 -0
  245. package/node_modules/html2canvas/dist/lib/css/types/functions/linear-gradient.js.map +1 -0
  246. package/node_modules/html2canvas/dist/lib/css/types/functions/radial-gradient.js +91 -0
  247. package/node_modules/html2canvas/dist/lib/css/types/functions/radial-gradient.js.map +1 -0
  248. package/node_modules/html2canvas/dist/lib/css/types/image.js +53 -0
  249. package/node_modules/html2canvas/dist/lib/css/types/image.js.map +1 -0
  250. package/node_modules/html2canvas/dist/lib/css/types/index.js +3 -0
  251. package/node_modules/html2canvas/dist/lib/css/types/index.js.map +1 -0
  252. package/node_modules/html2canvas/dist/lib/css/types/length-percentage.js +52 -0
  253. package/node_modules/html2canvas/dist/lib/css/types/length-percentage.js.map +1 -0
  254. package/node_modules/html2canvas/dist/lib/css/types/length.js +8 -0
  255. package/node_modules/html2canvas/dist/lib/css/types/length.js.map +1 -0
  256. package/node_modules/html2canvas/dist/lib/css/types/time.js +18 -0
  257. package/node_modules/html2canvas/dist/lib/css/types/time.js.map +1 -0
  258. package/node_modules/html2canvas/dist/lib/dom/__mocks__/document-cloner.js +24 -0
  259. package/node_modules/html2canvas/dist/lib/dom/__mocks__/document-cloner.js.map +1 -0
  260. package/node_modules/html2canvas/dist/lib/dom/document-cloner.js +530 -0
  261. package/node_modules/html2canvas/dist/lib/dom/document-cloner.js.map +1 -0
  262. package/node_modules/html2canvas/dist/lib/dom/element-container.js +35 -0
  263. package/node_modules/html2canvas/dist/lib/dom/element-container.js.map +1 -0
  264. package/node_modules/html2canvas/dist/lib/dom/elements/li-element-container.js +30 -0
  265. package/node_modules/html2canvas/dist/lib/dom/elements/li-element-container.js.map +1 -0
  266. package/node_modules/html2canvas/dist/lib/dom/elements/ol-element-container.js +31 -0
  267. package/node_modules/html2canvas/dist/lib/dom/elements/ol-element-container.js.map +1 -0
  268. package/node_modules/html2canvas/dist/lib/dom/elements/select-element-container.js +31 -0
  269. package/node_modules/html2canvas/dist/lib/dom/elements/select-element-container.js.map +1 -0
  270. package/node_modules/html2canvas/dist/lib/dom/elements/textarea-element-container.js +30 -0
  271. package/node_modules/html2canvas/dist/lib/dom/elements/textarea-element-container.js.map +1 -0
  272. package/node_modules/html2canvas/dist/lib/dom/node-parser.js +142 -0
  273. package/node_modules/html2canvas/dist/lib/dom/node-parser.js.map +1 -0
  274. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/canvas-element-container.js +32 -0
  275. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/canvas-element-container.js.map +1 -0
  276. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/iframe-element-container.js +55 -0
  277. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/iframe-element-container.js.map +1 -0
  278. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/image-element-container.js +33 -0
  279. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/image-element-container.js.map +1 -0
  280. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/index.js +3 -0
  281. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/index.js.map +1 -0
  282. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/input-element-container.js +102 -0
  283. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/input-element-container.js.map +1 -0
  284. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/pseudo-elements.js +1 -0
  285. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/pseudo-elements.js.map +1 -0
  286. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/svg-element-container.js +38 -0
  287. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/svg-element-container.js.map +1 -0
  288. package/node_modules/html2canvas/dist/lib/dom/text-container.js +32 -0
  289. package/node_modules/html2canvas/dist/lib/dom/text-container.js.map +1 -0
  290. package/node_modules/html2canvas/dist/lib/index.js +181 -0
  291. package/node_modules/html2canvas/dist/lib/index.js.map +1 -0
  292. package/node_modules/html2canvas/dist/lib/invariant.js +10 -0
  293. package/node_modules/html2canvas/dist/lib/invariant.js.map +1 -0
  294. package/node_modules/html2canvas/dist/lib/render/background.js +187 -0
  295. package/node_modules/html2canvas/dist/lib/render/background.js.map +1 -0
  296. package/node_modules/html2canvas/dist/lib/render/bezier-curve.js +36 -0
  297. package/node_modules/html2canvas/dist/lib/render/bezier-curve.js.map +1 -0
  298. package/node_modules/html2canvas/dist/lib/render/border.js +105 -0
  299. package/node_modules/html2canvas/dist/lib/render/border.js.map +1 -0
  300. package/node_modules/html2canvas/dist/lib/render/bound-curves.js +190 -0
  301. package/node_modules/html2canvas/dist/lib/render/bound-curves.js.map +1 -0
  302. package/node_modules/html2canvas/dist/lib/render/box-sizing.js +21 -0
  303. package/node_modules/html2canvas/dist/lib/render/box-sizing.js.map +1 -0
  304. package/node_modules/html2canvas/dist/lib/render/canvas/canvas-renderer.js +1030 -0
  305. package/node_modules/html2canvas/dist/lib/render/canvas/canvas-renderer.js.map +1 -0
  306. package/node_modules/html2canvas/dist/lib/render/canvas/foreignobject-renderer.js +108 -0
  307. package/node_modules/html2canvas/dist/lib/render/canvas/foreignobject-renderer.js.map +1 -0
  308. package/node_modules/html2canvas/dist/lib/render/effects.js +41 -0
  309. package/node_modules/html2canvas/dist/lib/render/effects.js.map +1 -0
  310. package/node_modules/html2canvas/dist/lib/render/font-metrics.js +55 -0
  311. package/node_modules/html2canvas/dist/lib/render/font-metrics.js.map +1 -0
  312. package/node_modules/html2canvas/dist/lib/render/path.js +27 -0
  313. package/node_modules/html2canvas/dist/lib/render/path.js.map +1 -0
  314. package/node_modules/html2canvas/dist/lib/render/renderer.js +12 -0
  315. package/node_modules/html2canvas/dist/lib/render/renderer.js.map +1 -0
  316. package/node_modules/html2canvas/dist/lib/render/stacking-context.js +172 -0
  317. package/node_modules/html2canvas/dist/lib/render/stacking-context.js.map +1 -0
  318. package/node_modules/html2canvas/dist/lib/render/vector.js +18 -0
  319. package/node_modules/html2canvas/dist/lib/render/vector.js.map +1 -0
  320. package/node_modules/html2canvas/dist/types/__tests__/index.d.ts +1 -0
  321. package/node_modules/html2canvas/dist/types/core/__mocks__/cache-storage.d.ts +2 -0
  322. package/node_modules/html2canvas/dist/types/core/__mocks__/context.d.ts +9 -0
  323. package/node_modules/html2canvas/dist/types/core/__mocks__/features.d.ts +8 -0
  324. package/node_modules/html2canvas/dist/types/core/__mocks__/logger.d.ts +9 -0
  325. package/node_modules/html2canvas/dist/types/core/__tests__/cache-storage.d.ts +1 -0
  326. package/node_modules/html2canvas/dist/types/core/__tests__/logger.d.ts +1 -0
  327. package/node_modules/html2canvas/dist/types/core/bitwise.d.ts +1 -0
  328. package/node_modules/html2canvas/dist/types/core/cache-storage.d.ts +26 -0
  329. package/node_modules/html2canvas/dist/types/core/context.d.ts +15 -0
  330. package/node_modules/html2canvas/dist/types/core/debugger.d.ts +8 -0
  331. package/node_modules/html2canvas/dist/types/core/features.d.ts +12 -0
  332. package/node_modules/html2canvas/dist/types/core/logger.d.ts +18 -0
  333. package/node_modules/html2canvas/dist/types/core/util.d.ts +1 -0
  334. package/node_modules/html2canvas/dist/types/css/IPropertyDescriptor.d.ts +36 -0
  335. package/node_modules/html2canvas/dist/types/css/ITypeDescriptor.d.ts +6 -0
  336. package/node_modules/html2canvas/dist/types/css/index.d.ts +132 -0
  337. package/node_modules/html2canvas/dist/types/css/layout/__mocks__/bounds.d.ts +2 -0
  338. package/node_modules/html2canvas/dist/types/css/layout/bounds.d.ts +14 -0
  339. package/node_modules/html2canvas/dist/types/css/layout/text.d.ts +10 -0
  340. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/background-tests.d.ts +1 -0
  341. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/font-family.d.ts +1 -0
  342. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/paint-order.d.ts +1 -0
  343. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/text-shadow.d.ts +1 -0
  344. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/transform-tests.d.ts +1 -0
  345. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-clip.d.ts +8 -0
  346. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-color.d.ts +2 -0
  347. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-image.d.ts +3 -0
  348. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-origin.d.ts +8 -0
  349. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-position.d.ts +5 -0
  350. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-repeat.d.ts +9 -0
  351. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-size.d.ts +11 -0
  352. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-color.d.ts +5 -0
  353. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-radius.d.ts +7 -0
  354. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-style.d.ts +12 -0
  355. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-width.d.ts +5 -0
  356. package/node_modules/html2canvas/dist/types/css/property-descriptors/box-shadow.d.ts +14 -0
  357. package/node_modules/html2canvas/dist/types/css/property-descriptors/color.d.ts +2 -0
  358. package/node_modules/html2canvas/dist/types/css/property-descriptors/content.d.ts +4 -0
  359. package/node_modules/html2canvas/dist/types/css/property-descriptors/counter-increment.d.ts +7 -0
  360. package/node_modules/html2canvas/dist/types/css/property-descriptors/counter-reset.d.ts +7 -0
  361. package/node_modules/html2canvas/dist/types/css/property-descriptors/direction.d.ts +6 -0
  362. package/node_modules/html2canvas/dist/types/css/property-descriptors/display.d.ts +35 -0
  363. package/node_modules/html2canvas/dist/types/css/property-descriptors/duration.d.ts +2 -0
  364. package/node_modules/html2canvas/dist/types/css/property-descriptors/float.d.ts +9 -0
  365. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-family.d.ts +4 -0
  366. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-size.d.ts +2 -0
  367. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-style.d.ts +7 -0
  368. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-variant.d.ts +2 -0
  369. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-weight.d.ts +2 -0
  370. package/node_modules/html2canvas/dist/types/css/property-descriptors/letter-spacing.d.ts +2 -0
  371. package/node_modules/html2canvas/dist/types/css/property-descriptors/line-break.d.ts +6 -0
  372. package/node_modules/html2canvas/dist/types/css/property-descriptors/line-height.d.ts +4 -0
  373. package/node_modules/html2canvas/dist/types/css/property-descriptors/list-style-image.d.ts +3 -0
  374. package/node_modules/html2canvas/dist/types/css/property-descriptors/list-style-position.d.ts +6 -0
  375. package/node_modules/html2canvas/dist/types/css/property-descriptors/list-style-type.d.ts +58 -0
  376. package/node_modules/html2canvas/dist/types/css/property-descriptors/margin.d.ts +5 -0
  377. package/node_modules/html2canvas/dist/types/css/property-descriptors/opacity.d.ts +2 -0
  378. package/node_modules/html2canvas/dist/types/css/property-descriptors/overflow-wrap.d.ts +6 -0
  379. package/node_modules/html2canvas/dist/types/css/property-descriptors/overflow.d.ts +9 -0
  380. package/node_modules/html2canvas/dist/types/css/property-descriptors/padding.d.ts +5 -0
  381. package/node_modules/html2canvas/dist/types/css/property-descriptors/paint-order.d.ts +8 -0
  382. package/node_modules/html2canvas/dist/types/css/property-descriptors/position.d.ts +9 -0
  383. package/node_modules/html2canvas/dist/types/css/property-descriptors/quotes.d.ts +8 -0
  384. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-align.d.ts +7 -0
  385. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-decoration-color.d.ts +2 -0
  386. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-decoration-line.d.ts +10 -0
  387. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-shadow.d.ts +12 -0
  388. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-transform.d.ts +8 -0
  389. package/node_modules/html2canvas/dist/types/css/property-descriptors/transform-origin.d.ts +4 -0
  390. package/node_modules/html2canvas/dist/types/css/property-descriptors/transform.d.ts +4 -0
  391. package/node_modules/html2canvas/dist/types/css/property-descriptors/visibility.d.ts +7 -0
  392. package/node_modules/html2canvas/dist/types/css/property-descriptors/webkit-text-stroke-color.d.ts +2 -0
  393. package/node_modules/html2canvas/dist/types/css/property-descriptors/webkit-text-stroke-width.d.ts +2 -0
  394. package/node_modules/html2canvas/dist/types/css/property-descriptors/word-break.d.ts +7 -0
  395. package/node_modules/html2canvas/dist/types/css/property-descriptors/z-index.d.ts +7 -0
  396. package/node_modules/html2canvas/dist/types/css/syntax/__tests__/tokernizer-tests.d.ts +1 -0
  397. package/node_modules/html2canvas/dist/types/css/syntax/parser.d.ts +34 -0
  398. package/node_modules/html2canvas/dist/types/css/syntax/tokenizer.d.ts +94 -0
  399. package/node_modules/html2canvas/dist/types/css/types/__tests__/color-tests.d.ts +1 -0
  400. package/node_modules/html2canvas/dist/types/css/types/__tests__/image-tests.d.ts +1 -0
  401. package/node_modules/html2canvas/dist/types/css/types/angle.d.ts +7 -0
  402. package/node_modules/html2canvas/dist/types/css/types/color.d.ts +11 -0
  403. package/node_modules/html2canvas/dist/types/css/types/functions/-prefix-linear-gradient.d.ts +4 -0
  404. package/node_modules/html2canvas/dist/types/css/types/functions/-prefix-radial-gradient.d.ts +4 -0
  405. package/node_modules/html2canvas/dist/types/css/types/functions/-webkit-gradient.d.ts +4 -0
  406. package/node_modules/html2canvas/dist/types/css/types/functions/__tests__/radial-gradient.d.ts +1 -0
  407. package/node_modules/html2canvas/dist/types/css/types/functions/counter.d.ts +10 -0
  408. package/node_modules/html2canvas/dist/types/css/types/functions/gradient.d.ts +7 -0
  409. package/node_modules/html2canvas/dist/types/css/types/functions/linear-gradient.d.ts +4 -0
  410. package/node_modules/html2canvas/dist/types/css/types/functions/radial-gradient.d.ts +12 -0
  411. package/node_modules/html2canvas/dist/types/css/types/image.d.ts +54 -0
  412. package/node_modules/html2canvas/dist/types/css/types/index.d.ts +1 -0
  413. package/node_modules/html2canvas/dist/types/css/types/length-percentage.d.ts +11 -0
  414. package/node_modules/html2canvas/dist/types/css/types/length.d.ts +4 -0
  415. package/node_modules/html2canvas/dist/types/css/types/time.d.ts +2 -0
  416. package/node_modules/html2canvas/dist/types/dom/__mocks__/document-cloner.d.ts +6 -0
  417. package/node_modules/html2canvas/dist/types/dom/document-cloner.d.ts +45 -0
  418. package/node_modules/html2canvas/dist/types/dom/element-container.d.ts +19 -0
  419. package/node_modules/html2canvas/dist/types/dom/elements/li-element-container.d.ts +6 -0
  420. package/node_modules/html2canvas/dist/types/dom/elements/ol-element-container.d.ts +7 -0
  421. package/node_modules/html2canvas/dist/types/dom/elements/select-element-container.d.ts +6 -0
  422. package/node_modules/html2canvas/dist/types/dom/elements/textarea-element-container.d.ts +6 -0
  423. package/node_modules/html2canvas/dist/types/dom/node-parser.d.ts +23 -0
  424. package/node_modules/html2canvas/dist/types/dom/replaced-elements/canvas-element-container.d.ts +8 -0
  425. package/node_modules/html2canvas/dist/types/dom/replaced-elements/iframe-element-container.d.ts +11 -0
  426. package/node_modules/html2canvas/dist/types/dom/replaced-elements/image-element-container.d.ts +8 -0
  427. package/node_modules/html2canvas/dist/types/dom/replaced-elements/index.d.ts +4 -0
  428. package/node_modules/html2canvas/dist/types/dom/replaced-elements/input-element-container.d.ts +12 -0
  429. package/node_modules/html2canvas/dist/types/dom/replaced-elements/pseudo-elements.d.ts +0 -0
  430. package/node_modules/html2canvas/dist/types/dom/replaced-elements/svg-element-container.d.ts +8 -0
  431. package/node_modules/html2canvas/dist/types/dom/text-container.d.ts +8 -0
  432. package/node_modules/html2canvas/dist/types/index.d.ts +10 -0
  433. package/node_modules/html2canvas/dist/types/invariant.d.ts +1 -0
  434. package/node_modules/html2canvas/dist/types/render/background.d.ts +16 -0
  435. package/node_modules/html2canvas/dist/types/render/bezier-curve.d.ts +14 -0
  436. package/node_modules/html2canvas/dist/types/render/border.d.ts +6 -0
  437. package/node_modules/html2canvas/dist/types/render/bound-curves.d.ts +32 -0
  438. package/node_modules/html2canvas/dist/types/render/box-sizing.d.ts +4 -0
  439. package/node_modules/html2canvas/dist/types/render/canvas/canvas-renderer.d.ts +53 -0
  440. package/node_modules/html2canvas/dist/types/render/canvas/foreignobject-renderer.d.ts +11 -0
  441. package/node_modules/html2canvas/dist/types/render/effects.d.ts +38 -0
  442. package/node_modules/html2canvas/dist/types/render/font-metrics.d.ts +11 -0
  443. package/node_modules/html2canvas/dist/types/render/path.d.ts +13 -0
  444. package/node_modules/html2canvas/dist/types/render/renderer.d.ts +7 -0
  445. package/node_modules/html2canvas/dist/types/render/stacking-context.d.ts +24 -0
  446. package/node_modules/html2canvas/dist/types/render/vector.d.ts +9 -0
  447. package/node_modules/html2canvas/package.json +124 -0
  448. package/node_modules/html2canvas/tsconfig.json +21 -0
  449. package/node_modules/text-segmentation/CHANGELOG.md +43 -0
  450. package/node_modules/text-segmentation/LICENSE +22 -0
  451. package/node_modules/text-segmentation/README.md +27 -0
  452. package/node_modules/text-segmentation/dist/lib/GraphemeBreak.js +218 -0
  453. package/node_modules/text-segmentation/dist/lib/GraphemeBreak.js.map +1 -0
  454. package/node_modules/text-segmentation/dist/lib/grapheme-break-trie.js +6 -0
  455. package/node_modules/text-segmentation/dist/lib/grapheme-break-trie.js.map +1 -0
  456. package/node_modules/text-segmentation/dist/lib/index.js +9 -0
  457. package/node_modules/text-segmentation/dist/lib/index.js.map +1 -0
  458. package/node_modules/text-segmentation/dist/text-segmentation.es5.js +384 -0
  459. package/node_modules/text-segmentation/dist/text-segmentation.es5.js.map +1 -0
  460. package/node_modules/text-segmentation/dist/text-segmentation.umd.js +397 -0
  461. package/node_modules/text-segmentation/dist/text-segmentation.umd.js.map +1 -0
  462. package/node_modules/text-segmentation/dist/types/GraphemeBreak.d.ts +21 -0
  463. package/node_modules/text-segmentation/dist/types/grapheme-break-trie.d.ts +2 -0
  464. package/node_modules/text-segmentation/dist/types/index.d.ts +1 -0
  465. package/node_modules/text-segmentation/package.json +55 -0
  466. package/node_modules/text-segmentation/rollup.config.ts +40 -0
  467. package/node_modules/utrie/CHANGELOG.md +32 -0
  468. package/node_modules/utrie/LICENSE +22 -0
  469. package/node_modules/utrie/dist/lib/Trie.js +143 -0
  470. package/node_modules/utrie/dist/lib/Trie.js.map +1 -0
  471. package/node_modules/utrie/dist/lib/TrieBuilder.js +888 -0
  472. package/node_modules/utrie/dist/lib/TrieBuilder.js.map +1 -0
  473. package/node_modules/utrie/dist/lib/Util.js +54 -0
  474. package/node_modules/utrie/dist/lib/Util.js.map +1 -0
  475. package/node_modules/utrie/dist/lib/index.js +10 -0
  476. package/node_modules/utrie/dist/lib/index.js.map +1 -0
  477. package/node_modules/utrie/dist/types/Trie.d.ts +76 -0
  478. package/node_modules/utrie/dist/types/TrieBuilder.d.ts +65 -0
  479. package/node_modules/utrie/dist/types/Util.d.ts +3 -0
  480. package/node_modules/utrie/dist/types/index.d.ts +2 -0
  481. package/node_modules/utrie/dist/utrie.es5.js +1101 -0
  482. package/node_modules/utrie/dist/utrie.es5.js.map +1 -0
  483. package/node_modules/utrie/dist/utrie.umd.js +1114 -0
  484. package/node_modules/utrie/dist/utrie.umd.js.map +1 -0
  485. package/node_modules/utrie/package.json +53 -0
  486. package/node_modules/utrie/rollup.config.ts +40 -0
  487. package/package.json +1 -1
  488. package/packages/cli/bin/groove.js +10 -1
  489. package/packages/cli/package.json +1 -1
  490. package/packages/cli/src/commands/connect.js +116 -205
  491. package/packages/cli/src/commands/disconnect.js +38 -62
  492. package/packages/cli/src/commands/remotes.js +75 -0
  493. package/packages/daemon/package.json +1 -1
  494. package/packages/daemon/src/process.js +56 -1
  495. package/packages/gui/dist/assets/index-BCQY8ojz.css +1 -0
  496. package/packages/gui/dist/assets/index-C5e7KVGN.js +8637 -0
  497. package/packages/gui/dist/index.html +2 -2
  498. package/packages/gui/package.json +2 -1
  499. package/packages/gui/src/components/preview/preview-workspace.jsx +6 -5
  500. package/packages/gui/src/components/preview/screenshot-overlay.jsx +41 -29
  501. package/packages/gui/src/stores/groove.js +6 -2
  502. package/packages/gui/src/views/agents.jsx +15 -1
  503. package/packages/gui/src/views/settings.jsx +104 -26
  504. package/node_modules/@groove-dev/gui/dist/assets/index-BbDDgazC.js +0 -8616
  505. package/node_modules/@groove-dev/gui/dist/assets/index-fhMxiPGp.css +0 -1
  506. package/packages/gui/dist/assets/index-BbDDgazC.js +0 -8616
  507. package/packages/gui/dist/assets/index-fhMxiPGp.css +0 -1
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.decode = exports.encode = void 0;
4
+ var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
5
+ // Use a lookup table to find the index.
6
+ var lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);
7
+ for (var i = 0; i < chars.length; i++) {
8
+ lookup[chars.charCodeAt(i)] = i;
9
+ }
10
+ var encode = function (arraybuffer) {
11
+ var bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';
12
+ for (i = 0; i < len; i += 3) {
13
+ base64 += chars[bytes[i] >> 2];
14
+ base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];
15
+ base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];
16
+ base64 += chars[bytes[i + 2] & 63];
17
+ }
18
+ if (len % 3 === 2) {
19
+ base64 = base64.substring(0, base64.length - 1) + '=';
20
+ }
21
+ else if (len % 3 === 1) {
22
+ base64 = base64.substring(0, base64.length - 2) + '==';
23
+ }
24
+ return base64;
25
+ };
26
+ exports.encode = encode;
27
+ var decode = function (base64) {
28
+ var bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;
29
+ if (base64[base64.length - 1] === '=') {
30
+ bufferLength--;
31
+ if (base64[base64.length - 2] === '=') {
32
+ bufferLength--;
33
+ }
34
+ }
35
+ var arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);
36
+ for (i = 0; i < len; i += 4) {
37
+ encoded1 = lookup[base64.charCodeAt(i)];
38
+ encoded2 = lookup[base64.charCodeAt(i + 1)];
39
+ encoded3 = lookup[base64.charCodeAt(i + 2)];
40
+ encoded4 = lookup[base64.charCodeAt(i + 3)];
41
+ bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);
42
+ bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);
43
+ bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);
44
+ }
45
+ return arraybuffer;
46
+ };
47
+ exports.decode = decode;
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export declare const encode: (arraybuffer: ArrayBuffer) => string;
2
+ export declare const decode: (base64: string) => ArrayBuffer;
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "base64-arraybuffer",
3
+ "description": "Encode/decode base64 data into ArrayBuffers",
4
+ "main": "dist/base64-arraybuffer.umd.js",
5
+ "module": "dist/base64-arraybuffer.es5.js",
6
+ "typings": "dist/types/index.d.ts",
7
+ "version": "1.0.2",
8
+ "homepage": "https://github.com/niklasvh/base64-arraybuffer",
9
+ "author": {
10
+ "name": "Niklas von Hertzen",
11
+ "email": "niklasvh@gmail.com",
12
+ "url": "https://hertzen.com"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/niklasvh/base64-arraybuffer"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/niklasvh/base64-arraybuffer/issues"
20
+ },
21
+ "license": "MIT",
22
+ "engines": {
23
+ "node": ">= 0.6.0"
24
+ },
25
+ "scripts": {
26
+ "prebuild": "rimraf dist/",
27
+ "build": "tsc --module commonjs && rollup -c rollup.config.ts",
28
+ "format": "prettier --write \"{src,test}/**/*.ts\"",
29
+ "lint": "tslint -c tslint.json --project tsconfig.json -t codeFrame src/**/*.ts test/**/*.ts",
30
+ "mocha": "mocha --require ts-node/register test/*.ts",
31
+ "test": "npm run lint && npm run mocha",
32
+ "release": "standard-version"
33
+ },
34
+ "devDependencies": {
35
+ "@rollup/plugin-commonjs": "^19.0.0",
36
+ "@rollup/plugin-node-resolve": "^13.0.0",
37
+ "@rollup/plugin-typescript": "^8.2.1",
38
+ "@types/mocha": "^8.2.2",
39
+ "@types/node": "^16.0.0",
40
+ "mocha": "9.0.2",
41
+ "prettier": "^2.3.2",
42
+ "rimraf": "3.0.2",
43
+ "rollup": "^2.52.7",
44
+ "rollup-plugin-json": "^4.0.0",
45
+ "rollup-plugin-sourcemaps": "^0.6.3",
46
+ "standard-version": "^9.3.0",
47
+ "ts-node": "^10.0.0",
48
+ "tslib": "^2.3.0",
49
+ "tslint": "^6.1.3",
50
+ "tslint-config-prettier": "^1.18.0",
51
+ "typescript": "^4.3.5"
52
+ },
53
+ "keywords": []
54
+ }
@@ -0,0 +1,40 @@
1
+ import resolve from '@rollup/plugin-node-resolve';
2
+ import commonjs from '@rollup/plugin-commonjs';
3
+ import sourceMaps from 'rollup-plugin-sourcemaps';
4
+ import typescript from '@rollup/plugin-typescript';
5
+ import json from 'rollup-plugin-json';
6
+
7
+ const pkg = require('./package.json');
8
+
9
+ const banner = `/*
10
+ * ${pkg.name} ${pkg.version} <${pkg.homepage}>
11
+ * Copyright (c) ${(new Date()).getFullYear()} ${pkg.author.name} <${pkg.author.url}>
12
+ * Released under ${pkg.license} License
13
+ */`;
14
+
15
+ export default {
16
+ input: `src/index.ts`,
17
+ output: [
18
+ { file: pkg.main, name: pkg.name, format: 'umd', banner, sourcemap: true },
19
+ { file: pkg.module, format: 'esm', banner, sourcemap: true },
20
+ ],
21
+ external: [],
22
+ watch: {
23
+ include: 'src/**',
24
+ },
25
+ plugins: [
26
+ // Allow node_modules resolution, so you can use 'external' to control
27
+ // which external modules to include in the bundle
28
+ // https://github.com/rollup/rollup-plugin-node-resolve#usage
29
+ resolve(),
30
+ // Allow json resolution
31
+ json(),
32
+ // Compile TypeScript files
33
+ typescript({ sourceMap: true, inlineSources: true }),
34
+ // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
35
+ commonjs(),
36
+
37
+ // Resolve source maps to the original source
38
+ sourceMaps(),
39
+ ],
40
+ }
@@ -0,0 +1,58 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ # [2.1.0](https://github.com/niklasvh/css-line-break/compare/v2.0.1...v2.1.0) (2022-01-22)
6
+
7
+
8
+ ### feat
9
+
10
+ * update to use utrie dep (#20) ([18adab4](https://github.com/niklasvh/css-line-break/commit/18adab4010b54bb73add4f23c3325b27c2c13d91)), closes [#20](https://github.com/niklasvh/css-line-break/issues/20)
11
+
12
+ ### fix
13
+
14
+ * source maps (#19) ([60cdede](https://github.com/niklasvh/css-line-break/commit/60cdedeaa025f685fc7002653f390233becce128)), closes [#19](https://github.com/niklasvh/css-line-break/issues/19)
15
+
16
+
17
+
18
+ ## [2.0.1](https://github.com/niklasvh/css-line-break/compare/v2.0.0...v2.0.1) (2021-08-04)
19
+
20
+
21
+ ### fix
22
+
23
+ * wordBreak break-word (#17) ([d615f1f](https://github.com/niklasvh/css-line-break/commit/d615f1f731c9074035d0dab843a17a64080ba7ba)), closes [#17](https://github.com/niklasvh/css-line-break/issues/17)
24
+
25
+
26
+
27
+ # [2.0.0](https://github.com/niklasvh/css-line-break/compare/v1.1.3-0...v2.0.0) (2021-08-02)
28
+
29
+
30
+ ### fix
31
+
32
+ * zwj emojis #2 (#16) ([a314ea3](https://github.com/niklasvh/css-line-break/commit/a314ea33768cde9dab4e673d3339d6b4f9c32196)), closes [#2](https://github.com/niklasvh/css-line-break/issues/2) [#16](https://github.com/niklasvh/css-line-break/issues/16)
33
+
34
+
35
+
36
+ ## [1.1.3-0](https://github.com/niklasvh/css-line-break/compare/v1.1.2-0...v1.1.3-0) (2021-07-15)
37
+
38
+
39
+ ### deps
40
+
41
+ * update deps (#14) ([330cb73](https://github.com/niklasvh/css-line-break/commit/330cb734f635d4d5e0d61ea991651d6d49b03054)), closes [#14](https://github.com/niklasvh/css-line-break/issues/14)
42
+
43
+ ### docs
44
+
45
+ * fix readme (#13) ([1f4a330](https://github.com/niklasvh/css-line-break/commit/1f4a3300752c8bbf5a0138c7924b231161f1e4ac)), closes [#13](https://github.com/niklasvh/css-line-break/issues/13) [#10](https://github.com/niklasvh/css-line-break/issues/10)
46
+
47
+ ### feat
48
+
49
+ * implement line-break.txt v13 (#15) ([bc95c80](https://github.com/niklasvh/css-line-break/commit/bc95c809e12613a9531b7985450c6bc96717e8de)), closes [#15](https://github.com/niklasvh/css-line-break/issues/15)
50
+
51
+
52
+
53
+ ## [1.1.2-0](https://github.com/niklasvh/css-line-break/compare/v1.1.1...v1.1.2-0) (2021-07-04)
54
+
55
+
56
+ ### ci
57
+
58
+ * update to use github actions (#12) ([7aed118](https://github.com/niklasvh/css-line-break/commit/7aed11880975b6faf6e46caed93b6d225babd943)), closes [#12](https://github.com/niklasvh/css-line-break/issues/12)
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2017 Niklas von Hertzen
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,66 @@
1
+ css-line-break
2
+ ==============
3
+
4
+ ![CI](https://github.com/niklasvh/css-line-break/workflows/CI/badge.svg?branch=master)
5
+ [![NPM Downloads](https://img.shields.io/npm/dm/css-line-break.svg)](https://www.npmjs.org/package/css-line-break)
6
+ [![NPM Version](https://img.shields.io/npm/v/css-line-break.svg)](https://www.npmjs.org/package/css-line-break)
7
+
8
+ A JavaScript library for Line Breaking and identifying Word Boundaries,
9
+ [implementing the Unicode Line Breaking Algorithm (UAX #14)](http://unicode.org/reports/tr14/)
10
+
11
+ >> Line breaking, also known as word wrapping, is the process of breaking a section of text into
12
+ lines such that it will fit in the available width of a page, window or other display area.
13
+ The Unicode Line Breaking Algorithm performs part of this process. Given an input text,
14
+ it produces a set of positions called "break opportunities" that are appropriate points to
15
+ begin a new line. The selection of actual line break positions from the set of break opportunities
16
+ is not covered by the Unicode Line Breaking Algorithm, but is in the domain of higher level
17
+ software with knowledge of the available width and the display size of the text.
18
+
19
+ In addition, the module implements CSS specific tailoring options to line breaking as
20
+ defined in [CSS Text Module Level 3](https://www.w3.org/TR/css-text-3/#line-breaking).
21
+
22
+ ### Installing
23
+ You can install the module via npm:
24
+
25
+ npm install css-line-break
26
+
27
+ ### Usage
28
+ The `LineBreaker` creates an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators) that returns `Break`s for a given text.
29
+
30
+ LineBreaker(text, [options]);
31
+
32
+ ### Example
33
+ [JSFiddle](https://jsfiddle.net/ofd3752k)
34
+ ```javascript
35
+ import {LineBreaker} from 'css-line-break';
36
+
37
+ const breaker = LineBreaker('Lorem ipsum lol.', {
38
+ lineBreak: 'strict',
39
+ wordBreak: 'normal'
40
+ });
41
+
42
+ const words = [];
43
+ let bk;
44
+
45
+ while (!(bk = breaker.next()).done) {
46
+ words.push(bk.value.slice());
47
+ }
48
+
49
+ assert.deepEqual(words, ['Lorem ', 'ipsum ', 'lol.']);
50
+ ```
51
+ ### Options
52
+ The following parameters are available for the options:
53
+
54
+ - `lineBreak`: `normal` | `strict`
55
+ - `wordBreak`: `normal` | `break-all` | `break-word` | `keep-all`
56
+
57
+ For more information how they affect the line breaking algorithms,
58
+ check out [CSS Text Module Level 3](https://www.w3.org/TR/css-text-3/#line-breaking).
59
+
60
+ ### Testing
61
+ You can run the test suite with:
62
+
63
+ npm test
64
+
65
+ The library implements all the [LineBreakTest.txt tests](http://www.unicode.org/Public/10.0.0/ucd/auxiliary/LineBreakTest.txt)
66
+ and a number of CSS web-platform-tests.