@maizzle/framework 6.2.2 → 6.3.1

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 (295) hide show
  1. package/dist/build.d.ts +0 -2
  2. package/dist/build.d.ts.map +1 -1
  3. package/dist/build.js +1 -2
  4. package/dist/components/WithUrl.vue +19 -3
  5. package/dist/components/utils.d.ts +0 -2
  6. package/dist/components/utils.d.ts.map +1 -1
  7. package/dist/components/utils.js +1 -2
  8. package/dist/composables/defineConfig.d.ts +0 -2
  9. package/dist/composables/defineConfig.d.ts.map +1 -1
  10. package/dist/composables/defineConfig.js +1 -2
  11. package/dist/composables/definePreviewProps.d.ts +0 -2
  12. package/dist/composables/definePreviewProps.d.ts.map +1 -1
  13. package/dist/composables/definePreviewProps.js +1 -2
  14. package/dist/composables/renderContext.d.ts +0 -2
  15. package/dist/composables/renderContext.d.ts.map +1 -1
  16. package/dist/composables/renderContext.js +1 -2
  17. package/dist/composables/useBaseUrl.d.ts +0 -2
  18. package/dist/composables/useBaseUrl.d.ts.map +1 -1
  19. package/dist/composables/useBaseUrl.js +1 -2
  20. package/dist/composables/useConfig.d.ts +0 -2
  21. package/dist/composables/useConfig.d.ts.map +1 -1
  22. package/dist/composables/useConfig.js +1 -2
  23. package/dist/composables/useCurrentTemplate.d.ts +0 -2
  24. package/dist/composables/useCurrentTemplate.d.ts.map +1 -1
  25. package/dist/composables/useCurrentTemplate.js +1 -2
  26. package/dist/composables/useDoctype.d.ts +0 -2
  27. package/dist/composables/useDoctype.d.ts.map +1 -1
  28. package/dist/composables/useDoctype.js +1 -2
  29. package/dist/composables/useEvent.d.ts +0 -2
  30. package/dist/composables/useEvent.d.ts.map +1 -1
  31. package/dist/composables/useEvent.js +1 -2
  32. package/dist/composables/useFont.d.ts +0 -2
  33. package/dist/composables/useFont.d.ts.map +1 -1
  34. package/dist/composables/useFont.js +1 -2
  35. package/dist/composables/useOutlookFallback.d.ts +0 -2
  36. package/dist/composables/useOutlookFallback.d.ts.map +1 -1
  37. package/dist/composables/useOutlookFallback.js +1 -2
  38. package/dist/composables/useOutputPath.d.ts +0 -2
  39. package/dist/composables/useOutputPath.d.ts.map +1 -1
  40. package/dist/composables/useOutputPath.js +1 -2
  41. package/dist/composables/usePlaintext.d.ts +0 -2
  42. package/dist/composables/usePlaintext.d.ts.map +1 -1
  43. package/dist/composables/usePlaintext.js +1 -2
  44. package/dist/composables/usePreheader.d.ts +0 -2
  45. package/dist/composables/usePreheader.d.ts.map +1 -1
  46. package/dist/composables/usePreheader.js +1 -2
  47. package/dist/composables/useTransformers.d.ts +0 -2
  48. package/dist/composables/useTransformers.d.ts.map +1 -1
  49. package/dist/composables/useTransformers.js +1 -2
  50. package/dist/composables/useUrlQuery.d.ts +0 -2
  51. package/dist/composables/useUrlQuery.d.ts.map +1 -1
  52. package/dist/composables/useUrlQuery.js +1 -2
  53. package/dist/config/defaults.d.ts +0 -2
  54. package/dist/config/defaults.d.ts.map +1 -1
  55. package/dist/config/defaults.js +1 -2
  56. package/dist/config/index.d.ts +0 -2
  57. package/dist/config/index.d.ts.map +1 -1
  58. package/dist/config/index.js +1 -2
  59. package/dist/events/index.d.ts +0 -2
  60. package/dist/events/index.d.ts.map +1 -1
  61. package/dist/events/index.js +1 -2
  62. package/dist/plaintext.d.ts +0 -2
  63. package/dist/plaintext.d.ts.map +1 -1
  64. package/dist/plaintext.js +1 -2
  65. package/dist/plugin.d.ts +0 -2
  66. package/dist/plugin.d.ts.map +1 -1
  67. package/dist/plugin.js +1 -2
  68. package/dist/plugins/postcss/flattenGradients.d.ts +0 -2
  69. package/dist/plugins/postcss/flattenGradients.d.ts.map +1 -1
  70. package/dist/plugins/postcss/flattenGradients.js +1 -2
  71. package/dist/plugins/postcss/mergeMediaQueries.d.ts +0 -2
  72. package/dist/plugins/postcss/mergeMediaQueries.d.ts.map +1 -1
  73. package/dist/plugins/postcss/mergeMediaQueries.js +1 -2
  74. package/dist/plugins/postcss/pruneVars.d.ts +0 -2
  75. package/dist/plugins/postcss/pruneVars.d.ts.map +1 -1
  76. package/dist/plugins/postcss/pruneVars.js +1 -2
  77. package/dist/plugins/postcss/quoteFontFamilies.d.ts +0 -2
  78. package/dist/plugins/postcss/quoteFontFamilies.d.ts.map +1 -1
  79. package/dist/plugins/postcss/quoteFontFamilies.js +1 -2
  80. package/dist/plugins/postcss/removeDeclarations.d.ts +0 -2
  81. package/dist/plugins/postcss/removeDeclarations.d.ts.map +1 -1
  82. package/dist/plugins/postcss/removeDeclarations.js +1 -2
  83. package/dist/plugins/postcss/resolveMaizzleImports.d.ts +0 -2
  84. package/dist/plugins/postcss/resolveMaizzleImports.d.ts.map +1 -1
  85. package/dist/plugins/postcss/resolveMaizzleImports.js +1 -2
  86. package/dist/plugins/postcss/resolveProps.d.ts +0 -2
  87. package/dist/plugins/postcss/resolveProps.d.ts.map +1 -1
  88. package/dist/plugins/postcss/resolveProps.js +1 -2
  89. package/dist/plugins/postcss/tailwindCleanup.d.ts +0 -2
  90. package/dist/plugins/postcss/tailwindCleanup.d.ts.map +1 -1
  91. package/dist/plugins/postcss/tailwindCleanup.js +1 -2
  92. package/dist/prepare.d.ts +1 -3
  93. package/dist/prepare.d.ts.map +1 -1
  94. package/dist/prepare.js +2 -3
  95. package/dist/prepare.js.map +1 -1
  96. package/dist/render/active.d.ts +0 -2
  97. package/dist/render/active.d.ts.map +1 -1
  98. package/dist/render/active.js +1 -2
  99. package/dist/render/buildTemplate.d.ts +0 -2
  100. package/dist/render/buildTemplate.d.ts.map +1 -1
  101. package/dist/render/buildTemplate.js +1 -2
  102. package/dist/render/createRenderer.d.ts +0 -2
  103. package/dist/render/createRenderer.d.ts.map +1 -1
  104. package/dist/render/createRenderer.js +9 -2
  105. package/dist/render/createRenderer.js.map +1 -1
  106. package/dist/render/index.d.ts +0 -2
  107. package/dist/render/index.d.ts.map +1 -1
  108. package/dist/render/index.js +1 -2
  109. package/dist/render/injectFonts.d.ts +0 -2
  110. package/dist/render/injectFonts.d.ts.map +1 -1
  111. package/dist/render/injectFonts.js +1 -2
  112. package/dist/render/parallel/buildWorker.d.ts +0 -2
  113. package/dist/render/parallel/buildWorker.d.ts.map +1 -1
  114. package/dist/render/parallel/buildWorker.js +1 -2
  115. package/dist/render/plugins/codeBlockExtract.d.ts +0 -2
  116. package/dist/render/plugins/codeBlockExtract.d.ts.map +1 -1
  117. package/dist/render/plugins/codeBlockExtract.js +1 -2
  118. package/dist/render/plugins/markdownExtract.d.ts +0 -2
  119. package/dist/render/plugins/markdownExtract.d.ts.map +1 -1
  120. package/dist/render/plugins/markdownExtract.js +1 -2
  121. package/dist/render/plugins/previewProps.d.ts +0 -2
  122. package/dist/render/plugins/previewProps.d.ts.map +1 -1
  123. package/dist/render/plugins/previewProps.js +1 -2
  124. package/dist/render/plugins/rawExtract.d.ts +0 -2
  125. package/dist/render/plugins/rawExtract.d.ts.map +1 -1
  126. package/dist/render/plugins/rawExtract.js +1 -2
  127. package/dist/render/plugins/rowSourceLocation.d.ts +0 -2
  128. package/dist/render/plugins/rowSourceLocation.d.ts.map +1 -1
  129. package/dist/render/plugins/rowSourceLocation.js +1 -2
  130. package/dist/render/withPreviewProps.d.ts +0 -2
  131. package/dist/render/withPreviewProps.d.ts.map +1 -1
  132. package/dist/render/withPreviewProps.js +1 -2
  133. package/dist/serve.d.ts +0 -2
  134. package/dist/serve.d.ts.map +1 -1
  135. package/dist/serve.js +1 -2
  136. package/dist/server/compatibility.d.ts +0 -2
  137. package/dist/server/compatibility.d.ts.map +1 -1
  138. package/dist/server/compatibility.js +1 -2
  139. package/dist/server/email.d.ts +0 -2
  140. package/dist/server/email.d.ts.map +1 -1
  141. package/dist/server/email.js +1 -2
  142. package/dist/server/linter.d.ts +0 -2
  143. package/dist/server/linter.d.ts.map +1 -1
  144. package/dist/server/linter.js +1 -2
  145. package/dist/server/sfc-utils.d.ts +0 -2
  146. package/dist/server/sfc-utils.d.ts.map +1 -1
  147. package/dist/server/sfc-utils.js +1 -2
  148. package/dist/server/static.d.ts +0 -2
  149. package/dist/server/static.d.ts.map +1 -1
  150. package/dist/server/static.js +1 -2
  151. package/dist/server/ui/.vite/deps/@lucide_vue.js +13 -24
  152. package/dist/server/ui/.vite/deps/@lucide_vue.js.map +1 -1
  153. package/dist/server/ui/.vite/deps/@vueuse_core.js +2 -3
  154. package/dist/server/ui/.vite/deps/@vueuse_shared.js +2 -3
  155. package/dist/server/ui/.vite/deps/_metadata.json +17 -17
  156. package/dist/server/ui/.vite/deps/class-variance-authority.js +1 -2
  157. package/dist/server/ui/.vite/deps/clsx.js +1 -2
  158. package/dist/server/ui/.vite/deps/culori.js +150 -303
  159. package/dist/server/ui/.vite/deps/culori.js.map +1 -1
  160. package/dist/server/ui/.vite/deps/reka-ui.js +612 -1220
  161. package/dist/server/ui/.vite/deps/reka-ui.js.map +1 -1
  162. package/dist/server/ui/.vite/deps/{rolldown-runtime-EAsCxrDo.js → rolldown-runtime-C-UrYobY.js} +2 -3
  163. package/dist/server/ui/.vite/deps/tailwind-merge.js +2 -3
  164. package/dist/server/ui/.vite/deps/vue-router.js +9 -17
  165. package/dist/server/ui/.vite/deps/vue-router.js.map +1 -1
  166. package/dist/server/ui/.vite/deps/vue.js +1 -2
  167. package/dist/server/ui/.vite/deps/{vue.runtime.esm-bundler-Dq07uCLt.js → vue.runtime.esm-bundler-Bjgap8Ka.js} +261 -115
  168. package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-Bjgap8Ka.js.map +1 -0
  169. package/dist/server/ui/App.vue +39 -9
  170. package/dist/tests/render/_helpers.d.ts +0 -2
  171. package/dist/tests/render/_helpers.d.ts.map +1 -1
  172. package/dist/tests/render/_helpers.js +1 -2
  173. package/dist/transformers/addAttributes.d.ts +0 -2
  174. package/dist/transformers/addAttributes.d.ts.map +1 -1
  175. package/dist/transformers/addAttributes.js +1 -2
  176. package/dist/transformers/attributeToStyle.d.ts +0 -2
  177. package/dist/transformers/attributeToStyle.d.ts.map +1 -1
  178. package/dist/transformers/attributeToStyle.js +1 -2
  179. package/dist/transformers/base.d.ts +0 -2
  180. package/dist/transformers/base.d.ts.map +1 -1
  181. package/dist/transformers/base.js +58 -16
  182. package/dist/transformers/base.js.map +1 -1
  183. package/dist/transformers/columnWidth.d.ts +0 -2
  184. package/dist/transformers/columnWidth.d.ts.map +1 -1
  185. package/dist/transformers/columnWidth.js +1 -2
  186. package/dist/transformers/entities.d.ts +0 -2
  187. package/dist/transformers/entities.d.ts.map +1 -1
  188. package/dist/transformers/entities.js +1 -2
  189. package/dist/transformers/filters/defaults.d.ts +0 -2
  190. package/dist/transformers/filters/defaults.d.ts.map +1 -1
  191. package/dist/transformers/filters/defaults.js +1 -2
  192. package/dist/transformers/filters/index.d.ts +0 -2
  193. package/dist/transformers/filters/index.d.ts.map +1 -1
  194. package/dist/transformers/filters/index.js +1 -2
  195. package/dist/transformers/format.d.ts +0 -2
  196. package/dist/transformers/format.d.ts.map +1 -1
  197. package/dist/transformers/format.js +1 -2
  198. package/dist/transformers/imgWidth.d.ts +0 -2
  199. package/dist/transformers/imgWidth.d.ts.map +1 -1
  200. package/dist/transformers/imgWidth.js +1 -2
  201. package/dist/transformers/index.d.ts +0 -2
  202. package/dist/transformers/index.d.ts.map +1 -1
  203. package/dist/transformers/index.js +2 -3
  204. package/dist/transformers/index.js.map +1 -1
  205. package/dist/transformers/inlineCss.d.ts +0 -2
  206. package/dist/transformers/inlineCss.d.ts.map +1 -1
  207. package/dist/transformers/inlineCss.js +1 -2
  208. package/dist/transformers/inlineLink.d.ts +0 -2
  209. package/dist/transformers/inlineLink.d.ts.map +1 -1
  210. package/dist/transformers/inlineLink.js +1 -2
  211. package/dist/transformers/minify.d.ts +0 -2
  212. package/dist/transformers/minify.d.ts.map +1 -1
  213. package/dist/transformers/minify.js +1 -2
  214. package/dist/transformers/minifyCodeInline.d.ts +0 -2
  215. package/dist/transformers/minifyCodeInline.d.ts.map +1 -1
  216. package/dist/transformers/minifyCodeInline.js +1 -2
  217. package/dist/transformers/msoConditionals.d.ts +0 -2
  218. package/dist/transformers/msoConditionals.d.ts.map +1 -1
  219. package/dist/transformers/msoConditionals.js +1 -2
  220. package/dist/transformers/msoPlaceholders.d.ts +0 -2
  221. package/dist/transformers/msoPlaceholders.d.ts.map +1 -1
  222. package/dist/transformers/msoPlaceholders.js +1 -2
  223. package/dist/transformers/purgeCss.d.ts +0 -2
  224. package/dist/transformers/purgeCss.d.ts.map +1 -1
  225. package/dist/transformers/purgeCss.js +1 -2
  226. package/dist/transformers/removeAttributes.d.ts +0 -2
  227. package/dist/transformers/removeAttributes.d.ts.map +1 -1
  228. package/dist/transformers/removeAttributes.js +1 -2
  229. package/dist/transformers/replaceStrings.d.ts +0 -2
  230. package/dist/transformers/replaceStrings.d.ts.map +1 -1
  231. package/dist/transformers/replaceStrings.js +1 -2
  232. package/dist/transformers/safeSelectors.d.ts +0 -2
  233. package/dist/transformers/safeSelectors.d.ts.map +1 -1
  234. package/dist/transformers/safeSelectors.js +1 -2
  235. package/dist/transformers/shorthandCss.d.ts +0 -2
  236. package/dist/transformers/shorthandCss.d.ts.map +1 -1
  237. package/dist/transformers/shorthandCss.js +1 -2
  238. package/dist/transformers/sixHex.d.ts +0 -2
  239. package/dist/transformers/sixHex.d.ts.map +1 -1
  240. package/dist/transformers/sixHex.js +1 -2
  241. package/dist/transformers/tailwindComponent.d.ts +0 -2
  242. package/dist/transformers/tailwindComponent.d.ts.map +1 -1
  243. package/dist/transformers/tailwindComponent.js +1 -2
  244. package/dist/transformers/tailwindcss.d.ts +0 -2
  245. package/dist/transformers/tailwindcss.d.ts.map +1 -1
  246. package/dist/transformers/tailwindcss.js +1 -2
  247. package/dist/transformers/urlQuery.d.ts +0 -2
  248. package/dist/transformers/urlQuery.d.ts.map +1 -1
  249. package/dist/transformers/urlQuery.js +1 -2
  250. package/dist/types/config.d.ts +0 -2
  251. package/dist/types/config.d.ts.map +1 -1
  252. package/dist/utils/ast/parser.d.ts +0 -2
  253. package/dist/utils/ast/parser.d.ts.map +1 -1
  254. package/dist/utils/ast/parser.js +1 -2
  255. package/dist/utils/ast/serializer.d.ts +0 -2
  256. package/dist/utils/ast/serializer.d.ts.map +1 -1
  257. package/dist/utils/ast/serializer.js +1 -2
  258. package/dist/utils/ast/walker.d.ts +0 -2
  259. package/dist/utils/ast/walker.d.ts.map +1 -1
  260. package/dist/utils/ast/walker.js +1 -2
  261. package/dist/utils/cloneConfig.d.ts +0 -2
  262. package/dist/utils/cloneConfig.d.ts.map +1 -1
  263. package/dist/utils/cloneConfig.js +1 -2
  264. package/dist/utils/compileTailwindCss.d.ts +0 -2
  265. package/dist/utils/compileTailwindCss.d.ts.map +1 -1
  266. package/dist/utils/compileTailwindCss.js +1 -2
  267. package/dist/utils/componentSources.d.ts +0 -2
  268. package/dist/utils/componentSources.d.ts.map +1 -1
  269. package/dist/utils/componentSources.js +1 -2
  270. package/dist/utils/cssBox.d.ts +0 -2
  271. package/dist/utils/cssBox.d.ts.map +1 -1
  272. package/dist/utils/cssBox.js +1 -2
  273. package/dist/utils/decodeStyleEntities.d.ts +0 -2
  274. package/dist/utils/decodeStyleEntities.d.ts.map +1 -1
  275. package/dist/utils/decodeStyleEntities.js +1 -2
  276. package/dist/utils/detect.d.ts +0 -2
  277. package/dist/utils/detect.d.ts.map +1 -1
  278. package/dist/utils/detect.js +1 -2
  279. package/dist/utils/output-markers.d.ts +0 -2
  280. package/dist/utils/output-markers.d.ts.map +1 -1
  281. package/dist/utils/output-markers.js +1 -2
  282. package/dist/utils/staticPaths.d.ts +0 -2
  283. package/dist/utils/staticPaths.d.ts.map +1 -1
  284. package/dist/utils/staticPaths.js +1 -2
  285. package/dist/utils/twMerge.d.ts +0 -2
  286. package/dist/utils/twMerge.d.ts.map +1 -1
  287. package/dist/utils/twMerge.js +1 -2
  288. package/dist/utils/url.d.ts +0 -2
  289. package/dist/utils/url.d.ts.map +1 -1
  290. package/dist/utils/url.js +1 -2
  291. package/dist/utils/watchPaths.d.ts +0 -2
  292. package/dist/utils/watchPaths.d.ts.map +1 -1
  293. package/dist/utils/watchPaths.js +1 -2
  294. package/package.json +4 -4
  295. package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-Dq07uCLt.js.map +0 -1
@@ -1,4 +1,4 @@
1
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseNumber.js
1
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseNumber.js
2
2
  var parseNumber = (color, len) => {
3
3
  if (typeof color !== "number") return;
4
4
  if (len === 3) return {
@@ -28,8 +28,7 @@ var parseNumber = (color, len) => {
28
28
  alpha: (color & 255) / 255
29
29
  };
30
30
  };
31
- //#endregion
32
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/colors/named.js
31
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/colors/named.js
33
32
  var named = {
34
33
  aliceblue: 15792383,
35
34
  antiquewhite: 16444375,
@@ -180,32 +179,25 @@ var named = {
180
179
  yellow: 16776960,
181
180
  yellowgreen: 10145074
182
181
  };
183
- //#endregion
184
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseNamed.js
182
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseNamed.js
185
183
  var parseNamed = (color) => {
186
184
  return parseNumber(named[color.toLowerCase()], 6);
187
185
  };
188
- //#endregion
189
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseHex.js
186
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseHex.js
190
187
  var hex = /^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i;
191
188
  var parseHex = (color) => {
192
189
  let match;
193
190
  return (match = color.match(hex)) ? parseNumber(parseInt(match[1], 16), match[1].length) : void 0;
194
191
  };
195
- //#endregion
196
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/regex.js
192
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/regex.js
197
193
  var num$1 = "([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)";
198
- `${num$1}`;
199
194
  var per = `${num$1}%`;
200
- `${num$1}`;
201
195
  var num_per = `(?:${num$1}%|${num$1})`;
202
196
  var num_per_none = `(?:${num$1}%|${num$1}|none)`;
203
197
  var hue$1 = `(?:${num$1}(deg|grad|rad|turn)|${num$1})`;
204
- `${num$1}${num$1}`;
205
198
  var c = `\\s*,\\s*`;
206
199
  new RegExp("^" + num_per_none + "$");
207
- //#endregion
208
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseRgbLegacy.js
200
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseRgbLegacy.js
209
201
  var rgb_num_old = new RegExp(`^rgba?\\(\\s*${num$1}${c}${num$1}${c}${num$1}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
210
202
  var rgb_per_old = new RegExp(`^rgba?\\(\\s*${per}${c}${per}${c}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
211
203
  var parseRgbLegacy = (color) => {
@@ -224,17 +216,14 @@ var parseRgbLegacy = (color) => {
224
216
  else if (match[5] !== void 0) res.alpha = Math.max(0, Math.min(1, +match[5]));
225
217
  return res;
226
218
  };
227
- //#endregion
228
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/_prepare.js
219
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/_prepare.js
229
220
  var prepare = (color, mode) => color === void 0 ? void 0 : typeof color !== "object" ? parse(color) : color.mode !== void 0 ? color : mode ? {
230
221
  ...color,
231
222
  mode
232
223
  } : void 0;
233
- //#endregion
234
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/converter.js
224
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/converter.js
235
225
  var converter = (target_mode = "rgb") => (color) => (color = prepare(color, target_mode)) !== void 0 ? color.mode === target_mode ? color : converters[color.mode][target_mode] ? converters[color.mode][target_mode](color) : target_mode === "rgb" ? converters[color.mode].rgb(color) : converters.rgb[target_mode](converters[color.mode].rgb(color)) : void 0;
236
- //#endregion
237
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/modes.js
226
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/modes.js
238
227
  var converters = {};
239
228
  var modes = {};
240
229
  var parsers = [];
@@ -279,8 +268,7 @@ var removeParser = (parser) => {
279
268
  if (idx > 0) parsers.splice(idx, 1);
280
269
  }
281
270
  };
282
- //#endregion
283
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/parse.js
271
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/parse.js
284
272
  var IdentStartCodePoint = /[^\x00-\x7F]|[a-zA-Z_]/;
285
273
  var IdentCodePoint = /[^\x00-\x7F]|[-\w]/;
286
274
  var Tok = {
@@ -531,8 +519,7 @@ var parse = (color) => {
531
519
  while (i < len) if ((result = parsers[i++](color, parsed)) !== void 0) return result;
532
520
  return tokens ? parseColorSyntax(tokens) : void 0;
533
521
  };
534
- //#endregion
535
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseRgb.js
522
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseRgb.js
536
523
  function parseRgb(color, parsed) {
537
524
  if (!parsed || parsed[0] !== "rgb" && parsed[0] !== "rgba") return;
538
525
  const res = { mode: "rgb" };
@@ -544,8 +531,7 @@ function parseRgb(color, parsed) {
544
531
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
545
532
  return res;
546
533
  }
547
- //#endregion
548
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseTransparent.js
534
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/parseTransparent.js
549
535
  var parseTransparent = (c) => c === "transparent" ? {
550
536
  mode: "rgb",
551
537
  r: 0,
@@ -553,8 +539,7 @@ var parseTransparent = (c) => c === "transparent" ? {
553
539
  b: 0,
554
540
  alpha: 0
555
541
  } : void 0;
556
- //#endregion
557
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/lerp.js
542
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/lerp.js
558
543
  var lerp = (a, b, t) => a + t * (b - a);
559
544
  var unlerp = (a, b, v) => (v - a) / (b - a);
560
545
  var blerp = (a00, a01, a10, a11, tx, ty) => {
@@ -563,8 +548,7 @@ var blerp = (a00, a01, a10, a11, tx, ty) => {
563
548
  var trilerp = (a000, a010, a100, a110, a001, a011, a101, a111, tx, ty, tz) => {
564
549
  return lerp(blerp(a000, a010, a100, a110, tx, ty), blerp(a001, a011, a101, a111, tx, ty), tz);
565
550
  };
566
- //#endregion
567
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/piecewise.js
551
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/piecewise.js
568
552
  var get_classes = (arr) => {
569
553
  let classes = [];
570
554
  for (let i = 0; i < arr.length - 1; i++) {
@@ -585,11 +569,9 @@ var interpolatorPiecewise = (interpolator) => (arr) => {
585
569
  return pair === void 0 ? void 0 : interpolator(pair[0], pair[1], cls - idx);
586
570
  };
587
571
  };
588
- //#endregion
589
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/linear.js
572
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/linear.js
590
573
  var interpolatorLinear = interpolatorPiecewise(lerp);
591
- //#endregion
592
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/fixup/alpha.js
574
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/fixup/alpha.js
593
575
  var fixupAlpha = (arr) => {
594
576
  let some_defined = false;
595
577
  let res = arr.map((v) => {
@@ -601,8 +583,7 @@ var fixupAlpha = (arr) => {
601
583
  });
602
584
  return some_defined ? res : arr;
603
585
  };
604
- //#endregion
605
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/definition.js
586
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rgb/definition.js
606
587
  var definition$23 = {
607
588
  mode: "rgb",
608
589
  channels: [
@@ -641,8 +622,7 @@ var definition$23 = {
641
622
  b: 0
642
623
  }
643
624
  };
644
- //#endregion
645
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/a98/convertA98ToXyz65.js
625
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/a98/convertA98ToXyz65.js
646
626
  var linearize$2 = (v = 0) => Math.pow(Math.abs(v), 563 / 256) * Math.sign(v);
647
627
  var convertA98ToXyz65 = (a98) => {
648
628
  let r = linearize$2(a98.r);
@@ -657,8 +637,7 @@ var convertA98ToXyz65 = (a98) => {
657
637
  if (a98.alpha !== void 0) res.alpha = a98.alpha;
658
638
  return res;
659
639
  };
660
- //#endregion
661
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/a98/convertXyz65ToA98.js
640
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/a98/convertXyz65ToA98.js
662
641
  var gamma$3 = (v) => Math.pow(Math.abs(v), 256 / 563) * Math.sign(v);
663
642
  var convertXyz65ToA98 = ({ x, y, z, alpha }) => {
664
643
  if (x === void 0) x = 0;
@@ -673,8 +652,7 @@ var convertXyz65ToA98 = ({ x, y, z, alpha }) => {
673
652
  if (alpha !== void 0) res.alpha = alpha;
674
653
  return res;
675
654
  };
676
- //#endregion
677
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lrgb/convertRgbToLrgb.js
655
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lrgb/convertRgbToLrgb.js
678
656
  var fn$3 = (c = 0) => {
679
657
  const abs = Math.abs(c);
680
658
  if (abs <= .04045) return c / 12.92;
@@ -690,8 +668,7 @@ var convertRgbToLrgb = ({ r, g, b, alpha }) => {
690
668
  if (alpha !== void 0) res.alpha = alpha;
691
669
  return res;
692
670
  };
693
- //#endregion
694
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertRgbToXyz65.js
671
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertRgbToXyz65.js
695
672
  var convertRgbToXyz65 = (rgb) => {
696
673
  let { r, g, b, alpha } = convertRgbToLrgb(rgb);
697
674
  let res = {
@@ -703,8 +680,7 @@ var convertRgbToXyz65 = (rgb) => {
703
680
  if (alpha !== void 0) res.alpha = alpha;
704
681
  return res;
705
682
  };
706
- //#endregion
707
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lrgb/convertLrgbToRgb.js
683
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lrgb/convertLrgbToRgb.js
708
684
  var fn$2 = (c = 0) => {
709
685
  const abs = Math.abs(c);
710
686
  if (abs > .0031308) return (Math.sign(c) || 1) * (1.055 * Math.pow(abs, 1 / 2.4) - .055);
@@ -720,8 +696,7 @@ var convertLrgbToRgb = ({ r, g, b, alpha }, mode = "rgb") => {
720
696
  if (alpha !== void 0) res.alpha = alpha;
721
697
  return res;
722
698
  };
723
- //#endregion
724
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertXyz65ToRgb.js
699
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertXyz65ToRgb.js
725
700
  var convertXyz65ToRgb = ({ x, y, z, alpha }) => {
726
701
  if (x === void 0) x = 0;
727
702
  if (y === void 0) y = 0;
@@ -734,8 +709,7 @@ var convertXyz65ToRgb = ({ x, y, z, alpha }) => {
734
709
  if (alpha !== void 0) res.alpha = alpha;
735
710
  return res;
736
711
  };
737
- //#endregion
738
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/a98/definition.js
712
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/a98/definition.js
739
713
  var definition = {
740
714
  ...definition$23,
741
715
  mode: "a98",
@@ -750,11 +724,9 @@ var definition = {
750
724
  xyz65: convertA98ToXyz65
751
725
  }
752
726
  };
753
- //#endregion
754
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/normalizeHue.js
727
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/normalizeHue.js
755
728
  var normalizeHue = (hue) => (hue = hue % 360) < 0 ? hue + 360 : hue;
756
- //#endregion
757
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/fixup/hue.js
729
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/fixup/hue.js
758
730
  var hue = (hues, fn) => {
759
731
  return hues.map((hue, idx, arr) => {
760
732
  if (hue === void 0) return hue;
@@ -774,8 +746,7 @@ var fixupHueShorter = (arr) => hue(arr, (d) => Math.abs(d) <= 180 ? d : d - 360
774
746
  var fixupHueLonger = (arr) => hue(arr, (d) => Math.abs(d) >= 180 || d === 0 ? d : d - 360 * Math.sign(d));
775
747
  var fixupHueIncreasing = (arr) => hue(arr, (d) => d >= 0 ? d : d + 360);
776
748
  var fixupHueDecreasing = (arr) => hue(arr, (d) => d <= 0 ? d : d - 360);
777
- //#endregion
778
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/constants.js
749
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/constants.js
779
750
  var M = [
780
751
  -.14861,
781
752
  1.78277,
@@ -786,8 +757,7 @@ var M = [
786
757
  ];
787
758
  var degToRad = Math.PI / 180;
788
759
  var radToDeg = 180 / Math.PI;
789
- //#endregion
790
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js
760
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js
791
761
  var DE = M[3] * M[4];
792
762
  var BE = M[1] * M[4];
793
763
  var BCAD = M[1] * M[2] - M[0] * M[3];
@@ -807,8 +777,7 @@ var convertRgbToCubehelix = ({ r, g, b, alpha }) => {
807
777
  if (alpha !== void 0) res.alpha = alpha;
808
778
  return res;
809
779
  };
810
- //#endregion
811
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/convertCubehelixToRgb.js
780
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/convertCubehelixToRgb.js
812
781
  var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
813
782
  let res = { mode: "rgb" };
814
783
  h = (h === void 0 ? 0 : h + 120) * degToRad;
@@ -822,8 +791,7 @@ var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
822
791
  if (alpha !== void 0) res.alpha = alpha;
823
792
  return res;
824
793
  };
825
- //#endregion
826
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/difference.js
794
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/difference.js
827
795
  var differenceHueSaturation = (std, smp) => {
828
796
  if (std.h === void 0 || smp.h === void 0 || !std.s || !smp.s) return 0;
829
797
  let std_h = normalizeHue(std.h);
@@ -979,8 +947,7 @@ var differenceItp = () => differenceEuclidean("itp", [
979
947
  129600,
980
948
  518400
981
949
  ]);
982
- //#endregion
983
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/average.js
950
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/average.js
984
951
  var averageAngle = (val) => {
985
952
  let sum = val.reduce((sum, val) => {
986
953
  if (val !== void 0) {
@@ -1017,8 +984,7 @@ function average(colors, mode = "rgb", overrides) {
1017
984
  return res;
1018
985
  }, { mode });
1019
986
  }
1020
- //#endregion
1021
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/definition.js
987
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/cubehelix/definition.js
1022
988
  var definition$1 = {
1023
989
  mode: "cubehelix",
1024
990
  channels: [
@@ -1051,8 +1017,7 @@ var definition$1 = {
1051
1017
  difference: { h: differenceHueSaturation },
1052
1018
  average: { h: averageAngle }
1053
1019
  };
1054
- //#endregion
1055
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/convertLabToLch.js
1020
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/convertLabToLch.js
1056
1021
  var convertLabToLch = ({ l, a, b, alpha }, mode = "lch") => {
1057
1022
  if (a === void 0) a = 0;
1058
1023
  if (b === void 0) b = 0;
@@ -1066,8 +1031,7 @@ var convertLabToLch = ({ l, a, b, alpha }, mode = "lch") => {
1066
1031
  if (alpha !== void 0) res.alpha = alpha;
1067
1032
  return res;
1068
1033
  };
1069
- //#endregion
1070
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/convertLchToLab.js
1034
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/convertLchToLab.js
1071
1035
  var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
1072
1036
  if (h === void 0) h = 0;
1073
1037
  let res = {
@@ -1079,12 +1043,10 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
1079
1043
  if (alpha !== void 0) res.alpha = alpha;
1080
1044
  return res;
1081
1045
  };
1082
- //#endregion
1083
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/constants.js
1046
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/constants.js
1084
1047
  var k$2 = Math.pow(29, 3) / Math.pow(3, 3);
1085
1048
  var e$2 = Math.pow(6, 3) / Math.pow(29, 3);
1086
- //#endregion
1087
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/constants.js
1049
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/constants.js
1088
1050
  var D50 = {
1089
1051
  X: .3457 / .3585,
1090
1052
  Y: 1,
@@ -1097,8 +1059,7 @@ var D65 = {
1097
1059
  };
1098
1060
  Math.pow(29, 3) / Math.pow(3, 3);
1099
1061
  Math.pow(6, 3) / Math.pow(29, 3);
1100
- //#endregion
1101
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertLab65ToXyz65.js
1062
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertLab65ToXyz65.js
1102
1063
  var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$2;
1103
1064
  var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
1104
1065
  if (l === void 0) l = 0;
@@ -1116,11 +1077,9 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
1116
1077
  if (alpha !== void 0) res.alpha = alpha;
1117
1078
  return res;
1118
1079
  };
1119
- //#endregion
1120
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertLab65ToRgb.js
1080
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertLab65ToRgb.js
1121
1081
  var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
1122
- //#endregion
1123
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertXyz65ToLab65.js
1082
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertXyz65ToLab65.js
1124
1083
  var f$1 = (value) => value > e$2 ? Math.cbrt(value) : (k$2 * value + 16) / 116;
1125
1084
  var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
1126
1085
  if (x === void 0) x = 0;
@@ -1138,21 +1097,18 @@ var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
1138
1097
  if (alpha !== void 0) res.alpha = alpha;
1139
1098
  return res;
1140
1099
  };
1141
- //#endregion
1142
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertRgbToLab65.js
1100
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/convertRgbToLab65.js
1143
1101
  var convertRgbToLab65 = (rgb) => {
1144
1102
  let res = convertXyz65ToLab65(convertRgbToXyz65(rgb));
1145
1103
  if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
1146
1104
  return res;
1147
1105
  };
1148
- //#endregion
1149
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/constants.js
1106
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/constants.js
1150
1107
  var θ = 26 / 180 * Math.PI;
1151
1108
  var cosθ = Math.cos(θ);
1152
1109
  var sinθ = Math.sin(θ);
1153
1110
  var factor = 100 / Math.log(139 / 100);
1154
- //#endregion
1155
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/convertDlchToLab65.js
1111
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/convertDlchToLab65.js
1156
1112
  var convertDlchToLab65 = ({ l, c, h, alpha }) => {
1157
1113
  if (l === void 0) l = 0;
1158
1114
  if (c === void 0) c = 0;
@@ -1169,8 +1125,7 @@ var convertDlchToLab65 = ({ l, c, h, alpha }) => {
1169
1125
  if (alpha !== void 0) res.alpha = alpha;
1170
1126
  return res;
1171
1127
  };
1172
- //#endregion
1173
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/convertLab65ToDlch.js
1128
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/convertLab65ToDlch.js
1174
1129
  var convertLab65ToDlch = ({ l, a, b, alpha }) => {
1175
1130
  if (l === void 0) l = 0;
1176
1131
  if (a === void 0) a = 0;
@@ -1187,8 +1142,7 @@ var convertLab65ToDlch = ({ l, a, b, alpha }) => {
1187
1142
  if (alpha !== void 0) res.alpha = alpha;
1188
1143
  return res;
1189
1144
  };
1190
- //#endregion
1191
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlab/definition.js
1145
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlab/definition.js
1192
1146
  var convertDlabToLab65 = (c) => convertDlchToLab65(convertLabToLch(c, "dlch"));
1193
1147
  var convertLab65ToDlab = (c) => convertLchToLab(convertLab65ToDlch(c), "dlab");
1194
1148
  var definition$2 = {
@@ -1224,8 +1178,7 @@ var definition$2 = {
1224
1178
  }
1225
1179
  }
1226
1180
  };
1227
- //#endregion
1228
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/definition.js
1181
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/dlch/definition.js
1229
1182
  var definition$3 = {
1230
1183
  mode: "dlch",
1231
1184
  parse: ["--din99o-lch"],
@@ -1266,8 +1219,7 @@ var definition$3 = {
1266
1219
  difference: { h: differenceHueChroma },
1267
1220
  average: { h: averageAngle }
1268
1221
  };
1269
- //#endregion
1270
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsi/convertHsiToRgb.js
1222
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsi/convertHsiToRgb.js
1271
1223
  function convertHsiToRgb({ h, s, i, alpha }) {
1272
1224
  h = normalizeHue(h !== void 0 ? h : 0);
1273
1225
  if (s === void 0) s = 0;
@@ -1327,8 +1279,7 @@ function convertHsiToRgb({ h, s, i, alpha }) {
1327
1279
  if (alpha !== void 0) res.alpha = alpha;
1328
1280
  return res;
1329
1281
  }
1330
- //#endregion
1331
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsi/convertRgbToHsi.js
1282
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsi/convertRgbToHsi.js
1332
1283
  function convertRgbToHsi({ r, g, b, alpha }) {
1333
1284
  if (r === void 0) r = 0;
1334
1285
  if (g === void 0) g = 0;
@@ -1343,8 +1294,7 @@ function convertRgbToHsi({ r, g, b, alpha }) {
1343
1294
  if (alpha !== void 0) res.alpha = alpha;
1344
1295
  return res;
1345
1296
  }
1346
- //#endregion
1347
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsi/definition.js
1297
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsi/definition.js
1348
1298
  var definition$4 = {
1349
1299
  mode: "hsi",
1350
1300
  toMode: { rgb: convertHsiToRgb },
@@ -1374,8 +1324,7 @@ var definition$4 = {
1374
1324
  difference: { h: differenceHueSaturation },
1375
1325
  average: { h: averageAngle }
1376
1326
  };
1377
- //#endregion
1378
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/convertHslToRgb.js
1327
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/convertHslToRgb.js
1379
1328
  function convertHslToRgb({ h, s, l, alpha }) {
1380
1329
  h = normalizeHue(h !== void 0 ? h : 0);
1381
1330
  if (s === void 0) s = 0;
@@ -1436,8 +1385,7 @@ function convertHslToRgb({ h, s, l, alpha }) {
1436
1385
  if (alpha !== void 0) res.alpha = alpha;
1437
1386
  return res;
1438
1387
  }
1439
- //#endregion
1440
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/convertRgbToHsl.js
1388
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/convertRgbToHsl.js
1441
1389
  function convertRgbToHsl({ r, g, b, alpha }) {
1442
1390
  if (r === void 0) r = 0;
1443
1391
  if (g === void 0) g = 0;
@@ -1452,8 +1400,7 @@ function convertRgbToHsl({ r, g, b, alpha }) {
1452
1400
  if (alpha !== void 0) res.alpha = alpha;
1453
1401
  return res;
1454
1402
  }
1455
- //#endregion
1456
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/hue.js
1403
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/hue.js
1457
1404
  var hueToDeg = (val, unit) => {
1458
1405
  switch (unit) {
1459
1406
  case "deg": return +val;
@@ -1462,8 +1409,7 @@ var hueToDeg = (val, unit) => {
1462
1409
  case "turn": return val * 360;
1463
1410
  }
1464
1411
  };
1465
- //#endregion
1466
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/parseHslLegacy.js
1412
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/parseHslLegacy.js
1467
1413
  var hsl_old = new RegExp(`^hsla?\\(\\s*${hue$1}${c}${per}${c}${per}\\s*(?:,\\s*${num_per}\\s*)?\\)$`);
1468
1414
  var parseHslLegacy = (color) => {
1469
1415
  let match = color.match(hsl_old);
@@ -1477,8 +1423,7 @@ var parseHslLegacy = (color) => {
1477
1423
  else if (match[7] !== void 0) res.alpha = Math.max(0, Math.min(1, +match[7]));
1478
1424
  return res;
1479
1425
  };
1480
- //#endregion
1481
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/parseHsl.js
1426
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/parseHsl.js
1482
1427
  function parseHsl(color, parsed) {
1483
1428
  if (!parsed || parsed[0] !== "hsl" && parsed[0] !== "hsla") return;
1484
1429
  const res = { mode: "hsl" };
@@ -1498,8 +1443,7 @@ function parseHsl(color, parsed) {
1498
1443
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
1499
1444
  return res;
1500
1445
  }
1501
- //#endregion
1502
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/definition.js
1446
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsl/definition.js
1503
1447
  var definition$5 = {
1504
1448
  mode: "hsl",
1505
1449
  toMode: { rgb: convertHslToRgb },
@@ -1529,8 +1473,7 @@ var definition$5 = {
1529
1473
  difference: { h: differenceHueSaturation },
1530
1474
  average: { h: averageAngle }
1531
1475
  };
1532
- //#endregion
1533
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsv/convertHsvToRgb.js
1476
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsv/convertHsvToRgb.js
1534
1477
  function convertHsvToRgb({ h, s, v, alpha }) {
1535
1478
  h = normalizeHue(h !== void 0 ? h : 0);
1536
1479
  if (s === void 0) s = 0;
@@ -1590,8 +1533,7 @@ function convertHsvToRgb({ h, s, v, alpha }) {
1590
1533
  if (alpha !== void 0) res.alpha = alpha;
1591
1534
  return res;
1592
1535
  }
1593
- //#endregion
1594
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsv/convertRgbToHsv.js
1536
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsv/convertRgbToHsv.js
1595
1537
  function convertRgbToHsv({ r, g, b, alpha }) {
1596
1538
  if (r === void 0) r = 0;
1597
1539
  if (g === void 0) g = 0;
@@ -1606,8 +1548,7 @@ function convertRgbToHsv({ r, g, b, alpha }) {
1606
1548
  if (alpha !== void 0) res.alpha = alpha;
1607
1549
  return res;
1608
1550
  }
1609
- //#endregion
1610
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsv/definition.js
1551
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hsv/definition.js
1611
1552
  var definition$6 = {
1612
1553
  mode: "hsv",
1613
1554
  toMode: { rgb: convertHsvToRgb },
@@ -1637,8 +1578,7 @@ var definition$6 = {
1637
1578
  difference: { h: differenceHueSaturation },
1638
1579
  average: { h: averageAngle }
1639
1580
  };
1640
- //#endregion
1641
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/convertHwbToRgb.js
1581
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/convertHwbToRgb.js
1642
1582
  function convertHwbToRgb({ h, w, b, alpha }) {
1643
1583
  if (w === void 0) w = 0;
1644
1584
  if (b === void 0) b = 0;
@@ -1654,8 +1594,7 @@ function convertHwbToRgb({ h, w, b, alpha }) {
1654
1594
  alpha
1655
1595
  });
1656
1596
  }
1657
- //#endregion
1658
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/convertRgbToHwb.js
1597
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/convertRgbToHwb.js
1659
1598
  function convertRgbToHwb(rgba) {
1660
1599
  let hsv = convertRgbToHsv(rgba);
1661
1600
  if (hsv === void 0) return void 0;
@@ -1670,8 +1609,7 @@ function convertRgbToHwb(rgba) {
1670
1609
  if (hsv.alpha !== void 0) res.alpha = hsv.alpha;
1671
1610
  return res;
1672
1611
  }
1673
- //#endregion
1674
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/parseHwb.js
1612
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/parseHwb.js
1675
1613
  function ParseHwb(color, parsed) {
1676
1614
  if (!parsed || parsed[0] !== "hwb") return;
1677
1615
  const res = { mode: "hwb" };
@@ -1691,8 +1629,7 @@ function ParseHwb(color, parsed) {
1691
1629
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
1692
1630
  return res;
1693
1631
  }
1694
- //#endregion
1695
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/definition.js
1632
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hwb/definition.js
1696
1633
  var definition$7 = {
1697
1634
  mode: "hwb",
1698
1635
  toMode: { rgb: convertHwbToRgb },
@@ -1722,8 +1659,7 @@ var definition$7 = {
1722
1659
  difference: { h: differenceHueNaive },
1723
1660
  average: { h: averageAngle }
1724
1661
  };
1725
- //#endregion
1726
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hdr/transfer.js
1662
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/hdr/transfer.js
1727
1663
  var M1 = .1593017578125;
1728
1664
  var M2 = 78.84375;
1729
1665
  var C1 = .8359375;
@@ -1739,8 +1675,7 @@ function transferPqEncode(v) {
1739
1675
  const c = Math.pow(v / 1e4, M1);
1740
1676
  return Math.pow((C1 + C2 * c) / (1 + C3 * c), M2);
1741
1677
  }
1742
- //#endregion
1743
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/itp/convertItpToXyz65.js
1678
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/itp/convertItpToXyz65.js
1744
1679
  var toRel = (c) => Math.max(c / 203, 0);
1745
1680
  var convertItpToXyz65 = ({ i, t, p, alpha }) => {
1746
1681
  if (i === void 0) i = 0;
@@ -1758,8 +1693,7 @@ var convertItpToXyz65 = ({ i, t, p, alpha }) => {
1758
1693
  if (alpha !== void 0) res.alpha = alpha;
1759
1694
  return res;
1760
1695
  };
1761
- //#endregion
1762
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/itp/convertXyz65ToItp.js
1696
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/itp/convertXyz65ToItp.js
1763
1697
  var toAbs = (c = 0) => Math.max(c * 203, 0);
1764
1698
  var convertXyz65ToItp = ({ x, y, z, alpha }) => {
1765
1699
  const absX = toAbs(x);
@@ -1777,8 +1711,7 @@ var convertXyz65ToItp = ({ x, y, z, alpha }) => {
1777
1711
  if (alpha !== void 0) res.alpha = alpha;
1778
1712
  return res;
1779
1713
  };
1780
- //#endregion
1781
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/itp/definition.js
1714
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/itp/definition.js
1782
1715
  var definition$8 = {
1783
1716
  mode: "itp",
1784
1717
  channels: [
@@ -1812,8 +1745,7 @@ var definition$8 = {
1812
1745
  }
1813
1746
  }
1814
1747
  };
1815
- //#endregion
1816
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertXyz65ToJab.js
1748
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertXyz65ToJab.js
1817
1749
  var p$1 = 134.03437499999998;
1818
1750
  var d0$1 = 16295499532821565e-27;
1819
1751
  var jabPqEncode = (v) => {
@@ -1841,8 +1773,7 @@ var convertXyz65ToJab = ({ x, y, z, alpha }) => {
1841
1773
  if (alpha !== void 0) res.alpha = alpha;
1842
1774
  return res;
1843
1775
  };
1844
- //#endregion
1845
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertJabToXyz65.js
1776
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertJabToXyz65.js
1846
1777
  var p = 134.03437499999998;
1847
1778
  var d0 = 16295499532821565e-27;
1848
1779
  var jabPqDecode = (v) => {
@@ -1868,18 +1799,15 @@ var convertJabToXyz65 = ({ j, a, b, alpha }) => {
1868
1799
  if (alpha !== void 0) res.alpha = alpha;
1869
1800
  return res;
1870
1801
  };
1871
- //#endregion
1872
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertRgbToJab.js
1802
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertRgbToJab.js
1873
1803
  var convertRgbToJab = (rgb) => {
1874
1804
  let res = convertXyz65ToJab(convertRgbToXyz65(rgb));
1875
1805
  if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
1876
1806
  return res;
1877
1807
  };
1878
- //#endregion
1879
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertJabToRgb.js
1808
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/convertJabToRgb.js
1880
1809
  var convertJabToRgb = (color) => convertXyz65ToRgb(convertJabToXyz65(color));
1881
- //#endregion
1882
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/definition.js
1810
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jab/definition.js
1883
1811
  var definition$9 = {
1884
1812
  mode: "jab",
1885
1813
  channels: [
@@ -1913,8 +1841,7 @@ var definition$9 = {
1913
1841
  }
1914
1842
  }
1915
1843
  };
1916
- //#endregion
1917
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jch/convertJabToJch.js
1844
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jch/convertJabToJch.js
1918
1845
  var convertJabToJch = ({ j, a, b, alpha }) => {
1919
1846
  if (a === void 0) a = 0;
1920
1847
  if (b === void 0) b = 0;
@@ -1928,8 +1855,7 @@ var convertJabToJch = ({ j, a, b, alpha }) => {
1928
1855
  if (alpha !== void 0) res.alpha = alpha;
1929
1856
  return res;
1930
1857
  };
1931
- //#endregion
1932
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jch/convertJchToJab.js
1858
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jch/convertJchToJab.js
1933
1859
  var convertJchToJab = ({ j, c, h, alpha }) => {
1934
1860
  if (h === void 0) h = 0;
1935
1861
  let res = {
@@ -1941,8 +1867,7 @@ var convertJchToJab = ({ j, c, h, alpha }) => {
1941
1867
  if (alpha !== void 0) res.alpha = alpha;
1942
1868
  return res;
1943
1869
  };
1944
- //#endregion
1945
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jch/definition.js
1870
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/jch/definition.js
1946
1871
  var definition$10 = {
1947
1872
  mode: "jch",
1948
1873
  parse: ["--jzczhz"],
@@ -1981,12 +1906,10 @@ var definition$10 = {
1981
1906
  difference: { h: differenceHueChroma },
1982
1907
  average: { h: averageAngle }
1983
1908
  };
1984
- //#endregion
1985
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/constants.js
1909
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/constants.js
1986
1910
  var k = Math.pow(29, 3) / Math.pow(3, 3);
1987
1911
  var e = Math.pow(6, 3) / Math.pow(29, 3);
1988
- //#endregion
1989
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertLabToXyz50.js
1912
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertLabToXyz50.js
1990
1913
  var fn = (v) => Math.pow(v, 3) > e ? Math.pow(v, 3) : (116 * v - 16) / k;
1991
1914
  var convertLabToXyz50 = ({ l, a, b, alpha }) => {
1992
1915
  if (l === void 0) l = 0;
@@ -2004,8 +1927,7 @@ var convertLabToXyz50 = ({ l, a, b, alpha }) => {
2004
1927
  if (alpha !== void 0) res.alpha = alpha;
2005
1928
  return res;
2006
1929
  };
2007
- //#endregion
2008
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/convertXyz50ToRgb.js
1930
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/convertXyz50ToRgb.js
2009
1931
  var convertXyz50ToRgb = ({ x, y, z, alpha }) => {
2010
1932
  if (x === void 0) x = 0;
2011
1933
  if (y === void 0) y = 0;
@@ -2018,11 +1940,9 @@ var convertXyz50ToRgb = ({ x, y, z, alpha }) => {
2018
1940
  if (alpha !== void 0) res.alpha = alpha;
2019
1941
  return res;
2020
1942
  };
2021
- //#endregion
2022
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertLabToRgb.js
1943
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertLabToRgb.js
2023
1944
  var convertLabToRgb = (lab) => convertXyz50ToRgb(convertLabToXyz50(lab));
2024
- //#endregion
2025
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/convertRgbToXyz50.js
1945
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/convertRgbToXyz50.js
2026
1946
  var convertRgbToXyz50 = (rgb) => {
2027
1947
  let { r, g, b, alpha } = convertRgbToLrgb(rgb);
2028
1948
  let res = {
@@ -2034,8 +1954,7 @@ var convertRgbToXyz50 = (rgb) => {
2034
1954
  if (alpha !== void 0) res.alpha = alpha;
2035
1955
  return res;
2036
1956
  };
2037
- //#endregion
2038
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertXyz50ToLab.js
1957
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertXyz50ToLab.js
2039
1958
  var f = (value) => value > e ? Math.cbrt(value) : (k * value + 16) / 116;
2040
1959
  var convertXyz50ToLab = ({ x, y, z, alpha }) => {
2041
1960
  if (x === void 0) x = 0;
@@ -2053,15 +1972,13 @@ var convertXyz50ToLab = ({ x, y, z, alpha }) => {
2053
1972
  if (alpha !== void 0) res.alpha = alpha;
2054
1973
  return res;
2055
1974
  };
2056
- //#endregion
2057
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertRgbToLab.js
1975
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/convertRgbToLab.js
2058
1976
  var convertRgbToLab = (rgb) => {
2059
1977
  let res = convertXyz50ToLab(convertRgbToXyz50(rgb));
2060
1978
  if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
2061
1979
  return res;
2062
1980
  };
2063
- //#endregion
2064
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/parseLab.js
1981
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/parseLab.js
2065
1982
  function parseLab(color, parsed) {
2066
1983
  if (!parsed || parsed[0] !== "lab") return;
2067
1984
  const res = { mode: "lab" };
@@ -2073,8 +1990,7 @@ function parseLab(color, parsed) {
2073
1990
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
2074
1991
  return res;
2075
1992
  }
2076
- //#endregion
2077
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/definition.js
1993
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab/definition.js
2078
1994
  var definition$11 = {
2079
1995
  mode: "lab",
2080
1996
  toMode: {
@@ -2108,8 +2024,7 @@ var definition$11 = {
2108
2024
  }
2109
2025
  }
2110
2026
  };
2111
- //#endregion
2112
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/definition.js
2027
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lab65/definition.js
2113
2028
  var definition$12 = {
2114
2029
  ...definition$11,
2115
2030
  mode: "lab65",
@@ -2129,8 +2044,7 @@ var definition$12 = {
2129
2044
  b: [-125, 125]
2130
2045
  }
2131
2046
  };
2132
- //#endregion
2133
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/parseLch.js
2047
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/parseLch.js
2134
2048
  function parseLch(color, parsed) {
2135
2049
  if (!parsed || parsed[0] !== "lch") return;
2136
2050
  const res = { mode: "lch" };
@@ -2147,8 +2061,7 @@ function parseLch(color, parsed) {
2147
2061
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
2148
2062
  return res;
2149
2063
  }
2150
- //#endregion
2151
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/definition.js
2064
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch/definition.js
2152
2065
  var definition$13 = {
2153
2066
  mode: "lch",
2154
2067
  toMode: {
@@ -2187,8 +2100,7 @@ var definition$13 = {
2187
2100
  difference: { h: differenceHueChroma },
2188
2101
  average: { h: averageAngle }
2189
2102
  };
2190
- //#endregion
2191
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch65/definition.js
2103
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lch65/definition.js
2192
2104
  var definition$14 = {
2193
2105
  ...definition$13,
2194
2106
  mode: "lch65",
@@ -2208,8 +2120,7 @@ var definition$14 = {
2208
2120
  h: [0, 360]
2209
2121
  }
2210
2122
  };
2211
- //#endregion
2212
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lchuv/convertLuvToLchuv.js
2123
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lchuv/convertLuvToLchuv.js
2213
2124
  var convertLuvToLchuv = ({ l, u, v, alpha }) => {
2214
2125
  if (u === void 0) u = 0;
2215
2126
  if (v === void 0) v = 0;
@@ -2223,8 +2134,7 @@ var convertLuvToLchuv = ({ l, u, v, alpha }) => {
2223
2134
  if (alpha !== void 0) res.alpha = alpha;
2224
2135
  return res;
2225
2136
  };
2226
- //#endregion
2227
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lchuv/convertLchuvToLuv.js
2137
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lchuv/convertLchuvToLuv.js
2228
2138
  var convertLchuvToLuv = ({ l, c, h, alpha }) => {
2229
2139
  if (h === void 0) h = 0;
2230
2140
  let res = {
@@ -2236,8 +2146,7 @@ var convertLchuvToLuv = ({ l, c, h, alpha }) => {
2236
2146
  if (alpha !== void 0) res.alpha = alpha;
2237
2147
  return res;
2238
2148
  };
2239
- //#endregion
2240
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/luv/convertXyz50ToLuv.js
2149
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/luv/convertXyz50ToLuv.js
2241
2150
  var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
2242
2151
  var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
2243
2152
  var un$1 = u_fn$1(D50.X, D50.Y, D50.Z);
@@ -2264,8 +2173,7 @@ var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
2264
2173
  if (alpha !== void 0) res.alpha = alpha;
2265
2174
  return res;
2266
2175
  };
2267
- //#endregion
2268
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/luv/convertLuvToXyz50.js
2176
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/luv/convertLuvToXyz50.js
2269
2177
  var u_fn = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
2270
2178
  var v_fn = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
2271
2179
  var un = u_fn(D50.X, D50.Y, D50.Z);
@@ -2292,8 +2200,7 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
2292
2200
  if (alpha !== void 0) res.alpha = alpha;
2293
2201
  return res;
2294
2202
  };
2295
- //#endregion
2296
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lchuv/definition.js
2203
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lchuv/definition.js
2297
2204
  var convertRgbToLchuv = (rgb) => convertLuvToLchuv(convertXyz50ToLuv(convertRgbToXyz50(rgb)));
2298
2205
  var convertLchuvToRgb = (lchuv) => convertXyz50ToRgb(convertLuvToXyz50(convertLchuvToLuv(lchuv)));
2299
2206
  var definition$15 = {
@@ -2334,8 +2241,7 @@ var definition$15 = {
2334
2241
  difference: { h: differenceHueChroma },
2335
2242
  average: { h: averageAngle }
2336
2243
  };
2337
- //#endregion
2338
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lrgb/definition.js
2244
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/lrgb/definition.js
2339
2245
  var definition$16 = {
2340
2246
  ...definition$23,
2341
2247
  mode: "lrgb",
@@ -2344,8 +2250,7 @@ var definition$16 = {
2344
2250
  parse: ["srgb-linear"],
2345
2251
  serialize: "srgb-linear"
2346
2252
  };
2347
- //#endregion
2348
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/luv/definition.js
2253
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/luv/definition.js
2349
2254
  var definition$17 = {
2350
2255
  mode: "luv",
2351
2256
  toMode: {
@@ -2379,8 +2284,7 @@ var definition$17 = {
2379
2284
  }
2380
2285
  }
2381
2286
  };
2382
- //#endregion
2383
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertLrgbToOklab.js
2287
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertLrgbToOklab.js
2384
2288
  var convertLrgbToOklab = ({ r, g, b, alpha }) => {
2385
2289
  if (r === void 0) r = 0;
2386
2290
  if (g === void 0) g = 0;
@@ -2397,15 +2301,13 @@ var convertLrgbToOklab = ({ r, g, b, alpha }) => {
2397
2301
  if (alpha !== void 0) res.alpha = alpha;
2398
2302
  return res;
2399
2303
  };
2400
- //#endregion
2401
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertRgbToOklab.js
2304
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertRgbToOklab.js
2402
2305
  var convertRgbToOklab = (rgb) => {
2403
2306
  let res = convertLrgbToOklab(convertRgbToLrgb(rgb));
2404
2307
  if (rgb.r === rgb.b && rgb.b === rgb.g) res.a = res.b = 0;
2405
2308
  return res;
2406
2309
  };
2407
- //#endregion
2408
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertOklabToLrgb.js
2310
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertOklabToLrgb.js
2409
2311
  var convertOklabToLrgb = ({ l, a, b, alpha }) => {
2410
2312
  if (l === void 0) l = 0;
2411
2313
  if (a === void 0) a = 0;
@@ -2422,11 +2324,9 @@ var convertOklabToLrgb = ({ l, a, b, alpha }) => {
2422
2324
  if (alpha !== void 0) res.alpha = alpha;
2423
2325
  return res;
2424
2326
  };
2425
- //#endregion
2426
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertOklabToRgb.js
2327
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/convertOklabToRgb.js
2427
2328
  var convertOklabToRgb = (c) => convertLrgbToRgb(convertOklabToLrgb(c));
2428
- //#endregion
2429
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/helpers.js
2329
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/helpers.js
2430
2330
  function toe(x) {
2431
2331
  const k_1 = .206;
2432
2332
  const k_2 = .03;
@@ -2578,8 +2478,7 @@ function get_Cs(L, a_, b_) {
2578
2478
  C_max
2579
2479
  ];
2580
2480
  }
2581
- //#endregion
2582
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/convertOklabToOkhsl.js
2481
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/convertOklabToOkhsl.js
2583
2482
  function convertOklabToOkhsl(lab) {
2584
2483
  const l = lab.l !== void 0 ? lab.l : 0;
2585
2484
  const a = lab.a !== void 0 ? lab.a : 0;
@@ -2613,8 +2512,7 @@ function convertOklabToOkhsl(lab) {
2613
2512
  }
2614
2513
  return ret;
2615
2514
  }
2616
- //#endregion
2617
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/convertOkhslToOklab.js
2515
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/convertOkhslToOklab.js
2618
2516
  function convertOkhslToOklab(hsl) {
2619
2517
  let h = hsl.h !== void 0 ? hsl.h : 0;
2620
2518
  let s = hsl.s !== void 0 ? hsl.s : 0;
@@ -2648,8 +2546,7 @@ function convertOkhslToOklab(hsl) {
2648
2546
  ret.b = C * b_;
2649
2547
  return ret;
2650
2548
  }
2651
- //#endregion
2652
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/modeOkhsl.js
2549
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsl/modeOkhsl.js
2653
2550
  var modeOkhsl = {
2654
2551
  ...definition$5,
2655
2552
  mode: "okhsl",
@@ -2670,8 +2567,7 @@ var modeOkhsl = {
2670
2567
  rgb: (c) => convertOklabToRgb(convertOkhslToOklab(c))
2671
2568
  }
2672
2569
  };
2673
- //#endregion
2674
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsv/convertOklabToOkhsv.js
2570
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsv/convertOklabToOkhsv.js
2675
2571
  function convertOklabToOkhsv(lab) {
2676
2572
  let l = lab.l !== void 0 ? lab.l : 0;
2677
2573
  let a = lab.a !== void 0 ? lab.a : 0;
@@ -2705,8 +2601,7 @@ function convertOklabToOkhsv(lab) {
2705
2601
  if (lab.alpha !== void 0) ret.alpha = lab.alpha;
2706
2602
  return ret;
2707
2603
  }
2708
- //#endregion
2709
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsv/convertOkhsvToOklab.js
2604
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsv/convertOkhsvToOklab.js
2710
2605
  function convertOkhsvToOklab(hsv) {
2711
2606
  const ret = { mode: "oklab" };
2712
2607
  if (hsv.alpha !== void 0) ret.alpha = hsv.alpha;
@@ -2735,8 +2630,7 @@ function convertOkhsvToOklab(hsv) {
2735
2630
  ret.b = C * b_ * scale_L;
2736
2631
  return ret;
2737
2632
  }
2738
- //#endregion
2739
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsv/modeOkhsv.js
2633
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/okhsv/modeOkhsv.js
2740
2634
  var modeOkhsv = {
2741
2635
  ...definition$6,
2742
2636
  mode: "okhsv",
@@ -2757,8 +2651,7 @@ var modeOkhsv = {
2757
2651
  rgb: (c) => convertOklabToRgb(convertOkhsvToOklab(c))
2758
2652
  }
2759
2653
  };
2760
- //#endregion
2761
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/parseOklab.js
2654
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/parseOklab.js
2762
2655
  function parseOklab(color, parsed) {
2763
2656
  if (!parsed || parsed[0] !== "oklab") return;
2764
2657
  const res = { mode: "oklab" };
@@ -2770,8 +2663,7 @@ function parseOklab(color, parsed) {
2770
2663
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
2771
2664
  return res;
2772
2665
  }
2773
- //#endregion
2774
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/definition.js
2666
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklab/definition.js
2775
2667
  var definition$18 = {
2776
2668
  ...definition$11,
2777
2669
  mode: "oklab",
@@ -2791,8 +2683,7 @@ var definition$18 = {
2791
2683
  parse: [parseOklab],
2792
2684
  serialize: (c) => `oklab(${c.l !== void 0 ? c.l : "none"} ${c.a !== void 0 ? c.a : "none"} ${c.b !== void 0 ? c.b : "none"}${c.alpha < 1 ? ` / ${c.alpha}` : ""})`
2793
2685
  };
2794
- //#endregion
2795
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklch/parseOklch.js
2686
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklch/parseOklch.js
2796
2687
  function parseOklch(color, parsed) {
2797
2688
  if (!parsed || parsed[0] !== "oklch") return;
2798
2689
  const res = { mode: "oklch" };
@@ -2809,8 +2700,7 @@ function parseOklch(color, parsed) {
2809
2700
  if (alpha.type !== Tok.None) res.alpha = Math.min(1, Math.max(0, alpha.type === Tok.Number ? alpha.value : alpha.value / 100));
2810
2701
  return res;
2811
2702
  }
2812
- //#endregion
2813
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklch/definition.js
2703
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/oklch/definition.js
2814
2704
  var definition$19 = {
2815
2705
  ...definition$13,
2816
2706
  mode: "oklch",
@@ -2830,8 +2720,7 @@ var definition$19 = {
2830
2720
  h: [0, 360]
2831
2721
  }
2832
2722
  };
2833
- //#endregion
2834
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/p3/convertP3ToXyz65.js
2723
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/p3/convertP3ToXyz65.js
2835
2724
  var convertP3ToXyz65 = (rgb) => {
2836
2725
  let { r, g, b, alpha } = convertRgbToLrgb(rgb);
2837
2726
  let res = {
@@ -2843,8 +2732,7 @@ var convertP3ToXyz65 = (rgb) => {
2843
2732
  if (alpha !== void 0) res.alpha = alpha;
2844
2733
  return res;
2845
2734
  };
2846
- //#endregion
2847
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/p3/convertXyz65ToP3.js
2735
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/p3/convertXyz65ToP3.js
2848
2736
  var convertXyz65ToP3 = ({ x, y, z, alpha }) => {
2849
2737
  if (x === void 0) x = 0;
2850
2738
  if (y === void 0) y = 0;
@@ -2857,8 +2745,7 @@ var convertXyz65ToP3 = ({ x, y, z, alpha }) => {
2857
2745
  if (alpha !== void 0) res.alpha = alpha;
2858
2746
  return res;
2859
2747
  };
2860
- //#endregion
2861
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/p3/definition.js
2748
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/p3/definition.js
2862
2749
  var definition$20 = {
2863
2750
  ...definition$23,
2864
2751
  mode: "p3",
@@ -2873,8 +2760,7 @@ var definition$20 = {
2873
2760
  xyz65: convertP3ToXyz65
2874
2761
  }
2875
2762
  };
2876
- //#endregion
2877
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/prophoto/convertXyz50ToProphoto.js
2763
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/prophoto/convertXyz50ToProphoto.js
2878
2764
  var gamma$2 = (v) => {
2879
2765
  let abs = Math.abs(v);
2880
2766
  if (abs >= 1 / 512) return Math.sign(v) * Math.pow(abs, 1 / 1.8);
@@ -2893,8 +2779,7 @@ var convertXyz50ToProphoto = ({ x, y, z, alpha }) => {
2893
2779
  if (alpha !== void 0) res.alpha = alpha;
2894
2780
  return res;
2895
2781
  };
2896
- //#endregion
2897
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/prophoto/convertProphotoToXyz50.js
2782
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/prophoto/convertProphotoToXyz50.js
2898
2783
  var linearize$1 = (v = 0) => {
2899
2784
  let abs = Math.abs(v);
2900
2785
  if (abs >= 16 / 512) return Math.sign(v) * Math.pow(abs, 1.8);
@@ -2913,8 +2798,7 @@ var convertProphotoToXyz50 = (prophoto) => {
2913
2798
  if (prophoto.alpha !== void 0) res.alpha = prophoto.alpha;
2914
2799
  return res;
2915
2800
  };
2916
- //#endregion
2917
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/prophoto/definition.js
2801
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/prophoto/definition.js
2918
2802
  var definition$21 = {
2919
2803
  ...definition$23,
2920
2804
  mode: "prophoto",
@@ -2929,8 +2813,7 @@ var definition$21 = {
2929
2813
  rgb: (color) => convertXyz50ToRgb(convertProphotoToXyz50(color))
2930
2814
  }
2931
2815
  };
2932
- //#endregion
2933
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rec2020/convertXyz65ToRec2020.js
2816
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rec2020/convertXyz65ToRec2020.js
2934
2817
  var α$1 = 1.09929682680944;
2935
2818
  var β$1 = .018053968510807;
2936
2819
  var gamma$1 = (v) => {
@@ -2951,8 +2834,7 @@ var convertXyz65ToRec2020 = ({ x, y, z, alpha }) => {
2951
2834
  if (alpha !== void 0) res.alpha = alpha;
2952
2835
  return res;
2953
2836
  };
2954
- //#endregion
2955
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rec2020/convertRec2020ToXyz65.js
2837
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rec2020/convertRec2020ToXyz65.js
2956
2838
  var α = 1.09929682680944;
2957
2839
  var β = .018053968510807;
2958
2840
  var linearize = (v = 0) => {
@@ -2973,8 +2855,7 @@ var convertRec2020ToXyz65 = (rec2020) => {
2973
2855
  if (rec2020.alpha !== void 0) res.alpha = rec2020.alpha;
2974
2856
  return res;
2975
2857
  };
2976
- //#endregion
2977
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rec2020/definition.js
2858
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/rec2020/definition.js
2978
2859
  var definition$22 = {
2979
2860
  ...definition$23,
2980
2861
  mode: "rec2020",
@@ -2989,12 +2870,10 @@ var definition$22 = {
2989
2870
  parse: ["rec2020"],
2990
2871
  serialize: "rec2020"
2991
2872
  };
2992
- //#endregion
2993
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/constants.js
2873
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/constants.js
2994
2874
  var bias = .0037930732552754493;
2995
2875
  var bias_cbrt = Math.cbrt(bias);
2996
- //#endregion
2997
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/convertRgbToXyb.js
2876
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/convertRgbToXyb.js
2998
2877
  var transfer$1 = (v) => Math.cbrt(v) - bias_cbrt;
2999
2878
  var convertRgbToXyb = (color) => {
3000
2879
  const { r, g, b, alpha } = convertRgbToLrgb(color);
@@ -3010,8 +2889,7 @@ var convertRgbToXyb = (color) => {
3010
2889
  if (alpha !== void 0) res.alpha = alpha;
3011
2890
  return res;
3012
2891
  };
3013
- //#endregion
3014
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/convertXybToRgb.js
2892
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/convertXybToRgb.js
3015
2893
  var transfer = (v) => Math.pow(v + bias_cbrt, 3);
3016
2894
  var convertXybToRgb = ({ x, y, b, alpha }) => {
3017
2895
  if (x === void 0) x = 0;
@@ -3028,8 +2906,7 @@ var convertXybToRgb = ({ x, y, b, alpha }) => {
3028
2906
  if (alpha !== void 0) res.alpha = alpha;
3029
2907
  return res;
3030
2908
  };
3031
- //#endregion
3032
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/definition.js
2909
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyb/definition.js
3033
2910
  var definition$24 = {
3034
2911
  mode: "xyb",
3035
2912
  channels: [
@@ -3057,8 +2934,7 @@ var definition$24 = {
3057
2934
  }
3058
2935
  }
3059
2936
  };
3060
- //#endregion
3061
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/definition.js
2937
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz50/definition.js
3062
2938
  var definition$25 = {
3063
2939
  mode: "xyz50",
3064
2940
  parse: ["xyz-d50"],
@@ -3092,8 +2968,7 @@ var definition$25 = {
3092
2968
  }
3093
2969
  }
3094
2970
  };
3095
- //#endregion
3096
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertXyz65ToXyz50.js
2971
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertXyz65ToXyz50.js
3097
2972
  var convertXyz65ToXyz50 = (xyz65) => {
3098
2973
  let { x, y, z, alpha } = xyz65;
3099
2974
  if (x === void 0) x = 0;
@@ -3108,8 +2983,7 @@ var convertXyz65ToXyz50 = (xyz65) => {
3108
2983
  if (alpha !== void 0) res.alpha = alpha;
3109
2984
  return res;
3110
2985
  };
3111
- //#endregion
3112
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertXyz50ToXyz65.js
2986
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/convertXyz50ToXyz65.js
3113
2987
  var convertXyz50ToXyz65 = (xyz50) => {
3114
2988
  let { x, y, z, alpha } = xyz50;
3115
2989
  if (x === void 0) x = 0;
@@ -3124,8 +2998,7 @@ var convertXyz50ToXyz65 = (xyz50) => {
3124
2998
  if (alpha !== void 0) res.alpha = alpha;
3125
2999
  return res;
3126
3000
  };
3127
- //#endregion
3128
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/definition.js
3001
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/xyz65/definition.js
3129
3002
  var definition$26 = {
3130
3003
  mode: "xyz65",
3131
3004
  toMode: {
@@ -3159,8 +3032,7 @@ var definition$26 = {
3159
3032
  }
3160
3033
  }
3161
3034
  };
3162
- //#endregion
3163
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/yiq/convertRgbToYiq.js
3035
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/yiq/convertRgbToYiq.js
3164
3036
  var convertRgbToYiq = ({ r, g, b, alpha }) => {
3165
3037
  if (r === void 0) r = 0;
3166
3038
  if (g === void 0) g = 0;
@@ -3174,8 +3046,7 @@ var convertRgbToYiq = ({ r, g, b, alpha }) => {
3174
3046
  if (alpha !== void 0) res.alpha = alpha;
3175
3047
  return res;
3176
3048
  };
3177
- //#endregion
3178
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/yiq/convertYiqToRgb.js
3049
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/yiq/convertYiqToRgb.js
3179
3050
  var convertYiqToRgb = ({ y, i, q, alpha }) => {
3180
3051
  if (y === void 0) y = 0;
3181
3052
  if (i === void 0) i = 0;
@@ -3189,8 +3060,7 @@ var convertYiqToRgb = ({ y, i, q, alpha }) => {
3189
3060
  if (alpha !== void 0) res.alpha = alpha;
3190
3061
  return res;
3191
3062
  };
3192
- //#endregion
3193
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/yiq/definition.js
3063
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/yiq/definition.js
3194
3064
  var definition$27 = {
3195
3065
  mode: "yiq",
3196
3066
  toMode: { rgb: convertYiqToRgb },
@@ -3217,12 +3087,10 @@ var definition$27 = {
3217
3087
  }
3218
3088
  }
3219
3089
  };
3220
- //#endregion
3221
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/round.js
3090
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/round.js
3222
3091
  var r = (value, precision) => Math.round(value * (precision = Math.pow(10, precision))) / precision;
3223
3092
  var round = (precision = 4) => (value) => typeof value === "number" ? r(value, precision) : value;
3224
- //#endregion
3225
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/formatter.js
3093
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/formatter.js
3226
3094
  var twoDecimals = round(2);
3227
3095
  var clamp$1 = (value) => Math.max(0, Math.min(1, value || 0));
3228
3096
  var fixup = (value) => Math.round(clamp$1(value) * 255);
@@ -3274,8 +3142,7 @@ var formatHex = (c) => serializeHex(rgb$3(c));
3274
3142
  var formatHex8 = (c) => serializeHex8(rgb$3(c));
3275
3143
  var formatRgb = (c) => serializeRgb(rgb$3(c));
3276
3144
  var formatHsl = (c) => serializeHsl(hsl$1(c));
3277
- //#endregion
3278
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/blend.js
3145
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/blend.js
3279
3146
  var BLENDS = {
3280
3147
  normal: (b, s) => s,
3281
3148
  multiply: (b, s) => b * s,
@@ -3316,8 +3183,7 @@ var blend = (colors, type = "normal", mode = "rgb") => {
3316
3183
  });
3317
3184
  });
3318
3185
  };
3319
- //#endregion
3320
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/random.js
3186
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/random.js
3321
3187
  var rand = ([min, max]) => min + Math.random() * (max - min);
3322
3188
  var to_intervals = (constraints) => Object.keys(constraints).reduce((o, k) => {
3323
3189
  let v = constraints[k];
@@ -3332,8 +3198,7 @@ var random = (mode = "rgb", constraints = {}) => {
3332
3198
  return res;
3333
3199
  }, { mode });
3334
3200
  };
3335
- //#endregion
3336
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/map.js
3201
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/map.js
3337
3202
  var mapper = (fn, mode = "rgb", preserve_mode = false) => {
3338
3203
  let channels = mode ? getMode(mode).channels : null;
3339
3204
  let conv = mode ? converter(mode) : prepare;
@@ -3367,8 +3232,7 @@ var mapTransferGamma = (amplitude = 1, exponent = 1, offset = 0) => (v, ch) => {
3367
3232
  if (ch !== "alpha") return amplitude * Math.pow(v, exponent) + offset;
3368
3233
  return v;
3369
3234
  };
3370
- //#endregion
3371
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/normalizePositions.js
3235
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/util/normalizePositions.js
3372
3236
  var normalizePositions = (arr) => {
3373
3237
  if (arr[0] === void 0) arr[0] = 0;
3374
3238
  if (arr[arr.length - 1] === void 0) arr[arr.length - 1] = 1;
@@ -3393,11 +3257,9 @@ var normalizePositions = (arr) => {
3393
3257
  }
3394
3258
  return arr;
3395
3259
  };
3396
- //#endregion
3397
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/midpoint.js
3260
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/midpoint.js
3398
3261
  var midpoint = (H = .5) => (t) => H <= 0 ? 1 : H >= 1 ? 0 : Math.pow(t, Math.log(.5) / Math.log(H));
3399
- //#endregion
3400
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/interpolate.js
3262
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/interpolate.js
3401
3263
  var isfn = (o) => typeof o === "function";
3402
3264
  var isobj = (o) => o && typeof o === "object";
3403
3265
  var isnum = (o) => typeof o === "number";
@@ -3481,8 +3343,7 @@ var interpolateWith = (premap, postmap) => (colors, mode = "rgb", overrides) =>
3481
3343
  return post ? (t) => post(it(t)) : it;
3482
3344
  };
3483
3345
  var interpolateWithPremultipliedAlpha = interpolateWith(mapAlphaMultiply, mapAlphaDivide);
3484
- //#endregion
3485
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/splineBasis.js
3346
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/splineBasis.js
3486
3347
  var mod = (v, l) => (v + l) % l;
3487
3348
  var bspline = (Vim2, Vim1, Vi, Vip1, t) => {
3488
3349
  let t2 = t * t;
@@ -3499,8 +3360,7 @@ var interpolatorSplineBasisClosed = (arr) => (t) => {
3499
3360
  const i = Math.floor(t * classes);
3500
3361
  return bspline(arr[mod(i - 1, arr.length)], arr[mod(i, arr.length)], arr[mod(i + 1, arr.length)], arr[mod(i + 2, arr.length)], (t - i / classes) * classes);
3501
3362
  };
3502
- //#endregion
3503
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/splineNatural.js
3363
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/splineNatural.js
3504
3364
  var solve = (v) => {
3505
3365
  let i;
3506
3366
  let n = v.length - 1;
@@ -3521,8 +3381,7 @@ var solve = (v) => {
3521
3381
  };
3522
3382
  var interpolatorSplineNatural = (arr) => interpolatorSplineBasis(solve(arr));
3523
3383
  var interpolatorSplineNaturalClosed = (arr) => interpolatorSplineBasisClosed(solve(arr));
3524
- //#endregion
3525
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/splineMonotone.js
3384
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/interpolate/splineMonotone.js
3526
3385
  var sgn = Math.sign;
3527
3386
  var min = Math.min;
3528
3387
  var abs = Math.abs;
@@ -3584,11 +3443,9 @@ var interpolatorSplineMonotoneClosed = (arr) => {
3584
3443
  yp[n] = (sgn(s[n - 1]) + sgn(s_n)) * min(abs(s[n - 1]), abs(s_n), .5 * abs(p[n]));
3585
3444
  return interpolator(arr, yp, s);
3586
3445
  };
3587
- //#endregion
3588
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/gamma.js
3446
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/gamma.js
3589
3447
  var gamma = (γ = 1) => γ === 1 ? (t) => t : (t) => Math.pow(t, γ);
3590
- //#endregion
3591
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/samples.js
3448
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/samples.js
3592
3449
  var samples = (n = 2, γ = 1) => {
3593
3450
  let ease = gamma(γ);
3594
3451
  if (n < 2) return n < 1 ? [] : [ease(.5)];
@@ -3596,8 +3453,7 @@ var samples = (n = 2, γ = 1) => {
3596
3453
  for (let i = 0; i < n; i++) res.push(ease(i / (n - 1)));
3597
3454
  return res;
3598
3455
  };
3599
- //#endregion
3600
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/clamp.js
3456
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/clamp.js
3601
3457
  var rgb$2 = converter("rgb");
3602
3458
  var fixup_rgb = (c) => {
3603
3459
  const res = {
@@ -3717,8 +3573,7 @@ function toGamut(dest = "rgb", mode = "oklch", delta = differenceEuclidean("oklc
3717
3573
  return destConv(inDestinationGamut(candidate) ? candidate : clipped);
3718
3574
  };
3719
3575
  }
3720
- //#endregion
3721
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/nearest.js
3576
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/nearest.js
3722
3577
  var nearest = (colors, metric = differenceEuclidean(), accessor = (d) => d) => {
3723
3578
  let arr = colors.map((c, idx) => ({
3724
3579
  color: accessor(c),
@@ -3732,8 +3587,7 @@ var nearest = (colors, metric = differenceEuclidean(), accessor = (d) => d) => {
3732
3587
  return arr.sort((a, b) => a.d - b.d).slice(0, n).filter((c) => c.d < τ).map((c) => colors[c.i]);
3733
3588
  };
3734
3589
  };
3735
- //#endregion
3736
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/filter.js
3590
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/filter.js
3737
3591
  var minzero = (v) => Math.max(v, 0);
3738
3592
  var clamp = (v) => Math.max(Math.min(v, 1), 0);
3739
3593
  var lerp$1 = (a, b, t) => a === void 0 || b === void 0 ? void 0 : a + t * (b - a);
@@ -3857,8 +3711,7 @@ var filterInvert = (amt = 1, mode = "rgb") => {
3857
3711
  return mapper((v, ch) => ch === "alpha" ? v : lerp$1(a, 1 - a, v), mode, true);
3858
3712
  };
3859
3713
  var filterHueRotate = (deg = 0, mode = "rgb") => matrix(matrixHueRotate(deg), mode, true);
3860
- //#endregion
3861
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/deficiency.js
3714
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/deficiency.js
3862
3715
  var rgb$1 = converter("rgb");
3863
3716
  var PROT = [
3864
3717
  [
@@ -4255,18 +4108,14 @@ var deficiency = (lut, t) => {
4255
4108
  var filterDeficiencyProt = (severity = 1) => deficiency(PROT, severity);
4256
4109
  var filterDeficiencyDeuter = (severity = 1) => deficiency(DEUTER, severity);
4257
4110
  var filterDeficiencyTrit = (severity = 1) => deficiency(TRIT, severity);
4258
- //#endregion
4259
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/smoothstep.js
4111
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/smoothstep.js
4260
4112
  var easingSmoothstep = (t) => t * t * (3 - 2 * t);
4261
4113
  var easingSmoothstepInverse = (t) => .5 - Math.sin(Math.asin(1 - 2 * t) / 3);
4262
- //#endregion
4263
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/smootherstep.js
4114
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/smootherstep.js
4264
4115
  var smootherstep = (t) => t * t * t * (t * (t * 6 - 15) + 10);
4265
- //#endregion
4266
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/inOutSine.js
4116
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/easing/inOutSine.js
4267
4117
  var inOutSine = (t) => (1 - Math.cos(t * Math.PI)) / 2;
4268
- //#endregion
4269
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/wcag.js
4118
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/wcag.js
4270
4119
  function luminance(color) {
4271
4120
  let c = converter("lrgb")(color);
4272
4121
  return .2126 * c.r + .7152 * c.g + .0722 * c.b;
@@ -4276,8 +4125,7 @@ function contrast(a, b) {
4276
4125
  let L2 = luminance(b);
4277
4126
  return (Math.max(L1, L2) + .05) / (Math.min(L1, L2) + .05);
4278
4127
  }
4279
- //#endregion
4280
- //#region ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/index.js
4128
+ // ../../home/cosmin/Work/maizzle/framework/node_modules/culori/src/index.js
4281
4129
  var a98 = useMode(definition);
4282
4130
  var cubehelix = useMode(definition$1);
4283
4131
  var dlab = useMode(definition$2);
@@ -4308,5 +4156,4 @@ var xyb = useMode(definition$24);
4308
4156
  var xyz50 = useMode(definition$25);
4309
4157
  var xyz65 = useMode(definition$26);
4310
4158
  var yiq = useMode(definition$27);
4311
- //#endregion
4312
4159
  export { a98, average, averageAngle, averageNumber, blend, blerp, clampChroma, clampGamut, clampRgb, named as colorsNamed, convertA98ToXyz65, convertCubehelixToRgb, convertDlchToLab65, convertHsiToRgb, convertHslToRgb, convertHsvToRgb, convertHwbToRgb, convertItpToXyz65, convertJabToJch, convertJabToRgb, convertJabToXyz65, convertJchToJab, convertLab65ToDlch, convertLab65ToRgb, convertLab65ToXyz65, convertLabToLch, convertLabToRgb, convertLabToXyz50, convertLchToLab, convertLchuvToLuv, convertLrgbToOklab, convertLrgbToRgb, convertLuvToLchuv, convertLuvToXyz50, convertOkhslToOklab, convertOkhsvToOklab, convertOklabToLrgb, convertOklabToOkhsl, convertOklabToOkhsv, convertOklabToRgb, convertP3ToXyz65, convertProphotoToXyz50, convertRec2020ToXyz65, convertRgbToCubehelix, convertRgbToHsi, convertRgbToHsl, convertRgbToHsv, convertRgbToHwb, convertRgbToJab, convertRgbToLab, convertRgbToLab65, convertRgbToLrgb, convertRgbToOklab, convertRgbToXyb, convertRgbToXyz50, convertRgbToXyz65, convertRgbToYiq, convertXybToRgb, convertXyz50ToLab, convertXyz50ToLuv, convertXyz50ToProphoto, convertXyz50ToRgb, convertXyz50ToXyz65, convertXyz65ToA98, convertXyz65ToItp, convertXyz65ToJab, convertXyz65ToLab65, convertXyz65ToP3, convertXyz65ToRec2020, convertXyz65ToRgb, convertXyz65ToXyz50, convertYiqToRgb, converter, cubehelix, differenceCie76, differenceCie94, differenceCiede2000, differenceCmc, differenceEuclidean, differenceHueChroma, differenceHueNaive, differenceHueSaturation, differenceHyab, differenceItp, differenceKotsarenkoRamos, displayable, dlab, dlch, gamma as easingGamma, inOutSine as easingInOutSine, midpoint as easingMidpoint, smootherstep as easingSmootherstep, easingSmoothstep, easingSmoothstepInverse, filterBrightness, filterContrast, filterDeficiencyDeuter, filterDeficiencyProt, filterDeficiencyTrit, filterGrayscale, filterHueRotate, filterInvert, filterSaturate, filterSepia, fixupAlpha, fixupHueDecreasing, fixupHueIncreasing, fixupHueLonger, fixupHueShorter, formatCss, formatHex, formatHex8, formatHsl, formatRgb, getMode, hsi, hsl, hsv, hwb, inGamut, interpolate, interpolateWith, interpolateWithPremultipliedAlpha, interpolatorLinear, interpolatorPiecewise, interpolatorSplineBasis, interpolatorSplineBasisClosed, interpolatorSplineMonotone, interpolatorSplineMonotone2, interpolatorSplineMonotoneClosed, interpolatorSplineNatural, interpolatorSplineNaturalClosed, itp, jab, jch, lab, lab65, lch, lch65, lchuv, lerp, lrgb, luv, mapAlphaDivide, mapAlphaMultiply, mapTransferGamma, mapTransferLinear, mapper, definition as modeA98, definition$1 as modeCubehelix, definition$2 as modeDlab, definition$3 as modeDlch, definition$4 as modeHsi, definition$5 as modeHsl, definition$6 as modeHsv, definition$7 as modeHwb, definition$8 as modeItp, definition$9 as modeJab, definition$10 as modeJch, definition$11 as modeLab, definition$12 as modeLab65, definition$13 as modeLch, definition$14 as modeLch65, definition$15 as modeLchuv, definition$16 as modeLrgb, definition$17 as modeLuv, modeOkhsl, modeOkhsv, definition$18 as modeOklab, definition$19 as modeOklch, definition$20 as modeP3, definition$21 as modeProphoto, definition$22 as modeRec2020, definition$23 as modeRgb, definition$24 as modeXyb, definition$25 as modeXyz50, definition$26 as modeXyz65, definition$27 as modeYiq, nearest, okhsl, okhsv, oklab, oklch, p3, parse, parseHex, parseHsl, parseHslLegacy, ParseHwb as parseHwb, parseLab, parseLch, parseNamed, parseOklab, parseOklch, parseRgb, parseRgbLegacy, parseTransparent, prophoto, random, rec2020, removeParser, rgb, round, samples, serializeHex, serializeHex8, serializeHsl, serializeRgb, toGamut, trilerp, unlerp, useMode, useParser, contrast as wcagContrast, luminance as wcagLuminance, xyb, xyz50, xyz65, yiq };