hasting-swatchcart-module 0.0.8 → 0.0.9

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 (352) hide show
  1. package/dist/assets/SwatchesModule.css +1 -0
  2. package/dist/components/SwatchesModule.js +23440 -24
  3. package/dist/components/Test.js +5 -0
  4. package/dist/lib/components/Test.d.ts +1 -0
  5. package/dist/main.js +0 -1
  6. package/dist/{src/shared/constants/props.js → rootReducer-BqfJd5QI.js} +1913 -3
  7. package/dist/store/LibraryProvider.js +3 -4
  8. package/dist/store/rootReducer.js +2 -10
  9. package/dist/store/store.js +5 -15
  10. package/dist/store-BZ_1BK_I.js +382 -0
  11. package/package.json +1 -1
  12. package/dist/_virtual/_commonjsHelpers.js +0 -6
  13. package/dist/_virtual/index.js +0 -7
  14. package/dist/_virtual/index2.js +0 -7
  15. package/dist/_virtual/index3.js +0 -4
  16. package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -4
  17. package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -4
  18. package/dist/_virtual/utilities.js +0 -4
  19. package/dist/_virtual/with-selector.js +0 -5
  20. package/dist/_virtual/with-selector2.js +0 -4
  21. package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +0 -1
  22. package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +0 -1
  23. package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
  24. package/dist/assets/styles/index.css +0 -1
  25. package/dist/main.d.ts +0 -1
  26. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  27. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  28. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  29. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  30. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  31. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  32. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  33. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
  34. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  35. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
  36. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -256
  37. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  38. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  39. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  40. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  41. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -231
  42. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  43. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  44. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  45. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  46. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  47. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  48. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  49. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  50. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  51. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
  52. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  53. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +0 -877
  54. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -35
  55. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -497
  56. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  57. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +0 -62
  58. package/dist/node_modules/@ungap/structured-clone/esm/index.js +0 -11
  59. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +0 -106
  60. package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -13
  61. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  62. package/dist/node_modules/bail/index.js +0 -7
  63. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  64. package/dist/node_modules/comma-separated-tokens/index.js +0 -20
  65. package/dist/node_modules/decode-named-character-reference/index.dom.js +0 -14
  66. package/dist/node_modules/devlop/lib/default.js +0 -8
  67. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +0 -7
  68. package/dist/node_modules/extend/index.js +0 -43
  69. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  70. package/dist/node_modules/hast-util-from-parse5/lib/index.js +0 -145
  71. package/dist/node_modules/hast-util-parse-selector/lib/index.js +0 -20
  72. package/dist/node_modules/hast-util-raw/lib/index.js +0 -217
  73. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +0 -302
  74. package/dist/node_modules/hast-util-to-parse5/lib/index.js +0 -118
  75. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +0 -12
  76. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +0 -61
  77. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +0 -33
  78. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +0 -368
  79. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +0 -6
  80. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +0 -566
  81. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  82. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  83. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +0 -22
  84. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +0 -27
  85. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +0 -23
  86. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +0 -11
  87. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +0 -17
  88. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +0 -14
  89. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +0 -19
  90. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +0 -11
  91. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +0 -11
  92. package/dist/node_modules/hast-util-whitespace/lib/index.js +0 -10
  93. package/dist/node_modules/hastscript/lib/create-h.js +0 -112
  94. package/dist/node_modules/hastscript/lib/index.js +0 -8
  95. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -44
  96. package/dist/node_modules/html-url-attributes/lib/index.js +0 -26
  97. package/dist/node_modules/html-void-elements/index.js +0 -25
  98. package/dist/node_modules/immer/dist/immer.js +0 -467
  99. package/dist/node_modules/inline-style-parser/index.js +0 -93
  100. package/dist/node_modules/is-plain-obj/index.js +0 -9
  101. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -40
  102. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -27
  103. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
  104. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -12
  105. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -12
  106. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -15
  107. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
  108. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +0 -581
  109. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -90
  110. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -12
  111. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -8
  112. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -15
  113. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -12
  114. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -12
  115. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -28
  116. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -12
  117. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -9
  118. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -14
  119. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -10
  120. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -58
  121. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -14
  122. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -19
  123. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -15
  124. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -42
  125. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -21
  126. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -12
  127. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -7
  128. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -12
  129. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -13
  130. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -21
  131. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -32
  132. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -8
  133. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -12
  134. package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -10
  135. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -13
  136. package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -104
  137. package/dist/node_modules/mdast-util-to-string/lib/index.js +0 -29
  138. package/dist/node_modules/micromark/lib/constructs.js +0 -85
  139. package/dist/node_modules/micromark/lib/create-tokenizer.js +0 -223
  140. package/dist/node_modules/micromark/lib/initialize/content.js +0 -37
  141. package/dist/node_modules/micromark/lib/initialize/document.js +0 -126
  142. package/dist/node_modules/micromark/lib/initialize/flow.js +0 -33
  143. package/dist/node_modules/micromark/lib/initialize/text.js +0 -95
  144. package/dist/node_modules/micromark/lib/parse.js +0 -32
  145. package/dist/node_modules/micromark/lib/postprocess.js +0 -9
  146. package/dist/node_modules/micromark/lib/preprocess.js +0 -39
  147. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +0 -83
  148. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +0 -43
  149. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
  150. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -42
  151. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -17
  152. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -30
  153. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -94
  154. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -43
  155. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +0 -45
  156. package/dist/node_modules/micromark-core-commonmark/lib/content.js +0 -50
  157. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +0 -80
  158. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -17
  159. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -46
  160. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -144
  161. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +0 -102
  162. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +0 -152
  163. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -22
  164. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -19
  165. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
  166. package/dist/node_modules/micromark-core-commonmark/lib/list.js +0 -90
  167. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -57
  168. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -25
  169. package/dist/node_modules/micromark-factory-destination/index.js +0 -31
  170. package/dist/node_modules/micromark-factory-label/index.js +0 -28
  171. package/dist/node_modules/micromark-factory-space/index.js +0 -15
  172. package/dist/node_modules/micromark-factory-title/index.js +0 -26
  173. package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
  174. package/dist/node_modules/micromark-util-character/index.js +0 -39
  175. package/dist/node_modules/micromark-util-chunked/index.js +0 -16
  176. package/dist/node_modules/micromark-util-classify-character/index.js +0 -10
  177. package/dist/node_modules/micromark-util-combine-extensions/index.js +0 -36
  178. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -16
  179. package/dist/node_modules/micromark-util-decode-string/index.js +0 -18
  180. package/dist/node_modules/micromark-util-html-tag-name/index.js +0 -68
  181. package/dist/node_modules/micromark-util-normalize-identifier/index.js +0 -6
  182. package/dist/node_modules/micromark-util-resolve-all/index.js +0 -12
  183. package/dist/node_modules/micromark-util-sanitize-uri/index.js +0 -23
  184. package/dist/node_modules/micromark-util-subtokenize/index.js +0 -55
  185. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -175
  186. package/dist/node_modules/parse5/dist/common/doctype.js +0 -98
  187. package/dist/node_modules/parse5/dist/common/error-codes.js +0 -7
  188. package/dist/node_modules/parse5/dist/common/foreign-content.js +0 -210
  189. package/dist/node_modules/parse5/dist/common/html.js +0 -250
  190. package/dist/node_modules/parse5/dist/common/token.js +0 -14
  191. package/dist/node_modules/parse5/dist/common/unicode.js +0 -73
  192. package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +0 -84
  193. package/dist/node_modules/parse5/dist/parser/index.js +0 -2271
  194. package/dist/node_modules/parse5/dist/parser/open-element-stack.js +0 -240
  195. package/dist/node_modules/parse5/dist/serializer/index.js +0 -2
  196. package/dist/node_modules/parse5/dist/tokenizer/index.js +0 -1940
  197. package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -88
  198. package/dist/node_modules/parse5/dist/tree-adapters/default.js +0 -162
  199. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -38
  200. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -245
  201. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
  202. package/dist/node_modules/property-information/index.js +0 -12
  203. package/dist/node_modules/property-information/lib/aria.js +0 -61
  204. package/dist/node_modules/property-information/lib/find.js +0 -33
  205. package/dist/node_modules/property-information/lib/hast-to-react.js +0 -22
  206. package/dist/node_modules/property-information/lib/html.js +0 -368
  207. package/dist/node_modules/property-information/lib/normalize.js +0 -6
  208. package/dist/node_modules/property-information/lib/svg.js +0 -566
  209. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  210. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  211. package/dist/node_modules/property-information/lib/util/create.js +0 -19
  212. package/dist/node_modules/property-information/lib/util/defined-info.js +0 -36
  213. package/dist/node_modules/property-information/lib/util/info.js +0 -28
  214. package/dist/node_modules/property-information/lib/util/merge.js +0 -10
  215. package/dist/node_modules/property-information/lib/util/schema.js +0 -21
  216. package/dist/node_modules/property-information/lib/util/types.js +0 -14
  217. package/dist/node_modules/property-information/lib/xlink.js +0 -19
  218. package/dist/node_modules/property-information/lib/xml.js +0 -11
  219. package/dist/node_modules/property-information/lib/xmlns.js +0 -11
  220. package/dist/node_modules/react-markdown/lib/index.js +0 -102
  221. package/dist/node_modules/react-redux/dist/react-redux.js +0 -246
  222. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  223. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
  224. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  225. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  226. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  227. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  228. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  229. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  230. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  231. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  232. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  233. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  234. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  235. package/dist/node_modules/redux/dist/redux.js +0 -258
  236. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +0 -8
  237. package/dist/node_modules/rehype-raw/lib/index.js +0 -12
  238. package/dist/node_modules/remark-parse/lib/index.js +0 -19
  239. package/dist/node_modules/remark-rehype/lib/index.js +0 -18
  240. package/dist/node_modules/reselect/dist/reselect.js +0 -244
  241. package/dist/node_modules/space-separated-tokens/index.js +0 -11
  242. package/dist/node_modules/style-to-js/cjs/index.js +0 -20
  243. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -19
  244. package/dist/node_modules/style-to-object/cjs/index.js +0 -28
  245. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2731
  246. package/dist/node_modules/trim-lines/index.js +0 -28
  247. package/dist/node_modules/trough/lib/index.js +0 -60
  248. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  249. package/dist/node_modules/unified/lib/callable-instance.js +0 -25
  250. package/dist/node_modules/unified/lib/index.js +0 -529
  251. package/dist/node_modules/unist-util-is/lib/index.js +0 -84
  252. package/dist/node_modules/unist-util-position/lib/index.js +0 -23
  253. package/dist/node_modules/unist-util-stringify-position/lib/index.js +0 -15
  254. package/dist/node_modules/unist-util-visit/lib/index.js +0 -16
  255. package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
  256. package/dist/node_modules/unist-util-visit-parents/lib/index.js +0 -56
  257. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  258. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  259. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  260. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  261. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
  262. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -66
  263. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -65
  264. package/dist/node_modules/use-sync-external-store/with-selector.js +0 -10
  265. package/dist/node_modules/vfile/lib/index.js +0 -406
  266. package/dist/node_modules/vfile/lib/minpath.browser.js +0 -112
  267. package/dist/node_modules/vfile/lib/minproc.browser.js +0 -7
  268. package/dist/node_modules/vfile/lib/minurl.browser.js +0 -41
  269. package/dist/node_modules/vfile/lib/minurl.shared.js +0 -7
  270. package/dist/node_modules/vfile-location/lib/index.js +0 -42
  271. package/dist/node_modules/vfile-message/lib/index.js +0 -91
  272. package/dist/node_modules/web-namespaces/index.js +0 -11
  273. package/dist/node_modules/zwitch/index.js +0 -18
  274. package/dist/src/app/assets/images/product_thumb.png.js +0 -4
  275. package/dist/src/app/assets/svg/ArrowIconSVG.js +0 -25
  276. package/dist/src/app/assets/svg/CheckMarkIconSVG.js +0 -25
  277. package/dist/src/app/assets/svg/CloseIconSVG.js +0 -25
  278. package/dist/src/app/assets/svg/MinusIconSVG.js +0 -24
  279. package/dist/src/app/assets/svg/PlusIconSVG.js +0 -24
  280. package/dist/src/app/assets/svg/SearchIconSVG.js +0 -37
  281. package/dist/src/app/assets/svg/TrashIconSVG.js +0 -24
  282. package/dist/src/app/store/rootReducer.js +0 -12
  283. package/dist/src/app/store/store.js +0 -14
  284. package/dist/src/features/Cart/lib/CartCervices.js +0 -8
  285. package/dist/src/features/Cart/model/cartSlice.js +0 -58
  286. package/dist/src/features/Cart/model/selectors.js +0 -18
  287. package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +0 -53
  288. package/dist/src/features/Cart/ui/CartList/CartList.js +0 -29
  289. package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +0 -41
  290. package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +0 -23
  291. package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +0 -38
  292. package/dist/src/features/Cart/ui/Counter/Counter.js +0 -46
  293. package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +0 -102
  294. package/dist/src/features/DataAdapter/utils/types.js +0 -8
  295. package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +0 -34
  296. package/dist/src/features/MultiProduct/model/API/api.js +0 -18
  297. package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +0 -83
  298. package/dist/src/features/MultiProduct/model/selectors.js +0 -7
  299. package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +0 -21
  300. package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +0 -28
  301. package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +0 -27
  302. package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +0 -60
  303. package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +0 -71
  304. package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +0 -19
  305. package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +0 -138
  306. package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +0 -51
  307. package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +0 -55
  308. package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +0 -46
  309. package/dist/src/features/MultiProduct/utils/constants.js +0 -16
  310. package/dist/src/features/MultiProduct/utils/randomList.js +0 -41
  311. package/dist/src/features/swatches/lib/AttributeHelper.js +0 -21
  312. package/dist/src/features/swatches/lib/SwatchesServices.js +0 -54
  313. package/dist/src/features/swatches/model/selectors.js +0 -12
  314. package/dist/src/features/swatches/model/swatchesSlice.js +0 -108
  315. package/dist/src/features/swatches/model/thunks.js +0 -22
  316. package/dist/src/features/swatches/model/types.js +0 -6
  317. package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +0 -45
  318. package/dist/src/features/swatches/ui/Filters/LooksFilter.js +0 -45
  319. package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +0 -47
  320. package/dist/src/features/swatches/ui/Filters/index.js +0 -12
  321. package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +0 -50
  322. package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +0 -45
  323. package/dist/src/features/swatches/ui/MaterialList/index.js +0 -39
  324. package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +0 -51
  325. package/dist/src/features/swatches/ui/ProductElement/index.js +0 -65
  326. package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +0 -62
  327. package/dist/src/features/swatches/ui/Swatches.js +0 -51
  328. package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +0 -67
  329. package/dist/src/features/swatches/utils/constants.js +0 -8
  330. package/dist/src/shared/constants/selectedMaterials.js +0 -4
  331. package/dist/src/shared/types/activeTab.js +0 -7
  332. package/dist/src/shared/ui/Checkbox/Checkbox.js +0 -31
  333. package/dist/src/shared/ui/CustomButton/CustomButton.js +0 -16
  334. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +0 -59
  335. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +0 -13
  336. package/dist/src/shared/ui/Dialog/Dialog.js +0 -81
  337. package/dist/src/shared/ui/Label/Label.js +0 -27
  338. package/dist/src/shared/ui/Markdown/MDWithAccordion.js +0 -36
  339. package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +0 -9
  340. package/dist/src/shared/ui/MaterialItem/MaterialItem.js +0 -36
  341. package/dist/src/shared/ui/MultiSelect/MultiSelect.js +0 -150
  342. package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +0 -35
  343. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +0 -37
  344. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +0 -4
  345. package/dist/src/shared/ui/Slider/Slider.js +0 -117
  346. package/dist/src/shared/utils/cn.js +0 -8
  347. package/dist/src/shared/utils/uniqueList.js +0 -4
  348. /package/dist/{components → lib/components}/SwatchesModule.d.ts +0 -0
  349. /package/dist/{store → lib/store}/LibraryProvider.d.ts +0 -0
  350. /package/dist/{store → lib/store}/rootReducer.d.ts +0 -0
  351. /package/dist/{store → lib/store}/store.d.ts +0 -0
  352. /package/dist/{store → lib/store}/withStore.d.ts +0 -0
@@ -1,102 +0,0 @@
1
- import { factorySpace as R } from "../../micromark-factory-space/index.js";
2
- import { asciiAlpha as A, markdownLineEnding as m, asciiAlphanumeric as w, markdownSpace as g, markdownLineEndingOrSpace as D } from "../../micromark-util-character/index.js";
3
- const Z = {
4
- name: "htmlText",
5
- tokenize: W
6
- };
7
- function W(r, q, u) {
8
- const v = this;
9
- let h, O, t;
10
- return y;
11
- function y(n) {
12
- return r.enter("htmlText"), r.enter("htmlTextData"), r.consume(n), H;
13
- }
14
- function H(n) {
15
- return n === 33 ? (r.consume(n), U) : n === 47 ? (r.consume(n), J) : n === 63 ? (r.consume(n), s) : A(n) ? (r.consume(n), L) : u(n);
16
- }
17
- function U(n) {
18
- return n === 45 ? (r.consume(n), j) : n === 91 ? (r.consume(n), O = 0, V) : A(n) ? (r.consume(n), e) : u(n);
19
- }
20
- function j(n) {
21
- return n === 45 ? (r.consume(n), B) : u(n);
22
- }
23
- function x(n) {
24
- return n === null ? u(n) : n === 45 ? (r.consume(n), S) : m(n) ? (t = x, i(n)) : (r.consume(n), x);
25
- }
26
- function S(n) {
27
- return n === 45 ? (r.consume(n), B) : x(n);
28
- }
29
- function B(n) {
30
- return n === 62 ? a(n) : n === 45 ? S(n) : x(n);
31
- }
32
- function V(n) {
33
- const f = "CDATA[";
34
- return n === f.charCodeAt(O++) ? (r.consume(n), O === f.length ? p : V) : u(n);
35
- }
36
- function p(n) {
37
- return n === null ? u(n) : n === 93 ? (r.consume(n), F) : m(n) ? (t = p, i(n)) : (r.consume(n), p);
38
- }
39
- function F(n) {
40
- return n === 93 ? (r.consume(n), I) : p(n);
41
- }
42
- function I(n) {
43
- return n === 62 ? a(n) : n === 93 ? (r.consume(n), I) : p(n);
44
- }
45
- function e(n) {
46
- return n === null || n === 62 ? a(n) : m(n) ? (t = e, i(n)) : (r.consume(n), e);
47
- }
48
- function s(n) {
49
- return n === null ? u(n) : n === 63 ? (r.consume(n), G) : m(n) ? (t = s, i(n)) : (r.consume(n), s);
50
- }
51
- function G(n) {
52
- return n === 62 ? a(n) : s(n);
53
- }
54
- function J(n) {
55
- return A(n) ? (r.consume(n), z) : u(n);
56
- }
57
- function z(n) {
58
- return n === 45 || w(n) ? (r.consume(n), z) : T(n);
59
- }
60
- function T(n) {
61
- return m(n) ? (t = T, i(n)) : g(n) ? (r.consume(n), T) : a(n);
62
- }
63
- function L(n) {
64
- return n === 45 || w(n) ? (r.consume(n), L) : n === 47 || n === 62 || D(n) ? l(n) : u(n);
65
- }
66
- function l(n) {
67
- return n === 47 ? (r.consume(n), a) : n === 58 || n === 95 || A(n) ? (r.consume(n), N) : m(n) ? (t = l, i(n)) : g(n) ? (r.consume(n), l) : a(n);
68
- }
69
- function N(n) {
70
- return n === 45 || n === 46 || n === 58 || n === 95 || w(n) ? (r.consume(n), N) : E(n);
71
- }
72
- function E(n) {
73
- return n === 61 ? (r.consume(n), C) : m(n) ? (t = E, i(n)) : g(n) ? (r.consume(n), E) : l(n);
74
- }
75
- function C(n) {
76
- return n === null || n === 60 || n === 61 || n === 62 || n === 96 ? u(n) : n === 34 || n === 39 ? (r.consume(n), h = n, b) : m(n) ? (t = C, i(n)) : g(n) ? (r.consume(n), C) : (r.consume(n), P);
77
- }
78
- function b(n) {
79
- return n === h ? (r.consume(n), h = void 0, K) : n === null ? u(n) : m(n) ? (t = b, i(n)) : (r.consume(n), b);
80
- }
81
- function P(n) {
82
- return n === null || n === 34 || n === 39 || n === 60 || n === 61 || n === 96 ? u(n) : n === 47 || n === 62 || D(n) ? l(n) : (r.consume(n), P);
83
- }
84
- function K(n) {
85
- return n === 47 || n === 62 || D(n) ? l(n) : u(n);
86
- }
87
- function a(n) {
88
- return n === 62 ? (r.consume(n), r.exit("htmlTextData"), r.exit("htmlText"), q) : u(n);
89
- }
90
- function i(n) {
91
- return r.exit("htmlTextData"), r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), M;
92
- }
93
- function M(n) {
94
- return g(n) ? R(r, Q, "linePrefix", v.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : Q(n);
95
- }
96
- function Q(n) {
97
- return r.enter("htmlTextData"), t(n);
98
- }
99
- }
100
- export {
101
- Z as htmlText
102
- };
@@ -1,152 +0,0 @@
1
- import { factoryDestination as d } from "../../micromark-factory-destination/index.js";
2
- import { factoryLabel as h } from "../../micromark-factory-label/index.js";
3
- import { factoryTitle as M } from "../../micromark-factory-title/index.js";
4
- import { factoryWhitespace as k } from "../../micromark-factory-whitespace/index.js";
5
- import { markdownLineEndingOrSpace as m } from "../../micromark-util-character/index.js";
6
- import { push as b, splice as y } from "../../micromark-util-chunked/index.js";
7
- import { normalizeIdentifier as g } from "../../micromark-util-normalize-identifier/index.js";
8
- import { resolveAll as E } from "../../micromark-util-resolve-all/index.js";
9
- const j = {
10
- name: "labelEnd",
11
- resolveAll: S,
12
- resolveTo: w,
13
- tokenize: D
14
- }, L = {
15
- tokenize: T
16
- }, z = {
17
- tokenize: C
18
- }, x = {
19
- tokenize: A
20
- };
21
- function S(e) {
22
- let u = -1;
23
- const a = [];
24
- for (; ++u < e.length; ) {
25
- const n = e[u][1];
26
- if (a.push(e[u]), n.type === "labelImage" || n.type === "labelLink" || n.type === "labelEnd") {
27
- const i = n.type === "labelImage" ? 4 : 2;
28
- n.type = "data", u += i;
29
- }
30
- }
31
- return e.length !== a.length && y(e, 0, e.length, a), e;
32
- }
33
- function w(e, u) {
34
- let a = e.length, n = 0, i, t, o, l;
35
- for (; a--; )
36
- if (i = e[a][1], t) {
37
- if (i.type === "link" || i.type === "labelLink" && i._inactive)
38
- break;
39
- e[a][0] === "enter" && i.type === "labelLink" && (i._inactive = !0);
40
- } else if (o) {
41
- if (e[a][0] === "enter" && (i.type === "labelImage" || i.type === "labelLink") && !i._balanced && (t = a, i.type !== "labelLink")) {
42
- n = 2;
43
- break;
44
- }
45
- } else i.type === "labelEnd" && (o = a);
46
- const p = {
47
- type: e[t][1].type === "labelLink" ? "link" : "image",
48
- start: {
49
- ...e[t][1].start
50
- },
51
- end: {
52
- ...e[e.length - 1][1].end
53
- }
54
- }, f = {
55
- type: "label",
56
- start: {
57
- ...e[t][1].start
58
- },
59
- end: {
60
- ...e[o][1].end
61
- }
62
- }, c = {
63
- type: "labelText",
64
- start: {
65
- ...e[t + n + 2][1].end
66
- },
67
- end: {
68
- ...e[o - 2][1].start
69
- }
70
- };
71
- return l = [["enter", p, u], ["enter", f, u]], l = b(l, e.slice(t + 1, t + n + 3)), l = b(l, [["enter", c, u]]), l = b(l, E(u.parser.constructs.insideSpan.null, e.slice(t + n + 4, o - 3), u)), l = b(l, [["exit", c, u], e[o - 2], e[o - 1], ["exit", f, u]]), l = b(l, e.slice(o + 1)), l = b(l, [["exit", p, u]]), y(e, t, e.length, l), e;
72
- }
73
- function D(e, u, a) {
74
- const n = this;
75
- let i = n.events.length, t, o;
76
- for (; i--; )
77
- if ((n.events[i][1].type === "labelImage" || n.events[i][1].type === "labelLink") && !n.events[i][1]._balanced) {
78
- t = n.events[i][1];
79
- break;
80
- }
81
- return l;
82
- function l(s) {
83
- return t ? t._inactive ? r(s) : (o = n.parser.defined.includes(g(n.sliceSerialize({
84
- start: t.end,
85
- end: n.now()
86
- }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(s), e.exit("labelMarker"), e.exit("labelEnd"), p) : a(s);
87
- }
88
- function p(s) {
89
- return s === 40 ? e.attempt(L, c, o ? c : r)(s) : s === 91 ? e.attempt(z, c, o ? f : r)(s) : o ? c(s) : r(s);
90
- }
91
- function f(s) {
92
- return e.attempt(x, c, r)(s);
93
- }
94
- function c(s) {
95
- return u(s);
96
- }
97
- function r(s) {
98
- return t._balanced = !0, a(s);
99
- }
100
- }
101
- function T(e, u, a) {
102
- return n;
103
- function n(r) {
104
- return e.enter("resource"), e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), i;
105
- }
106
- function i(r) {
107
- return m(r) ? k(e, t)(r) : t(r);
108
- }
109
- function t(r) {
110
- return r === 41 ? c(r) : d(e, o, l, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(r);
111
- }
112
- function o(r) {
113
- return m(r) ? k(e, p)(r) : c(r);
114
- }
115
- function l(r) {
116
- return a(r);
117
- }
118
- function p(r) {
119
- return r === 34 || r === 39 || r === 40 ? M(e, f, a, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(r) : c(r);
120
- }
121
- function f(r) {
122
- return m(r) ? k(e, c)(r) : c(r);
123
- }
124
- function c(r) {
125
- return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), u) : a(r);
126
- }
127
- }
128
- function C(e, u, a) {
129
- const n = this;
130
- return i;
131
- function i(l) {
132
- return h.call(n, e, t, o, "reference", "referenceMarker", "referenceString")(l);
133
- }
134
- function t(l) {
135
- return n.parser.defined.includes(g(n.sliceSerialize(n.events[n.events.length - 1][1]).slice(1, -1))) ? u(l) : a(l);
136
- }
137
- function o(l) {
138
- return a(l);
139
- }
140
- }
141
- function A(e, u, a) {
142
- return n;
143
- function n(t) {
144
- return e.enter("reference"), e.enter("referenceMarker"), e.consume(t), e.exit("referenceMarker"), i;
145
- }
146
- function i(t) {
147
- return t === 93 ? (e.enter("referenceMarker"), e.consume(t), e.exit("referenceMarker"), e.exit("reference"), u) : a(t);
148
- }
149
- }
150
- export {
151
- j as labelEnd
152
- };
@@ -1,22 +0,0 @@
1
- import { labelEnd as u } from "./label-end.js";
2
- const g = {
3
- name: "labelStartImage",
4
- resolveAll: u.resolveAll,
5
- tokenize: m
6
- };
7
- function m(r, a, t) {
8
- const n = this;
9
- return l;
10
- function l(e) {
11
- return r.enter("labelImage"), r.enter("labelImageMarker"), r.consume(e), r.exit("labelImageMarker"), o;
12
- }
13
- function o(e) {
14
- return e === 91 ? (r.enter("labelMarker"), r.consume(e), r.exit("labelMarker"), r.exit("labelImage"), i) : t(e);
15
- }
16
- function i(e) {
17
- return e === 94 && "_hiddenFootnoteSupport" in n.parser.constructs ? t(e) : a(e);
18
- }
19
- }
20
- export {
21
- g as labelStartImage
22
- };
@@ -1,19 +0,0 @@
1
- import { labelEnd as o } from "./label-end.js";
2
- const b = {
3
- name: "labelStartLink",
4
- resolveAll: o.resolveAll,
5
- tokenize: k
6
- };
7
- function k(n, r, e) {
8
- const l = this;
9
- return a;
10
- function a(t) {
11
- return n.enter("labelLink"), n.enter("labelMarker"), n.consume(t), n.exit("labelMarker"), n.exit("labelLink"), i;
12
- }
13
- function i(t) {
14
- return t === 94 && "_hiddenFootnoteSupport" in l.parser.constructs ? e(t) : r(t);
15
- }
16
- }
17
- export {
18
- b as labelStartLink
19
- };
@@ -1,14 +0,0 @@
1
- import { factorySpace as t } from "../../micromark-factory-space/index.js";
2
- const g = {
3
- name: "lineEnding",
4
- tokenize: o
5
- };
6
- function o(n, i) {
7
- return e;
8
- function e(r) {
9
- return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), t(n, i, "linePrefix");
10
- }
11
- }
12
- export {
13
- g as lineEnding
14
- };
@@ -1,90 +0,0 @@
1
- import { factorySpace as c } from "../../micromark-factory-space/index.js";
2
- import { asciiDigit as h, markdownSpace as k } from "../../micromark-util-character/index.js";
3
- import { blankLine as f } from "./blank-line.js";
4
- import { thematicBreak as d } from "./thematic-break.js";
5
- const z = {
6
- continuation: {
7
- tokenize: y
8
- },
9
- exit: v,
10
- name: "list",
11
- tokenize: B
12
- }, P = {
13
- partial: !0,
14
- tokenize: W
15
- }, L = {
16
- partial: !0,
17
- tokenize: g
18
- };
19
- function B(n, u, r) {
20
- const t = this, l = t.events[t.events.length - 1];
21
- let a = l && l[1].type === "linePrefix" ? l[2].sliceSerialize(l[1], !0).length : 0, i = 0;
22
- return s;
23
- function s(e) {
24
- const o = t.containerState.type || (e === 42 || e === 43 || e === 45 ? "listUnordered" : "listOrdered");
25
- if (o === "listUnordered" ? !t.containerState.marker || e === t.containerState.marker : h(e)) {
26
- if (t.containerState.type || (t.containerState.type = o, n.enter(o, {
27
- _container: !0
28
- })), o === "listUnordered")
29
- return n.enter("listItemPrefix"), e === 42 || e === 45 ? n.check(d, r, m)(e) : m(e);
30
- if (!t.interrupt || e === 49)
31
- return n.enter("listItemPrefix"), n.enter("listItemValue"), p(e);
32
- }
33
- return r(e);
34
- }
35
- function p(e) {
36
- return h(e) && ++i < 10 ? (n.consume(e), p) : (!t.interrupt || i < 2) && (t.containerState.marker ? e === t.containerState.marker : e === 41 || e === 46) ? (n.exit("listItemValue"), m(e)) : r(e);
37
- }
38
- function m(e) {
39
- return n.enter("listItemMarker"), n.consume(e), n.exit("listItemMarker"), t.containerState.marker = t.containerState.marker || e, n.check(
40
- f,
41
- // Can’t be empty when interrupting.
42
- t.interrupt ? r : I,
43
- n.attempt(P, S, x)
44
- );
45
- }
46
- function I(e) {
47
- return t.containerState.initialBlankLine = !0, a++, S(e);
48
- }
49
- function x(e) {
50
- return k(e) ? (n.enter("listItemPrefixWhitespace"), n.consume(e), n.exit("listItemPrefixWhitespace"), S) : r(e);
51
- }
52
- function S(e) {
53
- return t.containerState.size = a + t.sliceSerialize(n.exit("listItemPrefix"), !0).length, u(e);
54
- }
55
- }
56
- function y(n, u, r) {
57
- const t = this;
58
- return t.containerState._closeFlow = void 0, n.check(f, l, a);
59
- function l(s) {
60
- return t.containerState.furtherBlankLines = t.containerState.furtherBlankLines || t.containerState.initialBlankLine, c(n, u, "listItemIndent", t.containerState.size + 1)(s);
61
- }
62
- function a(s) {
63
- return t.containerState.furtherBlankLines || !k(s) ? (t.containerState.furtherBlankLines = void 0, t.containerState.initialBlankLine = void 0, i(s)) : (t.containerState.furtherBlankLines = void 0, t.containerState.initialBlankLine = void 0, n.attempt(L, u, i)(s));
64
- }
65
- function i(s) {
66
- return t.containerState._closeFlow = !0, t.interrupt = void 0, c(n, n.attempt(z, u, r), "linePrefix", t.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s);
67
- }
68
- }
69
- function g(n, u, r) {
70
- const t = this;
71
- return c(n, l, "listItemIndent", t.containerState.size + 1);
72
- function l(a) {
73
- const i = t.events[t.events.length - 1];
74
- return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === t.containerState.size ? u(a) : r(a);
75
- }
76
- }
77
- function v(n) {
78
- n.exit(this.containerState.type);
79
- }
80
- function W(n, u, r) {
81
- const t = this;
82
- return c(n, l, "listItemPrefixWhitespace", t.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
83
- function l(a) {
84
- const i = t.events[t.events.length - 1];
85
- return !k(a) && i && i[1].type === "listItemPrefixWhitespace" ? u(a) : r(a);
86
- }
87
- }
88
- export {
89
- z as list
90
- };
@@ -1,57 +0,0 @@
1
- import { factorySpace as d } from "../../micromark-factory-space/index.js";
2
- import { markdownSpace as g, markdownLineEnding as y } from "../../micromark-util-character/index.js";
3
- const c = {
4
- name: "setextUnderline",
5
- resolveTo: h,
6
- tokenize: m
7
- };
8
- function h(e, l) {
9
- let i = e.length, t, a, r;
10
- for (; i--; )
11
- if (e[i][0] === "enter") {
12
- if (e[i][1].type === "content") {
13
- t = i;
14
- break;
15
- }
16
- e[i][1].type === "paragraph" && (a = i);
17
- } else
18
- e[i][1].type === "content" && e.splice(i, 1), !r && e[i][1].type === "definition" && (r = i);
19
- const p = {
20
- type: "setextHeading",
21
- start: {
22
- ...e[t][1].start
23
- },
24
- end: {
25
- ...e[e.length - 1][1].end
26
- }
27
- };
28
- return e[a][1].type = "setextHeadingText", r ? (e.splice(a, 0, ["enter", p, l]), e.splice(r + 1, 0, ["exit", e[t][1], l]), e[t][1].end = {
29
- ...e[r][1].end
30
- }) : e[t][1] = p, e.push(["exit", p, l]), e;
31
- }
32
- function m(e, l, i) {
33
- const t = this;
34
- let a;
35
- return r;
36
- function r(n) {
37
- let u = t.events.length, f;
38
- for (; u--; )
39
- if (t.events[u][1].type !== "lineEnding" && t.events[u][1].type !== "linePrefix" && t.events[u][1].type !== "content") {
40
- f = t.events[u][1].type === "paragraph";
41
- break;
42
- }
43
- return !t.parser.lazy[t.now().line] && (t.interrupt || f) ? (e.enter("setextHeadingLine"), a = n, p(n)) : i(n);
44
- }
45
- function p(n) {
46
- return e.enter("setextHeadingLineSequence"), o(n);
47
- }
48
- function o(n) {
49
- return n === a ? (e.consume(n), o) : (e.exit("setextHeadingLineSequence"), g(n) ? d(e, x, "lineSuffix")(n) : x(n));
50
- }
51
- function x(n) {
52
- return n === null || y(n) ? (e.exit("setextHeadingLine"), l(n)) : i(n);
53
- }
54
- }
55
- export {
56
- c as setextUnderline
57
- };
@@ -1,25 +0,0 @@
1
- import { factorySpace as o } from "../../micromark-factory-space/index.js";
2
- import { markdownSpace as B, markdownLineEnding as c } from "../../micromark-util-character/index.js";
3
- const q = {
4
- name: "thematicBreak",
5
- tokenize: p
6
- };
7
- function p(t, u, m) {
8
- let a = 0, e;
9
- return k;
10
- function k(r) {
11
- return t.enter("thematicBreak"), h(r);
12
- }
13
- function h(r) {
14
- return e = r, n(r);
15
- }
16
- function n(r) {
17
- return r === e ? (t.enter("thematicBreakSequence"), i(r)) : a >= 3 && (r === null || c(r)) ? (t.exit("thematicBreak"), u(r)) : m(r);
18
- }
19
- function i(r) {
20
- return r === e ? (t.consume(r), a++, i) : (t.exit("thematicBreakSequence"), B(r) ? o(t, n, "whitespace")(r) : n(r));
21
- }
22
- }
23
- export {
24
- q as thematicBreak
25
- };
@@ -1,31 +0,0 @@
1
- import { asciiControl as h, markdownLineEnding as B, markdownLineEndingOrSpace as C } from "../micromark-util-character/index.js";
2
- function F(r, a, S, i, g, t, E, m, w) {
3
- const N = w || Number.POSITIVE_INFINITY;
4
- let x = 0;
5
- return b;
6
- function b(n) {
7
- return n === 60 ? (r.enter(i), r.enter(g), r.enter(t), r.consume(n), r.exit(t), I) : n === null || n === 32 || n === 41 || h(n) ? S(n) : (r.enter(i), r.enter(E), r.enter(m), r.enter("chunkString", {
8
- contentType: "string"
9
- }), u(n));
10
- }
11
- function I(n) {
12
- return n === 62 ? (r.enter(t), r.consume(n), r.exit(t), r.exit(g), r.exit(i), a) : (r.enter(m), r.enter("chunkString", {
13
- contentType: "string"
14
- }), l(n));
15
- }
16
- function l(n) {
17
- return n === 62 ? (r.exit("chunkString"), r.exit(m), I(n)) : n === null || n === 60 || B(n) ? S(n) : (r.consume(n), n === 92 ? L : l);
18
- }
19
- function L(n) {
20
- return n === 60 || n === 62 || n === 92 ? (r.consume(n), l) : l(n);
21
- }
22
- function u(n) {
23
- return !x && (n === null || n === 41 || C(n)) ? (r.exit("chunkString"), r.exit(m), r.exit(E), r.exit(i), a(n)) : x < N && n === 40 ? (r.consume(n), x++, u) : n === 41 ? (r.consume(n), x--, u) : n === null || n === 32 || n === 40 || h(n) ? S(n) : (r.consume(n), n === 92 ? O : u);
24
- }
25
- function O(n) {
26
- return n === 40 || n === 41 || n === 92 ? (r.consume(n), u) : u(n);
27
- }
28
- }
29
- export {
30
- F as factoryDestination
31
- };
@@ -1,28 +0,0 @@
1
- import { markdownLineEnding as g, markdownSpace as p } from "../micromark-util-character/index.js";
2
- function w(r, h, E, x, i, m) {
3
- const S = this;
4
- let t = 0, l;
5
- return b;
6
- function b(n) {
7
- return r.enter(x), r.enter(i), r.consume(n), r.exit(i), r.enter(m), a;
8
- }
9
- function a(n) {
10
- return t > 999 || n === null || n === 91 || n === 93 && !l || // To do: remove in the future once we’ve switched from
11
- // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
12
- // which doesn’t need this.
13
- // Hidden footnotes hook.
14
- /* c8 ignore next 3 */
15
- n === 94 && !t && "_hiddenFootnoteSupport" in S.parser.constructs ? E(n) : n === 93 ? (r.exit(m), r.enter(i), r.consume(n), r.exit(i), r.exit(x), h) : g(n) ? (r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), a) : (r.enter("chunkString", {
16
- contentType: "string"
17
- }), u(n));
18
- }
19
- function u(n) {
20
- return n === null || n === 91 || n === 93 || g(n) || t++ > 999 ? (r.exit("chunkString"), a(n)) : (r.consume(n), l || (l = !p(n)), n === 92 ? o : u);
21
- }
22
- function o(n) {
23
- return n === 91 || n === 92 || n === 93 ? (r.consume(n), t++, u) : u(n);
24
- }
25
- }
26
- export {
27
- w as factoryLabel
28
- };
@@ -1,15 +0,0 @@
1
- import { markdownSpace as m } from "../micromark-util-character/index.js";
2
- function p(n, t, i, u) {
3
- const o = u ? u - 1 : Number.POSITIVE_INFINITY;
4
- let I = 0;
5
- return a;
6
- function a(r) {
7
- return m(r) ? (n.enter(i), e(r)) : t(r);
8
- }
9
- function e(r) {
10
- return m(r) && I++ < o ? (n.consume(r), e) : (n.exit(i), t(r));
11
- }
12
- }
13
- export {
14
- p as factorySpace
15
- };
@@ -1,26 +0,0 @@
1
- import { factorySpace as k } from "../micromark-factory-space/index.js";
2
- import { markdownLineEnding as E } from "../micromark-util-character/index.js";
3
- function B(r, S, m, x, u, a) {
4
- let i;
5
- return h;
6
- function h(n) {
7
- return n === 34 || n === 39 || n === 40 ? (r.enter(x), r.enter(u), r.consume(n), r.exit(u), i = n === 40 ? 41 : n, g) : m(n);
8
- }
9
- function g(n) {
10
- return n === i ? (r.enter(u), r.consume(n), r.exit(u), r.exit(x), S) : (r.enter(a), l(n));
11
- }
12
- function l(n) {
13
- return n === i ? (r.exit(a), g(i)) : n === null ? m(n) : E(n) ? (r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), k(r, l, "linePrefix")) : (r.enter("chunkString", {
14
- contentType: "string"
15
- }), t(n));
16
- }
17
- function t(n) {
18
- return n === i || n === null || E(n) ? (r.exit("chunkString"), l(n)) : (r.consume(n), n === 92 ? b : t);
19
- }
20
- function b(n) {
21
- return n === i || n === 92 ? (r.consume(n), t) : t(n);
22
- }
23
- }
24
- export {
25
- B as factoryTitle
26
- };
@@ -1,12 +0,0 @@
1
- import { factorySpace as u } from "../micromark-factory-space/index.js";
2
- import { markdownLineEnding as a, markdownSpace as o } from "../micromark-util-character/index.js";
3
- function f(r, e) {
4
- let t;
5
- return i;
6
- function i(n) {
7
- return a(n) ? (r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), t = !0, i) : o(n) ? u(r, i, t ? "linePrefix" : "lineSuffix")(n) : e(n);
8
- }
9
- }
10
- export {
11
- f as factoryWhitespace
12
- };
@@ -1,39 +0,0 @@
1
- const c = i(/[A-Za-z]/), r = i(/[\dA-Za-z]/), a = i(/[#-'*+\--9=?A-Z^-~]/);
2
- function s(n) {
3
- return (
4
- // Special whitespace codes (which have negative values), C0 and Control
5
- // character DEL
6
- n !== null && (n < 32 || n === 127)
7
- );
8
- }
9
- const o = i(/\d/), e = i(/[\dA-Fa-f]/), l = i(/[!-/:-@[-`{-~]/);
10
- function f(n) {
11
- return n !== null && n < -2;
12
- }
13
- function p(n) {
14
- return n !== null && (n < 0 || n === 32);
15
- }
16
- function A(n) {
17
- return n === -2 || n === -1 || n === 32;
18
- }
19
- const g = i(new RegExp("\\p{P}|\\p{S}", "u")), h = i(/\s/);
20
- function i(n) {
21
- return u;
22
- function u(t) {
23
- return t !== null && t > -1 && n.test(String.fromCharCode(t));
24
- }
25
- }
26
- export {
27
- c as asciiAlpha,
28
- r as asciiAlphanumeric,
29
- a as asciiAtext,
30
- s as asciiControl,
31
- o as asciiDigit,
32
- e as asciiHexDigit,
33
- l as asciiPunctuation,
34
- f as markdownLineEnding,
35
- p as markdownLineEndingOrSpace,
36
- A as markdownSpace,
37
- g as unicodePunctuation,
38
- h as unicodeWhitespace
39
- };
@@ -1,16 +0,0 @@
1
- function p(h, n, c, f) {
2
- const l = h.length;
3
- let u = 0, e;
4
- if (n < 0 ? n = -n > l ? 0 : l + n : n = n > l ? l : n, c = c > 0 ? c : 0, f.length < 1e4)
5
- e = Array.from(f), e.unshift(n, c), h.splice(...e);
6
- else
7
- for (c && h.splice(n, c); u < f.length; )
8
- e = f.slice(u, u + 1e4), e.unshift(n, 0), h.splice(...e), u += 1e4, n += 1e4;
9
- }
10
- function g(h, n) {
11
- return h.length > 0 ? (p(h, h.length, 0, n), h) : n;
12
- }
13
- export {
14
- g as push,
15
- p as splice
16
- };
@@ -1,10 +0,0 @@
1
- import { markdownLineEndingOrSpace as i, unicodeWhitespace as r, unicodePunctuation as t } from "../micromark-util-character/index.js";
2
- function a(n) {
3
- if (n === null || i(n) || r(n))
4
- return 1;
5
- if (t(n))
6
- return 2;
7
- }
8
- export {
9
- a as classifyCharacter
10
- };