peerpigeon 1.1.1 → 1.1.2

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 (825) hide show
  1. package/dist/peerpigeon-browser.js +20 -19
  2. package/dist/peerpigeon-browser.js.map +2 -2
  3. package/examples/browser/{index.html → vanilla/index.html} +2 -2
  4. package/examples/{browser-2/dist → browser/vanilla}/peerpigeon-browser.js +882 -43
  5. package/examples/browser/vanilla/pigeonlogo.svg +51 -0
  6. package/examples/browser/vue/dist/assets/index-DJmfz_4i.js +57 -0
  7. package/examples/browser/vue/dist/assets/index-zmUJURg4.css +1 -0
  8. package/examples/{browser-2 → browser/vue}/dist/index.html +2 -2
  9. package/examples/{browser-2/public → browser/vue/dist}/peerpigeon-browser.js +882 -43
  10. package/examples/browser/vue/dist/pigeonlogo.svg +51 -0
  11. package/examples/browser/vue/node_modules/.package-lock.json +1305 -0
  12. package/examples/browser/vue/node_modules/.vue-global-types/vue_99_0.d.ts +136 -0
  13. package/examples/browser/vue/node_modules/@babel/helper-string-parser/LICENSE +22 -0
  14. package/examples/browser/vue/node_modules/@babel/helper-string-parser/README.md +19 -0
  15. package/examples/browser/vue/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
  16. package/examples/browser/vue/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
  17. package/examples/browser/vue/node_modules/@babel/helper-string-parser/package.json +31 -0
  18. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  19. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  20. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  21. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  22. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  23. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  24. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  25. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  26. package/examples/browser/vue/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  27. package/examples/browser/vue/node_modules/@babel/parser/CHANGELOG.md +1073 -0
  28. package/examples/browser/vue/node_modules/@babel/parser/LICENSE +19 -0
  29. package/examples/browser/vue/node_modules/@babel/parser/README.md +19 -0
  30. package/examples/browser/vue/node_modules/@babel/parser/bin/babel-parser.js +15 -0
  31. package/examples/browser/vue/node_modules/@babel/parser/lib/index.js +14595 -0
  32. package/examples/browser/vue/node_modules/@babel/parser/lib/index.js.map +1 -0
  33. package/examples/browser/vue/node_modules/@babel/parser/package.json +50 -0
  34. package/examples/browser/vue/node_modules/@babel/parser/typings/babel-parser.d.ts +239 -0
  35. package/examples/browser/vue/node_modules/@babel/types/LICENSE +22 -0
  36. package/examples/browser/vue/node_modules/@babel/types/README.md +19 -0
  37. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
  38. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
  39. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/generated/index.js +1251 -0
  40. package/examples/browser/vue/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
  41. package/examples/browser/vue/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
  42. package/examples/browser/vue/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
  43. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
  44. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
  45. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
  46. package/examples/browser/vue/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
  47. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/index.js +29 -0
  48. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
  49. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/lowercase.js +2896 -0
  50. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
  51. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/uppercase.js +274 -0
  52. package/examples/browser/vue/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
  53. package/examples/browser/vue/node_modules/@babel/types/lib/builders/productions.js +12 -0
  54. package/examples/browser/vue/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
  55. package/examples/browser/vue/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
  56. package/examples/browser/vue/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
  57. package/examples/browser/vue/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
  58. package/examples/browser/vue/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
  59. package/examples/browser/vue/node_modules/@babel/types/lib/builders/validateNode.js +21 -0
  60. package/examples/browser/vue/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
  61. package/examples/browser/vue/node_modules/@babel/types/lib/clone/clone.js +12 -0
  62. package/examples/browser/vue/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
  63. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
  64. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
  65. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
  66. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
  67. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneNode.js +107 -0
  68. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
  69. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
  70. package/examples/browser/vue/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
  71. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComment.js +15 -0
  72. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
  73. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComments.js +22 -0
  74. package/examples/browser/vue/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
  75. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
  76. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
  77. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
  78. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
  79. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
  80. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
  81. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
  82. package/examples/browser/vue/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
  83. package/examples/browser/vue/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
  84. package/examples/browser/vue/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
  85. package/examples/browser/vue/node_modules/@babel/types/lib/constants/generated/index.js +60 -0
  86. package/examples/browser/vue/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
  87. package/examples/browser/vue/node_modules/@babel/types/lib/constants/index.js +33 -0
  88. package/examples/browser/vue/node_modules/@babel/types/lib/constants/index.js.map +1 -0
  89. package/examples/browser/vue/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
  90. package/examples/browser/vue/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
  91. package/examples/browser/vue/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +66 -0
  92. package/examples/browser/vue/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
  93. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
  94. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
  95. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
  96. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
  97. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
  98. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
  99. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toExpression.js +28 -0
  100. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
  101. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
  102. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
  103. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
  104. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
  105. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toSequenceExpression.js +20 -0
  106. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
  107. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
  108. package/examples/browser/vue/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
  109. package/examples/browser/vue/node_modules/@babel/types/lib/converters/valueToNode.js +89 -0
  110. package/examples/browser/vue/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
  111. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/core.js +1659 -0
  112. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
  113. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
  114. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
  115. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/experimental.js +126 -0
  116. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
  117. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/flow.js +495 -0
  118. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
  119. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/index.js +100 -0
  120. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
  121. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/jsx.js +157 -0
  122. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
  123. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/misc.js +33 -0
  124. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
  125. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
  126. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
  127. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/typescript.js +528 -0
  128. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
  129. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/utils.js +292 -0
  130. package/examples/browser/vue/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
  131. package/examples/browser/vue/node_modules/@babel/types/lib/index-legacy.d.ts +2797 -0
  132. package/examples/browser/vue/node_modules/@babel/types/lib/index.d.ts +3308 -0
  133. package/examples/browser/vue/node_modules/@babel/types/lib/index.js +584 -0
  134. package/examples/browser/vue/node_modules/@babel/types/lib/index.js.flow +2650 -0
  135. package/examples/browser/vue/node_modules/@babel/types/lib/index.js.map +1 -0
  136. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
  137. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
  138. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
  139. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
  140. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
  141. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
  142. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
  143. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
  144. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
  145. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
  146. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
  147. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
  148. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +66 -0
  149. package/examples/browser/vue/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
  150. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +48 -0
  151. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +1 -0
  152. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +102 -0
  153. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
  154. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getFunctionName.js +63 -0
  155. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +1 -0
  156. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
  157. package/examples/browser/vue/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
  158. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
  159. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
  160. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverseFast.js +40 -0
  161. package/examples/browser/vue/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
  162. package/examples/browser/vue/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
  163. package/examples/browser/vue/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
  164. package/examples/browser/vue/node_modules/@babel/types/lib/utils/inherit.js +13 -0
  165. package/examples/browser/vue/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
  166. package/examples/browser/vue/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
  167. package/examples/browser/vue/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
  168. package/examples/browser/vue/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
  169. package/examples/browser/vue/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
  170. package/examples/browser/vue/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
  171. package/examples/browser/vue/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
  172. package/examples/browser/vue/node_modules/@babel/types/lib/validators/generated/index.js +2797 -0
  173. package/examples/browser/vue/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
  174. package/examples/browser/vue/node_modules/@babel/types/lib/validators/is.js +27 -0
  175. package/examples/browser/vue/node_modules/@babel/types/lib/validators/is.js.map +1 -0
  176. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
  177. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
  178. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
  179. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
  180. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
  181. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
  182. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isLet.js +17 -0
  183. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
  184. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNode.js +12 -0
  185. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
  186. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
  187. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
  188. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isPlaceholderType.js +15 -0
  189. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
  190. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
  191. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
  192. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isScope.js +18 -0
  193. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
  194. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
  195. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
  196. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isType.js +17 -0
  197. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
  198. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
  199. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
  200. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
  201. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
  202. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isVar.js +19 -0
  203. package/examples/browser/vue/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
  204. package/examples/browser/vue/node_modules/@babel/types/lib/validators/matchesPattern.js +44 -0
  205. package/examples/browser/vue/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
  206. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
  207. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
  208. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
  209. package/examples/browser/vue/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
  210. package/examples/browser/vue/node_modules/@babel/types/lib/validators/validate.js +42 -0
  211. package/examples/browser/vue/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
  212. package/examples/browser/vue/node_modules/@babel/types/package.json +39 -0
  213. package/examples/browser/vue/node_modules/@esbuild/darwin-arm64/README.md +3 -0
  214. package/examples/browser/vue/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
  215. package/examples/browser/vue/node_modules/@esbuild/darwin-arm64/package.json +20 -0
  216. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/LICENSE +19 -0
  217. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
  218. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +423 -0
  219. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +6 -0
  220. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +464 -0
  221. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +6 -0
  222. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
  223. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +345 -0
  224. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +111 -0
  225. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/strings.ts +65 -0
  226. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +55 -0
  227. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts +50 -0
  228. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +1 -0
  229. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
  230. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +1 -0
  231. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +9 -0
  232. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +1 -0
  233. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
  234. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +1 -0
  235. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts +16 -0
  236. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map +1 -0
  237. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
  238. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map +1 -0
  239. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +7 -0
  240. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +1 -0
  241. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
  242. package/examples/browser/vue/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +1 -0
  243. package/examples/browser/vue/node_modules/@rollup/rollup-darwin-arm64/README.md +3 -0
  244. package/examples/browser/vue/node_modules/@rollup/rollup-darwin-arm64/package.json +22 -0
  245. package/examples/browser/vue/node_modules/@rollup/rollup-darwin-arm64/rollup.darwin-arm64.node +0 -0
  246. package/examples/browser/vue/node_modules/@types/estree/LICENSE +21 -0
  247. package/examples/browser/vue/node_modules/@types/estree/README.md +15 -0
  248. package/examples/browser/vue/node_modules/@types/estree/flow.d.ts +167 -0
  249. package/examples/browser/vue/node_modules/@types/estree/index.d.ts +694 -0
  250. package/examples/browser/vue/node_modules/@types/estree/package.json +27 -0
  251. package/examples/browser/vue/node_modules/@types/web-bluetooth/LICENSE +21 -0
  252. package/examples/browser/vue/node_modules/@types/web-bluetooth/README.md +15 -0
  253. package/examples/browser/vue/node_modules/@types/web-bluetooth/index.d.ts +193 -0
  254. package/examples/browser/vue/node_modules/@types/web-bluetooth/package.json +40 -0
  255. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/LICENSE +21 -0
  256. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/README.md +278 -0
  257. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.cjs +3105 -0
  258. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.d.cts +113 -0
  259. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.d.mts +111 -0
  260. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.d.ts +113 -0
  261. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/dist/index.mjs +3090 -0
  262. package/examples/browser/vue/node_modules/@vitejs/plugin-vue/package.json +50 -0
  263. package/examples/browser/vue/node_modules/@vue/compiler-core/LICENSE +21 -0
  264. package/examples/browser/vue/node_modules/@vue/compiler-core/README.md +1 -0
  265. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js +6864 -0
  266. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6741 -0
  267. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1096 -0
  268. package/examples/browser/vue/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +5814 -0
  269. package/examples/browser/vue/node_modules/@vue/compiler-core/index.js +7 -0
  270. package/examples/browser/vue/node_modules/@vue/compiler-core/package.json +58 -0
  271. package/examples/browser/vue/node_modules/@vue/compiler-dom/LICENSE +21 -0
  272. package/examples/browser/vue/node_modules/@vue/compiler-dom/README.md +1 -0
  273. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js +934 -0
  274. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  275. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +45 -0
  276. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.js +6623 -0
  277. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js +14 -0
  278. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +690 -0
  279. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.global.js +6790 -0
  280. package/examples/browser/vue/node_modules/@vue/compiler-dom/dist/compiler-dom.global.prod.js +14 -0
  281. package/examples/browser/vue/node_modules/@vue/compiler-dom/index.js +7 -0
  282. package/examples/browser/vue/node_modules/@vue/compiler-dom/package.json +57 -0
  283. package/examples/browser/vue/node_modules/@vue/compiler-sfc/LICENSE +21 -0
  284. package/examples/browser/vue/node_modules/@vue/compiler-sfc/README.md +80 -0
  285. package/examples/browser/vue/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +25084 -0
  286. package/examples/browser/vue/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +485 -0
  287. package/examples/browser/vue/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +50571 -0
  288. package/examples/browser/vue/node_modules/@vue/compiler-sfc/package.json +67 -0
  289. package/examples/browser/vue/node_modules/@vue/compiler-ssr/LICENSE +21 -0
  290. package/examples/browser/vue/node_modules/@vue/compiler-ssr/README.md +1 -0
  291. package/examples/browser/vue/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1411 -0
  292. package/examples/browser/vue/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -0
  293. package/examples/browser/vue/node_modules/@vue/compiler-ssr/package.json +34 -0
  294. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  295. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  296. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  297. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  298. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  299. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  300. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  301. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  302. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  303. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  304. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  305. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  306. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  307. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
  308. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/api.js +1 -0
  309. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
  310. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/app.js +1 -0
  311. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +78 -0
  312. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/component.js +1 -0
  313. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
  314. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/context.js +1 -0
  315. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +180 -0
  316. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/hooks.js +1 -0
  317. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
  318. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/index.js +6 -0
  319. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
  320. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/api/util.js +1 -0
  321. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
  322. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/const.js +2 -0
  323. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
  324. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
  325. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
  326. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/index.js +27 -0
  327. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
  328. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/plugin.js +1 -0
  329. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
  330. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/proxy.js +107 -0
  331. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
  332. package/examples/browser/vue/node_modules/@vue/devtools-api/lib/esm/time.js +23 -0
  333. package/examples/browser/vue/node_modules/@vue/devtools-api/package.json +37 -0
  334. package/examples/browser/vue/node_modules/@vue/reactivity/LICENSE +21 -0
  335. package/examples/browser/vue/node_modules/@vue/reactivity/README.md +19 -0
  336. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.cjs.js +1963 -0
  337. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1807 -0
  338. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.d.ts +757 -0
  339. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.esm-browser.js +1961 -0
  340. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.esm-browser.prod.js +5 -0
  341. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +1920 -0
  342. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.global.js +2017 -0
  343. package/examples/browser/vue/node_modules/@vue/reactivity/dist/reactivity.global.prod.js +5 -0
  344. package/examples/browser/vue/node_modules/@vue/reactivity/index.js +7 -0
  345. package/examples/browser/vue/node_modules/@vue/reactivity/package.json +55 -0
  346. package/examples/browser/vue/node_modules/@vue/runtime-core/LICENSE +21 -0
  347. package/examples/browser/vue/node_modules/@vue/runtime-core/README.md +28 -0
  348. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js +8586 -0
  349. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6732 -0
  350. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1839 -0
  351. package/examples/browser/vue/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +8515 -0
  352. package/examples/browser/vue/node_modules/@vue/runtime-core/index.js +7 -0
  353. package/examples/browser/vue/node_modules/@vue/runtime-core/package.json +52 -0
  354. package/examples/browser/vue/node_modules/@vue/runtime-dom/LICENSE +21 -0
  355. package/examples/browser/vue/node_modules/@vue/runtime-dom/README.md +13 -0
  356. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js +1851 -0
  357. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1703 -0
  358. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1409 -0
  359. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +12499 -0
  360. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +6 -0
  361. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +1892 -0
  362. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.global.js +12550 -0
  363. package/examples/browser/vue/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js +6 -0
  364. package/examples/browser/vue/node_modules/@vue/runtime-dom/index.js +7 -0
  365. package/examples/browser/vue/node_modules/@vue/runtime-dom/package.json +60 -0
  366. package/examples/browser/vue/node_modules/@vue/server-renderer/LICENSE +21 -0
  367. package/examples/browser/vue/node_modules/@vue/server-renderer/README.md +178 -0
  368. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js +1151 -0
  369. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
  370. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +65 -0
  371. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.js +8488 -0
  372. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.prod.js +5 -0
  373. package/examples/browser/vue/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +1088 -0
  374. package/examples/browser/vue/node_modules/@vue/server-renderer/index.js +7 -0
  375. package/examples/browser/vue/node_modules/@vue/server-renderer/package.json +55 -0
  376. package/examples/browser/vue/node_modules/@vue/shared/LICENSE +21 -0
  377. package/examples/browser/vue/node_modules/@vue/shared/README.md +3 -0
  378. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.cjs.js +612 -0
  379. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  380. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.d.ts +334 -0
  381. package/examples/browser/vue/node_modules/@vue/shared/dist/shared.esm-bundler.js +536 -0
  382. package/examples/browser/vue/node_modules/@vue/shared/index.js +7 -0
  383. package/examples/browser/vue/node_modules/@vue/shared/package.json +47 -0
  384. package/examples/browser/vue/node_modules/@vueuse/core/LICENSE +21 -0
  385. package/examples/browser/vue/node_modules/@vueuse/core/README.md +124 -0
  386. package/examples/browser/vue/node_modules/@vueuse/core/index.cjs +7660 -0
  387. package/examples/browser/vue/node_modules/@vueuse/core/index.d.cts +5382 -0
  388. package/examples/browser/vue/node_modules/@vueuse/core/index.d.mts +5382 -0
  389. package/examples/browser/vue/node_modules/@vueuse/core/index.d.ts +5382 -0
  390. package/examples/browser/vue/node_modules/@vueuse/core/index.iife.js +7780 -0
  391. package/examples/browser/vue/node_modules/@vueuse/core/index.iife.min.js +1 -0
  392. package/examples/browser/vue/node_modules/@vueuse/core/index.mjs +7486 -0
  393. package/examples/browser/vue/node_modules/@vueuse/core/metadata.cjs +1 -0
  394. package/examples/browser/vue/node_modules/@vueuse/core/metadata.d.cts +1 -0
  395. package/examples/browser/vue/node_modules/@vueuse/core/metadata.d.mts +1 -0
  396. package/examples/browser/vue/node_modules/@vueuse/core/metadata.d.ts +1 -0
  397. package/examples/browser/vue/node_modules/@vueuse/core/metadata.mjs +1 -0
  398. package/examples/browser/vue/node_modules/@vueuse/core/package.json +45 -0
  399. package/examples/browser/vue/node_modules/@vueuse/metadata/LICENSE +21 -0
  400. package/examples/browser/vue/node_modules/@vueuse/metadata/index.cjs +2638 -0
  401. package/examples/browser/vue/node_modules/@vueuse/metadata/index.d.cts +76 -0
  402. package/examples/browser/vue/node_modules/@vueuse/metadata/index.d.mts +76 -0
  403. package/examples/browser/vue/node_modules/@vueuse/metadata/index.d.ts +76 -0
  404. package/examples/browser/vue/node_modules/@vueuse/metadata/index.json +2584 -0
  405. package/examples/browser/vue/node_modules/@vueuse/metadata/index.mjs +2626 -0
  406. package/examples/browser/vue/node_modules/@vueuse/metadata/package.json +39 -0
  407. package/examples/browser/vue/node_modules/@vueuse/shared/LICENSE +21 -0
  408. package/examples/browser/vue/node_modules/@vueuse/shared/index.cjs +1695 -0
  409. package/examples/browser/vue/node_modules/@vueuse/shared/index.d.cts +1221 -0
  410. package/examples/browser/vue/node_modules/@vueuse/shared/index.d.mts +1221 -0
  411. package/examples/browser/vue/node_modules/@vueuse/shared/index.d.ts +1221 -0
  412. package/examples/browser/vue/node_modules/@vueuse/shared/index.iife.js +1816 -0
  413. package/examples/browser/vue/node_modules/@vueuse/shared/index.iife.min.js +1 -0
  414. package/examples/browser/vue/node_modules/@vueuse/shared/index.mjs +1575 -0
  415. package/examples/browser/vue/node_modules/@vueuse/shared/package.json +37 -0
  416. package/examples/browser/vue/node_modules/csstype/LICENSE +19 -0
  417. package/examples/browser/vue/node_modules/csstype/README.md +277 -0
  418. package/examples/browser/vue/node_modules/csstype/index.d.ts +21297 -0
  419. package/examples/browser/vue/node_modules/csstype/index.js.flow +6612 -0
  420. package/examples/browser/vue/node_modules/csstype/package.json +66 -0
  421. package/examples/browser/vue/node_modules/entities/LICENSE +11 -0
  422. package/examples/browser/vue/node_modules/entities/lib/decode.d.ts +211 -0
  423. package/examples/browser/vue/node_modules/entities/lib/decode.d.ts.map +1 -0
  424. package/examples/browser/vue/node_modules/entities/lib/decode.js +536 -0
  425. package/examples/browser/vue/node_modules/entities/lib/decode.js.map +1 -0
  426. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  427. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  428. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.js +76 -0
  429. package/examples/browser/vue/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  430. package/examples/browser/vue/node_modules/entities/lib/encode.d.ts +22 -0
  431. package/examples/browser/vue/node_modules/entities/lib/encode.d.ts.map +1 -0
  432. package/examples/browser/vue/node_modules/entities/lib/encode.js +77 -0
  433. package/examples/browser/vue/node_modules/entities/lib/encode.js.map +1 -0
  434. package/examples/browser/vue/node_modules/entities/lib/escape.d.ts +43 -0
  435. package/examples/browser/vue/node_modules/entities/lib/escape.d.ts.map +1 -0
  436. package/examples/browser/vue/node_modules/entities/lib/escape.js +122 -0
  437. package/examples/browser/vue/node_modules/entities/lib/escape.js.map +1 -0
  438. package/examples/browser/vue/node_modules/entities/lib/esm/decode.d.ts +211 -0
  439. package/examples/browser/vue/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  440. package/examples/browser/vue/node_modules/entities/lib/esm/decode.js +496 -0
  441. package/examples/browser/vue/node_modules/entities/lib/esm/decode.js.map +1 -0
  442. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  443. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  444. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  445. package/examples/browser/vue/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  446. package/examples/browser/vue/node_modules/entities/lib/esm/encode.d.ts +22 -0
  447. package/examples/browser/vue/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  448. package/examples/browser/vue/node_modules/entities/lib/esm/encode.js +69 -0
  449. package/examples/browser/vue/node_modules/entities/lib/esm/encode.js.map +1 -0
  450. package/examples/browser/vue/node_modules/entities/lib/esm/escape.d.ts +43 -0
  451. package/examples/browser/vue/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  452. package/examples/browser/vue/node_modules/entities/lib/esm/escape.js +116 -0
  453. package/examples/browser/vue/node_modules/entities/lib/esm/escape.js.map +1 -0
  454. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  455. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  456. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  457. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  458. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  459. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  460. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  461. package/examples/browser/vue/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  462. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  463. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  464. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  465. package/examples/browser/vue/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  466. package/examples/browser/vue/node_modules/entities/lib/esm/index.d.ts +96 -0
  467. package/examples/browser/vue/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  468. package/examples/browser/vue/node_modules/entities/lib/esm/index.js +99 -0
  469. package/examples/browser/vue/node_modules/entities/lib/esm/index.js.map +1 -0
  470. package/examples/browser/vue/node_modules/entities/lib/esm/package.json +1 -0
  471. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  472. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  473. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  474. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  475. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  476. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  477. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  478. package/examples/browser/vue/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  479. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  480. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  481. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.js +12 -0
  482. package/examples/browser/vue/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  483. package/examples/browser/vue/node_modules/entities/lib/index.d.ts +96 -0
  484. package/examples/browser/vue/node_modules/entities/lib/index.d.ts.map +1 -0
  485. package/examples/browser/vue/node_modules/entities/lib/index.js +126 -0
  486. package/examples/browser/vue/node_modules/entities/lib/index.js.map +1 -0
  487. package/examples/browser/vue/node_modules/entities/package.json +90 -0
  488. package/examples/browser/vue/node_modules/entities/readme.md +122 -0
  489. package/examples/browser/vue/node_modules/esbuild/LICENSE.md +21 -0
  490. package/examples/browser/vue/node_modules/esbuild/README.md +3 -0
  491. package/examples/browser/vue/node_modules/esbuild/bin/esbuild +0 -0
  492. package/examples/browser/vue/node_modules/esbuild/install.js +285 -0
  493. package/examples/browser/vue/node_modules/esbuild/lib/main.d.ts +705 -0
  494. package/examples/browser/vue/node_modules/esbuild/lib/main.js +2239 -0
  495. package/examples/browser/vue/node_modules/esbuild/package.json +46 -0
  496. package/examples/browser/vue/node_modules/estree-walker/CHANGELOG.md +92 -0
  497. package/examples/browser/vue/node_modules/estree-walker/LICENSE +7 -0
  498. package/examples/browser/vue/node_modules/estree-walker/README.md +48 -0
  499. package/examples/browser/vue/node_modules/estree-walker/dist/esm/estree-walker.js +333 -0
  500. package/examples/browser/vue/node_modules/estree-walker/dist/esm/package.json +1 -0
  501. package/examples/browser/vue/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  502. package/examples/browser/vue/node_modules/estree-walker/package.json +37 -0
  503. package/examples/browser/vue/node_modules/estree-walker/src/async.js +118 -0
  504. package/examples/browser/vue/node_modules/estree-walker/src/index.js +35 -0
  505. package/examples/browser/vue/node_modules/estree-walker/src/package.json +1 -0
  506. package/examples/browser/vue/node_modules/estree-walker/src/sync.js +118 -0
  507. package/examples/browser/vue/node_modules/estree-walker/src/walker.js +61 -0
  508. package/examples/browser/vue/node_modules/estree-walker/types/async.d.ts +53 -0
  509. package/examples/browser/vue/node_modules/estree-walker/types/index.d.ts +56 -0
  510. package/examples/browser/vue/node_modules/estree-walker/types/sync.d.ts +53 -0
  511. package/examples/browser/vue/node_modules/estree-walker/types/tsconfig.tsbuildinfo +345 -0
  512. package/examples/browser/vue/node_modules/estree-walker/types/walker.d.ts +37 -0
  513. package/examples/browser/vue/node_modules/fsevents/LICENSE +22 -0
  514. package/examples/browser/vue/node_modules/fsevents/README.md +89 -0
  515. package/examples/browser/vue/node_modules/fsevents/fsevents.d.ts +46 -0
  516. package/examples/browser/vue/node_modules/fsevents/fsevents.js +83 -0
  517. package/examples/browser/vue/node_modules/fsevents/fsevents.node +0 -0
  518. package/examples/browser/vue/node_modules/fsevents/package.json +62 -0
  519. package/examples/browser/vue/node_modules/magic-string/LICENSE +7 -0
  520. package/examples/browser/vue/node_modules/magic-string/README.md +324 -0
  521. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.cjs.d.ts +289 -0
  522. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.cjs.js +1594 -0
  523. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -0
  524. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
  525. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.es.mjs +1588 -0
  526. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
  527. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.umd.js +1682 -0
  528. package/examples/browser/vue/node_modules/magic-string/dist/magic-string.umd.js.map +1 -0
  529. package/examples/browser/vue/node_modules/magic-string/package.json +70 -0
  530. package/examples/browser/vue/node_modules/nanoid/LICENSE +20 -0
  531. package/examples/browser/vue/node_modules/nanoid/README.md +39 -0
  532. package/examples/browser/vue/node_modules/nanoid/async/index.browser.cjs +69 -0
  533. package/examples/browser/vue/node_modules/nanoid/async/index.browser.js +34 -0
  534. package/examples/browser/vue/node_modules/nanoid/async/index.cjs +71 -0
  535. package/examples/browser/vue/node_modules/nanoid/async/index.d.ts +56 -0
  536. package/examples/browser/vue/node_modules/nanoid/async/index.js +35 -0
  537. package/examples/browser/vue/node_modules/nanoid/async/index.native.js +26 -0
  538. package/examples/browser/vue/node_modules/nanoid/async/package.json +12 -0
  539. package/examples/browser/vue/node_modules/nanoid/bin/nanoid.cjs +55 -0
  540. package/examples/browser/vue/node_modules/nanoid/index.browser.cjs +72 -0
  541. package/examples/browser/vue/node_modules/nanoid/index.browser.js +34 -0
  542. package/examples/browser/vue/node_modules/nanoid/index.cjs +85 -0
  543. package/examples/browser/vue/node_modules/nanoid/index.d.cts +91 -0
  544. package/examples/browser/vue/node_modules/nanoid/index.d.ts +91 -0
  545. package/examples/browser/vue/node_modules/nanoid/index.js +45 -0
  546. package/examples/browser/vue/node_modules/nanoid/nanoid.js +1 -0
  547. package/examples/browser/vue/node_modules/nanoid/non-secure/index.cjs +34 -0
  548. package/examples/browser/vue/node_modules/nanoid/non-secure/index.d.ts +33 -0
  549. package/examples/browser/vue/node_modules/nanoid/non-secure/index.js +21 -0
  550. package/examples/browser/vue/node_modules/nanoid/non-secure/package.json +6 -0
  551. package/examples/browser/vue/node_modules/nanoid/package.json +89 -0
  552. package/examples/browser/vue/node_modules/nanoid/url-alphabet/index.cjs +7 -0
  553. package/examples/browser/vue/node_modules/nanoid/url-alphabet/index.js +3 -0
  554. package/examples/browser/vue/node_modules/nanoid/url-alphabet/package.json +6 -0
  555. package/examples/browser/vue/node_modules/picocolors/LICENSE +15 -0
  556. package/examples/browser/vue/node_modules/picocolors/README.md +21 -0
  557. package/examples/browser/vue/node_modules/picocolors/package.json +25 -0
  558. package/examples/browser/vue/node_modules/picocolors/picocolors.browser.js +4 -0
  559. package/examples/browser/vue/node_modules/picocolors/picocolors.d.ts +5 -0
  560. package/examples/browser/vue/node_modules/picocolors/picocolors.js +75 -0
  561. package/examples/browser/vue/node_modules/picocolors/types.d.ts +51 -0
  562. package/examples/browser/vue/node_modules/pinia/LICENSE +21 -0
  563. package/examples/browser/vue/node_modules/pinia/README.md +24 -0
  564. package/examples/browser/vue/node_modules/pinia/dist/pinia.cjs +2061 -0
  565. package/examples/browser/vue/node_modules/pinia/dist/pinia.d.ts +1074 -0
  566. package/examples/browser/vue/node_modules/pinia/dist/pinia.esm-browser.js +2036 -0
  567. package/examples/browser/vue/node_modules/pinia/dist/pinia.iife.js +2223 -0
  568. package/examples/browser/vue/node_modules/pinia/dist/pinia.iife.prod.js +7 -0
  569. package/examples/browser/vue/node_modules/pinia/dist/pinia.mjs +2044 -0
  570. package/examples/browser/vue/node_modules/pinia/dist/pinia.prod.cjs +846 -0
  571. package/examples/browser/vue/node_modules/pinia/index.cjs +7 -0
  572. package/examples/browser/vue/node_modules/pinia/index.js +7 -0
  573. package/examples/browser/vue/node_modules/pinia/package.json +96 -0
  574. package/examples/browser/vue/node_modules/postcss/LICENSE +20 -0
  575. package/examples/browser/vue/node_modules/postcss/README.md +29 -0
  576. package/examples/browser/vue/node_modules/postcss/lib/at-rule.d.ts +140 -0
  577. package/examples/browser/vue/node_modules/postcss/lib/at-rule.js +25 -0
  578. package/examples/browser/vue/node_modules/postcss/lib/comment.d.ts +68 -0
  579. package/examples/browser/vue/node_modules/postcss/lib/comment.js +13 -0
  580. package/examples/browser/vue/node_modules/postcss/lib/container.d.ts +483 -0
  581. package/examples/browser/vue/node_modules/postcss/lib/container.js +447 -0
  582. package/examples/browser/vue/node_modules/postcss/lib/css-syntax-error.d.ts +248 -0
  583. package/examples/browser/vue/node_modules/postcss/lib/css-syntax-error.js +133 -0
  584. package/examples/browser/vue/node_modules/postcss/lib/declaration.d.ts +151 -0
  585. package/examples/browser/vue/node_modules/postcss/lib/declaration.js +24 -0
  586. package/examples/browser/vue/node_modules/postcss/lib/document.d.ts +69 -0
  587. package/examples/browser/vue/node_modules/postcss/lib/document.js +33 -0
  588. package/examples/browser/vue/node_modules/postcss/lib/fromJSON.d.ts +9 -0
  589. package/examples/browser/vue/node_modules/postcss/lib/fromJSON.js +54 -0
  590. package/examples/browser/vue/node_modules/postcss/lib/input.d.ts +227 -0
  591. package/examples/browser/vue/node_modules/postcss/lib/input.js +265 -0
  592. package/examples/browser/vue/node_modules/postcss/lib/lazy-result.d.ts +190 -0
  593. package/examples/browser/vue/node_modules/postcss/lib/lazy-result.js +550 -0
  594. package/examples/browser/vue/node_modules/postcss/lib/list.d.ts +60 -0
  595. package/examples/browser/vue/node_modules/postcss/lib/list.js +58 -0
  596. package/examples/browser/vue/node_modules/postcss/lib/map-generator.js +368 -0
  597. package/examples/browser/vue/node_modules/postcss/lib/no-work-result.d.ts +46 -0
  598. package/examples/browser/vue/node_modules/postcss/lib/no-work-result.js +138 -0
  599. package/examples/browser/vue/node_modules/postcss/lib/node.d.ts +556 -0
  600. package/examples/browser/vue/node_modules/postcss/lib/node.js +449 -0
  601. package/examples/browser/vue/node_modules/postcss/lib/parse.d.ts +9 -0
  602. package/examples/browser/vue/node_modules/postcss/lib/parse.js +42 -0
  603. package/examples/browser/vue/node_modules/postcss/lib/parser.js +611 -0
  604. package/examples/browser/vue/node_modules/postcss/lib/postcss.d.mts +69 -0
  605. package/examples/browser/vue/node_modules/postcss/lib/postcss.d.ts +458 -0
  606. package/examples/browser/vue/node_modules/postcss/lib/postcss.js +101 -0
  607. package/examples/browser/vue/node_modules/postcss/lib/postcss.mjs +30 -0
  608. package/examples/browser/vue/node_modules/postcss/lib/previous-map.d.ts +81 -0
  609. package/examples/browser/vue/node_modules/postcss/lib/previous-map.js +144 -0
  610. package/examples/browser/vue/node_modules/postcss/lib/processor.d.ts +115 -0
  611. package/examples/browser/vue/node_modules/postcss/lib/processor.js +67 -0
  612. package/examples/browser/vue/node_modules/postcss/lib/result.d.ts +205 -0
  613. package/examples/browser/vue/node_modules/postcss/lib/result.js +42 -0
  614. package/examples/browser/vue/node_modules/postcss/lib/root.d.ts +87 -0
  615. package/examples/browser/vue/node_modules/postcss/lib/root.js +61 -0
  616. package/examples/browser/vue/node_modules/postcss/lib/rule.d.ts +126 -0
  617. package/examples/browser/vue/node_modules/postcss/lib/rule.js +27 -0
  618. package/examples/browser/vue/node_modules/postcss/lib/stringifier.d.ts +46 -0
  619. package/examples/browser/vue/node_modules/postcss/lib/stringifier.js +353 -0
  620. package/examples/browser/vue/node_modules/postcss/lib/stringify.d.ts +9 -0
  621. package/examples/browser/vue/node_modules/postcss/lib/stringify.js +11 -0
  622. package/examples/browser/vue/node_modules/postcss/lib/symbols.js +5 -0
  623. package/examples/browser/vue/node_modules/postcss/lib/terminal-highlight.js +70 -0
  624. package/examples/browser/vue/node_modules/postcss/lib/tokenize.js +266 -0
  625. package/examples/browser/vue/node_modules/postcss/lib/warn-once.js +13 -0
  626. package/examples/browser/vue/node_modules/postcss/lib/warning.d.ts +147 -0
  627. package/examples/browser/vue/node_modules/postcss/lib/warning.js +37 -0
  628. package/examples/browser/vue/node_modules/postcss/package.json +88 -0
  629. package/examples/browser/vue/node_modules/rollup/LICENSE.md +679 -0
  630. package/examples/browser/vue/node_modules/rollup/README.md +134 -0
  631. package/examples/browser/vue/node_modules/rollup/dist/bin/rollup +1912 -0
  632. package/examples/browser/vue/node_modules/rollup/dist/es/getLogFilter.js +64 -0
  633. package/examples/browser/vue/node_modules/rollup/dist/es/package.json +1 -0
  634. package/examples/browser/vue/node_modules/rollup/dist/es/parseAst.js +12 -0
  635. package/examples/browser/vue/node_modules/rollup/dist/es/rollup.js +17 -0
  636. package/examples/browser/vue/node_modules/rollup/dist/es/shared/node-entry.js +23920 -0
  637. package/examples/browser/vue/node_modules/rollup/dist/es/shared/parseAst.js +2086 -0
  638. package/examples/browser/vue/node_modules/rollup/dist/es/shared/watch.js +9297 -0
  639. package/examples/browser/vue/node_modules/rollup/dist/getLogFilter.d.ts +5 -0
  640. package/examples/browser/vue/node_modules/rollup/dist/getLogFilter.js +69 -0
  641. package/examples/browser/vue/node_modules/rollup/dist/loadConfigFile.d.ts +20 -0
  642. package/examples/browser/vue/node_modules/rollup/dist/loadConfigFile.js +29 -0
  643. package/examples/browser/vue/node_modules/rollup/dist/native.js +129 -0
  644. package/examples/browser/vue/node_modules/rollup/dist/parseAst.d.ts +4 -0
  645. package/examples/browser/vue/node_modules/rollup/dist/parseAst.js +22 -0
  646. package/examples/browser/vue/node_modules/rollup/dist/rollup.d.ts +1185 -0
  647. package/examples/browser/vue/node_modules/rollup/dist/rollup.js +127 -0
  648. package/examples/browser/vue/node_modules/rollup/dist/shared/fsevents-importer.js +37 -0
  649. package/examples/browser/vue/node_modules/rollup/dist/shared/index.js +9003 -0
  650. package/examples/browser/vue/node_modules/rollup/dist/shared/loadConfigFile.js +572 -0
  651. package/examples/browser/vue/node_modules/rollup/dist/shared/parseAst.js +2318 -0
  652. package/examples/browser/vue/node_modules/rollup/dist/shared/rollup.js +23842 -0
  653. package/examples/browser/vue/node_modules/rollup/dist/shared/watch-cli.js +542 -0
  654. package/examples/browser/vue/node_modules/rollup/dist/shared/watch.js +324 -0
  655. package/examples/browser/vue/node_modules/rollup/package.json +273 -0
  656. package/examples/browser/vue/node_modules/source-map-js/LICENSE +28 -0
  657. package/examples/browser/vue/node_modules/source-map-js/README.md +765 -0
  658. package/examples/browser/vue/node_modules/source-map-js/lib/array-set.js +121 -0
  659. package/examples/browser/vue/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  660. package/examples/browser/vue/node_modules/source-map-js/lib/base64.js +67 -0
  661. package/examples/browser/vue/node_modules/source-map-js/lib/binary-search.js +111 -0
  662. package/examples/browser/vue/node_modules/source-map-js/lib/mapping-list.js +79 -0
  663. package/examples/browser/vue/node_modules/source-map-js/lib/quick-sort.js +132 -0
  664. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  665. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  666. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  667. package/examples/browser/vue/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  668. package/examples/browser/vue/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  669. package/examples/browser/vue/node_modules/source-map-js/lib/source-node.js +413 -0
  670. package/examples/browser/vue/node_modules/source-map-js/lib/util.js +594 -0
  671. package/examples/browser/vue/node_modules/source-map-js/package.json +71 -0
  672. package/examples/browser/vue/node_modules/source-map-js/source-map.d.ts +104 -0
  673. package/examples/browser/vue/node_modules/source-map-js/source-map.js +8 -0
  674. package/examples/browser/vue/node_modules/vite/LICENSE.md +3423 -0
  675. package/examples/browser/vue/node_modules/vite/README.md +20 -0
  676. package/examples/browser/vue/node_modules/vite/bin/openChrome.applescript +95 -0
  677. package/examples/browser/vue/node_modules/vite/bin/vite.js +61 -0
  678. package/examples/browser/vue/node_modules/vite/client.d.ts +256 -0
  679. package/examples/browser/vue/node_modules/vite/dist/client/client.mjs +829 -0
  680. package/examples/browser/vue/node_modules/vite/dist/client/env.mjs +24 -0
  681. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-D-7KCb9p.js +7960 -0
  682. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-D_zLpgQd.js +67047 -0
  683. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-IQS-Za7F.js +561 -0
  684. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-YkMKzX4u.js +993 -0
  685. package/examples/browser/vue/node_modules/vite/dist/node/chunks/dep-e9kYborm.js +7004 -0
  686. package/examples/browser/vue/node_modules/vite/dist/node/cli.js +917 -0
  687. package/examples/browser/vue/node_modules/vite/dist/node/constants.js +113 -0
  688. package/examples/browser/vue/node_modules/vite/dist/node/index.d.ts +3627 -0
  689. package/examples/browser/vue/node_modules/vite/dist/node/index.js +261 -0
  690. package/examples/browser/vue/node_modules/vite/dist/node/runtime.d.ts +63 -0
  691. package/examples/browser/vue/node_modules/vite/dist/node/runtime.js +1066 -0
  692. package/examples/browser/vue/node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts +281 -0
  693. package/examples/browser/vue/node_modules/vite/dist/node-cjs/publicUtils.cjs +6171 -0
  694. package/examples/browser/vue/node_modules/vite/index.cjs +60 -0
  695. package/examples/browser/vue/node_modules/vite/index.d.cts +6 -0
  696. package/examples/browser/vue/node_modules/vite/package.json +191 -0
  697. package/examples/browser/vue/node_modules/vite/types/customEvent.d.ts +39 -0
  698. package/examples/browser/vue/node_modules/vite/types/hmrPayload.d.ts +65 -0
  699. package/examples/browser/vue/node_modules/vite/types/hot.d.ts +36 -0
  700. package/examples/browser/vue/node_modules/vite/types/import-meta.d.ts +5 -0
  701. package/examples/browser/vue/node_modules/vite/types/importGlob.d.ts +75 -0
  702. package/examples/browser/vue/node_modules/vite/types/importMeta.d.ts +22 -0
  703. package/examples/browser/vue/node_modules/vite/types/metadata.d.ts +10 -0
  704. package/examples/browser/vue/node_modules/vite/types/package.json +4 -0
  705. package/examples/browser/vue/node_modules/vue/LICENSE +21 -0
  706. package/examples/browser/vue/node_modules/vue/README.md +62 -0
  707. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.browser.js +1 -0
  708. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.browser.mjs +1 -0
  709. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.d.mts +1 -0
  710. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.d.ts +1 -0
  711. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.js +3 -0
  712. package/examples/browser/vue/node_modules/vue/compiler-sfc/index.mjs +3 -0
  713. package/examples/browser/vue/node_modules/vue/compiler-sfc/package.json +4 -0
  714. package/examples/browser/vue/node_modules/vue/compiler-sfc/register-ts.js +3 -0
  715. package/examples/browser/vue/node_modules/vue/dist/vue.cjs.js +80 -0
  716. package/examples/browser/vue/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  717. package/examples/browser/vue/node_modules/vue/dist/vue.d.mts +7 -0
  718. package/examples/browser/vue/node_modules/vue/dist/vue.d.ts +7 -0
  719. package/examples/browser/vue/node_modules/vue/dist/vue.esm-browser.js +18392 -0
  720. package/examples/browser/vue/node_modules/vue/dist/vue.esm-browser.prod.js +12 -0
  721. package/examples/browser/vue/node_modules/vue/dist/vue.esm-bundler.js +71 -0
  722. package/examples/browser/vue/node_modules/vue/dist/vue.global.js +18272 -0
  723. package/examples/browser/vue/node_modules/vue/dist/vue.global.prod.js +12 -0
  724. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.esm-browser.js +12522 -0
  725. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.esm-browser.prod.js +6 -0
  726. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.esm-bundler.js +26 -0
  727. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.global.js +12574 -0
  728. package/examples/browser/vue/node_modules/vue/dist/vue.runtime.global.prod.js +6 -0
  729. package/examples/browser/vue/node_modules/vue/index.js +7 -0
  730. package/examples/browser/vue/node_modules/vue/index.mjs +1 -0
  731. package/examples/browser/vue/node_modules/vue/jsx-runtime/index.d.ts +25 -0
  732. package/examples/browser/vue/node_modules/vue/jsx-runtime/index.js +15 -0
  733. package/examples/browser/vue/node_modules/vue/jsx-runtime/index.mjs +12 -0
  734. package/examples/browser/vue/node_modules/vue/jsx-runtime/package.json +5 -0
  735. package/examples/browser/vue/node_modules/vue/jsx.d.ts +22 -0
  736. package/examples/browser/vue/node_modules/vue/package.json +112 -0
  737. package/examples/browser/vue/node_modules/vue/server-renderer/index.d.mts +1 -0
  738. package/examples/browser/vue/node_modules/vue/server-renderer/index.d.ts +1 -0
  739. package/examples/browser/vue/node_modules/vue/server-renderer/index.js +1 -0
  740. package/examples/browser/vue/node_modules/vue/server-renderer/index.mjs +1 -0
  741. package/examples/browser/vue/node_modules/vue/server-renderer/package.json +4 -0
  742. package/examples/browser/vue/node_modules/vue-demi/LICENSE +21 -0
  743. package/examples/browser/vue/node_modules/vue-demi/README.md +229 -0
  744. package/examples/browser/vue/node_modules/vue-demi/bin/vue-demi-fix.js +3 -0
  745. package/examples/browser/vue/node_modules/vue-demi/bin/vue-demi-switch.js +3 -0
  746. package/examples/browser/vue/node_modules/vue-demi/lib/index.cjs +29 -0
  747. package/examples/browser/vue/node_modules/vue-demi/lib/index.d.ts +22 -0
  748. package/examples/browser/vue/node_modules/vue-demi/lib/index.iife.js +126 -0
  749. package/examples/browser/vue/node_modules/vue-demi/lib/index.mjs +34 -0
  750. package/examples/browser/vue/node_modules/vue-demi/lib/v2/index.cjs +34 -0
  751. package/examples/browser/vue/node_modules/vue-demi/lib/v2/index.d.ts +33 -0
  752. package/examples/browser/vue/node_modules/vue-demi/lib/v2/index.mjs +49 -0
  753. package/examples/browser/vue/node_modules/vue-demi/lib/v2.7/index.cjs +60 -0
  754. package/examples/browser/vue/node_modules/vue-demi/lib/v2.7/index.d.ts +38 -0
  755. package/examples/browser/vue/node_modules/vue-demi/lib/v2.7/index.mjs +80 -0
  756. package/examples/browser/vue/node_modules/vue-demi/lib/v3/index.cjs +29 -0
  757. package/examples/browser/vue/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
  758. package/examples/browser/vue/node_modules/vue-demi/lib/v3/index.mjs +34 -0
  759. package/examples/browser/vue/node_modules/vue-demi/package.json +47 -0
  760. package/examples/browser/vue/node_modules/vue-demi/scripts/postinstall.js +19 -0
  761. package/examples/browser/vue/node_modules/vue-demi/scripts/switch-cli.js +18 -0
  762. package/examples/browser/vue/node_modules/vue-demi/scripts/utils.js +62 -0
  763. package/examples/browser/vue/node_modules/vue-router/LICENSE +21 -0
  764. package/examples/browser/vue/node_modules/vue-router/README.md +111 -0
  765. package/examples/browser/vue/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +1218 -0
  766. package/examples/browser/vue/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
  767. package/examples/browser/vue/node_modules/vue-router/dist/experimental/index.mjs +754 -0
  768. package/examples/browser/vue/node_modules/vue-router/dist/router-BbqN7H95.d.mts +1928 -0
  769. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.cjs +2797 -0
  770. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.d.mts +393 -0
  771. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.esm-browser.js +2743 -0
  772. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.esm-browser.prod.js +6 -0
  773. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.esm-bundler.js +2 -0
  774. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.global.js +3040 -0
  775. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.global.prod.js +6 -0
  776. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  777. package/examples/browser/vue/node_modules/vue-router/dist/vue-router.prod.cjs +23 -0
  778. package/examples/browser/vue/node_modules/vue-router/index.js +7 -0
  779. package/examples/browser/vue/node_modules/vue-router/package.json +154 -0
  780. package/examples/browser/vue/node_modules/vue-router/vetur/attributes.json +32 -0
  781. package/examples/browser/vue/node_modules/vue-router/vetur/tags.json +10 -0
  782. package/examples/browser/vue/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
  783. package/examples/browser/vue/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
  784. package/examples/browser/vue/node_modules/vue-router/vue-router-auto.d.ts +1 -0
  785. package/examples/browser/vue/node_modules/vue-router/vue-router.node.mjs +2 -0
  786. package/examples/{browser-2 → browser/vue}/package.json +2 -2
  787. package/examples/browser/vue/public/peerpigeon-browser.js +13322 -0
  788. package/examples/browser/vue/public/pigeonlogo.svg +51 -0
  789. package/examples/{browser-2 → browser/vue}/src/App.vue +1 -1
  790. package/examples/{browser-2 → browser/vue}/src/components/DHTView.vue +6 -6
  791. package/examples/{browser-2 → browser/vue}/src/components/DebugView.vue +10 -0
  792. package/examples/{browser-2 → browser/vue}/src/components/MediaView.vue +159 -10
  793. package/examples/{browser-2 → browser/vue}/src/components/MessagingView.vue +40 -12
  794. package/examples/{browser-2 → browser/vue}/src/components/NetworkView.vue +11 -11
  795. package/examples/{browser-2 → browser/vue}/src/router.js +1 -1
  796. package/examples/{browser-2 → browser/vue}/src/stores/peerpigeon.js +387 -9
  797. package/examples/browser/vue/test-vue-restructured-2.log +18 -0
  798. package/examples/browser/vue/test-vue-restructured-3.log +18 -0
  799. package/examples/{browser-2 → browser/vue}/vite.config.js +2 -0
  800. package/package.json +6 -2
  801. package/server/index.js +91 -2
  802. package/src/ConnectionManager.js +0 -7
  803. package/src/PeerConnection.js +26 -15
  804. package/src/browser-entry.js +6 -0
  805. package/examples/browser-2/dist/assets/index-Cck_6WJV.css +0 -1
  806. package/examples/browser-2/dist/assets/index-D8-cNlWQ.js +0 -57
  807. /package/examples/browser/{README.md → vanilla/README.md} +0 -0
  808. /package/examples/browser/{app.js → vanilla/app.js} +0 -0
  809. /package/examples/browser/{minimal → vanilla/minimal}/README.md +0 -0
  810. /package/examples/browser/{minimal → vanilla/minimal}/index.html +0 -0
  811. /package/examples/browser/{minimal → vanilla/minimal}/minimal.js +0 -0
  812. /package/examples/browser/{styles.css → vanilla/styles.css} +0 -0
  813. /package/examples/browser/{test-bundle.html → vanilla/test-bundle.html} +0 -0
  814. /package/examples/{browser-2 → browser/vue}/EXPRESS_SOLUTION.md +0 -0
  815. /package/examples/{browser-2 → browser/vue}/ICE_DEBUG.md +0 -0
  816. /package/examples/{browser-2 → browser/vue}/IMPLEMENTATION.md +0 -0
  817. /package/examples/{browser-2 → browser/vue}/QUICK_START.md +0 -0
  818. /package/examples/{browser-2 → browser/vue}/README.md +0 -0
  819. /package/examples/{browser-2 → browser/vue}/index.html +0 -0
  820. /package/examples/{browser-2 → browser/vue}/package-lock.json +0 -0
  821. /package/examples/{browser-2 → browser/vue}/src/App-simple.vue +0 -0
  822. /package/examples/{browser-2 → browser/vue}/src/components/CryptoView.vue +0 -0
  823. /package/examples/{browser-2 → browser/vue}/src/components/StorageView.vue +0 -0
  824. /package/examples/{browser-2 → browser/vue}/src/components/TestingView.vue +0 -0
  825. /package/examples/{browser-2 → browser/vue}/src/main.js +0 -0
@@ -0,0 +1,496 @@
1
+ import htmlDecodeTree from "./generated/decode-data-html.js";
2
+ import xmlDecodeTree from "./generated/decode-data-xml.js";
3
+ import decodeCodePoint, { replaceCodePoint, fromCodePoint, } from "./decode_codepoint.js";
4
+ // Re-export for use by eg. htmlparser2
5
+ export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
6
+ export { replaceCodePoint, fromCodePoint } from "./decode_codepoint.js";
7
+ var CharCodes;
8
+ (function (CharCodes) {
9
+ CharCodes[CharCodes["NUM"] = 35] = "NUM";
10
+ CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
11
+ CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
12
+ CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
13
+ CharCodes[CharCodes["NINE"] = 57] = "NINE";
14
+ CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
15
+ CharCodes[CharCodes["LOWER_F"] = 102] = "LOWER_F";
16
+ CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
17
+ CharCodes[CharCodes["LOWER_Z"] = 122] = "LOWER_Z";
18
+ CharCodes[CharCodes["UPPER_A"] = 65] = "UPPER_A";
19
+ CharCodes[CharCodes["UPPER_F"] = 70] = "UPPER_F";
20
+ CharCodes[CharCodes["UPPER_Z"] = 90] = "UPPER_Z";
21
+ })(CharCodes || (CharCodes = {}));
22
+ /** Bit that needs to be set to convert an upper case ASCII character to lower case */
23
+ const TO_LOWER_BIT = 0b100000;
24
+ export var BinTrieFlags;
25
+ (function (BinTrieFlags) {
26
+ BinTrieFlags[BinTrieFlags["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
27
+ BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 16256] = "BRANCH_LENGTH";
28
+ BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
29
+ })(BinTrieFlags || (BinTrieFlags = {}));
30
+ function isNumber(code) {
31
+ return code >= CharCodes.ZERO && code <= CharCodes.NINE;
32
+ }
33
+ function isHexadecimalCharacter(code) {
34
+ return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||
35
+ (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));
36
+ }
37
+ function isAsciiAlphaNumeric(code) {
38
+ return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||
39
+ (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||
40
+ isNumber(code));
41
+ }
42
+ /**
43
+ * Checks if the given character is a valid end character for an entity in an attribute.
44
+ *
45
+ * Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
46
+ * See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
47
+ */
48
+ function isEntityInAttributeInvalidEnd(code) {
49
+ return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);
50
+ }
51
+ var EntityDecoderState;
52
+ (function (EntityDecoderState) {
53
+ EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
54
+ EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
55
+ EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
56
+ EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
57
+ EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
58
+ })(EntityDecoderState || (EntityDecoderState = {}));
59
+ export var DecodingMode;
60
+ (function (DecodingMode) {
61
+ /** Entities in text nodes that can end with any character. */
62
+ DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
63
+ /** Only allow entities terminated with a semicolon. */
64
+ DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
65
+ /** Entities in attributes have limitations on ending characters. */
66
+ DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
67
+ })(DecodingMode || (DecodingMode = {}));
68
+ /**
69
+ * Token decoder with support of writing partial entities.
70
+ */
71
+ export class EntityDecoder {
72
+ constructor(
73
+ /** The tree used to decode entities. */
74
+ decodeTree,
75
+ /**
76
+ * The function that is called when a codepoint is decoded.
77
+ *
78
+ * For multi-byte named entities, this will be called multiple times,
79
+ * with the second codepoint, and the same `consumed` value.
80
+ *
81
+ * @param codepoint The decoded codepoint.
82
+ * @param consumed The number of bytes consumed by the decoder.
83
+ */
84
+ emitCodePoint,
85
+ /** An object that is used to produce errors. */
86
+ errors) {
87
+ this.decodeTree = decodeTree;
88
+ this.emitCodePoint = emitCodePoint;
89
+ this.errors = errors;
90
+ /** The current state of the decoder. */
91
+ this.state = EntityDecoderState.EntityStart;
92
+ /** Characters that were consumed while parsing an entity. */
93
+ this.consumed = 1;
94
+ /**
95
+ * The result of the entity.
96
+ *
97
+ * Either the result index of a numeric entity, or the codepoint of a
98
+ * numeric entity.
99
+ */
100
+ this.result = 0;
101
+ /** The current index in the decode tree. */
102
+ this.treeIndex = 0;
103
+ /** The number of characters that were consumed in excess. */
104
+ this.excess = 1;
105
+ /** The mode in which the decoder is operating. */
106
+ this.decodeMode = DecodingMode.Strict;
107
+ }
108
+ /** Resets the instance to make it reusable. */
109
+ startEntity(decodeMode) {
110
+ this.decodeMode = decodeMode;
111
+ this.state = EntityDecoderState.EntityStart;
112
+ this.result = 0;
113
+ this.treeIndex = 0;
114
+ this.excess = 1;
115
+ this.consumed = 1;
116
+ }
117
+ /**
118
+ * Write an entity to the decoder. This can be called multiple times with partial entities.
119
+ * If the entity is incomplete, the decoder will return -1.
120
+ *
121
+ * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
122
+ * entity is incomplete, and resume when the next string is written.
123
+ *
124
+ * @param string The string containing the entity (or a continuation of the entity).
125
+ * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
126
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
127
+ */
128
+ write(str, offset) {
129
+ switch (this.state) {
130
+ case EntityDecoderState.EntityStart: {
131
+ if (str.charCodeAt(offset) === CharCodes.NUM) {
132
+ this.state = EntityDecoderState.NumericStart;
133
+ this.consumed += 1;
134
+ return this.stateNumericStart(str, offset + 1);
135
+ }
136
+ this.state = EntityDecoderState.NamedEntity;
137
+ return this.stateNamedEntity(str, offset);
138
+ }
139
+ case EntityDecoderState.NumericStart: {
140
+ return this.stateNumericStart(str, offset);
141
+ }
142
+ case EntityDecoderState.NumericDecimal: {
143
+ return this.stateNumericDecimal(str, offset);
144
+ }
145
+ case EntityDecoderState.NumericHex: {
146
+ return this.stateNumericHex(str, offset);
147
+ }
148
+ case EntityDecoderState.NamedEntity: {
149
+ return this.stateNamedEntity(str, offset);
150
+ }
151
+ }
152
+ }
153
+ /**
154
+ * Switches between the numeric decimal and hexadecimal states.
155
+ *
156
+ * Equivalent to the `Numeric character reference state` in the HTML spec.
157
+ *
158
+ * @param str The string containing the entity (or a continuation of the entity).
159
+ * @param offset The current offset.
160
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
161
+ */
162
+ stateNumericStart(str, offset) {
163
+ if (offset >= str.length) {
164
+ return -1;
165
+ }
166
+ if ((str.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
167
+ this.state = EntityDecoderState.NumericHex;
168
+ this.consumed += 1;
169
+ return this.stateNumericHex(str, offset + 1);
170
+ }
171
+ this.state = EntityDecoderState.NumericDecimal;
172
+ return this.stateNumericDecimal(str, offset);
173
+ }
174
+ addToNumericResult(str, start, end, base) {
175
+ if (start !== end) {
176
+ const digitCount = end - start;
177
+ this.result =
178
+ this.result * Math.pow(base, digitCount) +
179
+ parseInt(str.substr(start, digitCount), base);
180
+ this.consumed += digitCount;
181
+ }
182
+ }
183
+ /**
184
+ * Parses a hexadecimal numeric entity.
185
+ *
186
+ * Equivalent to the `Hexademical character reference state` in the HTML spec.
187
+ *
188
+ * @param str The string containing the entity (or a continuation of the entity).
189
+ * @param offset The current offset.
190
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
191
+ */
192
+ stateNumericHex(str, offset) {
193
+ const startIdx = offset;
194
+ while (offset < str.length) {
195
+ const char = str.charCodeAt(offset);
196
+ if (isNumber(char) || isHexadecimalCharacter(char)) {
197
+ offset += 1;
198
+ }
199
+ else {
200
+ this.addToNumericResult(str, startIdx, offset, 16);
201
+ return this.emitNumericEntity(char, 3);
202
+ }
203
+ }
204
+ this.addToNumericResult(str, startIdx, offset, 16);
205
+ return -1;
206
+ }
207
+ /**
208
+ * Parses a decimal numeric entity.
209
+ *
210
+ * Equivalent to the `Decimal character reference state` in the HTML spec.
211
+ *
212
+ * @param str The string containing the entity (or a continuation of the entity).
213
+ * @param offset The current offset.
214
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
215
+ */
216
+ stateNumericDecimal(str, offset) {
217
+ const startIdx = offset;
218
+ while (offset < str.length) {
219
+ const char = str.charCodeAt(offset);
220
+ if (isNumber(char)) {
221
+ offset += 1;
222
+ }
223
+ else {
224
+ this.addToNumericResult(str, startIdx, offset, 10);
225
+ return this.emitNumericEntity(char, 2);
226
+ }
227
+ }
228
+ this.addToNumericResult(str, startIdx, offset, 10);
229
+ return -1;
230
+ }
231
+ /**
232
+ * Validate and emit a numeric entity.
233
+ *
234
+ * Implements the logic from the `Hexademical character reference start
235
+ * state` and `Numeric character reference end state` in the HTML spec.
236
+ *
237
+ * @param lastCp The last code point of the entity. Used to see if the
238
+ * entity was terminated with a semicolon.
239
+ * @param expectedLength The minimum number of characters that should be
240
+ * consumed. Used to validate that at least one digit
241
+ * was consumed.
242
+ * @returns The number of characters that were consumed.
243
+ */
244
+ emitNumericEntity(lastCp, expectedLength) {
245
+ var _a;
246
+ // Ensure we consumed at least one digit.
247
+ if (this.consumed <= expectedLength) {
248
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
249
+ return 0;
250
+ }
251
+ // Figure out if this is a legit end of the entity
252
+ if (lastCp === CharCodes.SEMI) {
253
+ this.consumed += 1;
254
+ }
255
+ else if (this.decodeMode === DecodingMode.Strict) {
256
+ return 0;
257
+ }
258
+ this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
259
+ if (this.errors) {
260
+ if (lastCp !== CharCodes.SEMI) {
261
+ this.errors.missingSemicolonAfterCharacterReference();
262
+ }
263
+ this.errors.validateNumericCharacterReference(this.result);
264
+ }
265
+ return this.consumed;
266
+ }
267
+ /**
268
+ * Parses a named entity.
269
+ *
270
+ * Equivalent to the `Named character reference state` in the HTML spec.
271
+ *
272
+ * @param str The string containing the entity (or a continuation of the entity).
273
+ * @param offset The current offset.
274
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
275
+ */
276
+ stateNamedEntity(str, offset) {
277
+ const { decodeTree } = this;
278
+ let current = decodeTree[this.treeIndex];
279
+ // The mask is the number of bytes of the value, including the current byte.
280
+ let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
281
+ for (; offset < str.length; offset++, this.excess++) {
282
+ const char = str.charCodeAt(offset);
283
+ this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);
284
+ if (this.treeIndex < 0) {
285
+ return this.result === 0 ||
286
+ // If we are parsing an attribute
287
+ (this.decodeMode === DecodingMode.Attribute &&
288
+ // We shouldn't have consumed any characters after the entity,
289
+ (valueLength === 0 ||
290
+ // And there should be no invalid characters.
291
+ isEntityInAttributeInvalidEnd(char)))
292
+ ? 0
293
+ : this.emitNotTerminatedNamedEntity();
294
+ }
295
+ current = decodeTree[this.treeIndex];
296
+ valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
297
+ // If the branch is a value, store it and continue
298
+ if (valueLength !== 0) {
299
+ // If the entity is terminated by a semicolon, we are done.
300
+ if (char === CharCodes.SEMI) {
301
+ return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
302
+ }
303
+ // If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.
304
+ if (this.decodeMode !== DecodingMode.Strict) {
305
+ this.result = this.treeIndex;
306
+ this.consumed += this.excess;
307
+ this.excess = 0;
308
+ }
309
+ }
310
+ }
311
+ return -1;
312
+ }
313
+ /**
314
+ * Emit a named entity that was not terminated with a semicolon.
315
+ *
316
+ * @returns The number of characters consumed.
317
+ */
318
+ emitNotTerminatedNamedEntity() {
319
+ var _a;
320
+ const { result, decodeTree } = this;
321
+ const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
322
+ this.emitNamedEntityData(result, valueLength, this.consumed);
323
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();
324
+ return this.consumed;
325
+ }
326
+ /**
327
+ * Emit a named entity.
328
+ *
329
+ * @param result The index of the entity in the decode tree.
330
+ * @param valueLength The number of bytes in the entity.
331
+ * @param consumed The number of characters consumed.
332
+ *
333
+ * @returns The number of characters consumed.
334
+ */
335
+ emitNamedEntityData(result, valueLength, consumed) {
336
+ const { decodeTree } = this;
337
+ this.emitCodePoint(valueLength === 1
338
+ ? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH
339
+ : decodeTree[result + 1], consumed);
340
+ if (valueLength === 3) {
341
+ // For multi-byte values, we need to emit the second byte.
342
+ this.emitCodePoint(decodeTree[result + 2], consumed);
343
+ }
344
+ return consumed;
345
+ }
346
+ /**
347
+ * Signal to the parser that the end of the input was reached.
348
+ *
349
+ * Remaining data will be emitted and relevant errors will be produced.
350
+ *
351
+ * @returns The number of characters consumed.
352
+ */
353
+ end() {
354
+ var _a;
355
+ switch (this.state) {
356
+ case EntityDecoderState.NamedEntity: {
357
+ // Emit a named entity if we have one.
358
+ return this.result !== 0 &&
359
+ (this.decodeMode !== DecodingMode.Attribute ||
360
+ this.result === this.treeIndex)
361
+ ? this.emitNotTerminatedNamedEntity()
362
+ : 0;
363
+ }
364
+ // Otherwise, emit a numeric entity if we have one.
365
+ case EntityDecoderState.NumericDecimal: {
366
+ return this.emitNumericEntity(0, 2);
367
+ }
368
+ case EntityDecoderState.NumericHex: {
369
+ return this.emitNumericEntity(0, 3);
370
+ }
371
+ case EntityDecoderState.NumericStart: {
372
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
373
+ return 0;
374
+ }
375
+ case EntityDecoderState.EntityStart: {
376
+ // Return 0 if we have no entity.
377
+ return 0;
378
+ }
379
+ }
380
+ }
381
+ }
382
+ /**
383
+ * Creates a function that decodes entities in a string.
384
+ *
385
+ * @param decodeTree The decode tree.
386
+ * @returns A function that decodes entities in a string.
387
+ */
388
+ function getDecoder(decodeTree) {
389
+ let ret = "";
390
+ const decoder = new EntityDecoder(decodeTree, (str) => (ret += fromCodePoint(str)));
391
+ return function decodeWithTrie(str, decodeMode) {
392
+ let lastIndex = 0;
393
+ let offset = 0;
394
+ while ((offset = str.indexOf("&", offset)) >= 0) {
395
+ ret += str.slice(lastIndex, offset);
396
+ decoder.startEntity(decodeMode);
397
+ const len = decoder.write(str,
398
+ // Skip the "&"
399
+ offset + 1);
400
+ if (len < 0) {
401
+ lastIndex = offset + decoder.end();
402
+ break;
403
+ }
404
+ lastIndex = offset + len;
405
+ // If `len` is 0, skip the current `&` and continue.
406
+ offset = len === 0 ? lastIndex + 1 : lastIndex;
407
+ }
408
+ const result = ret + str.slice(lastIndex);
409
+ // Make sure we don't keep a reference to the final string.
410
+ ret = "";
411
+ return result;
412
+ };
413
+ }
414
+ /**
415
+ * Determines the branch of the current node that is taken given the current
416
+ * character. This function is used to traverse the trie.
417
+ *
418
+ * @param decodeTree The trie.
419
+ * @param current The current node.
420
+ * @param nodeIdx The index right after the current node and its value.
421
+ * @param char The current character.
422
+ * @returns The index of the next node, or -1 if no branch is taken.
423
+ */
424
+ export function determineBranch(decodeTree, current, nodeIdx, char) {
425
+ const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
426
+ const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
427
+ // Case 1: Single branch encoded in jump offset
428
+ if (branchCount === 0) {
429
+ return jumpOffset !== 0 && char === jumpOffset ? nodeIdx : -1;
430
+ }
431
+ // Case 2: Multiple branches encoded in jump table
432
+ if (jumpOffset) {
433
+ const value = char - jumpOffset;
434
+ return value < 0 || value >= branchCount
435
+ ? -1
436
+ : decodeTree[nodeIdx + value] - 1;
437
+ }
438
+ // Case 3: Multiple branches encoded in dictionary
439
+ // Binary search for the character.
440
+ let lo = nodeIdx;
441
+ let hi = lo + branchCount - 1;
442
+ while (lo <= hi) {
443
+ const mid = (lo + hi) >>> 1;
444
+ const midVal = decodeTree[mid];
445
+ if (midVal < char) {
446
+ lo = mid + 1;
447
+ }
448
+ else if (midVal > char) {
449
+ hi = mid - 1;
450
+ }
451
+ else {
452
+ return decodeTree[mid + branchCount];
453
+ }
454
+ }
455
+ return -1;
456
+ }
457
+ const htmlDecoder = getDecoder(htmlDecodeTree);
458
+ const xmlDecoder = getDecoder(xmlDecodeTree);
459
+ /**
460
+ * Decodes an HTML string.
461
+ *
462
+ * @param str The string to decode.
463
+ * @param mode The decoding mode.
464
+ * @returns The decoded string.
465
+ */
466
+ export function decodeHTML(str, mode = DecodingMode.Legacy) {
467
+ return htmlDecoder(str, mode);
468
+ }
469
+ /**
470
+ * Decodes an HTML string in an attribute.
471
+ *
472
+ * @param str The string to decode.
473
+ * @returns The decoded string.
474
+ */
475
+ export function decodeHTMLAttribute(str) {
476
+ return htmlDecoder(str, DecodingMode.Attribute);
477
+ }
478
+ /**
479
+ * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
480
+ *
481
+ * @param str The string to decode.
482
+ * @returns The decoded string.
483
+ */
484
+ export function decodeHTMLStrict(str) {
485
+ return htmlDecoder(str, DecodingMode.Strict);
486
+ }
487
+ /**
488
+ * Decodes an XML string, requiring all entities to be terminated by a semicolon.
489
+ *
490
+ * @param str The string to decode.
491
+ * @returns The decoded string.
492
+ */
493
+ export function decodeXML(str) {
494
+ return xmlDecoder(str, DecodingMode.Strict);
495
+ }
496
+ //# sourceMappingURL=decode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode.js","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,eAAe,EAAE,EACpB,gBAAgB,EAChB,aAAa,GAChB,MAAM,uBAAuB,CAAC;AAE/B,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAExE,IAAW,SAaV;AAbD,WAAW,SAAS;IAChB,wCAAQ,CAAA;IACR,0CAAS,CAAA;IACT,8CAAW,CAAA;IACX,0CAAS,CAAA;IACT,0CAAS,CAAA;IACT,gDAAY,CAAA;IACZ,iDAAa,CAAA;IACb,iDAAa,CAAA;IACb,iDAAa,CAAA;IACb,gDAAY,CAAA;IACZ,gDAAY,CAAA;IACZ,gDAAY,CAAA;AAChB,CAAC,EAbU,SAAS,KAAT,SAAS,QAanB;AAED,sFAAsF;AACtF,MAAM,YAAY,GAAG,QAAQ,CAAC;AAE9B,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,mEAAoC,CAAA;IACpC,qEAAqC,CAAA;IACrC,6DAAkC,CAAA;AACtC,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAED,SAAS,QAAQ,CAAC,IAAY;IAC1B,OAAO,IAAI,IAAI,SAAS,CAAC,IAAI,IAAI,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC;AAC5D,CAAC;AAED,SAAS,sBAAsB,CAAC,IAAY;IACxC,OAAO,CACH,CAAC,IAAI,IAAI,SAAS,CAAC,OAAO,IAAI,IAAI,I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code point.
3
+ */
4
+ export declare const fromCodePoint: (...codePoints: number[]) => string;
5
+ /**
6
+ * Replace the given code point with a replacement character if it is a
7
+ * surrogate or is outside the valid range. Otherwise return the code
8
+ * point unchanged.
9
+ */
10
+ export declare function replaceCodePoint(codePoint: number): number;
11
+ /**
12
+ * Replace the code point if relevant, then convert it to a string.
13
+ *
14
+ * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
15
+ * @param codePoint The code point to decode.
16
+ * @returns The decoded code point.
17
+ */
18
+ export default function decodeCodePoint(codePoint: number): string;
19
+ //# sourceMappingURL=decode_codepoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode_codepoint.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode_codepoint.ts"],"names":[],"mappings":"AAkCA;;GAEG;AACH,eAAO,MAAM,aAAa,qCAgBrB,CAAC;AAEN;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,UAMjD;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAEjE"}
@@ -0,0 +1,71 @@
1
+ // Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134
2
+ var _a;
3
+ const decodeMap = new Map([
4
+ [0, 65533],
5
+ // C1 Unicode control character reference replacements
6
+ [128, 8364],
7
+ [130, 8218],
8
+ [131, 402],
9
+ [132, 8222],
10
+ [133, 8230],
11
+ [134, 8224],
12
+ [135, 8225],
13
+ [136, 710],
14
+ [137, 8240],
15
+ [138, 352],
16
+ [139, 8249],
17
+ [140, 338],
18
+ [142, 381],
19
+ [145, 8216],
20
+ [146, 8217],
21
+ [147, 8220],
22
+ [148, 8221],
23
+ [149, 8226],
24
+ [150, 8211],
25
+ [151, 8212],
26
+ [152, 732],
27
+ [153, 8482],
28
+ [154, 353],
29
+ [155, 8250],
30
+ [156, 339],
31
+ [158, 382],
32
+ [159, 376],
33
+ ]);
34
+ /**
35
+ * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
36
+ */
37
+ export const fromCodePoint =
38
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
39
+ (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
40
+ let output = "";
41
+ if (codePoint > 0xffff) {
42
+ codePoint -= 0x10000;
43
+ output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);
44
+ codePoint = 0xdc00 | (codePoint & 0x3ff);
45
+ }
46
+ output += String.fromCharCode(codePoint);
47
+ return output;
48
+ };
49
+ /**
50
+ * Replace the given code point with a replacement character if it is a
51
+ * surrogate or is outside the valid range. Otherwise return the code
52
+ * point unchanged.
53
+ */
54
+ export function replaceCodePoint(codePoint) {
55
+ var _a;
56
+ if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {
57
+ return 0xfffd;
58
+ }
59
+ return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;
60
+ }
61
+ /**
62
+ * Replace the code point if relevant, then convert it to a string.
63
+ *
64
+ * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
65
+ * @param codePoint The code point to decode.
66
+ * @returns The decoded code point.
67
+ */
68
+ export default function decodeCodePoint(codePoint) {
69
+ return fromCodePoint(replaceCodePoint(codePoint));
70
+ }
71
+ //# sourceMappingURL=decode_codepoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode_codepoint.js","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode_codepoint.ts"],"names":[],"mappings":"AAAA,qHAAqH;;AAErH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IACtB,CAAC,CAAC,EAAE,KAAK,CAAC;I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AAC,SAAS,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,GAAG,MAAM,CACxC,CAAC;QACF,SAAS,GAAG,MAAM,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC;KAC5C;IAED,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzC,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC;AAEN;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAAiB;;IAC9C,IAAI,CAAC,SAAS,IAAI,MAAM,IAAI,SAAS,IAAI,MAAM,CAAC,IAAI,SAAS,GAAG,QAAQ,EAAE;QACtE,OAAO,MAAM,CAAC;KACjB;IAED,OAAO,MAAA,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAiB;IACrD,OAAO,aAAa,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Encodes all characters in the input using HTML entities. This includes
3
+ * characters that are valid ASCII characters in HTML documents, such as `#`.
4
+ *
5
+ * To get a more compact output, consider using the `encodeNonAsciiHTML`
6
+ * function, which will only encode characters that are not valid in HTML
7
+ * documents, as well as non-ASCII characters.
8
+ *
9
+ * If a character has no equivalent entity, a numeric hexadecimal reference
10
+ * (eg. `&#xfc;`) will be used.
11
+ */
12
+ export declare function encodeHTML(data: string): string;
13
+ /**
14
+ * Encodes all non-ASCII characters, as well as characters not valid in HTML
15
+ * documents using HTML entities. This function will not encode characters that
16
+ * are valid in HTML documents, such as `#`.
17
+ *
18
+ * If a character has no equivalent entity, a numeric hexadecimal reference
19
+ * (eg. `&#xfc;`) will be used.
20
+ */
21
+ export declare function encodeNonAsciiHTML(data: string): string;
22
+ //# sourceMappingURL=encode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encode.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["encode.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AACD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEvD"}