nuxt-intlayer 7.0.0-canary.2 → 7.0.0

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 (198) hide show
  1. package/dist/cjs/_virtual/rolldown_runtime.cjs +0 -15
  2. package/dist/cjs/packages/@intlayer/dictionaries-entry/dist/esm/index.cjs +1 -1
  3. package/dist/cjs/packages/@intlayer/dictionaries-entry/dist/esm/index.cjs.map +1 -1
  4. package/dist/cjs/runtime/intlayer-plugin.cjs +4 -3
  5. package/dist/cjs/runtime/intlayer-plugin.cjs.map +1 -1
  6. package/dist/esm/packages/@intlayer/dictionaries-entry/dist/esm/index.mjs +2 -2
  7. package/dist/esm/packages/@intlayer/dictionaries-entry/dist/esm/index.mjs.map +1 -1
  8. package/dist/esm/runtime/intlayer-plugin.mjs +3 -3
  9. package/dist/esm/runtime/intlayer-plugin.mjs.map +1 -1
  10. package/package.json +16 -14
  11. package/dist/cjs/node_modules/.bun/@babel_parser@7.28.4/node_modules/@babel/parser/lib/index.cjs +0 -12494
  12. package/dist/cjs/node_modules/.bun/@babel_parser@7.28.4/node_modules/@babel/parser/lib/index.cjs.map +0 -1
  13. package/dist/cjs/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.cjs +0 -2353
  14. package/dist/cjs/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.cjs.map +0 -1
  15. package/dist/cjs/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.cjs +0 -4751
  16. package/dist/cjs/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.cjs.map +0 -1
  17. package/dist/cjs/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/index.cjs +0 -18
  18. package/dist/cjs/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/index.cjs.map +0 -1
  19. package/dist/cjs/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.cjs +0 -660
  20. package/dist/cjs/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.cjs.map +0 -1
  21. package/dist/cjs/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.cjs +0 -442
  22. package/dist/cjs/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.cjs.map +0 -1
  23. package/dist/cjs/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/index.cjs +0 -18
  24. package/dist/cjs/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/index.cjs.map +0 -1
  25. package/dist/cjs/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.cjs +0 -22
  26. package/dist/cjs/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.cjs.map +0 -1
  27. package/dist/cjs/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.cjs +0 -1457
  28. package/dist/cjs/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.cjs.map +0 -1
  29. package/dist/cjs/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/index.cjs +0 -18
  30. package/dist/cjs/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/index.cjs.map +0 -1
  31. package/dist/cjs/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.cjs +0 -870
  32. package/dist/cjs/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.cjs.map +0 -1
  33. package/dist/cjs/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.cjs +0 -4204
  34. package/dist/cjs/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.cjs.map +0 -1
  35. package/dist/cjs/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/index.cjs +0 -18
  36. package/dist/cjs/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/index.cjs.map +0 -1
  37. package/dist/cjs/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.cjs +0 -1373
  38. package/dist/cjs/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.cjs.map +0 -1
  39. package/dist/cjs/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.cjs +0 -1270
  40. package/dist/cjs/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.cjs.map +0 -1
  41. package/dist/cjs/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/index.cjs +0 -18
  42. package/dist/cjs/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/index.cjs.map +0 -1
  43. package/dist/cjs/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.cjs +0 -44
  44. package/dist/cjs/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.cjs.map +0 -1
  45. package/dist/cjs/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.prod.cjs +0 -491
  46. package/dist/cjs/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.prod.cjs.map +0 -1
  47. package/dist/cjs/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/index.cjs +0 -18
  48. package/dist/cjs/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/index.cjs.map +0 -1
  49. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode.cjs +0 -474
  50. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode.cjs.map +0 -1
  51. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode_codepoint.cjs +0 -82
  52. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode_codepoint.cjs.map +0 -1
  53. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-html.cjs +0 -18
  54. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-html.cjs.map +0 -1
  55. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-xml.cjs +0 -18
  56. package/dist/cjs/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-xml.cjs.map +0 -1
  57. package/dist/cjs/node_modules/.bun/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.cjs +0 -255
  58. package/dist/cjs/node_modules/.bun/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.cjs.map +0 -1
  59. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.cjs +0 -103
  60. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.cjs.map +0 -1
  61. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.cjs +0 -76
  62. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.cjs.map +0 -1
  63. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.cjs +0 -44
  64. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.cjs.map +0 -1
  65. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.cjs +0 -71
  66. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.cjs.map +0 -1
  67. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.cjs +0 -80
  68. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.cjs.map +0 -1
  69. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.cjs +0 -92
  70. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.cjs.map +0 -1
  71. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.cjs +0 -791
  72. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.cjs.map +0 -1
  73. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.cjs +0 -298
  74. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.cjs.map +0 -1
  75. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.cjs +0 -296
  76. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.cjs.map +0 -1
  77. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/util.cjs +0 -355
  78. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/util.cjs.map +0 -1
  79. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/source-map.cjs +0 -20
  80. package/dist/cjs/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/source-map.cjs.map +0 -1
  81. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/native.cjs +0 -10
  82. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/native.cjs.map +0 -1
  83. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/rng.cjs +0 -18
  84. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/rng.cjs.map +0 -1
  85. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/stringify.cjs +0 -11
  86. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/stringify.cjs.map +0 -1
  87. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/v4.cjs +0 -28
  88. package/dist/cjs/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/v4.cjs.map +0 -1
  89. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.cjs +0 -65
  90. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.cjs.map +0 -1
  91. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.prod.cjs +0 -55
  92. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.prod.cjs.map +0 -1
  93. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index.cjs +0 -18
  94. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index.cjs.map +0 -1
  95. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index2.cjs +0 -15
  96. package/dist/cjs/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index2.cjs.map +0 -1
  97. package/dist/esm/node_modules/.bun/@babel_parser@7.28.4/node_modules/@babel/parser/lib/index.mjs +0 -12491
  98. package/dist/esm/node_modules/.bun/@babel_parser@7.28.4/node_modules/@babel/parser/lib/index.mjs.map +0 -1
  99. package/dist/esm/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.mjs +0 -2350
  100. package/dist/esm/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.mjs.map +0 -1
  101. package/dist/esm/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.mjs +0 -4748
  102. package/dist/esm/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.mjs.map +0 -1
  103. package/dist/esm/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/index.mjs +0 -15
  104. package/dist/esm/node_modules/.bun/@vue_compiler-core@3.5.22/node_modules/@vue/compiler-core/index.mjs.map +0 -1
  105. package/dist/esm/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.mjs +0 -657
  106. package/dist/esm/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.mjs.map +0 -1
  107. package/dist/esm/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.mjs +0 -439
  108. package/dist/esm/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.mjs.map +0 -1
  109. package/dist/esm/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/index.mjs +0 -15
  110. package/dist/esm/node_modules/.bun/@vue_compiler-dom@3.5.22/node_modules/@vue/compiler-dom/index.mjs.map +0 -1
  111. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.mjs +0 -19
  112. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.mjs.map +0 -1
  113. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.mjs +0 -1454
  114. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.mjs.map +0 -1
  115. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs +0 -1312
  116. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs.map +0 -1
  117. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/index.mjs +0 -15
  118. package/dist/esm/node_modules/.bun/@vue_reactivity@3.5.22/node_modules/@vue/reactivity/index.mjs.map +0 -1
  119. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.mjs +0 -867
  120. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.mjs.map +0 -1
  121. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.mjs +0 -4201
  122. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.mjs.map +0 -1
  123. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs +0 -995
  124. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs.map +0 -1
  125. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/index.mjs +0 -15
  126. package/dist/esm/node_modules/.bun/@vue_runtime-core@3.5.22/node_modules/@vue/runtime-core/index.mjs.map +0 -1
  127. package/dist/esm/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.mjs +0 -1370
  128. package/dist/esm/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.mjs.map +0 -1
  129. package/dist/esm/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.mjs +0 -1267
  130. package/dist/esm/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.mjs.map +0 -1
  131. package/dist/esm/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/index.mjs +0 -15
  132. package/dist/esm/node_modules/.bun/@vue_runtime-dom@3.5.22/node_modules/@vue/runtime-dom/index.mjs.map +0 -1
  133. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.mjs +0 -41
  134. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.mjs.map +0 -1
  135. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.prod.mjs +0 -488
  136. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.cjs.prod.mjs.map +0 -1
  137. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.esm-bundler.mjs +0 -77
  138. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/dist/shared.esm-bundler.mjs.map +0 -1
  139. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/index.mjs +0 -15
  140. package/dist/esm/node_modules/.bun/@vue_shared@3.5.22/node_modules/@vue/shared/index.mjs.map +0 -1
  141. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode.mjs +0 -471
  142. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode.mjs.map +0 -1
  143. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode_codepoint.mjs +0 -79
  144. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/decode_codepoint.mjs.map +0 -1
  145. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-html.mjs +0 -15
  146. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-html.mjs.map +0 -1
  147. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-xml.mjs +0 -15
  148. package/dist/esm/node_modules/.bun/entities@4.5.0/node_modules/entities/lib/generated/decode-data-xml.mjs.map +0 -1
  149. package/dist/esm/node_modules/.bun/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.mjs +0 -252
  150. package/dist/esm/node_modules/.bun/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.mjs.map +0 -1
  151. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.mjs +0 -100
  152. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.mjs.map +0 -1
  153. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.mjs +0 -73
  154. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.mjs.map +0 -1
  155. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.mjs +0 -41
  156. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.mjs.map +0 -1
  157. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.mjs +0 -68
  158. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.mjs.map +0 -1
  159. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.mjs +0 -77
  160. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.mjs.map +0 -1
  161. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.mjs +0 -89
  162. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.mjs.map +0 -1
  163. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.mjs +0 -788
  164. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.mjs.map +0 -1
  165. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.mjs +0 -295
  166. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.mjs.map +0 -1
  167. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.mjs +0 -293
  168. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.mjs.map +0 -1
  169. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs +0 -352
  170. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs.map +0 -1
  171. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs +0 -17
  172. package/dist/esm/node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs.map +0 -1
  173. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/native.mjs +0 -7
  174. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/native.mjs.map +0 -1
  175. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/rng.mjs +0 -14
  176. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/rng.mjs.map +0 -1
  177. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/stringify.mjs +0 -10
  178. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/stringify.mjs.map +0 -1
  179. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/v4.mjs +0 -28
  180. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/v4.mjs.map +0 -1
  181. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/native.mjs +0 -8
  182. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/native.mjs.map +0 -1
  183. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/rng.mjs +0 -16
  184. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/rng.mjs.map +0 -1
  185. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/stringify.mjs +0 -10
  186. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/stringify.mjs.map +0 -1
  187. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/v4.mjs +0 -28
  188. package/dist/esm/node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist-node/v4.mjs.map +0 -1
  189. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.mjs +0 -62
  190. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.mjs.map +0 -1
  191. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.prod.mjs +0 -52
  192. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.cjs.prod.mjs.map +0 -1
  193. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.runtime.esm-bundler.mjs +0 -12
  194. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/dist/vue.runtime.esm-bundler.mjs.map +0 -1
  195. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index.mjs +0 -15
  196. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index.mjs.map +0 -1
  197. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index2.mjs +0 -10
  198. package/dist/esm/node_modules/.bun/vue@3.5.22_e72aefb0f8d0b841/node_modules/vue/index2.mjs.map +0 -1
@@ -1,791 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_base64_vlq$1 = require('./base64-vlq.cjs');
3
- const require_util$1 = require('./util.cjs');
4
- const require_array_set$1 = require('./array-set.cjs');
5
- const require_binary_search$1 = require('./binary-search.cjs');
6
- const require_quick_sort$1 = require('./quick-sort.cjs');
7
-
8
- //#region ../../node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js
9
- var require_source_map_consumer = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.bun/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js": ((exports) => {
10
- var util = require_util$1.require_util();
11
- var binarySearch = require_binary_search$1.require_binary_search();
12
- var ArraySet = require_array_set$1.require_array_set().ArraySet;
13
- var base64VLQ = require_base64_vlq$1.require_base64_vlq();
14
- var quickSort = require_quick_sort$1.require_quick_sort().quickSort;
15
- function SourceMapConsumer(aSourceMap, aSourceMapURL) {
16
- var sourceMap = aSourceMap;
17
- if (typeof aSourceMap === "string") sourceMap = util.parseSourceMapInput(aSourceMap);
18
- return sourceMap.sections != null ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL) : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
19
- }
20
- SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
21
- return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
22
- };
23
- /**
24
- * The version of the source mapping spec that we are consuming.
25
- */
26
- SourceMapConsumer.prototype._version = 3;
27
- SourceMapConsumer.prototype.__generatedMappings = null;
28
- Object.defineProperty(SourceMapConsumer.prototype, "_generatedMappings", {
29
- configurable: true,
30
- enumerable: true,
31
- get: function() {
32
- if (!this.__generatedMappings) this._parseMappings(this._mappings, this.sourceRoot);
33
- return this.__generatedMappings;
34
- }
35
- });
36
- SourceMapConsumer.prototype.__originalMappings = null;
37
- Object.defineProperty(SourceMapConsumer.prototype, "_originalMappings", {
38
- configurable: true,
39
- enumerable: true,
40
- get: function() {
41
- if (!this.__originalMappings) this._parseMappings(this._mappings, this.sourceRoot);
42
- return this.__originalMappings;
43
- }
44
- });
45
- SourceMapConsumer.prototype._charIsMappingSeparator = function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
46
- var c = aStr.charAt(index);
47
- return c === ";" || c === ",";
48
- };
49
- /**
50
- * Parse the mappings in a string in to a data structure which we can easily
51
- * query (the ordered arrays in the `this.__generatedMappings` and
52
- * `this.__originalMappings` properties).
53
- */
54
- SourceMapConsumer.prototype._parseMappings = function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
55
- throw new Error("Subclasses must implement _parseMappings");
56
- };
57
- SourceMapConsumer.GENERATED_ORDER = 1;
58
- SourceMapConsumer.ORIGINAL_ORDER = 2;
59
- SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
60
- SourceMapConsumer.LEAST_UPPER_BOUND = 2;
61
- /**
62
- * Iterate over each mapping between an original source/line/column and a
63
- * generated line/column in this source map.
64
- *
65
- * @param Function aCallback
66
- * The function that is called with each mapping.
67
- * @param Object aContext
68
- * Optional. If specified, this object will be the value of `this` every
69
- * time that `aCallback` is called.
70
- * @param aOrder
71
- * Either `SourceMapConsumer.GENERATED_ORDER` or
72
- * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
73
- * iterate over the mappings sorted by the generated file's line/column
74
- * order or the original's source/line/column order, respectively. Defaults to
75
- * `SourceMapConsumer.GENERATED_ORDER`.
76
- */
77
- SourceMapConsumer.prototype.eachMapping = function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
78
- var context = aContext || null;
79
- var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
80
- var mappings;
81
- switch (order) {
82
- case SourceMapConsumer.GENERATED_ORDER:
83
- mappings = this._generatedMappings;
84
- break;
85
- case SourceMapConsumer.ORIGINAL_ORDER:
86
- mappings = this._originalMappings;
87
- break;
88
- default: throw new Error("Unknown order of iteration.");
89
- }
90
- var sourceRoot = this.sourceRoot;
91
- var boundCallback = aCallback.bind(context);
92
- var names = this._names;
93
- var sources = this._sources;
94
- var sourceMapURL = this._sourceMapURL;
95
- for (var i = 0, n = mappings.length; i < n; i++) {
96
- var mapping = mappings[i];
97
- var source = mapping.source === null ? null : sources.at(mapping.source);
98
- if (source !== null) source = util.computeSourceURL(sourceRoot, source, sourceMapURL);
99
- boundCallback({
100
- source,
101
- generatedLine: mapping.generatedLine,
102
- generatedColumn: mapping.generatedColumn,
103
- originalLine: mapping.originalLine,
104
- originalColumn: mapping.originalColumn,
105
- name: mapping.name === null ? null : names.at(mapping.name)
106
- });
107
- }
108
- };
109
- /**
110
- * Returns all generated line and column information for the original source,
111
- * line, and column provided. If no column is provided, returns all mappings
112
- * corresponding to a either the line we are searching for or the next
113
- * closest line that has any mappings. Otherwise, returns all mappings
114
- * corresponding to the given line and either the column we are searching for
115
- * or the next closest column that has any offsets.
116
- *
117
- * The only argument is an object with the following properties:
118
- *
119
- * - source: The filename of the original source.
120
- * - line: The line number in the original source. The line number is 1-based.
121
- * - column: Optional. the column number in the original source.
122
- * The column number is 0-based.
123
- *
124
- * and an array of objects is returned, each with the following properties:
125
- *
126
- * - line: The line number in the generated source, or null. The
127
- * line number is 1-based.
128
- * - column: The column number in the generated source, or null.
129
- * The column number is 0-based.
130
- */
131
- SourceMapConsumer.prototype.allGeneratedPositionsFor = function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
132
- var line = util.getArg(aArgs, "line");
133
- var needle = {
134
- source: util.getArg(aArgs, "source"),
135
- originalLine: line,
136
- originalColumn: util.getArg(aArgs, "column", 0)
137
- };
138
- needle.source = this._findSourceIndex(needle.source);
139
- if (needle.source < 0) return [];
140
- var mappings = [];
141
- var index = this._findMapping(needle, this._originalMappings, "originalLine", "originalColumn", util.compareByOriginalPositions, binarySearch.LEAST_UPPER_BOUND);
142
- if (index >= 0) {
143
- var mapping = this._originalMappings[index];
144
- if (aArgs.column === void 0) {
145
- var originalLine = mapping.originalLine;
146
- while (mapping && mapping.originalLine === originalLine) {
147
- mappings.push({
148
- line: util.getArg(mapping, "generatedLine", null),
149
- column: util.getArg(mapping, "generatedColumn", null),
150
- lastColumn: util.getArg(mapping, "lastGeneratedColumn", null)
151
- });
152
- mapping = this._originalMappings[++index];
153
- }
154
- } else {
155
- var originalColumn = mapping.originalColumn;
156
- while (mapping && mapping.originalLine === line && mapping.originalColumn == originalColumn) {
157
- mappings.push({
158
- line: util.getArg(mapping, "generatedLine", null),
159
- column: util.getArg(mapping, "generatedColumn", null),
160
- lastColumn: util.getArg(mapping, "lastGeneratedColumn", null)
161
- });
162
- mapping = this._originalMappings[++index];
163
- }
164
- }
165
- }
166
- return mappings;
167
- };
168
- exports.SourceMapConsumer = SourceMapConsumer;
169
- /**
170
- * A BasicSourceMapConsumer instance represents a parsed source map which we can
171
- * query for information about the original file positions by giving it a file
172
- * position in the generated source.
173
- *
174
- * The first parameter is the raw source map (either as a JSON string, or
175
- * already parsed to an object). According to the spec, source maps have the
176
- * following attributes:
177
- *
178
- * - version: Which version of the source map spec this map is following.
179
- * - sources: An array of URLs to the original source files.
180
- * - names: An array of identifiers which can be referrenced by individual mappings.
181
- * - sourceRoot: Optional. The URL root from which all sources are relative.
182
- * - sourcesContent: Optional. An array of contents of the original source files.
183
- * - mappings: A string of base64 VLQs which contain the actual mappings.
184
- * - file: Optional. The generated file this source map is associated with.
185
- *
186
- * Here is an example source map, taken from the source map spec[0]:
187
- *
188
- * {
189
- * version : 3,
190
- * file: "out.js",
191
- * sourceRoot : "",
192
- * sources: ["foo.js", "bar.js"],
193
- * names: ["src", "maps", "are", "fun"],
194
- * mappings: "AA,AB;;ABCDE;"
195
- * }
196
- *
197
- * The second parameter, if given, is a string whose value is the URL
198
- * at which the source map was found. This URL is used to compute the
199
- * sources array.
200
- *
201
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
202
- */
203
- function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
204
- var sourceMap = aSourceMap;
205
- if (typeof aSourceMap === "string") sourceMap = util.parseSourceMapInput(aSourceMap);
206
- var version = util.getArg(sourceMap, "version");
207
- var sources = util.getArg(sourceMap, "sources");
208
- var names = util.getArg(sourceMap, "names", []);
209
- var sourceRoot = util.getArg(sourceMap, "sourceRoot", null);
210
- var sourcesContent = util.getArg(sourceMap, "sourcesContent", null);
211
- var mappings = util.getArg(sourceMap, "mappings");
212
- var file = util.getArg(sourceMap, "file", null);
213
- if (version != this._version) throw new Error("Unsupported version: " + version);
214
- if (sourceRoot) sourceRoot = util.normalize(sourceRoot);
215
- sources = sources.map(String).map(util.normalize).map(function(source) {
216
- return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) ? util.relative(sourceRoot, source) : source;
217
- });
218
- this._names = ArraySet.fromArray(names.map(String), true);
219
- this._sources = ArraySet.fromArray(sources, true);
220
- this._absoluteSources = this._sources.toArray().map(function(s) {
221
- return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
222
- });
223
- this.sourceRoot = sourceRoot;
224
- this.sourcesContent = sourcesContent;
225
- this._mappings = mappings;
226
- this._sourceMapURL = aSourceMapURL;
227
- this.file = file;
228
- }
229
- BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
230
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
231
- /**
232
- * Utility function to find the index of a source. Returns -1 if not
233
- * found.
234
- */
235
- BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
236
- var relativeSource = aSource;
237
- if (this.sourceRoot != null) relativeSource = util.relative(this.sourceRoot, relativeSource);
238
- if (this._sources.has(relativeSource)) return this._sources.indexOf(relativeSource);
239
- var i;
240
- for (i = 0; i < this._absoluteSources.length; ++i) if (this._absoluteSources[i] == aSource) return i;
241
- return -1;
242
- };
243
- /**
244
- * Create a BasicSourceMapConsumer from a SourceMapGenerator.
245
- *
246
- * @param SourceMapGenerator aSourceMap
247
- * The source map that will be consumed.
248
- * @param String aSourceMapURL
249
- * The URL at which the source map can be found (optional)
250
- * @returns BasicSourceMapConsumer
251
- */
252
- BasicSourceMapConsumer.fromSourceMap = function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
253
- var smc = Object.create(BasicSourceMapConsumer.prototype);
254
- var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
255
- var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
256
- smc.sourceRoot = aSourceMap._sourceRoot;
257
- smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), smc.sourceRoot);
258
- smc.file = aSourceMap._file;
259
- smc._sourceMapURL = aSourceMapURL;
260
- smc._absoluteSources = smc._sources.toArray().map(function(s) {
261
- return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
262
- });
263
- var generatedMappings = aSourceMap._mappings.toArray().slice();
264
- var destGeneratedMappings = smc.__generatedMappings = [];
265
- var destOriginalMappings = smc.__originalMappings = [];
266
- for (var i = 0, length = generatedMappings.length; i < length; i++) {
267
- var srcMapping = generatedMappings[i];
268
- var destMapping = new Mapping();
269
- destMapping.generatedLine = srcMapping.generatedLine;
270
- destMapping.generatedColumn = srcMapping.generatedColumn;
271
- if (srcMapping.source) {
272
- destMapping.source = sources.indexOf(srcMapping.source);
273
- destMapping.originalLine = srcMapping.originalLine;
274
- destMapping.originalColumn = srcMapping.originalColumn;
275
- if (srcMapping.name) destMapping.name = names.indexOf(srcMapping.name);
276
- destOriginalMappings.push(destMapping);
277
- }
278
- destGeneratedMappings.push(destMapping);
279
- }
280
- quickSort(smc.__originalMappings, util.compareByOriginalPositions);
281
- return smc;
282
- };
283
- /**
284
- * The version of the source mapping spec that we are consuming.
285
- */
286
- BasicSourceMapConsumer.prototype._version = 3;
287
- /**
288
- * The list of original sources.
289
- */
290
- Object.defineProperty(BasicSourceMapConsumer.prototype, "sources", { get: function() {
291
- return this._absoluteSources.slice();
292
- } });
293
- /**
294
- * Provide the JIT with a nice shape / hidden class.
295
- */
296
- function Mapping() {
297
- this.generatedLine = 0;
298
- this.generatedColumn = 0;
299
- this.source = null;
300
- this.originalLine = null;
301
- this.originalColumn = null;
302
- this.name = null;
303
- }
304
- /**
305
- * Parse the mappings in a string in to a data structure which we can easily
306
- * query (the ordered arrays in the `this.__generatedMappings` and
307
- * `this.__originalMappings` properties).
308
- */
309
- const compareGenerated = util.compareByGeneratedPositionsDeflatedNoLine;
310
- function sortGenerated(array, start) {
311
- let l = array.length;
312
- let n = array.length - start;
313
- if (n <= 1) return;
314
- else if (n == 2) {
315
- let a = array[start];
316
- let b = array[start + 1];
317
- if (compareGenerated(a, b) > 0) {
318
- array[start] = b;
319
- array[start + 1] = a;
320
- }
321
- } else if (n < 20) for (let i = start; i < l; i++) for (let j = i; j > start; j--) {
322
- let a = array[j - 1];
323
- let b = array[j];
324
- if (compareGenerated(a, b) <= 0) break;
325
- array[j - 1] = b;
326
- array[j] = a;
327
- }
328
- else quickSort(array, compareGenerated, start);
329
- }
330
- BasicSourceMapConsumer.prototype._parseMappings = function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
331
- var generatedLine = 1;
332
- var previousGeneratedColumn = 0;
333
- var previousOriginalLine = 0;
334
- var previousOriginalColumn = 0;
335
- var previousSource = 0;
336
- var previousName = 0;
337
- var length = aStr.length;
338
- var index = 0;
339
- var temp = {};
340
- var originalMappings = [];
341
- var generatedMappings = [], mapping, segment, end, value;
342
- let subarrayStart = 0;
343
- while (index < length) if (aStr.charAt(index) === ";") {
344
- generatedLine++;
345
- index++;
346
- previousGeneratedColumn = 0;
347
- sortGenerated(generatedMappings, subarrayStart);
348
- subarrayStart = generatedMappings.length;
349
- } else if (aStr.charAt(index) === ",") index++;
350
- else {
351
- mapping = new Mapping();
352
- mapping.generatedLine = generatedLine;
353
- for (end = index; end < length; end++) if (this._charIsMappingSeparator(aStr, end)) break;
354
- aStr.slice(index, end);
355
- segment = [];
356
- while (index < end) {
357
- base64VLQ.decode(aStr, index, temp);
358
- value = temp.value;
359
- index = temp.rest;
360
- segment.push(value);
361
- }
362
- if (segment.length === 2) throw new Error("Found a source, but no line and column");
363
- if (segment.length === 3) throw new Error("Found a source and line, but no column");
364
- mapping.generatedColumn = previousGeneratedColumn + segment[0];
365
- previousGeneratedColumn = mapping.generatedColumn;
366
- if (segment.length > 1) {
367
- mapping.source = previousSource + segment[1];
368
- previousSource += segment[1];
369
- mapping.originalLine = previousOriginalLine + segment[2];
370
- previousOriginalLine = mapping.originalLine;
371
- mapping.originalLine += 1;
372
- mapping.originalColumn = previousOriginalColumn + segment[3];
373
- previousOriginalColumn = mapping.originalColumn;
374
- if (segment.length > 4) {
375
- mapping.name = previousName + segment[4];
376
- previousName += segment[4];
377
- }
378
- }
379
- generatedMappings.push(mapping);
380
- if (typeof mapping.originalLine === "number") {
381
- let currentSource = mapping.source;
382
- while (originalMappings.length <= currentSource) originalMappings.push(null);
383
- if (originalMappings[currentSource] === null) originalMappings[currentSource] = [];
384
- originalMappings[currentSource].push(mapping);
385
- }
386
- }
387
- sortGenerated(generatedMappings, subarrayStart);
388
- this.__generatedMappings = generatedMappings;
389
- for (var i = 0; i < originalMappings.length; i++) if (originalMappings[i] != null) quickSort(originalMappings[i], util.compareByOriginalPositionsNoSource);
390
- this.__originalMappings = [].concat(...originalMappings);
391
- };
392
- /**
393
- * Find the mapping that best matches the hypothetical "needle" mapping that
394
- * we are searching for in the given "haystack" of mappings.
395
- */
396
- BasicSourceMapConsumer.prototype._findMapping = function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, aColumnName, aComparator, aBias) {
397
- if (aNeedle[aLineName] <= 0) throw new TypeError("Line must be greater than or equal to 1, got " + aNeedle[aLineName]);
398
- if (aNeedle[aColumnName] < 0) throw new TypeError("Column must be greater than or equal to 0, got " + aNeedle[aColumnName]);
399
- return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
400
- };
401
- /**
402
- * Compute the last column for each generated mapping. The last column is
403
- * inclusive.
404
- */
405
- BasicSourceMapConsumer.prototype.computeColumnSpans = function SourceMapConsumer_computeColumnSpans() {
406
- for (var index = 0; index < this._generatedMappings.length; ++index) {
407
- var mapping = this._generatedMappings[index];
408
- if (index + 1 < this._generatedMappings.length) {
409
- var nextMapping = this._generatedMappings[index + 1];
410
- if (mapping.generatedLine === nextMapping.generatedLine) {
411
- mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
412
- continue;
413
- }
414
- }
415
- mapping.lastGeneratedColumn = Infinity;
416
- }
417
- };
418
- /**
419
- * Returns the original source, line, and column information for the generated
420
- * source's line and column positions provided. The only argument is an object
421
- * with the following properties:
422
- *
423
- * - line: The line number in the generated source. The line number
424
- * is 1-based.
425
- * - column: The column number in the generated source. The column
426
- * number is 0-based.
427
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
428
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
429
- * closest element that is smaller than or greater than the one we are
430
- * searching for, respectively, if the exact element cannot be found.
431
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
432
- *
433
- * and an object is returned with the following properties:
434
- *
435
- * - source: The original source file, or null.
436
- * - line: The line number in the original source, or null. The
437
- * line number is 1-based.
438
- * - column: The column number in the original source, or null. The
439
- * column number is 0-based.
440
- * - name: The original identifier, or null.
441
- */
442
- BasicSourceMapConsumer.prototype.originalPositionFor = function SourceMapConsumer_originalPositionFor(aArgs) {
443
- var needle = {
444
- generatedLine: util.getArg(aArgs, "line"),
445
- generatedColumn: util.getArg(aArgs, "column")
446
- };
447
- var index = this._findMapping(needle, this._generatedMappings, "generatedLine", "generatedColumn", util.compareByGeneratedPositionsDeflated, util.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND));
448
- if (index >= 0) {
449
- var mapping = this._generatedMappings[index];
450
- if (mapping.generatedLine === needle.generatedLine) {
451
- var source = util.getArg(mapping, "source", null);
452
- if (source !== null) {
453
- source = this._sources.at(source);
454
- source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
455
- }
456
- var name = util.getArg(mapping, "name", null);
457
- if (name !== null) name = this._names.at(name);
458
- return {
459
- source,
460
- line: util.getArg(mapping, "originalLine", null),
461
- column: util.getArg(mapping, "originalColumn", null),
462
- name
463
- };
464
- }
465
- }
466
- return {
467
- source: null,
468
- line: null,
469
- column: null,
470
- name: null
471
- };
472
- };
473
- /**
474
- * Return true if we have the source content for every source in the source
475
- * map, false otherwise.
476
- */
477
- BasicSourceMapConsumer.prototype.hasContentsOfAllSources = function BasicSourceMapConsumer_hasContentsOfAllSources() {
478
- if (!this.sourcesContent) return false;
479
- return this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(sc) {
480
- return sc == null;
481
- });
482
- };
483
- /**
484
- * Returns the original source content. The only argument is the url of the
485
- * original source file. Returns null if no original source content is
486
- * available.
487
- */
488
- BasicSourceMapConsumer.prototype.sourceContentFor = function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
489
- if (!this.sourcesContent) return null;
490
- var index = this._findSourceIndex(aSource);
491
- if (index >= 0) return this.sourcesContent[index];
492
- var relativeSource = aSource;
493
- if (this.sourceRoot != null) relativeSource = util.relative(this.sourceRoot, relativeSource);
494
- var url;
495
- if (this.sourceRoot != null && (url = util.urlParse(this.sourceRoot))) {
496
- var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
497
- if (url.scheme == "file" && this._sources.has(fileUriAbsPath)) return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)];
498
- if ((!url.path || url.path == "/") && this._sources.has("/" + relativeSource)) return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
499
- }
500
- if (nullOnMissing) return null;
501
- else throw new Error("\"" + relativeSource + "\" is not in the SourceMap.");
502
- };
503
- /**
504
- * Returns the generated line and column information for the original source,
505
- * line, and column positions provided. The only argument is an object with
506
- * the following properties:
507
- *
508
- * - source: The filename of the original source.
509
- * - line: The line number in the original source. The line number
510
- * is 1-based.
511
- * - column: The column number in the original source. The column
512
- * number is 0-based.
513
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
514
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
515
- * closest element that is smaller than or greater than the one we are
516
- * searching for, respectively, if the exact element cannot be found.
517
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
518
- *
519
- * and an object is returned with the following properties:
520
- *
521
- * - line: The line number in the generated source, or null. The
522
- * line number is 1-based.
523
- * - column: The column number in the generated source, or null.
524
- * The column number is 0-based.
525
- */
526
- BasicSourceMapConsumer.prototype.generatedPositionFor = function SourceMapConsumer_generatedPositionFor(aArgs) {
527
- var source = util.getArg(aArgs, "source");
528
- source = this._findSourceIndex(source);
529
- if (source < 0) return {
530
- line: null,
531
- column: null,
532
- lastColumn: null
533
- };
534
- var needle = {
535
- source,
536
- originalLine: util.getArg(aArgs, "line"),
537
- originalColumn: util.getArg(aArgs, "column")
538
- };
539
- var index = this._findMapping(needle, this._originalMappings, "originalLine", "originalColumn", util.compareByOriginalPositions, util.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND));
540
- if (index >= 0) {
541
- var mapping = this._originalMappings[index];
542
- if (mapping.source === needle.source) return {
543
- line: util.getArg(mapping, "generatedLine", null),
544
- column: util.getArg(mapping, "generatedColumn", null),
545
- lastColumn: util.getArg(mapping, "lastGeneratedColumn", null)
546
- };
547
- }
548
- return {
549
- line: null,
550
- column: null,
551
- lastColumn: null
552
- };
553
- };
554
- exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
555
- /**
556
- * An IndexedSourceMapConsumer instance represents a parsed source map which
557
- * we can query for information. It differs from BasicSourceMapConsumer in
558
- * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
559
- * input.
560
- *
561
- * The first parameter is a raw source map (either as a JSON string, or already
562
- * parsed to an object). According to the spec for indexed source maps, they
563
- * have the following attributes:
564
- *
565
- * - version: Which version of the source map spec this map is following.
566
- * - file: Optional. The generated file this source map is associated with.
567
- * - sections: A list of section definitions.
568
- *
569
- * Each value under the "sections" field has two fields:
570
- * - offset: The offset into the original specified at which this section
571
- * begins to apply, defined as an object with a "line" and "column"
572
- * field.
573
- * - map: A source map definition. This source map could also be indexed,
574
- * but doesn't have to be.
575
- *
576
- * Instead of the "map" field, it's also possible to have a "url" field
577
- * specifying a URL to retrieve a source map from, but that's currently
578
- * unsupported.
579
- *
580
- * Here's an example source map, taken from the source map spec[0], but
581
- * modified to omit a section which uses the "url" field.
582
- *
583
- * {
584
- * version : 3,
585
- * file: "app.js",
586
- * sections: [{
587
- * offset: {line:100, column:10},
588
- * map: {
589
- * version : 3,
590
- * file: "section.js",
591
- * sources: ["foo.js", "bar.js"],
592
- * names: ["src", "maps", "are", "fun"],
593
- * mappings: "AAAA,E;;ABCDE;"
594
- * }
595
- * }],
596
- * }
597
- *
598
- * The second parameter, if given, is a string whose value is the URL
599
- * at which the source map was found. This URL is used to compute the
600
- * sources array.
601
- *
602
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
603
- */
604
- function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
605
- var sourceMap = aSourceMap;
606
- if (typeof aSourceMap === "string") sourceMap = util.parseSourceMapInput(aSourceMap);
607
- var version = util.getArg(sourceMap, "version");
608
- var sections = util.getArg(sourceMap, "sections");
609
- if (version != this._version) throw new Error("Unsupported version: " + version);
610
- this._sources = new ArraySet();
611
- this._names = new ArraySet();
612
- var lastOffset = {
613
- line: -1,
614
- column: 0
615
- };
616
- this._sections = sections.map(function(s) {
617
- if (s.url) throw new Error("Support for url field in sections not implemented.");
618
- var offset = util.getArg(s, "offset");
619
- var offsetLine = util.getArg(offset, "line");
620
- var offsetColumn = util.getArg(offset, "column");
621
- if (offsetLine < lastOffset.line || offsetLine === lastOffset.line && offsetColumn < lastOffset.column) throw new Error("Section offsets must be ordered and non-overlapping.");
622
- lastOffset = offset;
623
- return {
624
- generatedOffset: {
625
- generatedLine: offsetLine + 1,
626
- generatedColumn: offsetColumn + 1
627
- },
628
- consumer: new SourceMapConsumer(util.getArg(s, "map"), aSourceMapURL)
629
- };
630
- });
631
- }
632
- IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
633
- IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
634
- /**
635
- * The version of the source mapping spec that we are consuming.
636
- */
637
- IndexedSourceMapConsumer.prototype._version = 3;
638
- /**
639
- * The list of original sources.
640
- */
641
- Object.defineProperty(IndexedSourceMapConsumer.prototype, "sources", { get: function() {
642
- var sources = [];
643
- for (var i = 0; i < this._sections.length; i++) for (var j = 0; j < this._sections[i].consumer.sources.length; j++) sources.push(this._sections[i].consumer.sources[j]);
644
- return sources;
645
- } });
646
- /**
647
- * Returns the original source, line, and column information for the generated
648
- * source's line and column positions provided. The only argument is an object
649
- * with the following properties:
650
- *
651
- * - line: The line number in the generated source. The line number
652
- * is 1-based.
653
- * - column: The column number in the generated source. The column
654
- * number is 0-based.
655
- *
656
- * and an object is returned with the following properties:
657
- *
658
- * - source: The original source file, or null.
659
- * - line: The line number in the original source, or null. The
660
- * line number is 1-based.
661
- * - column: The column number in the original source, or null. The
662
- * column number is 0-based.
663
- * - name: The original identifier, or null.
664
- */
665
- IndexedSourceMapConsumer.prototype.originalPositionFor = function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
666
- var needle = {
667
- generatedLine: util.getArg(aArgs, "line"),
668
- generatedColumn: util.getArg(aArgs, "column")
669
- };
670
- var sectionIndex = binarySearch.search(needle, this._sections, function(needle$1, section$1) {
671
- var cmp = needle$1.generatedLine - section$1.generatedOffset.generatedLine;
672
- if (cmp) return cmp;
673
- return needle$1.generatedColumn - section$1.generatedOffset.generatedColumn;
674
- });
675
- var section = this._sections[sectionIndex];
676
- if (!section) return {
677
- source: null,
678
- line: null,
679
- column: null,
680
- name: null
681
- };
682
- return section.consumer.originalPositionFor({
683
- line: needle.generatedLine - (section.generatedOffset.generatedLine - 1),
684
- column: needle.generatedColumn - (section.generatedOffset.generatedLine === needle.generatedLine ? section.generatedOffset.generatedColumn - 1 : 0),
685
- bias: aArgs.bias
686
- });
687
- };
688
- /**
689
- * Return true if we have the source content for every source in the source
690
- * map, false otherwise.
691
- */
692
- IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = function IndexedSourceMapConsumer_hasContentsOfAllSources() {
693
- return this._sections.every(function(s) {
694
- return s.consumer.hasContentsOfAllSources();
695
- });
696
- };
697
- /**
698
- * Returns the original source content. The only argument is the url of the
699
- * original source file. Returns null if no original source content is
700
- * available.
701
- */
702
- IndexedSourceMapConsumer.prototype.sourceContentFor = function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
703
- for (var i = 0; i < this._sections.length; i++) {
704
- var content = this._sections[i].consumer.sourceContentFor(aSource, true);
705
- if (content || content === "") return content;
706
- }
707
- if (nullOnMissing) return null;
708
- else throw new Error("\"" + aSource + "\" is not in the SourceMap.");
709
- };
710
- /**
711
- * Returns the generated line and column information for the original source,
712
- * line, and column positions provided. The only argument is an object with
713
- * the following properties:
714
- *
715
- * - source: The filename of the original source.
716
- * - line: The line number in the original source. The line number
717
- * is 1-based.
718
- * - column: The column number in the original source. The column
719
- * number is 0-based.
720
- *
721
- * and an object is returned with the following properties:
722
- *
723
- * - line: The line number in the generated source, or null. The
724
- * line number is 1-based.
725
- * - column: The column number in the generated source, or null.
726
- * The column number is 0-based.
727
- */
728
- IndexedSourceMapConsumer.prototype.generatedPositionFor = function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
729
- for (var i = 0; i < this._sections.length; i++) {
730
- var section = this._sections[i];
731
- if (section.consumer._findSourceIndex(util.getArg(aArgs, "source")) === -1) continue;
732
- var generatedPosition = section.consumer.generatedPositionFor(aArgs);
733
- if (generatedPosition) return {
734
- line: generatedPosition.line + (section.generatedOffset.generatedLine - 1),
735
- column: generatedPosition.column + (section.generatedOffset.generatedLine === generatedPosition.line ? section.generatedOffset.generatedColumn - 1 : 0)
736
- };
737
- }
738
- return {
739
- line: null,
740
- column: null
741
- };
742
- };
743
- /**
744
- * Parse the mappings in a string in to a data structure which we can easily
745
- * query (the ordered arrays in the `this.__generatedMappings` and
746
- * `this.__originalMappings` properties).
747
- */
748
- IndexedSourceMapConsumer.prototype._parseMappings = function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
749
- this.__generatedMappings = [];
750
- this.__originalMappings = [];
751
- for (var i = 0; i < this._sections.length; i++) {
752
- var section = this._sections[i];
753
- var sectionMappings = section.consumer._generatedMappings;
754
- for (var j = 0; j < sectionMappings.length; j++) {
755
- var mapping = sectionMappings[j];
756
- var source = section.consumer._sources.at(mapping.source);
757
- if (source !== null) source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
758
- this._sources.add(source);
759
- source = this._sources.indexOf(source);
760
- var name = null;
761
- if (mapping.name) {
762
- name = section.consumer._names.at(mapping.name);
763
- this._names.add(name);
764
- name = this._names.indexOf(name);
765
- }
766
- var adjustedMapping = {
767
- source,
768
- generatedLine: mapping.generatedLine + (section.generatedOffset.generatedLine - 1),
769
- generatedColumn: mapping.generatedColumn + (section.generatedOffset.generatedLine === mapping.generatedLine ? section.generatedOffset.generatedColumn - 1 : 0),
770
- originalLine: mapping.originalLine,
771
- originalColumn: mapping.originalColumn,
772
- name
773
- };
774
- this.__generatedMappings.push(adjustedMapping);
775
- if (typeof adjustedMapping.originalLine === "number") this.__originalMappings.push(adjustedMapping);
776
- }
777
- }
778
- quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
779
- quickSort(this.__originalMappings, util.compareByOriginalPositions);
780
- };
781
- exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
782
- }) });
783
-
784
- //#endregion
785
- Object.defineProperty(exports, 'default', {
786
- enumerable: true,
787
- get: function () {
788
- return require_source_map_consumer();
789
- }
790
- });
791
- //# sourceMappingURL=source-map-consumer.cjs.map