nuxt-ignis 0.4.0 → 0.5.0-rc.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.
- package/.data/content/contents.sqlite +0 -0
- package/.nuxt/app.config.mjs +8 -3
- package/.nuxt/components.d.ts +297 -747
- package/.nuxt/content/components.ts +117 -116
- package/.nuxt/dev/index.mjs +1027 -345
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.json +2 -2
- package/.nuxt/dist/server/client.manifest.mjs +2 -2
- package/.nuxt/eslint-typegen.d.ts +85 -16
- package/.nuxt/eslint.config.d.mts +3 -3
- package/.nuxt/eslint.config.mjs +11 -11
- package/.nuxt/i18n-route-resources.mjs +3 -0
- package/.nuxt/imports.d.ts +79 -86
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-highlighter.mjs +1 -1
- package/.nuxt/mdc-image-component.mjs +1 -1
- package/.nuxt/mdc-imports.mjs +1 -1
- package/.nuxt/module/nuxt-robots.d.ts +12 -12
- package/.nuxt/module/nuxt-seo-utils.assets.d.ts +1 -1
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +8 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +48 -0
- package/.nuxt/nitro.json +5 -5
- package/.nuxt/nuxt.d.ts +18 -22
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +28 -0
- package/.nuxt/nuxt.shared.d.ts +5 -0
- package/.nuxt/tsconfig.app.json +459 -0
- package/.nuxt/tsconfig.json +283 -301
- package/.nuxt/tsconfig.node.json +218 -0
- package/.nuxt/tsconfig.server.json +193 -166
- package/.nuxt/tsconfig.shared.json +278 -0
- package/.nuxt/types/app.config.d.ts +8 -2
- package/.nuxt/types/build.d.ts +3 -2
- package/.nuxt/types/components.d.ts +321 -0
- package/.nuxt/types/i18n-plugin.d.ts +25 -6
- package/.nuxt/types/imports.d.ts +390 -398
- package/.nuxt/types/modules.d.ts +579 -0
- package/.nuxt/types/neon.d.ts +11 -8
- package/.nuxt/types/nitro-imports.d.ts +394 -355
- package/.nuxt/types/nitro-middleware.d.ts +5 -0
- package/.nuxt/types/nitro-nuxt.d.ts +28 -2
- package/.nuxt/types/nitro-routes.d.ts +28 -25
- package/.nuxt/types/plugins.d.ts +42 -39
- package/.nuxt/types/runtime-config.d.ts +1018 -0
- package/.nuxt/types/ui.d.ts +3 -3
- package/.nuxt/ui/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/drawer.ts +1 -1
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/index.ts +1 -0
- package/.nuxt/ui/input.ts +1 -1
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/select.ts +7 -7
- package/.nuxt/ui/table.ts +8 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/textarea.ts +1 -1
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/.nuxt/ui-image-component.ts +1 -1
- package/.output/nitro.json +15 -0
- package/.output/public/__nuxt_content/content/sql_dump.txt +1 -0
- package/.output/public/_fonts/EP1810cmAtyahQPDHB6nvBzRkIG5RcNv4u5vTy1aYHU-6h0m1Bf2RaAhaXNIrP4eW5ztakwJFN8JcCXPea_zL8E.woff2 +0 -0
- package/.output/public/_fonts/JNWOTRocaYj0gq52vW_s7sHAdSMUetrRmhhggCVxyZ0-8R9ucQ623nsXJTayzizuOYtVntUNPQzR8aWYpk8a8d8.woff2 +0 -0
- package/.output/public/_fonts/XbAtjIvy1UErjg9eu_v7X3zPLS_AwsmqVsR9fG-JB6o-s6NA3uLuPs0vnwZNhOTJ1g_7NVire0Uvng_2zP6mjNQ.woff2 +0 -0
- package/.output/public/_fonts/ZLm6CLvwhQbamZ73M80jbqz7DuOkHlT_HRyXHG7YfVs-t7L_F0sYO8m44V7ZmFyCOiGNJDIBFFLVfLeLwCIUhsI.woff2 +0 -0
- package/.output/public/_fonts/aPa9az0DeE4U5rqM-Ov0Vl_obQis_d6sScLNygGkvxw-4s8awL3_7NCZIzHTaY2tD681prJPuNHGqkbChz7OJeE.woff2 +0 -0
- package/.output/public/_fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-BgCmQXkW3N6talUbQSKexB2sHUT0qGEzmM4uMcnDAbI.woff +0 -0
- package/.output/public/_ignis-config.json +201 -0
- package/.output/public/_nuxt/1soVlS0z.js +1 -0
- package/.output/public/_nuxt/B7rsWaa2.js +1 -0
- package/.output/public/_nuxt/BA2WKEAc.js +1 -0
- package/.output/public/_nuxt/BE_a_Zhd.js +1 -0
- package/.output/public/_nuxt/BFreiu22.js +1 -0
- package/.output/public/_nuxt/BLcTglbc.js +1 -0
- package/.output/public/_nuxt/Bhd4_yFT.js +1 -0
- package/.output/public/_nuxt/Bi2eMDmd.js +1 -0
- package/.output/public/_nuxt/BiUZ9mZX.js +1 -0
- package/.output/public/_nuxt/Bm30MqE0.js +1 -0
- package/.output/public/_nuxt/Bnm5Nral.js +1 -0
- package/.output/public/_nuxt/BrY1radz.js +35 -0
- package/.output/public/_nuxt/Bs3IGOdt.js +1 -0
- package/.output/public/_nuxt/ByaiRTkI.js +1 -0
- package/.output/public/_nuxt/CA578xwz.js +1 -0
- package/.output/public/_nuxt/CDttUXKg.js +1 -0
- package/.output/public/_nuxt/CSN71QT8.js +1 -0
- package/.output/public/_nuxt/CmzFGS1a.js +90 -0
- package/.output/public/_nuxt/CqCaqSd2.js +1 -0
- package/.output/public/_nuxt/D8v-efI7.js +1 -0
- package/.output/public/_nuxt/DR4hWRk7.js +1 -0
- package/.output/public/_nuxt/DRroQ-Xq.js +1 -0
- package/.output/public/_nuxt/DStnBfJS.js +1 -0
- package/.output/public/_nuxt/DXBpKbsa.js +6759 -0
- package/.output/public/_nuxt/DXTYyv-V.js +1 -0
- package/.output/public/_nuxt/DXbccJ2T.js +1 -0
- package/.output/public/_nuxt/DeS1g0YT.js +1 -0
- package/.output/public/_nuxt/Deb6R53f.js +1 -0
- package/.output/public/_nuxt/DiDHllLr.js +1 -0
- package/.output/public/_nuxt/DyCICqRh.js +1 -0
- package/.output/public/_nuxt/DzT4wm3Y.js +1 -0
- package/.output/public/_nuxt/E8nje24C.js +1 -0
- package/.output/public/_nuxt/ProsePre.D5orA6B_.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/9a624d26-216d-4e69-b3a7-54b68357876f.json +1 -0
- package/.output/public/_nuxt/dJ-vStNn.js +1 -0
- package/.output/public/_nuxt/entry.jMyW6Sg0.css +1 -0
- package/.output/public/_nuxt/error-404.BGUbR0Uk.css +1 -0
- package/.output/public/_nuxt/error-500.CQfkKpQ2.css +1 -0
- package/.output/public/_nuxt/sHsV3x2B.js +1 -0
- package/.output/public/_nuxt/sQEqbbg2.js +1 -0
- package/.output/public/_nuxt/vueform.ChEauysg.css +1 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/nuxt-ignis.png +0 -0
- package/.output/public/unsplash.jpg +0 -0
- package/.output/server/chunks/_/error-500.mjs +10 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/i18n.config.mjs +39 -0
- package/.output/server/chunks/_/i18n.config.mjs.map +1 -0
- package/.output/server/chunks/_/nitro.mjs +12834 -0
- package/.output/server/chunks/_/nitro.mjs.map +1 -0
- package/.output/server/chunks/build/client.manifest.mjs +511 -0
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
- package/.output/server/chunks/build/database.compressed.mjs +4 -0
- package/.output/server/chunks/build/database.compressed.mjs.map +1 -0
- package/.output/server/chunks/raw/headers.mjs +5 -0
- package/.output/server/chunks/raw/headers.mjs.map +1 -0
- package/.output/server/chunks/routes/api/neonTest.mjs +41 -0
- package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +352 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/chunks/virtual/child-sources.mjs +4 -0
- package/.output/server/chunks/virtual/child-sources.mjs.map +1 -0
- package/.output/server/chunks/virtual/global-sources.mjs +48 -0
- package/.output/server/chunks/virtual/global-sources.mjs.map +1 -0
- package/.output/server/index.mjs +49 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/convertor/create.cjs +32 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data-patch.cjs +7 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data.cjs +97 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/SyntaxError.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/generate.cjs +135 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/index.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/parse.cjs +588 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/tokenizer.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/walk.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/create.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/sourceMap.cjs +96 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/token-before.cjs +170 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/index.cjs +63 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/Lexer.cjs +459 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/error.cjs +128 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-an-plus-b.cjs +235 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-const.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-urange.cjs +149 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic.cjs +573 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match-graph.cjs +459 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match.cjs +632 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/prepare-tokens.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/search.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/structure.cjs +168 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/trace.cjs +73 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/SyntaxError.cjs +69 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/create.cjs +336 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/sequence.cjs +47 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/font-face.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/import.cjs +37 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/index.cjs +17 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/media.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/page.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/supports.cjs +77 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/lexer.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/mix.cjs +142 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/parser.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/walker.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/create.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/expression.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/var.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/index.cjs +14 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AnPlusB.cjs +293 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Atrule.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AtrulePrelude.cjs +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AttributeSelector.cjs +148 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Block.cjs +90 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Brackets.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDC.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDO.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/ClassSelector.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Combinator.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Comment.cjs +40 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Declaration.cjs +166 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/DeclarationList.cjs +50 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Dimension.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Function.cjs +45 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Hash.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/IdSelector.cjs +33 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Identifier.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaFeature.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQuery.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQueryList.cjs +41 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Nth.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Number.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Operator.cjs +28 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Parentheses.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Percentage.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoClassSelector.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoElementSelector.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Ratio.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Raw.cjs +48 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Rule.cjs +58 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Selector.cjs +39 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/SelectorList.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/String.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/StyleSheet.cjs +83 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/TypeSelector.cjs +59 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/UnicodeRange.cjs +158 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Url.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Value.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/WhiteSpace.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index-parse.cjs +85 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index.cjs +85 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/pseudo/index.cjs +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/atrulePrelude.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/default.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/index.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/selector.cjs +84 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/value.cjs +29 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/OffsetToLocation.cjs +91 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/TokenStream.cjs +264 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/adopt-buffer.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/char-code-definitions.cjs +231 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/index.cjs +554 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/names.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/types.cjs +57 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/utils.cjs +261 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/List.cjs +473 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/clone.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/create-custom-error.cjs +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/ident.cjs +102 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/names.cjs +113 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/string.cjs +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/url.cjs +108 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/version.cjs +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/walker/create.cjs +291 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/data/patch.json +739 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/package.json +127 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/convertor/create.cjs +32 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data-patch.cjs +7 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data.cjs +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/SyntaxError.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/generate.cjs +135 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/index.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/parse.cjs +588 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/tokenizer.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/walk.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/create.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/sourceMap.cjs +96 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/token-before.cjs +170 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/index.cjs +63 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/Lexer.cjs +470 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/error.cjs +128 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-an-plus-b.cjs +235 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-const.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-urange.cjs +149 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic.cjs +573 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match-graph.cjs +459 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match.cjs +632 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/prepare-tokens.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/search.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/structure.cjs +168 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/trace.cjs +73 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/units.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/SyntaxError.cjs +69 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/create.cjs +336 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/sequence.cjs +47 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/font-face.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/import.cjs +37 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/index.cjs +19 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/media.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/nest.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/page.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/supports.cjs +77 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/lexer.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/mix.cjs +119 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/parser.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/walker.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/create.cjs +57 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/expression.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/var.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/index.cjs +14 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AnPlusB.cjs +293 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Atrule.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AtrulePrelude.cjs +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AttributeSelector.cjs +148 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Block.cjs +96 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Brackets.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDC.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDO.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/ClassSelector.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Combinator.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Comment.cjs +40 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Declaration.cjs +166 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/DeclarationList.cjs +62 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Dimension.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Function.cjs +45 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Hash.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/IdSelector.cjs +33 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Identifier.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaFeature.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQuery.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQueryList.cjs +41 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/NestingSelector.cjs +29 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Nth.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Number.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Operator.cjs +28 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Parentheses.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Percentage.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoClassSelector.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoElementSelector.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Ratio.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Raw.cjs +48 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Rule.cjs +58 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Selector.cjs +39 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/SelectorList.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/String.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/StyleSheet.cjs +83 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/TypeSelector.cjs +59 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/UnicodeRange.cjs +158 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Url.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Value.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/WhiteSpace.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index-parse.cjs +87 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index.cjs +87 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/pseudo/index.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/atrulePrelude.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/default.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/index.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/selector.cjs +88 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/value.cjs +29 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/OffsetToLocation.cjs +91 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/TokenStream.cjs +264 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/adopt-buffer.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/char-code-definitions.cjs +231 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/index.cjs +554 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/names.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/types.cjs +57 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/utils.cjs +261 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/List.cjs +473 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/clone.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/create-custom-error.cjs +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/ident.cjs +102 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/names.cjs +113 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/string.cjs +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/url.cjs +108 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/version.cjs +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/walker/create.cjs +291 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/data/patch.json +725 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/package.json +126 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode.js +536 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode_codepoint.js +76 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/encode.js +77 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/escape.js +122 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +9 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +9 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/encode-html.js +12 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/index.js +126 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/package.json +90 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/at-rules.json +620 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/properties.json +9297 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/syntaxes.json +794 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/package.json +38 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/at-rules.json +620 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/properties.json +9626 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/syntaxes.json +866 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/package.json +38 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +18 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +59 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +68 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +28 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +322 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +7 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +567 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +10 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +8 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +58 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +44 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +25 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +26 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +28 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/types.js +13 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +17 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +93 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/index.js +17 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/aria.js +61 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/find.js +97 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/hast-to-react.js +30 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/html.js +322 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/normalize.js +12 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/svg.js +567 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/case-insensitive-transform.js +13 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/case-sensitive-transform.js +11 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/create.js +69 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/defined-info.js +60 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/info.js +32 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/merge.js +27 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/schema.js +29 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +13 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xlink.js +17 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xml.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xmlns.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/package.json +121 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +36 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +26 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +30 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +202 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +193 -0
- package/.output/server/node_modules/@adonisjs/hash/build/index.js +9 -0
- package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +9 -0
- package/.output/server/node_modules/@adonisjs/hash/package.json +150 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14595 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@fastify/accept-negotiator/index.js +170 -0
- package/.output/server/node_modules/@fastify/accept-negotiator/package.json +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.mjs +350 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.mjs +188 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.mjs +90 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.mjs +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.mjs +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.mjs +168 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.mjs +14 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.mjs +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.mjs +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.mjs +84 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.mjs +44 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.mjs +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.mjs +231 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.mjs +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.mjs +164 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.mjs +216 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.mjs +113 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.mjs +104 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.mjs +34 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.mjs +75 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.mjs +97 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.mjs +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.mjs +97 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.mjs +45 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.mjs +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.mjs +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.mjs +24 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.mjs +53 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.mjs +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.mjs +182 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.mjs +46 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.mjs +66 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.mjs +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.mjs +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.mjs +62 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.mjs +161 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.mjs +64 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.mjs +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.mjs +59 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.mjs +80 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.mjs +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.mjs +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.mjs +17 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.mjs +5 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.mjs +119 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.mjs +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.mjs +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.mjs +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.mjs +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.mjs +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.mjs +83 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.mjs +70 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.mjs +40 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.mjs +5 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.mjs +11 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.mjs +8 -0
- package/.output/server/node_modules/@iconify/utils/package.json +447 -0
- package/.output/server/node_modules/@intlify/core/dist/core.mjs +31 -0
- package/.output/server/node_modules/@intlify/core/package.json +82 -0
- package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +1886 -0
- package/.output/server/node_modules/@intlify/core-base/package.json +80 -0
- package/.output/server/node_modules/@intlify/h3/dist/index.mjs +61 -0
- package/.output/server/node_modules/@intlify/h3/package.json +89 -0
- package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1530 -0
- package/.output/server/node_modules/@intlify/message-compiler/package.json +79 -0
- package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +281 -0
- package/.output/server/node_modules/@intlify/shared/package.json +69 -0
- package/.output/server/node_modules/@intlify/utils/dist/h3.mjs +89 -0
- package/.output/server/node_modules/@intlify/utils/dist/index.mjs +121 -0
- package/.output/server/node_modules/@intlify/utils/dist/shared/utils.12d9adcd.mjs +133 -0
- package/.output/server/node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs +108 -0
- package/.output/server/node_modules/@intlify/utils/package.json +129 -0
- package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +34 -0
- package/.output/server/node_modules/@lukeed/ms/package.json +48 -0
- package/.output/server/node_modules/@neondatabase/serverless/index.mjs +1374 -0
- package/.output/server/node_modules/@neondatabase/serverless/package.json +115 -0
- package/.output/server/node_modules/@phc/format/index.js +229 -0
- package/.output/server/node_modules/@phc/format/package.json +60 -0
- package/.output/server/node_modules/@poppinss/exception/build/index.js +63 -0
- package/.output/server/node_modules/@poppinss/exception/package.json +106 -0
- package/.output/server/node_modules/@poppinss/object-builder/build/index.js +49 -0
- package/.output/server/node_modules/@poppinss/object-builder/package.json +112 -0
- package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +407 -0
- package/.output/server/node_modules/@poppinss/string/build/index.js +6 -0
- package/.output/server/node_modules/@poppinss/string/package.json +128 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +17 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +7 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +12 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +7 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +39 -0
- package/.output/server/node_modules/@poppinss/utils/build/index.js +365 -0
- package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +39 -0
- package/.output/server/node_modules/@poppinss/utils/package.json +153 -0
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +2333 -0
- package/.output/server/node_modules/@shikijs/core/package.json +49 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +39 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
- package/.output/server/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/.output/server/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/package.json +357 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/package.json +98 -0
- package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +744 -0
- package/.output/server/node_modules/@shikijs/transformers/package.json +37 -0
- package/.output/server/node_modules/@shikijs/types/dist/index.mjs +8 -0
- package/.output/server/node_modules/@shikijs/types/package.json +36 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/package.json +46 -0
- package/.output/server/node_modules/@sindresorhus/is/dist/index.js +434 -0
- package/.output/server/node_modules/@sindresorhus/is/package.json +96 -0
- package/.output/server/node_modules/@trysound/sax/lib/sax.js +1413 -0
- package/.output/server/node_modules/@trysound/sax/package.json +30 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/index.js +25 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/serialize.js +171 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/types.js +11 -0
- package/.output/server/node_modules/@ungap/structured-clone/package.json +54 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6706 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1402 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1806 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6734 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1677 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/bail/index.js +12 -0
- package/.output/server/node_modules/bail/package.json +73 -0
- package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
- package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
- package/.output/server/node_modules/better-sqlite3/package.json +62 -0
- package/.output/server/node_modules/bindings/bindings.js +221 -0
- package/.output/server/node_modules/bindings/package.json +28 -0
- package/.output/server/node_modules/boolbase/index.js +8 -0
- package/.output/server/node_modules/boolbase/package.json +23 -0
- package/.output/server/node_modules/bytes/index.js +170 -0
- package/.output/server/node_modules/bytes/package.json +42 -0
- package/.output/server/node_modules/case-anything/dist/core.js +242 -0
- package/.output/server/node_modules/case-anything/dist/index.js +1 -0
- package/.output/server/node_modules/case-anything/dist/utils.js +90 -0
- package/.output/server/node_modules/case-anything/package.json +61 -0
- package/.output/server/node_modules/ccount/index.js +27 -0
- package/.output/server/node_modules/ccount/package.json +71 -0
- package/.output/server/node_modules/char-regex/index.js +39 -0
- package/.output/server/node_modules/char-regex/package.json +44 -0
- package/.output/server/node_modules/character-entities/index.js +2132 -0
- package/.output/server/node_modules/character-entities/package.json +78 -0
- package/.output/server/node_modules/character-entities-html4/index.js +259 -0
- package/.output/server/node_modules/character-entities-html4/package.json +79 -0
- package/.output/server/node_modules/character-entities-legacy/index.js +113 -0
- package/.output/server/node_modules/character-entities-legacy/package.json +77 -0
- package/.output/server/node_modules/character-reference-invalid/index.js +35 -0
- package/.output/server/node_modules/character-reference-invalid/package.json +83 -0
- package/.output/server/node_modules/color/index.js +496 -0
- package/.output/server/node_modules/color/package.json +47 -0
- package/.output/server/node_modules/color-convert/conversions.js +839 -0
- package/.output/server/node_modules/color-convert/index.js +81 -0
- package/.output/server/node_modules/color-convert/package.json +48 -0
- package/.output/server/node_modules/color-convert/route.js +97 -0
- package/.output/server/node_modules/color-name/index.js +152 -0
- package/.output/server/node_modules/color-name/package.json +28 -0
- package/.output/server/node_modules/color-string/index.js +242 -0
- package/.output/server/node_modules/color-string/package.json +39 -0
- package/.output/server/node_modules/comma-separated-tokens/index.js +74 -0
- package/.output/server/node_modules/comma-separated-tokens/package.json +72 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/cookie-es/dist/index.mjs +262 -0
- package/.output/server/node_modules/cookie-es/package.json +46 -0
- package/.output/server/node_modules/css-select/lib/attributes.js +236 -0
- package/.output/server/node_modules/css-select/lib/compile.js +151 -0
- package/.output/server/node_modules/css-select/lib/general.js +148 -0
- package/.output/server/node_modules/css-select/lib/index.js +154 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/.output/server/node_modules/css-select/lib/sort.js +84 -0
- package/.output/server/node_modules/css-select/package.json +81 -0
- package/.output/server/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/.output/server/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/.output/server/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/.output/server/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/.output/server/node_modules/css-what/package.json +59 -0
- package/.output/server/node_modules/cssfilter/lib/css.js +110 -0
- package/.output/server/node_modules/cssfilter/lib/default.js +398 -0
- package/.output/server/node_modules/cssfilter/lib/index.js +32 -0
- package/.output/server/node_modules/cssfilter/lib/parser.js +74 -0
- package/.output/server/node_modules/cssfilter/lib/util.js +35 -0
- package/.output/server/node_modules/cssfilter/package.json +49 -0
- package/.output/server/node_modules/csso/cjs/clean/Atrule.cjs +73 -0
- package/.output/server/node_modules/csso/cjs/clean/Comment.cjs +7 -0
- package/.output/server/node_modules/csso/cjs/clean/Declaration.cjs +18 -0
- package/.output/server/node_modules/csso/cjs/clean/Raw.cjs +13 -0
- package/.output/server/node_modules/csso/cjs/clean/Rule.cjs +104 -0
- package/.output/server/node_modules/csso/cjs/clean/TypeSelector.cjs +23 -0
- package/.output/server/node_modules/csso/cjs/clean/WhiteSpace.cjs +7 -0
- package/.output/server/node_modules/csso/cjs/clean/index.cjs +32 -0
- package/.output/server/node_modules/csso/cjs/clean/utils.cjs +12 -0
- package/.output/server/node_modules/csso/cjs/compress.cjs +200 -0
- package/.output/server/node_modules/csso/cjs/index.cjs +127 -0
- package/.output/server/node_modules/csso/cjs/replace/Atrule.cjs +13 -0
- package/.output/server/node_modules/csso/cjs/replace/AttributeSelector.cjs +32 -0
- package/.output/server/node_modules/csso/cjs/replace/Dimension.cjs +67 -0
- package/.output/server/node_modules/csso/cjs/replace/Number.cjs +45 -0
- package/.output/server/node_modules/csso/cjs/replace/Percentage.cjs +41 -0
- package/.output/server/node_modules/csso/cjs/replace/Url.cjs +8 -0
- package/.output/server/node_modules/csso/cjs/replace/Value.cjs +29 -0
- package/.output/server/node_modules/csso/cjs/replace/atrule/keyframes.cjs +25 -0
- package/.output/server/node_modules/csso/cjs/replace/color.cjs +504 -0
- package/.output/server/node_modules/csso/cjs/replace/index.cjs +36 -0
- package/.output/server/node_modules/csso/cjs/replace/property/background.cjs +54 -0
- package/.output/server/node_modules/csso/cjs/replace/property/border.cjs +20 -0
- package/.output/server/node_modules/csso/cjs/replace/property/font-weight.cjs +26 -0
- package/.output/server/node_modules/csso/cjs/replace/property/font.cjs +34 -0
- package/.output/server/node_modules/csso/cjs/restructure/1-mergeAtrule.cjs +109 -0
- package/.output/server/node_modules/csso/cjs/restructure/2-initialMergeRuleset.cjs +51 -0
- package/.output/server/node_modules/csso/cjs/restructure/3-disjoinRuleset.cjs +46 -0
- package/.output/server/node_modules/csso/cjs/restructure/4-restructShorthand.cjs +429 -0
- package/.output/server/node_modules/csso/cjs/restructure/6-restructBlock.cjs +307 -0
- package/.output/server/node_modules/csso/cjs/restructure/7-mergeRuleset.cjs +90 -0
- package/.output/server/node_modules/csso/cjs/restructure/8-restructRuleset.cjs +175 -0
- package/.output/server/node_modules/csso/cjs/restructure/index.cjs +39 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/createDeclarationIndexer.cjs +34 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/index.cjs +45 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/processSelector.cjs +101 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/specificity.cjs +133 -0
- package/.output/server/node_modules/csso/cjs/restructure/utils.cjs +151 -0
- package/.output/server/node_modules/csso/cjs/syntax.cjs +60 -0
- package/.output/server/node_modules/csso/cjs/usage.cjs +75 -0
- package/.output/server/node_modules/csso/cjs/utils.cjs +14 -0
- package/.output/server/node_modules/csso/cjs/version.cjs +5 -0
- package/.output/server/node_modules/csso/package.json +82 -0
- package/.output/server/node_modules/debug/package.json +64 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/decode-named-character-reference/index.js +19 -0
- package/.output/server/node_modules/decode-named-character-reference/package.json +89 -0
- package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
- package/.output/server/node_modules/defu/package.json +43 -0
- package/.output/server/node_modules/destr/dist/index.mjs +72 -0
- package/.output/server/node_modules/destr/package.json +47 -0
- package/.output/server/node_modules/detab/index.js +45 -0
- package/.output/server/node_modules/detab/package.json +71 -0
- package/.output/server/node_modules/detect-libc/lib/detect-libc.js +267 -0
- package/.output/server/node_modules/detect-libc/lib/filesystem.js +41 -0
- package/.output/server/node_modules/detect-libc/lib/process.js +24 -0
- package/.output/server/node_modules/detect-libc/package.json +41 -0
- package/.output/server/node_modules/devalue/index.js +3 -0
- package/.output/server/node_modules/devalue/package.json +37 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +6 -0
- package/.output/server/node_modules/devalue/src/parse.js +195 -0
- package/.output/server/node_modules/devalue/src/stringify.js +261 -0
- package/.output/server/node_modules/devalue/src/uneval.js +402 -0
- package/.output/server/node_modules/devalue/src/utils.js +114 -0
- package/.output/server/node_modules/devlop/lib/default.js +9 -0
- package/.output/server/node_modules/devlop/package.json +80 -0
- package/.output/server/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/.output/server/node_modules/dom-serializer/lib/index.js +229 -0
- package/.output/server/node_modules/dom-serializer/package.json +69 -0
- package/.output/server/node_modules/domelementtype/lib/index.js +55 -0
- package/.output/server/node_modules/domelementtype/package.json +54 -0
- package/.output/server/node_modules/domhandler/lib/index.js +165 -0
- package/.output/server/node_modules/domhandler/lib/node.js +474 -0
- package/.output/server/node_modules/domhandler/package.json +73 -0
- package/.output/server/node_modules/domutils/lib/feeds.js +190 -0
- package/.output/server/node_modules/domutils/lib/helpers.js +142 -0
- package/.output/server/node_modules/domutils/lib/index.js +33 -0
- package/.output/server/node_modules/domutils/lib/legacy.js +168 -0
- package/.output/server/node_modules/domutils/lib/manipulation.js +142 -0
- package/.output/server/node_modules/domutils/lib/querying.js +155 -0
- package/.output/server/node_modules/domutils/lib/stringify.js +91 -0
- package/.output/server/node_modules/domutils/lib/traversal.js +125 -0
- package/.output/server/node_modules/domutils/package.json +79 -0
- package/.output/server/node_modules/emojilib/emojis.json +9422 -0
- package/.output/server/node_modules/emojilib/index.js +5 -0
- package/.output/server/node_modules/emojilib/ordered.json +1572 -0
- package/.output/server/node_modules/emojilib/package.json +41 -0
- package/.output/server/node_modules/emoticon/index.js +480 -0
- package/.output/server/node_modules/emoticon/package.json +88 -0
- package/.output/server/node_modules/escape-string-regexp/index.js +11 -0
- package/.output/server/node_modules/escape-string-regexp/package.json +40 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/etag/index.js +131 -0
- package/.output/server/node_modules/etag/package.json +47 -0
- package/.output/server/node_modules/extend/index.js +117 -0
- package/.output/server/node_modules/extend/package.json +42 -0
- package/.output/server/node_modules/fast-xml-parser/package.json +90 -0
- package/.output/server/node_modules/fast-xml-parser/src/fxp.js +14 -0
- package/.output/server/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/.output/server/node_modules/fast-xml-parser/src/util.js +68 -0
- package/.output/server/node_modules/fast-xml-parser/src/validator.js +425 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +285 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +134 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +369 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +46 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +606 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/node2json.js +119 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
- package/.output/server/node_modules/file-uri-to-path/index.js +66 -0
- package/.output/server/node_modules/file-uri-to-path/package.json +32 -0
- package/.output/server/node_modules/flat/index.js +157 -0
- package/.output/server/node_modules/flat/package.json +49 -0
- package/.output/server/node_modules/flattie/dist/index.mjs +25 -0
- package/.output/server/node_modules/flattie/package.json +48 -0
- package/.output/server/node_modules/github-slugger/index.js +77 -0
- package/.output/server/node_modules/github-slugger/package.json +71 -0
- package/.output/server/node_modules/github-slugger/regex.js +3 -0
- package/.output/server/node_modules/h3/dist/index.mjs +2478 -0
- package/.output/server/node_modules/h3/package.json +75 -0
- package/.output/server/node_modules/has-flag/index.js +8 -0
- package/.output/server/node_modules/has-flag/package.json +46 -0
- package/.output/server/node_modules/hast-util-embedded/index.js +1 -0
- package/.output/server/node_modules/hast-util-embedded/lib/index.js +33 -0
- package/.output/server/node_modules/hast-util-embedded/package.json +78 -0
- package/.output/server/node_modules/hast-util-format/index.js +2 -0
- package/.output/server/node_modules/hast-util-format/lib/index.js +186 -0
- package/.output/server/node_modules/hast-util-format/package.json +124 -0
- package/.output/server/node_modules/hast-util-from-parse5/index.js +2 -0
- package/.output/server/node_modules/hast-util-from-parse5/lib/index.js +337 -0
- package/.output/server/node_modules/hast-util-from-parse5/package.json +120 -0
- package/.output/server/node_modules/hast-util-has-property/index.js +1 -0
- package/.output/server/node_modules/hast-util-has-property/lib/index.js +29 -0
- package/.output/server/node_modules/hast-util-has-property/package.json +79 -0
- package/.output/server/node_modules/hast-util-is-body-ok-link/index.js +46 -0
- package/.output/server/node_modules/hast-util-is-body-ok-link/lib/index.js +38 -0
- package/.output/server/node_modules/hast-util-is-body-ok-link/package.json +52 -0
- package/.output/server/node_modules/hast-util-is-element/index.js +7 -0
- package/.output/server/node_modules/hast-util-is-element/lib/index.js +278 -0
- package/.output/server/node_modules/hast-util-is-element/package.json +82 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/index.js +69 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/block.js +61 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/content.js +7 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/index.js +377 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/skippable.js +20 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/package.json +56 -0
- package/.output/server/node_modules/hast-util-parse-selector/index.js +1 -0
- package/.output/server/node_modules/hast-util-parse-selector/lib/index.js +87 -0
- package/.output/server/node_modules/hast-util-parse-selector/package.json +79 -0
- package/.output/server/node_modules/hast-util-phrasing/index.js +1 -0
- package/.output/server/node_modules/hast-util-phrasing/lib/index.js +78 -0
- package/.output/server/node_modules/hast-util-phrasing/package.json +83 -0
- package/.output/server/node_modules/hast-util-raw/index.js +2 -0
- package/.output/server/node_modules/hast-util-raw/lib/index.js +682 -0
- package/.output/server/node_modules/hast-util-raw/package.json +123 -0
- package/.output/server/node_modules/hast-util-to-html/index.js +8 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/.output/server/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/.output/server/node_modules/hast-util-to-html/package.json +106 -0
- package/.output/server/node_modules/hast-util-to-mdast/index.js +13 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/a.js +30 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/base.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/blockquote.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/br.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/code.js +65 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/comment.js +23 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/del.js +23 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/dl.js +144 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/em.js +24 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/heading.js +30 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/hr.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/iframe.js +35 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/img.js +27 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/index.js +233 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/inline-code.js +22 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/input.js +137 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/li.js +147 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/list.js +47 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/media.js +82 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/p.js +30 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/q.js +43 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/root.js +28 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/select.js +34 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/strong.js +24 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table-cell.js +38 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table-row.js +29 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table.js +203 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/text.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/textarea.js +22 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/wbr.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/index.js +111 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/state.js +389 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/drop-surrounding-breaks.js +23 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/find-selected-options.js +90 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/list-items-spread.js +25 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/wrap.js +223 -0
- package/.output/server/node_modules/hast-util-to-mdast/package.json +124 -0
- package/.output/server/node_modules/hast-util-to-parse5/index.js +6 -0
- package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +338 -0
- package/.output/server/node_modules/hast-util-to-parse5/package.json +87 -0
- package/.output/server/node_modules/hast-util-to-string/index.js +46 -0
- package/.output/server/node_modules/hast-util-to-string/lib/index.js +54 -0
- package/.output/server/node_modules/hast-util-to-string/package.json +54 -0
- package/.output/server/node_modules/hast-util-to-text/index.js +6 -0
- package/.output/server/node_modules/hast-util-to-text/lib/index.js +633 -0
- package/.output/server/node_modules/hast-util-to-text/package.json +87 -0
- package/.output/server/node_modules/hast-util-whitespace/index.js +1 -0
- package/.output/server/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/.output/server/node_modules/hast-util-whitespace/package.json +83 -0
- package/.output/server/node_modules/hastscript/index.js +7 -0
- package/.output/server/node_modules/hastscript/lib/create-h.js +365 -0
- package/.output/server/node_modules/hastscript/lib/index.js +27 -0
- package/.output/server/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +46 -0
- package/.output/server/node_modules/hastscript/package.json +126 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
- package/.output/server/node_modules/hookable/package.json +49 -0
- package/.output/server/node_modules/html-void-elements/index.js +27 -0
- package/.output/server/node_modules/html-void-elements/package.json +79 -0
- package/.output/server/node_modules/html-whitespace-sensitive-tag-names/index.js +28 -0
- package/.output/server/node_modules/html-whitespace-sensitive-tag-names/lib/index.js +9 -0
- package/.output/server/node_modules/html-whitespace-sensitive-tag-names/package.json +48 -0
- package/.output/server/node_modules/image-meta/dist/index.mjs +785 -0
- package/.output/server/node_modules/image-meta/package.json +46 -0
- package/.output/server/node_modules/ipx/dist/index.mjs +52 -0
- package/.output/server/node_modules/ipx/dist/shared/ipx.e4d5b25d.mjs +761 -0
- package/.output/server/node_modules/ipx/package.json +72 -0
- package/.output/server/node_modules/iron-webcrypto/dist/index.js +298 -0
- package/.output/server/node_modules/iron-webcrypto/package.json +72 -0
- package/.output/server/node_modules/is-absolute-url/index.js +18 -0
- package/.output/server/node_modules/is-absolute-url/package.json +37 -0
- package/.output/server/node_modules/is-alphabetical/index.js +16 -0
- package/.output/server/node_modules/is-alphabetical/package.json +73 -0
- package/.output/server/node_modules/is-alphanumerical/index.js +13 -0
- package/.output/server/node_modules/is-alphanumerical/package.json +79 -0
- package/.output/server/node_modules/is-arrayish/index.js +9 -0
- package/.output/server/node_modules/is-arrayish/package.json +45 -0
- package/.output/server/node_modules/is-decimal/index.js +13 -0
- package/.output/server/node_modules/is-decimal/package.json +73 -0
- package/.output/server/node_modules/is-hexadecimal/index.js +17 -0
- package/.output/server/node_modules/is-hexadecimal/package.json +73 -0
- package/.output/server/node_modules/is-plain-obj/index.js +8 -0
- package/.output/server/node_modules/is-plain-obj/package.json +41 -0
- package/.output/server/node_modules/jose/dist/webapi/index.js +30 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +27 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +165 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +165 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +187 -0
- package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +17 -0
- package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
- package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +119 -0
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +179 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +18 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +21 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +86 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +116 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +73 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +24 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +108 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +52 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +63 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/.output/server/node_modules/jose/dist/webapi/key/export.js +11 -0
- package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +97 -0
- package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
- package/.output/server/node_modules/jose/dist/webapi/key/import.js +57 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js +16 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/aeskw.js +25 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +247 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +32 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/cek.js +19 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js +7 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js +7 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js +8 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +126 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +147 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js +106 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +127 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/digest.js +4 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js +52 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js +74 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +92 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/epoch.js +1 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +12 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js +21 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js +14 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +14 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_object.js +16 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/iv.js +19 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +109 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +185 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js +176 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js +37 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/private_symbols.js +1 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js +24 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/secs.js +55 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/sign.js +9 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js +10 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js +33 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/verify.js +14 -0
- package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +30 -0
- package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +34 -0
- package/.output/server/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/.output/server/node_modules/jose/package.json +200 -0
- package/.output/server/node_modules/longest-streak/index.js +36 -0
- package/.output/server/node_modules/longest-streak/package.json +73 -0
- package/.output/server/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/.output/server/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/.output/server/node_modules/lru-cache/package.json +116 -0
- package/.output/server/node_modules/markdown-table/index.js +393 -0
- package/.output/server/node_modules/markdown-table/package.json +77 -0
- package/.output/server/node_modules/mdast-util-find-and-replace/index.js +11 -0
- package/.output/server/node_modules/mdast-util-find-and-replace/lib/index.js +261 -0
- package/.output/server/node_modules/mdast-util-find-and-replace/package.json +85 -0
- package/.output/server/node_modules/mdast-util-from-markdown/index.js +2 -0
- package/.output/server/node_modules/mdast-util-from-markdown/lib/index.js +1177 -0
- package/.output/server/node_modules/mdast-util-from-markdown/package.json +139 -0
- package/.output/server/node_modules/mdast-util-gfm/index.js +2 -0
- package/.output/server/node_modules/mdast-util-gfm/lib/index.js +63 -0
- package/.output/server/node_modules/mdast-util-gfm/package.json +125 -0
- package/.output/server/node_modules/mdast-util-gfm-autolink-literal/index.js +4 -0
- package/.output/server/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +280 -0
- package/.output/server/node_modules/mdast-util-gfm-autolink-literal/package.json +106 -0
- package/.output/server/node_modules/mdast-util-gfm-footnote/index.js +2 -0
- package/.output/server/node_modules/mdast-util-gfm-footnote/lib/index.js +212 -0
- package/.output/server/node_modules/mdast-util-gfm-footnote/package.json +111 -0
- package/.output/server/node_modules/mdast-util-gfm-strikethrough/index.js +5 -0
- package/.output/server/node_modules/mdast-util-gfm-strikethrough/lib/index.js +106 -0
- package/.output/server/node_modules/mdast-util-gfm-strikethrough/package.json +99 -0
- package/.output/server/node_modules/mdast-util-gfm-table/index.js +2 -0
- package/.output/server/node_modules/mdast-util-gfm-table/lib/index.js +300 -0
- package/.output/server/node_modules/mdast-util-gfm-table/package.json +101 -0
- package/.output/server/node_modules/mdast-util-gfm-task-list-item/index.js +4 -0
- package/.output/server/node_modules/mdast-util-gfm-task-list-item/lib/index.js +141 -0
- package/.output/server/node_modules/mdast-util-gfm-task-list-item/package.json +90 -0
- package/.output/server/node_modules/mdast-util-phrasing/index.js +1 -0
- package/.output/server/node_modules/mdast-util-phrasing/lib/index.js +45 -0
- package/.output/server/node_modules/mdast-util-phrasing/package.json +78 -0
- package/.output/server/node_modules/mdast-util-to-hast/index.js +7 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/footer.js +252 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/break.js +26 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/code.js +50 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/delete.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +70 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/heading.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/html.js +31 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +41 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image.js +36 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/index.js +64 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +35 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +46 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link.js +37 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +125 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list.js +56 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/root.js +26 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/strong.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +32 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +69 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table.js +61 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/text.js +25 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/index.js +106 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/revert.js +55 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/state.js +473 -0
- package/.output/server/node_modules/mdast-util-to-hast/package.json +118 -0
- package/.output/server/node_modules/mdast-util-to-markdown/index.js +3 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/configure.js +79 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +29 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/break.js +30 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/code.js +75 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/definition.js +76 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +69 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/heading.js +75 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/html.js +20 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +63 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/image.js +82 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/index.js +45 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +76 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +63 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/link.js +114 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +62 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/list.js +100 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +20 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/root.js +23 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/strong.js +69 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/text.js +15 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/index.js +187 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/join.js +39 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/unsafe.js +146 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/association.js +33 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +38 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +24 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +84 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +125 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +11 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +82 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +22 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +34 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +34 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +35 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +41 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/safe.js +174 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/track.js +55 -0
- package/.output/server/node_modules/mdast-util-to-markdown/package.json +132 -0
- package/.output/server/node_modules/mdast-util-to-string/index.js +5 -0
- package/.output/server/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/.output/server/node_modules/mdast-util-to-string/package.json +78 -0
- package/.output/server/node_modules/micromark/index.js +60 -0
- package/.output/server/node_modules/micromark/lib/compile.js +1060 -0
- package/.output/server/node_modules/micromark/lib/constructs.js +85 -0
- package/.output/server/node_modules/micromark/lib/create-tokenizer.js +611 -0
- package/.output/server/node_modules/micromark/lib/initialize/content.js +79 -0
- package/.output/server/node_modules/micromark/lib/initialize/document.js +362 -0
- package/.output/server/node_modules/micromark/lib/initialize/flow.js +58 -0
- package/.output/server/node_modules/micromark/lib/initialize/text.js +212 -0
- package/.output/server/node_modules/micromark/lib/parse.js +56 -0
- package/.output/server/node_modules/micromark/lib/postprocess.js +18 -0
- package/.output/server/node_modules/micromark/lib/preprocess.js +115 -0
- package/.output/server/node_modules/micromark/package.json +100 -0
- package/.output/server/node_modules/micromark-core-commonmark/index.js +22 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/attention.js +241 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/code-fenced.js +460 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/code-indented.js +177 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/content.js +163 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/heading-atx.js +195 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/html-flow.js +876 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/label-end.js +560 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/label-start-image.js +102 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/label-start-link.js +55 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/list.js +213 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/setext-underline.js +185 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
- package/.output/server/node_modules/micromark-core-commonmark/package.json +74 -0
- package/.output/server/node_modules/micromark-extension-gfm/index.js +69 -0
- package/.output/server/node_modules/micromark-extension-gfm/package.json +107 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/index.js +2 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js +60 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +854 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/package.json +116 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/index.js +3 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/lib/html.js +154 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +485 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/package.json +132 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/index.js +3 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/lib/html.js +26 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +142 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/package.json +129 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/index.js +2 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/edit-map.js +202 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/html.js +130 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/infer.js +52 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/syntax.js +819 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/package.json +128 -0
- package/.output/server/node_modules/micromark-extension-gfm-tagfilter/index.js +1 -0
- package/.output/server/node_modules/micromark-extension-gfm-tagfilter/lib/index.js +51 -0
- package/.output/server/node_modules/micromark-extension-gfm-tagfilter/package.json +82 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/index.js +2 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/lib/html.js +29 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +158 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/package.json +131 -0
- package/.output/server/node_modules/micromark-factory-destination/index.js +206 -0
- package/.output/server/node_modules/micromark-factory-destination/package.json +57 -0
- package/.output/server/node_modules/micromark-factory-label/index.js +148 -0
- package/.output/server/node_modules/micromark-factory-label/package.json +60 -0
- package/.output/server/node_modules/micromark-factory-space/index.js +64 -0
- package/.output/server/node_modules/micromark-factory-space/package.json +55 -0
- package/.output/server/node_modules/micromark-factory-title/index.js +158 -0
- package/.output/server/node_modules/micromark-factory-title/package.json +58 -0
- package/.output/server/node_modules/micromark-factory-whitespace/index.js +44 -0
- package/.output/server/node_modules/micromark-factory-whitespace/package.json +57 -0
- package/.output/server/node_modules/micromark-util-character/index.js +246 -0
- package/.output/server/node_modules/micromark-util-character/package.json +57 -0
- package/.output/server/node_modules/micromark-util-chunked/index.js +81 -0
- package/.output/server/node_modules/micromark-util-chunked/package.json +57 -0
- package/.output/server/node_modules/micromark-util-classify-character/index.js +27 -0
- package/.output/server/node_modules/micromark-util-classify-character/package.json +59 -0
- package/.output/server/node_modules/micromark-util-combine-extensions/index.js +143 -0
- package/.output/server/node_modules/micromark-util-combine-extensions/package.json +52 -0
- package/.output/server/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/.output/server/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/.output/server/node_modules/micromark-util-decode-string/index.js +45 -0
- package/.output/server/node_modules/micromark-util-decode-string/package.json +63 -0
- package/.output/server/node_modules/micromark-util-encode/index.js +33 -0
- package/.output/server/node_modules/micromark-util-encode/package.json +47 -0
- package/.output/server/node_modules/micromark-util-html-tag-name/index.js +93 -0
- package/.output/server/node_modules/micromark-util-html-tag-name/package.json +47 -0
- package/.output/server/node_modules/micromark-util-normalize-identifier/index.js +33 -0
- package/.output/server/node_modules/micromark-util-normalize-identifier/package.json +58 -0
- package/.output/server/node_modules/micromark-util-resolve-all/index.js +32 -0
- package/.output/server/node_modules/micromark-util-resolve-all/package.json +48 -0
- package/.output/server/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/.output/server/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/.output/server/node_modules/micromark-util-subtokenize/index.js +228 -0
- package/.output/server/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
- package/.output/server/node_modules/micromark-util-subtokenize/package.json +60 -0
- package/.output/server/node_modules/minimark/dist/hast.mjs +39 -0
- package/.output/server/node_modules/minimark/package.json +40 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/node-emoji/lib/index.js +174 -0
- package/.output/server/node_modules/node-emoji/package.json +118 -0
- package/.output/server/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -0
- package/.output/server/node_modules/node-fetch-native/dist/index.mjs +1 -0
- package/.output/server/node_modules/node-fetch-native/dist/node.mjs +19 -0
- package/.output/server/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs +1 -0
- package/.output/server/node_modules/node-fetch-native/package.json +138 -0
- package/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs +1 -0
- package/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs +1 -0
- package/.output/server/node_modules/node-mock-http/dist/index.mjs +1 -0
- package/.output/server/node_modules/node-mock-http/package.json +63 -0
- package/.output/server/node_modules/nth-check/lib/compile.js +121 -0
- package/.output/server/node_modules/nth-check/lib/index.js +70 -0
- package/.output/server/node_modules/nth-check/lib/parse.js +77 -0
- package/.output/server/node_modules/nth-check/package.json +78 -0
- package/.output/server/node_modules/oauth4webapi/build/index.js +2492 -0
- package/.output/server/node_modules/oauth4webapi/package.json +105 -0
- package/.output/server/node_modules/ofetch/dist/node.mjs +32 -0
- package/.output/server/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs +333 -0
- package/.output/server/node_modules/ofetch/package.json +96 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/.output/server/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/package.json +64 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/.output/server/node_modules/oniguruma-to-es/package.json +61 -0
- package/.output/server/node_modules/openid-client/build/index.js +1310 -0
- package/.output/server/node_modules/openid-client/package.json +122 -0
- package/.output/server/node_modules/parse-entities/index.js +3 -0
- package/.output/server/node_modules/parse-entities/lib/index.js +407 -0
- package/.output/server/node_modules/parse-entities/package.json +91 -0
- package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
- package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
- package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
- package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
- package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
- package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
- package/.output/server/node_modules/parse5/dist/index.js +42 -0
- package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
- package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
- package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
- package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
- package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
- package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
- package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
- package/.output/server/node_modules/parse5/package.json +50 -0
- package/.output/server/node_modules/pathe/dist/index.mjs +1 -0
- package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
- package/.output/server/node_modules/pathe/package.json +48 -0
- package/.output/server/node_modules/pluralize/package.json +40 -0
- package/.output/server/node_modules/pluralize/pluralize.js +503 -0
- package/.output/server/node_modules/radix3/dist/index.mjs +262 -0
- package/.output/server/node_modules/radix3/package.json +52 -0
- package/.output/server/node_modules/regex/package.json +60 -0
- package/.output/server/node_modules/regex/src/atomic.js +221 -0
- package/.output/server/node_modules/regex/src/internals.js +2 -0
- package/.output/server/node_modules/regex/src/subclass.js +98 -0
- package/.output/server/node_modules/regex/src/utils-internals.js +33 -0
- package/.output/server/node_modules/regex-recursion/package.json +47 -0
- package/.output/server/node_modules/regex-recursion/src/index.js +365 -0
- package/.output/server/node_modules/regex-utilities/package.json +35 -0
- package/.output/server/node_modules/regex-utilities/src/index.js +170 -0
- package/.output/server/node_modules/rehype-external-links/index.js +10 -0
- package/.output/server/node_modules/rehype-external-links/lib/index.js +179 -0
- package/.output/server/node_modules/rehype-external-links/package.json +86 -0
- package/.output/server/node_modules/rehype-minify-whitespace/index.js +47 -0
- package/.output/server/node_modules/rehype-minify-whitespace/lib/index.js +26 -0
- package/.output/server/node_modules/rehype-minify-whitespace/package.json +56 -0
- package/.output/server/node_modules/rehype-raw/index.js +5 -0
- package/.output/server/node_modules/rehype-raw/lib/index.js +36 -0
- package/.output/server/node_modules/rehype-raw/package.json +82 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/index.js +29 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/lib/index.js +130 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/lib/schema.js +15 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/package.json +56 -0
- package/.output/server/node_modules/rehype-sort-attributes/index.js +30 -0
- package/.output/server/node_modules/rehype-sort-attributes/lib/index.js +120 -0
- package/.output/server/node_modules/rehype-sort-attributes/package.json +54 -0
- package/.output/server/node_modules/remark-emoji/index.js +76 -0
- package/.output/server/node_modules/remark-emoji/package.json +85 -0
- package/.output/server/node_modules/remark-gfm/index.js +2 -0
- package/.output/server/node_modules/remark-gfm/lib/index.js +41 -0
- package/.output/server/node_modules/remark-gfm/package.json +125 -0
- package/.output/server/node_modules/remark-mdc/dist/index.mjs +2010 -0
- package/.output/server/node_modules/remark-mdc/package.json +84 -0
- package/.output/server/node_modules/remark-parse/index.js +2 -0
- package/.output/server/node_modules/remark-parse/lib/index.js +43 -0
- package/.output/server/node_modules/remark-parse/package.json +72 -0
- package/.output/server/node_modules/remark-rehype/index.js +10 -0
- package/.output/server/node_modules/remark-rehype/lib/index.js +175 -0
- package/.output/server/node_modules/remark-rehype/package.json +86 -0
- package/.output/server/node_modules/remark-stringify/index.js +2 -0
- package/.output/server/node_modules/remark-stringify/lib/index.js +42 -0
- package/.output/server/node_modules/remark-stringify/package.json +71 -0
- package/.output/server/node_modules/safe-stable-stringify/esm/package.json +4 -0
- package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
- package/.output/server/node_modules/safe-stable-stringify/index.js +625 -0
- package/.output/server/node_modules/safe-stable-stringify/package.json +65 -0
- package/.output/server/node_modules/scule/dist/index.mjs +80 -0
- package/.output/server/node_modules/scule/package.json +43 -0
- package/.output/server/node_modules/secure-json-parse/index.js +126 -0
- package/.output/server/node_modules/secure-json-parse/package.json +75 -0
- package/.output/server/node_modules/semver/classes/semver.js +319 -0
- package/.output/server/node_modules/semver/functions/coerce.js +62 -0
- package/.output/server/node_modules/semver/functions/compare.js +7 -0
- package/.output/server/node_modules/semver/functions/gte.js +5 -0
- package/.output/server/node_modules/semver/functions/parse.js +18 -0
- package/.output/server/node_modules/semver/internal/constants.js +37 -0
- package/.output/server/node_modules/semver/internal/debug.js +11 -0
- package/.output/server/node_modules/semver/internal/identifiers.js +25 -0
- package/.output/server/node_modules/semver/internal/parse-options.js +17 -0
- package/.output/server/node_modules/semver/internal/re.js +223 -0
- package/.output/server/node_modules/semver/package.json +78 -0
- package/.output/server/node_modules/sharp/build/Release/libglib-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/libgobject-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/libvips-42.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/libvips-cpp.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/sharp-win32-x64.node +0 -0
- package/.output/server/node_modules/sharp/lib/channel.js +174 -0
- package/.output/server/node_modules/sharp/lib/colour.js +184 -0
- package/.output/server/node_modules/sharp/lib/composite.js +210 -0
- package/.output/server/node_modules/sharp/lib/constructor.js +439 -0
- package/.output/server/node_modules/sharp/lib/index.js +16 -0
- package/.output/server/node_modules/sharp/lib/input.js +631 -0
- package/.output/server/node_modules/sharp/lib/is.js +155 -0
- package/.output/server/node_modules/sharp/lib/libvips.js +140 -0
- package/.output/server/node_modules/sharp/lib/operation.js +919 -0
- package/.output/server/node_modules/sharp/lib/output.js +1413 -0
- package/.output/server/node_modules/sharp/lib/platform.js +30 -0
- package/.output/server/node_modules/sharp/lib/resize.js +582 -0
- package/.output/server/node_modules/sharp/lib/sharp.js +38 -0
- package/.output/server/node_modules/sharp/lib/utility.js +287 -0
- package/.output/server/node_modules/sharp/package.json +204 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/THIRD-PARTY-NOTICES.md +43 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/harfbuzz/hb-cplusplus.hh +223 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/vips/vips8 +60 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0.lib +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0.lib +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips-42.dll +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips.lib +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/platform.json +1 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/versions.json +31 -0
- package/.output/server/node_modules/shiki/dist/engine-javascript.mjs +1 -0
- package/.output/server/node_modules/shiki/dist/engine-oniguruma.mjs +1 -0
- package/.output/server/node_modules/shiki/dist/wasm.mjs +2 -0
- package/.output/server/node_modules/shiki/package.json +70 -0
- package/.output/server/node_modules/simple-swizzle/index.js +29 -0
- package/.output/server/node_modules/simple-swizzle/package.json +36 -0
- package/.output/server/node_modules/skin-tone/index.js +25 -0
- package/.output/server/node_modules/skin-tone/package.json +45 -0
- package/.output/server/node_modules/slugify/package.json +42 -0
- package/.output/server/node_modules/slugify/slugify.js +69 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/space-separated-tokens/index.js +24 -0
- package/.output/server/node_modules/space-separated-tokens/package.json +67 -0
- package/.output/server/node_modules/sqlstring/index.js +1 -0
- package/.output/server/node_modules/sqlstring/lib/SqlString.js +237 -0
- package/.output/server/node_modules/sqlstring/package.json +47 -0
- package/.output/server/node_modules/stringify-entities/index.js +6 -0
- package/.output/server/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/core.js +117 -0
- package/.output/server/node_modules/stringify-entities/lib/index.js +36 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/.output/server/node_modules/stringify-entities/package.json +86 -0
- package/.output/server/node_modules/strnum/package.json +31 -0
- package/.output/server/node_modules/strnum/strnum.js +129 -0
- package/.output/server/node_modules/supports-color/index.js +135 -0
- package/.output/server/node_modules/supports-color/package.json +53 -0
- package/.output/server/node_modules/svgo/lib/builtin.js +57 -0
- package/.output/server/node_modules/svgo/lib/parser.js +262 -0
- package/.output/server/node_modules/svgo/lib/path.js +380 -0
- package/.output/server/node_modules/svgo/lib/stringifier.js +295 -0
- package/.output/server/node_modules/svgo/lib/style.js +336 -0
- package/.output/server/node_modules/svgo/lib/svgo/css-select-adapter.js +120 -0
- package/.output/server/node_modules/svgo/lib/svgo/plugins.js +61 -0
- package/.output/server/node_modules/svgo/lib/svgo/tools.js +245 -0
- package/.output/server/node_modules/svgo/lib/svgo-node.js +85 -0
- package/.output/server/node_modules/svgo/lib/svgo.js +102 -0
- package/.output/server/node_modules/svgo/lib/xast.js +87 -0
- package/.output/server/node_modules/svgo/package.json +108 -0
- package/.output/server/node_modules/svgo/plugins/_collections.js +2339 -0
- package/.output/server/node_modules/svgo/plugins/_path.js +815 -0
- package/.output/server/node_modules/svgo/plugins/_transforms.js +410 -0
- package/.output/server/node_modules/svgo/plugins/addAttributesToSVGElement.js +82 -0
- package/.output/server/node_modules/svgo/plugins/addClassesToSVGElement.js +82 -0
- package/.output/server/node_modules/svgo/plugins/applyTransforms.js +388 -0
- package/.output/server/node_modules/svgo/plugins/cleanupAttrs.js +49 -0
- package/.output/server/node_modules/svgo/plugins/cleanupEnableBackground.js +165 -0
- package/.output/server/node_modules/svgo/plugins/cleanupIds.js +265 -0
- package/.output/server/node_modules/svgo/plugins/cleanupListOfValues.js +147 -0
- package/.output/server/node_modules/svgo/plugins/cleanupNumericValues.js +106 -0
- package/.output/server/node_modules/svgo/plugins/collapseGroups.js +134 -0
- package/.output/server/node_modules/svgo/plugins/convertColors.js +144 -0
- package/.output/server/node_modules/svgo/plugins/convertEllipseToCircle.js +37 -0
- package/.output/server/node_modules/svgo/plugins/convertOneStopGradients.js +168 -0
- package/.output/server/node_modules/svgo/plugins/convertPathData.js +1284 -0
- package/.output/server/node_modules/svgo/plugins/convertShapeToPath.js +170 -0
- package/.output/server/node_modules/svgo/plugins/convertStyleToAttrs.js +136 -0
- package/.output/server/node_modules/svgo/plugins/convertTransform.js +418 -0
- package/.output/server/node_modules/svgo/plugins/inlineStyles.js +390 -0
- package/.output/server/node_modules/svgo/plugins/mergePaths.js +148 -0
- package/.output/server/node_modules/svgo/plugins/mergeStyles.js +98 -0
- package/.output/server/node_modules/svgo/plugins/minifyStyles.js +141 -0
- package/.output/server/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +128 -0
- package/.output/server/node_modules/svgo/plugins/moveGroupAttrsToElems.js +65 -0
- package/.output/server/node_modules/svgo/plugins/prefixIds.js +268 -0
- package/.output/server/node_modules/svgo/plugins/preset-default.js +82 -0
- package/.output/server/node_modules/svgo/plugins/removeAttributesBySelector.js +97 -0
- package/.output/server/node_modules/svgo/plugins/removeAttrs.js +151 -0
- package/.output/server/node_modules/svgo/plugins/removeComments.js +51 -0
- package/.output/server/node_modules/svgo/plugins/removeDesc.js +39 -0
- package/.output/server/node_modules/svgo/plugins/removeDimensions.js +43 -0
- package/.output/server/node_modules/svgo/plugins/removeDoctype.js +40 -0
- package/.output/server/node_modules/svgo/plugins/removeEditorsNSData.js +64 -0
- package/.output/server/node_modules/svgo/plugins/removeElementsByAttr.js +73 -0
- package/.output/server/node_modules/svgo/plugins/removeEmptyAttrs.js +31 -0
- package/.output/server/node_modules/svgo/plugins/removeEmptyContainers.js +59 -0
- package/.output/server/node_modules/svgo/plugins/removeEmptyText.js +51 -0
- package/.output/server/node_modules/svgo/plugins/removeHiddenElems.js +440 -0
- package/.output/server/node_modules/svgo/plugins/removeMetadata.js +27 -0
- package/.output/server/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +38 -0
- package/.output/server/node_modules/svgo/plugins/removeOffCanvasPaths.js +136 -0
- package/.output/server/node_modules/svgo/plugins/removeRasterImages.js +31 -0
- package/.output/server/node_modules/svgo/plugins/removeScriptElement.js +70 -0
- package/.output/server/node_modules/svgo/plugins/removeStyleElement.js +27 -0
- package/.output/server/node_modules/svgo/plugins/removeTitle.js +27 -0
- package/.output/server/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +212 -0
- package/.output/server/node_modules/svgo/plugins/removeUnusedNS.js +59 -0
- package/.output/server/node_modules/svgo/plugins/removeUselessDefs.js +65 -0
- package/.output/server/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +139 -0
- package/.output/server/node_modules/svgo/plugins/removeViewBox.js +49 -0
- package/.output/server/node_modules/svgo/plugins/removeXMLNS.js +29 -0
- package/.output/server/node_modules/svgo/plugins/removeXMLProcInst.js +28 -0
- package/.output/server/node_modules/svgo/plugins/removeXlink.js +226 -0
- package/.output/server/node_modules/svgo/plugins/reusePaths.js +195 -0
- package/.output/server/node_modules/svgo/plugins/sortAttrs.js +108 -0
- package/.output/server/node_modules/svgo/plugins/sortDefsChildren.js +58 -0
- package/.output/server/node_modules/trim-lines/index.js +69 -0
- package/.output/server/node_modules/trim-lines/package.json +67 -0
- package/.output/server/node_modules/trim-trailing-lines/index.js +23 -0
- package/.output/server/node_modules/trim-trailing-lines/package.json +65 -0
- package/.output/server/node_modules/trough/index.js +9 -0
- package/.output/server/node_modules/trough/lib/index.js +206 -0
- package/.output/server/node_modules/trough/package.json +77 -0
- package/.output/server/node_modules/truncatise/index.js +188 -0
- package/.output/server/node_modules/truncatise/package.json +36 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
- package/.output/server/node_modules/ufo/package.json +47 -0
- package/.output/server/node_modules/ultrahtml/dist/index.js +1 -0
- package/.output/server/node_modules/ultrahtml/package.json +79 -0
- package/.output/server/node_modules/uncrypto/dist/crypto.node.mjs +16 -0
- package/.output/server/node_modules/uncrypto/package.json +60 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +689 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BpRRHAhY.mjs +194 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DH45uomy.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Djo8ep_Y.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +101 -0
- package/.output/server/node_modules/unicode-emoji-modifier-base/index.js +86 -0
- package/.output/server/node_modules/unicode-emoji-modifier-base/package.json +44 -0
- package/.output/server/node_modules/unified/index.js +2 -0
- package/.output/server/node_modules/unified/lib/callable-instance.js +44 -0
- package/.output/server/node_modules/unified/lib/index.js +1323 -0
- package/.output/server/node_modules/unified/package.json +120 -0
- package/.output/server/node_modules/unist-util-find-after/index.js +1 -0
- package/.output/server/node_modules/unist-util-find-after/lib/index.js +130 -0
- package/.output/server/node_modules/unist-util-find-after/package.json +84 -0
- package/.output/server/node_modules/unist-util-is/index.js +7 -0
- package/.output/server/node_modules/unist-util-is/lib/index.js +291 -0
- package/.output/server/node_modules/unist-util-is/package.json +100 -0
- package/.output/server/node_modules/unist-util-position/index.js +1 -0
- package/.output/server/node_modules/unist-util-position/lib/index.js +95 -0
- package/.output/server/node_modules/unist-util-position/package.json +76 -0
- package/.output/server/node_modules/unist-util-stringify-position/index.js +1 -0
- package/.output/server/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/.output/server/node_modules/unist-util-stringify-position/package.json +80 -0
- package/.output/server/node_modules/unist-util-visit/index.js +2 -0
- package/.output/server/node_modules/unist-util-visit/lib/index.js +313 -0
- package/.output/server/node_modules/unist-util-visit/package.json +113 -0
- package/.output/server/node_modules/unist-util-visit-parents/index.js +2 -0
- package/.output/server/node_modules/unist-util-visit-parents/lib/color.node.js +7 -0
- package/.output/server/node_modules/unist-util-visit-parents/lib/index.js +398 -0
- package/.output/server/node_modules/unist-util-visit-parents/package.json +101 -0
- package/.output/server/node_modules/vfile/index.js +2 -0
- package/.output/server/node_modules/vfile/lib/index.js +643 -0
- package/.output/server/node_modules/vfile/lib/minpath.js +1 -0
- package/.output/server/node_modules/vfile/lib/minproc.js +1 -0
- package/.output/server/node_modules/vfile/lib/minurl.js +2 -0
- package/.output/server/node_modules/vfile/lib/minurl.shared.js +31 -0
- package/.output/server/node_modules/vfile/package.json +134 -0
- package/.output/server/node_modules/vfile-location/index.js +2 -0
- package/.output/server/node_modules/vfile-location/lib/index.js +93 -0
- package/.output/server/node_modules/vfile-location/package.json +115 -0
- package/.output/server/node_modules/vfile-message/index.js +5 -0
- package/.output/server/node_modules/vfile-message/lib/index.js +314 -0
- package/.output/server/node_modules/vfile-message/package.json +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3786 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/vue-router/package.json +149 -0
- package/.output/server/node_modules/web-namespaces/index.js +13 -0
- package/.output/server/node_modules/web-namespaces/package.json +81 -0
- package/.output/server/node_modules/xss/lib/default.js +461 -0
- package/.output/server/node_modules/xss/lib/index.js +51 -0
- package/.output/server/node_modules/xss/lib/parser.js +257 -0
- package/.output/server/node_modules/xss/lib/util.js +34 -0
- package/.output/server/node_modules/xss/lib/xss.js +232 -0
- package/.output/server/node_modules/xss/package.json +65 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/.output/server/node_modules/yaml/dist/compose/composer.js +222 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/.output/server/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/.output/server/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/.output/server/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/.output/server/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/.output/server/node_modules/yaml/dist/doc/Document.js +337 -0
- package/.output/server/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/.output/server/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/.output/server/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/.output/server/node_modules/yaml/dist/doc/directives.js +178 -0
- package/.output/server/node_modules/yaml/dist/errors.js +62 -0
- package/.output/server/node_modules/yaml/dist/index.js +50 -0
- package/.output/server/node_modules/yaml/dist/log.js +19 -0
- package/.output/server/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/.output/server/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/.output/server/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/.output/server/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/.output/server/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/.output/server/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/.output/server/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/.output/server/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/.output/server/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/.output/server/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/.output/server/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/.output/server/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/.output/server/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/.output/server/node_modules/yaml/dist/parse/cst.js +112 -0
- package/.output/server/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/.output/server/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/.output/server/node_modules/yaml/dist/parse/parser.js +972 -0
- package/.output/server/node_modules/yaml/dist/public-api.js +107 -0
- package/.output/server/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/.output/server/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/.output/server/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/.output/server/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/.output/server/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/.output/server/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/.output/server/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/.output/server/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/.output/server/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/.output/server/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/.output/server/node_modules/yaml/dist/schema/tags.js +99 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/.output/server/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringify.js +131 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/.output/server/node_modules/yaml/dist/visit.js +236 -0
- package/.output/server/node_modules/yaml/package.json +96 -0
- package/.output/server/node_modules/zwitch/index.js +118 -0
- package/.output/server/node_modules/zwitch/package.json +72 -0
- package/.output/server/package.json +241 -0
- package/{app.vue → app/app.vue} +1 -0
- package/{components → app/components}/CurrentTime.vue +1 -1
- package/{components → app/components}/ignis/IgnisWelcome.vue +1 -1
- package/{composables → app/composables}/useTranslation.ts +2 -2
- package/app/pages/_ignis-welcome.vue +3 -0
- package/app/utils/date.ts +12 -0
- package/{utils → app/utils}/i18n-sources.ts +2 -2
- package/app/utils/validation.ts +25 -0
- package/bin/set-css.js +23 -0
- package/bin/set-eslint.js +21 -0
- package/bin/setup.js +92 -0
- package/content.config.ts +1 -1
- package/eslint.config.mjs +0 -3
- package/features.ts +36 -34
- package/formkit.config.ts +1 -1
- package/i18n/i18n.config.ts +2 -0
- package/nuxt.config.ts +13 -20
- package/package.json +31 -28
- package/public/_ignis-config.json +106 -3
- package/test/config/css-multiple.txt +1 -1
- package/test/config/css-nuxt-ui.txt +2 -2
- package/test/config/css-open-props.txt +44 -2
- package/test/config/css-single.txt +1 -1
- package/test/config/css-tailwind.txt +2 -2
- package/test/config/custom-lang.txt +1 -1
- package/test/config/db-neon.txt +1 -1
- package/test/config/db-supabase.txt +1 -1
- package/test/config/default.txt +1 -1
- package/test/config/equipment-1-composable.txt +1 -1
- package/test/config/equipment-2-plugins.txt +1 -1
- package/test/config/equipment-all.txt +1 -1
- package/test/config/forms-formkit.txt +1 -1
- package/test/config/forms-vueform.txt +1 -1
- package/test/config/i18n.txt +1 -1
- package/test/config/open-props.txt +44 -2
- package/test/config/seo-ssr-false.txt +1 -1
- package/test/config/ui-nuxt-ui.txt +2 -2
- package/test/config/ui-tailwind.txt +2 -2
- package/test/features.test.ts +1 -1
- package/tsconfig.json +16 -5
- package/vitest.config.ts +5 -0
- package/vueform.config.ts +2 -0
- package/.nuxt/module/@nuxtjs-sitemap.d.ts +0 -29
- package/.nuxt/types/app-defaults.d.ts +0 -7
- package/.nuxt/types/schema.d.ts +0 -1756
- package/bin/make-eslint.js +0 -55
- package/server/tsconfig.json +0 -3
- /package/{assets → app/assets}/css/ignis-nuxt-ui.css +0 -0
- /package/{assets → app/assets}/css/ignis-open-props.css +0 -0
- /package/{assets → app/assets}/css/ignis-tailwind.css +0 -0
- /package/{assets → app/assets}/css/ignis.css +0 -0
- /package/{components → app/components}/ignis/IgnisConfig.vue +0 -0
- /package/{components → app/components}/ignis/IgnisFeature.vue +0 -0
- /package/{components → app/components}/ignis/IgnisFeatureList.vue +0 -0
- /package/{components → app/components}/ignis/IgnisFooter.vue +0 -0
- /package/{components → app/components}/ignis/IgnisHeader.vue +0 -0
- /package/{components → app/components}/ignis/IgnisInfo.vue +0 -0
- /package/{composables → app/composables}/useValibot.ts +0 -0
- /package/{composables → app/composables}/useZod.ts +0 -0
- /package/{pages → app/pages}/_ignis-config.vue +0 -0
- /package/{pages → app/pages}/_ignis-info.vue +0 -0
- /package/{pages → app/pages}/index.vue +0 -0
- /package/{plugins → app/plugins}/errorHandler.ts +0 -0
- /package/{utils → app/utils}/config/content.ts +0 -0
- /package/{utils → app/utils}/config/formkit.ts +0 -0
- /package/{utils → app/utils}/config/vueform.ts +0 -0
- /package/{utils → app/utils}/consola.ts +0 -0
- /package/{utils → app/utils}/content.ts +0 -0
- /package/{utils → app/utils}/formkit.ts +0 -0
- /package/{utils → app/utils}/ignis-types.ts +0 -0
- /package/{utils → app/utils}/pslo-utils.ts +0 -0
- /package/{utils → app/utils}/tailwind.ts +0 -0
- /package/{utils → app/utils}/vueform.ts +0 -0
|
@@ -0,0 +1,1413 @@
|
|
|
1
|
+
// Copyright 2013 Lovell Fuller and others.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
const path = require('path');
|
|
7
|
+
const is = require('./is');
|
|
8
|
+
const sharp = require('./sharp');
|
|
9
|
+
|
|
10
|
+
const formats = new Map([
|
|
11
|
+
['heic', 'heif'],
|
|
12
|
+
['heif', 'heif'],
|
|
13
|
+
['avif', 'avif'],
|
|
14
|
+
['jpeg', 'jpeg'],
|
|
15
|
+
['jpg', 'jpeg'],
|
|
16
|
+
['jpe', 'jpeg'],
|
|
17
|
+
['tile', 'tile'],
|
|
18
|
+
['dz', 'tile'],
|
|
19
|
+
['png', 'png'],
|
|
20
|
+
['raw', 'raw'],
|
|
21
|
+
['tiff', 'tiff'],
|
|
22
|
+
['tif', 'tiff'],
|
|
23
|
+
['webp', 'webp'],
|
|
24
|
+
['gif', 'gif'],
|
|
25
|
+
['jp2', 'jp2'],
|
|
26
|
+
['jpx', 'jp2'],
|
|
27
|
+
['j2k', 'jp2'],
|
|
28
|
+
['j2c', 'jp2'],
|
|
29
|
+
['jxl', 'jxl']
|
|
30
|
+
]);
|
|
31
|
+
|
|
32
|
+
const jp2Regex = /\.(jp[2x]|j2[kc])$/i;
|
|
33
|
+
|
|
34
|
+
const errJp2Save = () => new Error('JP2 output requires libvips with support for OpenJPEG');
|
|
35
|
+
|
|
36
|
+
const bitdepthFromColourCount = (colours) => 1 << 31 - Math.clz32(Math.ceil(Math.log2(colours)));
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Write output image data to a file.
|
|
40
|
+
*
|
|
41
|
+
* If an explicit output format is not selected, it will be inferred from the extension,
|
|
42
|
+
* with JPEG, PNG, WebP, AVIF, TIFF, GIF, DZI, and libvips' V format supported.
|
|
43
|
+
* Note that raw pixel data is only supported for buffer output.
|
|
44
|
+
*
|
|
45
|
+
* By default all metadata will be removed, which includes EXIF-based orientation.
|
|
46
|
+
* See {@link #withmetadata|withMetadata} for control over this.
|
|
47
|
+
*
|
|
48
|
+
* The caller is responsible for ensuring directory structures and permissions exist.
|
|
49
|
+
*
|
|
50
|
+
* A `Promise` is returned when `callback` is not provided.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* sharp(input)
|
|
54
|
+
* .toFile('output.png', (err, info) => { ... });
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* sharp(input)
|
|
58
|
+
* .toFile('output.png')
|
|
59
|
+
* .then(info => { ... })
|
|
60
|
+
* .catch(err => { ... });
|
|
61
|
+
*
|
|
62
|
+
* @param {string} fileOut - the path to write the image data to.
|
|
63
|
+
* @param {Function} [callback] - called on completion with two arguments `(err, info)`.
|
|
64
|
+
* `info` contains the output image `format`, `size` (bytes), `width`, `height`,
|
|
65
|
+
* `channels` and `premultiplied` (indicating if premultiplication was used).
|
|
66
|
+
* When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
|
|
67
|
+
* When using the attention crop strategy also contains `attentionX` and `attentionY`, the focal point of the cropped region.
|
|
68
|
+
* May also contain `textAutofitDpi` (dpi the font was rendered at) if image was created from text.
|
|
69
|
+
* @returns {Promise<Object>} - when no callback is provided
|
|
70
|
+
* @throws {Error} Invalid parameters
|
|
71
|
+
*/
|
|
72
|
+
function toFile (fileOut, callback) {
|
|
73
|
+
let err;
|
|
74
|
+
if (!is.string(fileOut)) {
|
|
75
|
+
err = new Error('Missing output file path');
|
|
76
|
+
} else if (is.string(this.options.input.file) && path.resolve(this.options.input.file) === path.resolve(fileOut)) {
|
|
77
|
+
err = new Error('Cannot use same file for input and output');
|
|
78
|
+
} else if (jp2Regex.test(path.extname(fileOut)) && !this.constructor.format.jp2k.output.file) {
|
|
79
|
+
err = errJp2Save();
|
|
80
|
+
}
|
|
81
|
+
if (err) {
|
|
82
|
+
if (is.fn(callback)) {
|
|
83
|
+
callback(err);
|
|
84
|
+
} else {
|
|
85
|
+
return Promise.reject(err);
|
|
86
|
+
}
|
|
87
|
+
} else {
|
|
88
|
+
this.options.fileOut = fileOut;
|
|
89
|
+
return this._pipeline(callback);
|
|
90
|
+
}
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Write output to a Buffer.
|
|
96
|
+
* JPEG, PNG, WebP, AVIF, TIFF, GIF and raw pixel data output are supported.
|
|
97
|
+
*
|
|
98
|
+
* Use {@link #toformat|toFormat} or one of the format-specific functions such as {@link jpeg}, {@link png} etc. to set the output format.
|
|
99
|
+
*
|
|
100
|
+
* If no explicit format is set, the output format will match the input image, except SVG input which becomes PNG output.
|
|
101
|
+
*
|
|
102
|
+
* By default all metadata will be removed, which includes EXIF-based orientation.
|
|
103
|
+
* See {@link #withmetadata|withMetadata} for control over this.
|
|
104
|
+
*
|
|
105
|
+
* `callback`, if present, gets three arguments `(err, data, info)` where:
|
|
106
|
+
* - `err` is an error, if any.
|
|
107
|
+
* - `data` is the output image data.
|
|
108
|
+
* - `info` contains the output image `format`, `size` (bytes), `width`, `height`,
|
|
109
|
+
* `channels` and `premultiplied` (indicating if premultiplication was used).
|
|
110
|
+
* When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
|
|
111
|
+
* May also contain `textAutofitDpi` (dpi the font was rendered at) if image was created from text.
|
|
112
|
+
*
|
|
113
|
+
* A `Promise` is returned when `callback` is not provided.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* sharp(input)
|
|
117
|
+
* .toBuffer((err, data, info) => { ... });
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* sharp(input)
|
|
121
|
+
* .toBuffer()
|
|
122
|
+
* .then(data => { ... })
|
|
123
|
+
* .catch(err => { ... });
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* sharp(input)
|
|
127
|
+
* .png()
|
|
128
|
+
* .toBuffer({ resolveWithObject: true })
|
|
129
|
+
* .then(({ data, info }) => { ... })
|
|
130
|
+
* .catch(err => { ... });
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* const { data, info } = await sharp('my-image.jpg')
|
|
134
|
+
* // output the raw pixels
|
|
135
|
+
* .raw()
|
|
136
|
+
* .toBuffer({ resolveWithObject: true });
|
|
137
|
+
*
|
|
138
|
+
* // create a more type safe way to work with the raw pixel data
|
|
139
|
+
* // this will not copy the data, instead it will change `data`s underlying ArrayBuffer
|
|
140
|
+
* // so `data` and `pixelArray` point to the same memory location
|
|
141
|
+
* const pixelArray = new Uint8ClampedArray(data.buffer);
|
|
142
|
+
*
|
|
143
|
+
* // When you are done changing the pixelArray, sharp takes the `pixelArray` as an input
|
|
144
|
+
* const { width, height, channels } = info;
|
|
145
|
+
* await sharp(pixelArray, { raw: { width, height, channels } })
|
|
146
|
+
* .toFile('my-changed-image.jpg');
|
|
147
|
+
*
|
|
148
|
+
* @param {Object} [options]
|
|
149
|
+
* @param {boolean} [options.resolveWithObject] Resolve the Promise with an Object containing `data` and `info` properties instead of resolving only with `data`.
|
|
150
|
+
* @param {Function} [callback]
|
|
151
|
+
* @returns {Promise<Buffer>} - when no callback is provided
|
|
152
|
+
*/
|
|
153
|
+
function toBuffer (options, callback) {
|
|
154
|
+
if (is.object(options)) {
|
|
155
|
+
this._setBooleanOption('resolveWithObject', options.resolveWithObject);
|
|
156
|
+
} else if (this.options.resolveWithObject) {
|
|
157
|
+
this.options.resolveWithObject = false;
|
|
158
|
+
}
|
|
159
|
+
this.options.fileOut = '';
|
|
160
|
+
return this._pipeline(is.fn(options) ? options : callback);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Include all metadata (EXIF, XMP, IPTC) from the input image in the output image.
|
|
165
|
+
* This will also convert to and add a web-friendly sRGB ICC profile if appropriate,
|
|
166
|
+
* unless a custom output profile is provided.
|
|
167
|
+
*
|
|
168
|
+
* The default behaviour, when `withMetadata` is not used, is to convert to the device-independent
|
|
169
|
+
* sRGB colour space and strip all metadata, including the removal of any ICC profile.
|
|
170
|
+
*
|
|
171
|
+
* EXIF metadata is unsupported for TIFF output.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* sharp('input.jpg')
|
|
175
|
+
* .withMetadata()
|
|
176
|
+
* .toFile('output-with-metadata.jpg')
|
|
177
|
+
* .then(info => { ... });
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* // Set output EXIF metadata
|
|
181
|
+
* const data = await sharp(input)
|
|
182
|
+
* .withMetadata({
|
|
183
|
+
* exif: {
|
|
184
|
+
* IFD0: {
|
|
185
|
+
* Copyright: 'The National Gallery'
|
|
186
|
+
* },
|
|
187
|
+
* IFD3: {
|
|
188
|
+
* GPSLatitudeRef: 'N',
|
|
189
|
+
* GPSLatitude: '51/1 30/1 3230/100',
|
|
190
|
+
* GPSLongitudeRef: 'W',
|
|
191
|
+
* GPSLongitude: '0/1 7/1 4366/100'
|
|
192
|
+
* }
|
|
193
|
+
* }
|
|
194
|
+
* })
|
|
195
|
+
* .toBuffer();
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* // Set output metadata to 96 DPI
|
|
199
|
+
* const data = await sharp(input)
|
|
200
|
+
* .withMetadata({ density: 96 })
|
|
201
|
+
* .toBuffer();
|
|
202
|
+
*
|
|
203
|
+
* @param {Object} [options]
|
|
204
|
+
* @param {number} [options.orientation] value between 1 and 8, used to update the EXIF `Orientation` tag.
|
|
205
|
+
* @param {string} [options.icc='srgb'] Filesystem path to output ICC profile, relative to `process.cwd()`, defaults to built-in sRGB.
|
|
206
|
+
* @param {Object<Object>} [options.exif={}] Object keyed by IFD0, IFD1 etc. of key/value string pairs to write as EXIF data.
|
|
207
|
+
* @param {number} [options.density] Number of pixels per inch (DPI).
|
|
208
|
+
* @returns {Sharp}
|
|
209
|
+
* @throws {Error} Invalid parameters
|
|
210
|
+
*/
|
|
211
|
+
function withMetadata (options) {
|
|
212
|
+
this.options.withMetadata = is.bool(options) ? options : true;
|
|
213
|
+
if (is.object(options)) {
|
|
214
|
+
if (is.defined(options.orientation)) {
|
|
215
|
+
if (is.integer(options.orientation) && is.inRange(options.orientation, 1, 8)) {
|
|
216
|
+
this.options.withMetadataOrientation = options.orientation;
|
|
217
|
+
} else {
|
|
218
|
+
throw is.invalidParameterError('orientation', 'integer between 1 and 8', options.orientation);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
if (is.defined(options.density)) {
|
|
222
|
+
if (is.number(options.density) && options.density > 0) {
|
|
223
|
+
this.options.withMetadataDensity = options.density;
|
|
224
|
+
} else {
|
|
225
|
+
throw is.invalidParameterError('density', 'positive number', options.density);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
if (is.defined(options.icc)) {
|
|
229
|
+
if (is.string(options.icc)) {
|
|
230
|
+
this.options.withMetadataIcc = options.icc;
|
|
231
|
+
} else {
|
|
232
|
+
throw is.invalidParameterError('icc', 'string filesystem path to ICC profile', options.icc);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (is.defined(options.exif)) {
|
|
236
|
+
if (is.object(options.exif)) {
|
|
237
|
+
for (const [ifd, entries] of Object.entries(options.exif)) {
|
|
238
|
+
if (is.object(entries)) {
|
|
239
|
+
for (const [k, v] of Object.entries(entries)) {
|
|
240
|
+
if (is.string(v)) {
|
|
241
|
+
this.options.withMetadataStrs[`exif-${ifd.toLowerCase()}-${k}`] = v;
|
|
242
|
+
} else {
|
|
243
|
+
throw is.invalidParameterError(`exif.${ifd}.${k}`, 'string', v);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
} else {
|
|
247
|
+
throw is.invalidParameterError(`exif.${ifd}`, 'object', entries);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
} else {
|
|
251
|
+
throw is.invalidParameterError('exif', 'object', options.exif);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
return this;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Force output to a given format.
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* // Convert any input to PNG output
|
|
263
|
+
* const data = await sharp(input)
|
|
264
|
+
* .toFormat('png')
|
|
265
|
+
* .toBuffer();
|
|
266
|
+
*
|
|
267
|
+
* @param {(string|Object)} format - as a string or an Object with an 'id' attribute
|
|
268
|
+
* @param {Object} options - output options
|
|
269
|
+
* @returns {Sharp}
|
|
270
|
+
* @throws {Error} unsupported format or options
|
|
271
|
+
*/
|
|
272
|
+
function toFormat (format, options) {
|
|
273
|
+
const actualFormat = formats.get((is.object(format) && is.string(format.id) ? format.id : format).toLowerCase());
|
|
274
|
+
if (!actualFormat) {
|
|
275
|
+
throw is.invalidParameterError('format', `one of: ${[...formats.keys()].join(', ')}`, format);
|
|
276
|
+
}
|
|
277
|
+
return this[actualFormat](options);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Use these JPEG options for output image.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* // Convert any input to very high quality JPEG output
|
|
285
|
+
* const data = await sharp(input)
|
|
286
|
+
* .jpeg({
|
|
287
|
+
* quality: 100,
|
|
288
|
+
* chromaSubsampling: '4:4:4'
|
|
289
|
+
* })
|
|
290
|
+
* .toBuffer();
|
|
291
|
+
*
|
|
292
|
+
* @example
|
|
293
|
+
* // Use mozjpeg to reduce output JPEG file size (slower)
|
|
294
|
+
* const data = await sharp(input)
|
|
295
|
+
* .jpeg({ mozjpeg: true })
|
|
296
|
+
* .toBuffer();
|
|
297
|
+
*
|
|
298
|
+
* @param {Object} [options] - output options
|
|
299
|
+
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
300
|
+
* @param {boolean} [options.progressive=false] - use progressive (interlace) scan
|
|
301
|
+
* @param {string} [options.chromaSubsampling='4:2:0'] - set to '4:4:4' to prevent chroma subsampling otherwise defaults to '4:2:0' chroma subsampling
|
|
302
|
+
* @param {boolean} [options.optimiseCoding=true] - optimise Huffman coding tables
|
|
303
|
+
* @param {boolean} [options.optimizeCoding=true] - alternative spelling of optimiseCoding
|
|
304
|
+
* @param {boolean} [options.mozjpeg=false] - use mozjpeg defaults, equivalent to `{ trellisQuantisation: true, overshootDeringing: true, optimiseScans: true, quantisationTable: 3 }`
|
|
305
|
+
* @param {boolean} [options.trellisQuantisation=false] - apply trellis quantisation
|
|
306
|
+
* @param {boolean} [options.overshootDeringing=false] - apply overshoot deringing
|
|
307
|
+
* @param {boolean} [options.optimiseScans=false] - optimise progressive scans, forces progressive
|
|
308
|
+
* @param {boolean} [options.optimizeScans=false] - alternative spelling of optimiseScans
|
|
309
|
+
* @param {number} [options.quantisationTable=0] - quantization table to use, integer 0-8
|
|
310
|
+
* @param {number} [options.quantizationTable=0] - alternative spelling of quantisationTable
|
|
311
|
+
* @param {boolean} [options.force=true] - force JPEG output, otherwise attempt to use input format
|
|
312
|
+
* @returns {Sharp}
|
|
313
|
+
* @throws {Error} Invalid options
|
|
314
|
+
*/
|
|
315
|
+
function jpeg (options) {
|
|
316
|
+
if (is.object(options)) {
|
|
317
|
+
if (is.defined(options.quality)) {
|
|
318
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
319
|
+
this.options.jpegQuality = options.quality;
|
|
320
|
+
} else {
|
|
321
|
+
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
if (is.defined(options.progressive)) {
|
|
325
|
+
this._setBooleanOption('jpegProgressive', options.progressive);
|
|
326
|
+
}
|
|
327
|
+
if (is.defined(options.chromaSubsampling)) {
|
|
328
|
+
if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
|
|
329
|
+
this.options.jpegChromaSubsampling = options.chromaSubsampling;
|
|
330
|
+
} else {
|
|
331
|
+
throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
const optimiseCoding = is.bool(options.optimizeCoding) ? options.optimizeCoding : options.optimiseCoding;
|
|
335
|
+
if (is.defined(optimiseCoding)) {
|
|
336
|
+
this._setBooleanOption('jpegOptimiseCoding', optimiseCoding);
|
|
337
|
+
}
|
|
338
|
+
if (is.defined(options.mozjpeg)) {
|
|
339
|
+
if (is.bool(options.mozjpeg)) {
|
|
340
|
+
if (options.mozjpeg) {
|
|
341
|
+
this.options.jpegTrellisQuantisation = true;
|
|
342
|
+
this.options.jpegOvershootDeringing = true;
|
|
343
|
+
this.options.jpegOptimiseScans = true;
|
|
344
|
+
this.options.jpegProgressive = true;
|
|
345
|
+
this.options.jpegQuantisationTable = 3;
|
|
346
|
+
}
|
|
347
|
+
} else {
|
|
348
|
+
throw is.invalidParameterError('mozjpeg', 'boolean', options.mozjpeg);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
const trellisQuantisation = is.bool(options.trellisQuantization) ? options.trellisQuantization : options.trellisQuantisation;
|
|
352
|
+
if (is.defined(trellisQuantisation)) {
|
|
353
|
+
this._setBooleanOption('jpegTrellisQuantisation', trellisQuantisation);
|
|
354
|
+
}
|
|
355
|
+
if (is.defined(options.overshootDeringing)) {
|
|
356
|
+
this._setBooleanOption('jpegOvershootDeringing', options.overshootDeringing);
|
|
357
|
+
}
|
|
358
|
+
const optimiseScans = is.bool(options.optimizeScans) ? options.optimizeScans : options.optimiseScans;
|
|
359
|
+
if (is.defined(optimiseScans)) {
|
|
360
|
+
this._setBooleanOption('jpegOptimiseScans', optimiseScans);
|
|
361
|
+
if (optimiseScans) {
|
|
362
|
+
this.options.jpegProgressive = true;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
const quantisationTable = is.number(options.quantizationTable) ? options.quantizationTable : options.quantisationTable;
|
|
366
|
+
if (is.defined(quantisationTable)) {
|
|
367
|
+
if (is.integer(quantisationTable) && is.inRange(quantisationTable, 0, 8)) {
|
|
368
|
+
this.options.jpegQuantisationTable = quantisationTable;
|
|
369
|
+
} else {
|
|
370
|
+
throw is.invalidParameterError('quantisationTable', 'integer between 0 and 8', quantisationTable);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
return this._updateFormatOut('jpeg', options);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Use these PNG options for output image.
|
|
379
|
+
*
|
|
380
|
+
* By default, PNG output is full colour at 8 or 16 bits per pixel.
|
|
381
|
+
* Indexed PNG input at 1, 2 or 4 bits per pixel is converted to 8 bits per pixel.
|
|
382
|
+
* Set `palette` to `true` for slower, indexed PNG output.
|
|
383
|
+
*
|
|
384
|
+
* @example
|
|
385
|
+
* // Convert any input to full colour PNG output
|
|
386
|
+
* const data = await sharp(input)
|
|
387
|
+
* .png()
|
|
388
|
+
* .toBuffer();
|
|
389
|
+
*
|
|
390
|
+
* @example
|
|
391
|
+
* // Convert any input to indexed PNG output (slower)
|
|
392
|
+
* const data = await sharp(input)
|
|
393
|
+
* .png({ palette: true })
|
|
394
|
+
* .toBuffer();
|
|
395
|
+
*
|
|
396
|
+
* @param {Object} [options]
|
|
397
|
+
* @param {boolean} [options.progressive=false] - use progressive (interlace) scan
|
|
398
|
+
* @param {number} [options.compressionLevel=6] - zlib compression level, 0 (fastest, largest) to 9 (slowest, smallest)
|
|
399
|
+
* @param {boolean} [options.adaptiveFiltering=false] - use adaptive row filtering
|
|
400
|
+
* @param {boolean} [options.palette=false] - quantise to a palette-based image with alpha transparency support
|
|
401
|
+
* @param {number} [options.quality=100] - use the lowest number of colours needed to achieve given quality, sets `palette` to `true`
|
|
402
|
+
* @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 10 (slowest), sets `palette` to `true`
|
|
403
|
+
* @param {number} [options.colours=256] - maximum number of palette entries, sets `palette` to `true`
|
|
404
|
+
* @param {number} [options.colors=256] - alternative spelling of `options.colours`, sets `palette` to `true`
|
|
405
|
+
* @param {number} [options.dither=1.0] - level of Floyd-Steinberg error diffusion, sets `palette` to `true`
|
|
406
|
+
* @param {boolean} [options.force=true] - force PNG output, otherwise attempt to use input format
|
|
407
|
+
* @returns {Sharp}
|
|
408
|
+
* @throws {Error} Invalid options
|
|
409
|
+
*/
|
|
410
|
+
function png (options) {
|
|
411
|
+
if (is.object(options)) {
|
|
412
|
+
if (is.defined(options.progressive)) {
|
|
413
|
+
this._setBooleanOption('pngProgressive', options.progressive);
|
|
414
|
+
}
|
|
415
|
+
if (is.defined(options.compressionLevel)) {
|
|
416
|
+
if (is.integer(options.compressionLevel) && is.inRange(options.compressionLevel, 0, 9)) {
|
|
417
|
+
this.options.pngCompressionLevel = options.compressionLevel;
|
|
418
|
+
} else {
|
|
419
|
+
throw is.invalidParameterError('compressionLevel', 'integer between 0 and 9', options.compressionLevel);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
if (is.defined(options.adaptiveFiltering)) {
|
|
423
|
+
this._setBooleanOption('pngAdaptiveFiltering', options.adaptiveFiltering);
|
|
424
|
+
}
|
|
425
|
+
const colours = options.colours || options.colors;
|
|
426
|
+
if (is.defined(colours)) {
|
|
427
|
+
if (is.integer(colours) && is.inRange(colours, 2, 256)) {
|
|
428
|
+
this.options.pngBitdepth = bitdepthFromColourCount(colours);
|
|
429
|
+
} else {
|
|
430
|
+
throw is.invalidParameterError('colours', 'integer between 2 and 256', colours);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
if (is.defined(options.palette)) {
|
|
434
|
+
this._setBooleanOption('pngPalette', options.palette);
|
|
435
|
+
} else if ([options.quality, options.effort, options.colours, options.colors, options.dither].some(is.defined)) {
|
|
436
|
+
this._setBooleanOption('pngPalette', true);
|
|
437
|
+
}
|
|
438
|
+
if (this.options.pngPalette) {
|
|
439
|
+
if (is.defined(options.quality)) {
|
|
440
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 0, 100)) {
|
|
441
|
+
this.options.pngQuality = options.quality;
|
|
442
|
+
} else {
|
|
443
|
+
throw is.invalidParameterError('quality', 'integer between 0 and 100', options.quality);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
if (is.defined(options.effort)) {
|
|
447
|
+
if (is.integer(options.effort) && is.inRange(options.effort, 1, 10)) {
|
|
448
|
+
this.options.pngEffort = options.effort;
|
|
449
|
+
} else {
|
|
450
|
+
throw is.invalidParameterError('effort', 'integer between 1 and 10', options.effort);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
if (is.defined(options.dither)) {
|
|
454
|
+
if (is.number(options.dither) && is.inRange(options.dither, 0, 1)) {
|
|
455
|
+
this.options.pngDither = options.dither;
|
|
456
|
+
} else {
|
|
457
|
+
throw is.invalidParameterError('dither', 'number between 0.0 and 1.0', options.dither);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
return this._updateFormatOut('png', options);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Use these WebP options for output image.
|
|
467
|
+
*
|
|
468
|
+
* @example
|
|
469
|
+
* // Convert any input to lossless WebP output
|
|
470
|
+
* const data = await sharp(input)
|
|
471
|
+
* .webp({ lossless: true })
|
|
472
|
+
* .toBuffer();
|
|
473
|
+
*
|
|
474
|
+
* @example
|
|
475
|
+
* // Optimise the file size of an animated WebP
|
|
476
|
+
* const outputWebp = await sharp(inputWebp, { animated: true })
|
|
477
|
+
* .webp({ effort: 6 })
|
|
478
|
+
* .toBuffer();
|
|
479
|
+
*
|
|
480
|
+
* @param {Object} [options] - output options
|
|
481
|
+
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
482
|
+
* @param {number} [options.alphaQuality=100] - quality of alpha layer, integer 0-100
|
|
483
|
+
* @param {boolean} [options.lossless=false] - use lossless compression mode
|
|
484
|
+
* @param {boolean} [options.nearLossless=false] - use near_lossless compression mode
|
|
485
|
+
* @param {boolean} [options.smartSubsample=false] - use high quality chroma subsampling
|
|
486
|
+
* @param {string} [options.preset='default'] - named preset for preprocessing/filtering, one of: default, photo, picture, drawing, icon, text
|
|
487
|
+
* @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 6 (slowest)
|
|
488
|
+
* @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
489
|
+
* @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
|
|
490
|
+
* @param {boolean} [options.minSize=false] - prevent use of animation key frames to minimise file size (slow)
|
|
491
|
+
* @param {boolean} [options.mixed=false] - allow mixture of lossy and lossless animation frames (slow)
|
|
492
|
+
* @param {boolean} [options.force=true] - force WebP output, otherwise attempt to use input format
|
|
493
|
+
* @returns {Sharp}
|
|
494
|
+
* @throws {Error} Invalid options
|
|
495
|
+
*/
|
|
496
|
+
function webp (options) {
|
|
497
|
+
if (is.object(options)) {
|
|
498
|
+
if (is.defined(options.quality)) {
|
|
499
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
500
|
+
this.options.webpQuality = options.quality;
|
|
501
|
+
} else {
|
|
502
|
+
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
if (is.defined(options.alphaQuality)) {
|
|
506
|
+
if (is.integer(options.alphaQuality) && is.inRange(options.alphaQuality, 0, 100)) {
|
|
507
|
+
this.options.webpAlphaQuality = options.alphaQuality;
|
|
508
|
+
} else {
|
|
509
|
+
throw is.invalidParameterError('alphaQuality', 'integer between 0 and 100', options.alphaQuality);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
if (is.defined(options.lossless)) {
|
|
513
|
+
this._setBooleanOption('webpLossless', options.lossless);
|
|
514
|
+
}
|
|
515
|
+
if (is.defined(options.nearLossless)) {
|
|
516
|
+
this._setBooleanOption('webpNearLossless', options.nearLossless);
|
|
517
|
+
}
|
|
518
|
+
if (is.defined(options.smartSubsample)) {
|
|
519
|
+
this._setBooleanOption('webpSmartSubsample', options.smartSubsample);
|
|
520
|
+
}
|
|
521
|
+
if (is.defined(options.preset)) {
|
|
522
|
+
if (is.string(options.preset) && is.inArray(options.preset, ['default', 'photo', 'picture', 'drawing', 'icon', 'text'])) {
|
|
523
|
+
this.options.webpPreset = options.preset;
|
|
524
|
+
} else {
|
|
525
|
+
throw is.invalidParameterError('preset', 'one of: default, photo, picture, drawing, icon, text', options.preset);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
if (is.defined(options.effort)) {
|
|
529
|
+
if (is.integer(options.effort) && is.inRange(options.effort, 0, 6)) {
|
|
530
|
+
this.options.webpEffort = options.effort;
|
|
531
|
+
} else {
|
|
532
|
+
throw is.invalidParameterError('effort', 'integer between 0 and 6', options.effort);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
if (is.defined(options.minSize)) {
|
|
536
|
+
this._setBooleanOption('webpMinSize', options.minSize);
|
|
537
|
+
}
|
|
538
|
+
if (is.defined(options.mixed)) {
|
|
539
|
+
this._setBooleanOption('webpMixed', options.mixed);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
trySetAnimationOptions(options, this.options);
|
|
543
|
+
return this._updateFormatOut('webp', options);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Use these GIF options for the output image.
|
|
548
|
+
*
|
|
549
|
+
* The first entry in the palette is reserved for transparency.
|
|
550
|
+
*
|
|
551
|
+
* The palette of the input image will be re-used if possible.
|
|
552
|
+
*
|
|
553
|
+
* @since 0.30.0
|
|
554
|
+
*
|
|
555
|
+
* @example
|
|
556
|
+
* // Convert PNG to GIF
|
|
557
|
+
* await sharp(pngBuffer)
|
|
558
|
+
* .gif()
|
|
559
|
+
* .toBuffer();
|
|
560
|
+
*
|
|
561
|
+
* @example
|
|
562
|
+
* // Convert animated WebP to animated GIF
|
|
563
|
+
* await sharp('animated.webp', { animated: true })
|
|
564
|
+
* .toFile('animated.gif');
|
|
565
|
+
*
|
|
566
|
+
* @example
|
|
567
|
+
* // Create a 128x128, cropped, non-dithered, animated thumbnail of an animated GIF
|
|
568
|
+
* const out = await sharp('in.gif', { animated: true })
|
|
569
|
+
* .resize({ width: 128, height: 128 })
|
|
570
|
+
* .gif({ dither: 0 })
|
|
571
|
+
* .toBuffer();
|
|
572
|
+
*
|
|
573
|
+
* @example
|
|
574
|
+
* // Lossy file size reduction of animated GIF
|
|
575
|
+
* await sharp('in.gif', { animated: true })
|
|
576
|
+
* .gif({ interFrameMaxError: 8 })
|
|
577
|
+
* .toFile('optim.gif');
|
|
578
|
+
*
|
|
579
|
+
* @param {Object} [options] - output options
|
|
580
|
+
* @param {boolean} [options.reuse=true] - re-use existing palette, otherwise generate new (slow)
|
|
581
|
+
* @param {boolean} [options.progressive=false] - use progressive (interlace) scan
|
|
582
|
+
* @param {number} [options.colours=256] - maximum number of palette entries, including transparency, between 2 and 256
|
|
583
|
+
* @param {number} [options.colors=256] - alternative spelling of `options.colours`
|
|
584
|
+
* @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 10 (slowest)
|
|
585
|
+
* @param {number} [options.dither=1.0] - level of Floyd-Steinberg error diffusion, between 0 (least) and 1 (most)
|
|
586
|
+
* @param {number} [options.interFrameMaxError=0] - maximum inter-frame error for transparency, between 0 (lossless) and 32
|
|
587
|
+
* @param {number} [options.interPaletteMaxError=3] - maximum inter-palette error for palette reuse, between 0 and 256
|
|
588
|
+
* @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
589
|
+
* @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
|
|
590
|
+
* @param {boolean} [options.force=true] - force GIF output, otherwise attempt to use input format
|
|
591
|
+
* @returns {Sharp}
|
|
592
|
+
* @throws {Error} Invalid options
|
|
593
|
+
*/
|
|
594
|
+
function gif (options) {
|
|
595
|
+
if (is.object(options)) {
|
|
596
|
+
if (is.defined(options.reuse)) {
|
|
597
|
+
this._setBooleanOption('gifReuse', options.reuse);
|
|
598
|
+
}
|
|
599
|
+
if (is.defined(options.progressive)) {
|
|
600
|
+
this._setBooleanOption('gifProgressive', options.progressive);
|
|
601
|
+
}
|
|
602
|
+
const colours = options.colours || options.colors;
|
|
603
|
+
if (is.defined(colours)) {
|
|
604
|
+
if (is.integer(colours) && is.inRange(colours, 2, 256)) {
|
|
605
|
+
this.options.gifBitdepth = bitdepthFromColourCount(colours);
|
|
606
|
+
} else {
|
|
607
|
+
throw is.invalidParameterError('colours', 'integer between 2 and 256', colours);
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
if (is.defined(options.effort)) {
|
|
611
|
+
if (is.number(options.effort) && is.inRange(options.effort, 1, 10)) {
|
|
612
|
+
this.options.gifEffort = options.effort;
|
|
613
|
+
} else {
|
|
614
|
+
throw is.invalidParameterError('effort', 'integer between 1 and 10', options.effort);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
if (is.defined(options.dither)) {
|
|
618
|
+
if (is.number(options.dither) && is.inRange(options.dither, 0, 1)) {
|
|
619
|
+
this.options.gifDither = options.dither;
|
|
620
|
+
} else {
|
|
621
|
+
throw is.invalidParameterError('dither', 'number between 0.0 and 1.0', options.dither);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
if (is.defined(options.interFrameMaxError)) {
|
|
625
|
+
if (is.number(options.interFrameMaxError) && is.inRange(options.interFrameMaxError, 0, 32)) {
|
|
626
|
+
this.options.gifInterFrameMaxError = options.interFrameMaxError;
|
|
627
|
+
} else {
|
|
628
|
+
throw is.invalidParameterError('interFrameMaxError', 'number between 0.0 and 32.0', options.interFrameMaxError);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
if (is.defined(options.interPaletteMaxError)) {
|
|
632
|
+
if (is.number(options.interPaletteMaxError) && is.inRange(options.interPaletteMaxError, 0, 256)) {
|
|
633
|
+
this.options.gifInterPaletteMaxError = options.interPaletteMaxError;
|
|
634
|
+
} else {
|
|
635
|
+
throw is.invalidParameterError('interPaletteMaxError', 'number between 0.0 and 256.0', options.interPaletteMaxError);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
trySetAnimationOptions(options, this.options);
|
|
640
|
+
return this._updateFormatOut('gif', options);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/* istanbul ignore next */
|
|
644
|
+
/**
|
|
645
|
+
* Use these JP2 options for output image.
|
|
646
|
+
*
|
|
647
|
+
* Requires libvips compiled with support for OpenJPEG.
|
|
648
|
+
* The prebuilt binaries do not include this - see
|
|
649
|
+
* {@link https://sharp.pixelplumbing.com/install#custom-libvips installing a custom libvips}.
|
|
650
|
+
*
|
|
651
|
+
* @example
|
|
652
|
+
* // Convert any input to lossless JP2 output
|
|
653
|
+
* const data = await sharp(input)
|
|
654
|
+
* .jp2({ lossless: true })
|
|
655
|
+
* .toBuffer();
|
|
656
|
+
*
|
|
657
|
+
* @example
|
|
658
|
+
* // Convert any input to very high quality JP2 output
|
|
659
|
+
* const data = await sharp(input)
|
|
660
|
+
* .jp2({
|
|
661
|
+
* quality: 100,
|
|
662
|
+
* chromaSubsampling: '4:4:4'
|
|
663
|
+
* })
|
|
664
|
+
* .toBuffer();
|
|
665
|
+
*
|
|
666
|
+
* @since 0.29.1
|
|
667
|
+
*
|
|
668
|
+
* @param {Object} [options] - output options
|
|
669
|
+
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
670
|
+
* @param {boolean} [options.lossless=false] - use lossless compression mode
|
|
671
|
+
* @param {number} [options.tileWidth=512] - horizontal tile size
|
|
672
|
+
* @param {number} [options.tileHeight=512] - vertical tile size
|
|
673
|
+
* @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
|
|
674
|
+
* @returns {Sharp}
|
|
675
|
+
* @throws {Error} Invalid options
|
|
676
|
+
*/
|
|
677
|
+
function jp2 (options) {
|
|
678
|
+
if (!this.constructor.format.jp2k.output.buffer) {
|
|
679
|
+
throw errJp2Save();
|
|
680
|
+
}
|
|
681
|
+
if (is.object(options)) {
|
|
682
|
+
if (is.defined(options.quality)) {
|
|
683
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
684
|
+
this.options.jp2Quality = options.quality;
|
|
685
|
+
} else {
|
|
686
|
+
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
if (is.defined(options.lossless)) {
|
|
690
|
+
if (is.bool(options.lossless)) {
|
|
691
|
+
this.options.jp2Lossless = options.lossless;
|
|
692
|
+
} else {
|
|
693
|
+
throw is.invalidParameterError('lossless', 'boolean', options.lossless);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
if (is.defined(options.tileWidth)) {
|
|
697
|
+
if (is.integer(options.tileWidth) && is.inRange(options.tileWidth, 1, 32768)) {
|
|
698
|
+
this.options.jp2TileWidth = options.tileWidth;
|
|
699
|
+
} else {
|
|
700
|
+
throw is.invalidParameterError('tileWidth', 'integer between 1 and 32768', options.tileWidth);
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
if (is.defined(options.tileHeight)) {
|
|
704
|
+
if (is.integer(options.tileHeight) && is.inRange(options.tileHeight, 1, 32768)) {
|
|
705
|
+
this.options.jp2TileHeight = options.tileHeight;
|
|
706
|
+
} else {
|
|
707
|
+
throw is.invalidParameterError('tileHeight', 'integer between 1 and 32768', options.tileHeight);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
if (is.defined(options.chromaSubsampling)) {
|
|
711
|
+
if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
|
|
712
|
+
this.options.jp2ChromaSubsampling = options.chromaSubsampling;
|
|
713
|
+
} else {
|
|
714
|
+
throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
return this._updateFormatOut('jp2', options);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Set animation options if available.
|
|
723
|
+
* @private
|
|
724
|
+
*
|
|
725
|
+
* @param {Object} [source] - output options
|
|
726
|
+
* @param {number} [source.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
727
|
+
* @param {number[]} [source.delay] - list of delays between animation frames (in milliseconds)
|
|
728
|
+
* @param {Object} [target] - target object for valid options
|
|
729
|
+
* @throws {Error} Invalid options
|
|
730
|
+
*/
|
|
731
|
+
function trySetAnimationOptions (source, target) {
|
|
732
|
+
if (is.object(source) && is.defined(source.loop)) {
|
|
733
|
+
if (is.integer(source.loop) && is.inRange(source.loop, 0, 65535)) {
|
|
734
|
+
target.loop = source.loop;
|
|
735
|
+
} else {
|
|
736
|
+
throw is.invalidParameterError('loop', 'integer between 0 and 65535', source.loop);
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
if (is.object(source) && is.defined(source.delay)) {
|
|
740
|
+
// We allow singular values as well
|
|
741
|
+
if (is.integer(source.delay) && is.inRange(source.delay, 0, 65535)) {
|
|
742
|
+
target.delay = [source.delay];
|
|
743
|
+
} else if (
|
|
744
|
+
Array.isArray(source.delay) &&
|
|
745
|
+
source.delay.every(is.integer) &&
|
|
746
|
+
source.delay.every(v => is.inRange(v, 0, 65535))) {
|
|
747
|
+
target.delay = source.delay;
|
|
748
|
+
} else {
|
|
749
|
+
throw is.invalidParameterError('delay', 'integer or an array of integers between 0 and 65535', source.delay);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Use these TIFF options for output image.
|
|
756
|
+
*
|
|
757
|
+
* The `density` can be set in pixels/inch via {@link #withmetadata|withMetadata}
|
|
758
|
+
* instead of providing `xres` and `yres` in pixels/mm.
|
|
759
|
+
*
|
|
760
|
+
* @example
|
|
761
|
+
* // Convert SVG input to LZW-compressed, 1 bit per pixel TIFF output
|
|
762
|
+
* sharp('input.svg')
|
|
763
|
+
* .tiff({
|
|
764
|
+
* compression: 'lzw',
|
|
765
|
+
* bitdepth: 1
|
|
766
|
+
* })
|
|
767
|
+
* .toFile('1-bpp-output.tiff')
|
|
768
|
+
* .then(info => { ... });
|
|
769
|
+
*
|
|
770
|
+
* @param {Object} [options] - output options
|
|
771
|
+
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
772
|
+
* @param {boolean} [options.force=true] - force TIFF output, otherwise attempt to use input format
|
|
773
|
+
* @param {string} [options.compression='jpeg'] - compression options: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k
|
|
774
|
+
* @param {string} [options.predictor='horizontal'] - compression predictor options: none, horizontal, float
|
|
775
|
+
* @param {boolean} [options.pyramid=false] - write an image pyramid
|
|
776
|
+
* @param {boolean} [options.tile=false] - write a tiled tiff
|
|
777
|
+
* @param {number} [options.tileWidth=256] - horizontal tile size
|
|
778
|
+
* @param {number} [options.tileHeight=256] - vertical tile size
|
|
779
|
+
* @param {number} [options.xres=1.0] - horizontal resolution in pixels/mm
|
|
780
|
+
* @param {number} [options.yres=1.0] - vertical resolution in pixels/mm
|
|
781
|
+
* @param {string} [options.resolutionUnit='inch'] - resolution unit options: inch, cm
|
|
782
|
+
* @param {number} [options.bitdepth=8] - reduce bitdepth to 1, 2 or 4 bit
|
|
783
|
+
* @returns {Sharp}
|
|
784
|
+
* @throws {Error} Invalid options
|
|
785
|
+
*/
|
|
786
|
+
function tiff (options) {
|
|
787
|
+
if (is.object(options)) {
|
|
788
|
+
if (is.defined(options.quality)) {
|
|
789
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
790
|
+
this.options.tiffQuality = options.quality;
|
|
791
|
+
} else {
|
|
792
|
+
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
if (is.defined(options.bitdepth)) {
|
|
796
|
+
if (is.integer(options.bitdepth) && is.inArray(options.bitdepth, [1, 2, 4, 8])) {
|
|
797
|
+
this.options.tiffBitdepth = options.bitdepth;
|
|
798
|
+
} else {
|
|
799
|
+
throw is.invalidParameterError('bitdepth', '1, 2, 4 or 8', options.bitdepth);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
// tiling
|
|
803
|
+
if (is.defined(options.tile)) {
|
|
804
|
+
this._setBooleanOption('tiffTile', options.tile);
|
|
805
|
+
}
|
|
806
|
+
if (is.defined(options.tileWidth)) {
|
|
807
|
+
if (is.integer(options.tileWidth) && options.tileWidth > 0) {
|
|
808
|
+
this.options.tiffTileWidth = options.tileWidth;
|
|
809
|
+
} else {
|
|
810
|
+
throw is.invalidParameterError('tileWidth', 'integer greater than zero', options.tileWidth);
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
if (is.defined(options.tileHeight)) {
|
|
814
|
+
if (is.integer(options.tileHeight) && options.tileHeight > 0) {
|
|
815
|
+
this.options.tiffTileHeight = options.tileHeight;
|
|
816
|
+
} else {
|
|
817
|
+
throw is.invalidParameterError('tileHeight', 'integer greater than zero', options.tileHeight);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
// pyramid
|
|
821
|
+
if (is.defined(options.pyramid)) {
|
|
822
|
+
this._setBooleanOption('tiffPyramid', options.pyramid);
|
|
823
|
+
}
|
|
824
|
+
// resolution
|
|
825
|
+
if (is.defined(options.xres)) {
|
|
826
|
+
if (is.number(options.xres) && options.xres > 0) {
|
|
827
|
+
this.options.tiffXres = options.xres;
|
|
828
|
+
} else {
|
|
829
|
+
throw is.invalidParameterError('xres', 'number greater than zero', options.xres);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
if (is.defined(options.yres)) {
|
|
833
|
+
if (is.number(options.yres) && options.yres > 0) {
|
|
834
|
+
this.options.tiffYres = options.yres;
|
|
835
|
+
} else {
|
|
836
|
+
throw is.invalidParameterError('yres', 'number greater than zero', options.yres);
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
// compression
|
|
840
|
+
if (is.defined(options.compression)) {
|
|
841
|
+
if (is.string(options.compression) && is.inArray(options.compression, ['none', 'jpeg', 'deflate', 'packbits', 'ccittfax4', 'lzw', 'webp', 'zstd', 'jp2k'])) {
|
|
842
|
+
this.options.tiffCompression = options.compression;
|
|
843
|
+
} else {
|
|
844
|
+
throw is.invalidParameterError('compression', 'one of: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k', options.compression);
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
// predictor
|
|
848
|
+
if (is.defined(options.predictor)) {
|
|
849
|
+
if (is.string(options.predictor) && is.inArray(options.predictor, ['none', 'horizontal', 'float'])) {
|
|
850
|
+
this.options.tiffPredictor = options.predictor;
|
|
851
|
+
} else {
|
|
852
|
+
throw is.invalidParameterError('predictor', 'one of: none, horizontal, float', options.predictor);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
// resolutionUnit
|
|
856
|
+
if (is.defined(options.resolutionUnit)) {
|
|
857
|
+
if (is.string(options.resolutionUnit) && is.inArray(options.resolutionUnit, ['inch', 'cm'])) {
|
|
858
|
+
this.options.tiffResolutionUnit = options.resolutionUnit;
|
|
859
|
+
} else {
|
|
860
|
+
throw is.invalidParameterError('resolutionUnit', 'one of: inch, cm', options.resolutionUnit);
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
return this._updateFormatOut('tiff', options);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Use these AVIF options for output image.
|
|
869
|
+
*
|
|
870
|
+
* Whilst it is possible to create AVIF images smaller than 16x16 pixels,
|
|
871
|
+
* most web browsers do not display these properly.
|
|
872
|
+
*
|
|
873
|
+
* AVIF image sequences are not supported.
|
|
874
|
+
*
|
|
875
|
+
* @example
|
|
876
|
+
* const data = await sharp(input)
|
|
877
|
+
* .avif({ effort: 2 })
|
|
878
|
+
* .toBuffer();
|
|
879
|
+
*
|
|
880
|
+
* @example
|
|
881
|
+
* const data = await sharp(input)
|
|
882
|
+
* .avif({ lossless: true })
|
|
883
|
+
* .toBuffer();
|
|
884
|
+
*
|
|
885
|
+
* @since 0.27.0
|
|
886
|
+
*
|
|
887
|
+
* @param {Object} [options] - output options
|
|
888
|
+
* @param {number} [options.quality=50] - quality, integer 1-100
|
|
889
|
+
* @param {boolean} [options.lossless=false] - use lossless compression
|
|
890
|
+
* @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 9 (slowest)
|
|
891
|
+
* @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
|
|
892
|
+
* @returns {Sharp}
|
|
893
|
+
* @throws {Error} Invalid options
|
|
894
|
+
*/
|
|
895
|
+
function avif (options) {
|
|
896
|
+
return this.heif({ ...options, compression: 'av1' });
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Use these HEIF options for output image.
|
|
901
|
+
*
|
|
902
|
+
* Support for patent-encumbered HEIC images using `hevc` compression requires the use of a
|
|
903
|
+
* globally-installed libvips compiled with support for libheif, libde265 and x265.
|
|
904
|
+
*
|
|
905
|
+
* @example
|
|
906
|
+
* const data = await sharp(input)
|
|
907
|
+
* .heif({ compression: 'hevc' })
|
|
908
|
+
* .toBuffer();
|
|
909
|
+
*
|
|
910
|
+
* @since 0.23.0
|
|
911
|
+
*
|
|
912
|
+
* @param {Object} [options] - output options
|
|
913
|
+
* @param {number} [options.quality=50] - quality, integer 1-100
|
|
914
|
+
* @param {string} [options.compression='av1'] - compression format: av1, hevc
|
|
915
|
+
* @param {boolean} [options.lossless=false] - use lossless compression
|
|
916
|
+
* @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 9 (slowest)
|
|
917
|
+
* @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
|
|
918
|
+
* @returns {Sharp}
|
|
919
|
+
* @throws {Error} Invalid options
|
|
920
|
+
*/
|
|
921
|
+
function heif (options) {
|
|
922
|
+
if (is.object(options)) {
|
|
923
|
+
if (is.defined(options.quality)) {
|
|
924
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
925
|
+
this.options.heifQuality = options.quality;
|
|
926
|
+
} else {
|
|
927
|
+
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
if (is.defined(options.lossless)) {
|
|
931
|
+
if (is.bool(options.lossless)) {
|
|
932
|
+
this.options.heifLossless = options.lossless;
|
|
933
|
+
} else {
|
|
934
|
+
throw is.invalidParameterError('lossless', 'boolean', options.lossless);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
if (is.defined(options.compression)) {
|
|
938
|
+
if (is.string(options.compression) && is.inArray(options.compression, ['av1', 'hevc'])) {
|
|
939
|
+
this.options.heifCompression = options.compression;
|
|
940
|
+
} else {
|
|
941
|
+
throw is.invalidParameterError('compression', 'one of: av1, hevc', options.compression);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
if (is.defined(options.effort)) {
|
|
945
|
+
if (is.integer(options.effort) && is.inRange(options.effort, 0, 9)) {
|
|
946
|
+
this.options.heifEffort = options.effort;
|
|
947
|
+
} else {
|
|
948
|
+
throw is.invalidParameterError('effort', 'integer between 0 and 9', options.effort);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
if (is.defined(options.chromaSubsampling)) {
|
|
952
|
+
if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
|
|
953
|
+
this.options.heifChromaSubsampling = options.chromaSubsampling;
|
|
954
|
+
} else {
|
|
955
|
+
throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
return this._updateFormatOut('heif', options);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Use these JPEG-XL (JXL) options for output image.
|
|
964
|
+
*
|
|
965
|
+
* This feature is experimental, please do not use in production systems.
|
|
966
|
+
*
|
|
967
|
+
* Requires libvips compiled with support for libjxl.
|
|
968
|
+
* The prebuilt binaries do not include this - see
|
|
969
|
+
* {@link https://sharp.pixelplumbing.com/install#custom-libvips installing a custom libvips}.
|
|
970
|
+
*
|
|
971
|
+
* Image metadata (EXIF, XMP) is unsupported.
|
|
972
|
+
*
|
|
973
|
+
* @since 0.31.3
|
|
974
|
+
*
|
|
975
|
+
* @param {Object} [options] - output options
|
|
976
|
+
* @param {number} [options.distance=1.0] - maximum encoding error, between 0 (highest quality) and 15 (lowest quality)
|
|
977
|
+
* @param {number} [options.quality] - calculate `distance` based on JPEG-like quality, between 1 and 100, overrides distance if specified
|
|
978
|
+
* @param {number} [options.decodingTier=0] - target decode speed tier, between 0 (highest quality) and 4 (lowest quality)
|
|
979
|
+
* @param {boolean} [options.lossless=false] - use lossless compression
|
|
980
|
+
* @param {number} [options.effort=7] - CPU effort, between 3 (fastest) and 9 (slowest)
|
|
981
|
+
* @returns {Sharp}
|
|
982
|
+
* @throws {Error} Invalid options
|
|
983
|
+
*/
|
|
984
|
+
function jxl (options) {
|
|
985
|
+
if (is.object(options)) {
|
|
986
|
+
if (is.defined(options.quality)) {
|
|
987
|
+
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
988
|
+
// https://github.com/libjxl/libjxl/blob/0aeea7f180bafd6893c1db8072dcb67d2aa5b03d/tools/cjxl_main.cc#L640-L644
|
|
989
|
+
this.options.jxlDistance = options.quality >= 30
|
|
990
|
+
? 0.1 + (100 - options.quality) * 0.09
|
|
991
|
+
: 53 / 3000 * options.quality * options.quality - 23 / 20 * options.quality + 25;
|
|
992
|
+
} else {
|
|
993
|
+
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
994
|
+
}
|
|
995
|
+
} else if (is.defined(options.distance)) {
|
|
996
|
+
if (is.number(options.distance) && is.inRange(options.distance, 0, 15)) {
|
|
997
|
+
this.options.jxlDistance = options.distance;
|
|
998
|
+
} else {
|
|
999
|
+
throw is.invalidParameterError('distance', 'number between 0.0 and 15.0', options.distance);
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
if (is.defined(options.decodingTier)) {
|
|
1003
|
+
if (is.integer(options.decodingTier) && is.inRange(options.decodingTier, 0, 4)) {
|
|
1004
|
+
this.options.jxlDecodingTier = options.decodingTier;
|
|
1005
|
+
} else {
|
|
1006
|
+
throw is.invalidParameterError('decodingTier', 'integer between 0 and 4', options.decodingTier);
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
if (is.defined(options.lossless)) {
|
|
1010
|
+
if (is.bool(options.lossless)) {
|
|
1011
|
+
this.options.jxlLossless = options.lossless;
|
|
1012
|
+
} else {
|
|
1013
|
+
throw is.invalidParameterError('lossless', 'boolean', options.lossless);
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
if (is.defined(options.effort)) {
|
|
1017
|
+
if (is.integer(options.effort) && is.inRange(options.effort, 3, 9)) {
|
|
1018
|
+
this.options.jxlEffort = options.effort;
|
|
1019
|
+
} else {
|
|
1020
|
+
throw is.invalidParameterError('effort', 'integer between 3 and 9', options.effort);
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
return this._updateFormatOut('jxl', options);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Force output to be raw, uncompressed pixel data.
|
|
1029
|
+
* Pixel ordering is left-to-right, top-to-bottom, without padding.
|
|
1030
|
+
* Channel ordering will be RGB or RGBA for non-greyscale colourspaces.
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* // Extract raw, unsigned 8-bit RGB pixel data from JPEG input
|
|
1034
|
+
* const { data, info } = await sharp('input.jpg')
|
|
1035
|
+
* .raw()
|
|
1036
|
+
* .toBuffer({ resolveWithObject: true });
|
|
1037
|
+
*
|
|
1038
|
+
* @example
|
|
1039
|
+
* // Extract alpha channel as raw, unsigned 16-bit pixel data from PNG input
|
|
1040
|
+
* const data = await sharp('input.png')
|
|
1041
|
+
* .ensureAlpha()
|
|
1042
|
+
* .extractChannel(3)
|
|
1043
|
+
* .toColourspace('b-w')
|
|
1044
|
+
* .raw({ depth: 'ushort' })
|
|
1045
|
+
* .toBuffer();
|
|
1046
|
+
*
|
|
1047
|
+
* @param {Object} [options] - output options
|
|
1048
|
+
* @param {string} [options.depth='uchar'] - bit depth, one of: char, uchar (default), short, ushort, int, uint, float, complex, double, dpcomplex
|
|
1049
|
+
* @returns {Sharp}
|
|
1050
|
+
* @throws {Error} Invalid options
|
|
1051
|
+
*/
|
|
1052
|
+
function raw (options) {
|
|
1053
|
+
if (is.object(options)) {
|
|
1054
|
+
if (is.defined(options.depth)) {
|
|
1055
|
+
if (is.string(options.depth) && is.inArray(options.depth,
|
|
1056
|
+
['char', 'uchar', 'short', 'ushort', 'int', 'uint', 'float', 'complex', 'double', 'dpcomplex']
|
|
1057
|
+
)) {
|
|
1058
|
+
this.options.rawDepth = options.depth;
|
|
1059
|
+
} else {
|
|
1060
|
+
throw is.invalidParameterError('depth', 'one of: char, uchar, short, ushort, int, uint, float, complex, double, dpcomplex', options.depth);
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
return this._updateFormatOut('raw');
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Use tile-based deep zoom (image pyramid) output.
|
|
1069
|
+
*
|
|
1070
|
+
* Set the format and options for tile images via the `toFormat`, `jpeg`, `png` or `webp` functions.
|
|
1071
|
+
* Use a `.zip` or `.szi` file extension with `toFile` to write to a compressed archive file format.
|
|
1072
|
+
*
|
|
1073
|
+
* The container will be set to `zip` when the output is a Buffer or Stream, otherwise it will default to `fs`.
|
|
1074
|
+
*
|
|
1075
|
+
* Requires libvips compiled with support for libgsf.
|
|
1076
|
+
* The prebuilt binaries do not include this - see
|
|
1077
|
+
* {@link https://sharp.pixelplumbing.com/install#custom-libvips installing a custom libvips}.
|
|
1078
|
+
*
|
|
1079
|
+
* @example
|
|
1080
|
+
* sharp('input.tiff')
|
|
1081
|
+
* .png()
|
|
1082
|
+
* .tile({
|
|
1083
|
+
* size: 512
|
|
1084
|
+
* })
|
|
1085
|
+
* .toFile('output.dz', function(err, info) {
|
|
1086
|
+
* // output.dzi is the Deep Zoom XML definition
|
|
1087
|
+
* // output_files contains 512x512 tiles grouped by zoom level
|
|
1088
|
+
* });
|
|
1089
|
+
*
|
|
1090
|
+
* @example
|
|
1091
|
+
* const zipFileWithTiles = await sharp(input)
|
|
1092
|
+
* .tile({ basename: "tiles" })
|
|
1093
|
+
* .toBuffer();
|
|
1094
|
+
*
|
|
1095
|
+
* @example
|
|
1096
|
+
* const iiififier = sharp().tile({ layout: "iiif" });
|
|
1097
|
+
* readableStream
|
|
1098
|
+
* .pipe(iiififier)
|
|
1099
|
+
* .pipe(writeableStream);
|
|
1100
|
+
*
|
|
1101
|
+
* @param {Object} [options]
|
|
1102
|
+
* @param {number} [options.size=256] tile size in pixels, a value between 1 and 8192.
|
|
1103
|
+
* @param {number} [options.overlap=0] tile overlap in pixels, a value between 0 and 8192.
|
|
1104
|
+
* @param {number} [options.angle=0] tile angle of rotation, must be a multiple of 90.
|
|
1105
|
+
* @param {string|Object} [options.background={r: 255, g: 255, b: 255, alpha: 1}] - background colour, parsed by the [color](https://www.npmjs.org/package/color) module, defaults to white without transparency.
|
|
1106
|
+
* @param {string} [options.depth] how deep to make the pyramid, possible values are `onepixel`, `onetile` or `one`, default based on layout.
|
|
1107
|
+
* @param {number} [options.skipBlanks=-1] threshold to skip tile generation, a value 0 - 255 for 8-bit images or 0 - 65535 for 16-bit images
|
|
1108
|
+
* @param {string} [options.container='fs'] tile container, with value `fs` (filesystem) or `zip` (compressed file).
|
|
1109
|
+
* @param {string} [options.layout='dz'] filesystem layout, possible values are `dz`, `iiif`, `iiif3`, `zoomify` or `google`.
|
|
1110
|
+
* @param {boolean} [options.centre=false] centre image in tile.
|
|
1111
|
+
* @param {boolean} [options.center=false] alternative spelling of centre.
|
|
1112
|
+
* @param {string} [options.id='https://example.com/iiif'] when `layout` is `iiif`/`iiif3`, sets the `@id`/`id` attribute of `info.json`
|
|
1113
|
+
* @param {string} [options.basename] the name of the directory within the zip file when container is `zip`.
|
|
1114
|
+
* @returns {Sharp}
|
|
1115
|
+
* @throws {Error} Invalid parameters
|
|
1116
|
+
*/
|
|
1117
|
+
function tile (options) {
|
|
1118
|
+
if (is.object(options)) {
|
|
1119
|
+
// Size of square tiles, in pixels
|
|
1120
|
+
if (is.defined(options.size)) {
|
|
1121
|
+
if (is.integer(options.size) && is.inRange(options.size, 1, 8192)) {
|
|
1122
|
+
this.options.tileSize = options.size;
|
|
1123
|
+
} else {
|
|
1124
|
+
throw is.invalidParameterError('size', 'integer between 1 and 8192', options.size);
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
// Overlap of tiles, in pixels
|
|
1128
|
+
if (is.defined(options.overlap)) {
|
|
1129
|
+
if (is.integer(options.overlap) && is.inRange(options.overlap, 0, 8192)) {
|
|
1130
|
+
if (options.overlap > this.options.tileSize) {
|
|
1131
|
+
throw is.invalidParameterError('overlap', `<= size (${this.options.tileSize})`, options.overlap);
|
|
1132
|
+
}
|
|
1133
|
+
this.options.tileOverlap = options.overlap;
|
|
1134
|
+
} else {
|
|
1135
|
+
throw is.invalidParameterError('overlap', 'integer between 0 and 8192', options.overlap);
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
// Container
|
|
1139
|
+
if (is.defined(options.container)) {
|
|
1140
|
+
if (is.string(options.container) && is.inArray(options.container, ['fs', 'zip'])) {
|
|
1141
|
+
this.options.tileContainer = options.container;
|
|
1142
|
+
} else {
|
|
1143
|
+
throw is.invalidParameterError('container', 'one of: fs, zip', options.container);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
// Layout
|
|
1147
|
+
if (is.defined(options.layout)) {
|
|
1148
|
+
if (is.string(options.layout) && is.inArray(options.layout, ['dz', 'google', 'iiif', 'iiif3', 'zoomify'])) {
|
|
1149
|
+
this.options.tileLayout = options.layout;
|
|
1150
|
+
} else {
|
|
1151
|
+
throw is.invalidParameterError('layout', 'one of: dz, google, iiif, iiif3, zoomify', options.layout);
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
// Angle of rotation,
|
|
1155
|
+
if (is.defined(options.angle)) {
|
|
1156
|
+
if (is.integer(options.angle) && !(options.angle % 90)) {
|
|
1157
|
+
this.options.tileAngle = options.angle;
|
|
1158
|
+
} else {
|
|
1159
|
+
throw is.invalidParameterError('angle', 'positive/negative multiple of 90', options.angle);
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
// Background colour
|
|
1163
|
+
this._setBackgroundColourOption('tileBackground', options.background);
|
|
1164
|
+
// Depth of tiles
|
|
1165
|
+
if (is.defined(options.depth)) {
|
|
1166
|
+
if (is.string(options.depth) && is.inArray(options.depth, ['onepixel', 'onetile', 'one'])) {
|
|
1167
|
+
this.options.tileDepth = options.depth;
|
|
1168
|
+
} else {
|
|
1169
|
+
throw is.invalidParameterError('depth', 'one of: onepixel, onetile, one', options.depth);
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
// Threshold to skip blank tiles
|
|
1173
|
+
if (is.defined(options.skipBlanks)) {
|
|
1174
|
+
if (is.integer(options.skipBlanks) && is.inRange(options.skipBlanks, -1, 65535)) {
|
|
1175
|
+
this.options.tileSkipBlanks = options.skipBlanks;
|
|
1176
|
+
} else {
|
|
1177
|
+
throw is.invalidParameterError('skipBlanks', 'integer between -1 and 255/65535', options.skipBlanks);
|
|
1178
|
+
}
|
|
1179
|
+
} else if (is.defined(options.layout) && options.layout === 'google') {
|
|
1180
|
+
this.options.tileSkipBlanks = 5;
|
|
1181
|
+
}
|
|
1182
|
+
// Center image in tile
|
|
1183
|
+
const centre = is.bool(options.center) ? options.center : options.centre;
|
|
1184
|
+
if (is.defined(centre)) {
|
|
1185
|
+
this._setBooleanOption('tileCentre', centre);
|
|
1186
|
+
}
|
|
1187
|
+
// @id attribute for IIIF layout
|
|
1188
|
+
if (is.defined(options.id)) {
|
|
1189
|
+
if (is.string(options.id)) {
|
|
1190
|
+
this.options.tileId = options.id;
|
|
1191
|
+
} else {
|
|
1192
|
+
throw is.invalidParameterError('id', 'string', options.id);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
// Basename for zip container
|
|
1196
|
+
if (is.defined(options.basename)) {
|
|
1197
|
+
if (is.string(options.basename)) {
|
|
1198
|
+
this.options.tileBasename = options.basename;
|
|
1199
|
+
} else {
|
|
1200
|
+
throw is.invalidParameterError('basename', 'string', options.basename);
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
// Format
|
|
1205
|
+
if (is.inArray(this.options.formatOut, ['jpeg', 'png', 'webp'])) {
|
|
1206
|
+
this.options.tileFormat = this.options.formatOut;
|
|
1207
|
+
} else if (this.options.formatOut !== 'input') {
|
|
1208
|
+
throw is.invalidParameterError('format', 'one of: jpeg, png, webp', this.options.formatOut);
|
|
1209
|
+
}
|
|
1210
|
+
return this._updateFormatOut('dz');
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Set a timeout for processing, in seconds.
|
|
1215
|
+
* Use a value of zero to continue processing indefinitely, the default behaviour.
|
|
1216
|
+
*
|
|
1217
|
+
* The clock starts when libvips opens an input image for processing.
|
|
1218
|
+
* Time spent waiting for a libuv thread to become available is not included.
|
|
1219
|
+
*
|
|
1220
|
+
* @example
|
|
1221
|
+
* // Ensure processing takes no longer than 3 seconds
|
|
1222
|
+
* try {
|
|
1223
|
+
* const data = await sharp(input)
|
|
1224
|
+
* .blur(1000)
|
|
1225
|
+
* .timeout({ seconds: 3 })
|
|
1226
|
+
* .toBuffer();
|
|
1227
|
+
* } catch (err) {
|
|
1228
|
+
* if (err.message.includes('timeout')) { ... }
|
|
1229
|
+
* }
|
|
1230
|
+
*
|
|
1231
|
+
* @since 0.29.2
|
|
1232
|
+
*
|
|
1233
|
+
* @param {Object} options
|
|
1234
|
+
* @param {number} options.seconds - Number of seconds after which processing will be stopped
|
|
1235
|
+
* @returns {Sharp}
|
|
1236
|
+
*/
|
|
1237
|
+
function timeout (options) {
|
|
1238
|
+
if (!is.plainObject(options)) {
|
|
1239
|
+
throw is.invalidParameterError('options', 'object', options);
|
|
1240
|
+
}
|
|
1241
|
+
if (is.integer(options.seconds) && is.inRange(options.seconds, 0, 3600)) {
|
|
1242
|
+
this.options.timeoutSeconds = options.seconds;
|
|
1243
|
+
} else {
|
|
1244
|
+
throw is.invalidParameterError('seconds', 'integer between 0 and 3600', options.seconds);
|
|
1245
|
+
}
|
|
1246
|
+
return this;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Update the output format unless options.force is false,
|
|
1251
|
+
* in which case revert to input format.
|
|
1252
|
+
* @private
|
|
1253
|
+
* @param {string} formatOut
|
|
1254
|
+
* @param {Object} [options]
|
|
1255
|
+
* @param {boolean} [options.force=true] - force output format, otherwise attempt to use input format
|
|
1256
|
+
* @returns {Sharp}
|
|
1257
|
+
*/
|
|
1258
|
+
function _updateFormatOut (formatOut, options) {
|
|
1259
|
+
if (!(is.object(options) && options.force === false)) {
|
|
1260
|
+
this.options.formatOut = formatOut;
|
|
1261
|
+
}
|
|
1262
|
+
return this;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Update a boolean attribute of the this.options Object.
|
|
1267
|
+
* @private
|
|
1268
|
+
* @param {string} key
|
|
1269
|
+
* @param {boolean} val
|
|
1270
|
+
* @throws {Error} Invalid key
|
|
1271
|
+
*/
|
|
1272
|
+
function _setBooleanOption (key, val) {
|
|
1273
|
+
if (is.bool(val)) {
|
|
1274
|
+
this.options[key] = val;
|
|
1275
|
+
} else {
|
|
1276
|
+
throw is.invalidParameterError(key, 'boolean', val);
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* Called by a WriteableStream to notify us it is ready for data.
|
|
1282
|
+
* @private
|
|
1283
|
+
*/
|
|
1284
|
+
function _read () {
|
|
1285
|
+
/* istanbul ignore else */
|
|
1286
|
+
if (!this.options.streamOut) {
|
|
1287
|
+
this.options.streamOut = true;
|
|
1288
|
+
this._pipeline();
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Invoke the C++ image processing pipeline
|
|
1294
|
+
* Supports callback, stream and promise variants
|
|
1295
|
+
* @private
|
|
1296
|
+
*/
|
|
1297
|
+
function _pipeline (callback) {
|
|
1298
|
+
if (typeof callback === 'function') {
|
|
1299
|
+
// output=file/buffer
|
|
1300
|
+
if (this._isStreamInput()) {
|
|
1301
|
+
// output=file/buffer, input=stream
|
|
1302
|
+
this.on('finish', () => {
|
|
1303
|
+
this._flattenBufferIn();
|
|
1304
|
+
sharp.pipeline(this.options, callback);
|
|
1305
|
+
});
|
|
1306
|
+
} else {
|
|
1307
|
+
// output=file/buffer, input=file/buffer
|
|
1308
|
+
sharp.pipeline(this.options, callback);
|
|
1309
|
+
}
|
|
1310
|
+
return this;
|
|
1311
|
+
} else if (this.options.streamOut) {
|
|
1312
|
+
// output=stream
|
|
1313
|
+
if (this._isStreamInput()) {
|
|
1314
|
+
// output=stream, input=stream
|
|
1315
|
+
this.once('finish', () => {
|
|
1316
|
+
this._flattenBufferIn();
|
|
1317
|
+
sharp.pipeline(this.options, (err, data, info) => {
|
|
1318
|
+
if (err) {
|
|
1319
|
+
this.emit('error', err);
|
|
1320
|
+
} else {
|
|
1321
|
+
this.emit('info', info);
|
|
1322
|
+
this.push(data);
|
|
1323
|
+
}
|
|
1324
|
+
this.push(null);
|
|
1325
|
+
this.on('end', () => this.emit('close'));
|
|
1326
|
+
});
|
|
1327
|
+
});
|
|
1328
|
+
if (this.streamInFinished) {
|
|
1329
|
+
this.emit('finish');
|
|
1330
|
+
}
|
|
1331
|
+
} else {
|
|
1332
|
+
// output=stream, input=file/buffer
|
|
1333
|
+
sharp.pipeline(this.options, (err, data, info) => {
|
|
1334
|
+
if (err) {
|
|
1335
|
+
this.emit('error', err);
|
|
1336
|
+
} else {
|
|
1337
|
+
this.emit('info', info);
|
|
1338
|
+
this.push(data);
|
|
1339
|
+
}
|
|
1340
|
+
this.push(null);
|
|
1341
|
+
this.on('end', () => this.emit('close'));
|
|
1342
|
+
});
|
|
1343
|
+
}
|
|
1344
|
+
return this;
|
|
1345
|
+
} else {
|
|
1346
|
+
// output=promise
|
|
1347
|
+
if (this._isStreamInput()) {
|
|
1348
|
+
// output=promise, input=stream
|
|
1349
|
+
return new Promise((resolve, reject) => {
|
|
1350
|
+
this.once('finish', () => {
|
|
1351
|
+
this._flattenBufferIn();
|
|
1352
|
+
sharp.pipeline(this.options, (err, data, info) => {
|
|
1353
|
+
if (err) {
|
|
1354
|
+
reject(err);
|
|
1355
|
+
} else {
|
|
1356
|
+
if (this.options.resolveWithObject) {
|
|
1357
|
+
resolve({ data, info });
|
|
1358
|
+
} else {
|
|
1359
|
+
resolve(data);
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
});
|
|
1364
|
+
});
|
|
1365
|
+
} else {
|
|
1366
|
+
// output=promise, input=file/buffer
|
|
1367
|
+
return new Promise((resolve, reject) => {
|
|
1368
|
+
sharp.pipeline(this.options, (err, data, info) => {
|
|
1369
|
+
if (err) {
|
|
1370
|
+
reject(err);
|
|
1371
|
+
} else {
|
|
1372
|
+
if (this.options.resolveWithObject) {
|
|
1373
|
+
resolve({ data: data, info: info });
|
|
1374
|
+
} else {
|
|
1375
|
+
resolve(data);
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
});
|
|
1379
|
+
});
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Decorate the Sharp prototype with output-related functions.
|
|
1386
|
+
* @private
|
|
1387
|
+
*/
|
|
1388
|
+
module.exports = function (Sharp) {
|
|
1389
|
+
Object.assign(Sharp.prototype, {
|
|
1390
|
+
// Public
|
|
1391
|
+
toFile,
|
|
1392
|
+
toBuffer,
|
|
1393
|
+
withMetadata,
|
|
1394
|
+
toFormat,
|
|
1395
|
+
jpeg,
|
|
1396
|
+
jp2,
|
|
1397
|
+
png,
|
|
1398
|
+
webp,
|
|
1399
|
+
tiff,
|
|
1400
|
+
avif,
|
|
1401
|
+
heif,
|
|
1402
|
+
jxl,
|
|
1403
|
+
gif,
|
|
1404
|
+
raw,
|
|
1405
|
+
tile,
|
|
1406
|
+
timeout,
|
|
1407
|
+
// Private
|
|
1408
|
+
_updateFormatOut,
|
|
1409
|
+
_setBooleanOption,
|
|
1410
|
+
_read,
|
|
1411
|
+
_pipeline
|
|
1412
|
+
});
|
|
1413
|
+
};
|